emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Alan E. Davis" <lngndvs@gmail.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Defining capture-templates: custom and init file
Date: Tue, 8 Mar 2011 21:05:33 +1000	[thread overview]
Message-ID: <AANLkTi=J05Ss7=_0=vDYPXM6-=XRZSvTNDL-2dP_6CO7@mail.gmail.com> (raw)
In-Reply-To: <20110307223319.2aa9944b@bhishma.homelinux.net>

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

Very revealing.  However, that post was written in 2005, and the following
statement is found at the tail end:

The good news

The behaviour of custom due to more than one custom-set-... statement will
be changed in Emacs 21.xx. I've been told that
> Multiple calls to custom-set-variables should work in Emacs 21;
> if you customize, all the variables go into the first one,
> and the rest are deleted.

I can still dream.  I have to say, though, thank you very, very much.  This
certainly clarifies the issue well.

Alan

On Tue, Mar 8, 2011 at 4:33 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com>wrote:

> Hi Alan,
>
> On Tue, 8 Mar 2011 16:13:34 +1000
> "Alan E. Davis" <lngndvs@gmail.com> wrote:
>
> > I have noticed the message from within the customization interface
> > that some variable or another was set outside of customization, and
> > there may be unpredictable results.  Wonder what that really means,
> > though.   It's still a variable, isn't it?
> >
>
> Say you customise the templates outside your custom-set-variables
> block. Now if you use the customise your templates with customize and
> save them, it will be saved in the custom-set-variables block. For the
> current session of emacs you might not experience any problems, but
> when you restart emacs depending on which comes first the setq or the
> custom-set-variables your templates will be set accordingly. It is
> difficult to predict for me which will be the case. For more on this
> you can look here[1].
>
> Hope this helps you understand the issue with what you are attempting.
>
> [1] http://www.dotemacs.de/custbuffer.html
>
> > Alan
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>

[-- Attachment #2: Type: text/html, Size: 2571 bytes --]

  reply	other threads:[~2011-03-08 11:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08  2:17 Defining capture-templates: custom and init file Alan E. Davis
2011-03-08  5:39 ` Suvayu Ali
2011-03-08  6:13   ` Alan E. Davis
2011-03-08  6:33     ` Suvayu Ali
2011-03-08 11:05       ` Alan E. Davis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-08 11:19 Rustom Mody

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='AANLkTi=J05Ss7=_0=vDYPXM6-=XRZSvTNDL-2dP_6CO7@mail.gmail.com' \
    --to=lngndvs@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /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).