From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: cl-functions do not honor common-lisp-indent-function Date: Wed, 26 Dec 2012 18:10:28 +0900 Message-ID: <87han9tbzv.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87623rmtyy.fsf@gmail.com> <87a9t14551.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1356515214 1584 80.91.229.3 (26 Dec 2012 09:46:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Dec 2012 09:46:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 26 10:47:10 2012 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 1TnnZr-0003EN-K6 for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2012 10:47:07 +0100 Original-Received: from localhost ([::1]:57226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnnZd-0006cA-7I for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2012 04:46:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnnZa-00062Y-N2 for emacs-devel@gnu.org; Wed, 26 Dec 2012 04:46:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tnn9D-0008Om-As for emacs-devel@gnu.org; Wed, 26 Dec 2012 04:19:39 -0500 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:48493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tnn0Q-0006O4-Hx for emacs-devel@gnu.org; Wed, 26 Dec 2012 04:10:30 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 659B5970906; Wed, 26 Dec 2012 18:10:28 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 2980811F810; Wed, 26 Dec 2012 18:10:28 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta32) "habanero" b0d40183ac79 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.224 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:155892 Archived-At: Helmut Eller writes: > Those cl-* symbols have no (predefined) meaning for Common Lisp so > shouldn't be in cl-indent.el; for the same reason there shouldn't be > rules for save-excursion or condition-case. That is irrelevant. If the user thinks of these symbols as equivalent to "real" Common Lisp standard symbols, then the user has every right to ask Emacs to treat them as Common Lisp symbols. That user should not need to know precisely how that is done, or implement it herself. In fact, I would argue that the implementer of the "cl-foo is just like Common Lisp foo" feature probably shouldn't need to know, either. Instead these should be a minor mode which, when enabled, automagically looks up every cl-* symbol without the prefix for the purposes of source code formatting (including syntax highlighting). I have no idea how to implement that, of course. And I do agree that purists shouldn't have to put up with that, so it needs to be modal.