Article View: news.software.readers
Article #59535Re: slrn - message-id generation with vim autocommand
From: Ralf Arens
Date: Thu, 23 Mar 2000 00:00
Date: Thu, 23 Mar 2000 00:00
55 lines
2040 bytes
2040 bytes
Sven Guckes <guckes@math.fu-berlin.de> wrote:
> I intend to add this to my slrnrc. Comments?
Yes.
[...]
> So I am now using this format:
> <YYYYmmddHHMM@domain>
Which is ambiguous. See below.
> I let my editor, Vim, add this line for me automatically on startup:
> Message-ID: <200003230532@guckes.net>
[...]
> au BufNewFile,BufRead \
> ~/.article,~/.followup \
> let @"="Message-ID: <".strftime("%Y%m%d%H%M")."@guckes.net>\n"\
> |exe 'norm 1G}""P'
[...]
> Hey, comp.editors - comments anyone?
Still yes.
> And news.software.readers - is the Message-ID okay?
No, it isn't. (Even if I'm reading comp.editors now. :-)
> Sven [now everyone know how long it takes me to write a post - dang!]
Yes, now I know it, it takes -33 minutes. Wow, that's fast.
| Message-ID: <200003230532@guckes.net>
| Date: 23 Mar 2000 04:59:05 GMT
The date of the message-id is localtime. If you travel and run across
timezones and you write a message at exactly the same minute the
appropriate hours later, your message-id won't be unique. OK, there
are many "if"s but it is possible. You should use always GMT for
strftime() [I didn't find out how] or you should add your timezone:
strftime("%Y%m%d%H%M%Z")
Ciao,
Ralf
--
> I don't do drugs or windows.
You need the one to do the other :-)
-- Steve Baur and Adrian Aichner on xemacs-beta
Technical Details
Message-ID:
<sgqcb8.qt.ln@ralf.dyndns.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!not-for-mailReferences:
<200003230532@guckes.net>Show Full Headers
Complete Article Headers
Message-ID: <sgqcb8.qt.ln@ralf.dyndns.org> Subject: Re: slrn - message-id generation with vim autocommand Date: Thu, 23 Mar 2000 00:00:00 +0000 From: ralf.arens@tu-clausthal.de (Ralf Arens) References: <200003230532@guckes.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!not-for-mail X-Deja-AN: 601251484 Organization: Rechenzentrum der TU Clausthal User-Agent: slrn/0.9.6.2 (Linux) Newsgroups: news.software.readers,comp.editors