From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: storing elpa packages in different folder Date: Mon, 09 May 2022 22:19:12 +0300 Message-ID: <83h75ytsy7.fsf@gnu.org> References: <85h75ywmyy.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39654"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 09 21:19:46 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1no8v4-000ACm-2O for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 21:19:46 +0200 Original-Received: from localhost ([::1]:58728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no8v2-0004H5-HD for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 15:19:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no8uZ-0004Ew-U6 for help-gnu-emacs@gnu.org; Mon, 09 May 2022 15:19:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no8uZ-00086Q-Lf for help-gnu-emacs@gnu.org; Mon, 09 May 2022 15:19:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GI+E6K+/fY3oncJX2X3CAffmzdIcHqEPoY8HFRi0ts8=; b=k4YwPBifLUaQ 9EyMAcpnkakN+llz9lDRnQQXNkRMGWkJcTHnVulrXc6XnHTN0MIogWZDOo8eHu8POKeAzl8CYLqWt x/bYXcjcYfdIkjwZY+J4HP1w4opx2utCd8u2ZW48p+6zWoiJlhPWumNoAIpt8KzPujECM6fhNWNeG WJNkvlIbkk/6JJM85ADbPeYR+Z7GoPLQcNiza4myghqGGn49UJgbsqpcw9U/ZFxidl6oFOSjk40uX u2X0JfOv6zBJfSbAM5oJILOBsBJhoFm3KvDjDC47HSNOd4/wmqIC3G5UvZPvYKWmHXKIeX5g29NU1 mSg3pg26DtA2yyHRSNpvTg==; Original-Received: from [87.69.77.57] (port=1604 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no8uZ-0002Lj-5I for help-gnu-emacs@gnu.org; Mon, 09 May 2022 15:19:15 -0400 In-Reply-To: <85h75ywmyy.fsf@gmail.com> (message from Sivaram Neelakantan on Tue, 10 May 2022 00:30:05 +0530) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137212 Archived-At: > From: Sivaram Neelakantan > Date: Tue, 10 May 2022 00:30:05 +0530 > > > GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) of 2021-03-26 > > I'm tryng to make all the packages to be installed in the following > directory > > (setq user-emacs-directory "c:/gnu/initfiles/.emacs.d/") ;; in ~/.Emacs > > but Emacs doesn't put it there but in C:\Users\siva\AppData\Roaming > > what should I set to make it store where I want it? > > getenv APPDATA points to the Roaming folder > getenv LOCALAPPDATA is C:\Users\siva\AppData\Local The easiest way is to set the HOME environment variable to point to c:/gnu/initfiles/.emacs.d/. Do this system-wide (via the Properties of your computer), and your problem will be solved.