[Top][All Lists]

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

copyright.el doesn't respect newlines

From: Tom Tromey
Subject: copyright.el doesn't respect newlines
Date: 17 Aug 2002 21:45:55 -0600

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 address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-04-08 on porky.devel.redhat.com
configured using `configure  i386-redhat-linux --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --with-gcc --with-pop --with-sound'
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_US.iso885915
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: nil

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

M-x copyright-update doesn't respect newlines.
Put this text into a new buffer:

/* Fold a constant sub-tree into a single node for C-compiler
   Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
   1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Now try M-x copyright-update.  It will insert `2002' after `1998'.
I think it shouldn't do this, as 2002 is already on the list.

Recent input:
m <tab> <return> C-s c o p y r i g h t C-u C-n C-h 
f <return> C-x C-f / t m p / f o o C-g C-c b C-x b 
<return> C-a C-p C-SPC C-n C-n C-n ESC w C-x C-f C-/ 
t m p / M-b / C-e f o o . c <return> C-y C-p C-n <return> 
M-\ M-x c o p y r i g h t - u p d a t e <return> C-/ 
C-e C-f C-x C-s M-x C-g M-x r e p o r t - e m <tab> 

Recent messages:
Mark set
undo-more: No further undo information
(New file)
Mark set
s [2 times]
Wrote /tmp/foo.c
call-interactively: Quit
Loading emacsbug...done


reply via email to

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