GNU bug report logs - #9224
Scrolling bugs and word wrapping

Previous Next

Package: emacs;

Reported by: Antoine Levitt <antoine.levitt <at> gmail.com>

Date: Tue, 2 Aug 2011 18:03:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9224 in the body.
You can then email your comments to 9224 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9224; Package emacs. (Tue, 02 Aug 2011 18:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antoine Levitt <antoine.levitt <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 02 Aug 2011 18:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antoine Levitt <antoine.levitt <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Scrolling bugs and word wrapping
Date: Tue, 02 Aug 2011 20:01:33 +0200
Hi,

(setq-default word-wrap t)
C-x C-f scrolling-fail.el
position point on "b"
C-p, watch point going to beginning of line instead of previous line

This started quite recently, and fails even with (setq
bidi-display-reordering nil)





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9224; Package emacs. (Tue, 02 Aug 2011 18:11:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antoine Levitt <antoine.levitt <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9224: Scrolling bugs and word wrapping
Date: Tue, 02 Aug 2011 20:05:50 +0200
[Message part 1 (text/plain, inline)]
02/08/11 20:01, Antoine Levitt
> Hi,
>
> (setq-default word-wrap t)
> C-x C-f scrolling-fail.el
> position point on "b"
> C-p, watch point going to beginning of line instead of previous line
>
> This started quite recently, and fails even with (setq
> bidi-display-reordering nil)

Once more, with feeling:
[scrolling_fail.el (application/emacs-lisp, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9224; Package emacs. (Tue, 02 Aug 2011 19:08:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Antoine Levitt <antoine.levitt <at> gmail.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9224: Scrolling bugs and word wrapping
Date: Tue, 02 Aug 2011 22:05:14 +0300
> From: Antoine Levitt <antoine.levitt <at> gmail.com>
> Date: Tue, 02 Aug 2011 20:01:33 +0200
> 
> (setq-default word-wrap t)
> C-x C-f scrolling-fail.el
> position point on "b"
> C-p, watch point going to beginning of line instead of previous line
> 
> This started quite recently, and fails even with (setq
> bidi-display-reordering nil)

Could you please bisect to find the offending commit?  It's probably
my fault, even though it fails without bidi.

TIA




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9224; Package emacs. (Tue, 02 Aug 2011 20:36:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antoine Levitt <antoine.levitt <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9224: Scrolling bugs and word wrapping
Date: Tue, 02 Aug 2011 22:34:31 +0200
02/08/11 21:05, Eli Zaretskii
>> From: Antoine Levitt <antoine.levitt <at> gmail.com>
>> Date: Tue, 02 Aug 2011 20:01:33 +0200
>> 
>> (setq-default word-wrap t)
>> C-x C-f scrolling-fail.el
>> position point on "b"
>> C-p, watch point going to beginning of line instead of previous line
>> 
>> This started quite recently, and fails even with (setq
>> bidi-display-reordering nil)
>
> Could you please bisect to find the offending commit?  It's probably
> my fault, even though it fails without bidi.
>
> TIA

Turns out I'm a moron. It only fails with bidi on. That's my fault for
using setq and not setq-default.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9224; Package emacs. (Fri, 05 Aug 2011 14:07:02 GMT) Full text and rfc822 format available.

Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antoine Levitt <antoine.levitt <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9224: Scrolling bugs and word wrapping
Date: Fri, 05 Aug 2011 16:05:45 +0200
02/08/11 22:34, Antoine Levitt
> 02/08/11 21:05, Eli Zaretskii
>>> From: Antoine Levitt <antoine.levitt <at> gmail.com>
>>> Date: Tue, 02 Aug 2011 20:01:33 +0200
>>> 
>>> (setq-default word-wrap t)
>>> C-x C-f scrolling-fail.el
>>> position point on "b"
>>> C-p, watch point going to beginning of line instead of previous line
>>> 
>>> This started quite recently, and fails even with (setq
>>> bidi-display-reordering nil)
>>
>> Could you please bisect to find the offending commit?  It's probably
>> my fault, even though it fails without bidi.
>>
>> TIA
>
> Turns out I'm a moron. It only fails with bidi on. That's my fault for
> using setq and not setq-default.

Fixed now, thanks!

The memory bug also seems fixed, I'll report back if I see any increase.





Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 05 Aug 2011 14:34:01 GMT) Full text and rfc822 format available.

Notification sent to Antoine Levitt <antoine.levitt <at> gmail.com>:
bug acknowledged by developer. (Fri, 05 Aug 2011 14:34:01 GMT) Full text and rfc822 format available.

Message #22 received at 9224-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Antoine Levitt <antoine.levitt <at> gmail.com>
Cc: 9224-done <at> debbugs.gnu.org
Subject: Re: bug#9224: Scrolling bugs and word wrapping
Date: Fri, 05 Aug 2011 17:30:13 +0300
> From: Antoine Levitt <antoine.levitt <at> gmail.com>
> Date: Fri, 05 Aug 2011 16:05:45 +0200
> 
> Fixed now, thanks!

It must have been fixed indirectly, because I didn't know I fixed this
bug as well.  But I confirm it now works correctly.  Oh, well, need a
bit of luck sometimes.

I'm closing this bug, then.

> The memory bug also seems fixed, I'll report back if I see any increase.

Yes, please do.  And thanks for all your help.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9224; Package emacs. (Sat, 06 Aug 2011 00:27:01 GMT) Full text and rfc822 format available.

Message #25 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antoine Levitt <antoine.levitt <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9224: Scrolling bugs and word wrapping
Date: Sat, 06 Aug 2011 02:24:18 +0200
05/08/11 16:30, Eli Zaretskii
>> From: Antoine Levitt <antoine.levitt <at> gmail.com>
>> Date: Fri, 05 Aug 2011 16:05:45 +0200
>> 
>> Fixed now, thanks!
>
> It must have been fixed indirectly, because I didn't know I fixed this
> bug as well.  But I confirm it now works correctly.  Oh, well, need a
> bit of luck sometimes.
>
> I'm closing this bug, then.

Er, may have declared victory too soon on this one. Just had the exact
same thing happen to me with latest rev. At the end of
erc-scroll-to-bottom from trunk, put point like this:

                (sit-for 0)))))))X)

and C-p. It's not specific to this code either, pretty much any code
with nontrivial indentation and parentheses will do. It actually also
happens on this very message, with point on the X.

Sorry ;-)





Message #26 received at 9224-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Antoine Levitt <antoine.levitt <at> gmail.com>
Cc: 9224-done <at> debbugs.gnu.org
Subject: Re: bug#9224: Scrolling bugs and word wrapping
Date: Sat, 06 Aug 2011 14:51:51 +0300
> From: Antoine Levitt <antoine.levitt <at> gmail.com>
> Date: Sat, 06 Aug 2011 02:24:18 +0200
> 
> 05/08/11 16:30, Eli Zaretskii
> >> From: Antoine Levitt <antoine.levitt <at> gmail.com>
> >> Date: Fri, 05 Aug 2011 16:05:45 +0200
> >> 
> >> Fixed now, thanks!
> >
> > It must have been fixed indirectly, because I didn't know I fixed this
> > bug as well.  But I confirm it now works correctly.  Oh, well, need a
> > bit of luck sometimes.
> >
> > I'm closing this bug, then.
> 
> Er, may have declared victory too soon on this one. Just had the exact
> same thing happen to me with latest rev. At the end of
> erc-scroll-to-bottom from trunk, put point like this:
> 
>                 (sit-for 0)))))))X)
> 
> and C-p. It's not specific to this code either, pretty much any code
> with nontrivial indentation and parentheses will do. It actually also
> happens on this very message, with point on the X.
> 
> Sorry ;-)

Now _really_ fixed in trunk revision 105414.

I knew I shouldn't rely on luck in this job...




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 04 Sep 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.