From: "Mikiya Matsuzaka" <yoyu@tiara.ocn.ne.jp>
Subject: Re: Is OpenUsability something for Emacs?
Date: Mon, 21 Aug 2006 09:58:24 +0900 [thread overview]
Message-ID: <009501c6c4bc$e7905750$1501a8c0@kodama1> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1493 bytes --]
Hou about this start with?
This might be a kind of talking about usability, although
RMS said in mail it seems not good idea to him.
The folowing is an experimental implementation of readline-
like interface in shell buffer.
;------------------------------------------------------------------------
;;;;
;;;; C-z (in any buffer) pops up shell buffer.
;;;; C-p, C-n, C-a and C-l, work just like readline in a prompt line.
;;;; C-x f goes to fundamental-mode and C-z restores it again.
;;;;
(require 'shell)
(global-set-key "\C-z" '(lambda ()
(interactive)
(shell)
(shell-mode)
(end-of-buffer)))
(add-hook 'shell-mode-hook
'(lambda ()
(define-key shell-mode-map "\C-xf" 'fundamental-mode)
(define-key shell-mode-map "\C-i" 'comint-dynamic-complete)
(define-key shell-mode-map "\C-a" 'comint-bol)
(define-key shell-mode-map "\C-p"
'(lambda (n)
(interactive "p")
(comint-previous-input n)))
(define-key shell-mode-map "\C-n"
'(lambda (n)
(interactive "p")
(comint-next-input n)))
(define-key shell-mode-map "\C-l"
'(lambda ()
(interactive)
(recenter 0)))))
;------------------------------------------------------------------------
[-- Attachment #1.2: Type: text/html, Size: 4399 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next reply other threads:[~2006-08-21 0:58 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-21 0:58 Mikiya Matsuzaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-08-19 15:15 Is OpenUsability something for Emacs? Lennart Borgman
2006-08-19 20:26 ` Robert J. Chassell
2006-08-20 4:32 ` Richard Stallman
2006-08-20 8:37 ` Lennart Borgman
2006-08-20 11:24 ` Paul Pogonyshev
2006-08-20 13:45 ` Lennart Borgman
2006-08-21 11:12 ` Richard Stallman
2006-08-21 11:23 ` Mikhail Gusarov
2006-08-21 11:45 ` Lennart Borgman
2006-08-21 14:03 ` Chong Yidong
2006-08-21 15:35 ` Drew Adams
2006-08-21 16:30 ` Chong Yidong
2006-08-22 7:42 ` Richard Stallman
2006-08-22 7:42 ` Richard Stallman
2006-08-21 11:12 ` Richard Stallman
2006-08-21 11:34 ` Lennart Borgman
2006-08-22 22:22 ` David Hansen
2006-08-23 2:24 ` Miles Bader
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='009501c6c4bc$e7905750$1501a8c0@kodama1' \
--to=yoyu@tiara.ocn.ne.jp \
/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.