From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#49931: 28.0.50; `choose-completion' submits incorrect string when minibuffer content changes after creation of the *Completions* buffer Date: Sat, 7 Aug 2021 19:20:35 +0200 (CEST) Message-ID: Reply-To: Visuwesh Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37106"; mail-complaints-to="usenet@ciao.gmane.io" To: 49931@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 07 22:37:15 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 1mCT4E-0009Ty-Qy for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Aug 2021 22:37:15 +0200 Original-Received: from localhost ([::1]:41642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCT4C-00058F-T9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Aug 2021 16:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCT43-000561-DA for bug-gnu-emacs@gnu.org; Sat, 07 Aug 2021 16:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCT43-00013l-6Y for bug-gnu-emacs@gnu.org; Sat, 07 Aug 2021 16:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCT43-0007jw-3u for bug-gnu-emacs@gnu.org; Sat, 07 Aug 2021 16:37:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Aug 2021 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49931 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.162836861629722 (code B ref -1); Sat, 07 Aug 2021 20:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Aug 2021 20:36:56 +0000 Original-Received: from localhost ([127.0.0.1]:53210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCT3u-0007jI-C9 for submit@debbugs.gnu.org; Sat, 07 Aug 2021 16:36:56 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCQ03-0002wc-AG for submit@debbugs.gnu.org; Sat, 07 Aug 2021 13:20:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCQ03-0001yX-3X for bug-gnu-emacs@gnu.org; Sat, 07 Aug 2021 13:20:43 -0400 Original-Received: from w1.tutanota.de ([81.3.6.162]:50584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCPzz-0008RU-Uq for bug-gnu-emacs@gnu.org; Sat, 07 Aug 2021 13:20:42 -0400 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id EE6D8FA03AD for ; Sat, 7 Aug 2021 17:20:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1628356835; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=wY+RVIQvmvo6ltC9eQgT7S2VGu68vZxW0Nn4YYb9kgE=; b=XznsJhLP0Cn2RoJupxwX+KDy5aUkjQ0rI3RDqE/xm9Ft9TY3kD8G9uoipav4teBf mXdGS9D9HCtH3oQUFrrdQ0XAam7pmyYLJjfonAwc6aa0digGyDDj4eie6M3MIHL7MU5 EPfFJU3bZtlVwaCBpvW6koGrLDdrkOaHi1wyDBmQ35BDPpEWloTJPsSG3HKIfeDs9et WgU6ibmyvpnkucLNajohyPfqDvykcnr4NzpDNuQ/52OB8Ve13eMxwUl5KLb3wqO6ZHA MvPihhP/On3/V8+OWmkLXA0LthUqfwHAJHTubsgN/T3lFt7k9iO0W6BRIjzXQ/nPhnF m67ajSUJKw== Received-SPF: pass client-ip=81.3.6.162; envelope-from=visuwesh@tutanota.com; helo=w1.tutanota.de 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 07 Aug 2021 16:36:53 -0400 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:211387 Archived-At: When one edits the minibuffer content after the creation of *Completions* buffer, `choose-completion' incorrectly submits the wrong string to the command upon selecting a candidate.=C2=A0 To reproduce, 1. Start emacs -Q. 2. Type the following key sequence: C-h f emacs- TAB. 3. Type a. 4. Select `emacs-bzr-get-version' from the *Completions* buffer. 5. "user-error: Symbol=E2=80=99s function definition is void: emacs-bzr-get-versiona" is shown in the echo area. What I expected to happen: I expected `choose-completion' to submit "emacs-bzr-get-version" to describe-function, not "emacs-bzr-get-versiona". Regards. [=C2=A0 P.S. Please add me to the CCs since I'm not subscribed to the maili= ng list.=C2=A0 ] In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, c= airo version 1.16.0) Repository revision: 0b049fe71d73f6885a3c81ea31829e3befc18933 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: NixOS 21.11 (Porcupine) Configured using: 'configure --prefix=3D/nix/store/6gh7ijbrfaahs78syqhjc6f2y7gi76h2-emacs-git-20210806.0 --disable-build-details --with-modules --with-x-toolkit=3Dgtk3 --with-xft --with-cairo' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: =C2=A0 value of $EMACSLOADPATH: =C2=A0 value of $EMACSNATIVELOADPATH: /nix/store/ld3lv1bbi9zx15k3h5hni467gy= qxckjr-emacs-packages-deps/share/emacs/native-lisp:: =C2=A0 value of $LANG: en_GB.UTF-8 =C2=A0 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: =C2=A0 tooltip-mode: t =C2=A0 global-eldoc-mode: t =C2=A0 eldoc-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 tool-bar-mode: t =C2=A0 menu-bar-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t =C2=A0 line-number-mode: t =C2=A0 indent-tabs-mode: t =C2=A0 transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x thingatpt help-fns radix-tree help-mode cl-loaddefs cl-lib iso-transl 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 easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify 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 59485 9215) (symbols 48 6917 1) (strings 32 21260 1804) (string-bytes 1 666531) (vectors 16 14618) (vector-slots 8 188838 7589) (floats 8 21 50) (intervals 56 398 0) (buffers 992 11))