[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xdisp.c [emacs-unicode-2]
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/xdisp.c [emacs-unicode-2] |
Date: |
Thu, 14 Oct 2004 22:33:29 -0400 |
Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.843.2.27 emacs/src/xdisp.c:1.843.2.28
*** emacs/src/xdisp.c:1.843.2.27 Thu Oct 14 08:49:53 2004
--- emacs/src/xdisp.c Fri Oct 15 02:12:58 2004
***************
*** 4978,4996 ****
the translation. This could easily be changed but I
don't believe that it is worth doing.
! If it->multibyte_p is nonzero, eight-bit characters and
! non-printable multibyte characters are also translated to
! octal form.
If it->multibyte_p is zero, eight-bit characters that
don't have corresponding multibyte char code are also
translated to octal form. */
! else if ((it->c < ' '
! && (it->area != TEXT_AREA
! || (it->c != '\n' && it->c != '\t')))
! || (it->c != '\n' && it->c != '\t'
! && (it->multibyte_p ? !CHAR_PRINTABLE_P (it->c)
! : it->c == 127)))
{
/* IT->c is a control character which must be displayed
either as '\003' or as `^C' where the '\\' and '^'
--- 4978,4995 ----
the translation. This could easily be changed but I
don't believe that it is worth doing.
! If it->multibyte_p is nonzero, non-printable non-ASCII
! characters are also translated to octal form.
If it->multibyte_p is zero, eight-bit characters that
don't have corresponding multibyte char code are also
translated to octal form. */
! else if ((it->c < ' ' ? (it->area != TEXT_AREA
! || (it->c != '\n' && it->c != '\t'))
! : it->multibyte_p ? !CHAR_PRINTABLE_P (it->c)
! : (it->c >= 127
! && (! unibyte_display_via_language_environment
! || (UNIBYTE_CHAR_HAS_MULTIBYTE_P (it->c))))))
{
/* IT->c is a control character which must be displayed
either as '\003' or as `^C' where the '\\' and '^'