From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5839 invoked by alias); 16 Jul 2014 20:45:45 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32875 Received: (qmail 26010 invoked from network); 16 Jul 2014 20:45:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.2 X-DKIM: Sendmail DKIM Filter v2.8.3 velox.its.uu.se B440A34DAB DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uu.se; s=centralsmtp; t=1405543534; i=@uu.se; bh=Aki7WdbkoBAwyl5D0tQyV4WPRT1JlaN7RJaGurQqUtk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=Xr4gxcpX9S0cAu0UA4lJYbqIv3SnbwlJ40HqYVixhgLC57pqDAs8emn/mJ60AtScb DZqKqDJQIKozMPEOfFmwEn/fxovTSAykrq6h1r3Xlo0Au6AY5fuJ+SQiD8fXe/3w5G f01Mmt/W4u+bS0zGvyRJovqqvtlZfy7BTRbSJ1iw= From: Emanuel Berg To: zsh-workers@zsh.org Cc: Subject: Re: implicit previous command, only state what should change References: <874myk3ocp.fsf@debian.uxu> <20140715175808.660f4832@pwslap01u.europe.root.pri> <87bnsq9m30.fsf@debian.uxu> <20140716145433.073fda81@pwslap01u.europe.root.pri> Date: Wed, 16 Jul 2014 22:45:35 +0200 In-Reply-To: <20140716145433.073fda81@pwslap01u.europe.root.pri> (Peter Stephenson's message of "Wed, 16 Jul 2014 14:54:33 +0100") Message-ID: <87r41ldocw.fsf@debian.uxu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Bayes-Prob: 0.9548 (Score 5, tokens from: outbound, outbound-uu-se:default, uu-se:default, base:default, @@RPTN) X-p0f-Info: os=Linux 2.6.x, link=Ethernet or modem X-CanIt-Geo: ip=130.243.137.27; country=SE; region=Uppsala; city=Uppsala; latitude=59.8667; longitude=17.6333; http://maps.google.com/maps?q=59.8667,17.6333&z=6 X-CanItPRO-Stream: outbound-uu-se:outbound (inherits from outbound-uu-se:default,uu-se:default,base:default) X-Canit-Stats-ID: 0aMr8Jza3 - 1be655cb821e - 20140716 X-Antispam-Training-Forget: https://mailfilter.sunet.se/canit/b.php?i=0aMr8Jza3&m=1be655cb821e&t=20140716&c=f X-Antispam-Training-Nonspam: https://mailfilter.sunet.se/canit/b.php?i=0aMr8Jza3&m=1be655cb821e&t=20140716&c=n X-Antispam-Training-Spam: https://mailfilter.sunet.se/canit/b.php?i=0aMr8Jza3&m=1be655cb821e&t=20140716&c=s X-CanIt-Archive-Cluster: PfMRe/vJWMiXwM2YIH5BVExnUnw X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.36.171.202 Peter Stephenson writes: > The bit you quote is a reference to the details of > the patch, which you can ignore unless you're > particularly interested in the implementation. > > What I should have said but didn't was, here's a new > function called replace-argument that does that. > That was in the body of the patch, but unless you're > programmed to look at zsh code patches when a new > message arrives you wouldn't notice. Aha, yes, now I see it. I have configured Gnus to auto-fill messages, which works great for text, but scrambles code, so I didn't see it (it looks like a PGP key or something). Are you suggesting I apply it to the zsh source and recompile? If so, how do I use it after that (i.e., what notation)? When I upgrade zsh, wont it disappear? > I'll commit it when I have a couple of minutes spare. You mean to the official zsh source or do you have your own branch? /The hairdresser -- underground experts united