From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Do not use ~USER/ on MS-DOS Date: Mon, 02 Mar 2015 15:41:31 +0200 Message-ID: <83a8zvseic.fsf@gnu.org> References: <1425287225-11192-1-git-send-email-mpn@google.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425303804 5286 80.91.229.3 (2 Mar 2015 13:43:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2015 13:43:24 +0000 (UTC) Cc: petewil@google.com, emacs-devel@gnu.org To: Michal Nazarewicz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 02 14:43:14 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YSQck-0008TW-L7 for ged-emacs-devel@m.gmane.org; Mon, 02 Mar 2015 14:43:06 +0100 Original-Received: from localhost ([::1]:57105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSQcj-0000ij-LW for ged-emacs-devel@m.gmane.org; Mon, 02 Mar 2015 08:43:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSQcS-0000ie-Nt for emacs-devel@gnu.org; Mon, 02 Mar 2015 08:42:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSQcN-0005Nd-Ll for emacs-devel@gnu.org; Mon, 02 Mar 2015 08:42:48 -0500 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:35739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSQcN-0005Mb-Cq for emacs-devel@gnu.org; Mon, 02 Mar 2015 08:42:43 -0500 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NKL003006UCNF00@mtaout24.012.net.il> for emacs-devel@gnu.org; Mon, 02 Mar 2015 15:33:43 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKL00OHA706AM50@mtaout24.012.net.il>; Mon, 02 Mar 2015 15:33:43 +0200 (IST) In-reply-to: <1425287225-11192-1-git-send-email-mpn@google.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183565 Archived-At: > From: Michal Nazarewicz > Cc: emacs-devel@gnu.org > Date: Mon, 2 Mar 2015 10:07:05 +0100 > > From: Michal Nazarewicz Thanks. > * lisp/startup.el (command-line): Since ~USER path expansion is not > supported on MS-DOS, use ~/_emacs instead of ~/USER/_emacs on that > system. Actually, ~USER/_emacs _is_ supported on MS-DOS, albeit somewhat crudely. > --- a/lisp/startup.el > +++ b/lisp/startup.el > @@ -1084,7 +1084,7 @@ (defun command-line () > (let ((user-init-file-1 > (cond > ((eq system-type 'ms-dos) > - (concat "~" init-file-user "/_emacs")) > + "~/_emacs") > ((not (eq system-type 'windows-nt)) > (concat "~" init-file-user "/.emacs")) > ;; Else deal with the Windows situation Silently substituting ~/ for ~user/ is not really nice, IMO. So I don't see a good reason to make this change, thanks. Let's let the sleeping dogs lie...