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: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: John Mastro <john.b.mastro <at> gmail.com>
Cc: 26331 <at> debbugs.gnu.org
Subject: bug#26331: numerical timezones require hardwiring
Date: Sun, 02 Apr 2017 09:49:29 +0800
>>>>> "JM" == John Mastro <john.b.mastro <at> gmail.com> writes:
JM> Right. Here's what I mean:
Thanks! I now use

;; html-helper-mode is no longer in Debian. Grandfather its timestamps:
(eval-after-load 'sgml-mode
  '(add-hook
    'html-mode-hook
    (lambda ()
      (set (make-local-variable 'time-stamp-line-limit) -8)
      (set (make-local-variable 'time-stamp-format)
	   "%:y-%02m-%02d %02H:%02M:%02S +0800") ;alas must hardwire to get '+0800'
      (set (make-local-variable 'time-stamp-start)
	   "<!-- hhmts start -->Last modified:[ \t\n]+")
      (set (make-local-variable 'time-stamp-end) "[ \t\n]*<!-- hhmts end -->")
      (set (make-local-variable 'time-stamp-time-zone) "Asia/Taipei")
      (add-hook 'before-save-hook 'time-stamp nil t)
      )))




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

Previous Next


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