Re: `org-indent-line' docstring is inaccurate for org-src-tab-acts-natively = nil (was: [BUG] Unintuitive indentation behavior when editing org-src blocks)

2025-04-05 Thread lra
7;t itself give any clear indication of how indentation will behave if it is disabled (or why one might do this). You need to go to `org-indent-line' to find out. >From a maintenance perspective, I was going through the behavior after disabling it and had no real idea which of the current be

Re: org-indent-line on the first line of src blocks when org-edit-src-content-indentation is non-zero (was: [BUG] Unintuitive indentation behavior when editing org-src blocks)

2025-03-31 Thread lra
e `org-indent-line' when `org-src-tab-acts-natively' is nil. Couple of clarifying questions: 1. What's the procedure when renaming a customization variable? 2. Shouldn't it include first non-blank line as well? Say if you open     a few lines before you start typing and TAB'ing. LRA

Re: `org-indent-line' indents the end tag of some blocks but doesn't do so with src blocks (was: [BUG] Unintuitive indentation behavior when editing org-src blocks)

2025-03-31 Thread lra
l be :value-being/:value-end property to avoid > the skip-chars-backwad dance, but not yet. > See https://git.sr.ht/~yantar92/org-mode/commit/f8e2eeae21e99492cb Should we add a comment noting this, or are you keeping track in your branch? LRA Mar 29, 2025, 11:19 by yanta...@posteo.net:

Re: [BUG] Unintuitive indentation behavior when editing org-src blocks

2025-03-31 Thread lra
hink it makes sense to at least refrain from moving stuff around unnecessarily, just in case some modes do rely on current indentation. LRA Mar 29, 2025, 11:07 by yanta...@posteo.net: > l...@phdk.org writes: > >> Thanks for the comments, I've attached the updated patch. >

Re: [BUG] Unintuitive indentation behavior when editing org-src blocks

2025-03-27 Thread lra
', press enter at the end of a src block header. #+begin_src fundamental #+end_src My expectation: you are placed at the content indent. Actual: You are placed at column 0. I didn't prepare a patch since my favored solutions would require changes to multiple functions including descri

[BUG] Unintuitive indentation behavior when editing org-src blocks

2025-03-25 Thread lra
uld be making `org-src-tab-acts-natively' always reindent the entire block, but that seems overkill to me. LRA - [1] I think this is what this thread was about: https://list.orgmode.org/CALp=Ckko1Ck7-3K+bfKXLVSqDJvmHW

Re: [PATCH] Fixing a regression in org-persists ability to handle non-list container arguments.

2024-10-03 Thread lra
Hi Ihor and Karthik, > Thanks! > Applied, onto main. > LRA, thanks for the fix. Glad to be of assistance! > P.S. We really need tests for org-persist. Yeah I did note a couple of pretty straight-forward opportunities for clean-up wrt. redundancies and readability, but withou

Re: [PATCH] Fixing a regression in org-persists ability to handle non-list container arguments.

2024-09-17 Thread lra
And it is *with* the attachment. Kind regards, LRA Sep 18, 2024, 02:26 by l...@phdk.org: > Hello org-mode mailing list > > Long time, first time. This is just a tiny patch fixing a regression > in org-persist--find-index that was missed in the 95f77669e0 bugfix. It > affects