diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-10 15:09:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-10 15:09:31 -0700 |
commit | 12e4647debb6016da2063feed7516ad835fffd08 (patch) | |
tree | 0ec62a9466b640f60de2ecb9be3ff94d94fdc553 | |
parent | cee00b0efb86c583a10f478a1d7d5b4b5a530a88 (diff) | |
download | uemacs-12e4647debb6016da2063feed7516ad835fffd08.tar.gz |
Remove the old utf8_mode thing.
Let's just plan on being fully utf8 some day. We're not there yet, and
maybe we'll never be, but having the halfway mode is not useful either.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | estruct.h | 1 | ||||
-rw-r--r-- | posix.c | 17 |
2 files changed, 0 insertions, 18 deletions
@@ -483,7 +483,6 @@ struct buffer { #define MDMAGIC 0x0040 /* regular expresions in search */ #define MDCRYPT 0x0080 /* encrytion mode active */ #define MDASAVE 0x0100 /* auto-save mode */ -#define MDUTF8 0x0200 /* UTF-8 input/output mode */ /* * The starting position of a region, and the size of the region in @@ -30,20 +30,6 @@ #define XCASE 0000004 #endif -/* - * NOTE NOTE NOTE! - * - * Uemacs is currently very much byte-oriented, and not at all UTF8-aware - * interally. However, this allows it to understand a _terminal_ that is - * in utf-8 mode, and will turn input into the 8-bit subset, and will turn - * things back into UTF8 on output. - * - * Do _not_ confuse this with the notion of actually being able to edit - * UTF-8 file _contents_. That's a totally different thing. - */ -#define utf8_mode() \ - (curwp && curwp->w_bufp && (curwp->w_bufp->b_mode & MDUTF8)) - static int kbdflgs; /* saved keyboard fd flags */ static int kbdpoll; /* in O_NDELAY mode */ @@ -220,9 +206,6 @@ int ttgetc(void) return 128+27; } - if (!utf8_mode()) - goto done; - /* Normal 7-bit? */ if (!(c & 0x80)) goto done; |