From: Miles Bader <miles@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#2820: 23.0.91; ruby-mode binds keys it probably shouldn't
Date: Mon, 30 Mar 2009 17:21:36 +0900 [thread overview]
Message-ID: <buoocvje7zj.fsf@dhlpc061.dev.necel.com> (raw)
ruby-mode-map contains a bunch of rebindings of standard key sequences,
many of which would better be done using other mechanisms.
E.g.:
(define-key map (kbd "M-C-a") 'ruby-beginning-of-defun)
should use `beginning-of-defun-function' instead.
(define-key map (kbd "TAB") 'ruby-indent-line)
should use `indent-line-function' instead.
etc, etc.
-Miles
In GNU Emacs 23.0.91.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.0)
of 2009-03-30 on dhlpc061
Windowing system distributor `The X.Org Foundation', version 11.0.10599902
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ja_JP.UTF-8
value of $XMODIFIERS: @im=SCIM
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
shell-dirtrack-mode: t
show-paren-mode: t
recentf-mode: t
rcirc-track-minor-mode: t
minibuffer-electric-default-mode: t
display-time-mode: t
desktop-save-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
temp-buffer-resize-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
! <backspace> <backspace> r e b i n d i n g SPC i s
SPC g e n e r a l l y SPC a SPC b a d SPC i d e a SPC
u n l e s s SPC y o u SPC h a v <escape> h <escape>
h <escape> h i f SPC t h e r e ' s SPC a SPC b e t
t e r SPC i d e a <return> <tab> <tab> i t ' s SPC
c r u f t y <return> <return> <tab> <tab> t y p i c
a l SPC o f SPC m o d e s SPC <escape> h SPC M-h M-h
g r a n C-a C-k <tab> b e c a u s e SPC o n SPC X ,
SPC t a b SPC g e n d s SPC t o <escape> h <escape>
h t e n d s SPC t o SPC g e t SPC t r r a <backspace>
<backspace> a n s l a t e d C-a M-f M-f M-b i SPC g
u e s s SPC C-e SPC t h o <backspace> r o u g SPC N
SPC l a y e r s SPC o f SPC r e m p a p i g n s <escape>
h r e p <backspace> a <backspace> m a p p i n s <return>
w h e r e a s C-a C-k C-x b <return> C-f C-f C-f C-f
C-f C-f C-f C-f C-M-b C-s C-w C-w C-w C-s C-s C-s C-s
C-a C-x C-g C-x s C-x k <return> <escape> x r e <backspace>
<backspace> r e p o r t - e m SPC <return>
Recent messages:
Auto-saving...
x*DING*
Quit
(New file)
TAB (translated from <tab>) runs the command ruby-indent-line
Type C-x 1 to delete the help window, C-M-v to scroll help.
mouse-2, RET: find function's definition
x*DING*
Mark saved where search started
x*DING*
--
Non-combatant, n. A dead Quaker.
next reply other threads:[~2009-03-30 8:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 8:21 Miles Bader [this message]
2012-09-04 5:02 ` bug#2820: 23.0.91; ruby-mode binds keys it probably shouldn't Dmitry Gutov
2012-09-04 14:39 ` Stefan Monnier
2012-09-04 19:10 ` Dmitry Gutov
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=buoocvje7zj.fsf@dhlpc061.dev.necel.com \
--to=miles@gnu.org \
--cc=2820@emacsbugs.donarmstrong.com \
--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.