# HG changeset patch # User Bruno Haible # Date 1515186494 -3600 # Node ID 28a8d93056e6e6d12bece267c18de4a65a485b1b # Parent 9b55cbc9c002169b47e819d27463625c549adcc4 maint: Add encoding marker for Emacs to non-ASCII sources. Similar to commit f406941a8a2ec5fbf3eacc386b9be09d6593d53b from Paul Eggert 2015-09-24. To determine the file list that need the marker, I used the command: for f in `find . -type f | grep -v '^\./\.git/' | grep -v '^\./tests/'`; do if iconv -f ASCII -t ASCII < $f > /dev/null 2>&1 ; then : ; else if iconv -f UTF-8 -t UTF-8 < $f > /dev/null 2>&1 ; then if grep 'The GNU C Library is' $f > /dev/null; then :; else if grep 'coding: utf-8' $f > /dev/null; then :; else echo $f fi fi fi fi done | LC_ALL=C sort diff -r 9b55cbc9c002 -r 28a8d93056e6 build-aux/update-copyright --- a/build-aux/update-copyright Thu Jan 04 15:59:04 2018 +0100 +++ b/build-aux/update-copyright Fri Jan 05 22:08:14 2018 +0100 @@ -264,7 +264,9 @@ print STDERR "$ARGV: warning: copyright statement not found\n"; } +# Hey Emacs! # Local variables: +# coding: utf-8 # mode: perl # indent-tabs-mode: nil # eval: (add-hook 'write-file-hooks 'time-stamp) diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/getprogname.c --- a/lib/getprogname.c Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/getprogname.c Fri Jan 05 22:08:14 2018 +0100 @@ -182,3 +182,10 @@ } #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/md5.c --- a/lib/md5.c Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/md5.c Fri Jan 05 22:08:14 2018 +0100 @@ -469,3 +469,10 @@ ctx->D = D; } #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/md5.h --- a/lib/md5.h Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/md5.h Fri Jan 05 22:08:14 2018 +0100 @@ -133,3 +133,10 @@ # endif #endif /* md5.h */ + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/memxor.h --- a/lib/memxor.h Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/memxor.h Fri Jan 05 22:08:14 2018 +0100 @@ -28,3 +28,10 @@ void *memxor (void *restrict dest, const void *restrict src, size_t n); #endif /* MEMXOR_H */ + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/quotearg.c --- a/lib/quotearg.c Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/quotearg.c Fri Jan 05 22:08:14 2018 +0100 @@ -1080,3 +1080,10 @@ { return quote_n (0, arg); } + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/sha1.c --- a/lib/sha1.c Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/sha1.c Fri Jan 05 22:08:14 2018 +0100 @@ -434,3 +434,10 @@ } } #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/sha1.h --- a/lib/sha1.h Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/sha1.h Fri Jan 05 22:08:14 2018 +0100 @@ -98,3 +98,10 @@ # endif #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/sha256.c --- a/lib/sha256.c Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/sha256.c Fri Jan 05 22:08:14 2018 +0100 @@ -577,3 +577,10 @@ } } #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/sha256.h --- a/lib/sha256.h Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/sha256.h Fri Jan 05 22:08:14 2018 +0100 @@ -101,3 +101,10 @@ # endif #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/sha512.c --- a/lib/sha512.c Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/sha512.c Fri Jan 05 22:08:14 2018 +0100 @@ -629,3 +629,10 @@ } } #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/sha512.h --- a/lib/sha512.h Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/sha512.h Fri Jan 05 22:08:14 2018 +0100 @@ -104,3 +104,10 @@ # endif #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/sm3.c --- a/lib/sm3.c Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/sm3.c Fri Jan 05 22:08:14 2018 +0100 @@ -489,3 +489,10 @@ } } #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ diff -r 9b55cbc9c002 -r 28a8d93056e6 lib/sm3.h --- a/lib/sm3.h Thu Jan 04 15:59:04 2018 +0100 +++ b/lib/sm3.h Fri Jan 05 22:08:14 2018 +0100 @@ -100,3 +100,10 @@ # endif #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */