emacs-devel
[Top][All Lists]
Advanced

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

Re: A simple solution to "Upcoming loss of usability ..."


From: Paul Eggert
Subject: Re: A simple solution to "Upcoming loss of usability ..."
Date: Thu, 25 Jun 2015 13:48:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Oleh Krehel wrote:
Paul Eggert<address@hidden>  writes:

>With the current approach, the Emacs sources don't need to be changed
My sole objection was that they were changed. And I thought that was the
whole point of it: that you want the markup to be its own visual
representation.

Yes, I would like the markup to head that way. But the Emacs source docstrings have largely not needed to change, and there's no need to change them right now.

>"Make ‘funcall/apply’ form to map SOURCE-ARGLIST to TARGET-ARGLIST...."
This is already in the Emacs sources, so they were indeed changed.

I gave that example because I knew about it already and had already changed it for other reasons. Most such examples haven't changed recently. Here are some:

\(1) a local variables list or the `-*-' line specifies a major mode, or
If MARK is nil, then the default character `?r' is used.
the working buffer, `*1' the value in the process buffer.
same as in `newsticker--parse-atom-1.0'.
auto-newline minor mode is activated (as evidenced by a `/a' or `/ah'
Call `reftex-citation' with a format selector `?p'.

The current highlighting heuristics work reasonably well with these docstrings, because we want to highlight only quoted symbols, and we don't want to highlight the ‘-*-’ or the ‘?r' or etc. But if we want to use font-lock to alter how quotes are displayed, these heuristics won't work well, as they'll fail to alter many quotes that they should alter.



reply via email to

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