emacs-devel
[Top][All Lists]
Advanced

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

Re: collect-string


From: Tak Ota
Subject: Re: collect-string
Date: Mon, 8 Nov 2010 16:18:15 -0800

Mon, 8 Nov 2010 10:36:08 -0800: Stefan Monnier <address@hidden> wrote:

> > Now I am convinced.  How about the change below?
> 
> Could you send it as a context patch?

I will once we figure out the right way.

> > In conventional occur zero or negative value for nlines is meaningless
> > correct?
> 
> Hmmm....no, C-h f occur RET says:
> 
>    Each line is displayed with NLINES lines before and after, or -NLINES
>    before if NLINES is negative.
> 
> So negative values are not meaningless and neither is zero.  Zero is
> unnecessary in the default config, but if the user has set
> list-matching-lines-default-context-lines to a non-zero value, then even
> zero is useful (I'd even say, it's *very* useful in that case).

You are right.  I don't know how missed that.

> Which is why I suggested to use a non-numeric value (just a C-u) to
> trigger the "collect-string" behavior.

But isn't C-u equivalent to numeric value 4?

-Tak




reply via email to

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