Mercurial > hg > xemacs-beta
annotate src/m/irist.h @ 4604:e0a8715fdb1f
Support new IGNORE-INVALID-SEQUENCESP argument, #'query-coding-region.
lisp/ChangeLog addition:
2009-02-07 Aidan Kehoe <kehoea@parhasard.net>
* coding.el (query-coding-clear-highlights):
Rename the BUFFER argument to BUFFER-OR-STRING, describe it as
possibly being a string in its documentation.
(default-query-coding-region):
Add a new IGNORE-INVALID-SEQUENCESP argument, document that this
function does not support it.
Bind case-fold-search to nil, we don't want this to influence what the
function thinks is encodable or not.
(query-coding-region):
Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
does; reflect this new argument in the associated compiler macro.
(query-coding-string):
Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
does. Support the HIGHLIGHT argument correctly.
* unicode.el (unicode-query-coding-region):
Add a new IGNORE-INVALID-SEQUENCESP argument, document what it
does, implement this. Document a potential problem.
Use #'query-coding-clear-highlights instead of reimplementing it
ourselves.
Remove some debugging messages.
* mule/arabic.el (iso-8859-6):
* mule/cyrillic.el (iso-8859-5):
* mule/greek.el (iso-8859-7):
* mule/hebrew.el (iso-8859-8):
* mule/latin.el (iso-8859-2):
* mule/latin.el (iso-8859-3):
* mule/latin.el (iso-8859-4):
* mule/latin.el (iso-8859-14):
* mule/latin.el (iso-8859-15):
* mule/latin.el (iso-8859-16):
* mule/latin.el (iso-8859-9):
* mule/latin.el (windows-1252):
* mule/mule-coding.el (iso-8859-1):
Avoid the assumption that characters not given an explicit mapping
in these coding systems map to the ISO 8859-1 characters
corresponding to the octets on disk; this makes it much more
reasonable to implement the IGNORE-INVALID-SEQUENCESP argument to
query-coding-region.
* mule/mule-cmds.el (set-language-info):
Correct the docstring.
* mule/mule-cmds.el (finish-set-language-environment):
Treat invalid Unicode sequences produced from
invalid-sequence-coding-system and corresponding to control
characters the same as control characters in redisplay.
* mule/mule-cmds.el:
Document that encode-coding-char is available in coding.el
* mule/mule-coding.el (make-8-bit-generate-helper):
Change to return the both the encode-program generated and the
relevant non-ASCII charset; update the docstring to reflect this.
* mule/mule-coding.el
(make-8-bit-generate-encode-program-and-skip-chars-strings):
Rename this function; have it return skip-chars-strings as well as
the encode program. Have these skip-chars-strings use ranges for
charsets, where possible.
* mule/mule-coding.el (make-8-bit-create-decode-encode-tables):
Revise this to allow people to specify explicitly characters that
should be undefined (= corresponding to keys in
unicode-error-default-translation-table), and treating unspecified
octets above #x7f as undefined by default.
* mule/mule-coding.el (8-bit-fixed-query-coding-region):
Add a new IGNORE-INVALID-SEQUENCESP argument, implement support
for it using the 8-bit-fixed-invalid-sequences-skip-chars coding
system property; remove some debugging messages.
* mule/mule-coding.el (make-8-bit-coding-system):
This function is dumped, autoloading it makes no sense.
Document what happens when characters above #x7f are not
specified, implement this.
* mule/vietnamese.el:
Correct spelling.
tests/ChangeLog addition:
2009-02-07 Aidan Kehoe <kehoea@parhasard.net>
* automated/query-coding-tests.el:
Add FAILING-CASE arguments to the Assert calls, making #'q-c-debug
mostly unnecessary. Remove #'q-c-debug.
Add new tests that use the IGNORE-INVALID-SEQUENCESP argument to
#'query-coding-region; rework the existing ones to respect it.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 07 Feb 2009 17:13:37 +0000 |
parents | ecf1ebac70d8 |
children |
rev | line source |
---|---|
0 | 1 /* machine description file for Silicon Graphics Iris 2500 Turbos; |
2 also possibly for non-turbo Irises with system release 2.5. | |
3 Copyright (C) 1985, 1986 Free Software Foundation, Inc. | |
4 | |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation; either version 2, or (at your option) | |
10 any later version. | |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with XEmacs; see the file COPYING. If not, write to | |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 Boston, MA 02111-1307, USA. */ | |
21 | |
22 /* Synched up with: FSF 19.31. */ | |
23 | |
24 /* The following line tells the configuration script what sort of | |
25 operating system this machine is likely to run. | |
26 USUAL-OPSYS="note" | |
27 NOTE-START | |
28 Version 18 said to work; use -opsystem=irist3-5 for system version 2.5 | |
29 and -opsystem=iris3-6 for system versions 3.6 and up. | |
30 NOTE-END */ | |
31 | |
32 #if 0 | |
33 Message-Id: <8705050653.AA20004@orville.arpa> | |
34 Subject: gnu emacs 18.41 on iris [23].5 machines | |
35 Date: 04 May 87 23:53:11 PDT (Mon) | |
36 From: raible@orville.arpa | |
37 | |
38 Aside from the SIGIOT, I know of only one bug, a real strange one: | |
39 I wrote a utimes interface, which copies elements from timevals | |
40 to utimbufs. This code is known good. The problem is that in | |
41 emacs, the utime doesn't seem to take effect (i.e. doesn't change the | |
42 dates at all) unless I call report_file_error *after* the utime returns! | |
43 | |
44 if (utime (name, &utb) < 0) | |
45 return; | |
46 else | |
47 /* XXX XXX XXX */ | |
48 /* For some reason, if this is taken out, then the utime above breaks! */ | |
49 /* (i.e. it doesn't set the time. This just makes no sense... */ | |
50 /* Eric - May 4, 1987 */ | |
51 report_file_error ("Worked just find\n", Qnil); | |
52 | |
53 Without any sort of debugger that works on emacs (I know... but I don't have | |
54 *time* right now to start with gdb), it was quite time consuming to track | |
55 it down to this. | |
56 | |
57 But since this code is only used for an optional 4th argument to one command | |
58 (copy-file), it would say that it is non-critical... | |
59 #endif /* 0 */ | |
60 | |
61 /* Now define a symbol for the cpu type, if your compiler | |
62 does not define it automatically: | |
63 Ones defined so far include vax, m68000, ns16000, pyramid, | |
64 orion, tahoe, APOLLO and many others */ | |
65 | |
66 #ifndef m68000 | |
67 #define m68000 | |
68 #endif | |
69 | |
70 /* Data type of load average, as read out of kmem. */ | |
71 | |
72 #define LOAD_AVE_TYPE long | |
73 | |
74 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
75 | |
76 #define FSCALE 1.0 | |
77 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
78 | |
79 /* Define NO_REMAP if memory segmentation makes it not work well | |
80 to change the boundary between the text section and data section | |
81 when Emacs is dumped. If you define this, the preloaded Lisp | |
82 code will not be sharable; but that's better than failing completely. */ | |
83 | |
84 /* #define NO_REMAP */ | |
85 | |
86 /* There is an inconsistency between the sgi assembler, linker which barfs | |
87 on these. */ | |
88 | |
89 #define internal_with_output_to_temp_buffer stupid_long_name1 | |
90 #define Finsert_abbrev_table_description stupid_long_name2 |