all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Sanel Zukan <sanelz@gmail.com>
Cc: 36886@debbugs.gnu.org
Subject: bug#36886: 26.2; (global-eldoc-mode -1) should disable eldoc completely
Date: Fri, 02 Aug 2019 14:44:33 +0300	[thread overview]
Message-ID: <87d0hn23mm.fsf@tcd.ie> (raw)
In-Reply-To: <8736ijap0e.fsf@example.com> (Sanel Zukan's message of "Fri, 02 Aug 2019 11:35:29 +0200")

Sanel Zukan <sanelz@gmail.com> writes:

> Here is how to reproduce it with emacs -Q:
>
> 1. $ emacs -Q
> 2. M-x (global-eldoc-mode -1)
> ;; by not it should be disabled in mode-line, but if you do this:
> 3. M-: (fboundp '    <-- after entering apostrophe, eldoc will show
> 'fboundp' protoype in mode-line.
>
> Also after (global-eldoc-mode -1), I don't see anwyhere in eldoc.el code
> that eldoc-message-function is changed.

AFAICT eldoc-message-function doesn't need to be changed because it
isn't called when eldoc-mode is disabled.

The reason it ends up being called in your example is that M-:
explicitly and unconditionally enables eldoc-mode in the minibuffer.

Dmitry suggested making this behaviour conditional as a workaround, but
ultimately it would probably be best to try fixing bug#27202 without
messing with eldoc-mode in read--expression.

Thanks,

-- 
Basil





  reply	other threads:[~2019-08-02 11:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01 10:30 bug#36886: 26.2; (global-eldoc-mode -1) should disable eldoc completely Sanel Zukan
2019-08-01 11:37 ` Basil L. Contovounesios
2019-08-01 12:29   ` Sanel Zukan
2019-08-01 13:38   ` Dmitry Gutov
2019-08-02  6:35 ` Eli Zaretskii
2019-08-02  9:35   ` Sanel Zukan
2019-08-02 11:44     ` Basil L. Contovounesios [this message]
2019-08-02 12:00       ` Eli Zaretskii
2019-08-02 13:19         ` Basil L. Contovounesios
2019-08-02 14:28           ` Eli Zaretskii
2019-08-04  0:35             ` Noam Postavsky
2019-08-04  7:51               ` Basil L. Contovounesios
2019-08-04  9:00                 ` Štěpán Němec
2019-08-04 14:34                 ` Noam Postavsky
2019-08-15  0:58                   ` Noam Postavsky
2019-08-15  8:31                     ` Štěpán Němec
2019-08-21  0:24                       ` Noam Postavsky
2019-08-04 16:27               ` Eli Zaretskii
2019-08-02 12:36       ` Sanel Zukan
2019-08-02 11:50     ` Eli Zaretskii
2019-08-02 12:51       ` Sanel Zukan
2019-08-02 14:33         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0hn23mm.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=36886@debbugs.gnu.org \
    --cc=sanelz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.