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: Wed, 02 Apr 2014 19:02:19 -0400 [thread overview]
Message-ID: <E1WVUAc-0008QB-Lu@eggs.gnu.org> (raw)
In-Reply-To: <e8b3b842-c7a1-4952-bf35-e982d852b87f@googlegroups.com> (message from Rusi on Wed, 2 Apr 2014 15:04:14 -0700 (PDT))
Hi Rusi,
> org-export-html-style is an org-mode variable defined in org-html.el.
>
> Its 'effect' is the css styles that are used by org's html export
>
> eg
> code {
> color: #00f;
> }
>
> makes the color of code in <code> </code> blocks blue
>
> Now I edit my-org.css
>
> code {
> color: #7f7f7f
> }
>
> (ie the new color is now grey)
But at this point you run your load-my-css, don't you?
> And I export the (some) org file I am working on.
> It still shows as blue.
> This is what I mean by "no effect"
This is the kind of scenario that we were hinting at: Chances are that
there are simply some added layers of complexity between the variable
and its effect (for whatever technological reason - as humans, we find
this counterintuitive). Example: When loaded, org-html.el sets a
variable to the value of org-export-html-style. (In that case,
reloading org-html.el after running load-my-css should have the same
effect as restarting emacs.) But this is just an example for
illustration. It is better to simply try:
C-h v org-export-html-style
after running load-my-css as I have indicated above. My guess is it's
perfectly set to the new value then. If not, try the edebug-defun
method and report, please.
Regards,
Florian
--
Florian von Savigny
Melanchthonstr. 41
33615 Bielefeld
next prev parent reply other threads:[~2014-04-02 23:02 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 [this message]
[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
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=E1WVUAc-0008QB-Lu@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).