all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: user3341592 <user47795-cAwOlEar6MYS+FvcfC7Uqw@public.gmane.org>
To: 18346-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#18346: Missing feature; smart contextual documentation (help buffers)
Date: Thu, 28 Aug 2014 19:50:18 +0200	[thread overview]
Message-ID: <86lhq8h5b9.fsf@somewhere.org> (raw)

Here is a missing feature which Stefan asked to report.

See http://stackoverflow.com/questions/25551120/bind-f1-to-smart-contextual-documentation-help-buffers.

--8<---------------cut here---------------start------------->8---
Is there a function which I could bind on F1 in Emacs, which would give
me (in a temporary or persistent buffer) contextual documentation on the
"symbol" under point?

IIUC, that'd give the same results as:

- C-c C-v RET in ESS buffers (= ess-display-help-on-object)
- C-h f/v RET in Emacs Lisp buffers (= describe-function/variable)
- C-h S in Shell buffers (= info-lookup-symbol) + M-x man-follow?
- ??? in AWK, C, Java
- ??? in AUCTeX buffers (well, that may be a big dream ;-))
- ...

Somehow, Auto-Complete does that job (at least in ESS and Emacs Lisp
buffers), as it displays the right help (on functions, on variables,
etc.) in its "quick help" tooltip. Though, it's only displayed in the
completion process, not after.

I first thought that info-lookup-symbol would be (part of) the solution,
but it already does NOT work in ESS, so it's pretty very limited...

What should I bind onto F1, then?
--8<---------------cut here---------------end--------------->8---





                 reply	other threads:[~2014-08-28 17:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=86lhq8h5b9.fsf@somewhere.org \
    --to=user47795-cawolear6mys+fvcfc7uqw@public.gmane.org \
    --cc=18346-ubl+/3LiMTaZdePnXv/OxA@public.gmane.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.
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.