From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13616 invoked by alias); 13 Dec 2016 16:47:57 -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: 22214 Received: (qmail 22951 invoked from network); 13 Dec 2016 16:47:57 -0000 X-Qmail-Scanner-Diagnostics: from mailout1.lrz.de by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(129.187.255.135):SA:0(-2.3/5.0):. Processed in 1.326202 secs); 13 Dec 2016 16:47:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: zsh.Andy@spiegl.de X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at spiegl.de does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at lrz.de in lxmhs65.srv.lrz.de Date: Tue, 13 Dec 2016 17:47:50 +0100 From: Andy Spiegl To: zsh-users@zsh.org Subject: Re: Howto to print ENTER to zle-buffer? Message-ID: <20161213164749.5gfrgorfe2ad4edr@spiegl.de> Mail-Followup-To: zsh-users@zsh.org References: <20161213150101.lgcl6r44gc5b4sia@spiegl.de> <161213081230.ZM21776@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <161213081230.ZM21776@torch.brasslantern.com> X-gpg-key: ID C2CB30F0, available on friendly keyservers near you X-gpg-fingerprint: 9051 50B9 13B0 57B9 10FD 48AC 4FA1 209B C2CB 30F0 X-Accepted-File-Formats: ASCII PDF Open/Free Formats - NO proprietory (e.g. Microsoft) files, please X-how-to-quote: http://quoting.is-easy.de/ X-how-to-ask-questions: http://www.catb.org/~esr/faqs/smart-questions.html X-stupid-disclaimers: http://goldmark.org/jeff/stupid-disclaimers/ X-angstklauseln: http://www.heise.de/artikel-archiv/ct/2014/08/136_Angstklauseln User-Agent: Mutt/1.6.2-neo (2016-08-21) > If for some reason you really need the command executed within ZLE, Actually, yes. It's for sort of a session-management I'm trying to write. > you will have to create a zle-line-init widget that will accept the > line and then remove or update itself that so it doesn't run it a > second time. Uffda, sounds complicated. Could you help me with that a bit, please? Thanks so much! Andy -- If riding in an airplane is flying, then riding in a boat is swimming.