From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: Adding a keybinding for a major mode Date: Thu, 16 Oct 2008 14:27:06 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9927493c-c6ba-4298-8a31-fc2b11d8cc59@q26g2000prq.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224193297 30103 80.91.229.12 (16 Oct 2008 21:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2008 21:41:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 16 23:42:35 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kqaby-0001tr-Fc for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2008 23:42:26 +0200 Original-Received: from localhost ([127.0.0.1]:43520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kqaat-0000TC-Mn for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2008 17:41:19 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-out.readnews.com!transit3.readnews.com!postnews.google.com!q26g2000prq.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1224192427 28631 127.0.0.1 (16 Oct 2008 21:27:07 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 16 Oct 2008 21:27:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q26g2000prq.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163512 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58854 Archived-At: On Oct 13, 6:40 am, Corey Foote wrote: > How come the short cuts for M-x comment region (C-c C-c) and M-x (C-u C-c= C-c) uncomment-region only work in some major modes an not others (for exa= mple emacs-lisp mode)? And how would I enable them for certain modes? maybe because comment-region and uncomment-region are probably replaced by comment-dwim (Ctrl+;). Lennart Borgman wrote: =C2=ABMaybe because they break the conventions? (info "(elisp) Key Binding Conventions") =C2=BB emacs lisp mode is a old, basic mode... i doubt it breaks emacs keybinding conventions. Xah =E2=88=91 http://xahlee.org/ =E2=98=84