[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23079: 25.0.92; Movement commands leave cursor in invisible line
From: |
Eli Zaretskii |
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@iro.umontreal.ca>
> Date: Tue, 22 Mar 2016 21:59:38 -0400
> Cc: 23079@debbugs.gnu.org, jonas@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.
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/21
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/21
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Stefan Monnier, 2016/03/21
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/21
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Stefan Monnier, 2016/03/21
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/22
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Stefan Monnier, 2016/03/22
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/22
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Stefan Monnier, 2016/03/22
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line,
Eli Zaretskii <=
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Stefan Monnier, 2016/03/23
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/23
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/23
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/24
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Stefan Monnier, 2016/03/24
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Jonas Bernoulli, 2016/03/25
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Eli Zaretskii, 2016/03/25
- bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Jonas Bernoulli, 2016/03/26
bug#23079: 25.0.92; Movement commands leave cursor in invisible line, Michael Heerdegen, 2016/03/21