[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: point-min and 1
From: |
Stefan Monnier |
Subject: |
Re: point-min and 1 |
Date: |
Thu, 13 Aug 2009 12:48:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>> As a general rule, using 1 rather than (point-min) tends to also
>> introduce bugs where code only works when the buffer is widened,
> What sort of bugs?
All kinds, really. Note that I'm talking about the use of 1 i.s.o
point-min in general, not specifically in calls to goto-char. For many
other functions (e.g. put-text-property), using 1 rather than
(point-min) can result in signalling an error when the buffer
is narrowed.
Stefan
- Re: point-min and 1, (continued)
Re: point-min and 1, Stefan Monnier, 2009/08/11
- Re: point-min and 1, Eli Zaretskii, 2009/08/11
- Re: point-min and 1, Stefan Monnier, 2009/08/12
- Re: point-min and 1, Eli Zaretskii, 2009/08/13
- Re: point-min and 1, martin rudalics, 2009/08/13
- Re: point-min and 1, David Kastrup, 2009/08/13
- Re: point-min and 1, martin rudalics, 2009/08/13
- Re: point-min and 1,
Stefan Monnier <=