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

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

bug#10506: 24.0.92; Visiting the Guile v2.0.3 tarball shows binary garba


From: Eli Zaretskii
Subject: bug#10506: 24.0.92; Visiting the Guile v2.0.3 tarball shows binary garbage
Date: Sun, 15 Jan 2012 00:17:53 -0500

> From: Glenn Morris <rgm@gnu.org>
> Cc: 10506@debbugs.gnu.org
> Date: Sat, 14 Jan 2012 17:16:21 -0500
> 
> It happens to contain a shell-script (depcomp) near the end of the
> tarfile, and that shell-script happens to have a footer that starts
> fewer than 3000 characters from the end of the tarfile, and happens to
> contain:
> 
>     # Local Variables:
>     # mode: shell-script
>     # sh-indentation: 2
>     # eval: (add-hook 'write-file-hooks 'time-stamp)
>     # time-stamp-start: "scriptversion="
>     # time-stamp-format: "%:y-%02m-%02d.%02H"
>     # time-stamp-time-zone: "UTC"
>     # time-stamp-end: "; # UTC"
>     # End:
> 
> (The mode setting is superfluous since it begins with #!/bin/sh anyway.)
> 
> So hack-local-variables decides the tarfile should be in sh-mode.

Thanks.  But this is a regression from Emacs 23.3, which doesn't have
this problem.  So I think we ought to fix it.





reply via email to

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