From: Glenn Morris <rgm@gnu.org>
To: Peter Dyballa <Peter_Dyballa@Freenet.DE>
Cc: 2811@emacsbugs.donarmstrong.com
Subject: bug#2811: closed by Glenn Morris <rgm@gnu.org> (Re: bug#2811: 23.0.91; calendar)
Date: Fri, 03 Apr 2009 13:04:24 -0400 [thread overview]
Message-ID: <07zlexlld3.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <FA2C702F-F80D-48F9-A26E-BA0FA79EFA4D@Freenet.DE> (Peter Dyballa's message of "Fri, 3 Apr 2009 10:01:38 +0200")
Peter Dyballa wrote:
> Am 03.04.2009 um 01:27 schrieb Glenn Morris:
>
>> Why don't you just use (setq calendar-holidays ...) as normal?
>
> I'm using them in the site init file. And additionally I want German
> text.
I don't see the relevance of either of these facts. The recommended
way to do this is to use (setq calendar-holidays ...), whether in your
.emacs or site init file. Copying an entire lisp file and making
selective changes is never going to be the recommended method of doing
anything.
> This worked for almost 20 years now ... Actually it's only the
> "Daylight Saving Time Begins" and "Daylight Saving Time Ends" which
> don't translate.
I must misunderstand, because I can't see how what you describe would
ever work.
solar-holidays is an autoloaded defcustom (and was in Emacs 21.4 as
well). This means the definition is in loaddefs.el, and hence gets
dumped into the executable. Hence in `emacs -Q', solar-holidays is
already defined, with the original value.
If you then attempt to load a changed holidays.el, the second
defcustom has no effect on the previously defined value. You need to
use a setq.
(Personally, I wish these and other defcustoms were not autoloaded,
but people are used to them being so, so it's impossible to change.)
next prev parent reply other threads:[~2009-04-03 17:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <woy6ujo95f.fsf@fencepost.gnu.org>
2009-03-29 0:04 ` bug#2811: 23.0.91; calendar Peter Dyballa
2009-04-02 6:40 ` bug#2811: marked as done (23.0.91; calendar) Emacs bug Tracking System
[not found] ` <handler.2811.D2811.123865413030289.notifdone@emacsbugs.donarmstrong.com>
2009-04-02 22:43 ` bug#2811: closed by Glenn Morris <rgm@gnu.org> (Re: bug#2811: 23.0.91; calendar) Peter Dyballa
2009-04-02 23:27 ` Glenn Morris
2009-04-03 8:01 ` Peter Dyballa
2009-04-03 17:04 ` Glenn Morris [this message]
2009-04-03 21:34 ` Stefan Monnier
2009-04-03 21:55 ` Peter Dyballa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=07zlexlld3.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=2811@emacsbugs.donarmstrong.com \
--cc=Peter_Dyballa@Freenet.DE \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.