emacs-humanities
[Top][All Lists]
Advanced

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

Re: [emacs-humanities] electric-pair and non-breakable spaces


From: Ruijie Yu
Subject: Re: [emacs-humanities] electric-pair and non-breakable spaces
Date: Sun, 28 May 2023 19:25:45 +0800
User-agent: mu4e 1.9.22; emacs 30.0.50

"l@tlo" <lists@traduction-libre.org> writes:

> Thank you Ruijie!

:)

> (defcustom ef-prepend-space-puncts "?;:!»›”"
>   ;; According to an online forum source, French people tend to
>   ;; use curly double quote as inner quote mark, but Swiss people
>   ;; prefer single angle quote.  And nobody uses curly single
>   ;; quote, because that is easily confused with apostrophes.
>   "String of punctuations which require appending spaces."
>   :type 'string
>   :safe #'stringp)
>
>
> Why do call the thing ef-prepend-space-puncts and then say "String of 
> punctuations which require appending spaces."
>
> Shouldn't it be "which require prepending spaces."?

Yes, thanks for catching that.  At some point I swapped the two
defcustom names, but forgot that their docstrings needed to be swapped
too.

> (defcustom ef-append-space-puncts "«‹“"
>   "String of punctuations which require prepending spaces."
>   :type 'string
>   :safe #'stringp)
>
> The opposite here.

-- 
Best,


RY



reply via email to

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