[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18730: [PATCH] tildify.el: introduce a `tildify-space-string' variab
From: |
Stefan Monnier |
Subject: |
bug#18730: [PATCH] tildify.el: introduce a `tildify-space-string' variable |
Date: |
Mon, 03 Nov 2014 12:00:44 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>>> +(defcustom tildify-space-string nil
> On Thu, Oct 30 2014, Stefan Monnier wrote:
>> I think you could use " " as the default value so you can assume the var
>> only holds a string.
> I'm slightly afraid of using no-break space since it may confuse people
> who use incompatible encodings.
Such encodings are pretty rare, I think.
> Should I just go ahead with it anyway and have Emacs deal with
> encodings once user attempts to save the file?
Yes.
> Yes. This slightly changes observable behaviour but I feel that most
> users won't even notice it since they will end up using \u00A0 and for
> the rest it might prevent some subtle problems where is not
> defined in XML or XHTML.
As an XHTML user, I'd prefer seeing over some numerical constant,
so if there's a way to auto-detect when it can be used, that's
even better. But feel free to install your patch with   and keep
the for "maybe if I find the time later".
Stefan