[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: please use ?\u2014 instead of the unicode character inbuff-menu.el
From: |
Drew Adams |
Subject: |
RE: please use ?\u2014 instead of the unicode character inbuff-menu.el |
Date: |
Mon, 19 Feb 2007 17:24:43 -0800 |
> > 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.
Yes, thank you. That's in fact what I meant. It helps that the two
characters appear different, and the comment makes it clear what the
intention is.
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, (continued)
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Jason Rumney, 2007/02/19
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Lennart Borgman (gmail), 2007/02/19
- RE: please use ?\u2014 instead of the unicode character inbuff-menu.el, Drew Adams, 2007/02/19
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Lennart Borgman (gmail), 2007/02/19
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Juanma Barranquero, 2007/02/19
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Stefan Monnier, 2007/02/19
- RE: please use ?\u2014 instead of the unicode character inbuff-menu.el,
Drew Adams <=
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Eli Zaretskii, 2007/02/18
- RE: please use ?\u2014 instead of the unicode character inbuff-menu.el, Drew Adams, 2007/02/18
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Juanma Barranquero, 2007/02/18
- RE: please use ?\u2014 instead of the unicode character inbuff-menu.el, Drew Adams, 2007/02/18
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Juanma Barranquero, 2007/02/18
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Chris Moore, 2007/02/19
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Richard Stallman, 2007/02/19
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Juanma Barranquero, 2007/02/19
- Re: please use ?\u2014 instead of the unicode character inbuff-menu.el, Richard Stallman, 2007/02/20