From: Marcin Borkowski <mbork@mbork.pl>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: "Juan Manuel Macías" <maciaschain@posteo.net>,
orgmode <emacs-orgmode@gnu.org>
Subject: Re: On zero width spaces and Org syntax
Date: Sat, 04 Dec 2021 18:37:52 +0100 [thread overview]
Message-ID: <87ee6smftb.fsf@mbork.pl> (raw)
In-Reply-To: <877dckg7gp.fsf@localhost>
On 2021-12-04, at 08:22, Ihor Radchenko <yantar92@gmail.com> wrote:
> Marcin Borkowski <mbork@mbork.pl> writes:
>> 2. We modify Emacs itself to somehow highlight the ZWS. There is (kind
>> of) a precedent – a no-breaking space is already fontified with
>> =nobreak-space= face. At the very least, make whitespace-mode somehow
>> show ZWSs (which it doesn't now, and I'd probably say it's a bug).
>>
>> I know that my point 2. is a bit controversial, since it could lead to
>> alignment issues where a ZWS is displayed as something with a positive
>> width. OTOH, even now changing the face of a ZWS leads to a narrow
>> (1-pixel wide) line of a different color. Is there a way to make it
>> a bit stronger?
>
> We can try to create an accent. Try the following:
> 1. Open new empty org buffer
> 2. Disable font-lock-mode
> 3. M-: (insert (compose-string "a" nil nil (list ?a '(bl . tl) ?␣)))
>
> The result will look like on the attached image.
I'm not sure if I like that idea - looks great, but I'd be a bit afraid
of unintended consequences.
Either way, personally I can live with ZWSs in my Org files, so whatever
is decided, it's fine with me.
Best,
--
Marcin Borkowski
http://mbork.pl
next prev parent reply other threads:[~2021-12-04 17:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-03 12:48 On zero width spaces and Org syntax Juan Manuel Macías
2021-12-03 19:03 ` Greg Minshall
2021-12-03 20:30 ` Juan Manuel Macías
2021-12-03 21:48 ` Tim Cross
2021-12-04 1:26 ` Juan Manuel Macías
2021-12-04 4:04 ` Tom Gillespie
2021-12-04 5:29 ` Juan Manuel Macías
2021-12-04 15:26 ` Max Nikulin
2021-12-04 20:29 ` Tim Cross
2021-12-06 11:40 ` Eric S Fraga
2021-12-04 6:43 ` Marcin Borkowski
2021-12-04 7:22 ` Ihor Radchenko
2021-12-04 17:37 ` Marcin Borkowski [this message]
2021-12-06 16:01 ` Robert Pluim
2021-12-06 16:42 ` Greg Minshall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ee6smftb.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=emacs-orgmode@gnu.org \
--cc=maciaschain@posteo.net \
--cc=yantar92@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).