all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* insert-file-or-buffer
@ 2006-12-28 17:08 Dan Jacobson
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2006-12-28 17:08 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: insert-file-or-buffer
       [not found] <mailman.2459.1167332860.2155.bug-gnu-emacs@gnu.org>
@ 2006-12-29  0:41 ` Miles Bader
  2006-12-29 11:28   ` insert-file-or-buffer Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Miles Bader @ 2006-12-29  0:41 UTC (permalink / raw)
  Cc: bug-gnu-emacs

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.  Report behind
schedule?  Just M-x insert-stuff, and whoa, there it is!  Handy!

-miles
-- 
Come now, if we were really planning to harm you, would we be waiting here,
 beside the path, in the very darkest part of the forest?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: insert-file-or-buffer
  2006-12-29  0:41 ` insert-file-or-buffer Miles Bader
@ 2006-12-29 11:28   ` Eli Zaretskii
  2006-12-29 18:27     ` insert-file-or-buffer Kim F. Storm
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2006-12-29 11:28 UTC (permalink / raw)
  Cc: bug-gnu-emacs, jidanni

> 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".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: insert-file-or-buffer
  2006-12-29 11:28   ` insert-file-or-buffer Eli Zaretskii
@ 2006-12-29 18:27     ` Kim F. Storm
  0 siblings, 0 replies; 4+ messages in thread
From: Kim F. Storm @ 2006-12-29 18:27 UTC (permalink / raw)
  Cc: bug-gnu-emacs, jidanni, Miles Bader

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-12-29 18:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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     ` insert-file-or-buffer Kim F. Storm
2006-12-28 17:08 insert-file-or-buffer Dan Jacobson

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.