bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21602: 25.0.50; coding system seg fault


From: Eli Zaretskii
Subject: bug#21602: 25.0.50; coding system seg fault
Date: Sat, 03 Oct 2015 15:36:01 +0300

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: 21602@debbugs.gnu.org,  rms@gnu.org
> Date: Sat, 03 Oct 2015 14:25:23 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Why would it be a bad idea to disallow setting of
> > buffer-file-coding-system to an invalid value, as a subtle side effect
> > of calling this function?  By the time that later check is made, the
> > damage is already done.
> >
> > IOW, why is it bad to be more defensive than is strictly necessary?
> 
> buffer-file-coding-system is a user-settable variable, so the check is
> useless.

In this case, we set it programmatically, so the user could rightfully
blame us.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]