From: Dan Nicolaescu <dann@ics.uci.edu>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: More Minibuffer menu items
Date: Sun, 24 Feb 2008 13:03:48 -0800 [thread overview]
Message-ID: <200802242103.m1OL3mwS012226@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <87ir0eozpb.fsf@jurta.org> (Juri Linkov's message of "Sun, 24 Feb 2008 22:35:32 +0200")
Juri Linkov <juri@jurta.org> writes:
> Currently the Minibuffer menu has only two items (besides three
> completion items when they are available) and misses other useful
> minibuffer commands. The following patch adds more items to this menu:
Good idea!
> Index: lisp/menu-bar.el
> ===================================================================
> RCS file: /sources/emacs/emacs/lisp/menu-bar.el,v
> retrieving revision 1.318
> diff -c -r1.318 menu-bar.el
> *** lisp/menu-bar.el 8 Jan 2008 20:44:39 -0000 1.318
> --- lisp/menu-bar.el 24 Feb 2008 20:35:20 -0000
> ***************
> *** 1733,1739 ****
> :help "Abort input and exit minibuffer"))
> (define-key map [menu-bar minibuf return]
> (list 'menu-item "Enter" 'exit-minibuffer
> ! :help "Terminate input and exit minibuffer")))
> \f
> ;;;###autoload
> ;; This comment is taken from tool-bar.el near
> --- 1733,1751 ----
> :help "Abort input and exit minibuffer"))
> (define-key map [menu-bar minibuf return]
> (list 'menu-item "Enter" 'exit-minibuffer
> ! :help "Terminate input and exit minibuffer"))
> ! (define-key map [menu-bar minibuf next]
> ! (list 'menu-item "Next history item" 'next-history-element
> ! :help "Put next minibuffer history element in the minibuffer"))
> ! (define-key map [menu-bar minibuf previous]
> ! (list 'menu-item "Previous history item" 'previous-history-element
> ! :help "Put previous minibuffer history element in the minibuffer"))
> ! (define-key map [menu-bar minibuf isearch-forward]
> ! (list 'menu-item "Search history forward" 'isearch-forward
How about either "Incremental search forward" or "isearch forward" ?
> ! :help "Search minibuffer history forward"))
and adjust this to match.
next prev parent reply other threads:[~2008-02-24 21:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-24 20:35 More Minibuffer menu items Juri Linkov
2008-02-24 21:03 ` Dan Nicolaescu [this message]
2008-02-24 23:23 ` Juri Linkov
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=200802242103.m1OL3mwS012226@sallyv1.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-pretest-bug@gnu.org \
--cc=juri@jurta.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 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.