🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87752

auto-fill in lisp strings messed up by semicolon

#87752
From: boris
Date: Mon, 29 Aug 1994 20:05
23 lines
1400 bytes
In GNU Emacs 19.25.94.2 (sparc-sun-sunos4shr, X toolkit) of Mon Aug 22 1994 on moose.cs.rochester.edu

Apparently calculate-lisp-indent thinks that ; starts a comment even if
you are inside a string constant.  Test case:

emacs -q
M-x auto-fill-mode
Type into *scratch* buffer:

(defun foo ()
  "This is only a test documentation string; were it a real documentation string it would be more useful...

Auto-fill turns this into: 

(defun foo ()
  "This is only a test documentation string; were it a real documentation
					   ; string it would be more useful...

To my mind, this makes auto-fill-mode more frustrating than it is worth in
lisp-mode.

Bng
Technical Details
Message-ID: <199408292003.QAA16918@cheetah.cs.rochester.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!cs.rochester.edu!boris

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,5c3c82b32fa690a9,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-29 13:16:13 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!cs.rochester.edu!boris
From: boris@cs.rochester.edu
Newsgroups: gnu.emacs.bug
Subject: auto-fill in lisp strings messed up by semicolon
Date: 29 Aug 1994 16:05:39 -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: <199408292003.QAA16918@cheetah.cs.rochester.edu>