emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Tom Alexander" <tom@fizz.buzz>
To: emacs-orgmode@gnu.org
Subject: Fixed width areas not allowing tab after leading colon.
Date: Sat, 16 Sep 2023 14:43:27 -0400	[thread overview]
Message-ID: <f141ea29-f3ec-4d0d-bc7a-195791ecd9a0@app.fastmail.com> (raw)

The documentation for fixed width areas states: A “fixed-width line” starts with a colon character (:) and either a whitespace character or the immediate end of the line. 

Using the test document:
```
:<TAB>foo
```

parses as a paragraph instead of a fixed-width area:
```
(org-data
(:standard-properties
  [1 1 1 7 7 0 nil org-data nil nil nil 3 7 nil #<buffer *scratch*> nil nil nil]
  :path nil :CATEGORY nil)
(section
  (:standard-properties
   [1 1 1 7 7 0 nil first-section nil nil nil 1 7 nil #<buffer *scratch*> nil nil #0])
  (paragraph
   (:standard-properties
    [1 1 1 7 7 0 nil top-comment nil nil nil nil nil nil #<buffer *scratch*> nil nil #1])
   #(": foo\n" 0 6
     (:parent #2)))))
```

This happens in a document in worg: https://git.sr.ht/~bzg/worg/tree/74e80b0f7600801b1d1594542602394c085cc2f9/item/org-contrib/org-bom.org#L499

Emacs version: GNU Emacs 29.1 (build 1, x86_64-pc-linux-musl)
Org-mode version: c703541ffcc14965e3567f928de1683a1c1e33f6 (latest in git)

Fixed-width area documentation: https://orgmode.org/worg/org-syntax.html#Fixed_Width_Areas
--
Tom Alexander



             reply	other threads:[~2023-09-16 18:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-16 18:43 Tom Alexander [this message]
2023-09-17  9:48 ` Fixed width areas not allowing tab after leading colon Ihor Radchenko
2023-09-20  0:10   ` Tom Alexander

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=f141ea29-f3ec-4d0d-bc7a-195791ecd9a0@app.fastmail.com \
    --to=tom@fizz.buzz \
    --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).