🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99388

parse-sexp-ignore-comments

#99388
From: Jamie Zawinski
Date: Tue, 18 Sep 1990 23:55
16 lines
921 bytes
parse-sexp-ignore-comments doesn't work especially well in lisp mode;
consider:

(defun test ()
  ;; (foo foo foo)
  (bar))

Set parse-sexp-ignore-comments to t, put the cursor at the beginning of the
defun line, and type M-C-F - so far so good.  Now type M-C-B - you fly off
into hyperspace.  Here's another odd one:

(defun test ()
  ;; (;
  (bar))

That last semicolon matters.
Technical Details
Message-ID: <JWZ.90Sep18165529@kolyma.lucid.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!neon!lucid.com!jwz

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,b802d88ce2e9bfe6,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-09-18 16:55:29 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!neon!lucid.com!jwz
From: jwz@lucid.com (Jamie Zawinski)
Newsgroups: gnu.emacs.bug
Subject: parse-sexp-ignore-comments
Message-ID: <JWZ.90Sep18165529@kolyma.lucid.com>
Date: 18 Sep 90 23:55:29 GMT
Sender: jwz@lucid.com
Organization: Lucid, Inc., Menlo Park, CA
Lines: 16
Posted: Wed Sep 19 00:55:29 1990