From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vijay Lakshminarayanan Newsgroups: gmane.emacs.help Subject: Re: open file from command line as new buffer? Date: Tue, 09 Aug 2011 08:13:07 +0530 Message-ID: <87ipq7nw3o.fsf@gmail.com> References: <20110808190407.40d10a47@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312861643 21692 80.91.229.12 (9 Aug 2011 03:47:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2011 03:47:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Renato Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 09 05:47:17 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 1QqdHd-0003oQ-4l for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Aug 2011 05:47:13 +0200 Original-Received: from localhost ([::1]:59368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqdHc-0005M7-5O for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2011 23:47:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqcHp-0005Xa-6q for help-gnu-emacs@gnu.org; Mon, 08 Aug 2011 22:43:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqcHj-0008ND-SA for help-gnu-emacs@gnu.org; Mon, 08 Aug 2011 22:43:21 -0400 Original-Received: from mail-pz0-f44.google.com ([209.85.210.44]:52379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqcHj-0008N9-N5 for help-gnu-emacs@gnu.org; Mon, 08 Aug 2011 22:43:15 -0400 Original-Received: by pzk36 with SMTP id 36so3821609pzk.17 for ; Mon, 08 Aug 2011 19:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=NMdKgHCNRMQ+DQyETRJEGACjDA4xqMXGNI01a5gF4qA=; b=ADH8y5mEdesSg1/is97+TRpyEimWb13vbI4JhSyOZrii1J+/zwSKrmRCAgiMxlLh7f wi14ICoqcmHS3dV+lEHtzzmylxrq9TmAntBMAuWjoKCq+KHCITXH/aSuYzd+TwZFHvFf SA8HML/7nFX0XDKGwV9HeJoocd7YTXLF5D4nY= Original-Received: by 10.142.229.17 with SMTP id b17mr2465590wfh.443.1312857794259; Mon, 08 Aug 2011 19:43:14 -0700 (PDT) Original-Received: from BALROG ([59.92.57.217]) by mx.google.com with ESMTPS id t8sm3676256pbg.62.2011.08.08.19.43.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Aug 2011 19:43:13 -0700 (PDT) In-Reply-To: <20110808190407.40d10a47@gmail.com> (Renato's message of "Mon, 8 Aug 2011 19:04:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.44 X-Mailman-Approved-At: Mon, 08 Aug 2011 23:47:06 -0400 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:81913 Archived-At: 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. > cheers > renato > -- Cheers ~vijay Gnus should be more complicated.