From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.bugs Subject: bug#10097: 24.0.91; Lisp mode should use common-lisp-indent-function by default Date: Mon, 21 Nov 2011 18:10:28 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321897683 21229 80.91.229.12 (21 Nov 2011 17:48:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2011 17:48:03 +0000 (UTC) To: 10097@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 21 18:47:59 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSXyI-0007DO-FE for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2011 18:47:58 +0100 Original-Received: from localhost ([::1]:46306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSXyI-0000TI-2O for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2011 12:47:58 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSXyB-0000Sm-Vq for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 12:47:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSXy7-0004LP-Bv for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 12:47:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSXy7-0004LF-7Q for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 12:47:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RSXzJ-0002Wh-Tu for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 12:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Helmut Eller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Nov 2011 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13218976879647 (code B ref -1); Mon, 21 Nov 2011 17:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Nov 2011 17:48:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSXyN-0002VU-1S for submit@debbugs.gnu.org; Mon, 21 Nov 2011 12:48:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSXyF-0002V1-QN for submit@debbugs.gnu.org; Mon, 21 Nov 2011 12:48:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSXwy-0004DF-Lv for submit@debbugs.gnu.org; Mon, 21 Nov 2011 12:46:40 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:51435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSXwy-0004D6-KL for submit@debbugs.gnu.org; Mon, 21 Nov 2011 12:46:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSXOC-00073z-EZ for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 12:10:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSXO6-0006Ls-Is for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 12:10:40 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:51891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSXO6-0006Lm-7d for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 12:10:34 -0500 Original-Received: by eye4 with SMTP id 4so6376054eye.0 for ; Mon, 21 Nov 2011 09:10:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=tL6CZL5EVR3VPDuUnP+XHjHsvjsGMyfkXOdpx8ILYe8=; b=czJs+mNoJZ2uXagV4DPcAJIyAlDwd5ZcvTuCAzuhVCDdTK8ZObgYN1CLWxSbRtI83E y9JQIP0sFtWRWoTFL1DLPc1F0BnVkHSs3caj/EpKfRycFP2HZibMaip0vTXRQC/OBDas VjTBMzyUE+rExO9lifdL2aUwNZ2SoDMYZb6kw= Original-Received: by 10.213.34.65 with SMTP id k1mr1338284ebd.27.1321895432747; Mon, 21 Nov 2011 09:10:32 -0800 (PST) Original-Received: from ix ([212.46.171.226]) by mx.google.com with ESMTPS id x12sm33142152eef.9.2011.11.21.09.10.30 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Nov 2011 09:10:31 -0800 (PST) Original-Received: from helmut by ix with local (Exim 4.72) (envelope-from ) id 1RSXO0-0001FO-Vk for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 18:10:28 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 21 Nov 2011 12:49:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54128 Archived-At: Lisp mode is supposedly a "Major mode for editing Lisp code for Lisps other than GNU Emacs Lisp". Yet the variable lisp-indent-function remains set to the rather Elisp oriented #'lisp-indent-function. As Common Lisp is the most important non-Elisp Lisp #'common-lisp-indent-function would be a friendlier default as it gets at least if/flet/labels right more often: === modified file 'lisp/emacs-lisp/lisp-mode.el' --- lisp/emacs-lisp/lisp-mode.el 2011-09-18 20:43:20 +0000 +++ lisp/emacs-lisp/lisp-mode.el 2011-11-21 17:06:50 +0000 @@ -474,6 +474,8 @@ Entry to this mode calls the value of `lisp-mode-hook' if that value is non-nil." (lisp-mode-variables nil t) + (make-local-variable 'lisp-indent-function) + (setq lisp-indent-function 'common-lisp-indent-function) (set (make-local-variable 'find-tag-default-function) 'lisp-find-tag-default) (make-local-variable 'comment-start-skip) (setq comment-start-skip In GNU Emacs 24.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-11-06 on ix Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--enable-asserts' '--enable-checking' '--with-gif=no' '--with-gnutls=no' 'CFLAGS=-g3 -O0'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: nil