all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <joakim@verona.se>, "'emacs-devel'" <emacs-devel@gnu.org>
Subject: RE: Using emacs on a tablet computer
Date: Fri, 22 Feb 2008 11:22:00 -0800	[thread overview]
Message-ID: <000001c87588$33024d10$0600a8c0@us.oracle.com> (raw)
In-Reply-To: <m3ablt8fgl.fsf@verona.se>

> keyboard-quit is quite essential for emacs usage, and there 
> doesnt seem to be a way to map it to a  menu or toolbar
> button that works when you need it.
> I'm happily proven wrong of course.

I add `keyboard-quit', `top-level' and `view-lossage' to the `Help' menu in
library `menu-bar+.el'. Actually, I add them to a `Help' submenu named
`Whoops!?':

(defvar menu-bar-whereami-menu (make-sparse-keymap "Whoops!?"))
(define-key menu-bar-help-menu [whereami]
  (cons "Whoops!?" menu-bar-whereami-menu))
(define-key menu-bar-whereami-menu [view-lossage]
  '(menu-item "What did I do !?" view-lossage :help "Display last 100 input
keystrokes"))
(define-key menu-bar-whereami-menu [top-level]
  '(menu-item "Back to Top Level" top-level :help "Exit all recursive
editing levels"))
(define-key menu-bar-whereami-menu [keyboard-quit]
  '(menu-item "Cancel Current Action" keyboard-quit :help "Quit any
operation in progress"))


HTH. 





      parent reply	other threads:[~2008-02-22 19:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 10:15 Using emacs on a tablet computer joakim
2008-02-22 18:29 ` Stefan Monnier
2008-02-22 19:01 ` Johan Bockgård
2008-02-22 19:22 ` Drew Adams [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001c87588$33024d10$0600a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    /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.