unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: no spam <peoria6384@yahoo.com>
Subject: Re: keymap problem
Date: Sun, 20 Mar 2005 19:40:46 GMT	[thread overview]
Message-ID: <423DD1AF.2020707@yahoo.com> (raw)
In-Reply-To: <mailman.4492.1111343289.32256.help-gnu-emacs@gnu.org>

Thanks again.  I can run xmodmap and xev on my laptop, but on the 
university's system, I can't.

  xmodmap -pk
xmodmap:  unable to open display ''

and xev I can't find at all.

Although I haven't tried, I suspect that I'm not going to have much 
luck getting an X session across their firewall AND mine.  Is there some 
other way to do this?



Joe Corneli wrote:
>    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.
> 
> 

  parent reply	other threads:[~2005-03-20 19:40 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
     [not found]       ` <mailman.4492.1111343289.32256.help-gnu-emacs@gnu.org>
2005-03-20 19:40         ` no spam [this message]
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

  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=423DD1AF.2020707@yahoo.com \
    --to=peoria6384@yahoo.com \
    /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.
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).