🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87802

Re: [19.25] syntax class of '?' is wrong in emacs-lisp-mode

#87802
From: Simon Marshall
Date: Thu, 25 Aug 1994 09:43
17 lines
1413 bytes
Mike> paren.el gives scan-sexps a workout.  I just noticed that it misses
Mike> the close-parens at the end of the line below, in emacs-lisp-mode:

Mike> (insert "END LOOP" (if named (concat " " name ";") ?;))

Mike> I think the reason is the quoted semicolon.  The syntax class of ?
Mike> in emacs-lisp mode is "_ "; it should be "\ ".  I have altered my
Mike> lisp-mode.el accordingly, and scan-sexps is now able to find the
Mike> correct close-parens in the sexp above.  Here's the patch:

Note that you haven't quoted the semicolon.  You mean:

    (insert "END LOOP" (if named (concat " " name ";") ?\;))

(If you used Font Lock mode, you would have noticed:-)

Simon.
Technical Details
Message-ID: <9408250943.AA27733@plod.esrin.esa.it>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!mail.ESrin.ESa.IT!Simon.Marshall

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,c0ec90152d5007a,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-25 05:14:21 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!mail.ESrin.ESa.IT!Simon.Marshall
From: Simon.Marshall@mail.ESrin.ESa.IT (Simon Marshall)
Newsgroups: gnu.emacs.bug
Subject: Re: [19.25] syntax class of '?' is wrong in emacs-lisp-mode
Date: 25 Aug 1994 05:43:12 -0400
Organization: GNUs Not Usenet
Lines: 17
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9408250943.AA27733@plod.esrin.esa.it>