From: no-spam@cua.dk (Kim F. Storm)
Cc: bug-gnu-emacs@gnu.org, jidanni@jidanni.org, Miles Bader <miles@gnu.org>
Subject: Re: insert-file-or-buffer
Date: Fri, 29 Dec 2006 19:27:35 +0100 [thread overview]
Message-ID: <m3hcveblrc.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <u4prf3pqn.fsf@gnu.org> (Eli Zaretskii's message of "Fri\, 29 Dec 2006 13\:28\:48 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Miles Bader <miles@gnu.org>
>> Date: Fri, 29 Dec 2006 09:41:07 +0900
>> Cc: bug-gnu-emacs@gnu.org
>>
>> Dan Jacobson <jidanni@jidanni.org> writes:
>> > insert-file is nice and insert-buffer is nice but what would be nicer
>> > is a combined insert-file-or-buffer that somehow detects what to do
>> > and how best to handle completions. That way we don't have to think,
>> > not that we ever did.
>>
>> Even better would be "insert-stuff" which automatically figures out
>> "what to do", and inserts something appropriate.
>
> I suggest a better name: "insert-dwim".
Try this:
(require 'esp)
M-x esp-insert RET
If you concentrate really hard, it may work.
--
Kim F. Storm http://www.cua.dk
next prev parent reply other threads:[~2006-12-29 18:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2459.1167332860.2155.bug-gnu-emacs@gnu.org>
2006-12-29 0:41 ` insert-file-or-buffer Miles Bader
2006-12-29 11:28 ` insert-file-or-buffer Eli Zaretskii
2006-12-29 18:27 ` Kim F. Storm [this message]
2006-12-28 17:08 insert-file-or-buffer Dan Jacobson
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=m3hcveblrc.fsf@kfs-l.imdomain.dk \
--to=no-spam@cua.dk \
--cc=bug-gnu-emacs@gnu.org \
--cc=jidanni@jidanni.org \
--cc=miles@gnu.org \
/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).