From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Clemens Newsgroups: gmane.emacs.bugs Subject: bug#44080: 27.1; Display behavior of overlays `after-string` in resizable minibuffer frames Date: Mon, 19 Oct 2020 20:39:15 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28811"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: 44080@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 19 20:40:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kUa4x-0007ND-BX for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Oct 2020 20:40:19 +0200 Original-Received: from localhost ([::1]:45742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUa4w-0001wW-6K for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Oct 2020 14:40:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUa4h-0001wN-6D for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2020 14:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUa4g-0005z7-Ck for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2020 14:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUa4g-0005Ru-9Z for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2020 14:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Clemens Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Oct 2020 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44080 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160313277720907 (code B ref -1); Mon, 19 Oct 2020 18:40:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Oct 2020 18:39:37 +0000 Original-Received: from localhost ([127.0.0.1]:42347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUa4G-0005R7-Nj for submit@debbugs.gnu.org; Mon, 19 Oct 2020 14:39:37 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUa4E-0005Qz-Oj for submit@debbugs.gnu.org; Mon, 19 Oct 2020 14:39:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUa4D-0001hR-Uq for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2020 14:39:34 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:36103) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUa4A-0005w1-Co for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2020 14:39:33 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id BC5BD240106 for ; Mon, 19 Oct 2020 20:39:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1603132766; bh=7w9D0e5QilinzcG0jrVsmNA8Y2JQhS+zIgHZR79qf4c=; h=To:Subject:From:Date:From; b=S8kfDj/oXnN35XbuJvFOjJT1bU8mH4eQbDS6XhCN8JGPPJ6tjjOuoJ3123Hyec9sv EpwhfSL4yuvbD/+EbPp3hU1m363jh3q8JaaxTGHeDngEsywYZyZ3nnePakOZs4f1bG d+VxCWvOMAiPnW34zJhcTESPwm1PUFb7mBNY+8WjbY82nkOhLdSHeQdQULBySnVr5N cxv4F9u6Jpzf+k7QpjrMvybEl1XqM384XhkkcJtP3Ynfzmhp3z8lL1jslzgf7WPHJ2 52hilh3gDPbSRzNb7usvCc14RvMOPiBkJlslpAYYbF0ETgyINIyrpXMcfaldB+n3bp HKwAIhOx76fhQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CFQX367BJz6tmq for ; Mon, 19 Oct 2020 20:39:15 +0200 (CEST) Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=clemens.radermacher@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/19 10:31:58 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191026 Archived-At: Hi, there seems to be display bug when using `after-string` to display text in resizable minibuffer frames. To reproduce: 1. `emacs -Q --eval "(setq default-frame-alist '((minibuffer . nil)))"` 2. `eval-buffer` with following code: ```elisp (setq resize-mini-frames t) (defvar ov (make-overlay (point-min) (point-min) nil t t)) (minibuffer-with-setup-hook (lambda () (move-overlay ov (point-max) (point-max) (current-buffer)) ;; Note the initial newline... (overlay-put ov 'after-string "\nHey there, I'm hidden initially and will hide again after any space in the input")) (read-string "Hi? ")) ``` 3. Start typing As stated in the after-string text, it is initially hidden, shows when you input some text and gets hidden again every time you type a space. -- In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-08-20 built on clemera Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.5 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. user-error: Beginning of history; no preceding item Configured using: 'configure --with-modules --with-json --with-cairo' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: de_DE.UTF-8 value of $LC_NUMERIC: de_DE.UTF-8 value of $LC_TIME: de_DE.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 43837 7270) (symbols 48 6003 1) (strings 32 15436 1428) (string-bytes 1 506267) (vectors 16 9260) (vector-slots 8 124508 9186) (floats 8 19 43) (intervals 56 184 0) (buffers 1000 11))