bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16426: Acknowledgement (24.3.50; Follow-mode broken when window is s


From: Anders Lindgren
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

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 <address@hidden> 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):
 address@hidden

If you wish to submit further information on this problem, please
send it to address@hidden.

Please do not send mail to address@hidden 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 address@hidden with problems


reply via email to

[Prev in Thread] Current Thread [Next in Thread]