GNU bug report logs - #26331
numerical timezones require hardwiring

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 1 Apr 2017 12:28:01 UTC

Severity: wishlist

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#26331: closed (numerical timezones require hardwiring)
Date: Mon, 02 Oct 2017 06:30:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 1 Oct 2017 23:29:14 -0700
with message-id <ada94e73-8165-e818-5ca2-002ff4cf48ba <at> cs.ucla.edu>
and subject line Re: numerical timezones require hardwiring
has caused the debbugs.gnu.org bug report #26331,
regarding numerical timezones require hardwiring
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
26331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26331
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: numerical timezones require hardwiring
Date: Sat, 01 Apr 2017 20:26:42 +0800
If the user wants numerical timezones in his timestamps, there is no
other way than hardwiring them in:

(add-hook 'before-save-hook 'time-stamp)
(eval-after-load 'sgml-mode
  '(add-hook
    'html-mode-hook
    (lambda ()
      (set (make-local-variable 'time-stamp-pattern)
	   "-8/>Last modified: %Y-%02m-%02d %02H:%02M:%02S \\+0800")
      (set (make-local-variable 'time-stamp-time-zone) "Asia/Taipei"))))

P.S., it is not clear how one can make
(add-hook 'before-save-hook 'time-stamp)
html-mode specific too.


[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 26331-done <at> debbugs.gnu.org
Subject: Re: numerical timezones require hardwiring
Date: Sun, 1 Oct 2017 23:29:14 -0700
Since this problem seems to be solved, I am closing the bug report.


This bug report was last modified 7 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.