From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jai Dayal Newsgroups: gmane.emacs.help Subject: Re: Does anyone really use emacs in terminal? Date: Sun, 12 May 2013 16:53:27 -0400 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=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1368392045 18238 80.91.229.3 (12 May 2013 20:54:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 May 2013 20:54:05 +0000 (UTC) Cc: help-gnu-emacs To: Dan Espen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 12 22:54:05 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 1UbdHN-0002j0-Jv for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2013 22:54:01 +0200 Original-Received: from localhost ([::1]:60575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbdHN-0008H3-Am for geh-help-gnu-emacs@m.gmane.org; Sun, 12 May 2013 16:54:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbdHB-0008Gy-VV for help-gnu-emacs@gnu.org; Sun, 12 May 2013 16:53:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbdHA-0008Ls-HE for help-gnu-emacs@gnu.org; Sun, 12 May 2013 16:53:49 -0400 Original-Received: from mail-ia0-x232.google.com ([2607:f8b0:4001:c02::232]:53939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbdHA-0008Lo-9z for help-gnu-emacs@gnu.org; Sun, 12 May 2013 16:53:48 -0400 Original-Received: by mail-ia0-f178.google.com with SMTP id i9so2913677iad.9 for ; Sun, 12 May 2013 13:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=e3A0j7FdZTKSbK+wIJ/n4Nu9JgfsIpezFZr+wdwb6Kw=; b=IgtVFOG4KhOkHBHDoTGe64plTc3AhJNznTG6AoWQNZoR5m30PP8fCqvXbBOwtLyWTg YEGuY0VNcbx97Z1l50kg+/3bbwa28Rxi9W4L0HeO3gE9Ose9Q/uOhrCnQNaoyocFPMzi WlCgodxeZ7xq8b9pvPpmfnsJof4Zp3I9mvIhD6MlJ4A/sPIAg7hhoSLtU7UoMgktbuem vv44wwjrNED2DlR57C/b7sror6+PmAsAHVK28YPXsOPCEIwywlzGOqVB1bbs6kp7/HRR SNrUJ4ZTSCDjm/m4i1nJ3g2hi+b+BMA/rG4Z+ndlA2RjC+3gfD4g95T4lGa7RYetYEkY r8LA== X-Received: by 10.50.57.19 with SMTP id e19mr8221533igq.110.1368392027736; Sun, 12 May 2013 13:53:47 -0700 (PDT) Original-Received: by 10.50.73.102 with HTTP; Sun, 12 May 2013 13:53:27 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c02::232 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:90676 Archived-At: 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. 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 o= n > 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 =96 or use a GNU Emacs script > >>> for something less comprehensible=85 > >> 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 proces= s > > 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=3D172 > > 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=3Dline('.') > 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 >