all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Cycle Auto-Fill
Date: Mon, 07 Dec 2020 01:36:19 +0100	[thread overview]
Message-ID: <87sg8ia1vg.fsf@web.de> (raw)
In-Reply-To: trinity-05bfdf95-ac76-4a8e-b1e8-29d26e2d9408-1607298214859@3c-app-mailcom-bs11

Christopher Dimech <dimech@gmx.com> writes:

> What is the relevance of having the value cell of symbol auto-fill-mode
> void? Why do you recommend auto-fill-function instead?

`auto-fill-mode' uses internally `auto-fill-function'.  I don't recall
the details why it had been chosen to design it like this.  But yes,
it's possible that a mode uses a variable of a different name for
toggling.

Part of the answer is probably that different auto-fill functions can be
used this way, and for all values besides nil the mode thinks of itself
as "on".  OTOH, setting `auto-fill-function' nil automagically turns the
mode off.

> Very clear, thank you.  This got us back to what Daniela was doing with
> mode-line.  Quite many things can be linked together.  She has not managed
> to revert mode-line to its original value, last time we talked about that.

AFAIR I also already gave her an answer, hope it has arrived.


Regards,

Michael.




      reply	other threads:[~2020-12-07  0:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-05 13:25 Cycle Auto-Fill Christopher Dimech
2020-12-05 13:59 ` Pankaj Jangid
2020-12-05 14:16   ` Christopher Dimech
2020-12-05 16:57     ` Pankaj Jangid
2020-12-05 14:39 ` Ergus
2020-12-05 22:00 ` Michael Heerdegen
2020-12-05 22:06   ` Drew Adams
2020-12-05 22:38   ` Christopher Dimech
2020-12-05 23:53     ` Michael Heerdegen
     [not found]       ` <trinity-3598b15c-19a1-41d1-92ed-96e7f10f1fd9-1607213433613@3c-app-mailcom-bs06>
     [not found]         ` <87v9dfhj2e.fsf@web.de>
2020-12-06  0:49           ` Christopher Dimech
2020-12-06  2:33             ` Michael Heerdegen
2020-12-06  3:35               ` Christopher Dimech
2020-12-06  5:23                 ` Robert Thorpe
2020-12-06 23:01                 ` Michael Heerdegen
2020-12-06 23:43                   ` Christopher Dimech
2020-12-07  0:36                     ` Michael Heerdegen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg8ia1vg.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.