unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Hori <fplemma@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: "alin.s" <alinsoar@voila.fr>, Teemu Likonen <tlikonen@iki.fi>,
	Emacs-devel@gnu.org, Deniz Dogan <deniz.a.m.dogan@gmail.com>
Subject: Re: keybinding to duplicate the current line.
Date: Sun, 17 Jan 2010 07:48:14 -0800	[thread overview]
Message-ID: <d0dc7c8f1001170748g7cc5a1c8jd9c0f83890f7285f@mail.gmail.com> (raw)
In-Reply-To: <878wbwu4gt.fsf@stupidchicken.com>

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

I just took a look inside lisp/ dir.

modula2.el overrides C-c <letter> keybindings (and so it is a bug).

All else look good (inf-lisp.el and sgml-mode.el do have a non-default-on
switch to give
C-c <letter> bindings).

There are more than a few non-standard elisp packages (@ELL or emacs-wiki)
that
are not aware of the C-c <letter> convention, I'm sure.
I guess I'll stick with not using C-c prefix for now.


On Sun, Jan 17, 2010 at 7:38 AM, Chong Yidong <cyd@stupidchicken.com> wrote:

> Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:
>
> > 2010/1/17 Ken Hori <fplemma@gmail.com>:
> >>
> >> C-c prefix is supposed to be "reserved" for end-users.
> >> But the sad reality is that more than several major-modes
> >> break the convention by overriding C-c ... . So I no longer
> >> use C-c prefix and instead define my own keymap.
> >> It is more secure, at least probabilistically speaking.
> >>
> >
> > I don't think any major mode I know of binds "C-c <letter>". Note that
> > by <letter> I mean e.g. "C-c i", "C-c a", etc., not "C-c C-i" or "C-c
> > C-a".
>
> Indeed.  If you find any major mode that binds C-c <letter>, it is a
> bug, so please report it.
>

[-- Attachment #2: Type: text/html, Size: 1823 bytes --]

  reply	other threads:[~2010-01-17 15:48 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=d0dc7c8f1001170748g7cc5a1c8jd9c0f83890f7285f@mail.gmail.com \
    --to=fplemma@gmail.com \
    --cc=Emacs-devel@gnu.org \
    --cc=alinsoar@voila.fr \
    --cc=cyd@stupidchicken.com \
    --cc=deniz.a.m.dogan@gmail.com \
    --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 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).