[line 10821] (width (- (w3m-display-width) 21)): @yamaoka says that this is because how 'wide' characters appear differently in different environments. If so, is this really the correct solution?
w3m-db-history-fix-indentation' and tweaking the width' (-21) are no more than a workarounds.
It doesn't properly handle the character in my utf-8 environment, and what about any number of wide characters that could be present in the URL title? Shouldn't there be some kind of environment check and count of all the wide characters, instead of just adding '2' in all cases, even if its not needed?
That is a w3m problem, not that of Emacs or emacs-w3m, I think (though Emacs on TTY makes a mysterious behavior). Emacs (at least the ones I have) says that the string width of "…" is 2 no matter what display (X or TTY) or font is used. Please try the attached ELisp snippet and
Eval: (and (search-forward "bar" nil t) (goto-char (match-beginning 0)))
in the beginning of each "foo" line.
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.