unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* keymaps.texi
@ 2005-01-15 19:15 Luc Teirlinck
  2005-01-15 19:40 ` keymaps.texi Luc Teirlinck
  0 siblings, 1 reply; 2+ messages in thread
From: Luc Teirlinck @ 2005-01-15 19:15 UTC (permalink / raw)


I propose the following change to keymaps.texi, to update it for a
(not so recent) change in `suppress-keymap'.  I can install if desired.

===File ~/keymaps.texi-diff=================================
*** keymaps.texi	13 Jan 2005 16:00:33 -0600	1.56
--- keymaps.texi	15 Jan 2005 12:51:47 -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,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
! remapping @code{self-insert-command} to the command @code{undefined}
! (@pxref{Remapping Commands}).  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
============================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: keymaps.texi
  2005-01-15 19:15 keymaps.texi Luc Teirlinck
@ 2005-01-15 19:40 ` Luc Teirlinck
  0 siblings, 0 replies; 2+ messages in thread
From: Luc Teirlinck @ 2005-01-15 19:40 UTC (permalink / raw)
  Cc: emacs-devel

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
============================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-15 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-15 19:15 keymaps.texi Luc Teirlinck
2005-01-15 19:40 ` keymaps.texi Luc Teirlinck

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).