unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55783: Emacs 29.0.50: closing quoting-form "\\=" gets face
@ 2022-06-03 17:02 Andreas Röhler
  2022-06-04 11:44 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Röhler @ 2022-06-03 17:02 UTC (permalink / raw)
  To: 55783

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

When quoting single-quotes in docstring like shown below, the closing 
quote-form "\\=" gets (font-lock-constant-face font-lock-doc-face),  but 
should have no face.

(defvar foo nil
   "\\='a\\='")

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32, 
cairo version 1.16.0) of 2022-05-26

[-- Attachment #2: Type: text/html, Size: 577 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#55783: Emacs 29.0.50: closing quoting-form "\\=" gets face
  2022-06-03 17:02 bug#55783: Emacs 29.0.50: closing quoting-form "\\=" gets face Andreas Röhler
@ 2022-06-04 11:44 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-04 11:44 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 55783

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> When quoting single-quotes in docstring like shown below, the closing quote-form
> "\\=" gets (font-lock-constant-face font-lock-doc-face),  but should have no face.
>
> (defvar foo nil
>   "\\='a\\='")

I think it would make sense to add a special face to \\=, so I've now
done so in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-04 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-03 17:02 bug#55783: Emacs 29.0.50: closing quoting-form "\\=" gets face Andreas Röhler
2022-06-04 11:44 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).