|
From: | Stefan Monnier |
Subject: | Re: please use ?\u2014 instead of the unicode character inbuff-menu.el |
Date: | Mon, 19 Feb 2007 20:19:13 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
>> > I don't think this a real life problem that is worth making >> > the code less readable over. >> >> I agree. There are more simple solutions. > Please explain why 1) is more readable than 2): > 1) ;; Use U+2014 (EM DASH) to underline if possible, else U+002D > (HYPHEN-MINUS) > (if (char-displayable-p ?-) ?- ?-))) > 2) (if (char-displayable-p ?\u2014) ?\u2014 ?-))) Check the current code. It's a mix of the two. I changed it not because of any web server/client issue, but simply because the resulting code is more readable. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |