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 18:40:12 -0400 Organization: A noiseless patient Spider Message-ID: References: <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 1368420893 25549 80.91.229.3 (13 May 2013 04:54:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 May 2013 04:54:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 13 06:54:52 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 1Ubkmi-0003bR-4O for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 06:54:52 +0200 Original-Received: from localhost ([::1]:44688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubkmh-0001EK-Rb for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 00:54:51 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 82 Injection-Info: mx05.eternal-september.org; posting-host="b8816fa7300cd668c1c8ea38fc847e8a"; logging-data="18567"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yt59usCgOiMNJV4Grg9f4UNQZ/8KX0/Y=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:0rTofPzyyY/DWmePb0mi4/nyG1o= sha1:TsKqULnlTfFGFQwWUNsE4ur0S5I= Original-Xref: usenet.stanford.edu gnu.emacs.help:198415 X-Mailman-Approved-At: Mon, 13 May 2013 00:52:21 -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:90683 Archived-At: Jai Dayal writes: > You did not know this already? I stated that Vim has a language of its own > already. If you don't even know Vim basics, you shouldn't comment on Vim. Wow, you're so smart, I don't feel I'm qualified to read your posts. So, welcome to my kill file. You don't need to email people when you reply to posts either but go for it if you like. You won't get past my mail filters for long. Still don't know how to post and you certainly don't know how to carry on a civilized discussion. > On Sun, May 12, 2013 at 4:00 PM, Dan Espen wrote: > >> "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\+$')> -2|endw >> let s:pos=line('.') >> g/^$/d >> 11,$d _ >> redr >> endf >> >> >> I'd don't know if it approaches the power of Emacs Lisp, but there >> is enough there for games. >> >> -- >> Dan Espen >> -- Dan Espen