unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: john@ankarstrom.se (John Ankarström)
To: help-gnu-emacs@gnu.org
Subject: Lisp help messages in echo area
Date: Sun, 16 Jul 2017 20:24:45 +0200	[thread overview]
Message-ID: <87d1908ck2.fsf@ankarstrom.se> (raw)

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---

This appears to trigger when moving the cursor, but also when
inserting a character. These are two good clues, but I haven't
been able to find it. I haven't yet looked in the Emacs C source
code -- I send this e-mail message hoping that somebody knows the
answer, before I have to get into the C source.

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.

Thanks,

- John



             reply	other threads:[~2017-07-16 18:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-16 18:24 John Ankarström [this message]
2017-07-16 18:36 ` Lisp help messages in echo area Kaushal Modi
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=87d1908ck2.fsf@ankarstrom.se \
    --to=john@ankarstrom.se \
    --cc=help-gnu-emacs@gnu.org \
    /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).