unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 21.2.1 sticky date
@ 2002-09-04  5:16 Randy Bush
  2002-09-04  9:04 ` Andreas Schwab
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Bush @ 2002-09-04  5:16 UTC (permalink / raw)


my laptop roams and i tend to go with it, right now we are in japan.

using tzsetup, i reset the timezone on my system as i move.  e.g.

    roam.psg.com:/usr/home/randy> date
    Wed Sep  4 14:15:47 JST 2002

but emacs seems to remember the timezone where emacs was first
run after the system was last booted.

freebsd-stable
emacs 21.2.1
vm

randy

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

* Re: 21.2.1 sticky date
  2002-09-04  5:16 21.2.1 sticky date Randy Bush
@ 2002-09-04  9:04 ` Andreas Schwab
  2002-09-04  9:11   ` Randy Bush
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2002-09-04  9:04 UTC (permalink / raw)
  Cc: emacs help

Randy Bush <randy@psg.com> writes:

|> my laptop roams and i tend to go with it, right now we are in japan.
|> 
|> using tzsetup, i reset the timezone on my system as i move.  e.g.
|> 
|>     roam.psg.com:/usr/home/randy> date
|>     Wed Sep  4 14:15:47 JST 2002
|> 
|> but emacs seems to remember the timezone where emacs was first
|> run after the system was last booted.

This is the same with every program that still runs when you change the
time zone.  The current time zone is usually only determined once during
startup.  To reinitialize Emacs' view of the system's time zone use
set-time-zone-rule.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: 21.2.1 sticky date
  2002-09-04  9:04 ` Andreas Schwab
@ 2002-09-04  9:11   ` Randy Bush
  2002-09-04  9:19     ` Andreas Schwab
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Bush @ 2002-09-04  9:11 UTC (permalink / raw)
  Cc: emacs help

>> my laptop roams and i tend to go with it, right now we are in japan.
>> 
>> using tzsetup, i reset the timezone on my system as i move.  e.g.
>> 
>>     roam.psg.com:/usr/home/randy> date
>>     Wed Sep  4 14:15:47 JST 2002
>> 
>> but emacs seems to remember the timezone where emacs was first
>> run after the system was last booted.
> 
> This is the same with every program that still runs when you change the
> time zone.  The current time zone is usually only determined once during
> startup.  To reinitialize Emacs' view of the system's time zone use
> set-time-zone-rule.

it is sticky across restarting emacs

randy

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

* Re: 21.2.1 sticky date
  2002-09-04  9:11   ` Randy Bush
@ 2002-09-04  9:19     ` Andreas Schwab
  2002-09-04  9:24       ` Randy Bush
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2002-09-04  9:19 UTC (permalink / raw)
  Cc: emacs help

Randy Bush <randy@psg.com> writes:

|> >> my laptop roams and i tend to go with it, right now we are in japan.
|> >> 
|> >> using tzsetup, i reset the timezone on my system as i move.  e.g.
|> >> 
|> >>     roam.psg.com:/usr/home/randy> date
|> >>     Wed Sep  4 14:15:47 JST 2002
|> >> 
|> >> but emacs seems to remember the timezone where emacs was first
|> >> run after the system was last booted.
|> > 
|> > This is the same with every program that still runs when you change the
|> > time zone.  The current time zone is usually only determined once during
|> > startup.  To reinitialize Emacs' view of the system's time zone use
|> > set-time-zone-rule.
|> 
|> it is sticky across restarting emacs

Make sure you do not have set TZ in the environment.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: 21.2.1 sticky date
  2002-09-04  9:19     ` Andreas Schwab
@ 2002-09-04  9:24       ` Randy Bush
  0 siblings, 0 replies; 5+ messages in thread
From: Randy Bush @ 2002-09-04  9:24 UTC (permalink / raw)
  Cc: emacs help

>>>> my laptop roams and i tend to go with it, right now we are in japan.
>>>> using tzsetup, i reset the timezone on my system as i move.  e.g.
>>>>     roam.psg.com:/usr/home/randy> date
>>>>     Wed Sep  4 14:15:47 JST 2002
>>>> but emacs seems to remember the timezone where emacs was first
>>>> run after the system was last booted.
>>> This is the same with every program that still runs when you change the
>>> time zone.  The current time zone is usually only determined once during
>>> startup.  To reinitialize Emacs' view of the system's time zone use
>>> set-time-zone-rule.
>> it is sticky across restarting emacs
> Make sure you do not have set TZ in the environment.

did that

% env | grep TZ
%

note that, just to recheck my previous assertion, i have restart
emaces and it still thinks we are in seattle (-0700) as opposed to
kokura (+0900).

randy

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

end of thread, other threads:[~2002-09-04  9:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-04  5:16 21.2.1 sticky date Randy Bush
2002-09-04  9:04 ` Andreas Schwab
2002-09-04  9:11   ` Randy Bush
2002-09-04  9:19     ` Andreas Schwab
2002-09-04  9:24       ` Randy Bush

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