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:54:22 +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> <87ip7o3grg.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356540885 6198 80.91.229.3 (26 Dec 2012 16:54:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Dec 2012 16:54:45 +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:55:01 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 1TnuFu-0000KZ-Lp for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2012 17:54:58 +0100 Original-Received: from localhost ([::1]:38565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnuFg-0004SW-Dl for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2012 11:54:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnuFd-0004SQ-88 for emacs-devel@gnu.org; Wed, 26 Dec 2012 11:54:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnuFc-0008GO-Aa for emacs-devel@gnu.org; Wed, 26 Dec 2012 11:54:41 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnuFc-0008GK-3u for emacs-devel@gnu.org; Wed, 26 Dec 2012 11:54:40 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TnuFm-0000At-NE for emacs-devel@gnu.org; Wed, 26 Dec 2012 17:54:50 +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:54:50 +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:54:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 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:OWBik2dg1zT/3SgNCqwuyNv+36U= 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:155908 Archived-At: On Wed, Dec 26 2012, Thierry Volpiatto wrote: >> 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. > It is not handling all these macros/functions, so what do we do ? Improve lisp-indentation-function. >> I fail to see why using common-lisp-indent-function in emacs-lisp-mode >> is such a bright idea. > > Because emacs-lisp-mode we may use common-lisp style functions (flet, > labels etc...). > So when you indent e.g a flet clause with emacs-lisp style it is indented > badly. But common-lisp-indent-function will indent "if" like: (if x a b) while the Emacs Lisp convention is: (if x a b) Helmut