From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Hori Newsgroups: gmane.emacs.devel Subject: Re: keybinding to duplicate the current line. Date: Sun, 17 Jan 2010 07:48:14 -0800 Message-ID: References: <27198868.post@talk.nabble.com> <87k4vgeppx.fsf@mithlond.arda> <7b501d5c1001170718r6b571c36l80d03c59e43af8d1@mail.gmail.com> <7b501d5c1001170731q22ce0e04j93eefa064452a69c@mail.gmail.com> <878wbwu4gt.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00504502eacf27b84b047d5e2ae5 X-Trace: ger.gmane.org 1263743313 8325 80.91.229.12 (17 Jan 2010 15:48:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Jan 2010 15:48:33 +0000 (UTC) Cc: "alin.s" , Teemu Likonen , Emacs-devel@gnu.org, Deniz Dogan To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 17 16:48:25 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NWXMV-00047v-NX for ged-emacs-devel@m.gmane.org; Sun, 17 Jan 2010 16:48:24 +0100 Original-Received: from localhost ([127.0.0.1]:56798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWXMW-0005DK-Dd for ged-emacs-devel@m.gmane.org; Sun, 17 Jan 2010 10:48:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWXMS-0005Ck-Fe for emacs-devel@gnu.org; Sun, 17 Jan 2010 10:48:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWXMO-00058J-16 for Emacs-devel@gnu.org; Sun, 17 Jan 2010 10:48:20 -0500 Original-Received: from [199.232.76.173] (port=36320 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWXMN-00058C-V3 for Emacs-devel@gnu.org; Sun, 17 Jan 2010 10:48:15 -0500 Original-Received: from mail-px0-f192.google.com ([209.85.216.192]:61250) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWXMN-0005ey-Cy for Emacs-devel@gnu.org; Sun, 17 Jan 2010 10:48:15 -0500 Original-Received: by pxi30 with SMTP id 30so1469161pxi.14 for ; Sun, 17 Jan 2010 07:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=kvm+W/MbPdkgqC/QYDFJyYV3H5zhIWk2eyFGl+ZT11o=; b=T6/gLIehtzwMQX2mJ6uQI9cwlZF3PdDgVYH+1ofMI5y5uDnfnPPGjnj2Enc6DhOUOp 3T8KvynkF+7HGJdjUfXlR/3JtglVQC4gXyKkyeAj/u6/EMj3shSwfLAwo0Fg9C9KPT5p DWWkX4p5WJiUKKFnsXdNBhhnbHPcT5knzQKX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Yl8NAXP/gwRsAWnBbOVDfvHNBXFHpHxIvgS1illei9fJ5+1obVQjOvUjHI01XnSx7m mVmsh1O8Uqt9DDGHMS1S7N8/RyaIEBn+fEuaSBzDhJecpYAHb4nNr8plqc1AO+OBwrar 5kuUjc5quPi1OmaeHYBcA1GUjNXgh99ABsSm8= Original-Received: by 10.114.21.13 with SMTP id 13mr3389549wau.225.1263743294486; Sun, 17 Jan 2010 07:48:14 -0800 (PST) In-Reply-To: <878wbwu4gt.fsf@stupidchicken.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120160 Archived-At: --00504502eacf27b84b047d5e2ae5 Content-Type: text/plain; charset=ISO-8859-1 I just took a look inside lisp/ dir. modula2.el overrides C-c 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 bindings). There are more than a few non-standard elisp packages (@ELL or emacs-wiki) that are not aware of the C-c 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 wrote: > Deniz Dogan writes: > > > 2010/1/17 Ken Hori : > >> > >> 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 ". Note that > > by 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 , it is a > bug, so please report it. > --00504502eacf27b84b047d5e2ae5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I just took a look inside lisp/ dir.

modula2.el overrides C-c <l= etter> 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-wi= ki) that
are not aware of the C-c <letter> convention, I'm sur= e.
I guess I'll stick with not using C-c prefix for now.


On Sun, Jan 17, 2010 at 7:38 AM, Chong Yidon= g <cyd@stupid= chicken.com> wrote:
Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:

> 2010/1/17 Ken Hori <fplemma@gm= ail.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&= gt;". Note that
> by <letter> I mean e.g. "C-c i", "C-c a", et= c., not "C-c C-i" or "C-c
> C-a".

Indeed. =A0If you find any major mode that binds C-c <letter= >, it is a
bug, so please report it.

--00504502eacf27b84b047d5e2ae5--