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

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

Calendar/Diary Lies When Cutting and Pasting


From: Peter Hendrickson
Subject: Calendar/Diary Lies When Cutting and Pasting
Date: 14 Aug 2003 19:29:25 -0000

Executive summary: If the entries for a day are displayed using "d" in
calendar mode, and then the last line that appears is selected for
cutting, what will be pasted is what was selected plus the rest of the
text to the end of the diary file.  This bug can be reliably
reproduced.

Exact sequence of commands:
1. Run emacs from xterm using "emacs &".
2. Type "M-x calendar".
3. Hit "d" (which will be over August 14, 2003).
   (The "diary" file used is below, following the emacs data.)
4. Use mouse-1 to select whole entry to end of the line.
   (This should be "Entry A", the last and only entry to appear.)
5. Move mouse over to xterm and type "cat > junk.1".
6. Paste into xterm with mouse-2.  The line with "Entry A" plus the
   rest of the "diary" file will be pasted.

The platform is NetBSD 1.6.1, running X with Enlightenment version
0.16.4.  This is the X version information:
> $ X -version
>
> XFree86 Version 4.2.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> Release Date: 3 September 2002
>         If the server is older than 6-12 months, or if your card is
>         newer than the above date, look for a newer version before
>         reporting problems.  (See http://www.XFree86.Org/)
> Build Operating System: NetBSD/i386 1.6.1_RC1 [ELF] The NetBSD Foundation, 
> Inc.
> Module Loader present

(If more specific platform information is needed, please let
me know and I'll happily supply it.)

I discovered this bug by cutting a URL and pasting it into my browser.
Consequently, the information from the end of that diary entry to the
end of the diary file was sent to a remote server where it was
presumably logged forever.  Some of the information sent was personal
in nature.  I regard this as a serious bug.

The first section below contains the automatically generated emacs bug
information.  The second section contains a sample diary file.
(However, it seems to happen with any diary file.)

If I can help in any way, please let me know.

Peter Hendrickson
address@hidden

------------------------------------------------------------------------
In GNU Emacs 21.3.1 (i386--netbsdelf, X toolkit)
 of 2003-08-13 on [domain removed. --pdh]
configured using `configure  --with-x --with-x-toolkit=athena 
--srcdir=/usr/home/pkgs/NetBSD-CVS/pkgsrc/editors/emacs/work/emacs-21.3 
--with-xpm --with-jpeg --with-tiff --with-gif --with-png --host=i386--netbsdelf 
--prefix=/usr/pkg'
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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

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




Recent input:
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <drag-mouse-1> <escape> 
x r e p o r t - e m a c s - b u g <return>

Recent messages:
Loading mule-util...done
Loading cal-move...done
Loading diary-lib...done
Preparing diary...
Loading holidays...done
Loading cal-hebrew...done
Loading cal-islam...done
Loading cal-china...done
Preparing diary...done
Loading emacsbug...done
------------------------------------------------------------------------


Aug 14, 2003 Entry A
Aug 15, 2003 Entry B
Aug 16, 2003 Entry C
Aug 17, 2003 Entry C
Aug 18, 2003 Entry D
Aug 19, 2003 Entry E
------------------------------------------------------------------------




reply via email to

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