all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joe Corneli <jcorneli@math.utexas.edu>
Subject: Re: keymap problem
Date: Sun, 20 Mar 2005 12:11:27 -0600	[thread overview]
Message-ID: <E1DD4tb-0001fd-00@lab45.ma.utexas.edu> (raw)
In-Reply-To: <423DB701.7070408@yahoo.com> (message from no spam on Sun, 20 Mar 2005 17:47:08 GMT)


   which means that backspace has already been mapped to C-d (that's why I 
   suspected this required some sort of keymap wizardry).  While I could 
   live with C-d and Backspace both meaning delete-backward-char,
   I'd really rather have C-d continue to mean "delete forward" like it 
   ought to.

Hm... you got me there.  It sounds like maybe there's a site file
being loaded (in which case you can try the command line option
--no-site-file when you start Emacs, to the annoyance of your
sysadmins) *or* maybe you've just had some bad luck at the xmodmap
level if it is your own system.  In any event, you can try changing
the behavior of the backspace key around using xmodmap (the analogue
of `global-set-key') and xev (the analogue of the help and command
history commands I showed you).  See the man pages.

   2) your syntax doesn't work in my version:  If I try

   (global-set-key "^d" 'backward-delete-char-untabify)

   I get an initialization error "Key sequence ^ d uses invalid prefix 
   characters"

Did you copy the string from the *Command History* buffer?  You don't
want an asciicircum and a "d" -- you want the "control d character".
You can insert this character without going through the
help/command-history hoops just by pressing C-q C-d.

  reply	other threads:[~2005-03-20 18:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-20  5:43 keymap problem no spam
2005-03-20 16:14 ` Joe Corneli
2005-03-20 16:16   ` Joe Corneli
     [not found]   ` <mailman.4482.1111337221.32256.help-gnu-emacs@gnu.org>
2005-03-20 17:47     ` no spam
2005-03-20 18:11       ` Joe Corneli [this message]
     [not found]       ` <mailman.4492.1111343289.32256.help-gnu-emacs@gnu.org>
2005-03-20 19:40         ` no spam
2005-03-20 19:54           ` Joe Corneli
     [not found]           ` <mailman.4498.1111349806.32256.help-gnu-emacs@gnu.org>
2005-03-20 20:32             ` no spam
  -- strict thread matches above, loose matches on Subject: below --
2007-07-15 11:35 Keymap problem lu
2007-07-16 10:58 ` lu

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=E1DD4tb-0001fd-00@lab45.ma.utexas.edu \
    --to=jcorneli@math.utexas.edu \
    /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.