all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: 67388@debbugs.gnu.org
Subject: bug#67388: 30.0.50; Unintended man page buffer-name change?
Date: Wed, 22 Nov 2023 23:02:25 +0100	[thread overview]
Message-ID: <87leapzbta.fsf@gmx.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

0. emacs -Q
1. M-x man RET cat RET
2. M-: (buffer-name)
=> "*Man cat *"

If you do the same in emacs-29, the result is:
"*Man cat*"

AFAICS this change is due to this commit:

commit 861ac933dd8aed1028edc4b9142400e3702874d5
Author:     Michael Albinus <michael.albinus@gmx.de>
Commit:     Michael Albinus <michael.albinus@gmx.de>
CommitDate: Wed Nov 1 16:54:31 2023 +0100

    Run `man' also on remote systems

If the change was intended, it should be called out in NEWS.  If it was
unintended, this patch restores the previous behavior, at least when
calling man locally (I currently can't test a remote call):


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Man-getpage-in-background patch --]
[-- Type: text/x-patch, Size: 584 bytes --]

diff --git a/lisp/man.el b/lisp/man.el
index f18e2f50b7c..3efa29d7aad 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -1191,8 +1191,8 @@ Man-getpage-in-background
          (man-args topic)
 	 (bufname
           (if (file-remote-p default-directory)
-              (format "*Man %s %s *" (file-remote-p default-directory) man-args)
-            (format "*Man %s *" man-args)))
+              (format "*Man %s %s*" (file-remote-p default-directory) man-args)
+            (format "*Man %s*" man-args)))
 	 (buffer (get-buffer bufname)))
     (if buffer
 	(Man-notify-when-ready buffer)

[-- Attachment #3: Type: text/plain, Size: 732 bytes --]



In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.18.0) of 2023-11-22 built on strobelfs2
Repository revision: f50e54c01e84323e2689d79864dd9d65974d4429
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: Linux From Scratch r12.0-63

Configured using:
 'configure -C --with-xwidgets 'CFLAGS=-Og -g3'
 PKG_CONFIG_PATH=/opt/qt5/lib/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11
XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB

             reply	other threads:[~2023-11-22 22:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22 22:02 Stephen Berman [this message]
2023-11-29 16:59 ` bug#67388: 30.0.50; Unintended man page buffer-name change? Stephen Berman
2023-11-29 17:21   ` Michael Albinus
2023-11-29 17:47     ` Stephen Berman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87leapzbta.fsf@gmx.net \
    --to=stephen.berman@gmx.net \
    --cc=67388@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.