all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: chad <yandros@MIT.EDU>
To: Emacs devel <emacs-devel@gnu.org>
Subject: Re: Change `customize-save-variable' to work under "emacs -Q"?
Date: Mon, 11 Jul 2011 18:07:23 -0700	[thread overview]
Message-ID: <89EDBDA5-07F5-471D-A8A7-9A4E0BFB65B1@mit.edu> (raw)
In-Reply-To: <CAC=50j9eV1j_CsdCzx3CRCefS90dZd80Y6tvxDhJx-+hVXq7tA@mail.gmail.com>

Since we sometimes want custom to set variables in spite of -Q (for reproducing bugs, which I'll guess is probably the most common use of -Q) and sometimes don't want that, can we make it a switch?  

I was hoping to suggest a patch, but setting debug-on-entry for customize-save-variables and running Emacs -Q under MacOSX caused a crash, and I don't have the attention right now to hunt it down *and* suggest a patch.  Customize itself seems to check 'init-file and offers different text if it's not set; is that sufficient for either asking something like ``Can't save setting; set for session anyway?''?

*Chad

P.S. In case someone cares about the crash, I've attached the system's dump; it might just be an artifact of the way I ran Emacs -Q.  If I can reproduce it, I'll file a bug/patch.


Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff8907f0b6 __kill + 10
1   libSystem.B.dylib             	0x00007fff8911f9f6 abort + 83
2   org.gnu.Emacs                 	0x0000000100194dcf ns_term_shutdown + 79 (nsterm.m:4074)
3   org.gnu.Emacs                 	0x00000001000ab7e5 fatal_error_signal + 293 (emacs.c:344)
4   libSystem.B.dylib             	0x00007fff890911ba _sigtramp + 26
5   libSystem.B.dylib             	0x00007fff8907f0b6 __kill + 10
6   libSystem.B.dylib             	0x00007fff8911f9f6 abort + 83
7   org.gnu.Emacs                 	0x000000010010d337 Fgarbage_collect + 1575 (alloc.c:3969)
8   org.gnu.Emacs                 	0x0000000100125aef eval_sub + 239 (eval.c:2256)
9   org.gnu.Emacs                 	0x000000010014cd6b readevalloop + 907 (lread.c:1814)
10  org.gnu.Emacs                 	0x000000010014ec61 Fload + 1361 (lread.c:1302)
11  org.gnu.Emacs                 	0x000000010013188b Frequire + 539 (fns.c:2690)
12  org.gnu.Emacs                 	0x0000000100126002 eval_sub + 1538 (eval.c:2363)
13  org.gnu.Emacs                 	0x0000000100129065 internal_lisp_condition_case + 517 (eval.c:1440)
14  org.gnu.Emacs                 	0x0000000100161f10 exec_byte_code + 2880 (bytecode.c:981)
15  org.gnu.Emacs                 	0x0000000100126775 funcall_lambda + 805 (eval.c:3240)
16  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
17  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
18  org.gnu.Emacs                 	0x0000000100126775 funcall_lambda + 805 (eval.c:3240)
19  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
20  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
21  org.gnu.Emacs                 	0x0000000100126775 funcall_lambda + 805 (eval.c:3240)
22  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
23  org.gnu.Emacs                 	0x00000001001255b5 Fapply + 485 (eval.c:2457)
24  org.gnu.Emacs                 	0x000000010012f37d Fwidget_apply + 77 (fns.c:2785)
25  org.gnu.Emacs                 	0x0000000100126d5b Ffuncall + 1259 (eval.c:2991)
26  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
27  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
28  org.gnu.Emacs                 	0x00000001001255b5 Fapply + 485 (eval.c:2457)
29  org.gnu.Emacs                 	0x000000010012f37d Fwidget_apply + 77 (fns.c:2785)
30  org.gnu.Emacs                 	0x0000000100126d5b Ffuncall + 1259 (eval.c:2991)
31  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
32  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
33  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
34  org.gnu.Emacs                 	0x0000000100126775 funcall_lambda + 805 (eval.c:3240)
35  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
36  org.gnu.Emacs                 	0x0000000100128dae call1 + 30 (eval.c:2779)
37  org.gnu.Emacs                 	0x000000010012fee1 mapcar1 + 161 (fns.c:2347)
38  org.gnu.Emacs                 	0x00000001001302f0 Fmapcar + 336 (fns.c:2417)
39  org.gnu.Emacs                 	0x0000000100126d15 Ffuncall + 1189 (eval.c:3012)
40  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
41  org.gnu.Emacs                 	0x0000000100126775 funcall_lambda + 805 (eval.c:3240)
42  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
43  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
44  org.gnu.Emacs                 	0x0000000100126775 funcall_lambda + 805 (eval.c:3240)
45  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
46  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
47  org.gnu.Emacs                 	0x0000000100126775 funcall_lambda + 805 (eval.c:3240)
48  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
49  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
50  org.gnu.Emacs                 	0x0000000100126775 funcall_lambda + 805 (eval.c:3240)
51  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
52  org.gnu.Emacs                 	0x0000000100125727 Fapply + 855 (eval.c:2461)
53  org.gnu.Emacs                 	0x000000010012f37d Fwidget_apply + 77 (fns.c:2785)
54  org.gnu.Emacs                 	0x0000000100126d5b Ffuncall + 1259 (eval.c:2991)
55  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
56  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
57  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
58  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
59  org.gnu.Emacs                 	0x0000000100126165 eval_sub + 1893 (eval.c:2329)
60  org.gnu.Emacs                 	0x00000001001253a9 internal_catch + 217 (eval.c:1247)
61  org.gnu.Emacs                 	0x0000000100161f4a exec_byte_code + 2938 (bytecode.c:966)
62  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
63  org.gnu.Emacs                 	0x0000000100162a8c exec_byte_code + 5820 (bytecode.c:785)
64  org.gnu.Emacs                 	0x0000000100126aa4 Ffuncall + 564 (eval.c:3070)
65  org.gnu.Emacs                 	0x0000000100122f17 Fcall_interactively + 6279 (callint.c:857)
66  org.gnu.Emacs                 	0x0000000100126d02 Ffuncall + 1170 (eval.c:3016)
67  org.gnu.Emacs                 	0x0000000100126ef6 call3 + 38 (eval.c:2810)
68  org.gnu.Emacs                 	0x00000001000bf634 command_loop_1 + 1140 (keyboard.c:1580)
69  org.gnu.Emacs                 	0x00000001001252a5 internal_condition_case + 293 (eval.c:1493)
70  org.gnu.Emacs                 	0x00000001000b4c07 command_loop_2 + 55 (keyboard.c:1157)
71  org.gnu.Emacs                 	0x00000001001253a9 internal_catch + 217 (eval.c:1247)
72  org.gnu.Emacs                 	0x00000001000b539c recursive_edit_1 + 364 (keyboard.c:1136)
73  org.gnu.Emacs                 	0x00000001000b5512 Frecursive_edit + 290 (keyboard.c:821)
74  org.gnu.Emacs                 	0x00000001000ac5c6 main + 3430 (emacs.c:1704)
75  org.gnu.Emacs                 	0x0000000100001c24 start + 52




  reply	other threads:[~2011-07-12  1:07 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 12:22 Change `customize-save-variable' to work under "emacs -Q"? Lars Magne Ingebrigtsen
2011-07-11  2:30 ` Stephen J. Turnbull
2011-07-11  7:49   ` Lars Magne Ingebrigtsen
2011-07-11  9:52     ` Stephen J. Turnbull
2011-07-11  9:53       ` Lars Magne Ingebrigtsen
2011-07-11 13:52         ` Stephen J. Turnbull
2011-07-11 17:36 ` Chong Yidong
2011-07-11 18:08   ` Drew Adams
2011-07-11 19:32     ` Juanma Barranquero
2011-07-11 18:27   ` PJ Weisberg
2011-07-11 19:04     ` Chong Yidong
2011-07-11 19:28       ` Lars Magne Ingebrigtsen
2011-07-12  0:03         ` Tim Cross
2011-07-12  1:07           ` chad [this message]
2011-07-12  1:51           ` Stephen J. Turnbull
2011-07-12  2:57             ` Tim Cross
2011-07-12  4:12               ` Stephen J. Turnbull
2011-07-12 10:30                 ` Tim Cross
2011-07-13  0:31                   ` Stephen J. Turnbull
2011-07-13  5:38                     ` Tim Cross
2011-07-13 11:02                       ` Stephen J. Turnbull
2011-07-13 23:46                         ` Tim Cross
2011-07-14  2:13                           ` Stephen J. Turnbull
2011-07-12  6:46             ` Lars Magne Ingebrigtsen
2011-07-12  3:32 ` Stefan Monnier
2011-07-15 17:01 ` Dave Abrahams
2011-07-17 14:33 ` Christoph Scholtes
2011-07-17 19:13   ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89EDBDA5-07F5-471D-A8A7-9A4E0BFB65B1@mit.edu \
    --to=yandros@mit.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.