all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rustom Mody <rustompmody@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-tempo and org-structure-template-alist changes
Date: Mon, 8 Jan 2018 08:06:30 +0530	[thread overview]
Message-ID: <CAJ+TeocXpQyAFkypb5CeGXFhLVu-hZFhVqMP2ajHDpj1M71O7Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

Recent changes to org (not sure when), seem to have changed the type
of org-structure-template-alist

This broke org-reveal : https://github.com/yjwen/org-reveal

I suggested (without too much knowledge) the attached patch to the reveal folks
(Issue: https://github.com/yjwen/org-reveal/issues/315#issuecomment-355868192 )

Now someone has asked that that patch be made into a pull-request

It would be good if someone here can look at the patch in the light of
these recent changes and see
if the patch looks ok

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 764 bytes --]

--- ox-reveal.el	2017-12-24 16:59:00.993293157 +0530
+++ ox-reveal-new.el	2017-12-24 17:54:22.293899742 +0530
@@ -359,7 +359,7 @@
   :group 'org-export-reveal
   :type 'string)
 
-(defcustom org-reveal-note-key-char "n"
+(defcustom org-reveal-note-key-char ?n
   "If not nil, org-reveal-note-key-char's value is registered as
   the key character to Org-mode's structure completion for
   Reveal.js notes. When `<' followed by the key character are
@@ -1228,7 +1228,7 @@
 ;; Register auto-completion for speaker notes.
 (when org-reveal-note-key-char
   (add-to-list 'org-structure-template-alist
-               (list org-reveal-note-key-char "#+BEGIN_NOTES\n\?\n#+END_NOTES")))
+               (cons org-reveal-note-key-char "notes")))
 
 (provide 'ox-reveal)
 

                 reply	other threads:[~2018-01-08  2:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ+TeocXpQyAFkypb5CeGXFhLVu-hZFhVqMP2ajHDpj1M71O7Q@mail.gmail.com \
    --to=rustompmody@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.