help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TIP] Get rid of the `foo' eyesore


From: Jesper Harder
Subject: [TIP] Get rid of the `foo' eyesore
Date: Thu, 10 Jul 2003 01:26:53 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]