From unknown Fri Sep 12 22:55:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12855: 24.2; The Messages buffer stops following the appended lines. Resent-From: Yves Baumes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Nov 2012 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12855@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.135257511622916 (code B ref -1); Sat, 10 Nov 2012 19:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2012 19:18:36 +0000 Received: from localhost ([127.0.0.1]:59978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXGZe-0005xU-M0 for submit@debbugs.gnu.org; Sat, 10 Nov 2012 14:18:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55444) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXGZc-0005xH-8J for submit@debbugs.gnu.org; Sat, 10 Nov 2012 14:18:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXGZK-0003eg-Sz for submit@debbugs.gnu.org; Sat, 10 Nov 2012 14:18:17 -0500 Received: from lists.gnu.org ([208.118.235.17]:52616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXGZK-0003ec-Pk for submit@debbugs.gnu.org; Sat, 10 Nov 2012 14:18:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXGZH-0007m5-Mz for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 14:18:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXGZE-0003c9-L0 for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 14:18:11 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:53923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXGZE-0003bw-Ea for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 14:18:08 -0500 Received: by mail-wi0-f177.google.com with SMTP id c10so241669wiw.12 for ; Sat, 10 Nov 2012 11:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=FL8HLVPfUhp9IZ5cCWCh2mjO3c6+pcKFH0/96n6Ul2c=; b=HyEjErHDrHAmuspiynqBPV6Y+EwmnAvugWHC7MYgaZfN4FJIkg1udbEwDuL0c79ISR BYVWWSGWdon68ATBP5Ezio9S3eMWBmtVM6p91T66XgWwx6tjlXtGCgT5DgZM93ZCtxT2 3UxcsslWVxVy34ERghaDB7BRCn7gaB4tE1jkD0v9e/E/8x/Ixy/BxPX/WTWYwABaP3mJ 04qaJPA7bryz3IWhg/JPuCKxJnsIaK8fgjT92JV2+1x4iSp1Cic/NGFC02r983osdTYS wQE2DGZ+ycx6QIi+utqcBKihme50NAGiMBWKNeYJk06kx+rvkuske4+N5qMum0kvKyg6 UBqg== Received: by 10.180.87.39 with SMTP id u7mr7873044wiz.6.1352575087666; Sat, 10 Nov 2012 11:18:07 -0800 (PST) Received: from mac-mini-de-yves-baumes.local.localhost (rke75-2-82-66-91-208.fbx.proxad.net. [82.66.91.208]) by mx.google.com with ESMTPS id w5sm3685262wiz.10.2012.11.10.11.18.06 (version=SSLv3 cipher=OTHER); Sat, 10 Nov 2012 11:18:07 -0800 (PST) From: Yves Baumes Date: Sat, 10 Nov 2012 20:18:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Let's split the frame in two windows only, one for the *scratch* and the other for *Messages*. From here you have a few lines only in the *Messages* buffer. And untill now, every new lines introduced because of a command output is followed. Moreover, I can see the "ghost" cursor at the end of the buffer and it follows every *Messages* buffer updates. Then, from the *scratch* buffer, I call the describe-variable key sequence ( C-h v xxx ). The current buffer being *scratch*, the *Messages* buffer will be replaced with the *help* buffer. After finishing to read the description I want to quit it, because I want the *Messages* buffer to come back. For that, I do: C-x o, thus switching to the focus to the *Help* buffer, and I just type in 'q' to quit it and instantly focus back to the *scratch* buffer. But: When I look into the *Messages* buffer, the "ghost" cursor is no longer at the same place. It has moved in the middle of the buffer. From there, the window position relative to the buffer remains the same. Which is not good because I want to see the *Messages* updates when they come in. Regards Yves. From unknown Fri Sep 12 22:55:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12855: 24.2; The Messages buffer stops following the appended lines. Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Nov 2012 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yves Baumes Cc: 12855@debbugs.gnu.org Received: via spool by 12855-submit@debbugs.gnu.org id=B12855.135271426415193 (code B ref 12855); Mon, 12 Nov 2012 09:58:01 +0000 Received: (at 12855) by debbugs.gnu.org; 12 Nov 2012 09:57:44 +0000 Received: from localhost ([127.0.0.1]:34690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXqlz-0003x0-Vx for submit@debbugs.gnu.org; Mon, 12 Nov 2012 04:57:44 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:57252) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TXqlx-0003ws-MU for 12855@debbugs.gnu.org; Mon, 12 Nov 2012 04:57:43 -0500 Received: (qmail invoked by alias); 12 Nov 2012 09:56:53 -0000 Received: from 62-47-55-250.adsl.highway.telekom.at (EHLO [62.47.55.250]) [62.47.55.250] by mail.gmx.net (mp010) with SMTP; 12 Nov 2012 10:56:53 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19O3rsXyKhO1rbPjygr3La79gd9isKGilGQyQOmn2 ffn4NFMH1jagSG Message-ID: <50A0C7DA.3080001@gmx.at> Date: Mon, 12 Nov 2012 10:56:42 +0100 From: martin rudalics MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------070009020209040601090605" X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) This is a multi-part message in MIME format. --------------070009020209040601090605 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > Let's split the frame in two windows only, one for the *scratch* and the > other for *Messages*. From here you have a few lines only in the > *Messages* buffer. And untill now, every new lines introduced because of > a command output is followed. Moreover, I can see the "ghost" cursor at > the end of the buffer and it follows every *Messages* buffer updates. > > Then, from the *scratch* buffer, I call the describe-variable key > sequence ( C-h v xxx ). The current buffer being *scratch*, the > *Messages* buffer will be replaced with the *help* buffer. > > After finishing to read the description I want to quit it, because I > want the *Messages* buffer to come back. For that, I do: C-x o, thus > switching to the focus to the *Help* buffer, and I just type in 'q' to > quit it and instantly focus back to the *scratch* buffer. > > But: When I look into the *Messages* buffer, the "ghost" cursor is no > longer at the same place. It has moved in the middle of the buffer. From > there, the window position relative to the buffer remains the same. > Which is not good because I want to see the *Messages* updates when they > come in. This is due to a bug in `display-buffer-record-window' which doesn't pay attention to the buffer's `window-point-insertion-type' when storing the window-point marker. A similar bug occurs in `record-window-buffer', so functions like `switch-to-prev-buffer' and `switch-to-next-buffer' are affected by the same problem whenever they switch to a buffer whose `window-point-insertion-type' is non-nil. Since this bug constitutes a considerable annoyance and a regression wrt 23.4 I'd like to install the attached patch on the Emacs 24 branch. It principally only adds the necessary TYPE argument to the `copy-marker' calls but looks more complex because I have to do this in the right buffer and therefore rearranged the code a bit. OK to install? martin --------------070009020209040601090605 Content-Type: text/plain; name="window-point-insertion-type.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="window-point-insertion-type.diff" === modified file 'lisp/window.el' --- lisp/window.el 2012-11-11 01:47:56 +0000 +++ lisp/window.el 2012-11-12 07:35:12 +0000 @@ -3039,20 +3039,20 @@ (unless (eq (aref (buffer-name buffer) 0) ?\s) ;; Add an entry for buffer to WINDOW's previous buffers. (with-current-buffer buffer - (let ((start (window-start window)) - (point (window-point window))) - (setq entry - (cons buffer - (if entry - ;; We have an entry, update marker positions. - (list (set-marker (nth 1 entry) start) - (set-marker (nth 2 entry) point)) - ;; Make new markers. - (list (copy-marker start) - (copy-marker point))))) - + (let* ((start + (if entry + (set-marker (nth 1 entry) (window-start window)) + (copy-marker (window-start window)))) + (point + (if entry + (set-marker (nth 2 entry) (window-point window)) + (copy-marker + ;; Preserve window-point-insertion-type (Bug#12855). + (window-point) window-point-insertion-type)))) (set-window-prev-buffers - window (cons entry (window-prev-buffers window)))))))) + window + (cons (list buffer start point) + (window-prev-buffers window)))))))) (defun unrecord-window-buffer (&optional window buffer) "Unrecord BUFFER in WINDOW. @@ -4555,13 +4555,17 @@ ;; If WINDOW has a quit-restore parameter, reset its car. (setcar (window-parameter window 'quit-restore) 'same)) ;; WINDOW shows another buffer. - (set-window-parameter - window 'quit-restore - (list 'other - ;; A quadruple of WINDOW's buffer, start, point and height. - (list (window-buffer window) (window-start window) - (window-point window) (window-total-size window)) - (selected-window) buffer)))) + (with-current-buffer (window-buffer window) + (set-window-parameter + window 'quit-restore + (list 'other + ;; A quadruple of WINDOW's buffer, start, point and height. + (list (current-buffer) (window-start window) + ;; Preserve window-point-insertion-type (Bug#12588). + (copy-marker + (window-point window) window-point-insertion-type) + (window-total-size window)) + (selected-window) buffer))))) ((eq type 'window) ;; WINDOW has been created on an existing frame. (set-window-parameter --------------070009020209040601090605-- From unknown Fri Sep 12 22:55:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12855: 24.2; The Messages buffer stops following the appended lines. Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Nov 2012 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 12855@debbugs.gnu.org, Yves Baumes Received: via spool by 12855-submit@debbugs.gnu.org id=B12855.135273109510489 (code B ref 12855); Mon, 12 Nov 2012 14:39:02 +0000 Received: (at 12855) by debbugs.gnu.org; 12 Nov 2012 14:38:15 +0000 Received: from localhost ([127.0.0.1]:35156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXv9S-0002j8-Vk for submit@debbugs.gnu.org; Mon, 12 Nov 2012 09:38:15 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:4142) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXv9Q-0002j0-Qu for 12855@debbugs.gnu.org; Mon, 12 Nov 2012 09:38:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+ZY/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="206973797" Received: from 108-175-230-88.dsl.teksavvy.com (HELO pastel.home) ([108.175.230.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Nov 2012 09:37:47 -0500 Received: by pastel.home (Postfix, from userid 20848) id 335D05978D; Mon, 12 Nov 2012 09:37:47 -0500 (EST) From: Stefan Monnier Message-ID: References: <50A0C7DA.3080001@gmx.at> Date: Mon, 12 Nov 2012 09:37:47 -0500 In-Reply-To: <50A0C7DA.3080001@gmx.at> (martin rudalics's message of "Mon, 12 Nov 2012 10:56:42 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > Since this bug constitutes a considerable annoyance and a regression wrt > 23.4 I'd like to install the attached patch on the Emacs 24 branch. It > principally only adds the necessary TYPE argument to the `copy-marker' > calls but looks more complex because I have to do this in the right > buffer and therefore rearranged the code a bit. OK to install? Yes. > - (let ((start (window-start window)) > - (point (window-point window))) > - (setq entry > - (cons buffer > - (if entry > - ;; We have an entry, update marker positions. > - (list (set-marker (nth 1 entry) start) > - (set-marker (nth 2 entry) point)) > - ;; Make new markers. > - (list (copy-marker start) > - (copy-marker point))))) > - > + (let* ((start > + (if entry > + (set-marker (nth 1 entry) (window-start window)) > + (copy-marker (window-start window)))) > + (point > + (if entry > + (set-marker (nth 2 entry) (window-point window)) > + (copy-marker > + ;; Preserve window-point-insertion-type (Bug#12855). > + (window-point) window-point-insertion-type)))) > (set-window-prev-buffers > - window (cons entry (window-prev-buffers window)))))))) > + window > + (cons (list buffer start point) > + (window-prev-buffers window)))))))) I don't understand why you massaged the code this way instead of just adding window-point-insertion-type to the last copy-marker call, but I presume there's a good reason. Stefan From unknown Fri Sep 12 22:55:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12855: 24.2; The Messages buffer stops following the appended lines. Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Nov 2012 17:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12855@debbugs.gnu.org, Yves Baumes Received: via spool by 12855-submit@debbugs.gnu.org id=B12855.135274156026284 (code B ref 12855); Mon, 12 Nov 2012 17:33:01 +0000 Received: (at 12855) by debbugs.gnu.org; 12 Nov 2012 17:32:40 +0000 Received: from localhost ([127.0.0.1]:35819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXxsG-0006pt-8q for submit@debbugs.gnu.org; Mon, 12 Nov 2012 12:32:40 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:55779) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TXxsD-0006pk-Md for 12855@debbugs.gnu.org; Mon, 12 Nov 2012 12:32:38 -0500 Received: (qmail invoked by alias); 12 Nov 2012 17:32:11 -0000 Received: from 62-47-52-212.adsl.highway.telekom.at (EHLO [62.47.52.212]) [62.47.52.212] by mail.gmx.net (mp033) with SMTP; 12 Nov 2012 18:32:11 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/VB/oOdsPVP/Xg1O2Poz6Tl9G5meG6n1ChCESw7M JrDwNCc8PW6/Li Message-ID: <50A13291.2080009@gmx.at> Date: Mon, 12 Nov 2012 18:32:01 +0100 From: martin rudalics MIME-Version: 1.0 References: <50A0C7DA.3080001@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >> - (let ((start (window-start window)) >> - (point (window-point window))) >> - (setq entry >> - (cons buffer >> - (if entry >> - ;; We have an entry, update marker positions. >> - (list (set-marker (nth 1 entry) start) >> - (set-marker (nth 2 entry) point)) >> - ;; Make new markers. >> - (list (copy-marker start) >> - (copy-marker point))))) >> - >> + (let* ((start >> + (if entry >> + (set-marker (nth 1 entry) (window-start window)) >> + (copy-marker (window-start window)))) >> + (point >> + (if entry >> + (set-marker (nth 2 entry) (window-point window)) >> + (copy-marker >> + ;; Preserve window-point-insertion-type (Bug#12855). >> + (window-point) window-point-insertion-type)))) >> (set-window-prev-buffers >> - window (cons entry (window-prev-buffers window)))))))) >> + window >> + (cons (list buffer start point) >> + (window-prev-buffers window)))))))) > > I don't understand why you massaged the code this way instead of just > adding window-point-insertion-type to the last copy-marker call, but > I presume there's a good reason. Probably not. Do you think the old version was more readable? martin From unknown Fri Sep 12 22:55:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12855: 24.2; The Messages buffer stops following the appended lines. Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Nov 2012 20:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 12855@debbugs.gnu.org, Yves Baumes Received: via spool by 12855-submit@debbugs.gnu.org id=B12855.135275386018705 (code B ref 12855); Mon, 12 Nov 2012 20:58:02 +0000 Received: (at 12855) by debbugs.gnu.org; 12 Nov 2012 20:57:40 +0000 Received: from localhost ([127.0.0.1]:36190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TY14e-0004rc-CV for submit@debbugs.gnu.org; Mon, 12 Nov 2012 15:57:40 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:44807) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TY14b-0004rV-JY for 12855@debbugs.gnu.org; Mon, 12 Nov 2012 15:57:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+ZY/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="207195157" Received: from 108-175-230-88.dsl.teksavvy.com (HELO pastel.home) ([108.175.230.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Nov 2012 15:57:11 -0500 Received: by pastel.home (Postfix, from userid 20848) id BFC15592BD; Mon, 12 Nov 2012 15:57:10 -0500 (EST) From: Stefan Monnier Message-ID: References: <50A0C7DA.3080001@gmx.at> <50A13291.2080009@gmx.at> Date: Mon, 12 Nov 2012 15:57:10 -0500 In-Reply-To: <50A13291.2080009@gmx.at> (martin rudalics's message of "Mon, 12 Nov 2012 18:32:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > Probably not. Do you think the old version was more readable? The difference is fairly small (not worth changing one for the other), but if I had to choose I think I'd prefer the current code. Stefan From unknown Fri Sep 12 22:55:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Yves Baumes Subject: bug#12855: closed (Re: bug#12855: 24.2; The Messages buffer stops following the appended lines.) Message-ID: References: <50A20345.7070000@gmx.at> X-Gnu-PR-Message: they-closed 12855 X-Gnu-PR-Package: emacs Reply-To: 12855@debbugs.gnu.org Date: Tue, 13 Nov 2012 08:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1352795042-24162-1" This is a multi-part message in MIME format... ------------=_1352795042-24162-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12855: 24.2; The Messages buffer stops following the appended lines. which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12855@debbugs.gnu.org. --=20 12855: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12855 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1352795042-24162-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12855-done) by debbugs.gnu.org; 13 Nov 2012 08:23:13 +0000 Received: from localhost ([127.0.0.1]:37323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYBm5-0006GY-Bo for submit@debbugs.gnu.org; Tue, 13 Nov 2012 03:23:13 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:60662) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TYBm2-0006GR-VF for 12855-done@debbugs.gnu.org; Tue, 13 Nov 2012 03:23:11 -0500 Received: (qmail invoked by alias); 13 Nov 2012 08:22:41 -0000 Received: from 62-47-35-120.adsl.highway.telekom.at (EHLO [62.47.35.120]) [62.47.35.120] by mail.gmx.net (mp001) with SMTP; 13 Nov 2012 09:22:41 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+MQk46JPyMwmSZBrMtEkxpdKFFjq5fpkU9fwLfiA /RgZ47W6bDVEY0 Message-ID: <50A20345.7070000@gmx.at> Date: Tue, 13 Nov 2012 09:22:29 +0100 From: martin rudalics MIME-Version: 1.0 To: 12855-done@debbugs.gnu.org Subject: Re: bug#12855: 24.2; The Messages buffer stops following the appended lines. References: <50A0C7DA.3080001@gmx.at> <50A13291.2080009@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12855-done Cc: Stefan Monnier , Yves Baumes X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > The difference is fairly small (not worth changing one for the other), > but if I had to choose I think I'd prefer the current code. Done in revision 110859 on the Emacs-24 branch. Bug closed. Thanks, martin ------------=_1352795042-24162-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Nov 2012 19:18:36 +0000 Received: from localhost ([127.0.0.1]:59978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXGZe-0005xU-M0 for submit@debbugs.gnu.org; Sat, 10 Nov 2012 14:18:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55444) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXGZc-0005xH-8J for submit@debbugs.gnu.org; Sat, 10 Nov 2012 14:18:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXGZK-0003eg-Sz for submit@debbugs.gnu.org; Sat, 10 Nov 2012 14:18:17 -0500 Received: from lists.gnu.org ([208.118.235.17]:52616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXGZK-0003ec-Pk for submit@debbugs.gnu.org; Sat, 10 Nov 2012 14:18:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXGZH-0007m5-Mz for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 14:18:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXGZE-0003c9-L0 for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 14:18:11 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:53923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXGZE-0003bw-Ea for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2012 14:18:08 -0500 Received: by mail-wi0-f177.google.com with SMTP id c10so241669wiw.12 for ; Sat, 10 Nov 2012 11:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=FL8HLVPfUhp9IZ5cCWCh2mjO3c6+pcKFH0/96n6Ul2c=; b=HyEjErHDrHAmuspiynqBPV6Y+EwmnAvugWHC7MYgaZfN4FJIkg1udbEwDuL0c79ISR BYVWWSGWdon68ATBP5Ezio9S3eMWBmtVM6p91T66XgWwx6tjlXtGCgT5DgZM93ZCtxT2 3UxcsslWVxVy34ERghaDB7BRCn7gaB4tE1jkD0v9e/E/8x/Ixy/BxPX/WTWYwABaP3mJ 04qaJPA7bryz3IWhg/JPuCKxJnsIaK8fgjT92JV2+1x4iSp1Cic/NGFC02r983osdTYS wQE2DGZ+ycx6QIi+utqcBKihme50NAGiMBWKNeYJk06kx+rvkuske4+N5qMum0kvKyg6 UBqg== Received: by 10.180.87.39 with SMTP id u7mr7873044wiz.6.1352575087666; Sat, 10 Nov 2012 11:18:07 -0800 (PST) Received: from mac-mini-de-yves-baumes.local.localhost (rke75-2-82-66-91-208.fbx.proxad.net. [82.66.91.208]) by mx.google.com with ESMTPS id w5sm3685262wiz.10.2012.11.10.11.18.06 (version=SSLv3 cipher=OTHER); Sat, 10 Nov 2012 11:18:07 -0800 (PST) From: Yves Baumes To: bug-gnu-emacs@gnu.org Subject: 24.2; The Messages buffer stops following the appended lines. Date: Sat, 10 Nov 2012 20:18:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Let's split the frame in two windows only, one for the *scratch* and the other for *Messages*. From here you have a few lines only in the *Messages* buffer. And untill now, every new lines introduced because of a command output is followed. Moreover, I can see the "ghost" cursor at the end of the buffer and it follows every *Messages* buffer updates. Then, from the *scratch* buffer, I call the describe-variable key sequence ( C-h v xxx ). The current buffer being *scratch*, the *Messages* buffer will be replaced with the *help* buffer. After finishing to read the description I want to quit it, because I want the *Messages* buffer to come back. For that, I do: C-x o, thus switching to the focus to the *Help* buffer, and I just type in 'q' to quit it and instantly focus back to the *scratch* buffer. But: When I look into the *Messages* buffer, the "ghost" cursor is no longer at the same place. It has moved in the middle of the buffer. From there, the window position relative to the buffer remains the same. Which is not good because I want to see the *Messages* updates when they come in. Regards Yves. ------------=_1352795042-24162-1--