all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 27202@debbugs.gnu.org
Subject: bug#27202: 26.0.50; Eldoc mode is broken
Date: Sat, 03 Jun 2017 00:47:22 +0200	[thread overview]
Message-ID: <87poemnh1h.fsf@rosalinde> (raw)
In-Reply-To: <87tw3ynih2.fsf@rosalinde> (Stephen Berman's message of "Sat, 03 Jun 2017 00:16:25 +0200")

On Sat, 03 Jun 2017 00:16:25 +0200 Stephen Berman <stephen.berman@gmx.net> wrote:

> On Sat, 3 Jun 2017 00:18:33 +0300 Dmitry Gutov <dgutov@yandex.ru> wrote:
>
>> On 6/2/17 10:53 PM, Stephen Berman wrote:
>>> 0. emacs -Q
>>> 1. M-: (car SPC
>>> => No function signature in the mode line, whereas before the breakage
>>>     the mode line would display this:
>>>     car: (LIST)
>>
>> Please try 'make bootstrap'. It also stopped working on my machine until I've
>> done that.
>
> Boostrapping latest master didn't fix it here.

I manually reverted this part of 2349f1df1b:

-(define-minor-mode global-eldoc-mode
-  "Toggle Global Eldoc mode on or off.
-With a prefix argument ARG, enable Global Eldoc mode if ARG is
-positive, and disable it otherwise.  If called from Lisp, enable
-the mode if ARG is omitted or nil, and toggle it if ARG is ‘toggle’.
-
-If Global Eldoc mode is on, `eldoc-mode' will be enabled in all
-buffers where it's applicable.  These are buffers that have modes
-that have enabled eldoc support.  See `eldoc-documentation-function'."
+(define-globalized-minor-mode global-eldoc-mode eldoc-mode turn-on-eldoc-mode
   :group 'eldoc
-  :global t
   :initialize 'custom-initialize-delay
-  :init-value t
-  (setq eldoc-last-message nil)
-  (if global-eldoc-mode
-      (progn
-	(add-hook 'post-command-hook #'eldoc-schedule-timer)
-	(add-hook 'pre-command-hook #'eldoc-pre-command-refresh-echo-area))
-    (remove-hook 'post-command-hook #'eldoc-schedule-timer)
-    (remove-hook 'pre-command-hook #'eldoc-pre-command-refresh-echo-area)))
+  :init-value t)

then rebuilt Emacs (just make, not bootstrap), and now Eldoc in the
modeline works here again.

Steve Berman





  reply	other threads:[~2017-06-02 22:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-02 19:53 bug#27202: 26.0.50; Eldoc mode is broken Stephen Berman
2017-06-02 21:18 ` Dmitry Gutov
2017-06-02 22:16   ` Stephen Berman
2017-06-02 22:47     ` Stephen Berman [this message]
2017-06-02 23:05       ` Dmitry Gutov
2017-06-02 23:21         ` Stephen Berman
2017-06-02 23:08     ` Dmitry Gutov
2017-06-02 23:20       ` Stephen Berman
2017-06-02 23:53         ` Dmitry Gutov
2017-06-03  8:59           ` Stephen Berman
2017-06-05 22:05             ` Dmitry Gutov

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=87poemnh1h.fsf@rosalinde \
    --to=stephen.berman@gmx.net \
    --cc=27202@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 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.