unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2811: 23.0.91; calendar
@ 2009-03-29  0:04 ` 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>
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Dyballa @ 2009-03-29  0:04 UTC (permalink / raw)
  To: emacs-pretest-bug

Hello!

I have "localised" calendar by teaching it German, for example to  
when outputting holidays:

	Mi, 25.   Februar 2009: Aschermittwoch
	So,  8.      März 2009: Internationaler Frauentag
	Fr, 20.      März 2009: Frühlings-Tagundnachtgleiche um 12 Uhr 43
	So, 29.      März 2009: Daylight Saving Time Begins 02 Uhr 00
	Mi,  1.     April 2009: 1. April
	...
	So, 25.   Oktober 2009: Daylight Saving Time Ends 03 Uhr 00

Only the date when Daylight Saving Time starts or ends are in  
English – since s few months, I think, then already in version  
23.0.60 (as my old copy from January shows). Before they of course  
were Germanised too:

	So, 29.      März 2009: Sommerzeit beginnt um 02 Uhr 00

In GNU Emacs 23.0.91.1 (powerpc-apple-darwin8.11.0, GTK+ Version 2.14.7)
  of 2009-03-28 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--with-xpm' '--with-jpeg' '--with-tiff'  
'--with-gif' '--with-png' '--x-includes=/opt/local/include' '--x- 
libraries=/opt/local/lib' '--enable-locallisppath=/Library/ 
Application Support/Emacs/calendar23:/Library/Application Support/ 
Emacs' 'PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/ 
pkgconfig:/usr/lib/pkgconfig' 'CFLAGS=-Wno-pointer-sign -H -pipe - 
fPIC -mcpu=7450 -mtune=7450 -fast -mpim-altivec -ftree-vectorize - 
foptimize-register-move -freorder-blocks -freorder-blocks-and- 
partition -fthread-jumps -fpeephole -fno-crossjumping' 'LDFLAGS=- 
dead_strip -multiply_defined suppress' 'CPPFLAGS=''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Calendar

Minor modes in effect:
   TeX-PDF-mode: t
   shell-dirtrack-mode: t
   diff-auto-refine-mode: t
   show-paren-mode: t
   display-time-mode: t
   desktop-save-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t


--
Greetings

   Pete

»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«








^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#2811: marked as done (23.0.91; calendar)
  2009-03-29  0:04 ` bug#2811: 23.0.91; calendar Peter Dyballa
@ 2009-04-02  6:40   ` Emacs bug Tracking System
       [not found]   ` <handler.2811.D2811.123865413030289.notifdone@emacsbugs.donarmstrong.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Emacs bug Tracking System @ 2009-04-02  6:40 UTC (permalink / raw)
  To: Glenn Morris

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


Your message dated Thu, 02 Apr 2009 02:35:24 -0400
with message-id <woy6ujo95f.fsf@fencepost.gnu.org>
and subject line Re: bug#2811: 23.0.91; calendar
has caused the Emacs bug report #2811,
regarding 23.0.91; calendar
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2811: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2811
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5175 bytes --]

From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.91; calendar
Date: Sun, 29 Mar 2009 01:04:27 +0100
Message-ID: <A01B75BA-4D72-424A-BC53-21824B9357A5@Freenet.DE>

Hello!

I have "localised" calendar by teaching it German, for example to  
when outputting holidays:

	Mi, 25.   Februar 2009: Aschermittwoch
	So,  8.      März 2009: Internationaler Frauentag
	Fr, 20.      März 2009: Frühlings-Tagundnachtgleiche um 12 Uhr 43
	So, 29.      März 2009: Daylight Saving Time Begins 02 Uhr 00
	Mi,  1.     April 2009: 1. April
	...
	So, 25.   Oktober 2009: Daylight Saving Time Ends 03 Uhr 00

Only the date when Daylight Saving Time starts or ends are in  
English – since s few months, I think, then already in version  
23.0.60 (as my old copy from January shows). Before they of course  
were Germanised too:

	So, 29.      März 2009: Sommerzeit beginnt um 02 Uhr 00

In GNU Emacs 23.0.91.1 (powerpc-apple-darwin8.11.0, GTK+ Version 2.14.7)
  of 2009-03-28 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--with-xpm' '--with-jpeg' '--with-tiff'  
'--with-gif' '--with-png' '--x-includes=/opt/local/include' '--x- 
libraries=/opt/local/lib' '--enable-locallisppath=/Library/ 
Application Support/Emacs/calendar23:/Library/Application Support/ 
Emacs' 'PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/ 
pkgconfig:/usr/lib/pkgconfig' 'CFLAGS=-Wno-pointer-sign -H -pipe - 
fPIC -mcpu=7450 -mtune=7450 -fast -mpim-altivec -ftree-vectorize - 
foptimize-register-move -freorder-blocks -freorder-blocks-and- 
partition -fthread-jumps -fpeephole -fno-crossjumping' 'LDFLAGS=- 
dead_strip -multiply_defined suppress' 'CPPFLAGS=''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Calendar

Minor modes in effect:
   TeX-PDF-mode: t
   shell-dirtrack-mode: t
   diff-auto-refine-mode: t
   show-paren-mode: t
   display-time-mode: t
   desktop-save-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t


--
Greetings

   Pete

»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«





[-- Attachment #3: Type: message/rfc822, Size: 1853 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: 2811-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2811: 23.0.91; calendar
Date: Thu, 02 Apr 2009 02:35:24 -0400
Message-ID: <woy6ujo95f.fsf@fencepost.gnu.org>

Peter Dyballa wrote:

> Only the date when Daylight Saving Time starts or ends are in  
> English – since s few months, I think, then already in version  
> 23.0.60 (as my old copy from January shows).

This report lacks details, but I believe this is fixed now.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#2811: closed by Glenn Morris <rgm@gnu.org> (Re: bug#2811: 23.0.91; calendar)
       [not found]   ` <handler.2811.D2811.123865413030289.notifdone@emacsbugs.donarmstrong.com>
@ 2009-04-02 22:43     ` Peter Dyballa
  2009-04-02 23:27       ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2009-04-02 22:43 UTC (permalink / raw)
  To: 2811


Am 02.04.2009 um 08:40 schrieb Emacs bug Tracking System:

>> Only the date when Daylight Saving Time starts or ends are in
>> English – since s few months, I think, then already in version
>> 23.0.60 (as my old copy from January shows).
>
> This report lacks details, but I believe this is fixed now.


No, it has not.

Possible details:

load-path has on top a directory where Germanised versions of some  
calendar ELisp files exist:

	  /Library/Application Support/Emacs/calendar23:
	  total 712
	  drwxrwxr-x    10 root  admin     340  2 Apr 22:22 .
	  drwxrwxr-x   148 pete  admin    5032 29 Mär 00:58 ..
	  -rw-r--r--     1 root  admin   11164 16 Jan 22:55 cal-menu.el
	  -rw-r--r--     1 root  admin   15962 25 Jan 11:20 cal-move.el
	  -rw-r--r--     1 root  admin    7342 16 Jan 22:58 cal-x.el
	  -rw-r--r--     1 root  admin  109844 28 Mär 21:58 calendar.el
	  -rw-r--r--     1 root  admin  108934  2 Apr 22:22 diary-lib.el
	  -rw-r--r--     1 root  admin   38696  2 Apr 22:18 holidays.el
	  -rw-r--r--     1 root  admin   16925 28 Mär 22:07 lunar.el
	  -rw-r--r--     1 root  admin   44565 16 Jan 23:22 solar.el

Some differences in holidays.el (mine vs. original):

	331c304
	<                   (format "Sommerzeit beginnt um %s"
	---
	>                   (format "Daylight Saving Time Begins %s"
	336c309
	<                   (format "Sommerzeit endet um %s"
	---
	>                   (format "Daylight Saving Time Ends %s"
	354a328,329
	>           holiday-hebrew-holidays holiday-islamic-holidays
	>           holiday-bahai-holidays holiday-oriental-holidays

The differences in line numbers are due to having more holidays here.

--
Greetings

   Pete

"No man was ever taken to hell by a woman unless he already had a  
ticket in his pocket, or at least had been fooling around with  
timetables."
				– Archie Goodwin









^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#2811: closed by Glenn Morris <rgm@gnu.org> (Re: bug#2811: 23.0.91; calendar)
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2009-04-02 23:27 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 2811

Peter Dyballa wrote:

> load-path has on top a directory where Germanised versions of some  
> calendar ELisp files exist:

Oh, how obvious.

> Some differences in holidays.el (mine vs. original):
>
> 	331c304
> 	<                   (format "Sommerzeit beginnt um %s"
> 	---
> 	>                   (format "Daylight Saving Time Begins %s"
> 	336c309
> 	<                   (format "Sommerzeit endet um %s"
> 	---
> 	>                   (format "Daylight Saving Time Ends %s"
> 	354a328,329
> 	>           holiday-hebrew-holidays holiday-islamic-holidays
> 	>           holiday-bahai-holidays holiday-oriental-holidays

You seem to be attempting to redefine autoloaded variables that are
dumped in loaddefs.el. This isn't going to work.

Why don't you just use (setq calendar-holidays ...) as normal?






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#2811: closed by Glenn Morris <rgm@gnu.org> (Re: bug#2811: 23.0.91; calendar)
  2009-04-02 23:27       ` Glenn Morris
@ 2009-04-03  8:01         ` Peter Dyballa
  2009-04-03 17:04           ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2009-04-03  8:01 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 2811


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. 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.

--
Greetings

   Pete

The world would be a better place if Larry Wall had been born in  
Iceland, or any other country where the native language actually has  
syntax.
				– Peter da Silva









^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#2811: closed by Glenn Morris <rgm@gnu.org> (Re: bug#2811: 23.0.91; calendar)
  2009-04-03  8:01         ` Peter Dyballa
@ 2009-04-03 17:04           ` Glenn Morris
  2009-04-03 21:34             ` Stefan Monnier
  2009-04-03 21:55             ` Peter Dyballa
  0 siblings, 2 replies; 8+ messages in thread
From: Glenn Morris @ 2009-04-03 17:04 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 2811

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.)






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#2811: closed by Glenn Morris <rgm@gnu.org> (Re: bug#2811: 23.0.91; calendar)
  2009-04-03 17:04           ` Glenn Morris
@ 2009-04-03 21:34             ` Stefan Monnier
  2009-04-03 21:55             ` Peter Dyballa
  1 sibling, 0 replies; 8+ messages in thread
From: Stefan Monnier @ 2009-04-03 21:34 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Peter Dyballa, 2811

> (Personally, I wish these and other defcustoms were not autoloaded,
> but people are used to them being so, so it's impossible to change.)

It can be changed alright.  People will complain, tho.
Clearly, it cannot be changed during the pretest.


        Stefan "who dislikes autoloaded vars"






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#2811: closed by Glenn Morris <rgm@gnu.org> (Re: bug#2811: 23.0.91; calendar)
  2009-04-03 17:04           ` Glenn Morris
  2009-04-03 21:34             ` Stefan Monnier
@ 2009-04-03 21:55             ` Peter Dyballa
  1 sibling, 0 replies; 8+ messages in thread
From: Peter Dyballa @ 2009-04-03 21:55 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 2811


Am 03.04.2009 um 19:04 schrieb Glenn Morris:

>> 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.
>
I think I was wrong: I had for long time "patched" the ELisp source  
files, which I gave up some time after GNU Emacs 23.0.0 came out.  
Maybe these "translations" were left, overlooked, in the sources.  
Last autumn I checked out GNU Emacs 23.0.xy completely for some  
reasons, and in January I noticed that the "translations" were gone ...

--
Greetings

   Pete

Behold the warranty ... the bold print giveth and the fine print  
taketh away.








^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-03 21:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2009-04-03 21:34             ` Stefan Monnier
2009-04-03 21:55             ` Peter Dyballa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).