* info index C point positioning
@ 2002-07-23 22:39 Kevin Ryde
2002-07-25 18:07 ` Richard Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Ryde @ 2002-07-23 22:39 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]
In GNU Emacs 21.1.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2001-12-07 on raven, modified by Debian
configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
I noticed in Info mode pressing "i" to do an index search for a C
function often doesn't leave point at the right place in the node.
For example in the glibc manual, "i write" leaves point with the
mention of `write' at the top of the node, rather than the "Function"
definition part.
I think the regexp in Info-find-index-name doesn't account for a
return type with a function definition. Perhaps a looser search could
be added, per below.
[-- Attachment #2: info.el.index-name.diff --]
[-- Type: application/x-patch, Size: 484 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: info index C point positioning
2002-07-23 22:39 info index C point positioning Kevin Ryde
@ 2002-07-25 18:07 ` Richard Stallman
2002-07-26 23:07 ` Kevin Ryde
0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2002-07-25 18:07 UTC (permalink / raw)
Cc: emacs-devel
I installed a variant of this. Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: info index C point positioning
2002-07-25 18:07 ` Richard Stallman
@ 2002-07-26 23:07 ` Kevin Ryde
2002-07-28 2:42 ` Richard Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Ryde @ 2002-07-26 23:07 UTC (permalink / raw)
Richard Stallman <rms@gnu.org> writes:
>
> I installed a variant of this. Thanks.
>
> "[a-zA-Z]+: [a-zA-Z0-9_]+ %s\\( \\|$\\)"
Perhaps space, * and & could be in that character class too, to allow
multi-word return values (eg. "unsigned long int strtoul"), pointers
("void * malloc") and c++ references ("myclass& foo").
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: info index C point positioning
2002-07-26 23:07 ` Kevin Ryde
@ 2002-07-28 2:42 ` Richard Stallman
0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2002-07-28 2:42 UTC (permalink / raw)
Cc: emacs-devel
Perhaps space, * and & could be in that character class too, to allow
multi-word return values (eg. "unsigned long int strtoul"), pointers
("void * malloc") and c++ references ("myclass& foo").
You are right. Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-07-28 2:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-23 22:39 info index C point positioning Kevin Ryde
2002-07-25 18:07 ` Richard Stallman
2002-07-26 23:07 ` Kevin Ryde
2002-07-28 2:42 ` Richard Stallman
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.