unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 19853@debbugs.gnu.org
Subject: bug#19853: Acknowledgement (25.0.50; ElDoc is displayed whether eldoc-mode is enabled or not)
Date: Sun, 20 Mar 2016 19:34:22 +0100	[thread overview]
Message-ID: <87shzlkngx.fsf@web.de> (raw)
In-Reply-To: <4b554a3b-bc21-859e-4cfc-3c82901ea32f@yandex.ru> (Dmitry Gutov's message of "Sun, 20 Mar 2016 20:25:11 +0200")

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 03/20/2016 08:21 PM, Michael Heerdegen wrote:
>
> > I think it's simpler that way: `global-eldoc-mode' adds its stuff to the
> > global hook bindings.  Thus toggling the global mode has an instant
> > effect on all buffers.  The globalized local eldoc mode would only have
> > an effect in new buffers or after changing the major mode.
>
> That's not true: turning off a globalized mode turns off the related
> minor mode in all buffers. So, instant effect as well.

Right, but turning on is different, right?


> The current implementation, however, is not "simpler": both modes set
> up hooks. For some reasons, they also do that in slightly different
> ways.

I mean, conceptually simpler (slightly).  But that's surely a matter of
taste.

> > What exactly is this bug report about (this question, or the
> > statement in the subject, for which you didn't provide a recipe)?
>
> I did provide a recipe, in the bug description.

I thought you mean a lighter, but you mean the effect of eldoc mode:
echoing in the echo area with "ElDoc is displayed", correct?

I see that too in emacs -Q, but global-eldoc-mode is on by default, so
this is expected.  You get eldoc echoing when either the local mode is
turned on for this buffer, or the global mode (and the current buffer is
treated by the global mode).  Don't you see this, or do think this
behavior is wrong?


Michael.





  reply	other threads:[~2016-03-20 18:34 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13 11:56 bug#19853: 25.0.50; ElDoc is displayed whether eldoc-mode is enabled or not Dmitry Gutov
     [not found] ` <handler.19853.B.142382861219223.ack@debbugs.gnu.org>
2015-07-21 13:48   ` bug#19853: Acknowledgement (25.0.50; ElDoc is displayed whether eldoc-mode is enabled or not) Dmitry Gutov
2016-03-20 10:00     ` bug#19853: eldoc-mode vs. global-eldoc-mode (was: bug#19853) Marcin Borkowski
     [not found]     ` <87r3f5eaei.fsf_-_@mbork.pl>
2016-03-20 12:41       ` bug#19853: eldoc-mode vs. global-eldoc-mode Dmitry Gutov
2016-03-20 13:17         ` Marcin Borkowski
2016-03-20 13:25           ` Dmitry Gutov
2016-03-20 14:14             ` Marcin Borkowski
2016-03-20 17:08               ` Dmitry Gutov
2016-03-20 18:21     ` bug#19853: Acknowledgement (25.0.50; ElDoc is displayed whether eldoc-mode is enabled or not) Michael Heerdegen
2016-03-20 18:25       ` Dmitry Gutov
2016-03-20 18:34         ` Michael Heerdegen [this message]
2016-03-20 18:52           ` Dmitry Gutov
2016-03-20 19:20             ` Michael Heerdegen
2016-03-20 19:27               ` Dmitry Gutov
2016-03-20 19:53                 ` Michael Heerdegen
2016-03-20 20:24                   ` Dmitry Gutov
2016-03-20 21:10                     ` Michael Heerdegen
2016-03-20 21:15                       ` Dmitry Gutov
2016-03-20 21:24                         ` Michael Heerdegen
2016-03-21  4:02                           ` Marcin Borkowski
2016-03-22 15:29                           ` Michael Heerdegen
2016-03-22 15:38                             ` Stefan Monnier
2016-03-23 15:16                               ` Michael Heerdegen
2016-03-23 15:25                                 ` Dmitry Gutov
2016-03-27  0:31                                 ` John Wiegley
2017-05-29 23:57                                   ` Dmitry Gutov
2017-05-30 22:02                                     ` John Wiegley

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87shzlkngx.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=19853@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).