all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: rms@gnu.org
Cc: fplemma@gmail.com, alinsoar@voila.fr, tlikonen@iki.fi,
	Emacs-devel@gnu.org
Subject: Re: keybinding to duplicate the current line.
Date: Tue, 19 Jan 2010 16:29:10 +0100	[thread overview]
Message-ID: <7b501d5c1001190729j4064bd68sa9fb1ab61f2fbe86@mail.gmail.com> (raw)
In-Reply-To: <E1NXFZh-0006je-0d@fencepost.gnu.org>

2010/1/19 Richard Stallman <rms@gnu.org>:
>    If someone decides to look into this matter, could that person also
>    see if there are any modes that make C-g part of any key sequences?
>
> Would you like to check for these problematical modes?
> We could use your help.
>

I'm on a Windows system at the moment and I don't know how to properly
install grep and other useful tools for the task, but having searched
through all .el files in the "lisp" directory, I found the following
bindings. Some of them are there to imitate other editors, so I guess
they are okay, but these are the ones that I _personally_ believe
could need some reviewing from more experienced Emacs hackers than
myself.

viper-keym.el
(define-key viper-insert-diehard-map "\C-g" 'self-insert-command)
(define-key viper-vi-basic-map "\C-c\C-g" 'viper-info-on-file)
(define-key viper-vi-diehard-map "\C-g" 'viper-info-on-file)

ws-mode.el
  (define-key wordstar-mode-map "\C-g" 'delete-char)

feedmail.el
    (?\C-g . feedmail-message-action-edit)

mh-letter.el
  "\C-c\C-m\C-g"        mh-mh-compose-anon-ftp

make-mode.el
    (define-key map "\C-c\C-m\C-g" 'makefile-gmake-mode)

vhdl-mode.el

  (if (featurep 'xemacs) ; `... C-g' not allowed in XEmacs
      (define-key vhdl-mode-map "\C-c\C-p\M-g" 'vhdl-port-paste-generic-map)
    (define-key vhdl-mode-map "\C-c\C-p\C-g" 'vhdl-port-paste-generic-map))

  (define-key vhdl-mode-map "\C-c\C-i\C-g" 'vhdl-indent-group)
  (define-key vhdl-mode-map "\C-c\C-a\C-g" 'vhdl-align-group)
  (define-key vhdl-mode-map "\C-c\C-f\C-g" 'vhdl-fill-group)
  (define-key vhdl-mode-map "\C-c\C-l\C-g" 'goto-line)

These were all found using a simple plain-text search for "\C-g", so I
may very well have missed a lot of them. I think the findings in
vhdl-mode.el are the most interesting, as the author clearly knew what
he/she was doing, making a special case of XEmacs. :)

-- 
Deniz Dogan




  reply	other threads:[~2010-01-19 15:29 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-17 13:40 keybinding to duplicate the current line alin.s
2010-01-17 14:19 ` Deniz Dogan
2010-01-17 14:28   ` Ken Hori
2010-01-17 14:22 ` Daniel Colascione
2010-01-17 14:31 ` Dirk-Jan C. Binnema
2010-01-17 14:37 ` Dirk-Jan C. Binnema
2010-01-17 14:42   ` Ken Hori
2010-01-17 14:51     ` Daniel Colascione
2010-01-17 14:52   ` Dirk-Jan C. Binnema
2010-01-17 14:58 ` Helmut Eller
2010-01-17 15:05 ` Teemu Likonen
2010-01-17 15:10   ` Lennart Borgman
2010-01-17 15:13   ` Ken Hori
2010-01-17 15:18     ` Deniz Dogan
2010-01-17 15:30       ` Ken Hori
2010-01-17 15:31         ` Deniz Dogan
2010-01-17 15:38           ` Chong Yidong
2010-01-17 15:48             ` Ken Hori
2010-01-17 16:17           ` Lennart Borgman
2010-01-18 11:56         ` Richard Stallman
2010-01-18 16:28           ` Deniz Dogan
2010-01-19 15:00             ` Richard Stallman
2010-01-19 15:29               ` Deniz Dogan [this message]
2010-01-21  9:47                 ` Deniz Dogan
2010-01-18 18:29           ` Ken Hori
2010-01-18  5:39   ` Thien-Thi Nguyen
2010-01-19  8:40 ` mansoor_2233
2010-01-19 16:05   ` David Kastrup
  -- strict thread matches above, loose matches on Subject: below --
2010-01-17 14:34 A. Soare
2010-01-17 15:32 A. Soare
2010-01-17 16:02 ` Teemu Likonen
2010-01-19 16:59 ` Davis Herring
2010-01-17 17:17 A. Soare
2010-01-18  1:45 ` Stephen J. Turnbull
2010-01-20  8:16 ` Teemu Likonen
2010-01-21  2:41   ` Ken Hori
2010-01-21  3:34     ` Miles Bader
2010-01-21  4:00       ` Ken Hori
2010-01-21  4:58         ` Miles Bader
2010-01-21 14:29         ` Stefan Monnier
2010-01-18 19:50 A. Soare
2010-01-19 15:01 ` Richard Stallman

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=7b501d5c1001190729j4064bd68sa9fb1ab61f2fbe86@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=Emacs-devel@gnu.org \
    --cc=alinsoar@voila.fr \
    --cc=fplemma@gmail.com \
    --cc=rms@gnu.org \
    --cc=tlikonen@iki.fi \
    /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.