From: Eduardo Ochs <eduardoochs@gmail.com>
To: 37745@debbugs.gnu.org
Subject: bug#37745: (save-window-excursion (shell) (buffer-name (current-buffer)))
Date: Mon, 14 Oct 2019 04:55:53 -0300 [thread overview]
Message-ID: <CADs++6gCxxjn68NJngrATKFj2sUqbG=sjyO2PGX24cRDcoN=iA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
In many versions of Emacs the sexp below
(save-window-excursion (shell) (buffer-name (current-buffer)))
returns "*shell*", but in some recent versions it returns the name of
the current buffer instead.
Let me be more precise. I ran the sexp below in the versions of Emacs
that I have in my machine,
(list emacs-version
(save-window-excursion (shell) (buffer-name (current-buffer)))
)
and collected the outputs, and got:
("24.5.1" "*shell*")
("25.1.1" "*shell*")
("26.3" "*shell*")
("27.0.50" "TODO")
Here's the exact version of my "27.0.50". The output of
PAGER=cat git log -1 --format=format:"%H%n%cd%n"
was:
01ea96b5548a80e6aabc69428439113ce0a8c17e
Mon Oct 14 08:47:02 2019 +0200
I don't know (yet) how to bisect versions to find exactly when the
behavior changed, sorry... btw, this is a Debian box (on amd64).
Cheers,
Eduardo Ochs
http://angg.twu.net/#eev
[-- Attachment #2: Type: text/html, Size: 1229 bytes --]
next reply other threads:[~2019-10-14 7:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-14 7:55 Eduardo Ochs [this message]
2019-10-17 3:03 ` bug#37745: (save-window-excursion (shell) (buffer-name (current-buffer))) Lars Ingebrigtsen
2019-10-17 8:26 ` martin rudalics
2019-10-17 16:50 ` Michael Albinus
2019-10-27 8:42 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADs++6gCxxjn68NJngrATKFj2sUqbG=sjyO2PGX24cRDcoN=iA@mail.gmail.com' \
--to=eduardoochs@gmail.com \
--cc=37745@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).