[Top][All Lists]
[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
- Re: simple useful functions, (continued)
- Re: simple useful functions, Tak Ota, 2010/11/03
- Re: simple useful functions, Tak Ota, 2010/11/03
- Re: simple useful functions, Stephen J. Turnbull, 2010/11/03
- Re: simple useful functions, Tak Ota, 2010/11/03
- collect-string (was: simple useful functions), Stefan Monnier, 2010/11/04
- Re: collect-string (was: simple useful functions), Tak Ota, 2010/11/04
- Re: collect-string (was: simple useful functions), Tak Ota, 2010/11/04
- Re: collect-string (was: simple useful functions), Tak Ota, 2010/11/04
- Re: collect-string (was: simple useful functions), Andreas Röhler, 2010/11/05
- Re: collect-string, Stefan Monnier, 2010/11/08
- Re: collect-string,
Tak Ota <=
- Re: collect-string, Stephen J. Turnbull, 2010/11/09
- Re: collect-string, Tak Ota, 2010/11/09
Re: simple useful functions, Andreas Röhler, 2010/11/02