GNU bug report logs - #68235
29.1.90; Switching tabs stops following process output in selected window

Previous Next

Package: emacs;

Reported by: Dan McCarthy <daniel.c.mccarthy <at> gmail.com>

Date: Wed, 3 Jan 2024 20:49:02 UTC

Severity: normal

Found in version 29.1.90

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 68235 <at> debbugs.gnu.org
Subject: bug#68235: 29.1.90; Switching tabs stops following process output in selected window
Date: Fri, 12 Apr 2024 10:18:03 +0200
[Message part 1 (text/plain, inline)]
> Using 'find-alternate-file' in 'image-next-file' looks fine.
> There are no other problems.  And revealing " **lose**"
> while restoring windows is not a bug deal.

OK.  Please try the attached patch.  With something like

(let ((buffer (find-file-noselect "~/foo.el")))
  (with-current-buffer buffer
    (find-alternate-file "~/bar.el")
    (message "%s..%s" (buffer-last-name buffer) (buffer-file-name buffer))))

it should work fine thus fixing the image mode problem.  With

(let ((buffer (find-file-noselect "~/foo/bar.el")))
  (with-current-buffer buffer
    (find-alternate-file "~/bar/bar.el")
    (message "%s..%s" (buffer-last-name buffer) (buffer-file-name buffer))))

you can still use the old file name to restore the buffer.

martin
[files.el.diff (text/x-patch, attachment)]

This bug report was last modified 1 year and 30 days ago.

Previous Next


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