emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] Introduce ox-i18n.el
Date: Tue, 02 Jul 2013 19:43:28 +0200	[thread overview]
Message-ID: <877gh8j1rz.fsf@pank.eu> (raw)
In-Reply-To: 87sizxorhr.fsf@gmail.com

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Even though it is a defconst, you can still change it. You are not
> forced to anything. But you're on your own.

I agree, but it being a defconst, it comes with the message

  "This declares that neither programs nor users should ever change
   the value."

> By the way, it is a defconst because of the keys, which shouldn't be
> altered, not the values. 

If that's really a the concern then why not write a function to alter
values in a safe manner?

Alternatively, it could stay defconst, and there could be a
org-export-smart-quotes-alist-user, defaulting to nil but taking
precedence over its non-user counterpart.  If people specify a wrong
language code it'll just be ignored.

–Rasmus

-- 
When in doubt, do it!

  parent reply	other threads:[~2013-07-02 17:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-29 14:06 [RFC] Introduce ox-i18n.el Nicolas Goaziou
2013-06-29 15:01 ` Bastien
2013-06-29 15:22 ` Rasmus
2013-07-01 10:13   ` Sebastien Vauban
2013-07-01 10:19     ` Bastien
2013-07-02  6:37 ` Jambunathan K
2013-07-02 15:39   ` Nicolas Goaziou
2013-07-02 16:21     ` Rasmus
2013-07-02 16:29       ` Nicolas Goaziou
2013-07-02 17:10         ` Jambunathan K
2013-07-02 17:26           ` Nicolas Goaziou
2013-07-02 17:40             ` Jambunathan K
2013-07-02 17:43         ` Rasmus [this message]
2013-07-02 18:12           ` Jambunathan K
2013-07-02 16:40     ` Jambunathan K
2013-07-02 13:04 ` Rasmus
2013-07-02 16:30   ` Nicolas Goaziou

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=877gh8j1rz.fsf@pank.eu \
    --to=rasmus@gmx.us \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).