[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: collect-string
From: |
Stefan Monnier |
Subject: |
Re: collect-string |
Date: |
Mon, 08 Nov 2010 13:36:08 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Now I am convinced. How about the change below?
Could you send it as a context patch?
> 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).
Which is why I suggested to use a non-numeric value (just a C-u) to
trigger the "collect-string" behavior.
Stefan
- Re: simple useful functions, (continued)
- 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 <=
- Re: collect-string, Tak Ota, 2010/11/08
- 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