From: jai-bholeki@gmx.com
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 46193@debbugs.gnu.org
Subject: bug#46193: Enabling Auto Fill mode
Date: Sat, 30 Jan 2021 20:55:20 +0100 [thread overview]
Message-ID: <trinity-b32e4d1f-8ac1-4570-a8a6-799a672d5f50-1612036520595@3c-app-mailcom-bs16> (raw)
In-Reply-To: <CAArVCkRWb71qVAOwGdFc=PGxG2V-WsNepxwtCpZ-UFSmm0Dwxw@mail.gmail.com>
I have noticed that enabling a minor-mode using texinfo-mode-hook fails after
setting auto-fill comments using a hook.
(add-hook 'texinfo-mode-hook
(lambda () ((set (make-local-variable 'comment-auto-fill-only-comments) t)))
(auto-fill-mode)
;; crucible-mode not enabled after setting comment-auto-fill-only-comments
(add-hook 'texinfo-mode-hook 'crucible-mode)
> Sent: Sunday, January 31, 2021 at 6:31 AM
> From: "Philipp Stephani" <p.stephani2@gmail.com>
> To: jai-bholeki@gmx.com
> Cc: 46193@debbugs.gnu.org
> Subject: bug#46193: Enabling Auto Fill mode
>
> Am Sa., 30. Jan. 2021 um 17:14 Uhr schrieb <jai-bholeki@gmx.com>:
> >
> >
> > In the documentation for (auto-fill-mode &optional ARG), it says that
> > if called from Lisp, enable the mode if ARG is omitted or nil.
> >
> > Enabling a mode using nil seems counter-intuitive to me.
> >
>
>
> Maybe, but it's the universal convention for minor modes. See "Minor
> mode conventions" in the ELisp manual.
>
>
>
>
next prev parent reply other threads:[~2021-01-30 19:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-30 14:41 bug#46193: Enabling Auto Fill mode jai-bholeki
2021-01-30 18:31 ` Philipp Stephani
2021-01-30 19:55 ` jai-bholeki [this message]
2021-02-01 9:20 ` Lars Ingebrigtsen
2021-02-01 11:59 ` jai-bholeki
2021-02-01 9:19 ` Lars Ingebrigtsen
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=trinity-b32e4d1f-8ac1-4570-a8a6-799a672d5f50-1612036520595@3c-app-mailcom-bs16 \
--to=jai-bholeki@gmx.com \
--cc=46193@debbugs.gnu.org \
--cc=p.stephani2@gmail.com \
/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.