all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: drain <aeuster@gmail.com>,
	"Help-gnu-emacs@gnu.org" <Help-gnu-emacs@gnu.org>
Subject: RE: find-file-noselect
Date: Thu, 30 Aug 2012 21:14:11 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA98268CDAF5@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <1346346925167-262675.post@n5.nabble.com>

I'm guessing futher clarity is necessary, if only because there is so much to do with processes. 

Looking at the info page for Processes is probably a good place to start understanding what is possible whith shells and other processes. (That's Info Elisp section 37 with emacs 24.)

,Doug

(Sorry, I accidentally a verb.)

> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of drain
> Sent: Thursday, 2012 August 30 13:15
> To: Help-gnu-emacs@gnu.org
> Subject: find-file-noselect
> 
> I want a function that does the same thing, but with the shell, e.g.,
> what
> this does to a file:
> 
> (save-excursion
>   (let ((foo (get-buffer (find-file-noselect "/home/drain/foo.org"))))
> 	(set-buffer foo)
> 	(insert "test operation")))
> 
> In case further clarity is necessary:
> 
> I want to open a shell buffer, but do not want to select it (so I stay
> in
> the current buffer). Just like the above, but with the shell instead of
> foo.org.
> 
> 
> 
> 
> --
> View this message in context: http://emacs.1067599.n5.nabble.com/find-
> file-noselect-tp262675.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.




  parent reply	other threads:[~2012-08-30 21:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 17:15 find-file-noselect drain
2012-08-30 21:12 ` find-file-noselect Doug Lewan
2012-08-30 21:14 ` Doug Lewan [this message]
     [not found] <mailman.7829.1346346933.855.help-gnu-emacs@gnu.org>
2012-08-31  1:48 ` find-file-noselect Stefan Monnier

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

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

  git send-email \
    --in-reply-to=155DEC68569B714B86C2C7075F5EDA98268CDAF5@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.com \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=aeuster@gmail.com \
    /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 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.