GNU bug report logs - #52295
windows 98: Killing text results in coding system complaint

Previous Next

Package: emacs;

Reported by: luangruo <at> yahoo.com

Date: Sun, 5 Dec 2021 06:41:01 UTC

Severity: minor

Found in version 28.0.90

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 52295 <at> debbugs.gnu.org
Subject: bug#52295: 28.0.90; Killing text results in coding system complaint
Date: Tue, 07 Dec 2021 12:50:09 +0200
On December 7, 2021 12:33:26 PM GMT+02:00, Po Lu <luangruo <at> yahoo.com> wrote:
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > So I think there's no way around stepping into intern_1 and the
> > functions it calls, and figuring out what happens there.  I thought
> > you said GDB doesn't work on the target?  Then perhaps printfs will
> > help?
> 
> Yes, GDB doesn't work there, but I modified coding_from_cp to look like
> this:
> 
> static Lisp_Object
> coding_from_cp (UINT codepage)
> {
>   char buffer[30];
>   Lisp_Object sym;
>   sprintf (buffer, "cp%d-dos", (int) codepage);
>   sym = intern (buffer);
>   Fprint (sym, Qexternal_debugging_output);
>   return sym;
> }
> 
> And it printed nil.
> 

Yes.  But I meant you should go deeper, into 'intern' and its subroutines, starting from intern_1.




This bug report was last modified 3 years and 175 days ago.

Previous Next


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