From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28769 invoked by alias); 25 Feb 2015 05:09:39 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19922 Received: (qmail 18591 invoked from network); 25 Feb 2015 05:09:27 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=T/C1EZ6Q c=1 sm=1 tr=0 a=kPKDuYVJvYornGqTqrLWrw==:117 a=kPKDuYVJvYornGqTqrLWrw==:17 a=VNsaWKQvMhEA:10 a=N659UExz7-8A:10 a=kt581v7Iar1fmP4rPIIA:9 a=pILNOxqGKmIA:10 Message-id: <54ED5902.4020907@eastlink.ca> Date: Tue, 24 Feb 2015 21:09:22 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: 'run ahead' execution of script References: <54ECCE79.9050809@eastlink.ca> <54ECD4B5.709@pobox.com> <54ECEFFD.5010202@eastlink.ca> <150224182115.ZM23209@torch.brasslantern.com> <54ED3796.5070704@eastlink.ca> <54ED40CB.5010005@pobox.com> In-reply-to: <54ED40CB.5010005@pobox.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 02/24/2015 07:26 PM, Andrew Janke wrote: > From what i understand, it's not OS level; it's "Desktop Environment" > level. The level that GNOME, KDE, et al live at, a few layers up the > stack from the OS per se. On the Linux side, the semantics of that > isn't entirely hashed out yet. For geany specifically, check out their > "Sockets support" stuff, which governs how multiple geany processes > interact. Looks like it's trying to be somewhat DE-agnostic. But is > still primarily targeting invocation from a GUI environment, not a > shell CLI. > > If you want a comparison, check out the `subl` command that's part of > the Sublime Text distribution. Sublime Text is an editor that's native > to the Mac OS X desktop environment, but provides a `subl` command > adapter that has options for integration in to command line workflows. > It's aware of how a persistent app (a graphical server, basically) > would interact with individual invocations from shell sessions. In > particular, it has a blocking "-w" option to "wait for files to be > closed before returning" that does pretty much what you're looking for > here. This might be a model for extending geany to work with > shell-driven editing. > > Cheers, > Andrew Thanks Andrew, that's most interesting.