Subject: bug#77063: 29.1; ido-read-buffer

From: Eli Zaretskii <[email-masked]>
Date: Mon, 17 Mar 2025 15:40:07 +0200

> Date: Sun, 16 Mar 2025 20:16:45 -0700
> From: Keith David Bershatsky <[email-masked]>
> 
> This is a two part bug report:
> 
> PART 1 of 2:
> 
> STEP 0:  Start-up Emacs 29 without any user configuration.
> 
> STEP 1:  (require 'ido)
> 
> STEP 2:  (ido-read-buffer "PROMPT:  " nil 'require-match nil)
> 
> STEP 3:  Observe that there are no visible ido rotational buffer choices.
> 
> STEP 4:  (ido-common-initialization)
> 
> STEP 5:  Repeat STEP 2 and observe that it now works; i.e., there are now visible ido rotational buffer choices.
> 
> ================
> 
> PART 2 of 2
> 
> STEP 0:  Start-up Emacs 29 without any user configuration.
> 
> STEP 1:  (require 'ido)
> 
> STEP 2:  (ido-read-buffer "PROMPT:  " nil 'require-match nil)
> 
> STEP 3:  Press the TAB key to open the *Ido Completions* buffer.
> 
> STEP 4:  Navigate to the *Ido Completions* buffer and select the *Messages* buffer, and press the enter key.
> 
> STEP 5:  Now that the word *Messages* is in the minibuffer following the word PROMPT:, press the enter key.  The function erroneously returns the "*scratch*" buffer instead of the *Messages* buffer.

This appears to be fixed already in Emacs 30 and later.