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

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

bug#68235: 29.1.90; Switching tabs stops following process output in sel


From: Juri Linkov
Subject: bug#68235: 29.1.90; Switching tabs stops following process output in selected window
Date: Fri, 12 Apr 2024 19:20:47 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

> 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.

Thanks, I confirm this completely fixes the original test case.





reply via email to

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