From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Brenner Newsgroups: gmane.emacs.devel Subject: coding guidelines? (was Re: Key bindings proposal) Date: Thu, 29 Jul 2010 19:04:17 -0700 Message-ID: <201007300204.o6U24Htf048494@kzsu.stanford.edu> References: <19534.1494.627000.357123@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1280455469 17657 80.91.229.12 (30 Jul 2010 02:04:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 02:04:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 30 04:04:28 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.69) (envelope-from ) id 1OeexX-00083C-O8 for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 04:04:28 +0200 Original-Received: from localhost ([127.0.0.1]:33261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeexW-0002t4-Gn for ged-emacs-devel@m.gmane.org; Thu, 29 Jul 2010 22:04:26 -0400 Original-Received: from [140.186.70.92] (port=47306 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeexR-0002sp-Vs for emacs-devel@gnu.org; Thu, 29 Jul 2010 22:04:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeexQ-0005uQ-Id for emacs-devel@gnu.org; Thu, 29 Jul 2010 22:04:21 -0400 Original-Received: from smtp2.stanford.edu ([171.67.219.82]:38456 helo=smtp.stanford.edu) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeexQ-0005uJ-Cz for emacs-devel@gnu.org; Thu, 29 Jul 2010 22:04:20 -0400 Original-Received: from smtp.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id CFE68170C35; Thu, 29 Jul 2010 19:04:18 -0700 (PDT) Original-Received: from kzsu.stanford.edu (KZSU.Stanford.EDU [171.66.118.90]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.stanford.edu (Postfix) with ESMTPS id 2E663170C32; Thu, 29 Jul 2010 19:04:18 -0700 (PDT) Original-Received: from kzsu.stanford.edu (localhost.stanford.edu [127.0.0.1]) by kzsu.stanford.edu (8.14.4/8.14.4) with ESMTP id o6U24Htf048494; Thu, 29 Jul 2010 19:04:17 -0700 (PDT) (envelope-from doom@kzsu.stanford.edu) In-reply-to: Comments: In-reply-to Stefan Monnier message dated "Tue, 27 Jul 2010 12:32:57 +0200." X-Mailer: MH-E 8.2; nmh 1.2; GNU Emacs 24.0.50 X-Spam: Probability=8%, Report=' BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_500_599 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0' X-detected-operating-system: by eggs.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:127997 Archived-At: Stefan Monnier wrote: > Using `remap' is one way to express such an intention. > I would welcome patches that try to make intentions more clear > (e.g. eliminate the massive hardcoding of the "C-c" prefix all over the > place) and have myself replaced bindings to TAB and to M-q many times by > settings of indent-line-function and fill-paragraph-functions. Rather than hardcoding "C-c", what are we supposed to do? Are these guidelines documented anywhere? (The elisp manual is full of examples where "C-c" is hardcoded.)