unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: ihs_4664@yahoo.com, emacs-devel@gnu.org
Subject: Re: Some further problems with enriched mode.
Date: Thu, 23 Sep 2004 12:24:00 -0500 (CDT)	[thread overview]
Message-ID: <200409231724.i8NHO0S13101@raven.dms.auburn.edu> (raw)
In-Reply-To: <jwvisa5x7ex.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Thu, 23 Sep 2004 12:44:24 -0400)

Stefan Monnier wrote:
   
   > Minor mode hooks are run when turning the mode on _or_ off.

   Indeed.
   Some minor modes only run their run when turned ON, but I think it's a bug,
   because in many cases it can be useful/important to run something when the
   mode is turned OFF.

In particular, when turning the mode off, the user needs to be able to
undo changes he made (using the hook) while turning the mode on.

Sincerely,

Luc.

  reply	other threads:[~2004-09-23 17:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-23  1:18 Some further problems with enriched mode Luc Teirlinck
2004-09-23 15:47 ` Kevin Rodgers
2004-09-23 15:59   ` Luc Teirlinck
2004-09-23 16:44     ` Stefan Monnier
2004-09-23 17:24       ` Luc Teirlinck [this message]
2004-09-23 16:44 ` Richard Stallman

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=200409231724.i8NHO0S13101@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    --cc=ihs_4664@yahoo.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).