Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-04-08 Thread Ihor Radchenko
Hi Bastien, I can confirm that the bug is not there anymore. Best, Ihor Bastien writes: > Hi Bram and Ihor, > > this should be fixed now in maint and master. > > I implemented a different fix, please test it and report > any problem. > > Thanks, > > -- > Bastien -- Ihor Radchenko, PhD, Cen

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-03 Thread Bram Adams
Hi Bastien, > Yes, you're right, my fix was wrong - I've followed your indication > and removed the second occurrence of '>. > > What happens is this: the template expansion calls org-edit-src-code > which gets the wrong source block boundaries, thus escaping "#+begin" > with a comma. > > Lookin

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-03 Thread Bastien
Hi Bram, Bram Adams writes: > I applied the commit, but still encounter the same issue, unless I > disable `org-src-tab-acts-natively’ or remove ‘> in the org-tempo > macro. Yes, you're right, my fix was wrong - I've followed your indication and removed the second occurrence of '>. What happen

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-03 Thread Bram Adams
Hi Bastien, >> Are you referring to commit cad2a6a588? > > Yes, this commit. I applied the commit, but still encounter the same issue, unless I disable `org-src-tab-acts-natively’ or remove ‘> in the org-tempo macro. Kind regards, Bram Adams

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-03 Thread Bastien
Hi Bram, Bram Adams writes: > Are you referring to commit cad2a6a588? Yes, this commit. -- Bastien

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-03 Thread Bram Adams
Hi Bastien, > this should be fixed now in maint and master. Thanks for looking into this. > I implemented a different fix, please test it and report > any problem. Are you referring to commit cad2a6a588? Kind regards, Bram Adams

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-03 Thread Bastien
Hi Bram and Ihor, this should be fixed now in maint and master. I implemented a different fix, please test it and report any problem. Thanks, -- Bastien

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-02 Thread Bram Adams
Hi Ihor, > It's a duplicate of my earlier bug report > https://lists.gnu.org/archive/html/emacs-orgmode/2019-12/msg00326.html > True, I seem to notice the same symptoms and also had `org-src-tab-acts-natively’ set. > Hope

Re: Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-02 Thread Ihor Radchenko
It's a duplicate of my earlier bug report https://lists.gnu.org/archive/html/emacs-orgmode/2019-12/msg00326.html Hope, there will be some progress. Best, Ihor Bram Adams writes: > Hi, > > I encountered a bug in org-tempo-add-block, where the following snippet in an > org file (with “ `org-st

Bug (with fix): org-tempo-add-block incorrectly inserts comma before next `#+begin_src' during expansion [9.3.2 (9.3.2-8-g47b104-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20200127/)]

2020-02-02 Thread Bram Adams
Hi, I encountered a bug in org-tempo-add-block, where the following snippet in an org file (with “’ on line 125 of org-tempo.el: === (defun org-tempo-add-block (entry) "Add block entry from `org-structure-template-alist'." (let* ((key (format "<%s" (car entry))) (name (cdr entry))