all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Some further problems with enriched mode.
Date: Thu, 23 Sep 2004 10:59:54 -0500 (CDT)	[thread overview]
Message-ID: <200409231559.i8NFxsQ10401@raven.dms.auburn.edu> (raw)
In-Reply-To: <4152F011.3090608@yahoo.com> (message from Kevin Rodgers on Thu,  23 Sep 2004 09:47:29 -0600)

Kevin Rodgers wrote:
    
    > ! Turning the mode on or off runs `enriched-mode-hook'.
			    ^^^^^^
   I know enriched-mode isn't normal, but that doesn't seem right.

Minor mode hooks are run when turning the mode on _or_ off.

Do `emacs -q', `M-x ielm' and:

ELISP> (add-hook 'enriched-mode-hook (lambda () (defvar myflag 5)))
((lambda nil
   (defvar myflag 5)))

ELISP> (enriched-mode 0)
nil
ELISP> myflag
5
ELISP> 

Sincerely,

Luc.

  reply	other threads:[~2004-09-23 15:59 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 [this message]
2004-09-23 16:44     ` Stefan Monnier
2004-09-23 17:24       ` Luc Teirlinck
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

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

  git send-email \
    --in-reply-to=200409231559.i8NFxsQ10401@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@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.