From: Anders Lindgren <andlind@gmail.com>
To: 16426@debbugs.gnu.org
Subject: bug#16426: Acknowledgement (24.3.50; Follow-mode broken when window is selected from another buffer, like compile-goto-error (worked in 24.2, broken in 24.3))
Date: Wed, 15 Jan 2014 22:54:15 +0100 [thread overview]
Message-ID: <CABr8ebZFSonJFy3tL2H5x17B71fHb4oY+pVoF2BVfWEDdiYfmg@mail.gmail.com> (raw)
In-Reply-To: <handler.16426.B.138955963327365.ack@debbugs.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]
Hi,
Below is a patch to correct the problem described in the bug report.
-- Anders
=== modified file 'lisp/follow.el'
--- lisp/follow.el 2014-01-10 09:30:43 +0000
+++ lisp/follow.el 2014-01-15 21:49:56 +0000
@@ -1119,13 +1119,15 @@
"Ensure that the windows in Follow mode are adjacent after each command."
(unless (input-pending-p)
(let ((follow-inside-post-command-hook t)
- (win (selected-window)))
+ (win (selected-window))
+ dest)
;; Work in the selected window, not in the current buffer.
(with-current-buffer (window-buffer win)
+ (setq dest (point))
(unless (and (symbolp this-command)
(get this-command 'follow-mode-use-cache))
(setq follow-windows-start-end-cache nil)))
- (follow-adjust-window win (point)))))
+ (follow-adjust-window win dest))))
On Sun, Jan 12, 2014 at 9:48 PM, GNU bug Tracking System <
help-debbugs@gnu.org> wrote:
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> bug-gnu-emacs@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 16426@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 16426: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16426
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
>
[-- Attachment #2: Type: text/html, Size: 3036 bytes --]
next prev parent reply other threads:[~2014-01-15 21:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-12 20:46 bug#16426: 24.3.50; Follow-mode broken when window is selected from another buffer, like compile-goto-error (worked in 24.2, broken in 24.3) Anders Lindgren
[not found] ` <handler.16426.B.138955963327365.ack@debbugs.gnu.org>
2014-01-15 21:54 ` Anders Lindgren [this message]
2014-01-16 0:28 ` bug#16426: Acknowledgement (24.3.50; Follow-mode broken when window is selected from another buffer, like compile-goto-error (worked in 24.2, broken in 24.3)) Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABr8ebZFSonJFy3tL2H5x17B71fHb4oY+pVoF2BVfWEDdiYfmg@mail.gmail.com \
--to=andlind@gmail.com \
--cc=16426@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.