unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* change-log-redate
@ 2007-06-15  4:01 John Darrington
  2007-06-15 10:54 ` change-log-redate Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: John Darrington @ 2007-06-15  4:01 UTC (permalink / raw)
  To: bug-gnu-emacs

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-01-04 on saens, modified by Debian
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes' '--with-x-toolkit=athena' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2''
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_AU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Running change-log-redate on a ChangeLog file which 
contains strings like:
 
 Tue Jan  9 07:20:05 WST 2007 John Darrington <john@darrington.wattle.id.au>

Changes them to 

 1999-11-30  WST 2007 John Darrington <john@darrington.wattle.id.au>

which is not what I expected.


Recent input:
M-x r e <tab> p o <tab> r r <backspace> t <tab> <r
eturn>

Recent messages:
Loading 50speechd-el (source)...done
Loading /home/res/jmd/lisp/aegis.el (source)...done
Loading /home/res/jmd/lisp/pspp-mode.el (source)...done
Loading crypt++...done
For information about the GNU Project and its goals, type C-h C-p.
Loading add-log...done
Making completion list...
Loading view...done
Making completion list...
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: change-log-redate
  2007-06-15  4:01 change-log-redate John Darrington
@ 2007-06-15 10:54 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2007-06-15 10:54 UTC (permalink / raw)
  To: John Darrington; +Cc: bug-gnu-emacs

 > Running change-log-redate on a ChangeLog file which 
 > contains strings like:
 >  
 >  Tue Jan  9 07:20:05 WST 2007 John Darrington <john@darrington.wattle.id.au>
 > 
 > Changes them to 
 > 
 >  1999-11-30  WST 2007 John Darrington <john@darrington.wattle.id.au>
 > 
 > which is not what I expected.

Yes this fails in Emacs 22/CVS Emacs too.  I don't see how this could ever have
worked as it doesn't seem to match on the timezone or year - perhaps you're the
first person to ever use it.  I could change it to work for your case but that
might break the case that the original author tested it on.

Why not just use 'C-x 4 a' (add-change-log-entry-other-window) which gives the
new style date format.  This just gives the date.  I've not seen
hours/mins/seconds in a Changelog as you can get these from cvs log, if
needed, I presume.

Perhaps we should remove change-log-redate as it appears broken.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-15 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-15  4:01 change-log-redate John Darrington
2007-06-15 10:54 ` change-log-redate Nick Roberts

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).