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: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: sbaugh <at> catern.com, 62732 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, sbaugh <at> janestreet.com
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 14:35:20 +0300
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  sbaugh <at> janestreet.com,
>   monnier <at> iro.umontreal.ca,  62732 <at> debbugs.gnu.org
> 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)

Yes.  Should be fixed now.




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.