Re: gnus auto-fill-mode
On 13 Feb 2013, Tassilo Horn wrote: Sergio Durigan Junior sergi...@riseup.net writes: What can I do to avoid this 'contagion' of auto-fill-mode? Maybe try setting `message-fill-column' to nil? That would disable `auto-fill-mode' in message-mode buffers. The enabling of `auto-fill-mode' in message-mode buffers shouldn't have any effect on other modes, and it doesn't have for me. So probably the problem is somewhere else. May we have a look at your own text mode. yah, of course. (define-derived-mode my-text-mode text-mode Text Modified text-mode, includes longlines-mode and flyspell-mode (visual-line-mode 1) (flyspell-mode 1) ;; loading Cecil's modeline (load modeline.el) (dolist (hook '(text-mode-hook)) (add-hook hook (lambda() (setq mode-line-types (vector words chars)) Now you'll probably want to see that modeline too? I'll ask its author (Cecil Westerhof) if that is ok.. -- BOFH excuse #319: Your computer hasn't been returning all the bits it gets from the Internet. ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: gnus auto-fill-mode
Gijs Hillenius g...@hillenius.net writes: So probably the problem is somewhere else. May we have a look at your own text mode. yah, of course. (define-derived-mode my-text-mode text-mode Text Modified text-mode, includes longlines-mode and flyspell-mode (visual-line-mode 1) (flyspell-mode 1) ;; loading Cecil's modeline (load modeline.el) (dolist (hook '(text-mode-hook)) (add-hook hook (lambda() (setq mode-line-types (vector words chars)) And I guess you have an entry (\\.te?xt\\' . my-text-mode) in `auto-mode-alist', right? Anyway, I don't see how that could enable `auto-fill-mode' globally. The only way to enable auto-filling globally seems to be (setq-default auto-fill-function 'do-auto-fill) and I guess you're not doing that, right? Hm, another idea: Is `auto-fill-mode' *really* enabled, or is it just that there's a Fill in the mode-line? The latter could be a problem with the modeline.el you're loading. To check if `auto-fill-mode' is really enabled in a buffer, do: ,[ C-h k C-h m ] | C-h m runs the command describe-mode, which is an interactive compiled Lisp | function in `help.el'. | | It is bound to C-c ?, C-h m, f1 m, help m, menu-bar help-menu | describe describe-mode. | | (describe-mode optional BUFFER) | | Display documentation of current major mode and minor modes. | A brief summary of the minor modes comes first, followed by the | major mode description. This is followed by detailed | descriptions of the minor modes, each on a separate page. | | For this to work correctly for a minor mode, the mode's indicator | variable (listed in `minor-mode-alist') must also be a function | whose documentation describes the minor mode. | | If called from Lisp with a non-nil BUFFER argument, display | documentation for the major and minor modes of that buffer. ` At the top of the *Help* buffer, it'll enumerate all enabled minor modes. Bye, Tassilo ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: gnus auto-fill-mode
[...] And I guess you have an entry (\\.te?xt\\' . my-text-mode) in `auto-mode-alist', right? yes, using: (add-to-list 'auto-mode-alist '(\\.txt\\' . my-text-mode)) Which makes me wonder, is there a 'real' .txt mode? Anyway, I don't see how that could enable `auto-fill-mode' globally. The only way to enable auto-filling globally seems to be (setq-default auto-fill-function 'do-auto-fill) and I guess you're not doing that, right? The only reference to auto-fill in .emacs is ;; commented out. Hm, another idea: Is `auto-fill-mode' *really* enabled, or is it just that there's a Fill in the mode-line? For one of the txt buffers newly opened: C-h m responds with Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption Auto-Fill Blink-Cursor Display-Time File-Name-Shadow Flyspell Font-Lock Global-Font-Lock Line-Number Menu-Bar Mouse-Wheel Recentf Shell-Dirtrack Tooltip Transient-Mark Visual-Line -- Many pages make a thick book, except for pocket Bibles which are on very very thin paper. ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
fixed... (duh) Re: gnus auto-fill-mode
I think I got it my .gnus contains this line, since forever. ;; Autofill (add-hook 'text-mode-hook 'turn-on-auto-fill) I better comment this out. ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
gnus auto-fill-mode
Hi! I'm trying to understand if Gnus calls on auto-fill-mode in a way that it leaves it switched-on for other modes. I have defined a 'my own txt mode' that switches on flyspell and visual-line-mode, but that leaves auto-fill-mode off. When I'm have not started Gnus, the Modeline for these *.txt files will show (Text fly wrap). However, once I start Gnus, and open a new.txt file, the modeline will show (Text fly wrap fill). What can I do to avoid this 'contagion' of auto-fill-mode? ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: gnus auto-fill-mode
On Tuesday, February 12 2013, Gijs Hillenius wrote: What can I do to avoid this 'contagion' of auto-fill-mode? Maybe try setting `message-fill-column' to nil? -- Sergio ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: gnus auto-fill-mode
Sergio Durigan Junior sergi...@riseup.net writes: What can I do to avoid this 'contagion' of auto-fill-mode? Maybe try setting `message-fill-column' to nil? That would disable `auto-fill-mode' in message-mode buffers. The enabling of `auto-fill-mode' in message-mode buffers shouldn't have any effect on other modes, and it doesn't have for me. So probably the problem is somewhere else. May we have a look at your own text mode. Viele Grüße, Tassilo ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english