* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables @ 2024-06-17 5:34 Olivier Rojon 2024-06-18 0:20 ` Carlo Zancanaro 0 siblings, 1 reply; 9+ messages in thread From: Olivier Rojon @ 2024-06-17 5:34 UTC (permalink / raw) To: 71606 Hej fellows, I am on a foreign distro (openSUSE) and use Guix as package manager. I have set the INFOPATH so that it points -- among others -- to the path of my current profile which is the canonical `.config/guix/current/share/info`. However, this directory seems to not be correctly populated, for it is missing at least the entry of the `recutils` package which I have installed via the Guix package manager. Confusingly, Emacs doesn't find the recutils info manual (nor the manpages), but invoking `info recutils` from the command line yields the documentation -- despite $INFOPATH being identical in both cases and `~/.config/guix/current/share/info` being part of `Info-directory-list`. Am I doing something wrong, do I have to do something in particular, or is there a misunderstanding on my side as to how the subdirectories of my current profile are supposed to behave? Have a good day :) ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables 2024-06-17 5:34 bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables Olivier Rojon @ 2024-06-18 0:20 ` Carlo Zancanaro 0 siblings, 0 replies; 9+ messages in thread From: Carlo Zancanaro @ 2024-06-18 0:20 UTC (permalink / raw) To: Olivier Rojon; +Cc: 71606 [-- Attachment #1: Type: text/plain, Size: 1253 bytes --] Hi Oliver, On Mon, Jun 17 2024, Olivier Rojon wrote: > [...] the path of my current profile which is the canonical > `.config/guix/current/share/info`. [...] I don't know if it's the source of your problems, but that's the location of the profile for Guix itself, not for your user packages. That is: when you `guix pull` it builds a new Guix profile containing Guix itself, and installs a symlink in ~/.config/guix/current which points to that profile. When you run `guix install recutils` it installs to a different profile which you can find at ~/.guix-profile (as a symlink). When you use Guix Home, which I assume you aren't using, but I'm mentioning just in case, the profile is at ~/.guix-home/profile (again as a symlink). In my config, I add all three of these to INFOPATH and things seem to work properly. I think this may happen if you source the etc/profile file in each of those profiles, but my config explicitly sets INFOPATH as well, for some reason. I've attached the code that I source in ~/.profile on my machines to set up Guix. I believe some of this is now included in the system-wide script the installer installs to /etc/profile.d/zzz-guix.sh, but my config predates that and I haven't been bothered to change it. Carlo [-- Attachment #2: setup-guix.sh --] [-- Type: application/x-sh, Size: 1571 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <2003.99721959315$1718633274@news.gmane.org>]
* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables [not found] <2003.99721959315$1718633274@news.gmane.org> @ 2024-06-17 14:36 ` Suhail Singh 2024-06-17 20:08 ` Olivier Rojon [not found] ` <667097a8.050a0220.491a5.0fdfSMTPIN_ADDED_BROKEN@mx.google.com> 0 siblings, 2 replies; 9+ messages in thread From: Suhail Singh @ 2024-06-17 14:36 UTC (permalink / raw) To: Olivier Rojon; +Cc: 71606 Olivier Rojon <o.rojon@posteo.net> writes: > I have set the INFOPATH so that it points -- among others -- to the > path of my current profile which is the canonical > `.config/guix/current/share/info`. What happens when "${GUIX_PROFILE}/share/info" is added to the INFOPATH? Where ${GUIX_PROFILE} (in my case) is "${HOME}/.guix-profile". -- Suhail ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables 2024-06-17 14:36 ` Suhail Singh @ 2024-06-17 20:08 ` Olivier Rojon [not found] ` <667097a8.050a0220.491a5.0fdfSMTPIN_ADDED_BROKEN@mx.google.com> 1 sibling, 0 replies; 9+ messages in thread From: Olivier Rojon @ 2024-06-17 20:08 UTC (permalink / raw) To: Suhail Singh; +Cc: 71606 Hi Suhail, unfortunately that doesn't change anything -- while I can't find the Info files in Emacs, I can obviously find them using the `info` command in the command line. I am beginning to suspect this is an emacs-specific issue. Suhail Singh <suhailsingh247@gmail.com> writes: > Olivier Rojon <o.rojon@posteo.net> writes: > >> I have set the INFOPATH so that it points -- among others -- to the >> path of my current profile which is the canonical >> `.config/guix/current/share/info`. > > What happens when "${GUIX_PROFILE}/share/info" is added to the INFOPATH? > Where ${GUIX_PROFILE} (in my case) is "${HOME}/.guix-profile". ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <667097a8.050a0220.491a5.0fdfSMTPIN_ADDED_BROKEN@mx.google.com>]
* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables [not found] ` <667097a8.050a0220.491a5.0fdfSMTPIN_ADDED_BROKEN@mx.google.com> @ 2024-06-18 3:08 ` Suhail Singh 2024-06-18 5:13 ` Olivier Rojon [not found] ` <66711766.c80a0220.1d1f8.5be8SMTPIN_ADDED_BROKEN@mx.google.com> 0 siblings, 2 replies; 9+ messages in thread From: Suhail Singh @ 2024-06-18 3:08 UTC (permalink / raw) To: Olivier Rojon; +Cc: 71606, Suhail Singh Olivier Rojon <o.rojon@posteo.net> writes: > I am beginning to suspect this is an emacs-specific issue. Perhaps. FWIW, I am using Guix on a foreign distribution (openSUSE Tumbleweed) and am able to view the info page for recutils from within Emacs (29.3). In my case the info page is installed under "${GUIX_PROFILE}/share/info" and that directory gets added (via the INFOPATH variable) and is present within Info-directory-list . -- Suhail ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables 2024-06-18 3:08 ` Suhail Singh @ 2024-06-18 5:13 ` Olivier Rojon [not found] ` <66711766.c80a0220.1d1f8.5be8SMTPIN_ADDED_BROKEN@mx.google.com> 1 sibling, 0 replies; 9+ messages in thread From: Olivier Rojon @ 2024-06-18 5:13 UTC (permalink / raw) To: Suhail Singh; +Cc: 71606 Do you mind sharing the values of both your `INFOPATH` and your `Info[-]?(additional|default)?-directory-list`? After I opened the issue I realized that this is not the first issue that I have with Emacs and Info (unfortunately). Suhail Singh <suhailsingh247@gmail.com> writes: > Olivier Rojon <o.rojon@posteo.net> writes: > >> I am beginning to suspect this is an emacs-specific issue. > > Perhaps. FWIW, I am using Guix on a foreign distribution (openSUSE > Tumbleweed) and am able to view the info page for recutils from within > Emacs (29.3). > > In my case the info page is installed under "${GUIX_PROFILE}/share/info" > and that directory gets added (via the INFOPATH variable) and is present > within Info-directory-list . ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <66711766.c80a0220.1d1f8.5be8SMTPIN_ADDED_BROKEN@mx.google.com>]
* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables [not found] ` <66711766.c80a0220.1d1f8.5be8SMTPIN_ADDED_BROKEN@mx.google.com> @ 2024-06-18 6:34 ` Suhail Singh 2024-06-18 18:43 ` Olivier Rojon [not found] ` <6671d563.050a0220.8653c.6cf6SMTPIN_ADDED_BROKEN@mx.google.com> 0 siblings, 2 replies; 9+ messages in thread From: Suhail Singh @ 2024-06-18 6:34 UTC (permalink / raw) To: Olivier Rojon; +Cc: 71606, Suhail Singh Olivier Rojon <o.rojon@posteo.net> writes: > Do you mind sharing the values of both your `INFOPATH` "${HOME}/.guix-profile/share/info:${HOME}/.config/guix/current/share/info:" > and your `Info[-]?(additional|default)?-directory-list`? Info-additional-directory-list is nil. Info-default-directory-list is nil. Info-directory-list has a number of entries, but of relevance here is the fact that it has an entry corresponding to "${HOME}/.guix-profile/share/info" which is where recutils' Info document gets installed. -- Suhail ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables 2024-06-18 6:34 ` Suhail Singh @ 2024-06-18 18:43 ` Olivier Rojon [not found] ` <6671d563.050a0220.8653c.6cf6SMTPIN_ADDED_BROKEN@mx.google.com> 1 sibling, 0 replies; 9+ messages in thread From: Olivier Rojon @ 2024-06-18 18:43 UTC (permalink / raw) To: Suhail Singh; +Cc: 71606 Actually, I needed to source `${HOME}/.guix-profile/share/info` and now the problem is solved. Thanks a bunch! Suhail Singh <suhailsingh247@gmail.com> writes: > Olivier Rojon <o.rojon@posteo.net> writes: > >> Do you mind sharing the values of both your `INFOPATH` > > "${HOME}/.guix-profile/share/info:${HOME}/.config/guix/current/share/info:" > >> and your `Info[-]?(additional|default)?-directory-list`? > > Info-additional-directory-list is nil. Info-default-directory-list is > nil. Info-directory-list has a number of entries, but of relevance here > is the fact that it has an entry corresponding to > "${HOME}/.guix-profile/share/info" which is where recutils' Info > document gets installed. ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <6671d563.050a0220.8653c.6cf6SMTPIN_ADDED_BROKEN@mx.google.com>]
* bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables [not found] ` <6671d563.050a0220.8653c.6cf6SMTPIN_ADDED_BROKEN@mx.google.com> @ 2024-06-18 23:22 ` Suhail Singh 0 siblings, 0 replies; 9+ messages in thread From: Suhail Singh @ 2024-06-18 23:22 UTC (permalink / raw) To: Olivier Rojon; +Cc: Suhail Singh, 71606-done Olivier Rojon <o.rojon@posteo.net> writes: > now the problem is solved. Closing the issue. -- Suhail ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-06-18 23:24 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-06-17 5:34 bug#71606: Info manuals don't appear in default profile despite correct(?) environment variables Olivier Rojon 2024-06-18 0:20 ` Carlo Zancanaro [not found] <2003.99721959315$1718633274@news.gmane.org> 2024-06-17 14:36 ` Suhail Singh 2024-06-17 20:08 ` Olivier Rojon [not found] ` <667097a8.050a0220.491a5.0fdfSMTPIN_ADDED_BROKEN@mx.google.com> 2024-06-18 3:08 ` Suhail Singh 2024-06-18 5:13 ` Olivier Rojon [not found] ` <66711766.c80a0220.1d1f8.5be8SMTPIN_ADDED_BROKEN@mx.google.com> 2024-06-18 6:34 ` Suhail Singh 2024-06-18 18:43 ` Olivier Rojon [not found] ` <6671d563.050a0220.8653c.6cf6SMTPIN_ADDED_BROKEN@mx.google.com> 2024-06-18 23:22 ` Suhail Singh
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.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).