[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quotation marks
From: |
Stefan Monnier |
Subject: |
Re: Quotation marks |
Date: |
Thu, 15 Feb 2007 11:43:18 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
> (defvar curly-disp-table
> (let ((table (make-display-table)))
> (aset table ?` (vector 342392)) ; U+2018 left single quotation mark
> (aset table ?' (vector 342393)) ; U+2019 right single quotation mark
> table)
> "Display table with curly quotes for `'.")
> (add-hook 'Info-mode-hook
> (lambda ()
> (set-window-display-table (selected-window) curly-disp-table)))
I'd tend to t agree although I'd probably use buffer-display-table instead.
> (A good treatise on the history of all these characters is the one by
> Markus Kuhn at <http://www.cl.cam.ac.uk/%7Emgk25/ucs/quotes.html>.)
I'm not sure I agree with the "good" qualification. It misses the fact that
the new status quo does not provide any way to get the old matching quotes
(U+2018 an U+2019 are not equivalent because they look much more similar).
Stefan