From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tamas K Papp Newsgroups: gmane.emacs.help Subject: indenting keyword arguments so far Date: 8 Sep 2008 14:25:38 GMT Message-ID: <6ikqv2Fr5mrqU1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1220885277 1408 80.91.229.12 (8 Sep 2008 14:47:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 14:47:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 08 16:48:52 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 1Kci2j-0000Dl-3A for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 16:48:41 +0200 Original-Received: from localhost ([127.0.0.1]:44621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kci1j-0001E3-8K for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 10:47:39 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-X-Trace: individual.net aUFex2gEdSml3ftW2TDN6AO/qDMHMFwC2Mb2pHr9CmhY6vQsD7 Cancel-Lock: sha1:HX+Nqy4ooRea0MQHS1gbebcIthI= User-Agent: Pan/0.132 (Waxed in Black) Original-Xref: news.stanford.edu gnu.emacs.help:161992 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:57335 Archived-At: Hi asked this on c.l.l, but didn't find a solution, so I thought I would ask here. I would like my Common Lisp code to be indented properly. Suppose I type (foo :a a :b b :c c :d :e e :f f :g g) into a Lisp buffer (keyword names are deliberately short, but imagine they would not fit on a line). C-M-q gives (foo :a a :b b :c c :d d :e e :f f :g g) Pressing Tab gives (foo :a a :b b :c c :d d :e e :f f :g g) What I would prefer is something like (foo :a a :b b :c c :d d :e e :f f :g g) Others on c.l.l claim it works properly for them, but not for me. I am using Emacs 23.0.0.1, with the following settings: C-M-q runs the command indent-sexp which is an interactive compiled Lisp function in `lisp-mode.el'. TAB (translated from ) runs the command lisp-indent-line which is an interactive compiled Lisp function in `lisp-mode.el'. lisp-indent-function is a variable defined in `lisp-mode.el'. Its value is common-lisp-indent-function Local in buffer foo.lisp; global value is lisp-indent-function (symbol-plist 'common-lisp-indent-function) gives nil. >From the comments of others, I am under the impression that what I want should work out of the box, but it doesn't. Please help me find out why... Thanks, Tamas