From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: Does anyone really use emacs in terminal? Date: Sun, 12 May 2013 16:00:24 -0400 Organization: A noiseless patient Spider Message-ID: 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> <878v3kj83t.fsf@kuiper.lan.informatimago.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 1368391562 13659 80.91.229.3 (12 May 2013 20:46:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 May 2013 20:46:02 +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-0006KO-F7 for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2013 22:46:02 +0200 Original-Received: from localhost ([::1]:57074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubd9e-0005sD-4v for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2013 16:46:02 -0400 Original-Path: usenet.stanford.edu!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 55 Injection-Info: mx05.eternal-september.org; posting-host="b8816fa7300cd668c1c8ea38fc847e8a"; logging-data="30307"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QZHXla6nF3L2Uhmv2/S3+2nYqRCOr5aE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:e59eNjU6ovi9qtKezUIDp5xlrMs= sha1:ciH4eza+NGzBXzngq7FW8UXNyPs= Original-Xref: usenet.stanford.edu gnu.emacs.help:198406 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:90674 Archived-At: "Pascal J. Bourguignon" writes: > 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. Ah, something to search for that might yield results. Searching for "vim games", I found this: http://www.vim.org/scripts/script.php?script_id=172 Downloading and looking at tetris.vim I see that vim has some kind of command language, with functions, buffer access, arithmetic: fu! s:Sort() wh line('.')>1&&matchstr(getline(line('.')-1),'\d\+$')