From: Rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: customize type spec not being followed?
Date: Sun, 24 Dec 2017 03:46:39 -0800 (PST) [thread overview]
Message-ID: <b7965625-0c8e-4108-8294-18bfb86a7709@googlegroups.com> (raw)
When I do C-h v: org-structure-template-alist
I see:
-----------------
org-structure-template-alist is a variable defined in ‘org.el’.
Its value is shown below.
<description>
Value: ((97 . "export ascii")
(99 . "center")
(67 . "comment")
(101 . "example")
(69 . "export")
(104 . "export html")
(108 . "export latex")
(113 . "quote")
(115 . "src")
(118 . "verse"))
---------------------
Its definition pointed to from above is
----------------------
(defcustom org-structure-template-alist
'((?a . "export ascii")
(?c . "center")
(?C . "comment")
(?e . "example")
(?E . "export")
(?h . "export html")
(?l . "export latex")
(?q . "quote")
(?s . "src")
(?v . "verse"))
"Structure completion elements.
This is an alist of characters and values. When
`org-insert-structure-template' is called, an additional key is
read. The key is first looked up in this alist, and the
corresponding structure is inserted, with \"#+BEGIN_\" and
\"#+END_\" added automatically."
:group 'org-edit-structure
:type '(repeat
(cons (character :tag "Key")
(string :tag "Template")))
:package-version '(Org . "9.2"))
--------------------------
So my question: When the type says character why does it show as integer?
next reply other threads:[~2017-12-24 11:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-24 11:46 Rusi [this message]
2017-12-24 12:01 ` customize type spec not being followed? Philipp Stephani
[not found] ` <mailman.6291.1514116912.27995.help-gnu-emacs@gnu.org>
2017-12-24 12:05 ` Rusi
2017-12-24 12:34 ` Philipp Stephani
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=b7965625-0c8e-4108-8294-18bfb86a7709@googlegroups.com \
--to=rustompmody@gmail.com \
--cc=help-gnu-emacs@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.