unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Using emacs on a tablet computer
@ 2008-02-22 10:15 joakim
  2008-02-22 18:29 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: joakim @ 2008-02-22 10:15 UTC (permalink / raw)
  To: emacs-devel

Sometimes I dont get anywhere to sit on the commuter train
and I use my laptop in tablet mode to amuse myself.

Today I tried to read things in Gnus using only the pen interface.
It didnt work out too well, basically because of lacking menu options.
Most I can fix myself of course, but what about keyboard-quit?

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.

-- 
Joakim Verona




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

* Re: Using emacs on a tablet computer
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2008-02-22 18:29 UTC (permalink / raw)
  To: joakim; +Cc: emacs-devel

> Sometimes I dont get anywhere to sit on the commuter train
> and I use my laptop in tablet mode to amuse myself.

> Today I tried to read things in Gnus using only the pen interface.
> It didnt work out too well, basically because of lacking menu options.
> Most I can fix myself of course, but what about keyboard-quit?

> 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 don't know how a tablet computer is used, but have you looked into the
strokes.el package?  Tho I guess there must be some similar system-level
facility available somewhere.


        Stefan




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

* Re: Using emacs on a tablet computer
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Johan Bockgård @ 2008-02-22 19:01 UTC (permalink / raw)
  To: emacs-devel

joakim@verona.se writes:

> Today I tried to read things in Gnus using only the pen interface.
> It didnt work out too well, basically because of lacking menu options.
> Most I can fix myself of course, but what about keyboard-quit?
>
> 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.

It sounds like you want to bind the "quit character" (not really
`keyboard-quit', which an ordinary command) to a GUI element.  I don't
think you can.

-- 
Johan Bockgård





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

* RE: Using emacs on a tablet computer
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2008-02-22 19:22 UTC (permalink / raw)
  To: joakim, 'emacs-devel'

> 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. 





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

end of thread, other threads:[~2008-02-22 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).