emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master ff4de1b: Fix quoting style in Lisp comments


From: Richard Stallman
Subject: Re: master ff4de1b: Fix quoting style in Lisp comments
Date: Thu, 16 Sep 2021 20:16:53 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > - We declare `...' as the official style.  This matches the historical
  >   use, so it requires no changes, AFAIK (other than reverting Eli's
  >   commit, obviously).

That IS the official style, in Emacs Lisp files, and we should not
change that.  We should use `...' in comments.

If the change make Font-Lock mode highlight '...' like `...' in Emacs
Lisp mode, that isn't necessarily a bad change.  It would highlight in
a useful way some code that doesn't follow our official style.  That
in itself is an improvement, all else being equal.

Would the change give wrong results in some cases?  Maybe.  I think
that depends on the details of in which cases it recognizes '...'.
If the cases are narrowly limited, maybe it won't give wrong results
very much.

Text files (whether Text mode or some other mode) are a different
issue.  Maybe it is ok to change to quote symbols in them with '..'.
I won't argue against that.

Still, I think we should make highlighting give correct results for
files that use `...' as well as for files that use '...'.  That should
be possible if the ... stands for a limited set of possible contents.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]