unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Csepp <raingloom@riseup.net>
To: bokr@bokr.com
Cc: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>,
	61882@debbugs.gnu.org, Csepp <raingloom@riseup.net>
Subject: bug#61882: emacs-next-pgtk does not find emacs-org-roam, other path issues
Date: Wed, 01 Mar 2023 17:11:12 +0100	[thread overview]
Message-ID: <87edq8sal2.fsf@riseup.net> (raw)
In-Reply-To: <20230301144027.GA37832@LionPure>


bokr@bokr.com writes:

> Hi,
>
> On +2023-03-01 12:16:56 +0100, Csepp wrote:
> [...]
>> How the hell would my paths affect what's in the bin folder?  Like, the
>> flatpak binary is literally not present in the profile, that's why it's
>> not showing up in $PATH.
>
> Could something in one of your path directories
> accidentally have gotten a name starting with '-' ?
> (or full name '-')?
>
> Surprising things can happen depending on how an
> app rejects an unexpected option, or tries to use it :)
>
> BTW: If you can't delete a file named '-'
>      try emacs dirmode. IIRC emacs seems to see
>      anything and be able to delete it.
>
> Do you have any scripts that are both sourced and executed?
> If so, are they doing return or exit respectively or
> something trickier as intended?

So, first things first:
% guix package -I | grep -E '(flatpak|roam)'
emacs-org-roam      	2.2.2-0.74422df   	out       	/gnu/store/bxxjy8ydm62fr0bckxfrj27xnlvqbfmy-emacs-org-roam-2.2.2-0.74422df
flatpak             	1.14.1            	out       	/gnu/store/mf0k987xvpgk79l74lmdjv9jz8gy8cdf-flatpak-1.14.1

Both are installed.

ls $(guix build flatpak)/bin/
flatpak  flatpak-bisect  flatpak-coredumpctl

The store paths also match.

This path also exists:
$(guix build emacs-org-roam)/share/emacs/site-lisp/org-roam-2.2.2-0.74422df

I don't know the details of how Emacs loads things, but org-roam has an
org-roam-autoloads.el while lsp-mode (a package that does work) does
not.

Some relevant paths:
EMACSLOADPATH=/home/raingloom/.guix-profile/share/emacs/site-lisp
PATH=/home/raingloom/.local/bin:/run/setuid-programs:/home/raingloom/.config/guix/current/bin:/home/raingloom/.guix-profile/bin:/home/raingloom/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin

The only additional item is on PATH and at worst it would shadow an
existing flatpak binary.  But it doesn't, there is just a single utility
script there that I should probably get rid of.

Also:
guix shell --check -p .guix-profile
This seems to hang.  Or at least it's taking an awful long time for
something so simple.

I'm running Guix as my system distro and I'm not in the habit of adding
random junk to my dotfiles, so I would be rather surprised if this
turned out to be a path issue, especially when it's obvious the packages
are literally not even showing up in the profile they are supposed to
show up in.

% ls ~/.guix-profile/share/emacs/site-lisp/

This does not print any org-roam directory.




  reply	other threads:[~2023-03-01 16:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01  2:58 bug#61882: emacs-next-pgtk does not find emacs-org-roam, other path issues Csepp
2023-03-01  9:25 ` Liliana Marie Prikler
2023-03-01 11:16   ` Csepp
2023-03-01 14:40     ` bokr
2023-03-01 16:11       ` Csepp [this message]
2023-03-02  7:11         ` Liliana Marie Prikler
2023-03-02 12:39           ` Csepp
     [not found] ` <handler.61882.B.167763983720587.ack@debbugs.gnu.org>
2023-04-06 14:59   ` bug#61882: profile is frozen / packages can't be installed Csepp
2023-10-04  2:54     ` bug#61882: emacs-next-pgtk does not find emacs-org-roam, other path issues Maxim Cournoyer
2023-10-08 14:29       ` Csepp
2023-10-08 20:51         ` Maxim Cournoyer
2023-10-10 22:52           ` Csepp
2023-10-11  1:47             ` Maxim Cournoyer
2023-10-15 20:06               ` Csepp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edq8sal2.fsf@riseup.net \
    --to=raingloom@riseup.net \
    --cc=61882@debbugs.gnu.org \
    --cc=bokr@bokr.com \
    --cc=liliana.prikler@ist.tugraz.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).