bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23859: 25.1.50; Inconsistent behavior of (format "%_width_s" string-


From: Chunyang Xu
Subject: bug#23859: 25.1.50; Inconsistent behavior of (format "%_width_s" string-has-text-property)
Date: Tue, 28 Jun 2016 12:32:57 +0800

;; 24.5
(format "%4s" (propertize "hi" 'face 'bold))
    ⇒ #("  hi" 2 4 (face bold))

;; master
(format "%4s" (propertize "hi" 'face 'bold))
    ⇒ #("  hi" 0 2 (face bold))

is the new behavior wanted? I have code relying on the old behavior.


In GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.5.0, NS appkit-1404.47 Version 
10.11.5 (Build 15F34))
 of 2016-06-25 built on MBA.lan
Repository revision: a985d2b09bb88f31b27b02c3131cb34c5879d767





reply via email to

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