From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: cl-functions do not honor common-lisp-indent-function Date: Wed, 26 Dec 2012 17:24:29 +0100 Message-ID: References: <87623rmtyy.fsf@gmail.com> <87a9t14551.fsf@gmail.com> <87han9tbzv.fsf@uwakimon.sk.tsukuba.ac.jp> <87fw2tt0rv.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356539099 24370 80.91.229.3 (26 Dec 2012 16:24:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Dec 2012 16:24:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 26 17:25:15 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 1Tntn5-0001xv-DR for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2012 17:25:11 +0100 Original-Received: from localhost ([::1]:35520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tntmr-0000mc-1R for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2012 11:24:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tntmo-0000mI-Ig for emacs-devel@gnu.org; Wed, 26 Dec 2012 11:24:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tntmn-0000t0-F5 for emacs-devel@gnu.org; Wed, 26 Dec 2012 11:24:54 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tntmn-0000sl-8q for emacs-devel@gnu.org; Wed, 26 Dec 2012 11:24:53 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tntmw-0001nz-PK for emacs-devel@gnu.org; Wed, 26 Dec 2012 17:25:02 +0100 Original-Received: from dial-189074.pool.broadband44.net ([212.46.189.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Dec 2012 17:25:02 +0100 Original-Received: from eller.helmut by dial-189074.pool.broadband44.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Dec 2012 17:25:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dial-189074.pool.broadband44.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Nq5sG2R8G3rHTy8LOB77bq4aq94= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:155905 Archived-At: On Wed, Dec 26 2012, Stephen J. Turnbull wrote: > Why should anything other than `common-lisp-indent-function' > implement the Common Lisp conventions? E.g. to avoid conflicts: some other language might have similar but not quite the same conventions and to avoid the risk of conflicts you re-implement some of the conventions. > > > 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. > > > > An Emacs Lisp user or for that matter a Scheme user has not "every > > right" to dictate the indentation rules for Common Lisp users. > > Of course users of other Lisp dialects should not dictate to Common > Lisp users. But I was talking about *Emacs* users. I don't have any > trouble imagining that some Emacs users who program in both Common > Lisp and cl.el would like to see cl-* expressions follow the > corresponding Common Lisp conventions. After all, the OP is evidently > an example. When I'm programming Emacs Lisp I use emacs-lisp-mode and I assume that the default indentation function, i.e. lisp-indentation-function, will handle all relevant macros. I fail to see why using common-lisp-indent-function in emacs-lisp-mode is such a bright idea. Helmut