delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/19/20:03:44

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Emacs and various problems
Date: Thu, 20 Nov 1997 18:59:55 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 51
Message-ID: <347488AB.5924@cs.com>
References: <3472F197 DOT 658C AT mag00 DOT cedi DOT unipr DOT it>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp220.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019