[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8108: 24.0.50; debugging pre-write-conversion in define-coding-syste
From: |
Werner LEMBERG |
Subject: |
bug#8108: 24.0.50; debugging pre-write-conversion in define-coding-system |
Date: |
Sat, 10 Dec 2016 18:44:24 +0100 (CET) |
>> I'm updating my cjk-enc.el package (part of the CJK bundle for
>> LaTeX) to replace make-coding-system with define-coding-system.
>> However, I can't debug it.
>
> Not sure which version this corresponds to, but in [1]
> encode_coding_object started using safe_call instead of a plain call
> to run the pre-write-conversion function. safe_call intentionally
> disables the debugger while running the function:
>
> /* Use Qt to ensure debugger does not run,
> so there is no possibility of wanting to redisplay. */
> val = internal_condition_case_n (Ffuncall, nargs, args, Qt,
> safe_eval_handler);
>
> [1]: Tue Mar 29 00:34:38 2005
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d4850d674381d9493c94d30f8944a765e79537eb
> (decode_coding_object): Use safe_call1 instead of call1.
> (encode_coding_object): Use safe_call instead of call2.
Thanks for checking. Ken'ichi, can you shed some light why you
changed this? How shall I proceed?
Werner