emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Syntax question: What is BORDER in 4.17. Text Markup?
Date: Wed, 7 Dec 2022 10:35:38 +0700	[thread overview]
Message-ID: <tmp1mc$1792$1@ciao.gmane.io> (raw)
In-Reply-To: <87mt80e69n.fsf@wi.uni-muenster.de>

On 07/12/2022 01:28, Jens Lechtenboerger wrote:
> Hi there,
> 
> the syntax for Text Markup such as *bold* at [1] specifies
> PRE MARKER CONTENTS MARKER POST with
> CONTENTS as BORDER BODY BORDER and
> BORDER as “Any non-whitespace character.”
> 
> What is the role of BORDER here?  Does it really exist?

I think, the idea is to stress that

     / / or * word *

must not be considered as emphasis.

> What is BORDER if CONTENTS should be a single character, e.g., in
> the two strings “*x*” and “~*~”?  Are single characters forbidden?

The spec is not precise here. It is close to the code that actually 
allows single character contents, see 
`org-element--parse-generic-emphasis' and the docstring of 
`org-emphasis-regexp-components'.

Perhaps it should be stated as (in regexp notation)

BORDER (BODY? BORDER)?

or as alternatives

BORDER or BORDER BORDER or BORDER BODY BORDER.



  parent reply	other threads:[~2022-12-07  3:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06 18:28 Syntax question: What is BORDER in 4.17. Text Markup? Jens Lechtenboerger
2022-12-06 18:54 ` tomas
2022-12-07  3:35 ` Max Nikulin [this message]
2022-12-07  7:16   ` Jens Lechtenboerger
2022-12-07  7:54     ` Jens Lechtenboerger
2022-12-07  9:36       ` Timothy
2022-12-07 10:29         ` Jens Lechtenboerger
2022-12-07 10:38           ` tomas
2022-12-07 15:43       ` Nick Dokos
2022-12-07 15:52         ` Ihor Radchenko

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='tmp1mc$1792$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@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 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).