Mail Archives: djgpp/1997/11/19/20:03:44
Stefano Brozzi wrote:
>
> Hi all,
I know a bit about info and emacs, so I can help you with some of your
problems.
> I'm having problems with the command, (emacs 20.2)
> info-lookup-symbol
> for a context search in the libc.info (note that I renamed .inf into
> info)
> from a file .c. On every lookup, the error message is
You want a context-sensitive libc lookup, right? The code I use for
this is:
;;; Automatic online help for library functions
(autoload 'find-tag-tag "etags")
(autoload 'Info-find-node "info")
(defun libc-help (arg)
(interactive (list (find-tag-tag "C library topic: ")))
(Info-find-node "libc" arg))
;
Then I map the function to C-f1 with:
(define-key c-mode-map [C-f1] 'libc-help)
This seems to be a lot simpler than whatever you are doing...
> BTW4:
> Why emacs places, most of the times, the mouse pointer in the upper
> right corner ? Should I live togheter with this or some workaround is
> available ?
This is called the mouse avoidance mode. When this feature is on, Emacs
helpfully moves the mouse pointer out of the way when you type
anything. The command to control it is called mouse-avoidance-mode;
look it up to see all possible settings.
hth
--
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? C++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---)
O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++
e(*)>++++ h!() !r !y+()
------END GEEK CODE BLOCK------
- Raw text -