bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26331: numerical timezones require hardwiring


From: 積丹尼 Dan Jacobson
Subject: bug#26331: numerical timezones require hardwiring
Date: Sun, 02 Apr 2017 09:49:29 +0800

>>>>> "JM" == John Mastro <john.b.mastro@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)
      )))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]