From: storm@cua.dk (Kim F. Storm)
Cc: Lennart Borgman <lennart.borgman.073@student.lu.se>,
kifer@cs.sunysb.edu, emacs-devel@gnu.org
Subject: Re: How to avoid insert anything without switching to read only
Date: Mon, 11 Jul 2005 00:09:12 +0200 [thread overview]
Message-ID: <m3mzouqpo7.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1DrUDh-0004lE-Tk@fencepost.gnu.org> (Richard M. Stallman's message of "Sun, 10 Jul 2005 01:19:13 -0400")
"Richard M. Stallman" <rms@gnu.org> writes:
> When you put advice on primitive functions,
> it only works when they are called from Lisp code.
> The command loop calls self-insert directly in
> a special way, so your advice is not called.
>
> What you should do is rebind those characters to run
> another command, one that does your special thing
> and calls self-insert.
Or use the command remap feature.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2005-07-10 22:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-09 8:43 How to avoid insert anything without switching to read only Lennart Borgman
2005-07-10 5:19 ` Richard M. Stallman
2005-07-10 22:09 ` Kim F. Storm [this message]
2005-07-10 22:30 ` Lennart Borgman
2005-07-10 23:05 ` David Kastrup
2005-07-10 23:32 ` Lennart Borgman
2005-07-11 8:09 ` Kim F. Storm
2005-07-11 13:37 ` Stefan Monnier
2005-07-11 13:52 ` Lennart Borgman
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=m3mzouqpo7.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
--cc=kifer@cs.sunysb.edu \
--cc=lennart.borgman.073@student.lu.se \
/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.