Hi Eric,
Eric Abrahamsen e...@ericabrahamsen.net writes:
- l (max 1 (- (match-end 0) (match-beginning 0) 3))
+ l (max 1
+(- (org-string-width
+(buffer-substring
+ (match-end 0)
Eric Abrahamsen e...@ericabrahamsen.net writes:
Achim Gratz strom...@nexgo.de writes:
Eric Abrahamsen writes:
Yes, org-string-width eventually calls string-width, so that behaves
correctly as far as it goes
[...]
And more, this time to prevent errors when using column-narrowing
cookies on
Bastien b...@altern.org writes:
Hi Eric,
Eric Abrahamsen e...@ericabrahamsen.net writes:
-l (max 1 (- (match-end 0) (match-beginning 0) 3))
+l (max 1
+ (- (org-string-width
+ (buffer-substring
+
Eric Abrahamsen e...@ericabrahamsen.net writes:
Achim Gratz strom...@nexgo.de writes:
Eric Abrahamsen writes:
Yes, org-string-width eventually calls string-width, so that behaves
correctly as far as it goes, but unfortunately that's not where the
value in the text properties comes from...