[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30182: Update
From: |
Eli Zaretskii |
Subject: |
bug#30182: Update |
Date: |
Tue, 23 Jan 2018 19:25:42 +0200 |
> From: Sujith <m.sujith@gmail.com>
> Cc: rudalics@gmx.at, 30182@debbugs.gnu.org
> Date: Tue, 23 Jan 2018 22:37:04 +0530
>
> (gdb) pp elt
> [nil 23143 27373 214334 300 savehist-autosave nil nil 582000]
>
> (gdb) pp val
> ([nil 23143 27086 157598 nil undo-auto--boundary-timer nil nil 797000] [nil
> 23143 27086 356582 0.5 blink-cursor-timer-function nil nil 148000] [nil 23143
> 27086 428672 nil #[(buffer) "!
> qÃ)" [buffer w3m-modeline-title-timer buffer-live-p nil] 2] (#<buffer
> *w3m*>) nil 416000] [nil 23143 27092 0 60 display-time-event-handler nil nil
> 0])
>
> (gdb) pp prev
> ([nil 23143 27092 0 60 display-time-event-handler nil nil 0])
So here's the thing: timer-list has 5 elements, but concat thinks
there are only 4 elements, so it starts with a 4-element list, and
then there's no place there to put the 5th element, which happens to
be the savehist-autosave timer.
So the question now becomes: how come this code:
result_len_byte = 0;
result_len = 0;
some_multibyte = 0;
for (argnum = 0; argnum < nargs; argnum++)
{
EMACS_INT len;
this = args[argnum];
len = XFASTINT (Flength (this));
...
}
result_len += len;
(nargs = 1 in this case) produces result_len of 4, when timer-list has
actually 5 elements? Martin, any ideas?
- bug#30182: Update, (continued)
- bug#30182: Update, Sujith, 2018/01/22
- bug#30182: Update, Eli Zaretskii, 2018/01/22
- bug#30182: Update, martin rudalics, 2018/01/22
- bug#30182: Update, Eli Zaretskii, 2018/01/22
- bug#30182: Update, martin rudalics, 2018/01/23
- bug#30182: Update, Eli Zaretskii, 2018/01/23
- bug#30182: Update, martin rudalics, 2018/01/24
- bug#30182: Update, Sujith, 2018/01/22
- bug#30182: Update, Eli Zaretskii, 2018/01/23
- bug#30182: Update, Sujith, 2018/01/23
- bug#30182: Update,
Eli Zaretskii <=
- bug#30182: Update, Eli Zaretskii, 2018/01/23
- bug#30182: Update, martin rudalics, 2018/01/23
- bug#30182: Update, Eli Zaretskii, 2018/01/23
- bug#30182: Update, martin rudalics, 2018/01/24
- bug#30182: Update, Eli Zaretskii, 2018/01/24
- bug#30182: Update, martin rudalics, 2018/01/24
- bug#30182: Update, martin rudalics, 2018/01/23
- bug#30182: Update, Eli Zaretskii, 2018/01/23
- bug#30182: Update, martin rudalics, 2018/01/24
- bug#30182: Update, Eli Zaretskii, 2018/01/24