Summary: | Info node for emacs-21 not working in khelpcenter or konqueror | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | José A. Cañizo <mail01789-kdebugs> |
Component: | default | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | mail, nicolasg, ostroffjh |
Priority: | NOR | ||
Version: | 18.04.2 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
José A. Cañizo
2005-01-24 18:34:09 UTC
I cannot confirm. For me, Emacs' info file works, including node 21 (RMail, Dired, Calendar) The info pages on my system are also in /usr/share/info however gzipped. Have a nice day! It does happen in my system. As I said, problems seem to happen when info pages are inside a directory under /usr/share/info. I'll leave the bug as unconfirmed. Apparently, KDE Bugs has not accepted what I have written earlier. Too bad! So I am asking a short version of what I had written: what is the URL (for example info:/emacs/Dired ) given by Konqueror when the message error is triggered. (I am aware that they are many apparently, I just want one of them.) Have a nice day! And I forgot the second part of what I had asked: can you confirm that it is not bug #104728 (the only other known bug for info:). The bug is by using the "Up" button. Otherwise said: can you get your error message without using the "Up" button at all? Have a nice day! The error happens, for example, when using the following address in Konqueror: info:/emacs-21/emacs/Top The error obtained is: Error The Info node emacs/top in Info file /usr/share/info/emacs-21 does not exist. The above address is the one that appears in the links in Khelpcenter under the node Emacs, and it gives the same error from there. This is all you need to get the error, so it is not bug #104728. Hope this helps! On Monday 15 August 2005 02:57, José wrote: [bugs.kde.org quoted mail] Yes, and that is the problem. From where does the "emacs-21" come from? > The error obtained is: > > Error > > The Info node emacs/top in Info file /usr/share/info/emacs-21 does not > exist. > > The above address is the one that appears in the links in Khelpcenter under So probably the address comes from an index. So I am going to look in that direction. > the node Emacs, and it gives the same error from there. This is all you > need to get the error, so it is not bug #104728. > > Hope this helps! I do not know yet, but at least it shows a new direction and that is a good sign. Have a nice day! I think there was a misunderstanding. I have found out that the Emacs on my system has the version 21.3. Suddenly the 21 gives another meaning than the 21st file of Emacs' info pages. Sorry for the confusion. I did mean version 21 of Emacs; I am using 21.4.1 . In my system there is a directory /usr/share/info/emacs-21 under which there are many gzipped files: emacs.gz, emacs-1.g, emacs-2.gz..., gnus.gz, gnus-1.gz... On Tuesday 16 August 2005 17:55, José wrote:
(...)
> ------- Additional Comments From mail01789-kdebugs yahoo com 2005-08-16
> 17:55 ------- Sorry for the confusion. I did mean version 21 of Emacs; I am
> using 21.4.1 . In my system there is a directory /usr/share/info/emacs-21
> under which there are many gzipped files: emacs.gz, emacs-1.g,
> emacs-2.gz..., gnus.gz, gnus-1.gz...
Can you give me the content of your $INFOPATH and $INFODIR environment
variables?
These are handled by the Perl script that generates the HTML files out of info
files but perhaps it is not enough.
Have a nice day!
It seems they are not defined in my system: I get an empty line as the answer to the next two commands: echo $INFOPATH echo $INFODIR The help script for KDE has a configuration file: kde-info2html.conf Perhaps you could find it on your system and try to modify it. There is a list of directories: #-- location of info files. our @INFODIR = ( "/usr/share/info", "/usr/info", "/usr/lib/info", # "/usr/lib/teTeX/info", "/usr/local/info", "/usr/local/lib/info", "/usr/X11R6/info", "/usr/X11R6/lib/info", "/usr/X11R6/lib/xemacs/info" ); You could modify that list, like for example: #-- location of info files. our @INFODIR = ( "/usr/share/info", "/usr/share/info/emacs-21", "/usr/info", "/usr/lib/info", # "/usr/lib/teTeX/info", "/usr/local/info", "/usr/local/lib/info", "/usr/X11R6/info", "/usr/X11R6/lib/info", "/usr/X11R6/lib/xemacs/info" ); Have a nice day! Some new info on this bug. It still happens in KDE 3.5.3. After looking at it again, it seems that what happens is the following: in my Debian/testing system, * /usr/share/info is listed in @INFODIR in the file kde-info2html.conf * /usr/share/info/emacs-21 is not listed there. Then, trying to access info:/emacs-21/emacs/Top does not look for the info node 'Top' in the info file /usr/share/info/emacs-21/emacs. Instead, it looks for the info node 'emacs/Top' in the file /usr/share/info/emacs-21. In my system, this is a directory and konqueror gives an error. To say it another way: If the directory /usr/share/info/emacs-21 is not in @INFODIR, I can't access any of the info files under it by using the info: protocol (even if /usr/share/info is in @INFODIR). If I add the directory '/usr/share/info/emacs-21' to @INFODIR in kde-info2html.conf, then I can access the info files in it with, for example, info:/emacs. Maybe this is the expected behavior and one should add /usr/share/info/emacs-21 to @INFODIR, and then it may be a bug in the Debian distribution. But note also that if I go to info:/ and click on the link for "emacs", it takes me to info:/emacs-21/emacs/Top, which gives the above error, even when the node for emacs is correctly listed in the file /usr/share/info/dir as 'Emacs: (emacs-21/emacs).' Even if I add /usr/share/info/emacs-21 to @INFODIR the link from info:/ won't work, though by doing that I can manually access the info file. Suggestion: in an adress for the info:/ protocol, there should be a way to specify which part is the file and which part is the node inside the file. Then, the link for emacs-21/emacs/Top should take advantage of it so that kde-info2html does not get confused. I hope this helps! This bug is now more than a decade old, and interestingly enough I am still able to reproduce this: running kioclient5 exec info:/emacs-24/emacs returns an error (" The Info node emacs in Info file /usr/share/info/emacs-24 does not exist."). I'll therefore move this bug report over to kio-extras, but it might take another decade until this is fixed ;) |