unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* inserting the scratch buffer
@ 2005-08-10 21:16 Baloff
  2005-08-10 21:29 ` Kevin Rodgers
  2005-08-10 22:57 ` Pascal Bourguignon
  0 siblings, 2 replies; 5+ messages in thread
From: Baloff @ 2005-08-10 21:16 UTC (permalink / raw)



how do I insert the scratch buffer at point.

say I am writing a post and want to insert whatever I wrote in my
scratch buffer.

thanks

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

* Re: inserting the scratch buffer
  2005-08-10 21:16 inserting the scratch buffer Baloff
@ 2005-08-10 21:29 ` Kevin Rodgers
  2005-08-10 22:33   ` Drew Adams
  2005-08-10 22:57 ` Pascal Bourguignon
  1 sibling, 1 reply; 5+ messages in thread
From: Kevin Rodgers @ 2005-08-10 21:29 UTC (permalink / raw)


Baloff wrote:
 > how do I insert the scratch buffer at point.
 >
 > say I am writing a post and want to insert whatever I wrote in my
 > scratch buffer.

M-x insert-buffer RET *scratch* RET

-- 
Kevin Rodgers

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

* RE: inserting the scratch buffer
  2005-08-10 21:29 ` Kevin Rodgers
@ 2005-08-10 22:33   ` Drew Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2005-08-10 22:33 UTC (permalink / raw)


     > how do I insert the scratch buffer at point.

"how do I": C-h a        (`apropos-command')
"insert":   C-h a insert (then search for "buffer")
"buffer":   C-h a buffer (then search for "insert")

Command found: `insert-buffer'

Will it help? `C-h f insert-buffer':
  "Insert after point the contents of BUFFER." - sounds promising...

Result: M-x insert-buffer *scratch*

Really, it's not so hard to find things out yourself, with Emacs. It doesn't
get any easier than this.

Your friends are `apropos-command', `apropos' (... try `M-x apropos
apropos'), the online help (C-h i Emacs), C-h f, C-h v, C-h m, EmacsWiki
(http://www.emacswiki.org), and ... two more FREE questions to
help-gnu-emacs - choose wisely ;-).

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

* Re: inserting the scratch buffer
  2005-08-10 21:16 inserting the scratch buffer Baloff
  2005-08-10 21:29 ` Kevin Rodgers
@ 2005-08-10 22:57 ` Pascal Bourguignon
  1 sibling, 0 replies; 5+ messages in thread
From: Pascal Bourguignon @ 2005-08-10 22:57 UTC (permalink / raw)


Baloff <washdc@wash.edu> writes:

> how do I insert the scratch buffer at point.
>
> say I am writing a post and want to insert whatever I wrote in my
> scratch buffer.

(insert (with-current-buffer "*scratch*" (buffer-string)))


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

The world will now reboot.  don't bother saving your artefacts.

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

* Re: inserting the scratch buffer
       [not found] <mailman.3313.1123714966.20277.help-gnu-emacs@gnu.org>
@ 2005-08-12 14:45 ` Baloff
  0 siblings, 0 replies; 5+ messages in thread
From: Baloff @ 2005-08-12 14:45 UTC (permalink / raw)


Drew Adams wrote:

>      > how do I insert the scratch buffer at point.
> 
> "how do I": C-h a        (`apropos-command')
> "insert":   C-h a insert (then search for "buffer")
> "buffer":   C-h a buffer (then search for "insert")
> 
> Command found: `insert-buffer'
> 
> Will it help? `C-h f insert-buffer':
>   "Insert after point the contents of BUFFER." - sounds promising...
> 
> Result: M-x insert-buffer *scratch*
> 
> Really, it's not so hard to find things out yourself, with Emacs. It doesn't
> get any easier than this.
> 
> Your friends are `apropos-command', `apropos' (... try `M-x apropos
> apropos'), the online help (C-h i Emacs), C-h f, C-h v, C-h m, EmacsWiki
> (http://www.emacswiki.org), and ... two more FREE questions to
> help-gnu-emacs - choose wisely ;-).
> 
> 
> 
> 
thank you, I will do that every time from now on.

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

end of thread, other threads:[~2005-08-12 14:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10 21:16 inserting the scratch buffer Baloff
2005-08-10 21:29 ` Kevin Rodgers
2005-08-10 22:33   ` Drew Adams
2005-08-10 22:57 ` Pascal Bourguignon
     [not found] <mailman.3313.1123714966.20277.help-gnu-emacs@gnu.org>
2005-08-12 14:45 ` Baloff

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