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

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

How to turn off auto-fill-mode from Topic Parameters?


From: Adam Sjøgren
Subject: How to turn off auto-fill-mode from Topic Parameters?
Date: Sat, 10 Jun 2023 14:12:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

I would like to have auto-fill-mode turned off for all groups in a
specific topic in Gnus.

I tried adding this to my Topic Parameters:

  (message-fill-column nil)

after reading the documentation:

,----[ C-h v message-fill-column RET ]
| message-fill-column is a variable defined in ‘message.el’.
| 
| Its value is 72
| 
| Column beyond which automatic line-wrapping should happen.
| Local value for message buffers.  If non-nil, also turn on
| auto-fill in message buffers.
`----

I then read this in the (variable form) part of the manual on Group
Parameters:

,----[ https://www.gnus.org/manual/gnus_21.html ]
| But some variables are evaluated in the article buffer, or in the
| message buffer (of a reply or followup or otherwise newly created
| message). As a workaround, it might help to add the variable in
| question to gnus-newsgroup-variables.
`----

and added this to my .gnus:

  (add-to-list 'gnus-newsgroup-variables 'message-fill-column)

However auto-fill-mode is still on when I compose a new article in a
group in the topic.

Is The Right Way™ to add a function to a hook instead?

I just really like configuring behavior using the Topic/Group
Parameters...


  :-),

   Adam

-- 
 "LUFTVAFFEL!"                                              Adam Sjøgren
                                                       asjo@koldfront.dk




reply via email to

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