From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#47860: 28.0.50; Mini buffer resize when lines are truncated regression Date: Sun, 18 Apr 2021 19:15:55 -0500 Message-ID: References: <835z0kulkq.fsf@gnu.org> <83blabtqqz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8482"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47860@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 19 02:17:23 2021 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 1lYHbO-0001yF-Qq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 02:17:22 +0200 Original-Received: from localhost ([::1]:58492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYHbN-0003dp-E4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 20:17:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYHb4-0003di-RP for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 20:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYHb4-0006Ee-Ej for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 20:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYHb4-0008It-AN for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 20:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2021 00:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47860 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161879137431857 (code B ref -1); Mon, 19 Apr 2021 00:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Apr 2021 00:16:14 +0000 Original-Received: from localhost ([127.0.0.1]:48041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYHaH-0008Hj-Vk for submit@debbugs.gnu.org; Sun, 18 Apr 2021 20:16:14 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYHaG-0008Hc-42 for submit@debbugs.gnu.org; Sun, 18 Apr 2021 20:16:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYHaF-0003c0-K4 for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 20:16:11 -0400 Original-Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]:36762) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYHaD-0005ro-G0; Sun, 18 Apr 2021 20:16:11 -0400 Original-Received: by mail-yb1-xb31.google.com with SMTP id k73so30428478ybf.3; Sun, 18 Apr 2021 17:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FaNe2YCFHkv3hVE0hnEyi94RlDIGMDFCVm4ObFmPzJI=; b=TFGjN7Ulx+ADukT3TiKkvhytNhlkbbkJ3O9CeB8DM0vLbaw72M7VVZ0d/zS+bQBx0D gO7FMvpgG+kRh0/nx3ubI4nb6suJVlmiDtsz/tZmKckF8YBGtCaxx0+OX/twnmu924t4 feuV6nI+gIOfM135ZHo4JxueCjg8jtMrEz6ZFAavR5fMpo7zG2rGkuISyh3ijoJ7v68x 7IxHo4uXYz4Ro038Z++Et8ILAL6ZHWv5UzQtMw0EaLzkasZddTKzSfQfPrxTsH8ctbVN 58VCkZ/nRx5smJ5yCZweDFezqFEGsGKIyTdBxnDTdYUJ2qYozm9QOW+KINvs07tguDQL 2vaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FaNe2YCFHkv3hVE0hnEyi94RlDIGMDFCVm4ObFmPzJI=; b=eEkAaxi7NWVZ9wMHUS0GBBagtAMQ8O/Kti8YVyl6lWi8/zIiZp42OTycVck3fOrRmE I90FsQyBQ8jSsX0DrblpBSrsEm34Av4eIA5LyQd8vJXWlmOIccfFgLqtC0LEL86UNZgt +9LkRiHNyCtcJXLwjuKEdVBb84GmT2V1Vt9OYa7ENNPy/A+7QBAIUVPPC0ovTS+LvRV/ 9yGnpPXP076xVWwL5+pNl7DKwwI5drbC6VYJselWL9/NmThVf9lcnvyOeDzn9jz8GOad VCwGFD8a0iVbW78wmAUE3EtuYVHwQB5nC210Ypeluzq0xJbxsghAVT0VGB6TxxyeyEf4 n85w== X-Gm-Message-State: AOAM5303hGkTKaIjqaT1UVD8IYXd+QCMRqxMvWJQaA/I/qKk86q9QgSt rMzdfYI9cjCiiZszVBz8CEAw0wIYp0GrzA+/l1FvDdfOubrwjw== X-Google-Smtp-Source: ABdhPJx4/w0vRs24vpSE/cnJy8B50nktXvcyyMfGIrjpLimxLQPeL2y/kc1M2FyODi1M1WUyxBfo2h0yp155MvX7kc4= X-Received: by 2002:a25:a226:: with SMTP id b35mr12448635ybi.275.1618791367552; Sun, 18 Apr 2021 17:16:07 -0700 (PDT) In-Reply-To: <83blabtqqz.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::b31; envelope-from=aaronjensen@gmail.com; helo=mail-yb1-xb31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:204417 Archived-At: On Sun, Apr 18, 2021 at 1:03 PM Eli Zaretskii wrote: > > I haven't been able to get selectrum out of the mix yet. > > Too bad. Okay, narrowed it down: (setq hook (lambda nil (remove-hook 'minibuffer-setup-hook hook) (setq-local overlay (make-overlay (point) (point) nil 'front-advance 'rear-advance)) (setq-local truncate-lines t) (setq minibuf-after-string "a\nbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\nccc") ;; (setq minibuf-after-string "a\nbbbbbbb\nccc") (move-overlay overlay (point-max) (point-max)) (overlay-put overlay 'after-string minibuf-after-string))) (unwind-protect (progn (add-hook 'minibuffer-setup-hook hook t) (read-from-minibuffer "")) (remove-hook 'minibuffer-setup-hook hook))