[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TIP] Get rid of the `foo' eyesore
From: |
Ted Zlatanov |
Subject: |
Re: [TIP] Get rid of the `foo' eyesore |
Date: |
Fri, 11 Jul 2003 12:31:38 -0400 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (usg-unix-v) |
On Thu, 10 Jul 2003, harder@myrealbox.com wrote:
> There's an entrenched habit in Emacs and Info of abusing ` (grave
> accent) and ' (apostrophe) as left and right single quotation marks.
>
> They aren't, and it looks horrible.
>
> Some old broken X fonts do have the "wrong" glyphs in those
> positions -- that's probably how the habit started. But fortunately
> there's a better way to get rid of the eyesore than using a broken
> font. By modifying the display table like this
>
> (aset standard-display-table ?` [342392]) ; ‘
> (aset standard-display-table ?' [342393]) ; ’
>
> you can get proper, nice looking single quotes. This assumes that
> your font has the required glyphs [U+2018 and U+2019], of course.
This would be a nice minor mode for Gnus and other purposes, how can
it be done so it's suitable for a hook or a minor mode?
Thanks
Ted