emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#9991: closed (Incorrect return value from forward-


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#9991: closed (Incorrect return value from forward-line)
Date: Tue, 08 Nov 2011 18:48:01 +0000

Your message dated Tue, 08 Nov 2011 21:31:33 +0100
with message-id <address@hidden>
and subject line Re: bug#9991: Incorrect return value from forward-line
has caused the debbugs.gnu.org bug report #9991,
regarding Incorrect return value from forward-line
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
9991: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9991
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Incorrect return value from forward-line Date: Tue, 08 Nov 2011 11:15:31 +0100 User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 The number of lines left to move which is returned by forward-line considers the last line as processed if it is not empty. For example, (forward-line 1) evaluates to 0 if point is on the last line but strictly before the end of the buffer.

Tiphaine Turpin



--- End Message ---
--- Begin Message --- Subject: Re: bug#9991: Incorrect return value from forward-line Date: Tue, 08 Nov 2011 21:31:33 +0100 User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110427 Lightning/1.0b3pre Thunderbird/3.1.9
Le 08/11/2011 19:24, Glenn Morris a écrit :
>
> I think you are describing the documented behaviour?
>
> C-h f forward-line
>
>    With positive N, a non-empty line at the end counts as one line
>    successfully moved (for the return value).
>
> (ISTR thinking it odd myself.)
That's true, I just discovered the sentence, so either I read the
specification too quickly or the other system on which I was working
today has an older version of Emacs without this precision.

Thanks for your help and sorry about the noise...

Tiphaine



--- End Message ---

reply via email to

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