unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: keymaps.texi
Date: Sat, 15 Jan 2005 13:40:57 -0600 (CST)	[thread overview]
Message-ID: <200501151940.j0FJevQ06292@raven.dms.auburn.edu> (raw)
In-Reply-To: <200501151915.j0FJFsY06252@raven.dms.auburn.edu> (message from Luc Teirlinck on Sat, 15 Jan 2005 13:15:54 -0600 (CST))

Maybe the following is somewhat better than my original patch:

===File ~/keymaps.texi-diff-2===============================
*** keymaps.texi	13 Jan 2005 16:00:33 -0600	1.56
--- keymaps.texi	15 Jan 2005 13:24:18 -0600	
***************
*** 1266,1274 ****
  @defun suppress-keymap keymap &optional nodigits
  @cindex @code{self-insert-command} override
  This function changes the contents of the full keymap @var{keymap} by
! making all the printing characters undefined.  More precisely, it binds
! them to the command @code{undefined}.  This makes ordinary insertion of
! text impossible.  @code{suppress-keymap} returns @code{nil}.
  
  If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines
  digits to run @code{digit-argument}, and @kbd{-} to run
--- 1266,1275 ----
  @defun suppress-keymap keymap &optional nodigits
  @cindex @code{self-insert-command} override
  This function changes the contents of the full keymap @var{keymap} by
! remapping @code{self-insert-command} to the command @code{undefined}
! (@pxref{Remapping Commands}).  This has the effect of undefining all
! printing characters, thus making ordinary insertion of text impossible.
! @code{suppress-keymap} returns @code{nil}.
  
  If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines
  digits to run @code{digit-argument}, and @kbd{-} to run
============================================================

      reply	other threads:[~2005-01-15 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15 19:15 keymaps.texi Luc Teirlinck
2005-01-15 19:40 ` Luc Teirlinck [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=200501151940.j0FJevQ06292@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 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).