From: zimoun <zimon.toutoune@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 38273@debbugs.gnu.org, Jesse Gibbons <jgibbons2357@gmail.com>
Subject: bug#38273: emacs doesn't open files
Date: Fri, 22 Nov 2019 14:42:25 +0100 [thread overview]
Message-ID: <CAJ3okZ0exFT+te_PEvoUNwJ8qcNWzzzohkWPwEquy09Kya5Q4g@mail.gmail.com> (raw)
In-Reply-To: <87lfs8fu97.fsf@gmail.com>
Hi Maxim,
Thank you for all the details.
On Fri, 22 Nov 2019 at 04:46, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
> There's no need to be sorry; that's a pitfall many are likely to
> encounter sooner or later. I'm thinking one common place it'd bite
> users would be when they use their desktop manager's application
> launcher to start Emacs: in this case, the EMACSLOADPATH would be taken
> from what it was at the time they logged in their session, and would
> never be refreshed until the next login.
I do not know if it is related, but the initial report of this bug
seems similar to this bug report [1].
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38309
> --8<---------------cut here---------------start------------->8---
> tree /gnu/store/vhk1ljc45jn465xk3lqx0030qlkp53ws-emacs-grep-a-lot-1.0.7
> /gnu/store/vhk1ljc45jn465xk3lqx0030qlkp53ws-emacs-grep-a-lot-1.0.7
> └── share
> ├── doc
> │ └── emacs-grep-a-lot-1.0.7
> │ └── COPYING
> └── emacs
> └── site-lisp
> └── guix.d
> └── grep-a-lot-1.0.7
> ├── grep-a-lot-autoloads.el
> ├── grep-a-lot.el
> └── grep-a-lot.elc
> --8<---------------cut here---------------end--------------->8---
>
> The motivation for the above layout was to make sure the package files
> wouldn't clash together. I'm not sure if this motivation is truly
> important, given that all the Emacs symbols are global and must already
> be uniquely named to avoid clashes (the common thing to do is to use a
> prefix named after the package for every procedure/variables defined);
> I'd expect the same rigor to be employed when naming the package files.
>
> So, there's a couple things we could do to make the life of users
> better:
>
> 1) Deprecate the use of guix.d and adapt the emacs-build-system so that
> it stops producing it.
It seems the easiest, isn't it? I have a poor understanding of the
details by it seems to simplify how it works.
Maybe, asking on guix-devel to have the inputs of Pierre and/or Alex
should be helpful.
> 2) Contribute a patch to Emacs so that the directories present in the
> EMACSLOADPATH would be searched recursively for packages.
Following time to time the list emacs-devel, I do not how hard it
would be to convince for this kind of change. :-)
> 3) Do nothing and expect the users to use the
> 'guix-set-emacs-environment' (from emacs-guix) to source their user
> profile so that EMACSLOADPATH is refreshed, then issue
> 'guix-emacs-autoload-packages' (from the site-start.el shipped with our
> Emacs package).
>
> The third option seems like too complicated and bothersome to be worth
> explaining to newcomers, so I'd personally go for either 1 or 2.
Even if I am a fan of emacs-guix, I am not sure that this presumption
would be true. I mean that I agree with your comment.
Thank you for all your insights in the Emacs land.
All the best,
simon
next prev parent reply other threads:[~2019-11-22 13:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-19 15:35 bug#38273: emacs doesn't open files Jesse Gibbons
2019-11-19 16:16 ` zimoun
2019-11-19 21:51 ` Maxim Cournoyer
2019-11-20 4:08 ` Jesse Gibbons
2019-11-20 17:20 ` zimoun
2019-11-20 17:19 ` zimoun
2019-11-22 3:46 ` Maxim Cournoyer
2019-11-22 13:42 ` zimoun [this message]
2019-11-19 17:07 ` bug#38274: " Jesse Gibbons
2019-11-19 21:20 ` bug#38273: " Maxim Cournoyer
2019-11-20 4:13 ` Jesse Gibbons
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=CAJ3okZ0exFT+te_PEvoUNwJ8qcNWzzzohkWPwEquy09Kya5Q4g@mail.gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=38273@debbugs.gnu.org \
--cc=jgibbons2357@gmail.com \
--cc=maxim.cournoyer@gmail.com \
/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).