* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
@ 2009-01-02 8:01 David Abrahams
2009-01-02 9:11 ` Michael Albinus
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: David Abrahams @ 2009-01-02 8:01 UTC (permalink / raw)
To: emacs-pretest-bug
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
This is arguably a feature request, but it seems so glaring that you
might consider it a bug. If I'm in an xterm and type `info dbus' I get
a nice info session about emacs/dbus integration. But there doesn't
seem to be any way to visit the same page from within emacs using
info-mode other than `M-: (info "dbus")'. This seems needlessly
inconvenient. `C-u M-x info <RET> dbus <RET>' ought to get me to the
same node if there's no info file named "dbus" in the current working
directory. Also, there should be some syntax to disambiguate:
`C-u M-x info <RET> :dbus <RET>' maybe
Thanks and regards,
Dave
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/23.0.60/etc/DEBUG for instructions.
In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
of 2008-12-12 on mcbain
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure '--with-x-toolkit=gtk' '--prefix=/usr/local''
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: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Help
Minor modes in effect:
shell-dirtrack-mode: t
diff-auto-refine-mode: t
show-paren-mode: t
global-auto-revert-mode: t
delete-selection-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
view-mode: t
Recent input:
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-s l o k C-p
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n <end> M-< M-x i n f o C-g
C-g C-u 1 M-x i n f o <tab> <return> C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p
<tab> <return> SPC SPC SPC SPC SPC <backspace> SPC
SPC SPC SPC SPC SPC SPC SPC SPC <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <Info> <Go to Node...>
d b u s <return> <backspace> <backspace> <tab> <tab>
<backspace> <backspace> <tab> C-g C-g <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <Info> <Reference>
<Getting Started> <help-echo> <down-mouse-1> <mouse-1>
q M-x x <backspace> I n f o <tab> h e l <tab> <return>
C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p
C-p C-. SPC SPC SPC q <help-echo> <help-echo> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> M-x i n f o <tab>
- b u <tab> <tab> <M-backspace> <M-backspace> I n f
o <tab> - <backspace> b u <tab> <tab> C-g C-g M-x r
e p <tab> p o <tab> <backspace> <backspace> o r <tab>
<return>
Recent messages:
Mark saved where search started
Mark set [2 times]
Quit [2 times]
Composing main Info directory...done
uncompressing info.gz...done
Making completion list...
Quit [2 times]
uncompressing info.gz...done
Quit [2 times]
Making completion list...
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2009-01-02 8:01 bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC David Abrahams
@ 2009-01-02 9:11 ` Michael Albinus
2009-01-02 14:48 ` Stephen Berman
2012-02-09 21:42 ` Glenn Morris
2 siblings, 0 replies; 13+ messages in thread
From: Michael Albinus @ 2009-01-02 9:11 UTC (permalink / raw)
To: David Abrahams; +Cc: 1761
David Abrahams <dave@boostpro.com> writes:
> This is arguably a feature request, but it seems so glaring that you
> might consider it a bug. If I'm in an xterm and type `info dbus' I get
> a nice info session about emacs/dbus integration. But there doesn't
> seem to be any way to visit the same page from within emacs using
> info-mode other than `M-: (info "dbus")'. This seems needlessly
> inconvenient. `C-u M-x info <RET> dbus <RET>' ought to get me to the
> same node if there's no info file named "dbus" in the current working
> directory. Also, there should be some syntax to disambiguate:
> `C-u M-x info <RET> :dbus <RET>' maybe
When you are in Info mode of Emacs, you can type "g (dbus)". This will
show you the DBus info page, if there is a corresponding file in one of
the directories of `Info-default-directory-list'.
> Thanks and regards,
> Dave
Best regards, Michael.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2009-01-02 8:01 bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC David Abrahams
2009-01-02 9:11 ` Michael Albinus
@ 2009-01-02 14:48 ` Stephen Berman
2009-01-06 21:06 ` Juri Linkov
2012-02-09 21:42 ` Glenn Morris
2 siblings, 1 reply; 13+ messages in thread
From: Stephen Berman @ 2009-01-02 14:48 UTC (permalink / raw)
To: David Abrahams; +Cc: emacs-pretest-bug, 1761
On Fri, 02 Jan 2009 03:01:27 -0500 David Abrahams <dave@boostpro.com> wrote:
> This is arguably a feature request, but it seems so glaring that you
> might consider it a bug. If I'm in an xterm and type `info dbus' I get
> a nice info session about emacs/dbus integration. But there doesn't
> seem to be any way to visit the same page from within emacs using
> info-mode other than `M-: (info "dbus")'. This seems needlessly
> inconvenient. `C-u M-x info <RET> dbus <RET>' ought to get me to the
> same node if there's no info file named "dbus" in the current working
> directory. Also, there should be some syntax to disambiguate:
> `C-u M-x info <RET> :dbus <RET>' maybe
I also wanted something like that, so I wrote this as a start:
(defun srb-info ()
"Enter Info at the Info file the user chooses, tabbing for completion.
If you type parentheses around the Info file name and then type a
node name, e.g. `(emacs)Buffers', then Info enters the file at
that node (completion for nodes below the file level is not
provided)."
(interactive)
(require 'info)
(let (files idx info-files info-file)
(dolist (d Info-default-directory-list files)
(when (file-readable-p d)
(setq files (cons (directory-files d) files))))
(setq files (append (car files) (cadr files)))
(dolist (f files)
(setq idx (string-match "\\." f))
(setq info-files (cons (substring f 0 idx) info-files)))
(dolist (f info-files)
(when (string-match "-[1-9][0-9]?$" f)
(setq info-files (delete f info-files))))
(setq info-file (completing-read "Info file name: " info-files))
(unless (string-match "^\([^ ]+\)" info-file)
(setq info-file (concat "(" info-file ")")))
(Info-goto-node info-file)))
Steve Berman
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2009-01-02 14:48 ` Stephen Berman
@ 2009-01-06 21:06 ` Juri Linkov
2009-01-06 22:17 ` Stephen Berman
0 siblings, 1 reply; 13+ messages in thread
From: Juri Linkov @ 2009-01-06 21:06 UTC (permalink / raw)
To: Stephen Berman; +Cc: David Abrahams, emacs-pretest-bug, 1761
>> This is arguably a feature request, but it seems so glaring that you
>> might consider it a bug. If I'm in an xterm and type `info dbus' I get
>> a nice info session about emacs/dbus integration. But there doesn't
>> seem to be any way to visit the same page from within emacs using
>> info-mode other than `M-: (info "dbus")'. This seems needlessly
>> inconvenient. `C-u M-x info <RET> dbus <RET>' ought to get me to the
>> same node if there's no info file named "dbus" in the current working
>> directory. Also, there should be some syntax to disambiguate:
>> `C-u M-x info <RET> :dbus <RET>' maybe
>
> I also wanted something like that, so I wrote this as a start:
But "g (dbus)" already can complete on a file name when point is located
after the opening parenthesis.
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2009-01-06 21:06 ` Juri Linkov
@ 2009-01-06 22:17 ` Stephen Berman
2009-01-07 0:48 ` David Abrahams
0 siblings, 1 reply; 13+ messages in thread
From: Stephen Berman @ 2009-01-06 22:17 UTC (permalink / raw)
To: Juri Linkov; +Cc: David Abrahams, emacs-pretest-bug, 1761
On Tue, 06 Jan 2009 23:06:38 +0200 Juri Linkov <juri@jurta.org> wrote:
>>> This is arguably a feature request, but it seems so glaring that you
>>> might consider it a bug. If I'm in an xterm and type `info dbus' I get
>>> a nice info session about emacs/dbus integration. But there doesn't
>>> seem to be any way to visit the same page from within emacs using
>>> info-mode other than `M-: (info "dbus")'. This seems needlessly
>>> inconvenient. `C-u M-x info <RET> dbus <RET>' ought to get me to the
>>> same node if there's no info file named "dbus" in the current working
>>> directory. Also, there should be some syntax to disambiguate:
>>> `C-u M-x info <RET> :dbus <RET>' maybe
>>
>> I also wanted something like that, so I wrote this as a start:
>
> But "g (dbus)" already can complete on a file name when point is located
> after the opening parenthesis.
From within Info, yes, but the purpose of the function I wrote (and what
I understood the OP to be requesting) is to open any info file with a
single command invocation when you're not in Info mode.
Steve Berman
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2009-01-06 22:17 ` Stephen Berman
@ 2009-01-07 0:48 ` David Abrahams
0 siblings, 0 replies; 13+ messages in thread
From: David Abrahams @ 2009-01-07 0:48 UTC (permalink / raw)
To: Stephen Berman; +Cc: emacs-pretest-bug, 1761
on Tue Jan 06 2009, Stephen Berman <stephen.berman-AT-gmx.net> wrote:
> On Tue, 06 Jan 2009 23:06:38 +0200 Juri Linkov <juri@jurta.org> wrote:
>
>>>> This is arguably a feature request, but it seems so glaring that you
>>>> might consider it a bug. If I'm in an xterm and type `info dbus' I get
>>>> a nice info session about emacs/dbus integration. But there doesn't
>>>> seem to be any way to visit the same page from within emacs using
>>>> info-mode other than `M-: (info "dbus")'. This seems needlessly
>>>> inconvenient. `C-u M-x info <RET> dbus <RET>' ought to get me to the
>>>> same node if there's no info file named "dbus" in the current working
>>>> directory. Also, there should be some syntax to disambiguate:
>>>> `C-u M-x info <RET> :dbus <RET>' maybe
>>>
>>> I also wanted something like that, so I wrote this as a start:
>>
>> But "g (dbus)" already can complete on a file name when point is located
>> after the opening parenthesis.
>
>>From within Info, yes, but the purpose of the function I wrote (and what
> I understood the OP to be requesting) is to open any info file with a
> single command invocation when you're not in Info mode.
That's exactly right. It's a very odd that I can type "info foo" at the
shell command-line and get what I want, but Emacs makes me look at the
entire info index before I can tell it that I'm really interested in a
section that isn't in the index.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2009-01-02 8:01 bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC David Abrahams
2009-01-02 9:11 ` Michael Albinus
2009-01-02 14:48 ` Stephen Berman
@ 2012-02-09 21:42 ` Glenn Morris
2012-02-10 9:52 ` Andreas Schwab
2 siblings, 1 reply; 13+ messages in thread
From: Glenn Morris @ 2012-02-09 21:42 UTC (permalink / raw)
To: 1761-done
Version: 24.1
David Abrahams wrote:
> This is arguably a feature request, but it seems so glaring that you
> might consider it a bug. If I'm in an xterm and type `info dbus' I get
> a nice info session about emacs/dbus integration. But there doesn't
> seem to be any way to visit the same page from within emacs using
> info-mode other than `M-: (info "dbus")'. This seems needlessly
> inconvenient.
Now you can use
M-x info-display-manual RET dbus RET
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2012-02-09 21:42 ` Glenn Morris
@ 2012-02-10 9:52 ` Andreas Schwab
2012-02-10 10:33 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2012-02-10 9:52 UTC (permalink / raw)
To: 1761
Glenn Morris <rgm@gnu.org> writes:
> Version: 24.1
>
> David Abrahams wrote:
>
>> This is arguably a feature request, but it seems so glaring that you
>> might consider it a bug. If I'm in an xterm and type `info dbus' I get
>> a nice info session about emacs/dbus integration. But there doesn't
>> seem to be any way to visit the same page from within emacs using
>> info-mode other than `M-: (info "dbus")'. This seems needlessly
>> inconvenient.
>
> Now you can use
>
> M-x info-display-manual RET dbus RET
You can also use g (dbus) in any info buffer.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2012-02-10 9:52 ` Andreas Schwab
@ 2012-02-10 10:33 ` Eli Zaretskii
2012-02-10 12:08 ` Andreas Schwab
0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2012-02-10 10:33 UTC (permalink / raw)
To: Andreas Schwab; +Cc: 1761
> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Fri, 10 Feb 2012 10:52:15 +0100
>
> Glenn Morris <rgm@gnu.org> writes:
>
> > Version: 24.1
> >
> > David Abrahams wrote:
> >
> >> This is arguably a feature request, but it seems so glaring that you
> >> might consider it a bug. If I'm in an xterm and type `info dbus' I get
> >> a nice info session about emacs/dbus integration. But there doesn't
> >> seem to be any way to visit the same page from within emacs using
> >> info-mode other than `M-: (info "dbus")'. This seems needlessly
> >> inconvenient.
> >
> > Now you can use
> >
> > M-x info-display-manual RET dbus RET
>
> You can also use g (dbus) in any info buffer.
"g (dbus)" loads the dbus manual into the current info buffer, which
means you lose the previous manual that was loaded there.
info-display-manual doesn't have that problem.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2012-02-10 10:33 ` Eli Zaretskii
@ 2012-02-10 12:08 ` Andreas Schwab
2012-02-10 15:27 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2012-02-10 12:08 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 1761
Eli Zaretskii <eliz@gnu.org> writes:
> "g (dbus)" loads the dbus manual into the current info buffer, which
> means you lose the previous manual that was loaded there.
l will go back there, though.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2012-02-10 12:08 ` Andreas Schwab
@ 2012-02-10 15:27 ` Eli Zaretskii
2012-02-10 17:57 ` Andreas Schwab
2012-02-12 21:20 ` Juri Linkov
0 siblings, 2 replies; 13+ messages in thread
From: Eli Zaretskii @ 2012-02-10 15:27 UTC (permalink / raw)
To: Andreas Schwab; +Cc: 1761
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: 1761@debbugs.gnu.org
> Date: Fri, 10 Feb 2012 13:08:16 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > "g (dbus)" loads the dbus manual into the current info buffer, which
> > means you lose the previous manual that was loaded there.
>
> l will go back there, though.
True. But in my workflow, I want all the manuals I need to be
available simultaneously, so they can be displayed side by side when I
need that. YMMV, of course.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2012-02-10 15:27 ` Eli Zaretskii
@ 2012-02-10 17:57 ` Andreas Schwab
2012-02-12 21:20 ` Juri Linkov
1 sibling, 0 replies; 13+ messages in thread
From: Andreas Schwab @ 2012-02-10 17:57 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 1761
Eli Zaretskii <eliz@gnu.org> writes:
> True. But in my workflow, I want all the manuals I need to be
> available simultaneously, so they can be displayed side by side when I
> need that. YMMV, of course.
This is apparently irrelevant to the OP.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC
2012-02-10 15:27 ` Eli Zaretskii
2012-02-10 17:57 ` Andreas Schwab
@ 2012-02-12 21:20 ` Juri Linkov
1 sibling, 0 replies; 13+ messages in thread
From: Juri Linkov @ 2012-02-12 21:20 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 1761, Andreas Schwab
>> > "g (dbus)" loads the dbus manual into the current info buffer, which
>> > means you lose the previous manual that was loaded there.
>>
>> l will go back there, though.
>
> True. But in my workflow, I want all the manuals I need to be
> available simultaneously, so they can be displayed side by side when I
> need that. YMMV, of course.
Before `g (dbus)' you can type `M-n' (`clone-buffer').
Or type `C-u g (dbus)' and it will display a new Info buffer
with the name "*info-(dbus)*".
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2012-02-12 21:20 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-02 8:01 bug#1761: 23.0.60; Can't reach info nodes that aren't in TOC David Abrahams
2009-01-02 9:11 ` Michael Albinus
2009-01-02 14:48 ` Stephen Berman
2009-01-06 21:06 ` Juri Linkov
2009-01-06 22:17 ` Stephen Berman
2009-01-07 0:48 ` David Abrahams
2012-02-09 21:42 ` Glenn Morris
2012-02-10 9:52 ` Andreas Schwab
2012-02-10 10:33 ` Eli Zaretskii
2012-02-10 12:08 ` Andreas Schwab
2012-02-10 15:27 ` Eli Zaretskii
2012-02-10 17:57 ` Andreas Schwab
2012-02-12 21:20 ` Juri Linkov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).