emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Re: the comment environment does not work for checkboxes
Date: Sat, 30 Jul 2022 13:55:24 +0800	[thread overview]
Message-ID: <87k07vta9f.fsf@localhost> (raw)
In-Reply-To: <87czdni2e0.fsf@mat.ucm.es>

Uwe Brauer <oub@mat.ucm.es> writes:

>> Uwe Brauer <oub@mat.ucm.es> writes:
>
> Thanks for the patch (this is against the latest master I presume?)
>> Thanks for the heads-up!
>> Comment blocks are not supposed to contain Org markup, and thus it indeed
>> makes sense to support them in org-edit-special and in structure
>> templates.
>
>> See the attached patch.
>
> I test and report back: BTW
>
>     1. The feature I require can only be achieved by using a «src» block
>        not a comment block. A bit contra intuitive I say

I am sorry, but I am not familiar with the feature you are referring to.
Either way, both src and comment blocks are supposed to contain
arbitrary non-parseable text, which should not contribute to the
statistics? calculations.

>     2. Suppose I once mark a lot of headings and add a src block (which
>        add the required «,» to the *, how do I later get rid of the src
>        block *and* the «,»

AFAIK, you cannot. At least, not using an existing command. What you can
instead do is open C-c ' window, copy the unescaped text, exit the
window, remove the block, and yank the unescaped text.

Best,
Ihor


  reply	other threads:[~2022-07-30  5:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-29  5:30 the comment environment does not work for checkboxes Uwe Brauer
2022-07-29  7:56 ` Dr. Arne Babenhauserheide
2022-07-29 14:39   ` Uwe Brauer
2022-07-30  5:27     ` [PATCH] " Ihor Radchenko
2022-07-30  5:40       ` Uwe Brauer
2022-07-30  5:55         ` Ihor Radchenko [this message]
2022-07-30  6:00           ` Uwe Brauer
2022-07-30  6:15             ` Ihor Radchenko
2022-07-30  6:23               ` Uwe Brauer
2022-07-30 12:09                 ` Ihor Radchenko
2022-08-04 12:08       ` Uwe Brauer
2022-08-04 14:26         ` Ihor Radchenko
2022-08-07  9:41       ` Ihor Radchenko
2022-07-30  5:21   ` [SOLVED: src not comment] (was: the comment environment does not work for checkboxes) Uwe Brauer

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=87k07vta9f.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /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).