From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: emacs-home variable for Windows Date: Wed, 14 Oct 2009 18:31:56 +0200 Message-ID: References: <4AD514B1.5080503@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255538012 30178 80.91.229.12 (14 Oct 2009 16:33:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 16:33:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "B. T. Raven" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 18:33:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1My6mu-0003FZ-II for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 18:33:20 +0200 Original-Received: from localhost ([127.0.0.1]:44276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My6mt-0006Wi-RQ for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 12:33:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My6m2-0005vr-Sr for help-gnu-emacs@gnu.org; Wed, 14 Oct 2009 12:32:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My6lw-0005mS-HF for help-gnu-emacs@gnu.org; Wed, 14 Oct 2009 12:32:25 -0400 Original-Received: from [199.232.76.173] (port=58759 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My6lw-0005mJ-5I for help-gnu-emacs@gnu.org; Wed, 14 Oct 2009 12:32:20 -0400 Original-Received: from mail-yx0-f175.google.com ([209.85.210.175]:50417) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My6lu-0006OD-8V for help-gnu-emacs@gnu.org; Wed, 14 Oct 2009 12:32:19 -0400 Original-Received: by yxe5 with SMTP id 5so4026907yxe.24 for ; Wed, 14 Oct 2009 09:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=s0fkj/mJ4AZj4jsuBEeCVl9/ZqyiQpfQq9BfPCsc+l4=; b=QH4tEUc00YpxL8kDQ95CyOXXJozxlrPQ50/zuBQWTgil0m+tSfcNU8kGiQc/WIr2gB sctH1QlALew2veYtY/OXkX66L33Iowp5uP7GqIjHz2ZRlG0RgOtw5mYet9my00BOqFi3 j5tktvtFgtVf2H6J/DVLwNaj2PiLo740I4J40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=swBqyK1QBEWEEBJwreBA9Xc4Dag8ev6XgIiE1yVi6glzvz4ygWyYP4As6ASebri6tW AyI1in/FaCp5ydyc+F/3AAeJPlGmN3vihIMtYzQruyLsgSrgjqN+Pb5s35eFsH4kvy+a tGdYaQjOVzl51QuLAXe2YUVd6cFYEypz+BTTY= Original-Received: by 10.101.205.8 with SMTP id h8mr7447857anq.142.1255537936826; Wed, 14 Oct 2009 09:32:16 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68961 Archived-At: On Wed, Oct 14, 2009 at 6:50 AM, B. T. Raven wrote: > Lennart Borgman wrote: >> On Wed, Oct 14, 2009 at 2:00 AM, ken wrote: >>> I carry a USB stick to the job. =C2=A0It's got emacs installed on it an= d >>> there's a link on my desktop that I click (after inserting the stick) >>> and emacs fires up. =C2=A0It's nice. =C2=A0I use it every day. =C2=A0Wi= th the paucity >>> of decent editors from Windows, I *need* it. >>> >>> There's a couple minor hassles though that I'd like to dispense with. >>> One is that I don't know a way to tell emacs what the HOME directory is= . >>> =C2=A0In the past I've just gone into the registry and change some vari= able >>> there. =C2=A0I don't remember where that is or how to do it though. =C2= =A0Besides, >>> I prefer to have the variable defined in my .emacs (which is at the >>> top-level directory on the USB stick). =C2=A0(After emacs loads, I do "= M-x >>> loadfile RETURN e:/.emacs" and that little task loads up the rest of th= e >>> stuff emacs needs to know. =C2=A0But I don't know how tell emacs to mak= e e:/ >>> the home directory. >> >> >> There is a library usb-setup.el in Emacs+EmacsW32 for this. > > > Can this .el file be downloaded separately from EmacsW32 to use with the > standard Emacs w32 build? Is it somewhere in nXhtml 1.97 or has it been > removed? No, at the moment it is only in Emacs+EmacsW32 and I have not had time to setup a repository for that. However all that file does is to use the ideas from http://at-aka.blogspot.com/2006/06/portable-emacs-22050-on-usb.html and reorganises them a bit. So just look there instead.