From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: How specify on the command line which .emacs to use? Date: Tue, 08 Sep 2015 01:36:15 +0200 Message-ID: <87mvwxztsg.fsf@debian.uxu> References: <8737ysl03f.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441668531 16372 80.91.229.3 (7 Sep 2015 23:28:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2015 23:28:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 08 01:28:32 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ZZ5pu-00051n-0H for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Sep 2015 01:28:30 +0200 Original-Received: from localhost ([::1]:59235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ5pt-0005zt-AU for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2015 19:28:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ5pj-0005zb-Cy for help-gnu-emacs@gnu.org; Mon, 07 Sep 2015 19:28:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZ5pg-00046h-5l for help-gnu-emacs@gnu.org; Mon, 07 Sep 2015 19:28:19 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ5pf-00046b-Up for help-gnu-emacs@gnu.org; Mon, 07 Sep 2015 19:28:16 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZZ5pc-0004li-LB for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 01:28:12 +0200 Original-Received: from nl106-137-244.student.uu.se ([130.243.137.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Sep 2015 01:28:12 +0200 Original-Received: from embe8573 by nl106-137-244.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Sep 2015 01:28:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 45 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-244.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:uxvlcKmP42qVesyVhyfPxGsUN4E= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107075 Archived-At: Rainer M Krug writes: > But sometimes it is necessary to use > customizations (or much easier, or di=one without my > knowledge,...). ... come again? > So I have the following as the last statement in my > .emacs file: > > | * Load customizations Load customizations done > | through the Customization interface in emacs. > | New customizations will be stored in this file. > | #+begin_src emacs-lisp (setq custom-file > | "~/.emacs.d/customfile.el") (load custom-file) > | #+end_src > `---- > > This should load the customizations, even when using > the -q approach mentioned. And the customizations > are in their own file. It is much better to have individual config/extentions in .emacs files individually stored in the users HOME dirs! If this isn't possible on Windoze I don't know how to do it. But that much I can say and that is no, that won't work with -q, as with -q, .emacs isn't loaded! I don't understand anymore what you are trying to do. Custom sucks as it is a GUI-style UI to produce code. This task is impossible to solve satisfactorily no matter how many will work on it for years. Remember those WYSIWYG/WYSIAYG editors to do HTML in the 90s? At fist you took them seriously until you realized what they did they produced extremely ugly HTML, and after that realization the step wasn't distant were you cut off the incompetent man in between and just wrote the code yourself. -- underground experts united http://user.it.uu.se/~embe8573