From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: find-file-noselect Date: Thu, 30 Aug 2012 21:12:42 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA98268CDAE2@DAKIYA1.pegasus.local> References: <1346346925167-262675.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1346361145 5461 80.91.229.3 (30 Aug 2012 21:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2012 21:12:25 +0000 (UTC) To: drain , "Help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 23:12:24 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T7C2F-0006z0-Rc for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2012 23:12:19 +0200 Original-Received: from localhost ([::1]:47752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7C2D-00049U-Fg for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2012 17:12:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7C28-00049J-Cs for Help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 17:12:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7C27-00029T-BT for Help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 17:12:12 -0400 Original-Received: from mailhost.shubertorg.com ([207.246.209.200]:40094 helo=webmail.shubertorg.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7C27-00029N-7t for Help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 17:12:11 -0400 Original-Received: from dakiya1.pegasus.local ([::1]) by DAKIYA1.pegasus.local ([::1]) with mapi id 14.01.0339.001; Thu, 30 Aug 2012 17:12:43 -0400 Thread-Topic: find-file-noselect Thread-Index: AQHNhtMq3fnmQ6nJPECKpTumsXvo1Jdy2cfA In-Reply-To: <1346346925167-262675.post@n5.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: Aa2v Bwgw CRDO EMxm Fcq/ F5IC G7lN IbLB MMU7 NQGZ NRBM Qpog RMVy ROx8 SBlg UuY1; 2; YQBlAHUAcwB0AGUAcgBAAGcAbQBhAGkAbAAuAGMAbwBtADsAaABlAGwAcAAtAGcAbgB1AC0AZQBtAGEAYwBzAEAAZwBuAHUALgBvAHIAZwA=; Sosha1_v1; 7; {CE37B336-F0AA-4581-99E1-A80DC759C2E5}; ZABvAHUAZwBsAEAAcwBoAHUAYgBlAHIAdAB0AGkAYwBrAGUAdABpAG4AZwAuAGMAbwBtAA==; Thu, 30 Aug 2012 21:12:04 GMT;UgBFADoAIABmAGkAbgBkAC0AZgBpAGwAZQAtAG4AbwBzAGUAbABlAGMAdAA= x-cr-puzzleid: {CE37B336-F0AA-4581-99E1-A80DC759C2E5} x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows XP/2000 (RFC1323+, w+, tstamp-) X-Received-From: 207.246.209.200 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86597 Archived-At: I'm guessing futher clarity is necessary, if only because there so much to = do with processes.=20 Looking at the info page for Processes is probably a good place to start un= derstanding what is possible whith shells and other processes. (That's Info= Elisp section 37 with emacs 24.) ,Doug > -----Original Message----- > From: help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org > [mailto:help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org] On > Behalf Of drain > Sent: Thursday, 2012 August 30 13:15 > To: Help-gnu-emacs@gnu.org > Subject: find-file-noselect >=20 > I want a function that does the same thing, but with the shell, e.g., > what > this does to a file: >=20 > (save-excursion > (let ((foo (get-buffer (find-file-noselect "/home/drain/foo.org")))) > (set-buffer foo) > (insert "test operation"))) >=20 > In case further clarity is necessary: >=20 > 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. >=20 >=20 >=20 >=20 > -- > 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.