GNU bug report logs - #35613
Cursor returns to wrong article!

Previous Next

Packages: gnus, emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 7 May 2019 01:42:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 5.13

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


Message #21 received at control <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35613-done <at> debbugs.gnu.org
Subject: Re: bug#35613: Cursor returns to wrong article!
Date: Fri, 17 May 2019 01:00:34 +0100
tags 35613 fixed
close 35613
quit

"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> From 1d7a51d2e3a1c3d5caa77587b3e612feda8bdd59 Mon Sep 17 00:00:00 2001
> From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
> Date: Tue, 7 May 2019 13:46:22 +0100
> Subject: [PATCH] Fix gnus-summary-expand-window placement of point
>
> * lisp/gnus/gnus-win.el (gnus-configure-frame): Replace
> switch-to-buffer with pop-to-buffer-same-window to avoid messing
> with point. (bug#35613)
> ---
>  lisp/gnus/gnus-win.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/gnus/gnus-win.el b/lisp/gnus/gnus-win.el
> index 5f7154c545..c6469f4937 100644
> --- a/lisp/gnus/gnus-win.el
> +++ b/lisp/gnus/gnus-win.el
> @@ -284,7 +284,7 @@ gnus-configure-frame
>                  ;; from a hard-dedicated frame, it creates (and
>                  ;; configures) a new frame, leaving the dedicated frame alone.
>                  (pop-to-buffer buf))
> -               (t (switch-to-buffer buf)))))
> +               (t (pop-to-buffer-same-window buf)))))
>  	  (when (memq 'frame-focus split)
>  	    (setq gnus-window-frame-focus window))
>  	  ;; We return the window if it has the `point' spec.
> -- 
> 2.20.1
>
>
> I'll push it to master in a week or so if there are no objections before
> then.

Now done[1], so I'm closing this report.

[1: 9408e36b84]: Fix gnus-summary-expand-window placement of point
  2019-05-17 00:55:58 +0100
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9408e36b84b8e81dd9f4d1465c4f20f125d4bd06

-- 
Basil




This bug report was last modified 6 years and 2 days ago.

Previous Next


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