all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: CRLF0710 <crlf0710@gmail.com>
Cc: 9481@debbugs.gnu.org
Subject: bug#9481: Fwd: bug#9481: 24.0.50; emacs_dir behavior too cumbersome for use within msys
Date: Mon, 12 Sep 2011 06:40:55 -0400	[thread overview]
Message-ID: <E1R33wd-00058r-Vn@fencepost.gnu.org> (raw)
In-Reply-To: <CAE1rE+HdNdHM4jPM4JTbxgWB+hipUtt+8KOGz62DbGqOyhVXSw@mail.gmail.com> (message from CRLF0710 on Mon, 12 Sep 2011 17:15:46 +0800)

> From: CRLF0710 <crlf0710@gmail.com>
> Date: Mon, 12 Sep 2011 17:15:46 +0800
> 
> What i met is exactly the second case, however one of the environment
> variables should be(according to the code):
> 
> set EMACSLOADPATH=X:/share/emacs/<version>/site-lisp;X:/share/emacs/<version>/../site-lisp;X:/share/emacs/<version>/lisp;X:/share/emacs/<version>/leim
> 
> And with the other two paths, I'll have to repeat the string
> "X:/share/emacs/<version>" for six times, by hand. which is exactly
> the emacs_dir variable.

You set these variables in some startup script or in .bash_rc, and
that's it.  It's a one-time thing.

> So this is a little inconvenient. If you think this case is not TOO
> rare, maybe you can consider fixing it from the code?

I don't mind adding something, but what you originally suggested is a
non-starter, because the current operation with forceful setting of
emacs_dir must stay, as most users need it.  You cannot blindly obey
an external setting of emacs_dir, because it could come from an
incompatible Emacs version, e.g., if one version of Emacs spawns a
shell that then runs another version.

So if you can suggest a way that leaves the emacs_dir variable alone,
but still lets you do what you want more conveniently, please do.
Personally, I don't think that setting 3 environment variables is such
a grave problem, but that's me.

By the way, you didn't tell why you need this configuration and what
does it have to do with MSYS.





  reply	other threads:[~2011-09-12 10:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-12  8:01 bug#9481: 24.0.50; emacs_dir behavior too cumbersome for use within msys CRLF0710
2011-09-12  8:36 ` Eli Zaretskii
     [not found]   ` <CAE1rE+H9fcaZj+XUvy6+rxMg5nv4iAf_nMMM88SJG1ON6GWeUQ@mail.gmail.com>
2011-09-12  9:15     ` bug#9481: Fwd: " CRLF0710
2011-09-12 10:40       ` Eli Zaretskii [this message]
2011-09-12 11:27         ` CRLF0710
2011-09-12 11:58           ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=E1R33wd-00058r-Vn@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=9481@debbugs.gnu.org \
    --cc=crlf0710@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.