emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/xdisp.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c
Date: Mon, 26 Aug 2002 20:59:56 -0400

Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.777 emacs/src/xdisp.c:1.778
*** emacs/src/xdisp.c:1.777     Thu Aug 22 12:52:56 2002
--- emacs/src/xdisp.c   Mon Aug 26 20:59:55 2002
***************
*** 4258,4271 ****
             the translation.  This could easily be changed but I
             don't believe that it is worth doing.
  
!            Non-printable multibyte characters are also translated
!            octal form.  */
!         else if ((it->c < ' '
                    && (it->area != TEXT_AREA
                        || (it->c != '\n' && it->c != '\t')))
!                  || (it->c >= 127
!                      && it->len == 1)
!                  || !CHAR_PRINTABLE_P (it->c))
            {
              /* IT->c is a control character which must be displayed
                 either as '\003' or as `^C' where the '\\' and '^'
--- 4258,4279 ----
             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->c == 127)
                    && (it->area != TEXT_AREA
                        || (it->c != '\n' && it->c != '\t')))
!                  || (it->multibyte_p
!                      ? ((it->c >= 127
!                          && it->len == 1)
!                         || !CHAR_PRINTABLE_P (it->c))
!                      : (it->c >= 128
!                         && it->c == unibyte_char_to_multibyte (it->c))))
            {
              /* IT->c is a control character which must be displayed
                 either as '\003' or as `^C' where the '\\' and '^'




reply via email to

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