Re: [Patch] Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2021-05-16 Thread Bastien
Hi Sébastien, Sébastien Miquel writes: > I think something went wrong though. I've attached as a new patch a > part of the previous one that wasn't applied. Without it, some > write-back buffers are never killed. Sorry I overlooked this, and thanks a lot for the patch, applied now. --

Re: [Patch] Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2021-05-16 Thread Sébastien Miquel
Hi Bastien, Bastien writes: Sorry it took so long to apply this patch, this is now done in maint. No problem, thank you for getting back on this. I think something went wrong though. I've attached as a new patch a part of the previous one that wasn't applied. Without it, some write-back

Re: [Patch] Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2021-05-16 Thread Bastien
Hi Sébastien, Sébastien Miquel writes: > I've fixed an issue in my previous patch with the write-back buffer > not getting killed. Sorry it took so long to apply this patch, this is now done in maint. > There's also a remaining issue with the ~undo-boundary~ call in > ~org-edit-src-exit~.

Re: [Patch] Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2020-10-23 Thread Sébastien Miquel
I've fixed an issue in my previous patch with the write-back buffer not getting killed. Quick recap of the issue for anyone who might be interested: When ~org-src-tab-acts-natively~ is t (which is now the default) functions such as ~indent-region~ and ~comment-region~ acting on a src block

Re: [Patch] Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2020-10-04 Thread Sébastien Miquel
Hi, The attached patch fixes this issue for emacs >= 26.1. It also fixes a similar issue where comment-line moves the cursor to the beginning of the block aswell. Can this patch be applied ? Regards, Sébastien Miquel >From 36f01b8e9d8dc335564f8dc932caf21c43c374eb Mon Sep 17 00:00:00 2001