all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: emacs-pretest-bug@gnu.org
Subject: More Minibuffer menu items
Date: Sun, 24 Feb 2008 22:35:32 +0200	[thread overview]
Message-ID: <87ir0eozpb.fsf@jurta.org> (raw)

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:

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
! 	  :help "Search minibuffer history forward"))
!   (define-key map [menu-bar minibuf isearch-backward]
!     (list 'menu-item "Search history backward" 'isearch-backward
! 	  :help "Search minibuffer history backward")))
  \f
  ;;;###autoload
  ;; This comment is taken from tool-bar.el near

-- 
Juri Linkov
http://www.jurta.org/emacs/




             reply	other threads:[~2008-02-24 20:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24 20:35 Juri Linkov [this message]
2008-02-24 21:03 ` More Minibuffer menu items Dan Nicolaescu
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=87ir0eozpb.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-pretest-bug@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 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.