From: Tassilo Horn <tsdh@gnu.org>
To: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: `turn-on-eldoc-mode' obsolete?
Date: Thu, 10 Apr 2014 13:37:44 +0200 [thread overview]
Message-ID: <87mwfto1o7.fsf@gnu.org> (raw)
In-Reply-To: <1546802.XA6dIj1tU7@descartes> ("Rüdiger Sonderfeld"'s message of "Thu, 10 Apr 2014 13:22:04 +0200")
Rüdiger Sonderfeld <ruediger@c-plusplus.de> writes:
Hi Rüdiger,
>> It used to be but not anymore. Now all minor-modes defined with
>> `define-minor-mode' (which see) are turned on when passed no
>> argument. Thus
>>
>> (add-hook 'some-mode-hook #'some-minor-mode)
>>
>> will always enable some-minor-mode.
>>
>> The toggling behavior is only active in interactive calls or from lisp
>> if you provide 'toggle as argument.
>
> that makes sense. So all `turn-on-*' functions should eventually be
> removed?
Yes, I guess so.
Bye,
Tassilo
prev parent reply other threads:[~2014-04-10 11:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-10 11:07 `turn-on-eldoc-mode' obsolete? Rüdiger Sonderfeld
2014-04-10 11:12 ` Tassilo Horn
2014-04-10 11:22 ` Rüdiger Sonderfeld
2014-04-10 11:37 ` Tassilo Horn [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwfto1o7.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=ruediger@c-plusplus.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).