GNU bug report logs - #62732
29.0.60; uniquify-trailing-separator-p affects any buffer whose name matches a dir in CWD

Previous Next

Package: emacs;

Reported by: sbaugh <at> catern.com

Date: Sun, 9 Apr 2023 01:38:02 UTC

Severity: normal

Found in version 29.0.60

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: sbaugh <at> catern.com
Cc: sbaugh <at> janestreet.com, Eli Zaretskii <eliz <at> gnu.org>, monnier <at> iro.umontreal.ca, 62732 <at> debbugs.gnu.org
Subject: bug#62732: 29.0.60; uniquify-trailing-separator-p affects any buffer whose name matches a dir in CWD
Date: Mon, 17 Jul 2023 07:03:28 +0200
sbaugh <at> catern.com writes:

> Subject: [PATCH] Don't recalculate the buffer basename inside uniquify

Sorry but: Is it this patch's fault that it is not possible to visit the root
directory "/" any more?

| Debugger entered--Lisp error: (error "Empty string for buffer name is not allowed")
|   get-buffer-create("" nil)
|   generate-new-buffer("")
|   create-file-buffer("/")
|   dired-internal-noselect("/" nil)
|   dired-noselect("/" nil)
|   dired("/" nil)


TIA,

Michael.




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

Previous Next


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