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

From: Michael Heerdegen <[email-masked]>
Date: Mon, 17 Jul 2023 07:03:28 +0200

[email-masked] 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.