unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 19557@debbugs.gnu.org
Subject: bug#19557: 25.0.50; ido-insert-buffer does not insert virtual buffers.
Date: Mon, 16 Aug 2021 15:21:40 +0200	[thread overview]
Message-ID: <87wnola5jv.fsf@gnus.org> (raw)
In-Reply-To: <8761ceve89.fsf@yahoo.fr> (Nicolas Richard's message of "Sat, 10 Jan 2015 16:37:26 +0100")

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





  parent reply	other threads:[~2021-08-16 13:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-10 15:37 bug#19557: 25.0.50; ido-insert-buffer does not insert virtual buffers Nicolas Richard
2015-01-15 15:49 ` bug#19557: Invalid bug Reuben Thomas
2021-08-16 13:21 ` Lars Ingebrigtsen [this message]
2021-09-17 16:19   ` bug#19557: 25.0.50; ido-insert-buffer does not insert virtual buffers Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnola5jv.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=19557@debbugs.gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).