Mercurial > hg > xemacs-beta
annotate .hgignore @ 4641:a90b63846dc4
Set buffer-file-coding-system more sensibly with zero-length files.
lisp/ChangeLog addition:
2009-06-07 Aidan Kehoe <kehoea@parhasard.net>
* code-files.el (insert-file-contents):
Autodetection may return undecided as a coding system. If the file
was zero-length, this is kosher, and we should set
buffer-file-coding-system to its default; if it is not
zero-length, we still need to set b-f-c-s, but we warn that the
autodetection fails. (Ignoring that for the user, autodetection
failing is something very distinct from what we use it to mean
here.) See
http://mid.gmane.org/18986.53111.800393.660612@parhasard.net and
the related thread.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 07 Jun 2009 16:47:04 +0100 |
parents | 9b3f398ebfb7 |
children | 3e5d5e8e4bb7 |
rev | line source |
---|---|
466
372e91ae9333
Tailor preparing to convert repo by adding .hgignore
Mike Sperber <sperber@deinprogramm.de>
parents:
diff
changeset
|
1 (^|/)CVS($|/) |
372e91ae9333
Tailor preparing to convert repo by adding .hgignore
Mike Sperber <sperber@deinprogramm.de>
parents:
diff
changeset
|
2 (^|/)\.hg($|/) |
372e91ae9333
Tailor preparing to convert repo by adding .hgignore
Mike Sperber <sperber@deinprogramm.de>
parents:
diff
changeset
|
3 (^|/)\.hgtags($|/) |
4330
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
4 \.o$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
5 \.elc$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
6 ~$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
7 \.orig$ |
4340
2834fcbd1a92
Make Mercurial ignore patch .rej files, Emacs autosaves, and Emacs lockfiles.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
4330
diff
changeset
|
8 \.rej$ |
4342
4df309efe6fc
Drat. Hashmarks need to be escaped in .hgignore patterns.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
4340
diff
changeset
|
9 (^|/)\#[^/]*\#$ |
4df309efe6fc
Drat. Hashmarks need to be escaped in .hgignore patterns.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
4340
diff
changeset
|
10 (^|/)\.\#[^/]*$ |
4330
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
11 info/.*\.info(-[0-9]+)?$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
12 ^GNUmakefile$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
13 ^Installation$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
14 ^Makefile$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
15 ^Makefile\.in$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
16 ^autom4te\.cache |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
17 ^config\.(log|status)$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
18 ^lib-src/DOC$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
19 ^lib-src/(GNUmakefile|Makefile(\.in)?)$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
20 ^lib-src/config\.values$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
21 ^lib-src/(b2m|ctags|cvtmail|digest-doc|ellcc|etags|fakemail|gnuclient|gnuserv|hexl|insert-data-in-exec|make-docfile|make-dump-id|make-path|mmencode|movemail|ootags|profile|sorted-doc|wakeup|yow)$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
22 ^lib-src/ellcc\.h$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
23 ^lisp/(auto-autoloads|custom-load|finder-inf)\.el$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
24 ^lisp/mule/(auto-autoloads|custom-load)\.el$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
25 ^lwlib/(GNUmakefile|Makefile(\.in)?)$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
26 ^lwlib/liblw\.a$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
27 ^lwlib/config\.h$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
28 ^modules/auto-autoloads\.el$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
29 ^modules/ldap/(GNUmakefile|Makefile(\.in)?)$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
30 ^modules/ldap/eldap\.ell$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
31 ^modules/ldap/eldap_i\.c$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
32 ^(xemacs|mule)-packages |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
33 ^etc/PROBLEMS$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
34 ^src/(.dbxrc|.gdbinit)(\.in)?$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
35 ^src/(GNUmakefile|Makefile(\.in)?)$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
36 ^src/NEEDTODUMP$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
37 ^src/config\.h$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
38 ^src/dump-id\.c$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
39 ^src/dump-size$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
40 ^src/paths\.h$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
41 ^src/sheap-adjust\.h$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
42 ^src/temacs$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
43 ^src/xemacs$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
44 ^src/xemacs\.def(\.in)?$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
45 ^src/xemacs\.dmp$ |
8a38eea09ab5
Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents:
466
diff
changeset
|
46 ^src/Emacs\.ad\.h$ |
4354
232d873b9705
Add support for installing bundled patches.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
4342
diff
changeset
|
47 ^etc/bundled-packages/.*\.tar\.gz$ |
4413
dc84ec90b463
Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents:
4411
diff
changeset
|
48 ^lib-src/(etags|hexl|i|make-docfile|make-dump-id|minitar|mmencode|movemail|sorted-doc|wakeup|winclient)\.(exe|exe\.manifest|pdb)$ |
dc84ec90b463
Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents:
4411
diff
changeset
|
49 \.obj$ |
dc84ec90b463
Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents:
4411
diff
changeset
|
50 ^nt/obj |
dc84ec90b463
Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents:
4411
diff
changeset
|
51 ^nt/config.inc |
dc84ec90b463
Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents:
4411
diff
changeset
|
52 ^src/REBUILD_AUTOLOADS$ |
dc84ec90b463
Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents:
4411
diff
changeset
|
53 ^src/(temacs|xemacs)\.(exe|exe\.manifest|pdb|map|bsc)$ |
4411 | 54 ^TAGS$ |
4542
9b3f398ebfb7
Add terminating newline to .hgignore.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
4419
diff
changeset
|
55 ^version\.sh$ |