emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Incorrect indentation when there are invisible/diplay properti


From: Hammer Hu
Subject: Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)]
Date: Wed, 12 Jul 2023 17:43:38 +0000

When indent-region, instead of getting:

---
** heading

   text 1

   #+begin_quote
   block
   #+end_quote

   text 2
---

we allow the it to be:

---
** heading

   text 1

#+begin_quote
block
#+end_quote

   text 2
---

It makes it easy to copy code snippets from org file without emacs. I put
together casual numerical codes with other research records in org files and
have them synced to cloud drive. So sometimes when I need to extract codes from
org files and don't have access to a computer with emacs, I either bear with
messy codes or adjust then manually. Even worse, when python codes is in need,
it would be a disaster.

Best,

---------------------------------------------
From: Ihor Radchenko <yantar92@posteo.net>
Sent: 12.07.2023 08:42
To: Hammer Hu <hammer@posteo.net>
Subject: Re: [BUG] Incorrect indentation when there are invisible/diplay 
properties on the line [9.6.7 ( @ 
/home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)]

Hammer Hu <hammer@posteo.net> writes:

> Thanks for your accommodations. Is it possible to introduce a feature to align
> all blocks to the begining to the lines when indenting? I thing it helps when
> copying contents from a org file without emacs installed.

May you elaborate? 

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]