From: Kaushal Modi <kaushal.modi@gmail.com>
To: "John Ankarström" <john@ankarstrom.se>,
"Help Gnu Emacs mailing list" <help-gnu-emacs@gnu.org>
Subject: Re: Lisp help messages in echo area
Date: Sun, 16 Jul 2017 18:36:06 +0000 [thread overview]
Message-ID: <CAFyQvY2HakME5=nym+xLLtWbuMS5SBzX+8_FRocdodvL4Mo+hQ@mail.gmail.com> (raw)
In-Reply-To: <87d1908ck2.fsf@ankarstrom.se>
On Sun, Jul 16, 2017, 2:25 PM John Ankarström <john@ankarstrom.se> wrote:
> Hello all,
>
> I have a really simple question: what function triggers the Emacs
> Lisp help messages in the echo area?
>
> For example, when I put my cursor inside a (defun) expression,
> the following displays in the echo area:
>
> --8<---------------cut here---------------start------------->8---
> defun: (NAME ARGLIST &optional DOCSTRING DECL &rest BODY)
> --8<---------------cut here---------------end--------------->8---
>
That's eldoc-mode.
I'm asking because I'd like to fix the function
> `outshine-self-insert-command' from the `outshine' package, which
> doesn't trigger the Lisp help message, unlike the default
> `self-insert-command'.
>
> If anybody knows the answer, or has any pointers as to where I
> should look, I'd be greatful.
>
Yeah that's annoying. Thankfully this fixes it:
(with-eval-after-load 'eldoc
(eldoc-add-command 'outshine-self-insert-command))
> --
Kaushal Modi
next prev parent reply other threads:[~2017-07-16 18:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-16 18:24 Lisp help messages in echo area John Ankarström
2017-07-16 18:36 ` Kaushal Modi [this message]
2017-07-16 19:01 ` John Ankarström
2017-07-16 19:45 ` Kaushal Modi
2017-07-21 15:37 ` Kaushal Modi
2017-07-17 1:44 ` Emanuel Berg
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='CAFyQvY2HakME5=nym+xLLtWbuMS5SBzX+8_FRocdodvL4Mo+hQ@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=john@ankarstrom.se \
/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.
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).