emacs-devel
[Top][All Lists]
Advanced

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

Re: Permission requested to merge branch comment-cache into master.


From: Alan Mackenzie
Subject: Re: Permission requested to merge branch comment-cache into master.
Date: Mon, 14 Mar 2016 11:27:53 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello, Andreas.

On Mon, Mar 14, 2016 at 07:32:39AM +0100, Andreas Röhler wrote:


> On 13.03.2016 23:52, Alan Mackenzie wrote:

> Hi Alan,

> Ironically, having another look at during these recent discussions,
> the interest is back. What about using the difference, taking profit
> of two different states in narrowed vs. widened buffer?

There is no way to "subtract" two parse-partial-sexp states, except,
possibly, in special circumstances.  Consider, these two states may both
be inside a comment or string, in which case parse-partial-sexp won't
record any additional info inside of that string.  But if you started at
pos-1 (inside the string) and parsed forward to pos-2 (still inside the
string) you might well record parentheses, and so on.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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