[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: insert-file-or-buffer
From: |
Kim F. Storm |
Subject: |
Re: insert-file-or-buffer |
Date: |
Fri, 29 Dec 2006 19:27:35 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
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