all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 29263@debbugs.gnu.org
Subject: bug#29263: 26.0.90; Regression in doc-string highlighting
Date: Sun, 12 Nov 2017 07:20:00 +0200	[thread overview]
Message-ID: <83y3ncm5tr.fsf@gnu.org> (raw)
In-Reply-To: <1c1ef01a-2739-4f8a-b3c1-103ca80902fa@default> (message from Drew Adams on Sat, 11 Nov 2017 13:57:33 -0800 (PST))

> Date: Sat, 11 Nov 2017 13:57:33 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> 
> Starting with Emacs 26 this highlights the backslashes differently from
> the rest of the doc string (using face `font-lock-warning-face').
> 
> This is totally inappropriate.  Emacs is trying to be too clever here.
> A backslash before `*' or a paren can mean any number of different
> things in a doc string.
> 
> Consider this bit of a doc string, for instance:
> 
>  When both optional args are non-nil, the `find' command run is this:
> 
>    find . -mindepth MIN-DEPTH -maxdepth MAX-DEPTH
>           \\( -path \*edir1\* -o -path \*edir2\* ... \\)
>           -prune -o \\( ARGS \\) LS-SWITCHES"
> 
> It makes zero sense for `\*' here to have its backslash highlighted.

The reason will show itself if you move the mouse pointer on those
backslashes.





  reply	other threads:[~2017-11-12  5:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-11 21:57 bug#29263: 26.0.90; Regression in doc-string highlighting Drew Adams
2017-11-12  5:20 ` Eli Zaretskii [this message]
     [not found] <<1c1ef01a-2739-4f8a-b3c1-103ca80902fa@default>
     [not found] ` <<83y3ncm5tr.fsf@gnu.org>
2017-11-12  5:31   ` Drew Adams
2017-11-12  6:08     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y3ncm5tr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=29263@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.