From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Renato Newsgroups: gmane.emacs.help Subject: Re: open file from command line as new buffer? Date: Tue, 9 Aug 2011 10:03:15 +0200 Message-ID: <20110809100315.2784d654@gmail.com> References: <20110808190407.40d10a47@gmail.com> <87ipq7nw3o.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312877065 12131 80.91.229.12 (9 Aug 2011 08:04:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2011 08:04:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Vijay Lakshminarayanan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 09 10:04:16 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QqhIN-0000mu-Fl for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Aug 2011 10:04:15 +0200 Original-Received: from localhost ([::1]:37297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqhIN-0001aF-04 for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Aug 2011 04:04:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqhIH-0001Zv-W4 for help-gnu-emacs@gnu.org; Tue, 09 Aug 2011 04:04:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqhIG-0001qt-Ol for help-gnu-emacs@gnu.org; Tue, 09 Aug 2011 04:04:09 -0400 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:38608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqhIG-0001qi-Cy for help-gnu-emacs@gnu.org; Tue, 09 Aug 2011 04:04:08 -0400 Original-Received: by wwj26 with SMTP id 26so2736019wwj.0 for ; Tue, 09 Aug 2011 01:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=OHEXG2O1EzUJDU0Vc77VKNLCvAdPF0/7RFkxO8w3rOM=; b=RFxCfb8lPzmN/a/YNUUSipQT7TRkNg2sDB0KxFhYJQ3wQVy6md3uTNR8mV3aTJQlmv g5F2eAwhuKL7cOupLDKhoz7oWVYlR3fhG2CNlSoAIPe2ZPn3V972hSiVCvOaYA5udbYO iEAh5cUPbPbLI/7idnzOh8mRqlKFZKy+VqYaA= Original-Received: by 10.227.147.196 with SMTP id m4mr5295670wbv.52.1312877047336; Tue, 09 Aug 2011 01:04:07 -0700 (PDT) Original-Received: from localhost.localdomain (host167-12-dynamic.5-87-r.retail.telecomitalia.it [87.5.12.167]) by mx.google.com with ESMTPS id b13sm5105986wbh.41.2011.08.09.01.04.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 01:04:06 -0700 (PDT) In-Reply-To: <87ipq7nw3o.fsf@gmail.com> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.5; i686-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.41 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:81916 Archived-At: On Tue, 09 Aug 2011 08:13:07 +0530 Vijay Lakshminarayanan wrote: > Renato writes: > > > Hello, simple question: I have the emacs gui started. How can I > > open a new file, from command line, such that it will open as > > a new buffer in the existing emacs process instead of starting a new > > emacs process? > > In your emacs, start the emacs server with M-x server-start > > From the command line, emacsclient should open the file in > an emacs buffer. thank you very much renato