Re: [PATCH] Re: [BUG] Hard-coded begin/end in org-insert-structure-template [9.5.2 (release_9.5.2-24-g668205 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-06-18 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > > I patched a local checkout of the main branch, and I can confirm that > your works well here. I also added [1] to my configuration file to > upcase all the structure templates automatically. I hope we will have > this bundled with Org

Re: [PATCH] Re: [BUG] Hard-coded begin/end in org-insert-structure-template [9.5.2 (release_9.5.2-24-g668205 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-03-25 Thread Rudolf Adamkovič
Ihor Radchenko writes: I patched a local checkout of the main branch, and I can confirm that your works well here. I also added [1] to my configuration file to upcase all the structure templates automatically. I hope we will have this bundled with Org proper. Fantastic work! [1] Code that

Re: [PATCH] Re: [BUG] Hard-coded begin/end in org-insert-structure-template [9.5.2 (release_9.5.2-24-g668205 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-03-23 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> +with \"#+begin_\" and \"#+end_\" added automatically. If the block >> +type is written using upper case letter, \"#+BEGIN_\" and \"#+END_\" >> +are added instead. > > FYI: A typo in "letter" (expected "letters") > > (We could also simplify to: "if the block type

Re: [PATCH] Re: [BUG] Hard-coded begin/end in org-insert-structure-template [9.5.2 (release_9.5.2-24-g668205 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-03-22 Thread Rudolf Adamkovič
Ihor Radchenko writes: > We can auto-magically determine whether to use BEGIN_ or begin_ > depending on the case in template type. Tentative patch attached. Interesting! > +with \"#+begin_\" and \"#+end_\" added automatically. If the block > +type is written using upper case letter,