GNU bug report logs - #25203
25.1; crash during message, infinite recursion

Previous Next

Package: emacs;

Reported by: Hin-Tak Leung <hintak.leung <at> gmail.com>

Date: Thu, 15 Dec 2016 00:56:02 UTC

Severity: normal

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Werner LEMBERG <wl <at> gnu.org>
Cc: htl10 <at> users.sourceforge.net, hintak.leung <at> gmail.com, 25203 <at> debbugs.gnu.org
Subject: bug#25203: 25.1; crash during message, infinite recursion
Date: Fri, 16 Dec 2016 10:55:21 +0200
> Date: Thu, 15 Dec 2016 17:48:57 +0100 (CET)
> Cc: hintak.leung <at> gmail.com, htl10 <at> users.sourceforge.net,
>  25203 <at> debbugs.gnu.org
> From: Werner LEMBERG <wl <at> gnu.org>
> 
> > In fact, any I/O that might require encoding should be completely
> > avoided in pre-write-conversion.
> 
> Is this documented?  If yes, I've missed it.

Frankly, it should be obvious: you are recursively invoking the same
operation that is being processed by the calling function.

I added a note about this to the doc string of define-coding-system.
However, I really doubt that this will do any tangible good, since we
don't document how to define a coding-system.  The ELisp manual says
just this:

     How to define a coding system is an arcane matter, and is not
  documented here.

Any reasons not to close this bug report, now that all of its aspects
have been addressed?

Thanks.




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

Previous Next


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