unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: florian@fsavigny.de (Florian v. Savigny)
To: Rusi <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: When/where does setq work?
Date: Thu, 03 Apr 2014 10:49:34 -0400	[thread overview]
Message-ID: <E1WVixL-0000w5-54@eggs.gnu.org> (raw)
In-Reply-To: <f6eb1c44-6881-4d47-940c-aa6824dbdef4@googlegroups.com> (message from Rusi on Wed, 2 Apr 2014 21:04:44 -0700 (PDT))



  > Yes its getting set.
  > 
  > So now it looks that org mode is 'early-binding' that variable:
  > ie its using the initial value of that variable and not using the
  > new value when/if its changed.
  > 
  > However thats strange since, even after org-reload it keeps its
  > old value...

So this style information is kept and used across a complete reload?
Maybe a variable is set using defvar? (That only sets variables whose
value is void.) In any case, it's apparently still less simplistic
than I imagined.

  > Guess I'll ask on the org list.

Probably yes. I have had a quick peek into the org-mode source files,
but even where the variable is used was not exactly obvious to the
naked eye. - In any case, it looks like the variable is not meant, or
at least not designed, for on-the-fly customization, but maybe there
is another way. (Before you start hacking the whole thing.)

By the way: I referred to the other poster as "Eli" (believing it was
Eli Zaretski who wrote the other posts). It was really somebody
apparently called Lee - my eyes had confused two header lines. My
apologies to both!

Regards,

Florian

-- 

Florian von Savigny
Melanchthonstr. 41
33615 Bielefeld




      reply	other threads:[~2014-04-03 14:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02  7:00 When/where does setq work? Rusi
2014-04-02 12:57 ` lee
2014-04-02 18:06   ` Florian v. Savigny
     [not found]   ` <mailman.18759.1396461983.10748.help-gnu-emacs@gnu.org>
2014-04-02 22:04     ` Rusi
2014-04-02 23:02       ` Florian v. Savigny
     [not found]       ` <mailman.18784.1396479749.10748.help-gnu-emacs@gnu.org>
2014-04-03  4:04         ` Rusi
2014-04-03 14:49           ` Florian v. Savigny [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1WVixL-0000w5-54@eggs.gnu.org \
    --to=florian@fsavigny.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rustompmody@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.
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).