Adrian Aichner wrote:
Re: [Bug: 21.4.13] Cygwin XEmacs cut-and-past broken on Win2000

>>>>> "Mike" == Mike Spertus <Mike.Spertus@veritas.com> writes:

    Mike> ================================================================

    Mike> Dear Bug Team!  As has been confirmed by Thomas Link and I
    Mike> in comp.emacs.xemacs, XEmacs does not use the Windows
    Mike> clipboard for cut-and-paste on Win2K. It does use it
    Mike> correctly on WinXP. See the thread

Hi Mike!

Hmmh, what else is different between the Win2K and WinXP installations?

Both were Netinstalled cygwin versions. Thomas Link just did cygwin XEmacs netinstalls on XP and Win2K and reproduced the behavior.

Are both cygwin installations (vs. native windows)?

Yes.

Have you already played with these?

   interprogram-cut-function      - Function to call to make a killed region available to other programs.
   interprogram-paste-function    - Function to call to get text cut from other programs.

I don't have an XP install at the office, but the misbehaving W2K machine says "own-clipboard". This value looks appropriate because Hyper-apropos says (I copied the following by hand because cut-and-paste don't work!):

`own-clipboard'  (buffer: *Hyper Apropos*, mode: Hyper-Apropos)

Compiled Lisp function,
(loaded from "/development/xemacs/xemacs-21.4-release/list/select.elc)

  arguments: (string &option push)

  Paste the given string to the window system Clipboard.
  See `interprogram-cut-function' for more information.

What are their respective values in the differently behaving
installations?

Best regards,

Adrian

    Mike> <http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&threadm=4bb78b23.0311231643.7068e08d%40posting.google.com&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.emacs.xemacs>

    Mike> for more info.

    Mike> Mike

    Mike> ================================================================

    Mike> System Info to help track down your bug:
    Mike> ---------------------------------------

    Mike> uname -a: CYGWIN_NT-5.0 TSUNAMI 1.3.20(0.73/3/2) 2003-02-08 12:10 i686
    Mike> unknown unknown Cygwin

    Mike> ./configure  '--with-dragndrop' '--with-postgresql=no' '--with-x=no'
    Mike> '--bindir=/usr/local/bin/i686-pc-cygwin' '--with-site-lisp=yes'
    Mike> '--with-ipv6-cname=no' '--with-netinstall'


    Mike> XEmacs 21.4.13 "Rational FORTRAN" configured for `i686-pc-cygwin'.


    Mike> Compilation / Installation:
    Mike>   Source code location:              /development/xemacs/xemacs-21.4-release
    Mike>   Installation prefix:               /usr/local
    Mike>   Operating system description file: `s/cygwin32.h'
    Mike>   Machine description file:          `m/intel386.h'
    Mike>   Compiler:                          gcc
    Mike>   -I/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../include/noX
    Mike>   -I/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../include/noX -g -O3
    Mike>   -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare
    Mike>   -Wshadow -Wpointer-arith
    Mike>   Relocating allocator for buffers:  no
    Mike>   GNU version of malloc:             yes

    Mike> Window System:
    Mike>   Compiling in support for the Microsoft window system.
    Mike>   Using MS-Windows menubars.
    Mike>   Using MS-Windows scrollbars.
    Mike>   Using MS-Windows dialog boxes.
    Mike>   Using MS-Windows native widgets.
    Mike>   Compiling in support for Drag'n'Drop (EXPERIMENTAL).
    Mike>     -  Drag'n'Drop prototype:                              msw.

    Mike> TTY:
    Mike>   Compiling in support for ncurses.

    Mike> Images:
    Mike>   Compiling in support for GIF  images (builtin).
    Mike>   Compiling in support for XPM  images.
    Mike>   Compiling in support for PNG  images.
    Mike>   Compiling in support for JPEG images.
    Mike>   Compiling in support for TIFF images.
    Mike>   Compiling in support for X-Face message headers.

    Mike> Sound:
    Mike>   Compiling in support for sound (native).

    Mike> Databases:
    Mike>   Compiling in support for GNU DBM.

    Mike> Internationalization:
    Mike>   Compiling in support for file coding.

    Mike> Mail:
    Mike>   Compiling in support for POP mail retrieval.

    Mike> Other Features:
    Mike>   Inhibiting IPv6 canonicalization at startup.
    Mike>   Compiling in support for dynamic shared object modules.



    Mike> Load-Path Lisp Shadows:
    Mike> ----------------------
    Mike> (/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
    Mike> /usr/local/lib/xemacs-21.4.13/lisp/build-report)


    Mike> Installed XEmacs Packages:
    Mike> -------------------------

    Mike> ((zenirc:version 1.13 :type regular)
    Mike>  (xslt-process :version 1.11 :type regular)
    Mike>  (xslide :version 1.08 :type regular)
    Mike>  (xemacs-devel :version 1.58 :type single-file)
    Mike>  (xemacs-base :version 1.78 :type regular)
    Mike>  (x-symbol :version 1.05 :type regular)
    Mike>  (w3 :version 1.28 :type regular)
    Mike>  (vm :version 7.14 :type regular)
    Mike>  (viper :version 1.36 :type regular)
    Mike>  (view-process :version 1.12 :type regular)
    Mike>  (vhdl :version 1.17 :type regular)
    Mike>  (vc-cc :version 1.21 :type regular)
    Mike>  (vc :version 1.37 :type regular)
    Mike>  (tramp :version 1.16 :type regular)
    Mike>  (tpu :version 1.12 :type regular)
    Mike>  (tooltalk :version 1.13 :type regular)
    Mike>  (tm :version 1.36 :type regular)
    Mike>  (time :version 1.13 :type regular)
    Mike>  (textools :version 1.14 :type regular)
    Mike>  (text-modes :version 1.63 :type single-file)
    Mike>  (texinfo :version 1.24 :type regular)
    Mike>  (supercite :version 1.19 :type regular)
    Mike>  (strokes :version 1.08 :type regular)
    Mike>  (speedbar :version 1.26 :type regular)
    Mike>  (sounds-wav :version 1.1 :type regular)
    Mike>  (sounds-au :version 1.1 :type regular)
    Mike>  (sml-mode :version 0.09 :type regular)
    Mike>  (slider :version 1.13 :type regular)
    Mike>  (sieve :version 1.13 :type regular)
    Mike>  (sh-script :version 1.17 :type regular)
    Mike>  (sgml :version 1.08 :type regular)
    Mike>  (semantic :version 1.17 :type regular)
    Mike>  (scheme :version 1.13 :type regular)
    Mike>  (sasl :version 1.13 :type regular)
    Mike>  (ruby-modes :version 1.01 :type regular)
    Mike>  (rmail :version 1.13 :type regular)
    Mike>  (reftex :version 1.3 :type regular)
    Mike>  (python-modes :version 1.02 :type single-file)
    Mike>  (psgml-dtds :version 1.02 :type regular)
    Mike>  (psgml :version 1.41 :type regular)
    Mike>  (ps-print :version 1.08 :type regular)
    Mike>  (prog-modes
    Mike>   :version
    Mike>    1
    Mike>    .83
    Mike>     :type
    Mike>      single-file)
    Mike>  (pgg :version 1.03 :type regular)
    Mike>  (perl-modes :version 1.04 :type single-file)
    Mike>  (pcomplete :version 1.02 :type regular)
    Mike>  (pcl-cvs :version 1.64 :type regular)
    Mike>  (pc :version 1.25 :type single-file)
    Mike>  (os-utils :version 1.32 :type single-file)
    Mike>  (oo-browser :version 1.03 :type regular)
    Mike>  (ocaml :version 0.04 :type regular)
    Mike>  (net-utils :version 1.32 :type single-file)
    Mike>  (mmm-mode :version 1.0 :type regular)
    Mike>  (misc-games :version 1.16 :type single-file)
    Mike>  (mine :version 1.14 :type regular)
    Mike>  (mh-e :version 1.23 :type regular)
    Mike>  (mew :version 1.17 :type regular)
    Mike>  (mailcrypt :version 2.12 :type regular)
    Mike>  (mail-lib :version 1.6 :type regular)
    Mike>  (liece :version 1.12 :type regular)
    Mike>  (jde :version 1.45 :type regular)
    Mike>  (ispell :version 1.24 :type regular)
    Mike>  (ilisp :version 1.32 :type regular)
    Mike>  (igrep :version 1.1 :type regular)
    Mike>  (idlwave :version 1.3 :type regular)
    Mike>  (ibuffer :version 1.08 :type regular)
    Mike>  (hyperbole :version 1.12 :type regular)
    Mike>  (hm--html-menus :version 1.21 :type regular)
    Mike>  (haskell-mode :version 1.05 :type regular)
    Mike>  (gnus :version 1.71 :type regular)
    Mike>  (gnats :version 1.15 :type regular)
    Mike>  (games :version 1.14 :type regular)
    Mike>  (fsf-compat :version 1.12 :type single-file)
    Mike>  (frame-icon :version 1.09 :type regular)
    Mike>  (fortran-modes :version 1.02 :type single-file)
    Mike>  (forms :version 1.14 :type regular)
    Mike>  (footnote :version 1.15 :type regular)
    Mike>  (eudc :version 1.38 :type regular)
    Mike>  (eterm :version 1.13 :type regular)
    Mike>  (ess :version 1.04 :type regular)
    Mike>  (eshell :version 1.05 :type regular)
    Mike>  (emerge :version 1.09 :type regular)
    Mike>  (elib :version 1.1 :type single-file)
    Mike>  (eieio :version 1.04 :type regular)
    Mike>  (efs :version 1.29 :type regular)
    Mike>  (edt :version 1.12 :type regular)
    Mike>  (edit-utils :version 2.07 :type single-file)
    Mike>  (ediff :version 1.47 :type regular)
    Mike>  (edebug :version 1.18 :type regular)
    Mike>  (ecrypto :version 0.13 :type regular)
    Mike>  (ecb :version 1.1 :type regular)
    Mike>  (docbookide :version 0.06 :type regular)
    Mike>  (dired :version 1.13 :type regular)
    Mike>  (dictionary :version 1.12 :type regular)
    Mike>  (debug :version 1.16 :type regular)
    Mike>  (crisp :version 1.12 :type regular)
    Mike>  (cookie :version 1.14 :type regular)
    Mike>  (clearcase :version 1.06 :type regular)
    Mike>  (cc-mode :version 1.39 :type regular)
    Mike>  (calendar :version 1.21 :type regular)
    Mike>  (calc :version 1.23 :type regular)
    Mike>  (c-support :version 1.16 :type single-file)
    Mike>  (build :version 1.1 :type regular)
    Mike>  (bbdb :version 1.23 :type regular)
    Mike>  (auctex :version 1.35 :type regular)
    Mike>  (apel :version 1.26 :type regular)
    Mike>  (ada :version 1.13 :type regular)
    Mike>  (Sun :version 1.13 :type regular))


    Mike> Installed Modules:
    Mike> -----------------


    Mike> Features:
    Mike> --------

    Mike> (mail-abbrevs xemacsbug shadow sendmail rfc822 func-menu font
    Mike> disp-table font-lock paren blink-paren p4 cus-face zenirc-autoloads
    Mike> xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
    Mike> xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
    Mike> viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
    Mike> vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads
    Mike> tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
    Mike> texinfo-autoloads supercite-autoloads strokes-autoloads
    Mike> speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
    Mike> sml-mode-autoloads slider-autoloads sieve-autoloads
    Mike> sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
    Mike> sasl-autoloads ruby-modes-autoloads rmail-autoloads reftex-autoloads
    Mike> python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
    Mike> ps-print-autoloads prog-modes-autoloads pgg-autoloads
    Mike> perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
    Mike> pc-autoloads os-utils-autoloads oo-browser-autoloads ocaml-autoloads
    Mike> net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
    Mike> mine-autoloads mh-e-autoloads mew-autoloads mailcrypt-autoloads
    Mike> mail-lib-autoloads liece-autoloads jde-autoloads ispell-autoloads
    Mike> ilisp-autoloads igrep-autoloads idlwave-autoloads ibuffer-autoloads
    Mike> hyperbole-autoloads hm--html-menus-autoloads haskell-mode-autoloads
    Mike> gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
    Mike> frame-icon-autoloads fortran-modes-autoloads forms-autoloads
    Mike> footnote-autoloads eudc-autoloads eterm-autoloads ess-autoloads
    Mike> eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
    Mike> efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
    Mike> edebug-autoloads ecrypto-autoloads ecb-autoloads docbookide-autoloads
    Mike> dired-autoloads dictionary-autoloads debug-autoloads crisp-autoloads
    Mike> cookie-autoloads clearcase-autoloads cc-mode-autoloads
    Mike> calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
    Mike> bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
    Mike> Sun-autoloads lisp-autoloads loadhist auto-show fontl-hooks code-cmds
    Mike> gutter-items menubar-items x-menubar dragdrop mode-motion mouse itimer
    Mike> auto-save lisp-mode easymenu iso8859-1 page buff-menu lib-complete
    Mike> help-nomule cus-file derived frame text-props obsolete cus-start
    Mike> custom widget cl-extra mini-cl cl cl-19 packages backquote
    Mike> very-early-lisp file-coding mswindows-scrollbars mswindows tty-frames
    Mike> tty toolbar native-sound scrollbar unix-processes multicast
    Mike> network-streams subprocesses modules menu-accelerator-support menubar
    Mike> dbm md5 xemacs gutter tiff png gif jpeg xface xpm xbm lisp-float-type
    Mike> cygwin32 dragdrop-api dialog devices window-system base64)


    Mike> Recent keystrokes:
    Mike> -----------------

    Mike> misc-user


    Mike> Recent messages (most recent first):
    Mike> -----------------------------------

    Mike> Loading xemacsbug...done
    Mike> Loading xemacsbug...
    Mike> Loading font...done
    Mike> Loading font...
    Mike> Paren mode is paren
    Mike> Loading paren...done
    Mike> Loading paren...
    Mike> Loading p4...done
    Mike> Loading p4...
    Mike> Loading cus-face...done
    Mike> Loading cus-face...




--
Adrian Aichner
 mailto:adrian@xemacs.org
 http://www.xemacs.org/