emacs-devel
[Top][All Lists]
Advanced

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

Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?


From: Eli Zaretskii
Subject: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?
Date: Sat, 03 Feb 2018 10:33:59 +0200

> From: Noam Postavsky <address@hidden>
> Date: Fri, 2 Feb 2018 17:24:43 -0500
> Cc: Drew Adams <address@hidden>
> 
> In Emacs 26 and earlier the following is valid lisp code:
> 
> (setq ’bar 42)
> (setq foo ’bar)
> 
> In the current master branch, this will signal (invalid-read-syntax
> "strange quote" "’"). To write the equivalent the ’ must be backslash
> escaped:
> 
> (setq \’bar 42)
> (setq foo \’bar)
> 
> (the backslash escaping also works in earlier Emacs versions).
> 
> The point of this change is to give a more straightforward error in
> cases where a plain straight quote is accidentally written instead of
> a curved one.

The bug reports which triggered the above changes are bug#2967 and
bug#23425.  So any proposal to remove those changes should also
suggest an alternative for handling those bug reports.



reply via email to

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