all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Command Menu
@ 2003-10-01 21:47 Artist
  2003-10-01 22:16 ` John Paul Wallington
  2003-10-02 16:20 ` Kevin Rodgers
  0 siblings, 2 replies; 3+ messages in thread
From: Artist @ 2003-10-01 21:47 UTC (permalink / raw)


Hi,
 How I can make command menu ?.

ie..instead of doing M-x some-command,
I just hit the menu, with some binded key, and it should have all the
command that I frequently use. There should be method to add and
delete comamnds and execute command methods.


It's something like bookmarks : (C-x r l) but for the commands. If it
can take automatic listing of commands and sort  by frequently used
comamnds that would be very good..

Commands should be on-screen v/s at the top-menubar. It's more
readable thatway.

Thanks,

artist

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Command Menu
  2003-10-01 21:47 Command Menu Artist
@ 2003-10-01 22:16 ` John Paul Wallington
  2003-10-02 16:20 ` Kevin Rodgers
  1 sibling, 0 replies; 3+ messages in thread
From: John Paul Wallington @ 2003-10-01 22:16 UTC (permalink / raw)


googleartist@yahoo.com (Artist) wrote:

>  How I can make command menu ?.
>
> ie..instead of doing M-x some-command,
> I just hit the menu, with some binded key, and it should have all the
> command that I frequently use. There should be method to add and
> delete comamnds and execute command methods.
>
>
> It's something like bookmarks : (C-x r l) but for the commands. If it
> can take automatic listing of commands and sort  by frequently used
> comamnds that would be very good..

How about M-x command-history ?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Command Menu
  2003-10-01 21:47 Command Menu Artist
  2003-10-01 22:16 ` John Paul Wallington
@ 2003-10-02 16:20 ` Kevin Rodgers
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2003-10-02 16:20 UTC (permalink / raw)


Artist wrote:

> ie..instead of doing M-x some-command,
> I just hit the menu, with some binded key, and it should have all the
> command that I frequently use.


(defvar my-command-menu
   (let ((map (make-sparse-keymap "My Commands")))
     (define-key map [foo] '("Foo" . foo-command))
     (define-key map [bar] '("Bar" . bar-command))
     map))

(global-set-key [menu-bar my-command] (cons "My Commands" my-command-menu))

> There should be method to add and
> delete comamnds and execute command methods.

(global-unset-key [menu-bar my-command foo])	; add
(global-set-key [menu-bar my-command baz] '("Baz" . baz-command))	; delete
;; execute command methods?

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-02 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-01 21:47 Command Menu Artist
2003-10-01 22:16 ` John Paul Wallington
2003-10-02 16:20 ` Kevin Rodgers

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.