GNU bug report logs - #8108
24.0.50; debugging pre-write-conversion in define-coding-system

Previous Next

Package: emacs;

Reported by: Werner LEMBERG <wl <at> gnu.org>

Date: Thu, 24 Feb 2011 07:42:02 UTC

Severity: normal

Found in version 24.0.50

Full log


Message #31 received at 8108 <at> debbugs.gnu.org (full text, mbox):

From: Werner LEMBERG <wl <at> gnu.org>
To: npostavs <at> users.sourceforge.net
Cc: 8108 <at> debbugs.gnu.org
Subject: Re: 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




This bug report was last modified 8 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.