From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: When/where does setq work? Date: Wed, 2 Apr 2014 15:04:14 -0700 (PDT) Message-ID: References: <5b43106c-3389-4e57-aee1-ab55c035da85@googlegroups.com> <87k3b7j3dm.fsf@yun.yagibdah.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1396522919 6023 80.91.229.3 (3 Apr 2014 11:01:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 11:01:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 13:01:52 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WVeIz-00075K-Ip for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 11:51:29 +0200 Original-Received: from localhost ([::1]:41005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVTHb-0003wP-OD for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Apr 2014 18:05:19 -0400 X-Received: by 10.180.36.241 with SMTP id t17mr745522wij.6.1396476255749; Wed, 02 Apr 2014 15:04:15 -0700 (PDT) X-Received: by 10.50.254.3 with SMTP id ae3mr134574igd.5.1396476254984; Wed, 02 Apr 2014 15:04:14 -0700 (PDT) Original-Path: usenet.stanford.edu!z11no2452300lbi.1!news-out.google.com!vq6ni1257lbb.1!nntp.google.com!ur14no1453468igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.13.51; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.13.51 User-Agent: G2/1.0 Injection-Date: Wed, 02 Apr 2014 22:04:15 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:204651 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96916 Archived-At: On Wednesday, April 2, 2014 11:36:14 PM UTC+5:30, Florian v. Savigny wrote: > > > 1. edit my-org.css > > > 2. save > > > 3. M-x load-my-css > > > has no effect > One might add to Eli's questions (even if that is simply what he > means, only in more words): What exactly do you mean by "no effect"? > One would assume that you mean that C-h v org-export-html-style tells > you that the variable still has the old value. But one should never > assume; maybe you do something more high-level and that is how you > notice that the old value is still used. > Assuming ;-) that you ARE sure that the value of the variable does not > change: Have you tried M-x edebug-defun inside the definition of > load-my-css, and then calling it? It might go some of the way towards > anwering Eli's second question. 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 blocks blue Now I edit my-org.css code { color: #7f7f7f } (ie the new color is now grey) And I export the (some) org file I am working on. It still shows as blue. This is what I mean by "no effect" I exit and restart emacs Open my org file again Export to html Now its grey