all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* auto-fill-mode
@ 2005-06-22 11:59 gooliver
       [not found] ` <Vocue.15840$D7.403424-R0OuHeQl0QZEJRXAUHnYR6icDR3qMxSs@public.gmane.org>
       [not found] ` <mailman.801.1119447524.2857.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: gooliver @ 2005-06-22 11:59 UTC (permalink / raw)


how to set auto-fill-mode permanently?
I've Emacs for Win2k.
----
thanks in advance!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: auto-fill-mode
       [not found] ` <Vocue.15840$D7.403424-R0OuHeQl0QZEJRXAUHnYR6icDR3qMxSs@public.gmane.org>
@ 2005-06-22 13:14   ` Jochen Küpper
  0 siblings, 0 replies; 6+ messages in thread
From: Jochen Küpper @ 2005-06-22 13:14 UTC (permalink / raw)


gooliver <gooliverNOSP-KN26Psj0kSionA0d6jMUrA@public.gmane.org> writes:

> how to set auto-fill-mode permanently?

Put (auto-fill-mode 1) into .Emacs. Do you know C-h f (aka
describe-function) and C-h v (describe-variable) ?

,----[ C-h f auto-fill-mode RET ]
| auto-fill-mode is an interactive compiled Lisp function in `simple'.
| (auto-fill-mode &optional ARG)
| 
| Toggle Auto Fill mode.
| With arg, turn Auto Fill mode on if and only if arg is positive.
| In Auto Fill mode, inserting a space at a column beyond `current-fill-column'
| automatically breaks the line at a previous space.
| 
| The value of `normal-auto-fill-function' specifies the function to use
| for `auto-fill-function' when turning Auto Fill mode on.
| 
| [back]
`----

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: auto-fill-mode
       [not found] ` <mailman.801.1119447524.2857.help-gnu-emacs@gnu.org>
@ 2005-06-22 14:30   ` drkm
  0 siblings, 0 replies; 6+ messages in thread
From: drkm @ 2005-06-22 14:30 UTC (permalink / raw)


Jochen Küpper <jochen@fhi-berlin.mpg.de> writes:

> gooliver <gooliverNOSP@Mlibero.it> writes:

>> how to set auto-fill-mode permanently?

> Put (auto-fill-mode 1) into .Emacs. Do you know C-h f (aka
> describe-function) and C-h v (describe-variable) ?

  And 'C-h i'?

    ,----[ (info "(emacs)Auto Fill") ]
    | Auto Fill mode is a minor mode which is enabled or disabled
    | for each buffer individually.
    `----

  So only adding (auto-fill-mode 1) in his '.emacs.el' is not
enough.  He has to add this in the hook of each major mode for
which he want Auto Fill Mode enabled (and can in addition use
'turn-on-auto-fill'):

    (add-hook 'the-mode 'turn-on-auto-fill)

--drkm

^ permalink raw reply	[flat|nested] 6+ messages in thread

* auto-fill-mode
@ 2010-05-10 21:48 Sean Sieger
  2010-05-11  1:18 ` auto-fill-mode Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Sean Sieger @ 2010-05-10 21:48 UTC (permalink / raw)
  To: emacs-devel

On GNU Emacs 24.0.50.5 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of
2010-05-09 on g41r2f1, I noticed that auto-fill-mode isn't working with

(add-hook 'text-mode-hook 'turn-on-auto-fill)

in my .emacs.

I did emacs -Q, evaluated the above and visited a plain text file,
auto-fill wasn't working---in fact, it's not working in this message
buffer either ... it's gotta be me ... what the?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: auto-fill-mode
  2010-05-10 21:48 auto-fill-mode Sean Sieger
@ 2010-05-11  1:18 ` Stefan Monnier
  2010-05-11  2:08   ` auto-fill-mode Sean Sieger
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2010-05-11  1:18 UTC (permalink / raw)
  To: Sean Sieger; +Cc: emacs-devel

> I did emacs -Q, evaluated the above and visited a plain text file,
> auto-fill wasn't working---in fact, it's not working in this message
> buffer either ... it's gotta be me ... what the?

Please try a bootstrap and see if it fixes your problem.


        Stefan



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: auto-fill-mode
  2010-05-11  1:18 ` auto-fill-mode Stefan Monnier
@ 2010-05-11  2:08   ` Sean Sieger
  0 siblings, 0 replies; 6+ messages in thread
From: Sean Sieger @ 2010-05-11  2:08 UTC (permalink / raw)
  To: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

    > I did emacs -Q, evaluated the above and visited a plain text file,
    > auto-fill wasn't working---in fact, it's not working in this message
    > buffer either ... it's gotta be me ... what the?

    Please try a bootstrap and see if it fixes your problem.


            Stefan

Yep.  Thank you for the patient reminder.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-11  2:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-22 11:59 auto-fill-mode gooliver
     [not found] ` <Vocue.15840$D7.403424-R0OuHeQl0QZEJRXAUHnYR6icDR3qMxSs@public.gmane.org>
2005-06-22 13:14   ` auto-fill-mode Jochen Küpper
     [not found] ` <mailman.801.1119447524.2857.help-gnu-emacs@gnu.org>
2005-06-22 14:30   ` auto-fill-mode drkm
  -- strict thread matches above, loose matches on Subject: below --
2010-05-10 21:48 auto-fill-mode Sean Sieger
2010-05-11  1:18 ` auto-fill-mode Stefan Monnier
2010-05-11  2:08   ` auto-fill-mode Sean Sieger

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.