Bug#855582: Wish: ISO default datefield
Hello again. i wrote: |So i have dropped the entire "default".rc stuff, because we will |provide initial values for *datefield{-markout-older}*: | |+ ok_v_datefield, /* {i3val="%Y-%m-%d %H:%M"} */ |+ ok_v_datefield_markout_older, /* {i3val="%Y-%m-%d"} */ | |I gave you credit for this, the commit is currently (but on the |development branch, which will soon change again) [1,credit:2]. So, was that you? ^.^ I haven't included references to ISO 8601 because that really would get lengthy, i think it should be left to strftime(3), at least for now. Is the above an acceptable solution to you? And please speak up if you want your entry in THANKS to include your name. Thank you! Ciao, --steffen
Bug#855582: Wish: ISO default datefield
Hello. "r.ductor"wrote: |Package: s-nail |Version: 14.8.16-1 |Severity: wishlist | |Dear Maintainer, | |thnaks a lot for thice nice software. Thank you -- and it is getting better, i hope.. |You might want to consider changing the default datefield to '%F %T' \ |or other iso variants. | |As a complete s-nail/mailx/mail newby I was really scaried by the headers \ |my firs h showed, |the time ordering and year of the messages was compleately unclear. |I took me one hour of googling and a lot of patience to dive in the \ |man to understand how |s-nail works. I'm not sure that all other newbies will have the same \ |patience. I see, sorry for that! The manual of v14.8 misses the link to *datefield*, but v14.9 already includes it, so you will have a direct reference chain from "On reading mail, and interactive mode" over *headline* to *datefield*, which i think is ok: it will be hyperlinked if the output format supports it, so you could get there really fast. The global /etc/mail.rc (/etc/s-nail.rc on Debian) includes a commented-out example for *datefield* and *datefield-markout-older*, already in v14.8, but now that i look again there is no link to *headline*, which i will change in a minute! Regarding %F and %T... No, this i cannot do, because these formats refer to newer ISO C versions (strftime(3)), and S-nail is C89 compatible. You would be right to claim that the examples from mail/s-nail.rc are not so either, however. And even if i look at real old C library code you would then still be right for the %g that i use for *datefield-markout-older*. Ooops. So, the old code would actually support %R and %T, but not %F and %g (and i am talking about @(#)strftime.c 8.1 (Berkeley) %06/04/93" from CSRG, here). So i have dropped the entire "default".rc stuff, because we will provide initial values for *datefield{-markout-older}*: + ok_v_datefield, /* {i3val="%Y-%m-%d %H:%M"} */ + ok_v_datefield_markout_older, /* {i3val="%Y-%m-%d"} */ I gave you credit for this, the commit is currently (but on the development branch, which will soon change again) [1,credit:2]. Thank you, and, from grey Germany: Ciao! [1] https://git.sdaoden.eu/cgit/s-nail.git/commit/?h=next=21b65e6ef720654fe0a6309a94354c7c9c97f247 [2] https://git.sdaoden.eu/cgit/s-nail.git/commit/?h=next=373025818a3c13355d178565d12673719e711600 --steffen
Bug#855582: Wish: ISO default datefield
Package: s-nail Version: 14.8.16-1 Severity: wishlist Dear Maintainer, thnaks a lot for thice nice software. You might want to consider changing the default datefield to '%F %T' or other iso variants. As a complete s-nail/mailx/mail newby I was really scaried by the headers my firs h showed, the time ordering and year of the messages was compleately unclear. I took me one hour of googling and a lot of patience to dive in the man to understand how s-nail works. I'm not sure that all other newbies will have the same patience. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (900, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages s-nail depends on: ii base-files9.8 ii libc6 2.24-9 ii libcomerr21.43.4-2 ii libgssapi-krb5-2 1.15-1 ii libidn11 1.33-1 ii libk5crypto3 1.15-1 ii libkrb5-3 1.15-1 ii libssl1.1 1.1.0e-1 ii libtinfo5 6.0+20161126-1 s-nail recommends no packages. Versions of packages s-nail suggests: ii exim4 4.88-5 ii exim4-daemon-light [mail-transport-agent] 4.88-5 -- Configuration Files: /etc/s-nail.rc changed: set autocollapse set append set ask set bsdannounce set crt set dot set history-gabby set hold set indentprefix="> " set markanswered set mime-counter-evidence set keep set keepsave set quote set recipients-in-cc set sendcharsets=utf-8,iso-8859-1 set showname set showto fwdretain subject date from to retain date from to cc subject message-id mail-followup-to reply-to set datefield='%F %T' -- no debconf information