emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/simple.el


From: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lisp/simple.el
Date: Sun, 20 Nov 2005 02:43:02 -0500

Index: emacs/lisp/simple.el
diff -c emacs/lisp/simple.el:1.767 emacs/lisp/simple.el:1.768
*** emacs/lisp/simple.el:1.767  Fri Nov 18 00:17:45 2005
--- emacs/lisp/simple.el        Sun Nov 20 07:43:01 2005
***************
*** 893,901 ****
         (col (current-column)))
      (if (= pos end)
        (if (or (/= beg 1) (/= end (1+ total)))
!           (message "point=%d of %d (%d%%) <%d - %d> column %d %s"
                     pos total percent beg end col hscroll)
!         (message "point=%d of %d (EOB) column %d %s"
                   pos total col hscroll))
        (let ((coding buffer-file-coding-system)
            encoded encoding-msg display-prop under-display)
--- 893,901 ----
         (col (current-column)))
      (if (= pos end)
        (if (or (/= beg 1) (/= end (1+ total)))
!           (message "point=%d of %d (%d%%) <%d-%d> column=%d%s"
                     pos total percent beg end col hscroll)
!         (message "point=%d of %d (EOB) column=%d%s"
                   pos total col hscroll))
        (let ((coding buffer-file-coding-system)
            encoded encoding-msg display-prop under-display)
***************
*** 904,910 ****
            (setq coding default-buffer-file-coding-system))
        (if (not (char-valid-p char))
            (setq encoding-msg
!                 (format "(0%o, %d, 0x%x, invalid)" char char char))
          ;; Check if the character is displayed with some `display'
          ;; text property.  In that case, set under-display to the
          ;; buffer substring covered by that property.
--- 904,910 ----
            (setq coding default-buffer-file-coding-system))
        (if (not (char-valid-p char))
            (setq encoding-msg
!                 (format "(%d, #o%o, #x%x, invalid)" char char char))
          ;; Check if the character is displayed with some `display'
          ;; text property.  In that case, set under-display to the
          ;; buffer substring covered by that property.
***************
*** 923,949 ****
          (setq encoding-msg
                (if display-prop
                    (if (not (stringp display-prop))
!                       (format "(0%o, %d, 0x%x, part of display \"%s\")"
                                char char char under-display)
!                     (format "(0%o, %d, 0x%x, part of display \"%s\"->\"%s\")"
                              char char char under-display display-prop))
                  (if encoded
!                     (format "(0%o, %d, 0x%x, file %s)"
                              char char char
                              (if (> (length encoded) 1)
                                  "..."
                                (encoded-string-description encoded coding)))
!                   (format "(0%o, %d, 0x%x)" char char char)))))
        (if detail
            ;; We show the detailed information about CHAR.
            (describe-char (point)))
        (if (or (/= beg 1) (/= end (1+ total)))
!           (message "Char: %s %s point=%d of %d (%d%%) <%d - %d> column %d %s"
                     (if (< char 256)
                         (single-key-description char)
                       (buffer-substring-no-properties (point) (1+ (point))))
                     encoding-msg pos total percent beg end col hscroll)
!         (message "Char: %s %s point=%d of %d (%d%%) column %d %s"
                   (if enable-multibyte-characters
                       (if (< char 128)
                           (single-key-description char)
--- 923,949 ----
          (setq encoding-msg
                (if display-prop
                    (if (not (stringp display-prop))
!                       (format "(%d, #o%o, #x%x, part of display \"%s\")"
                                char char char under-display)
!                     (format "(%d, #o%o, #x%x, part of display \"%s\"->\"%s\")"
                              char char char under-display display-prop))
                  (if encoded
!                     (format "(%d, #o%o, #x%x, file %s)"
                              char char char
                              (if (> (length encoded) 1)
                                  "..."
                                (encoded-string-description encoded coding)))
!                   (format "(%d, #o%o, #x%x)" char char char)))))
        (if detail
            ;; We show the detailed information about CHAR.
            (describe-char (point)))
        (if (or (/= beg 1) (/= end (1+ total)))
!           (message "Char: %s %s point=%d of %d (%d%%) <%d-%d> column=%d%s"
                     (if (< char 256)
                         (single-key-description char)
                       (buffer-substring-no-properties (point) (1+ (point))))
                     encoding-msg pos total percent beg end col hscroll)
!         (message "Char: %s %s point=%d of %d (%d%%) column=%d%s"
                   (if enable-multibyte-characters
                       (if (< char 128)
                           (single-key-description char)




reply via email to

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