From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16952 invoked by alias); 8 Jun 2018 15:23:47 -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: List-Unsubscribe: X-Seq: 23455 Received: (qmail 17750 invoked by uid 1010); 8 Jun 2018 15:23:47 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot0-f169.google.com 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(74.125.82.169):SA:0(-1.9/5.0):. Processed in 0.484389 secs); 08 Jun 2018 15:23:47 -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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5Fcc6ZnB8eUMC+8jhte2XTvNASPruQN/jiEQ2Ai/ldU=; b=lILjyLV5Aq+cB3OF8LoUPNsYzTTlCMK1OqGF7GNjFH5m1vg+R0UKoTgdmp1Num5LOM mZFWJ0nZW+qpuxwrFKEGGTSQLj++ZoJDzWvxWcqe+OMg5bdmRPGn7nW5G0Pu62sJCKC+ QpN02mUtz32xk3ZtRyt55sB56sTL4Lv75bR3d+al3hFNEQskNrXURRzkYCy2+XYeIXIM SdVtWlStOGpjK46Ignq8gogxJydjwXEmo39ilxMgX9JH74SBmoSuL+Y4WxMnny2yN7+R zTkIBk9UTnwL8qv6PBWAa1+rxM/X8LhObTxhMvVzl8ukwFsY0hg1OLewfrxtf2SdlgwX rpGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5Fcc6ZnB8eUMC+8jhte2XTvNASPruQN/jiEQ2Ai/ldU=; b=CEu2dK41rWt0GcOkyAahRnv5FnKz59ucJSob8MGNNvtxJEKKoC2cQ46AR4s2HTuVep mufHK5+K4xY8NfULdvhLPBKJMb9RsOr5m3P6PUtNvh5hg2xo1KISAc8wXYuurXJqFibQ cpt00NiyhUXLqD8I2XQGs9+nAZRNisuA4J5PuZXFtbzUmA6ex0b7Rm1gPkF0gHuDNS13 deDs7S8tzkUYoR6Tz5IYINSrgs82bugMQiPT4w7THaYRuDODWfzNVaf2ODpzcdu2F7ZV re1jvlqTe+xYv1Dwu1xFsDIN6oUUOMa9BXCXvQ7CIyWWvD1QIwD0HXc2W00CJPYrsPTH BUOQ== X-Gm-Message-State: APt69E1yLn3WIX4gAbhTF9UeZJrYv7ynuRQTIxz9mhOSiWgVHB/mapea PN9j4q3Z7md0OGXb6qYDX2bm8J/EL/LDVHrfYSM= X-Google-Smtp-Source: ADUXVKKRLszn0Qd5p2Y724fomVdDcEV2LQc3yf/UfqfdGBcCbNuRl0A4yFxRKQTzRFEcoIMFO+sEm9w5WAmOkXgFaHE= X-Received: by 2002:a9d:2c8:: with SMTP id 66-v6mr3633032otl.28.1528471424671; Fri, 08 Jun 2018 08:23:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180608151052eucas1p14d1e9f07a274cf908b387a144da0d424~2N-XGwjGo2856728567eucas1p10@eucas1p1.samsung.com> References: <20180608151052eucas1p14d1e9f07a274cf908b387a144da0d424~2N-XGwjGo2856728567eucas1p10@eucas1p1.samsung.com> From: Sebastian Gniazdowski Date: Fri, 8 Jun 2018 17:23:24 +0200 Message-ID: Subject: Re: Cannot tell why POSTDISPLAY doesn't work To: Peter Stephenson Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" On 8 June 2018 at 17:10, Peter Stephenson wrote: > "zle -M" *simply* prints a message. It doesn't interact with > the normal editing buffer at all (which is the thing to which > POSTDISPLAY is appended). So if you're seeing it it's because it's > not overridden by the message. > > It's worth scanning the zshzle manual to see if you're doing something > that might be better dealt with by Zle -R, which does a normal > redisplay with an optional message --- this is commonly the case > when within widgets. I just realized it is zsh-users/zsh-autosuggestions is also using POSTDISPLAY. When I enter weird command with "-" in the middle, then zsh-autosuggestions doesn't have any string to suggest and doesn't touch my POSTDISPLAY. Now how to dig out from this. I've tried zle -R but it doesn't help. -- Best regards, Sebastian Gniazdowski