unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Calendar/Diary Lies When Cutting and Pasting
@ 2003-08-14 19:29 Peter Hendrickson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Hendrickson @ 2003-08-14 19:29 UTC (permalink / raw)


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
pdh@wiredyne.com

------------------------------------------------------------------------
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
------------------------------------------------------------------------

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

* Re: Calendar/Diary Lies When Cutting and Pasting
       [not found] <mailman.427.1060889413.29551.bug-gnu-emacs@gnu.org>
@ 2003-08-25 17:10 ` Edward M. Reingold
  0 siblings, 0 replies; 2+ messages in thread
From: Edward M. Reingold @ 2003-08-25 17:10 UTC (permalink / raw)


>>>>> "PH" == Peter Hendrickson <pdh@wiredyne.com> writes:

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

Sounds like you are not using `s' to get rid of the hidden material.
-- 

Professor Edward M. Reingold                Email: reingold@iit.edu
Chairman, Department of Computer Science    Voice: (312) 567-3309
Illinois Institute of Technology            Assistant: (312) 567-5152
Stuart Building                             Fax:   (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL  60616-3729  U.S.A.

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

end of thread, other threads:[~2003-08-25 17:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.427.1060889413.29551.bug-gnu-emacs@gnu.org>
2003-08-25 17:10 ` Calendar/Diary Lies When Cutting and Pasting Edward M. Reingold
2003-08-14 19:29 Peter Hendrickson

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).