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

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

Re: nice-single-quote


From: Andreas Röhler
Subject: Re: nice-single-quote
Date: Mon, 19 Apr 2010 10:47:55 +0200
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Juri Linkov wrote:
>>  Originally
>>    // Use super-foo
>>
>>  Type C-'
>>    // Use super-‘foo’
>>
>>  Some seconds later, after more typing
>>    // Use super-‘foo’ to bar LAX (laughter)
>>
>>  Type C-u 2 C-'
>>    // Use super-‘foo’ to bar ‘LAX (laughter)’
> 
> (add-to-list 'insert-pair-alist '(?\' ?\‘ ?\’))
> (global-set-key [(meta ?')] 'insert-pair)
> 

Hi,

think it's better to discriminate it from common singlequote,
calling the new function

left-right-singlequote

and writing instead just

add-to-list 'insert-pair-alist '(?\‘ ?\’)

BTW extended

https://code.launchpad.net/s-x-emacs-werkstatt/

with a respective set. Thanks Thi inspiring it.

Andreas




reply via email to

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