🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87222

lisp-indent-function/hook

#87222
From: Per Starback
Date: Tue, 04 Oct 1994 16:08
24 lines
1766 bytes
Emacs version: 19.27.1 (mips-dec-ultrix4.3, X toolkit)

There is some confusion as to whether lisp indentation properties
should be put on `lisp-indent-function' or `lisp-indent-hook'.
(At least I am confused. :-)

There is a ChangeLog entry from June 11 saying

>	* lisp-mode.el (lisp-indent-function): Look for either
>	lisp-indent-hook or lisp-indent-function property.

but neither here or in that code is it explicitly said if one of these
is the "proper" symbol to use, and the other only there because of
compatibility with packages that don't conform.  (The code gives
priority to `lisp-indent-function' by checking that first, though.)
To avoid prolonged non-conformity, I think this ought to be addressed
somewhere somehow.  `lisp-indent-function' seems to be the newer
version, and the corresponding *variable* `lisp-indent-hook' has been
renamed to 'lisp-indent-function' a long time ago, but still in
"(emacs)Lisp Indent" only the `lisp-indent-hook' property is
mentioned.
--       "
Per Starback, Uppsala, Sweden.  email: Per.Starback@ling.uu.se
 "Life is but a gamble!  Let flipism chart your ramble!"
Technical Details
Message-ID: <9410041808.AA07529@bellman.ling.uu.se>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!bellman.ling.uu.se!per

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,2ae6a3e93a24cbe2,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-04 09:27:05 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!bellman.ling.uu.se!per
From: per@bellman.ling.uu.se (Per Starback)
Newsgroups: gnu.emacs.bug
Subject: lisp-indent-function/hook
Date: 4 Oct 1994 12:08:27 -0400
Organization: GNUs Not Usenet
Lines: 24
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9410041808.AA07529@bellman.ling.uu.se>