unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Fu Yuan <casouri@gmail.com>
Cc: 32307@debbugs.gnu.org
Subject: bug#32307: [feature request] Add standard hooks to toggle common features
Date: Fri, 27 Sep 2019 18:35:28 +0200	[thread overview]
Message-ID: <87o8z5hf3j.fsf@gnus.org> (raw)
In-Reply-To: <87r26uy69m.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sat, 13 Jul 2019 05:15:17 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> Here is my thought about it:
>>
>> Provide toggle commands and corresponding hook for each of these features.
>> Feature providers add their toggle function to the proper hook.
>> When user toggles on/off, the toggle command runs each function
>> in the hook with an aregument indicating that user is turning on or
>> turning off,
>> maybe t and nil.
>
> I'm not quite sure I understand you here.  The vast majority of modes
> can be called with an argument to turn them off or on.

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please reopen this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-09-27 16:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30  0:52 bug#32307: [feature request] Add standard hooks to toggle common features Fu Yuan
2019-07-13  3:15 ` Lars Ingebrigtsen
2019-09-27 16:35   ` Lars Ingebrigtsen [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=87o8z5hf3j.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=32307@debbugs.gnu.org \
    --cc=casouri@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 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).