Easy Templates in Org 9.2












2














Easy templates in Org 9.2 are not working for me on GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30.



I have changed my elpa/ directory to smelpa/. I load emacs -q and switch to the *scratch* buffer and toggle M-x org-mode. A call to org-version returns



Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ c:/Program Files/emacs-26.1-x86_64/share/emacs/26.1/lisp/org/)


When I type <s TAB, the easy template expands as expected.



<s|<-----<press TAB here>

#+BEGIN_SRC

#+END_SRC


Now, to upgrade to Org 9.2, I do list-packages and install org. (For some reason package-install doesn't return org). Returning to the *scratch* buffer, running org-version returns



Org mode version 9.2 (9.2-elpa @ c:/Users/%USERNAME%/.emacs.d/elpa/org-9.2/)


It seems like Org 9.2 installed correctly. The same is true if I just directly install Org 9.2 and create a new org buffer (i.e. don't load the default org first). Easy templates won't work in Org 9.2.



I looked around for a bug tracker, but I don't see anything on the official repo.




  • Did I install Org 9.2 correctly?

  • Is there perhaps some compiled file lingering somewhere from a bad install?

  • If this is a bug, how do I submit it? With report-emacs-bug?










share|improve this question






















  • Could it be an org-mode dependency that needs an update?
    – wef
    5 hours ago
















2














Easy templates in Org 9.2 are not working for me on GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30.



I have changed my elpa/ directory to smelpa/. I load emacs -q and switch to the *scratch* buffer and toggle M-x org-mode. A call to org-version returns



Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ c:/Program Files/emacs-26.1-x86_64/share/emacs/26.1/lisp/org/)


When I type <s TAB, the easy template expands as expected.



<s|<-----<press TAB here>

#+BEGIN_SRC

#+END_SRC


Now, to upgrade to Org 9.2, I do list-packages and install org. (For some reason package-install doesn't return org). Returning to the *scratch* buffer, running org-version returns



Org mode version 9.2 (9.2-elpa @ c:/Users/%USERNAME%/.emacs.d/elpa/org-9.2/)


It seems like Org 9.2 installed correctly. The same is true if I just directly install Org 9.2 and create a new org buffer (i.e. don't load the default org first). Easy templates won't work in Org 9.2.



I looked around for a bug tracker, but I don't see anything on the official repo.




  • Did I install Org 9.2 correctly?

  • Is there perhaps some compiled file lingering somewhere from a bad install?

  • If this is a bug, how do I submit it? With report-emacs-bug?










share|improve this question






















  • Could it be an org-mode dependency that needs an update?
    – wef
    5 hours ago














2












2








2







Easy templates in Org 9.2 are not working for me on GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30.



I have changed my elpa/ directory to smelpa/. I load emacs -q and switch to the *scratch* buffer and toggle M-x org-mode. A call to org-version returns



Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ c:/Program Files/emacs-26.1-x86_64/share/emacs/26.1/lisp/org/)


When I type <s TAB, the easy template expands as expected.



<s|<-----<press TAB here>

#+BEGIN_SRC

#+END_SRC


Now, to upgrade to Org 9.2, I do list-packages and install org. (For some reason package-install doesn't return org). Returning to the *scratch* buffer, running org-version returns



Org mode version 9.2 (9.2-elpa @ c:/Users/%USERNAME%/.emacs.d/elpa/org-9.2/)


It seems like Org 9.2 installed correctly. The same is true if I just directly install Org 9.2 and create a new org buffer (i.e. don't load the default org first). Easy templates won't work in Org 9.2.



I looked around for a bug tracker, but I don't see anything on the official repo.




  • Did I install Org 9.2 correctly?

  • Is there perhaps some compiled file lingering somewhere from a bad install?

  • If this is a bug, how do I submit it? With report-emacs-bug?










share|improve this question













Easy templates in Org 9.2 are not working for me on GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30.



I have changed my elpa/ directory to smelpa/. I load emacs -q and switch to the *scratch* buffer and toggle M-x org-mode. A call to org-version returns



Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ c:/Program Files/emacs-26.1-x86_64/share/emacs/26.1/lisp/org/)


When I type <s TAB, the easy template expands as expected.



<s|<-----<press TAB here>

#+BEGIN_SRC

#+END_SRC


Now, to upgrade to Org 9.2, I do list-packages and install org. (For some reason package-install doesn't return org). Returning to the *scratch* buffer, running org-version returns



Org mode version 9.2 (9.2-elpa @ c:/Users/%USERNAME%/.emacs.d/elpa/org-9.2/)


It seems like Org 9.2 installed correctly. The same is true if I just directly install Org 9.2 and create a new org buffer (i.e. don't load the default org first). Easy templates won't work in Org 9.2.



I looked around for a bug tracker, but I don't see anything on the official repo.




  • Did I install Org 9.2 correctly?

  • Is there perhaps some compiled file lingering somewhere from a bad install?

  • If this is a bug, how do I submit it? With report-emacs-bug?







org-mode package list-packages






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 5 hours ago









Lorem IpsumLorem Ipsum

270110




270110












  • Could it be an org-mode dependency that needs an update?
    – wef
    5 hours ago


















  • Could it be an org-mode dependency that needs an update?
    – wef
    5 hours ago
















Could it be an org-mode dependency that needs an update?
– wef
5 hours ago




Could it be an org-mode dependency that needs an update?
– wef
5 hours ago










2 Answers
2






active

oldest

votes


















3














Note that the following answer is mostly a citation of two answers in the corresponding reddit article.



They changed the template system in orgmode 9.2.



You get the old easy-template system back




  • by adding (require 'org-tempo) to your init file or

  • by adding org-tempo to the list org-modules. You can do that by customizing org-modules.


Alternatively you can try the new structured template mechanism.
The command org-insert-structure-template bound to C-c C-, gives you a list of #+begin_-#+end_ pairs that narrows down while you type and you can use completion.






share|improve this answer































    0














    To address the side questions:



    Did I install Org 9.2 correctly?



    Yes. Installing org via list-packages will "override" the default version. This can be seen by running org-version. Note that it may be necessary to restart Emacs (or the Emacs server).



    If this is a bug, how do I submit it? With report-emacs-bug?



    According to the org-mode homepage (at the bottom), use M-x org-submit-bug-report. Make sure you Ask Questions the Smart Way so as not to spam the developers! This would include checking the release notes of the new version!






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "583"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f46988%2feasy-templates-in-org-9-2%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      Note that the following answer is mostly a citation of two answers in the corresponding reddit article.



      They changed the template system in orgmode 9.2.



      You get the old easy-template system back




      • by adding (require 'org-tempo) to your init file or

      • by adding org-tempo to the list org-modules. You can do that by customizing org-modules.


      Alternatively you can try the new structured template mechanism.
      The command org-insert-structure-template bound to C-c C-, gives you a list of #+begin_-#+end_ pairs that narrows down while you type and you can use completion.






      share|improve this answer




























        3














        Note that the following answer is mostly a citation of two answers in the corresponding reddit article.



        They changed the template system in orgmode 9.2.



        You get the old easy-template system back




        • by adding (require 'org-tempo) to your init file or

        • by adding org-tempo to the list org-modules. You can do that by customizing org-modules.


        Alternatively you can try the new structured template mechanism.
        The command org-insert-structure-template bound to C-c C-, gives you a list of #+begin_-#+end_ pairs that narrows down while you type and you can use completion.






        share|improve this answer


























          3












          3








          3






          Note that the following answer is mostly a citation of two answers in the corresponding reddit article.



          They changed the template system in orgmode 9.2.



          You get the old easy-template system back




          • by adding (require 'org-tempo) to your init file or

          • by adding org-tempo to the list org-modules. You can do that by customizing org-modules.


          Alternatively you can try the new structured template mechanism.
          The command org-insert-structure-template bound to C-c C-, gives you a list of #+begin_-#+end_ pairs that narrows down while you type and you can use completion.






          share|improve this answer














          Note that the following answer is mostly a citation of two answers in the corresponding reddit article.



          They changed the template system in orgmode 9.2.



          You get the old easy-template system back




          • by adding (require 'org-tempo) to your init file or

          • by adding org-tempo to the list org-modules. You can do that by customizing org-modules.


          Alternatively you can try the new structured template mechanism.
          The command org-insert-structure-template bound to C-c C-, gives you a list of #+begin_-#+end_ pairs that narrows down while you type and you can use completion.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 4 hours ago

























          answered 5 hours ago









          TobiasTobias

          12.7k1833




          12.7k1833























              0














              To address the side questions:



              Did I install Org 9.2 correctly?



              Yes. Installing org via list-packages will "override" the default version. This can be seen by running org-version. Note that it may be necessary to restart Emacs (or the Emacs server).



              If this is a bug, how do I submit it? With report-emacs-bug?



              According to the org-mode homepage (at the bottom), use M-x org-submit-bug-report. Make sure you Ask Questions the Smart Way so as not to spam the developers! This would include checking the release notes of the new version!






              share|improve this answer


























                0














                To address the side questions:



                Did I install Org 9.2 correctly?



                Yes. Installing org via list-packages will "override" the default version. This can be seen by running org-version. Note that it may be necessary to restart Emacs (or the Emacs server).



                If this is a bug, how do I submit it? With report-emacs-bug?



                According to the org-mode homepage (at the bottom), use M-x org-submit-bug-report. Make sure you Ask Questions the Smart Way so as not to spam the developers! This would include checking the release notes of the new version!






                share|improve this answer
























                  0












                  0








                  0






                  To address the side questions:



                  Did I install Org 9.2 correctly?



                  Yes. Installing org via list-packages will "override" the default version. This can be seen by running org-version. Note that it may be necessary to restart Emacs (or the Emacs server).



                  If this is a bug, how do I submit it? With report-emacs-bug?



                  According to the org-mode homepage (at the bottom), use M-x org-submit-bug-report. Make sure you Ask Questions the Smart Way so as not to spam the developers! This would include checking the release notes of the new version!






                  share|improve this answer












                  To address the side questions:



                  Did I install Org 9.2 correctly?



                  Yes. Installing org via list-packages will "override" the default version. This can be seen by running org-version. Note that it may be necessary to restart Emacs (or the Emacs server).



                  If this is a bug, how do I submit it? With report-emacs-bug?



                  According to the org-mode homepage (at the bottom), use M-x org-submit-bug-report. Make sure you Ask Questions the Smart Way so as not to spam the developers! This would include checking the release notes of the new version!







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  Lorem IpsumLorem Ipsum

                  270110




                  270110






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Emacs Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f46988%2feasy-templates-in-org-9-2%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Eastern Orthodox Church

                      Understanding the information contained in the Deep Space Network XML data?

                      Zagreb