gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tooltip-help.el --- show help as tooltip


From: Emilio Lopes
Subject: Re: tooltip-help.el --- show help as tooltip
Date: Fri, 02 Mar 2007 21:14:10 +0100
User-agent: Emacs Gnus

address@hidden com writes:

> If the cursor is ON a symbol then help is shown for that symbol.

> If the cursor is after or before a symbol then the function symbol
> belonging to the containing sexp is used. If no such symbol is
> found then a nearby symbol is tried.

> If the symbol has both function and variable bindings then both of
> them are shown together in the tooltip.

> When function help is shown and the cursor is in the argument list
> then the relevant argument is highlighted in the documentation.
> (Using code copied from Emacs Wiki.)

What are its advantages over `eldoc-mode'?

   eldoc-mode is an interactive autoloaded Lisp function in `eldoc'.
   (eldoc-mode &optional arg)

   Toggle ElDoc mode on or off.
   In ElDoc mode, the echo area displays information about a
   function or variable in the text where point is.  If point is
   on a documented variable, it displays the first line of that
   variable's doc string.  Otherwise it displays the argument list
   of the function called in the expression point is on.

   With prefix arg, turn ElDoc mode on if and only if arg is positive.

-- 
Emílio C. Lopes
Munich, Germany


reply via email to

[Prev in Thread] Current Thread [Next in Thread]