From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help Subject: Re: Does anyone really use emacs in terminal? Date: Sun, 12 May 2013 21:44:54 +0200 Organization: Informatimago Message-ID: <878v3kj83t.fsf@kuiper.lan.informatimago.com> References: <8761yu64e4.fsf@Servus.decebal.nl> <87r4higq45.fsf@gmail.com> <87ip2tyftv.fsf@yahoo.fr> <20130508155351.GA5399@hysteria.proulx.com> <87obclrrb9.fsf@kuiper.lan.informatimago.com> <25153223-A058-4762-A1FC-7744472B958A@Web.DE> <87ppwxi89x.fsf@gmail.com> <87k3n5i4ap.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1368391561 13640 80.91.229.3 (12 May 2013 20:46:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 May 2013 20:46:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 12 22:46:02 2013 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 1Ubd9e-0006Je-8w for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2013 22:46:02 +0200 Original-Received: from localhost ([::1]:57053 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubd9d-0005rG-Da for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2013 16:46:01 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-X-Trace: individual.net Ninb7ffS9C3dgoSXZwnkQgkt7f42A5yjPT67Pqw1d0ncepxiGm Cancel-Lock: sha1:NWU0NTRkNjQ2MmZiNTk3YmQxNjM5NDYwZjFkMTZiMGJkYjhmOWM1OQ== sha1:uGBuw/GR398L4yTfNI1Tmp/evuE= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:198405 X-Mailman-Approved-At: Sun, 12 May 2013 16:45:39 -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:90673 Archived-At: Hongxu Chen writes: > Peter Dyballa writes: > >> Am 12.05.2013 um 00:32 schrieb Jai Dayal: >> >>> so if >>> you're not willing to do a little extra work and expect me to prove the >>> most basic trivial things, I'm going to ask you to put something on the >>> line, i.e., when I show you Vim's calculus plugins, you never post on this >>> mailing list again. deal? >> >> Vi has an interface to shell level: :!. This way you can use expr, >> bc, or dc to calculate something for vi – or use a GNU Emacs script >> for something less comprehensible… > However this is inconvenient since Vim just forked a new shell > process. Now and then I forget whether the shell's parent process is Vim. He reason why it's inconvenient, is because once you fork a child process, it cannot modify the data structure in the parent process anymore. So ok, you can perhaps calculate, or do calculus (seems somebody doesn't know the difference), but you cannot have those process modify the data in the vim buffers, or in vim memory. Sure, perhaps you can also have a command or a script in vim to load some file modified by those child processes, but that's the point: there's no calculus program implemented in vim, like there are implemented in emacs. Or spreadsheets, or web browsers, or email readers, or games, etc. >> A bit different is :!emacs -nw – now you are in GNU Emacs, in terminal, as >> the subject announces, and can forget that you were in vi before and now are not >> that limited. You can even files on some remote host! No plugin necessary. Still not in vim. -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}. You can take the lisper out of the lisp job, but you can't take the lisp out of the lisper (; -- antifuchs