From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: S-backspace
Date: Sat, 21 Jun 2003 23:01:14 -0400 [thread overview]
Message-ID: <E19Tv6Q-0000S1-3J@fencepost.gnu.org> (raw)
In-Reply-To: <200306160009.58800.pogonyshev@gmx.net> (message from Paul Pogonyshev on Mon, 16 Jun 2003 00:19:19 -0400)
It would be nice if <S-backspace> was bound to the same function as <backspace>.
When i type in all upper-case letters (e.g. some macro name) i often press
<S-backspace> to fix a typo, not <backspace>. I think it would be a sane default
binding.
When an upper case function key character has no binding, Emacs looks
for a binding for the corresponding unshifted character. However,
there was a bug in the case of backspace.
This patch seems to fix it. But I am not sure it is right.
The meaning of the start and end fields in a keyremap are
not documented and I am not sure what is the right thing to do
to them here.
Stefan, could you check this is correct, and document those fields?
Index: keyboard.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keyboard.c,v
retrieving revision 1.751
diff -c -c -r1.751 keyboard.c
*** keyboard.c 15 Jun 2003 21:46:53 -0000 1.751
--- keyboard.c 21 Jun 2003 23:58:49 -0000
***************
*** 9421,9426 ****
--- 9426,9433 ----
keybuf[t - 1] = new_key;
mock_input = max (t, mock_input);
+ fkey.start = fkey.end = KEYMAPP (fkey.map) ? 0 : bufsize + 1;
+ keytran.start = keytran.end = KEYMAPP (keytran.map) ? 0 : bufsize + 1;
goto replay_sequence;
}
next parent reply other threads:[~2003-06-22 3:01 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200306160009.58800.pogonyshev@gmx.net>
2003-06-22 3:01 ` Richard Stallman [this message]
2003-05-25 23:01 S-backspace Alex Schroeder
2003-05-25 23:57 ` S-backspace Miles Bader
2003-05-26 1:14 ` S-backspace Luc Teirlinck
[not found] ` <200305260121.h4Q1L0s14572@eel.dms.auburn.edu>
2003-05-26 1:24 ` S-backspace Luc Teirlinck
2003-05-26 1:38 ` S-backspace Luc Teirlinck
2003-05-26 14:24 ` S-backspace Oliver Scholz
2003-05-26 18:59 ` S-backspace Luc Teirlinck
2003-05-26 15:18 ` S-backspace Kai Großjohann
2003-05-27 12:44 ` S-backspace Richard Stallman
2003-05-27 13:57 ` S-backspace Kai Großjohann
2003-05-27 14:06 ` S-backspace Rajesh Vaidheeswarran
2003-05-27 14:16 ` S-backspace David Kastrup
2003-05-27 14:18 ` S-backspace Miles Bader
2003-05-27 15:46 ` S-backspace Kai Großjohann
2003-05-27 16:47 ` S-backspace Luc Teirlinck
2003-05-27 17:06 ` S-backspace Stefan Monnier
2003-05-27 17:04 ` S-backspace Luc Teirlinck
2003-05-27 16:26 ` S-backspace Luc Teirlinck
2003-05-28 23:57 ` S-backspace Richard Stallman
2003-05-29 0:25 ` S-backspace Stefan Monnier
2003-05-29 2:33 ` S-backspace Peter Lee
2003-05-29 7:54 ` S-backspace Oliver Scholz
2003-05-30 1:10 ` S-backspace Luc Teirlinck
2003-06-05 1:49 ` S-backspace Luc Teirlinck
2003-06-05 2:40 ` S-backspace Miles Bader
2003-05-31 19:44 ` S-backspace David Kastrup
2003-05-29 1:46 ` S-backspace Luc Teirlinck
2003-05-29 2:11 ` S-backspace Luc Teirlinck
2003-05-30 17:12 ` S-backspace Richard Stallman
2003-05-30 22:22 ` S-backspace Kevin Rodgers
2003-05-30 23:59 ` S-backspace Kim F. Storm
2003-06-04 11:13 ` S-backspace Andreas Schwab
2003-05-31 0:39 ` S-backspace Luc Teirlinck
2003-05-31 0:53 ` S-backspace Miles Bader
2003-05-31 0:58 ` S-backspace Luc Teirlinck
2003-05-31 1:07 ` S-backspace Miles Bader
2003-05-27 14:31 ` S-backspace Jan D.
2003-05-28 13:54 ` S-backspace 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=E19Tv6Q-0000S1-3J@fencepost.gnu.org \
--to=rms@gnu.org \
--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).