From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Small improvements to ruby-mode Date: Thu, 08 Aug 2013 18:47:27 -0400 Message-ID: References: <2A6700DEDCA640EF92B326002717596D@gmail.com> <51DB6516.1090708@yandex.ru> <51DC43CE.3090206@yandex.ru> <51DDA366.9020700@yandex.ru> <51E06787.8020401@yandex.ru> <51E1A62A.1030204@yandex.ru> <51E55CFB.7060303@yandex.ru> <52040BD8.20902@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376002067 807 80.91.229.3 (8 Aug 2013 22:47:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2013 22:47:47 +0000 (UTC) Cc: Bozhidar Batsov , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 09 00:47:49 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V7Yzk-0000DO-RM for ged-emacs-devel@m.gmane.org; Fri, 09 Aug 2013 00:47:48 +0200 Original-Received: from localhost ([::1]:53372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7Yzk-0003Je-FP for ged-emacs-devel@m.gmane.org; Thu, 08 Aug 2013 18:47:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7Yza-00039t-GQ for emacs-devel@gnu.org; Thu, 08 Aug 2013 18:47:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7YzT-0007O8-86 for emacs-devel@gnu.org; Thu, 08 Aug 2013 18:47:38 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:50313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7YzT-0007O2-4R for emacs-devel@gnu.org; Thu, 08 Aug 2013 18:47:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAFABK/CFFLd/Nq/2dsb2JhbABEhke4Rxdzgh4BAQQBIzMjBQsJAg4MAhgOAgIUGA0kiB4Gk2Caf5JOgSOOVIETA6R6gV6DEw X-IPAS-Result: AgAFABK/CFFLd/Nq/2dsb2JhbABEhke4Rxdzgh4BAQQBIzMjBQsJAg4MAhgOAgIUGA0kiB4Gk2Caf5JOgSOOVIETA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="21139018" Original-Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Aug 2013 18:47:23 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B344762CCA; Thu, 8 Aug 2013 18:47:27 -0400 (EDT) In-Reply-To: <52040BD8.20902@yandex.ru> (Dmitry Gutov's message of "Fri, 09 Aug 2013 00:21:28 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162536 Archived-At: > How do C-c [':" #] sound to you? The Elisp coding conventions say: =E2=80=A2 Sequences consisting of =E2=80=98C-c=E2=80=99 followed by a co= ntrol character or a digit are reserved for major modes. =E2=80=A2 Sequences consisting of =E2=80=98C-c=E2=80=99 followed by =E2= =80=98{=E2=80=99, =E2=80=98}=E2=80=99, =E2=80=98<=E2=80=99, =E2=80=98>=E2= =80=99, =E2=80=98:=E2=80=99 or =E2=80=98;=E2=80=99 are also reserved for major modes. =E2=80=A2 Sequences consisting of =E2=80=98C-c=E2=80=99 followed by any = other punctuation character are allocated for minor modes. Using them in a major mode is not absolutely prohibited, but if you do that, the major mode binding may be shadowed from time to time by minor modes. -- Stefan