all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: What do the "bidi-paragraph-start-re" and "bidi-paragraph-separate-re" do?
Date: Mon, 07 Nov 2022 14:57:30 +0100	[thread overview]
Message-ID: <877d06j29h.fsf@gmail.com> (raw)
In-Reply-To: CA+-Lr-CjAKYg4p9nTXmaysMBNkmL9rd7h+Q9Eh2GAiocEprKZg@mail.gmail.com

>>>>> On Mon, 7 Nov 2022 15:03:45 +0200, Evan Aad <oddeveneven@gmail.com> said:

    Evan> Thanks. But what specifically do these lines accomplish?

It means that

---------
line1
line2
line3
---------
is treated as 3 separate paragraphs by the bidi code. With the default
values, youʼd have to write

---------
line1

line2

line3
---------

Why would you care? Itʼs so that you can have different bidi
directions on different lines without having to separate the
paragraphs with newlines (youʼd probably want to turn on
`visual-line-mode' as well).

Robert
-- 




  parent reply	other threads:[~2022-11-07 13:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07  6:37 What do the "bidi-paragraph-start-re" and "bidi-paragraph-separate-re" do? Evan Aad
2022-11-07 12:44 ` Emanuel Berg
2022-11-07 13:03   ` Evan Aad
2022-11-07 13:12     ` Emanuel Berg
2022-11-07 13:57     ` Robert Pluim [this message]
2022-11-08  5:51       ` Evan Aad
2022-11-08  6:15         ` Emanuel Berg
2022-11-08  8:28         ` Robert Pluim
2022-11-08  9:21           ` Evan Aad
2022-11-08 10:44             ` Emanuel Berg
2022-11-08 11:16               ` Robert Pluim
2022-11-08 12:21           ` Eli Zaretskii
2022-11-08 22:51           ` Michael Heerdegen
2022-11-09 11:02             ` Evan Aad
2022-11-09 13:16               ` Robert Pluim

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=877d06j29h.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=help-gnu-emacs@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.