* Suggestion: prettify \nbsp{} as NO-BREAK SPACE
@ 2016-08-28 13:21 Clément Pit--Claudel
2016-08-28 18:08 ` Aaron Ecay
0 siblings, 1 reply; 3+ messages in thread
From: Clément Pit--Claudel @ 2016-08-28 13:21 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 277 bytes --]
Emacs displays NO-BREAK SPACE differently from regular space, whereas Org-mode displays \nbsp{} as a regular space (when replacement of symbols is enabled). Maybe it would help to display it as NO-BREAK SPACE instead?
I can provide a patch if it is useful.
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Suggestion: prettify \nbsp{} as NO-BREAK SPACE
2016-08-28 13:21 Suggestion: prettify \nbsp{} as NO-BREAK SPACE Clément Pit--Claudel
@ 2016-08-28 18:08 ` Aaron Ecay
2016-08-28 19:31 ` Clément Pit--Claudel
0 siblings, 1 reply; 3+ messages in thread
From: Aaron Ecay @ 2016-08-28 18:08 UTC (permalink / raw)
To: Clément Pit--Claudel, emacs-orgmode
Hi Clément,
I think rather that the entry for \nbsp in the ‘org-entities’ alist is
incorrect: the last two elements (the Latin-1 and UTF8 equivalents)
should be a non-breaking space, rather than a plain space. This would
make \nbsp display as a non-breaking space in buffers and also when
exporting to (UTF8) plain text.
2016ko abuztuak 28an, Clément Pit--Claudel-ek idatzi zuen:
> I can provide a patch if it is useful.
Thanks for the offer. I went ahead and made the change (on the master
branch), since it was so simple.
--
Aaron Ecay
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Suggestion: prettify \nbsp{} as NO-BREAK SPACE
2016-08-28 18:08 ` Aaron Ecay
@ 2016-08-28 19:31 ` Clément Pit--Claudel
0 siblings, 0 replies; 3+ messages in thread
From: Clément Pit--Claudel @ 2016-08-28 19:31 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 641 bytes --]
On 2016-08-28 14:08, Aaron Ecay wrote:
> Hi Clément,
>
> I think rather that the entry for \nbsp in the ‘org-entities’ alist is
> incorrect: the last two elements (the Latin-1 and UTF8 equivalents)
> should be a non-breaking space, rather than a plain space. This would
> make \nbsp display as a non-breaking space in buffers and also when
> exporting to (UTF8) plain text.
>
> 2016ko abuztuak 28an, Clément Pit--Claudel-ek idatzi zuen:
>
>> I can provide a patch if it is useful.
>
> Thanks for the offer. I went ahead and made the change (on the master
> branch), since it was so simple.
Wonderful, thanks!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-28 19:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-28 13:21 Suggestion: prettify \nbsp{} as NO-BREAK SPACE Clément Pit--Claudel
2016-08-28 18:08 ` Aaron Ecay
2016-08-28 19:31 ` Clément Pit--Claudel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.