From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.bugs Subject: bug#35887: 26.1; global-eldoc-mode minibuffer noise is very annoying Date: Fri, 24 May 2019 15:35:25 -0600 Message-ID: <20190524151617874644844@bob.proulx.com> References: <87sgt3k4w0.fsf@hysteria.proulx.com> <85tvdjd1gy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="73407"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 35887@debbugs.gnu.org To: npostavs@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 24 23:40:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hUHv7-000J1i-DZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 May 2019 23:40:09 +0200 Original-Received: from localhost ([127.0.0.1]:60406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUHv6-0005vy-8E for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 May 2019 17:40:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUHuz-0005uR-KS for bug-gnu-emacs@gnu.org; Fri, 24 May 2019 17:40:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUHr8-00023L-PI for bug-gnu-emacs@gnu.org; Fri, 24 May 2019 17:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUHr8-000234-Gq for bug-gnu-emacs@gnu.org; Fri, 24 May 2019 17:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hUHr8-0005HH-CJ for bug-gnu-emacs@gnu.org; Fri, 24 May 2019 17:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bob Proulx Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2019 21:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35887 X-GNU-PR-Package: emacs Original-Received: via spool by 35887-submit@debbugs.gnu.org id=B35887.155873373620242 (code B ref 35887); Fri, 24 May 2019 21:36:02 +0000 Original-Received: (at 35887) by debbugs.gnu.org; 24 May 2019 21:35:36 +0000 Original-Received: from localhost ([127.0.0.1]:47490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUHqg-0005GO-F3 for submit@debbugs.gnu.org; Fri, 24 May 2019 17:35:36 -0400 Original-Received: from havoc.proulx.com ([96.88.95.61]:38572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUHqe-0005GB-1R for 35887@debbugs.gnu.org; Fri, 24 May 2019 17:35:32 -0400 Original-Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id C5DD0529; Fri, 24 May 2019 15:35:25 -0600 (MDT) Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 4713D21125; Fri, 24 May 2019 15:35:25 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 3DEA22DC7D; Fri, 24 May 2019 15:35:25 -0600 (MDT) Content-Disposition: inline In-Reply-To: <85tvdjd1gy.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159735 Archived-At: npostavs@gmail.com wrote: > Bob Proulx writes: > > In recent Emacs global-eldoc-mode has been enabled by default. This is > > a very annoying mode that causes minibuffer hints of elisp doc strings > > to be flashing by in the minibuffer as the point moves around in the > > buffer. > > Your description of "flashing" suggests that maybe you some graphical > glitching? When I see the eldoc text show up in the minibuffer there is > nothing that I would call "flashing". The text just appears normally. You misunderstand my words. I said "as the point moves around in the buffer". Which means that this is due to the point moving around the buffer. This is not a graphics artifact. To test this use text mode emacs in a text terminal to ensure that you will have no graphics artifacts from emacs. Let's assume an elisp construct. Put the cursor on the (defun line then move down to the doc string line. The second line in the below. (defun unfill-paragraph (&optional region) ; Thanks to Stefan Monnier "Takes a multi-line paragraph and makes it into a single line of text." (interactive (progn (barf-if-buffer-read-only) '(t))) (let ((fill-column (point-max)) ;; This would override `fill-column' if it's an integer. (emacs-lisp-docstring-fill-column t)) (fill-paragraph nil region))) The following string appears in the minibuffer. The DOCSTRING word is highlighted. defun: (NAME ARGLIST &optional *DOCSTRING* DECL &rest BODY) C-n or Down-Arrow to move to the next line. This then appears in the minibuffer. defun: (NAME ARGLIST &optional DOCSTRING *DECL* &rest BODY) The DECL word is hightlighted. C-n again. defun: (NAME ARGLIST &optional DOCSTRING DECL &rest *BODY*) The BODY word is highlighted. C-n again. On the comment line. The minibuffer is cleared. No message there. C-n again. No message. C-n again. The flil-paragraph line. The following appears. The BODY word is highlighted. let: (VARLIST *BODY*...) C-n again. Blank line. The minibuffer is cleared. The above is a small snippet I selected for this example. But now do this through a large elisp file. With every C-n next-line movement the minibuffer is displaying or clearing a doc string hint. With every next-line movement the highlighted word in the minibuffer is moving from one word to another word. This is driving me crazy! This continous activity, changing, and flashing is extremely annoying. The minibuffer is where I expect to find useful editor feedback. When things happen there I look to see what it is telling me. Sometimes it is an error message. Sometimes it is direct dialog interaction such as for find-file. Sometimes it is simply information such as "Mark set". But with global-eldoc-mode enabled it is continously posting distractions in the minibuffer that I must look at, read and comprehend, and then ignore. This increases the editing workload. This increases use fatigue. Please revert the default enabling of global-eldoc-mode. Bob