From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Adjust point to move it off zero-width characters
Date: Mon, 08 Aug 2011 00:12:54 -0400 [thread overview]
Message-ID: <jwv7h6ok0ef.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83pqkgzjtr.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Aug 2011 06:02:56 +0300")
>> That was my impression as well: the fusing should not always be done
>> in the same direction. I'd still like to hear your reasoning about
>> why it only depends on the particular zero-width char and not on the
>> surrounding context.
> I explained that, for the directional control characters: the need to
> be able to interactively copy/paste text and be sure it displays the
> same. The directional controls affect the _following_ characters. If
> we "fuse" LRM/RLM/LRO/RLO/LRE/RLE with the previous character, they
> can only be copy/pasted with the text that precedes them, where they
> have no effect whatsoever. That's why PDF is different: it affects
> the characters that precede it.
Ah, so they're kind of like combining characters. Good.
In that case I think hardcoding PDF in the code is perfectly acceptable,
with a commend explaining what's going on.
Stefan
prev parent reply other threads:[~2011-08-08 4:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-06 14:47 Adjust point to move it off zero-width characters Eli Zaretskii
2011-08-07 16:13 ` Stefan Monnier
2011-08-07 16:39 ` Eli Zaretskii
2011-08-07 16:46 ` Eli Zaretskii
2011-08-07 17:10 ` Eli Zaretskii
2011-08-08 0:50 ` Stefan Monnier
2011-08-08 3:02 ` Eli Zaretskii
2011-08-08 4:12 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv7h6ok0ef.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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 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.