GNU bug report logs - #23079
25.0.92; Movement commands leave cursor in invisible line

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 21 Mar 2016 20:20:01 UTC

Severity: normal

Tags: notabug

Found in version 25.0.92

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: michael_heerdegen <at> web.de, 23079 <at> debbugs.gnu.org, jonas <at> bernoul.li
Subject: bug#23079: 25.0.92; Movement commands leave cursor in invisible line
Date: Wed, 23 Mar 2016 05:41:18 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Date: Tue, 22 Mar 2016 21:59:38 -0400
> Cc: 23079 <at> debbugs.gnu.org, jonas <at> bernoul.li
> 
> >       (let ((inhibit-read-only t)
> >             (deactivate-mark nil)
> >             (selection (magit-region-sections)))
> >         (mapc #'delete-overlay magit-section-highlight-overlays)
> >         (setq magit-section-unhighlight-sections
> >               magit-section-highlighted-sections
> >               magit-section-highlighted-sections nil)
> >         (unless (eq section magit-root-section)
> >           (run-hook-with-args-until-success
> >            'magit-section-highlight-hook section selection))
> >         (--each magit-section-unhighlight-sections
> >           (run-hook-with-args-until-success
> >            'magit-section-unhighlight-hook it selection))
> >         (restore-buffer-modified-p nil)
> 
> Hmm... what kind of buffer modifications might happen in here?

Deletion of overlays, perhaps?  And there are all those hooks which
might not be nil.




This bug report was last modified 4 years and 294 days ago.

Previous Next


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