GNU bug report logs - #3020
23.0.92; `previous-line' sometimes fails with overlays

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Thu, 16 Apr 2009 18:40:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Markus Triska <markus.triska <at> gmx.at>
Subject: bug#3020 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 23.0.92; `previous-line' sometimes fails with overlays)
Date: Sat, 25 Apr 2009 15:35:04 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#3020: 23.0.92; `previous-line' sometimes fails with overlays

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
3020: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3020
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: 3020-done <at> debbugs.gnu.org,
        Stephen Berman <stephen.berman <at> gmx.net>
Subject: Re: 23.0.92; `previous-line' sometimes fails with overlays
Date: Sat, 25 Apr 2009 11:29:21 -0400
> point unexpectedly fails to move. However, when I then press C-a C-n
> C-p C-p, the second C-p works as expected.

I've checked in a fix.  Thanks for noticing the problem.

[Message part 3 (message/rfc822, inline)]
From: Markus Triska <markus.triska <at> gmx.at>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.92; `previous-line' sometimes fails with overlays
Date: Thu, 16 Apr 2009 20:34:23 +0200
When I evaluate the following form in "emacs -Q":

   (progn
     (switch-to-buffer (get-buffer-create "test"))
     (insert "the first line\na ")
     (let ((o (make-overlay (point) (point))))
       (overlay-put
        o 'after-string
        (propertize (concat "very very very very very very very very "
                            "very very very very very very very very "
                            "long line") 'face '(:background "cyan"))))
     (insert "\nand the last line")
     (previous-line))

and then press C-p, point unexpectedly fails to move. However, when I
then press C-a C-n C-p C-p, the second C-p works as expected.


In GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.1, GTK+ Version 2.14.7)
 of 2009-04-16 on mt-imac.local
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t




This bug report was last modified 16 years and 112 days ago.

Previous Next


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