[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unwanted undo-boundary
From: |
Lennart Borgman |
Subject: |
Re: Unwanted undo-boundary |
Date: |
Sun, 14 Feb 2010 23:49:30 +0100 |
On Sun, Feb 14, 2010 at 11:32 PM, Lennart Borgman
<address@hidden> wrote:
>
> The xbacktrace:s are here, just in case I misunderstand this:
>
> Breakpoint 3, Fundo_boundary () at undo.c:303
> 303 if (EQ (current_buffer->undo_list, Qt))
> (gdb) xbacktrace
> "nxml-indent-line" (0x82d7b4)
> "funcall" (0x82d7b0)
The bt backtrace looks more useful. It looks like the undo boundaries
are coming from sequences like this:
(gdb) bt
#0 Fundo_boundary () at undo.c:303
#1 0x0102e079 in record_marker_adjustment (marker=61172811,
adjustment=-80) at undo.c:211
#2 0x0114df23 in adjust_markers_for_delete (from=1, from_byte=1,
to=86, to_byte=86) at insdel.c:373
#3 0x0115149c in del_range_2 (from=1, from_byte=1, to=86,
to_byte=86, ret_string=0) at insdel.c:1946
#4 0x01151044 in del_range_1 (from=1, to=86, prepare=1,
ret_string=0) at insdel.c:1814
#5 0x01150f4e in del_range (from=1, to=86) at insdel.c:1782
and
(gdb) bt
#0 Fundo_boundary () at undo.c:303
#1 0x0102dd77 in record_point (pt=35) at undo.c:90
#2 0x0102debc in record_insert (beg=35, length=13) at undo.c:141
#3 0x0114f1ce in insert_from_string_1 (string=60834385, pos=0,
pos_byte=0, nchars=13, nbytes=13, inherit=0,
before_markers=0) at insdel.c:1098
#4 0x0114efa7 in insert_from_string (string=60834385, pos=0,
pos_byte=0, length=13, length_byte=13, inherit=0)
at insdel.c:1022
#5 0x010aa7ef in general_insert_function (insert_func=0x114e834 <insert>,
insert_from_string_func=0x114ef53 <insert_from_string>,
inherit=0, nargs=1, args=0x82d540) at editfns.c:2201
#6 0x010aa85a in Finsert (nargs=1, args=0x1f) at editfns.c:2245
Below are full bt from the above:
(gdb) bt
#0 Fundo_boundary () at undo.c:303
#1 0x0102e079 in record_marker_adjustment (marker=61359803,
adjustment=-2) at undo.c:211
#2 0x0114df23 in adjust_markers_for_delete (from=68,
from_byte=68, to=70, to_byte=70) at insdel.c:373
#3 0x0115149c in del_range_2 (from=68, from_byte=68, to=70,
to_byte=70, ret_string=0) at insdel.c:1946
#4 0x01151044 in del_range_1 (from=68, to=70, prepare=1,
ret_string=0) at insdel.c:1814
#5 0x01150f4e in del_range (from=68, to=70) at insdel.c:1782
#6 0x010ad02b in Fdelete_region (start=272, end=280) at editfns.c:3184
#7 0x0116ae68 in Fbyte_code (bytestr=19484841, vector=19484861,
maxdepth=16) at bytecode.c:1425
#8 0x01023c01 in funcall_lambda (fun=19484805, nargs=1,
arg_vector=0x82e040) at eval.c:3211
#9 0x010238ec in apply_lambda (fun=19484805, args=58808382,
eval_flag=1) at eval.c:3135
#10 0x010227be in Feval (form=58808374) at eval.c:2388
#11 0x0101f675 in Fprogn (args=61050782) at eval.c:415
#12 0x010223c2 in Feval (form=61050774) at eval.c:2293
#13 0x0101f5a2 in Fif (args=61050758) at eval.c:363
#14 0x010223c2 in Feval (form=61050750) at eval.c:2293
#15 0x0102287f in Feval (form=58808358) at eval.c:2404
#16 0x0101f675 in Fprogn (args=58808398) at eval.c:415
#17 0x01020541 in FletX (args=58748758) at eval.c:1012
#18 0x010223c2 in Feval (form=58750438) at eval.c:2293
#19 0x0101f675 in Fprogn (args=58808470) at eval.c:415
#20 0x01023bb5 in funcall_lambda (fun=58808478, nargs=3,
arg_vector=0x82e790) at eval.c:3204
#21 0x010238ec in apply_lambda (fun=58808478, args=58804846,
eval_flag=1) at eval.c:3135
#22 0x010228a9 in Feval (form=58804838) at eval.c:2406
#23 0x010206b5 in Flet (args=58804886) at eval.c:1052
#24 0x010223c2 in Feval (form=58804822) at eval.c:2293
#25 0x0101f4f7 in For (args=58805062) at eval.c:311
#26 0x010223c2 in Feval (form=58804766) at eval.c:2293
#27 0x0101f675 in Fprogn (args=58805070) at eval.c:415
#28 0x01020837 in Fwhile (args=58804758) at eval.c:1090
#29 0x010223c2 in Feval (form=58804606) at eval.c:2293
#30 0x0101f675 in Fprogn (args=58805142) at eval.c:415
#31 0x0102077e in Flet (args=58804550) at eval.c:1068
#32 0x010223c2 in Feval (form=58804238) at eval.c:2293
#33 0x0101f675 in Fprogn (args=58805198) at eval.c:415
#34 0x010a7fd4 in Fsave_excursion (args=58806230) at editfns.c:1012
#35 0x010223c2 in Feval (form=58806182) at eval.c:2293
#36 0x0101f675 in Fprogn (args=58803206) at eval.c:415
#37 0x01023bb5 in funcall_lambda (fun=58803214, nargs=2,
arg_vector=0x82f204) at eval.c:3204
#38 0x01023777 in Ffuncall (nargs=3, args=0x82f200) at eval.c:3081
#39 0x011692ab in Fbyte_code (bytestr=19486977, vector=19486997,
maxdepth=12) at bytecode.c:679
#40 0x01023c01 in funcall_lambda (fun=19486917, nargs=2,
arg_vector=0x82f3a0) at eval.c:3211
#41 0x010238ec in apply_lambda (fun=19486917, args=61655158,
eval_flag=1) at eval.c:3135
#42 0x010227be in Feval (form=61655166) at eval.c:2388
#43 0x010234c3 in Ffuncall (nargs=2, args=0x82f5d0) at eval.c:3024
#44 0x011692ab in Fbyte_code (bytestr=19335121, vector=19335141,
maxdepth=20) at bytecode.c:679
#45 0x01023c01 in funcall_lambda (fun=19335069, nargs=2,
arg_vector=0x82f814) at eval.c:3211
#46 0x010236e0 in Ffuncall (nargs=3, args=0x82f810) at eval.c:3070
#47 0x01022bb0 in Fapply (nargs=2, args=0x82f8b0) at eval.c:2503
#48 0x01022fda in apply1 (fn=45636330, arg=61704094) at eval.c:2773
#49 0x01166f1b in Fcall_interactively (function=45636330,
record_flag=45279234, keys=45300485) at callint.c:396
#50 0x01023517 in Ffuncall (nargs=4, args=0x82fb40) at eval.c:3030
#51 0x010230af in call3 (fn=45430218, arg1=45636330,
arg2=45279234, arg3=45279234) at eval.c:2850
#52 0x01014f56 in Fcommand_execute (cmd=45636330,
record_flag=45279234, keys=45279234, special=45279234)
at keyboard.c:10507
#53 0x0100789b in command_loop_1 () at keyboard.c:1904
#54 0x01020fe4 in internal_condition_case (bfun=0x100621d
<command_loop_1>, handlers=45335770,
hfun=0x1005c0e <cmd_error>) at eval.c:1490
#55 0x01005f82 in command_loop_2 () at keyboard.c:1360
#56 0x01020ad5 in internal_catch (tag=45334962, func=0x1005f5f
<command_loop_2>, arg=45279234) at eval.c:1226
#57 0x01005f38 in command_loop () at keyboard.c:1339
#58 0x0100582a in recursive_edit_1 () at keyboard.c:954
#59 0x0100598e in Frecursive_edit () at keyboard.c:1016
#60 0x010027e6 in main (argc=4, argv=0xa92980) at emacs.c:1833
Lisp Backtrace:
"indent-line-to" (0x82e040)
and
(gdb) bt
#0 Fundo_boundary () at undo.c:303
#1 0x0102dd77 in record_point (pt=35) at undo.c:90
#2 0x0102debc in record_insert (beg=35, length=13) at undo.c:141
#3 0x0114f1ce in insert_from_string_1 (string=60834385, pos=0,
pos_byte=0, nchars=13, nbytes=13, inherit=0,
before_markers=0) at insdel.c:1098
#4 0x0114efa7 in insert_from_string (string=60834385, pos=0,
pos_byte=0, length=13, length_byte=13, inherit=0)
at insdel.c:1022
#5 0x010aa7ef in general_insert_function (insert_func=0x114e834 <insert>,
insert_from_string_func=0x114ef53 <insert_from_string>,
inherit=0, nargs=1, args=0x82d540) at editfns.c:2201
#6 0x010aa85a in Finsert (nargs=1, args=0x1f) at editfns.c:2245
#7 0x010224bf in Feval (form=58751694) at eval.c:2319
#8 0x0101f675 in Fprogn (args=58751710) at eval.c:415
#9 0x0101f5c2 in Fif (args=58751574) at eval.c:364
#10 0x010223c2 in Feval (form=58751550) at eval.c:2293
#11 0x0101f675 in Fprogn (args=61016206) at eval.c:415
#12 0x010a801e in Fsave_current_buffer (args=61016182) at editfns.c:1028
#13 0x010223c2 in Feval (form=61016174) at eval.c:2293
#14 0x0102287f in Feval (form=58751534) at eval.c:2404
#15 0x0101f675 in Fprogn (args=58751910) at eval.c:415
#16 0x01020541 in FletX (args=58751166) at eval.c:1012
#17 0x010223c2 in Feval (form=58752982) at eval.c:2293
#18 0x0101f675 in Fprogn (args=61016878) at eval.c:415
#19 0x0101f5c2 in Fif (args=61016862) at eval.c:364
#20 0x010223c2 in Feval (form=61016854) at eval.c:2293
#21 0x0102287f in Feval (form=58752902) at eval.c:2404
#22 0x0101f675 in Fprogn (args=58751926) at eval.c:415
#23 0x0102077e in Flet (args=58752894) at eval.c:1068
#24 0x010223c2 in Feval (form=58752822) at eval.c:2293
#25 0x0101f675 in Fprogn (args=58750126) at eval.c:415
#26 0x01023bb5 in funcall_lambda (fun=58750134, nargs=1,
arg_vector=0x82e0b0) at eval.c:3204
#27 0x010238ec in apply_lambda (fun=58750134, args=58747454,
eval_flag=1) at eval.c:3135
#28 0x010228a9 in Feval (form=58747446) at eval.c:2406
#29 0x010206b5 in Flet (args=58747478) at eval.c:1052
#30 0x010223c2 in Feval (form=58747398) at eval.c:2293
#31 0x0101f675 in Fprogn (args=58747630) at eval.c:415
#32 0x0101f634 in Fcond (args=58747718) at eval.c:392
#33 0x010223c2 in Feval (form=58747382) at eval.c:2293
#34 0x0101f675 in Fprogn (args=58808350) at eval.c:415
#35 0x01020541 in FletX (args=58748758) at eval.c:1012
#36 0x010223c2 in Feval (form=58750438) at eval.c:2293
#37 0x0101f675 in Fprogn (args=58808470) at eval.c:415
#38 0x01023bb5 in funcall_lambda (fun=58808478, nargs=3,
arg_vector=0x82e790) at eval.c:3204
#39 0x010238ec in apply_lambda (fun=58808478, args=58804846,
eval_flag=1) at eval.c:3135
#40 0x010228a9 in Feval (form=58804838) at eval.c:2406
#41 0x010206b5 in Flet (args=58804886) at eval.c:1052
#42 0x010223c2 in Feval (form=58804822) at eval.c:2293
#43 0x0101f4f7 in For (args=58805062) at eval.c:311
#44 0x010223c2 in Feval (form=58804766) at eval.c:2293
#45 0x0101f675 in Fprogn (args=58805070) at eval.c:415
#46 0x01020837 in Fwhile (args=58804758) at eval.c:1090
#47 0x010223c2 in Feval (form=58804606) at eval.c:2293
#48 0x0101f675 in Fprogn (args=58805142) at eval.c:415
#49 0x0102077e in Flet (args=58804550) at eval.c:1068
#50 0x010223c2 in Feval (form=58804238) at eval.c:2293
#51 0x0101f675 in Fprogn (args=58805198) at eval.c:415
#52 0x010a7fd4 in Fsave_excursion (args=58806230) at editfns.c:1012
#53 0x010223c2 in Feval (form=58806182) at eval.c:2293
#54 0x0101f675 in Fprogn (args=58803206) at eval.c:415
#55 0x01023bb5 in funcall_lambda (fun=58803214, nargs=2,
arg_vector=0x82f204) at eval.c:3204
#56 0x01023777 in Ffuncall (nargs=3, args=0x82f200) at eval.c:3081
#57 0x011692ab in Fbyte_code (bytestr=19486977, vector=19486997,
maxdepth=12) at bytecode.c:679
#58 0x01023c01 in funcall_lambda (fun=19486917, nargs=2,
arg_vector=0x82f3a0) at eval.c:3211
#59 0x010238ec in apply_lambda (fun=19486917, args=61655158,
eval_flag=1) at eval.c:3135
#60 0x010227be in Feval (form=61655166) at eval.c:2388
#61 0x010234c3 in Ffuncall (nargs=2, args=0x82f5d0) at eval.c:3024
#62 0x011692ab in Fbyte_code (bytestr=19335121, vector=19335141,
maxdepth=20) at bytecode.c:679
#63 0x01023c01 in funcall_lambda (fun=19335069, nargs=2,
arg_vector=0x82f814) at eval.c:3211
#64 0x010236e0 in Ffuncall (nargs=3, args=0x82f810) at eval.c:3070
#65 0x01022bb0 in Fapply (nargs=2, args=0x82f8b0) at eval.c:2503
#66 0x01022fda in apply1 (fn=45636330, arg=61704094) at eval.c:2773
#67 0x01166f1b in Fcall_interactively (function=45636330,
record_flag=45279234, keys=45300485) at callint.c:396
#68 0x01023517 in Ffuncall (nargs=4, args=0x82fb40) at eval.c:3030
#69 0x010230af in call3 (fn=45430218, arg1=45636330,
arg2=45279234, arg3=45279234) at eval.c:2850
#70 0x01014f56 in Fcommand_execute (cmd=45636330,
record_flag=45279234, keys=45279234, special=45279234)
at keyboard.c:10507
#71 0x0100789b in command_loop_1 () at keyboard.c:1904
#72 0x01020fe4 in internal_condition_case (bfun=0x100621d
<command_loop_1>, handlers=45335770,
hfun=0x1005c0e <cmd_error>) at eval.c:1490
#73 0x01005f82 in command_loop_2 () at keyboard.c:1360
#74 0x01020ad5 in internal_catch (tag=45334962, func=0x1005f5f
<command_loop_2>, arg=45279234) at eval.c:1226
#75 0x01005f38 in command_loop () at keyboard.c:1339
#76 0x0100582a in recursive_edit_1 () at keyboard.c:954
#77 0x0100598e in Frecursive_edit () at keyboard.c:1016
#78 0x010027e6 in main (argc=4, argv=0xa92980) at emacs.c:1833
Lisp Backtrace:
"insert" (0x82d540)
- Unwanted undo-boundary, Lennart Borgman, 2010/02/13
- Message not available
- Re: Unwanted undo-boundary, Lennart Borgman, 2010/02/13
- Re: Unwanted undo-boundary, Eli Zaretskii, 2010/02/13
- Re: Unwanted undo-boundary, Lennart Borgman, 2010/02/14
- Re: Unwanted undo-boundary, Eli Zaretskii, 2010/02/14
- Re: Unwanted undo-boundary, Lennart Borgman, 2010/02/14
- Re: Unwanted undo-boundary, Lennart Borgman, 2010/02/14
- Re: Unwanted undo-boundary,
Lennart Borgman <=
- Re: Unwanted undo-boundary, Lennart Borgman, 2010/02/15
- Re: Unwanted undo-boundary, Eli Zaretskii, 2010/02/14
- Re: Unwanted undo-boundary, Eli Zaretskii, 2010/02/14