emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master f49e3a2: ; Mention non-ASCII encoding issues in CON


From: Eli Zaretskii
Subject: [Emacs-diffs] master f49e3a2: ; Mention non-ASCII encoding issues in CONTRIBUTE
Date: Sun, 27 Sep 2015 08:32:04 +0000

branch: master
commit f49e3a2603f249bb2ec281f3eaedd80cbaef2243
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; Mention non-ASCII encoding issues in CONTRIBUTE
    
    * CONTRIBUTE: Document recommendations for encoding non-ASCII
    characters in Emacs sources.
---
 CONTRIBUTE |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/CONTRIBUTE b/CONTRIBUTE
index 609ab7a..098579e 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -201,6 +201,20 @@ then exclude that commit from the merge to trunk.
 
 ** Other process information
 
+*** Non-ASCII characters in Emacs files
+
+If you introduce non-ASCII characters into Emacs source files, it is a
+good idea to add a 'coding' cookie to the file to state its encoding.
+Please use the UTF-8 encoding unless it cannot do the job for some
+good reason.  As of Emacs 24.4, it is no longer necessary to have
+explicit 'coding' cookies in *.el files if they are encoded in UTF-8,
+but other files need them even if encoded in UTF-8.  And even for *.el
+files, having an explicit encoding specification facilitates correct
+display of non-ASCII characters when the file is visited in older
+Emacs versions.
+
+*** Useful files in the admin/ directory
+
 See all the files in admin/notes/* .  In particular, see
 admin/notes/newfile, see admin/notes/repo.
 



reply via email to

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