unofficial mirror of bug-gnu-emacs@gnu.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: 24.0.50; emacs_dir behavior too cumbersome for use within msys
Date: Mon, 12 Sep 2011 04:36:31 -0400	[thread overview]
Message-ID: <E1R320F-0003PF-VO@fencepost.gnu.org> (raw)
In-Reply-To: <CAE1rE+FbnbyrKpn5boN2M1FgJVZ87h0wTw_DOWuYJ02w6OjU6Q@mail.gmail.com> (message from CRLF0710 on Mon, 12 Sep 2011 16:01:44 +0800)

> From: CRLF0710 <crlf0710@gmail.com>
> Date: Mon, 12 Sep 2011 16:01:44 +0800
> 
> emacs_dir is a special environment variable on Win32. If Emacs.exe is
> located in a "bin/" directory, it will be calculated, which is not a
> desired behavior at all times.
> 
> One might want to use it in msys and organize the emacs files in a way
> similiar to that of *nix systems. To fulfill this, one might want to
> set emacs_dir to the *:/share/emacs/<version>/ directory. This works
> unless the emacs.exe is in the *:/bin directory(in fact any directory
> which is not with the name "bin" or "i386").

Sorry, I don't follow your use case and the problems you are
experiencing due to the setting of emacs_dir.  Please describe in more
details:

  . in which directory you want to install the emacs.exe binary
  . why do you need to break the structure of the Emacs tree that is
    assumed by the current code
  . what does this all have to do with MSYS

IOW, this installation should work:

   X:/share/emacs/<version>/bin/emacs.exe
   X:/share/emacs/<version>/lisp/
   X:/share/emacs/<version>/etc/

This should also work:

   X:/usr/local/bin/emacs.exe
   X:/share/emacs/<version>/lisp/
   X:/share/emacs/<version>/etc/
   set EMACSLOADPATH=X:/share/emacs/<version>/lisp
   set EMACSDATA=X:/share/emacs/<version>/etc
   set EMACSDOC=X:/share/emacs/<version>/etc

Both of the above should work without any need to change anything in
the code.

If you need some different configuration, please describe it and the
rationale for using it rather than the supported ones.

Thanks.





  reply	other threads:[~2011-09-12  8:36 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 [this message]
     [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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1R320F-0003PF-VO@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).