bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19557: 25.0.50; ido-insert-buffer does not insert virtual buffers.


From: Lars Ingebrigtsen
Subject: bug#19557: 25.0.50; ido-insert-buffer does not insert virtual buffers.
Date: Mon, 16 Aug 2021 15:21:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:

> When using ido-insert-buffer to insert a virtual buffer (one that is not
> live but known to recentf), emacs switches to that buffer instead of
> inserting its content into the current buffer.
>
> Here's a recipe:
> echo "foo" > foo
> HOME=$(mktemp -d) emacs -Q -f recentf-mode --eval '(setq 
> ido-use-virtual-buffers t)' -f ido-mode foo --eval '(kill-buffer)' -f 
> ido-insert-buffer
>
> select "foo" at the prompt (type f o o RET)
>
> Result is : emacs switches to buffer "foo".
>
> Expected was : the file "foo" is opened in a buffer without switching to
> it, and its content is inserted in the current buffer.

(I'm going through old bug reports that unfortunately got no response at
the time.)

This bug is still present in Emacs 28.  I haven't tried to debug it
yet -- does anybody else happen to know what's going wrong here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]