From unknown Mon Jun 23 00:37:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31749: 26.1; Improve eldoc message commands heuristic Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jun 2018 20:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31749 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 31749@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152840326714189 (code B ref -1); Thu, 07 Jun 2018 20:28:03 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jun 2018 20:27:47 +0000 Received: from localhost ([127.0.0.1]:38442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fR1Va-0003gn-Fa for submit@debbugs.gnu.org; Thu, 07 Jun 2018 16:27:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fR1VY-0003gY-5a for submit@debbugs.gnu.org; Thu, 07 Jun 2018 16:27:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fR1VR-0000KX-2F for submit@debbugs.gnu.org; Thu, 07 Jun 2018 16:27:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fR1VQ-0000Il-T3 for submit@debbugs.gnu.org; Thu, 07 Jun 2018 16:27:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fR1VP-0000Yo-7o for bug-gnu-emacs@gnu.org; Thu, 07 Jun 2018 16:27:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fR1VL-00087T-Sh for bug-gnu-emacs@gnu.org; Thu, 07 Jun 2018 16:27:35 -0400 Received: from mail-qt0-x235.google.com ([2607:f8b0:400d:c0d::235]:37951) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fR1VL-00081N-Il for bug-gnu-emacs@gnu.org; Thu, 07 Jun 2018 16:27:31 -0400 Received: by mail-qt0-x235.google.com with SMTP id x34-v6so11271194qtk.5 for ; Thu, 07 Jun 2018 13:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=xrxIcKWKQqTwaVIJz3tUOVeD05gy9xq8YQDAwhntYiI=; b=kSU8VJlw4FDebrpiLxpYRS7qKdFBQZkFV5M2OA6rJPSkQk51H2ofvY2mP2mGALYRgX w7A7Dy/0hwEfIeKbhK+Xr4GlfS1G65pES0QHV5VimkY6AcgaDww5gcOgcPkl8vC4pYQM /uu1ydtqk7WO2AOFjdUXrXZR8SKPC7H3iLXQiY9bFD2JWe9rblrBNuSgQvANUFFLpUM+ eKOXpMaiPUbRcjepUyk8TxIF7Yj+WiX3pPZUn9STmxbblUtkijr55irGzM4Q3wIkFMlA yeoJOLQLBAyyQMCDgOYkG3GwcSi51woXfA+nd2Psriopb+Ax3vowXz4zV2N8S8NBAUKu mGxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=xrxIcKWKQqTwaVIJz3tUOVeD05gy9xq8YQDAwhntYiI=; b=b3TuievHjWITr+U9Av6q1iT93IjRUCZkIHu2ZNfRTPSVRZetQZnr3/TC3wCyX13+kw jWCsrLwpZK8duIcH143hfqMTmnbkZswsN2zQeX0R57CMWeVPXHb5hqYGZXfScV/qoRYv 5qdr7CH2DTyhDN2kQ+UUhtPqjIdAHrjv01MPdzluK2wNpQkfBWUuHcJ5YZkrfd8GF/rk 9wXfx9ueK6WD8W0O6DU5qbEMPuL7Cps+WPMXZl7UWGVDkxtVwgc0olwnPDUrm5Z+Kkgc jnYWuyUmRjlSkPxU3ZZMsDDMjD4bgtPaq733k4QO1FklNkrb5nuhcKVEE7YfGp2AWxYg tLig== X-Gm-Message-State: APt69E3XpGZyRUSogXm9LM8ryvYrSdoL4hghDRrt87qx4EQBxwD77O28 XtrS99hMiz5xrVIhb2uHpEZ/xQ== X-Google-Smtp-Source: ADUXVKIW9KmwSLuMqmU+OkxCvya4IlIBVeXHn0SXxmmGxOtrnT/jfzgMYPhvDbtgmzL04uH3oEvANQ== X-Received: by 2002:a0c:e043:: with SMTP id y3-v6mr3159592qvk.148.1528403250514; Thu, 07 Jun 2018 13:27:30 -0700 (PDT) Received: from carlos ([190.2.33.33]) by smtp.gmail.com with ESMTPSA id t15-v6sm21256372qtc.66.2018.06.07.13.27.29 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Jun 2018 13:27:30 -0700 (PDT) From: Carlos Pita Date: Thu, 07 Jun 2018 17:18:33 -0300 Message-ID: <87wovabbae.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) The current criterion essentially removes the echo area message after any command not whitelisted in eldoc-message-commands. This is problematic since the list of relevant commands is unknown in advance for evert possible extension package. One could argue that extension package maintainers are responsible then, but I have had many problems with eldoc behaving suboptimally in conjunction with company mode, elpy mode and others (which are all quality extensions) that I wouldn't put the burden of this on the maintainers. Now, I might be completely wrong, but why don't you just check if (current-message) is nil or not? This way if any command has written to the echo area eldoc won't override its message. You can still keep the whitelist in order to force override by eldoc (although I don't see much value in this). You have probably thought many times about this alternative and rejected for reasons I'm unable to see, but it's worth to intent ;) --- In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-05-29 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Manjaro Linux Recent messages: xy eldoc-print-current-symbol-info xy [5 times] Auto-saving... xy [3 times] completing-read-default: Command attempted to use minibuffer while in minibuffer Quit [3 times] xy [2 times] Eldoc mode disabled in current buffer xy [9 times] Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: diff-auto-refine-mode: t pyvenv-mode: t shell-dirtrack-mode: t winner-mode: t show-paren-mode: t ido-everywhere: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 column-number-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 rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils jka-compr eieio-opt speedbar sb-image ezimage dframe find-func misearch multi-isearch trace pp vc-git company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-cmake company-xcode company-clang company-eclim company-template company-css company-nxml company-bbdb flymake-proc flymake warnings display-line-numbers cl-extra yasnippet elec-pair highlight-indentation company edmacro kmacro pcase help-fns radix-tree help-mode elpy find-file-in-project ivy delsel ivy-overlay ffap thingatpt windmove diff-mode easy-mmode elpy-shell pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-profile elpy-django s elpy-refactor subr-x python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time format-spec advice json map grep compile comint ansi-color files-x etags xref project cus-edit wid-edit server doom-tomorrow-night-theme doom-themes doom-themes-common winner ring paren ido cus-start cus-load finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util 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 menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 432278 22386) (symbols 48 34423 1) (miscs 40 683 730) (strings 32 82232 3328) (string-bytes 1 2243476) (vectors 16 54983) (vector-slots 8 978022 24994) (floats 8 196 749) (intervals 56 14759 580) (buffers 992 25)) From unknown Mon Jun 23 00:37:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31749: 26.1; Improve eldoc message commands heuristic Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jun 2018 00:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31749 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Carlos Pita Cc: 31749@debbugs.gnu.org Received: via spool by 31749-submit@debbugs.gnu.org id=B31749.152893503311248 (code B ref 31749); Thu, 14 Jun 2018 00:11:02 +0000 Received: (at 31749) by debbugs.gnu.org; 14 Jun 2018 00:10:33 +0000 Received: from localhost ([127.0.0.1]:47067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTFqT-0002vG-IT for submit@debbugs.gnu.org; Wed, 13 Jun 2018 20:10:33 -0400 Received: from mail-io0-f182.google.com ([209.85.223.182]:33699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTFqS-0002v0-D5; Wed, 13 Jun 2018 20:10:32 -0400 Received: by mail-io0-f182.google.com with SMTP id d185-v6so5369632ioe.0; Wed, 13 Jun 2018 17:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=TqddoY2C+WS3ZuflsOeklqSZYZgrVKSZV4FW8+faRFk=; b=McGo9FNW74gOVrL/MvpOPF9m+wS3YQs2u3kPzGbpY2Z2DsgDH3uRERW5DE7e4TgiXb 98Paq3A0oWRWT8BJl/B0Rh0COVSurgibCxaCCR2dVs71JrfLbr9oH9lM77wIv1mhNXgf HV2++VKVEpGWo6UjkkZkeXCU0YDm6zUamyDbzUslTZETwwtoIBc/Rqz9YE5jZW8ISHos 56vhSBJ1jY0Pas3418wwb/U+4L1zn+NLU+oet7FsP7o8m9X2MoNAB1qmMagdp+fFpWv/ rMCCrufQzyEaT4l6yoKgt89psv9gu//QZfYQzKhlbXhCuPcSBlY2JdEfRs7Yk2UKNjmQ SoWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=TqddoY2C+WS3ZuflsOeklqSZYZgrVKSZV4FW8+faRFk=; b=EmkaZ4gy7ccT/y3Wj9i9hZD2V18sLKKWQs9h9rKfI76mtP10p1sVd5tLCcqXAEeuhs V+vxuU5/otJrCN3k7gj5ENzt2LuT86mbXrcdjKL5xv0S+d/EVwvcBiat2s1MGIp+AzzW KWLNcCOSaoTgBis9zhnrbyCKwtGyHnJ8O+UHIvdMhb+oV9Bf1el7AsDtjWwf3X61jIhD GK/T8OnBN6mMZxCVLttMY8+TXajxQOAO1FQ192fkMSO6AQKWc/2NGlgwNQ+QXH1y6y8h Jw8lPsjoztWVqS5ZaOE959JzbM7Sygu/fbaQJ+5gJ14Ihm2JxO59oz3p5XzfRhfaAa+5 Crsw== X-Gm-Message-State: APt69E2bRCj3xI+bTmLhgem4BELx3tsvmc3STF1fqVd8LvK/V94VizHm 345OMJX38VJxbPLGllXFSwi/jQ== X-Google-Smtp-Source: ADUXVKI50HA6kCXTX7S3Mb7PcPQBtT+aCRPOpwN/Zjd56nJkzPkt+IhMpxsYTH9l4tIkyB3X6Z/z1Q== X-Received: by 2002:a6b:b205:: with SMTP id b5-v6mr323978iof.186.1528935026985; Wed, 13 Jun 2018 17:10:26 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id c102-v6sm369939itd.3.2018.06.13.17.10.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 17:10:26 -0700 (PDT) From: Noam Postavsky References: <87wovabbae.fsf@gmail.com> Date: Wed, 13 Jun 2018 20:10:25 -0400 In-Reply-To: <87wovabbae.fsf@gmail.com> (Carlos Pita's message of "Thu, 07 Jun 2018 17:18:33 -0300") Message-ID: <87vaamw7m6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 31749 wishlist quit Carlos Pita writes: > The current criterion essentially removes the echo area message after > any command not whitelisted in eldoc-message-commands. > > This is problematic since the list of relevant commands is unknown in > advance for evert possible extension package. One could argue that > extension package maintainers are responsible then, but I have had many > problems with eldoc behaving suboptimally in conjunction with company > mode, elpy mode and others (which are all quality extensions) that I > wouldn't put the burden of this on the maintainers. > > Now, I might be completely wrong, but why don't you just check if > (current-message) is nil or not? This way if any command has written to > the echo area eldoc won't override its message. You can still keep the > whitelist in order to force override by eldoc (although I don't see much > value in this). You have probably thought many times about this > alternative and rejected for reasons I'm unable to see, but it's worth > to intent ;) Not sure if anybody's considered this, perhaps you can try it out and see if there are any drawbacks? From unknown Mon Jun 23 00:37:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31749: 26.1; Improve eldoc message commands heuristic Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2021 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31749 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Carlos Pita Cc: 31749@debbugs.gnu.org Received: via spool by 31749-submit@debbugs.gnu.org id=B31749.16124309681664 (code B ref 31749); Thu, 04 Feb 2021 09:30:02 +0000 Received: (at 31749) by debbugs.gnu.org; 4 Feb 2021 09:29:28 +0000 Received: from localhost ([127.0.0.1]:39721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7ax6-0000Qm-3k for submit@debbugs.gnu.org; Thu, 04 Feb 2021 04:29:28 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7ax3-0000QU-Rt for 31749@debbugs.gnu.org; Thu, 04 Feb 2021 04:29:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GAIt8zgRVivortUsiaSTPc6/tOMlT8H4NqvlF8XQcXY=; b=EQBqVJ6gNLOEO9mHVh8nW+RBsT RUNlB4Wzna1Vy2sxQ11VQifa1Eh12jECXSgoS/Xa63jMB3ILtjyECSjrbhO+TWxxsEBCx6dga0fkS pTaWIGgJk6tozK/IEjFfUMySMP/hGwrg/3D9GgDddM3Hwras7uEeK8+5CKIV8jzHuOJ4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7awv-0005EG-4l; Thu, 04 Feb 2021 10:29:19 +0100 From: Lars Ingebrigtsen References: <87wovabbae.fsf@gmail.com> X-Now-Playing: Mac T Dog's _Rogue Pulse: Gravity Collapse (9)_: "Talk Money" Date: Thu, 04 Feb 2021 10:29:15 +0100 In-Reply-To: <87wovabbae.fsf@gmail.com> (Carlos Pita's message of "Thu, 07 Jun 2018 17:18:33 -0300") Message-ID: <87mtwktc44.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Carlos Pita writes: > The current criterion essentially removes the echo area message after > any command not whitelisted in eldoc-message-commands. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Carlos Pita writes: > The current criterion essentially removes the echo area message after > any command not whitelisted in eldoc-message-commands. [...] > Now, I might be completely wrong, but why don't you just check if > (current-message) is nil or not? This way if any command has written to > the echo area eldoc won't override its message. You can still keep the > whitelist in order to force override by eldoc (although I don't see much > value in this). You have probably thought many times about this > alternative and rejected for reasons I'm unable to see, but it's worth > to intent ;) (I'm going through old bug reports that unfortunately got little response at the time.) The way Emacs is messaging things has been changed a bit in Emacs 28, and fewer messages are overwritten in general, but I'm not sure whether this also covers the eldoc messages being discussed here. Do you have a concrete case where eldoc is overwriting a message that it shouldn't? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 04 04:29:31 2021 Received: (at control) by debbugs.gnu.org; 4 Feb 2021 09:29:31 +0000 Received: from localhost ([127.0.0.1]:39724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7ax9-0000RC-DI for submit@debbugs.gnu.org; Thu, 04 Feb 2021 04:29:31 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7ax8-0000Qb-79 for control@debbugs.gnu.org; Thu, 04 Feb 2021 04:29:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fSWiTPxQUXOrYE8qSGcewYmK2XwNnlWx5lrwV+kQDD0=; b=S0cIpjNqVKFK5q7HfakT0hw5Re 1KYxvBcOQpOELMm6cgFoEUIha+1fTj60kDkWmvjcosJTSkXHeulAkWnZlmON507BaVqaYYv/SGAtB nGW/q5OwTrGvZ6lPhlA9BLW+EOgHjAL313sCY23R8rU5W4FVhx4DBpsPP2wmO9IaxY3Q=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7ax0-0005EN-FU for control@debbugs.gnu.org; Thu, 04 Feb 2021 10:29:24 +0100 Date: Thu, 04 Feb 2021 10:29:21 +0100 Message-Id: <87lfc4tc3y.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31749 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 31749 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 31749 + moreinfo quit From unknown Mon Jun 23 00:37:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31749: 26.1; Improve eldoc message commands heuristic Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 01:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31749 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Carlos Pita Cc: 31749@debbugs.gnu.org Received: via spool by 31749-submit@debbugs.gnu.org id=B31749.161551402311116 (code B ref 31749); Fri, 12 Mar 2021 01:54:01 +0000 Received: (at 31749) by debbugs.gnu.org; 12 Mar 2021 01:53:43 +0000 Received: from localhost ([127.0.0.1]:55628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKWzn-0002tE-1H for submit@debbugs.gnu.org; Thu, 11 Mar 2021 20:53:43 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKWzk-0002sw-O9 for 31749@debbugs.gnu.org; Thu, 11 Mar 2021 20:53:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fubfsoRnYxOi8hPlPDWvb6oyEaLJhtKHVRbaMR6NkyU=; b=KNmhHXikPhuUcKQpEix9UmnhdK pcwMcU2D9zaeeepxorDPUZchs0GIWHdFy1tg6V9RzUwBGGhA2CHf+wg75Q36yCpli+Y3/47Tdb5do 0H6LAl/8VYq7puJDlZ9YPCiW9t5z92cq2j/TuCrMR5CKzTTRtwXf35NU6ulXvJQKpRug=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKWzc-0007Vz-5H; Fri, 12 Mar 2021 02:53:34 +0100 From: Lars Ingebrigtsen References: <87wovabbae.fsf@gmail.com> <87mtwktc44.fsf@gnus.org> X-Now-Playing: Joni Mitchell's _Blue_: "Carey" Date: Fri, 12 Mar 2021 02:53:30 +0100 In-Reply-To: <87mtwktc44.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 04 Feb 2021 10:29:15 +0100") Message-ID: <877dmdw31h.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > The way Emacs is messaging things has been changed a bit in Emacs 28, > and fewer messages are overwritten in general, but I'm not sure whether > this also covers the eldoc messages being discussed [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > The way Emacs is messaging things has been changed a bit in Emacs 28, > and fewer messages are overwritten in general, but I'm not sure whether > this also covers the eldoc messages being discussed here. > > Do you have a concrete case where eldoc is overwriting a message that it > shouldn't? More information was requested, but no response was given within a month, so I'm closing this bug report. If the problem still exists, please respond to this email and we'll reopen the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 11 20:53:48 2021 Received: (at control) by debbugs.gnu.org; 12 Mar 2021 01:53:48 +0000 Received: from localhost ([127.0.0.1]:55631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKWzs-0002tY-8S for submit@debbugs.gnu.org; Thu, 11 Mar 2021 20:53:48 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKWzq-0002tC-V4 for control@debbugs.gnu.org; Thu, 11 Mar 2021 20:53:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=keLvr6Btv1GfEutX6KyB0y3Nv/5FpBQcHtFVhVFtpqQ=; b=eYk/DJJHmzeoQNRFnigZITqCPe gFgkYy0may6/gkEfTQ2K2DJn5P+QuaODaByVgRby4MdGDuAIYd31MKrHmOxF0vnlj/0mlr5IuOcqg lRBUDIlltbFAL0ZrUfxkLwCuYhEfmZiRTlIh7pfGF5l5DwYDLLGUmnpvi4TkPPK2oXew=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKWzj-0007W5-42 for control@debbugs.gnu.org; Fri, 12 Mar 2021 02:53:41 +0100 Date: Fri, 12 Mar 2021 02:53:37 +0100 Message-Id: <875z1xw31a.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31749 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 31749 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 31749 quit