From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Bug: error enlighting file: [8.0-pre (release_8.0-pre-335-g4c426b-git @ org-loaddefs.el can not be found!)] Date: Mon, 15 Apr 2013 18:22:39 +0200 Message-ID: <20130415162239.GJ16442@kuru.dyndns-at-home.com> References: <87obdksiiy.fsf@es.gnu.org> <20130415070500.GA2572@kuru.dyndns-at-home.com> <87y5cj6bg7.fsf@bzg.ath.cx> <20130415160556.GH16442@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URmB6-0003SR-Eo for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 12:22:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URmB5-0007oC-6I for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 12:22:48 -0400 Content-Disposition: inline In-Reply-To: <20130415160556.GH16442@kuru.dyndns-at-home.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org On Mon, Apr 15, 2013 at 06:05:56PM +0200, Suvayu Ali wrote: > Hi Bastien, > > On Mon, Apr 15, 2013 at 05:49:28PM +0200, Bastien wrote: > > Suvayu Ali writes: > > > > > BTW, to others, is it by any chance possible to check how emacs was > > > started (if -q or -Q was present among the command line options)? Then > > > a message could be shown about minimal testing with a setup when users > > > call `org-submit-bug-report'. > > > > Well, there is `command-line-args' but -Q is deleted from this list > > when the args are processed. > > As far as I recall, if you start with emacs -Q, then customize refuses > to save anything. Not sure if this is true for -q too. That would > imply customize source should have some hint on how to do that :). I took a peek at the source; you can test for custom-file. Take a look at custom-save-variable. Here is the snippet I'm alluding to: ... (if (custom-file t) (custom-save-all) (message "Setting `%s' temporarily since \"emacs -q\" would overwrite customizations" variable) (set variable value)) ... Hope this helps, :) -- Suvayu Open source is the future. It sets us free.