info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limit Article buffer width to 73 chars


From: Josef Oswald
Subject: Re: Limit Article buffer width to 73 chars
Date: Thu, 29 Apr 2004 11:15:45 GMT
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

address@hidden (Floyd L. Davidson) writes:

> Josef Oswald <address@hidden> wrote:
>>"Tassilo Horn" <address@hidden> writes:
>>> Josef Oswald <address@hidden> writes:
>>>
>>>> This is the problem:
>>>> Sometimes some mail-buffers are not wider then the 74 chars ( the
>>>> message fills the whole screen left and right) how can I limit it to
>>>> 74 (or thereabouts) ?
>>>
>>> Put this in your .gnus:
>>> (add-hook 'message-mode-hook
>>>        (lambda ()
>>>          (setq fill-column 72)
>>>          (turn-on-auto-fill)))
>>
>>Thanks for writing but this did not solve the Problem.
>
> It isn't clear exactly what you want.  The above operates on messages
> you send.
>
> To adjust messages you read, try gnus-article-fill-cited-article.  This
> is a little tricky though.  Here is what I have in my ~/.gnus file,
>
>   (defun fld-gnus-article-fill ()
>     "Fill an article at 60 columns."
>     (interactive )
>     (gnus-article-fill-cited-article 1 60)
>     (message "Filled at column 60"))
>
>   (gnus-define-keys gnus-article-mode-map [f11] fld-gnus-article-fill)
>   (gnus-define-keys gnus-summary-mode-map [f11] fld-gnus-article-fill)

Thank you very much :-) This is /exactly/ what I needed and it works.


I could not respond earlier as XEmacs started to crash on me whenever I
wanted to send a follow-up to your post. So for the time-being I am
using emacs instead. 


>
> The reason I've defined a function rather than using an unnamed
> lambda, is just that...  no name shows up in automatically
> generated binding lists.  This way there is a name that clues me
> in to what that F-key does.
>
> Note also that I use 60 for the number of columns.  That makes
> for very short, readable lines.  It also means that if I respond
> to that article the lines will be short enough that several
> levels of quoting later, they will still be less that 72 or 79
> (common values at which a great deal of less able newsreader
> software makes a total mess of the formatting).
>
> This is also a /manual/ method.  It doesn't happen
> automatically, so you initially will always see the original
> formatting, and must decide that you want to reformat the
> article.


Josef Oswald also -> address@hidden  :-) 
-- 
Gnus gives you all the opportunity you could possibly want for
shooting yourself in the foot. 
--from the INFO --


reply via email to

[Prev in Thread] Current Thread [Next in Thread]