# You should have received a copy of the GNU General Public License
# along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
-# A few files use CRLF endings, even on non-Microsoft platforms.
+# A few UTF-8-compatible text files use CRLF endings,
+# even on non-Microsoft platforms.
# Do not warn about trailing whitespace with these files.
*.bat whitespace=cr-at-eol
admin/charsets/mapfiles/PTCP154 whitespace=cr-at-eol
-leim/MISC-DIC/cangjie-table.b5 whitespace=cr-at-eol
-leim/MISC-DIC/cangjie-table.cns whitespace=cr-at-eol
-leim/MISC-DIC/pinyin.map whitespace=cr-at-eol
test/manual/etags/c-src/dostorture.c whitespace=cr-at-eol
test/manual/etags/cp-src/c.C whitespace=cr-at-eol
test/manual/etags/html-src/algrthms.html whitespace=cr-at-eol
# The todo-mode file format includes trailing whitespace.
*.tod[aorty] -whitespace=blank-at-eol
+# The following text files use encodings incompatible with UTF-8.
+# They should not be treated as text when diffing, as that could
+# cause the output to mix encodings.
+*.tit -diff
+admin/charsets/mapfiles/cns2ucsdkw.txt -diff
+leim/MISC-DIC/CTLau* -diff
+leim/MISC-DIC/cangjie-table.* -diff
+leim/MISC-DIC/pinyin.map -diff
+leim/MISC-DIC/ziranma.cin -diff
+leim/SKK-DIC/SKK-JISYO.L -diff
+src/msdos.c -diff
+test/lisp/gnus/mm-decode-resources/win1252-multipart.bin -diff
+
# Some files should not be treated as text when diffing or merging.
+*.bmp binary
*.cur binary
+*.gif binary
*.gpg binary
*.gz binary
*.icns binary
*.ico binary
+*.jpg binary
+*.kbx binary
+*.key binary
*.pbm binary
*.pdf binary
*.pif binary
*.png binary
*.sig binary
*.tiff binary
+*.webp binary
+*.zip binary
etc/e/eterm-color binary
+etc/e/eterm-direct binary
+java/emacs.keystore binary
# Git's builtin diff hunk header styles.
*.ad[abs] diff=ada
src/msdos.c
+ * iso-latin-1
+
+ This file is used to test Emacs encoding.
+
+ test/lisp/gnus/mm-decode-resources/win1252-multipart.bin
+
* iso-2022-cn-ext
This file is externally generated from leim/MISC-DIC/cangjie-table.b5
Some of the entries in this list are patterns, and stand for any
files with the listed extension.
+ *.bmp
+ *.cur
+ *.gif
+ *.gpg
*.gz
*.icns
*.ico
+ *.jpg
+ *.kbx
+ *.key
*.pbm
*.pdf
+ *.pif
*.png
*.sig
+ *.tiff
+ *.webp
+ *.zip
etc/e/eterm-color
- etc/package-keyring.gpg
- msdos/emacs.pif
- nextstep/GNUstep/Emacs.base/Resources/emacs.tiff
- nt/icons/hand.cur
-
+ etc/e/eterm-direct
+ java/emacs.keystore
\f
This file is part of GNU Emacs.