[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change `customize-save-variable' to work under "emacs -Q"?
From: |
chad |
Subject: |
Re: Change `customize-save-variable' to work under "emacs -Q"? |
Date: |
Mon, 11 Jul 2011 18:07:23 -0700 |
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
- Re: Change `customize-save-variable' to work under "emacs -Q"?, (continued)
Re: Change `customize-save-variable' to work under "emacs -Q"?, Chong Yidong, 2011/07/11
- RE: Change `customize-save-variable' to work under "emacs -Q"?, Drew Adams, 2011/07/11
- Re: Change `customize-save-variable' to work under "emacs -Q"?, PJ Weisberg, 2011/07/11
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Chong Yidong, 2011/07/11
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Lars Magne Ingebrigtsen, 2011/07/11
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Tim Cross, 2011/07/11
- Re: Change `customize-save-variable' to work under "emacs -Q"?,
chad <=
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Stephen J. Turnbull, 2011/07/11
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Tim Cross, 2011/07/11
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Stephen J. Turnbull, 2011/07/12
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Tim Cross, 2011/07/12
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Stephen J. Turnbull, 2011/07/12
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Tim Cross, 2011/07/13
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Stephen J. Turnbull, 2011/07/13
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Tim Cross, 2011/07/13
- Re: Change `customize-save-variable' to work under "emacs -Q"?, Stephen J. Turnbull, 2011/07/13
Re: Change `customize-save-variable' to work under "emacs -Q"?, Lars Magne Ingebrigtsen, 2011/07/12