aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorStefan Kangas2024-07-25 03:35:04 +0200
committerStefan Kangas2024-07-25 03:35:18 +0200
commita79966156633ae1e49e3fef17ff7212c8f35a26f (patch)
tree3395389467c1effba572a2db7efb9d39def72425 /src/coding.c
parent67faaead754c0a11bd89fdcde2533bc51b71ef0e (diff)
downloademacs-a79966156633ae1e49e3fef17ff7212c8f35a26f.tar.gz
emacs-a79966156633ae1e49e3fef17ff7212c8f35a26f.zip
Standardize possessive apostrophe usage in manuals, docs, and comments
See the note in admin/notes/documentation. Ref: https://lists.gnu.org/r/emacs-devel/2012-02/msg00649.html
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/coding.c b/src/coding.c
index b48164efc69..b21ed360578 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -27,11 +27,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
27 27
28 0. General comments 28 0. General comments
29 1. Preamble 29 1. Preamble
30 2. Emacs' internal format (emacs-utf-8) handlers 30 2. Emacs's internal format (emacs-utf-8) handlers
31 3. UTF-8 handlers 31 3. UTF-8 handlers
32 4. UTF-16 handlers 32 4. UTF-16 handlers
33 5. Charset-base coding systems handlers 33 5. Charset-base coding systems handlers
34 6. emacs-mule (old Emacs' internal format) handlers 34 6. emacs-mule (old Emacs's internal format) handlers
35 7. ISO2022 handlers 35 7. ISO2022 handlers
36 8. Shift-JIS and BIG5 handlers 36 8. Shift-JIS and BIG5 handlers
37 9. CCL handlers 37 9. CCL handlers
@@ -50,7 +50,7 @@ CODING SYSTEM
50 information about how to convert byte sequences to character 50 information about how to convert byte sequences to character
51 sequences and vice versa. When we say "decode", it means converting 51 sequences and vice versa. When we say "decode", it means converting
52 a byte sequence of a specific coding system into a character 52 a byte sequence of a specific coding system into a character
53 sequence that is represented by Emacs' internal coding system 53 sequence that is represented by Emacs's internal coding system
54 `emacs-utf-8', and when we say "encode", it means converting a 54 `emacs-utf-8', and when we say "encode", it means converting a
55 character sequence of emacs-utf-8 to a byte sequence of a specific 55 character sequence of emacs-utf-8 to a byte sequence of a specific
56 coding system. 56 coding system.
@@ -1104,7 +1104,7 @@ alloc_destination (struct coding_system *coding, ptrdiff_t nbytes,
1104#define EOL_SEEN_CRLF 4 1104#define EOL_SEEN_CRLF 4
1105 1105
1106 1106
1107/*** 2. Emacs' internal format (emacs-utf-8) ***/ 1107/*** 2. Emacs's internal format (emacs-utf-8) ***/
1108 1108
1109 1109
1110 1110
@@ -1757,9 +1757,9 @@ encode_coding_utf_16 (struct coding_system *coding)
1757} 1757}
1758 1758
1759 1759
1760/*** 6. Old Emacs' internal format (emacs-mule) ***/ 1760/*** 6. Old Emacs's internal format (emacs-mule) ***/
1761 1761
1762/* Emacs' internal format for representation of multiple character 1762/* Emacs's internal format for representation of multiple character
1763 sets is a kind of multi-byte encoding, i.e. characters are 1763 sets is a kind of multi-byte encoding, i.e. characters are
1764 represented by variable-length sequences of one-byte codes. 1764 represented by variable-length sequences of one-byte codes.
1765 1765
@@ -1782,7 +1782,7 @@ encode_coding_utf_16 (struct coding_system *coding)
1782 through 0xFF. See `charset.h' for more details about leading-code 1782 through 0xFF. See `charset.h' for more details about leading-code
1783 and position-code. 1783 and position-code.
1784 1784
1785 --- CODE RANGE of Emacs' internal format --- 1785 --- CODE RANGE of Emacs's internal format ---
1786 character set range 1786 character set range
1787 ------------- ----- 1787 ------------- -----
1788 ascii 0x00..0x7F 1788 ascii 0x00..0x7F
@@ -2812,7 +2812,7 @@ encode_coding_emacs_mule (struct coding_system *coding)
2812 localized platforms), and all of these are variants of ISO2022. 2812 localized platforms), and all of these are variants of ISO2022.
2813 2813
2814 In addition to the above, Emacs handles two more kinds of escape 2814 In addition to the above, Emacs handles two more kinds of escape
2815 sequences: ISO6429's direction specification and Emacs' private 2815 sequences: ISO6429's direction specification and Emacs's private
2816 sequence for specifying character composition. 2816 sequence for specifying character composition.
2817 2817
2818 ISO6429's direction specification takes the following form: 2818 ISO6429's direction specification takes the following form:
@@ -6045,7 +6045,7 @@ complement_process_encoding_system (Lisp_Object coding_system)
6045 6045
6046 6046
6047/* Emacs has a mechanism to automatically detect a coding system if it 6047/* Emacs has a mechanism to automatically detect a coding system if it
6048 is one of Emacs' internal format, ISO2022, SJIS, and BIG5. But, 6048 is one of Emacs's internal format, ISO2022, SJIS, and BIG5. But,
6049 it's impossible to distinguish some coding systems accurately 6049 it's impossible to distinguish some coding systems accurately
6050 because they use the same range of codes. So, at first, coding 6050 because they use the same range of codes. So, at first, coding
6051 systems are categorized into 7, those are: 6051 systems are categorized into 7, those are:
@@ -6053,7 +6053,7 @@ complement_process_encoding_system (Lisp_Object coding_system)
6053 o coding-category-emacs-mule 6053 o coding-category-emacs-mule
6054 6054
6055 The category for a coding system which has the same code range 6055 The category for a coding system which has the same code range
6056 as Emacs' internal format. Assigned the coding-system (Lisp 6056 as Emacs's internal format. Assigned the coding-system (Lisp
6057 symbol) `emacs-mule' by default. 6057 symbol) `emacs-mule' by default.
6058 6058
6059 o coding-category-sjis 6059 o coding-category-sjis
@@ -10052,7 +10052,7 @@ encode_string_utf_8 (Lisp_Object string, Lisp_Object buffer,
10052 Emacs decoding does. 10052 Emacs decoding does.
10053 10053
10054 If HANDLE-OVER-UNI is Qt, decode a 4 or 5-byte overlong sequence 10054 If HANDLE-OVER-UNI is Qt, decode a 4 or 5-byte overlong sequence
10055 that follows Emacs' internal representation for a character beyond 10055 that follows Emacs's internal representation for a character beyond
10056 Unicode range into the corresponding character, like the usual 10056 Unicode range into the corresponding character, like the usual
10057 Emacs decoding does. 10057 Emacs decoding does.
10058 10058