From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9481: 24.0.50; emacs_dir behavior too cumbersome for use within msys Date: Mon, 12 Sep 2011 04:36:31 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1315816614 13476 80.91.229.12 (12 Sep 2011 08:36:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2011 08:36:54 +0000 (UTC) Cc: 9481@debbugs.gnu.org To: CRLF0710 Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 10:36:49 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R320U-0006d1-PG for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 10:36:46 +0200 Original-Received: from localhost ([::1]:49846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R320U-0000B2-C6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 04:36:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R320R-0000Am-Ol for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:36:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R320Q-0005j8-Ik for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:36:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R320Q-0005j4-Dh for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 04:36:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R324c-0003JY-Dg; Mon, 12 Sep 2011 04:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2011 08:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9481-submit@debbugs.gnu.org id=B9481.131581685412729 (code B ref 9481); Mon, 12 Sep 2011 08:41:02 +0000 Original-Received: (at 9481) by debbugs.gnu.org; 12 Sep 2011 08:40:54 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R324T-0003JF-Oq for submit@debbugs.gnu.org; Mon, 12 Sep 2011 04:40:54 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R324S-0003J8-8j for 9481@debbugs.gnu.org; Mon, 12 Sep 2011 04:40:53 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R320F-0003PF-VO; Mon, 12 Sep 2011 04:36:31 -0400 In-reply-to: (message from CRLF0710 on Mon, 12 Sep 2011 16:01:44 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Sep 2011 04:41:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51049 Archived-At: > From: CRLF0710 > 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// 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//bin/emacs.exe X:/share/emacs//lisp/ X:/share/emacs//etc/ This should also work: X:/usr/local/bin/emacs.exe X:/share/emacs//lisp/ X:/share/emacs//etc/ set EMACSLOADPATH=X:/share/emacs//lisp set EMACSDATA=X:/share/emacs//etc set EMACSDOC=X:/share/emacs//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.