bongo-devel
[Top][All Lists]
Advanced

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

[bongo-devel] Re: [bug #18725] Stray section header after track lines ar


From: Daniel Jensen
Subject: [bongo-devel] Re: [bug #18725] Stray section header after track lines are removed
Date: Fri, 06 Apr 2007 21:23:09 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

Daniel Brockman <address@hidden> writes:

>> -    (let ((inhibit-read-only t))
>> +    (let ((inhibit-read-only t)
>> +          (before-kill (point)))
>
> Why are you saving that position?  Is there a situation in
> which it would not work to just assume that point will be in
> the right place after the killing?

I've been changing stuff in a lot of places at the same time, so this
was probably just a confusion. I must've put it there after an error
from the mark commands.

>> +      (goto-char before-kill)
>> +      (while (progn
>> +               (forward-line -1)
>
> We should use `bongo-previous-object-line' here, so as not
> to assume that nothing will appear between object lines.

Good.





reply via email to

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