Ihor Radchenko <yanta...@gmail.com> 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, \"#+BEGIN_\" and \"#+END_\" > +are added instead. FYI: A typo in "letter" (expected "letters") (We could also simplify to: "if the block type consists of just uppercase letter".) > + (let* ((case-fold-search t) ; Make sure that matches are case-insnsitive. > + (region? (use-region-p)) FYI: A typo in "case-insnsitive" (expected "case-insensitive") Looking forward to seeing this merged! Rudy -- "I love deadlines. I love the whooshing noise they make as they go by." -- Douglas Adams, The Salmon of Doubt, 2002 Rudolf Adamkovič <salu...@me.com> [he/him] Studenohorská 25 84103 Bratislava Slovakia