From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: Question about emacs server. Date: Thu, 01 Apr 2010 19:24:47 -0700 Message-ID: <4BB5556F.1000309@gmail.com> References: <1270145455.18157.0.camel@dude.inf.utfsm.cl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270175123 30420 80.91.229.12 (2 Apr 2010 02:25:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Apr 2010 02:25:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 02 04:25:19 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NxWZS-0007NC-Dk for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Apr 2010 04:25:18 +0200 Original-Received: from localhost ([127.0.0.1]:58423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxWZR-0002ld-G2 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Apr 2010 22:25:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxWZ3-0002lO-M4 for help-gnu-emacs@gnu.org; Thu, 01 Apr 2010 22:24:53 -0400 Original-Received: from [140.186.70.92] (port=59294 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxWZ2-0002lG-En for help-gnu-emacs@gnu.org; Thu, 01 Apr 2010 22:24:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxWZ0-00046X-MT for help-gnu-emacs@gnu.org; Thu, 01 Apr 2010 22:24:52 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:39440) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxWZ0-00046O-GK for help-gnu-emacs@gnu.org; Thu, 01 Apr 2010 22:24:50 -0400 Original-Received: by pwi2 with SMTP id 2so1920251pwi.0 for ; Thu, 01 Apr 2010 19:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=pxV/YsxoITLrkKc5vafYmP/8+6UbIU9UI69gtRP4Tc4=; b=IGb2zfAIcSZ6bSpsuEOKn9Yu1+S0+a1lLfdhuKUydXxIb8yK6ubaHbdGaud6qOdQAK f+uQ1CEnKbsOCi+dH6JktUKL6XxVGUQlxUdpGLATGn0NXAiz0sTULTMbhAxILDPHo0ie xzR9HsC9U88/PGmbJF4N1GPW3ArIQGgiPip38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=OTHqBgaNlWz7cBeG1WP1QisGusMGrsrnxylLLTGez6edM4PILP1jcM7/9+H/SBbmB9 VYBu8eCvOBHWIP2juhyQI8vbRCmNZoeRa26eSZA+JzmozC3antvnuujxCB6aepe4Ii/z fNgHAzqhiz7DmsFRRaQwOYqGFedowWnqRIkuA= Original-Received: by 10.114.18.11 with SMTP id 11mr2070190war.137.1270175089130; Thu, 01 Apr 2010 19:24:49 -0700 (PDT) Original-Received: from bhishma.homelinux.net (d207-6-164-45.bchsia.telus.net [207.6.164.45]) by mx.google.com with ESMTPS id 20sm7355281pzk.7.2010.04.01.19.24.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Apr 2010 19:24:48 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.4 In-Reply-To: <1270145455.18157.0.camel@dude.inf.utfsm.cl> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72570 Archived-At: On Thursday 01 April 2010 11:10 AM, Sergio A. Morales wrote: > Hi all. > > Im a new user of emacs and i wondered if emacs-server and emacsclient > can work like the CTU terminals in 24 (tv serie). Actually i can connect > to a emacsserver from emacsclient but i can't view or modify the buffer > (read only), so maybe there are something i'm doing wrong or that is the > normal behavior for emacsclient and a remote file. > > I was expecting this behavior: Someone on my network send me to my emacs > his buffer (a file, a game, a shell, etc). Then i work on it and return > it to him. So i constantly send and recibe buffers meanwhile the changes > are write in the respective origen files. > > Can this be posible with emacs? How? I need other software? > I think you may have confused the use for emacs server and client. Emacs server runs an emacs session in the background. Now you can connect to this server with emacsclient and edit the files you want to. The useful part is you can run multiple emacsclients to edit the *same* buffer. If you choose to, the server will retain all the buffers even if you logout from your desktop. (but of course it doesn't survive a reboot :-p) Maybe an example will illustrate this better. Often I start an emacs server at work, do some editing. At the end of the day I logout and leave, but my emacs server keeps running in the background with all my buffers. Now if I want to work from home, I can just connect to my workstation at work and use emacsclient to connect to the server, and I can continue where I left off. It is even possible to ask the emacsclient on your local machine to connect to a remote emacs server over tramp if the remote server has been started with the proper options. ;) > Thank you for your time and sorry for the poor english. > Not a problem at all as long as everyone understands you. :) PS: 24 is just a TV show, they say and do lots of unrealisable stuff ;) -- Suvayu Open source is the future. It sets us free.