unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bruce Ingalls <bingalls@CUT-this-SPAM-BLOCK.fit-zones.com>
Subject: Re: Keybinding std WAS: replace C-s with C-f
Date: Wed, 19 Feb 2003 20:57:00 GMT	[thread overview]
Message-ID: <wcS4a.29861$Mh3.9562058@twister.nyc.rr.com> (raw)
In-Reply-To: <3E52B569.8040401@ihs.com>

Kevin Rodgers wrote:
> Bruce Ingalls wrote:
>> About the only thing missing, at this point, is that the keybindings 
>> don't show
>> up in the menu, to the right of the commands, ex:
>>     Search...            C-f
> 
> Because src/xmenu.c:menu_item_equiv_key only displays the first key 
> sequence
> returned by where-is-internal.  "First" doesn't seem to be well-defined, so
> maybe if you removed the default keybinding(s) before adding your custom 
> key
> binding, it would help.

Thanks, Kevin. I tried
	(global-unset-key [(control s)])
before re-assigning it (to save) but this had no effect on the menu.
Am I using the wrong command?

Here's what I have, so far:

   (global-unset-key [(control s)])
   (global-set-key [(control s)] 'save-buffer)

   (global-set-key [(control f)] 'isearch-forward)
   (define-key isearch-mode-map [(control f)] 'isearch-repeat-forward)

      parent reply	other threads:[~2003-02-19 20:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-17 18:31 replace C-s with C-f Bruce Ingalls
2003-02-17 18:39 ` David Kastrup
2003-02-17 19:35   ` Bruce Ingalls
2003-02-17 20:18     ` David Kastrup
2003-02-17 21:59       ` Stefan Monnier <foo@acm.com>
2003-02-18  1:42       ` Unknown
2003-02-18  3:15         ` John Russell
2003-02-18 19:18           ` Keybinding std WAS: " Bruce Ingalls
2003-02-18 22:36             ` Kevin Rodgers
2003-02-18 23:09               ` Hannu Koivisto
2003-02-19 20:57               ` Bruce Ingalls [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='wcS4a.29861$Mh3.9562058@twister.nyc.rr.com' \
    --to=bingalls@cut-this-spam-block.fit-zones.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).