I am experiencing a problem in xemacs 21.5.16 where the zmacs region disappears as soon as I begin typing a command in the minibuffer while the zmacs region is active.  For example, I highlight a region and attempt to type M-X indent-region, but as soon as I type the 'i' of 'indent-rgion', the zmacs region is deactivated. The odd thing is that immediately after starting up, zmacs regions seem to work, but after working for a while the behavior that I describe manifests itself and form that point on, zmacs regions do not persist during commands.  Has anyone seen such behavior.  What can I look for to attempt to diagnose the problem?  Thanks in advance.

-- Fred Hart

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

uname -a: CYGWIN_NT-5.0 atlfhartd 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin

./configure  '--pdump' '--with_postgresql=no' '--with-x=no' '--with-gcc' '--with-toolbars=yes' '--with_dragndrop' '--with-xface' '--with-jpeg' '--with-tiff' '--with-png' '--with-xpm' '--site_prefixes=/usr' '--prefix=/c/appl/xemacs' '--cflags=-I/usr/include/w32api' '--ldflags=-L/usr/local/lib -L/usr/bin' '--verbose'


XEmacs 21.5-b16 "celeriac"  configured for `i686-pc-cygwin'.


Compilation / Installation:
  Source code location:              /c/appl/xemacs-21.5.16
  Installation prefix:               /c/appl/xemacs
  Additional prefixes:               /usr
  Operating system description file: `s/cygwin32.h'
  Machine description file:          `m/intel386.h'
  Compiler:                          gcc -I/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../include/noX -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef -Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -I/usr/include/w32api

  Relocating allocator for buffers:  no
  GNU version of malloc:             yes

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

TTY:

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

Sound:
  Compiling in support for sound (native).

Databases:
  Compiling in support for GNU DBM.

Internationalization:

Mail:
  Compiling in support for POP mail retrieval.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for dynamic shared object modules.
  Using the new portable dumper.
  Compiling in support for extra debugging code.
  WARNING: ---------------------------------------------------------
  WARNING: Compiling in support for runtime error checking.
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------



Load-Path Lisp Shadows:
----------------------
(/c/cfhart/elisp/ztel /c/cfhart/elisp/ztel /c/cfhart/elisp/zlog-mode
/c/cfhart/elisp/zlog-mode /c/cfhart/elisp/w3-extras
/c/cfhart/elisp/w3-extras /c/cfhart/elisp/visual-basic-mode
/c/cfhart/elisp/visual-basic-mode /c/cfhart/elisp/vbp-mode
/c/cfhart/elisp/vbp-mode /c/cfhart/elisp/uudecode-fixes
/c/cfhart/elisp/uudecode-fixes /c/cfhart/elisp/tempo
/c/cfhart/elisp/tempo /c/cfhart/elisp/sql-extras
/c/cfhart/elisp/sql-extras /c/cfhart/elisp/shell-extras
/c/cfhart/elisp/shell-extras /c/cfhart/elisp/sa /c/cfhart/elisp/sa
/c/cfhart/elisp/psgml-extras /c/cfhart/elisp/psgml-extras
/c/cfhart/elisp/packages /c/cfhart/elisp/packages
/c/cfhart/elisp/multi-qr /c/cfhart/elisp/multi-qr /c/cfhart/elisp/misc
/c/cfhart/elisp/misc /c/cfhart/elisp/minibuf-extras
/c/cfhart/elisp/minibuf-extras /c/cfhart/elisp/local-keys
/c/cfhart/elisp/local-keys /c/cfhart/elisp/jswat /c/cfhart/elisp/jswat
/c/cfhart/elisp/jserial /c/cfhart/elisp/jserial /c/cfhart/elisp/jsee
/c/cfhart/elisp/jsee /c/cfhart/elisp/jdok /c/cfhart/elisp/jdok
/c/cfhart/elisp/jde-jalopy /c/cfhart/elisp/jde-jalopy
/c/cfhart/elisp/jde-fixes /c/cfhart/elisp/jde-fixes
/c/cfhart/elisp/java-extras /c/cfhart/elisp/java-extras
/c/cfhart/elisp/font-lock-java /c/cfhart/elisp/font-lock-java
/c/cfhart/elisp/font-lock-extras /c/cfhart/elisp/font-lock-extras
/c/cfhart/elisp/ffap-java-support /c/cfhart/elisp/ffap-java-support
/c/cfhart/elisp/eiffel3 /c/cfhart/elisp/eiffel3
/c/cfhart/elisp/efs-extras /c/cfhart/elisp/efs-extras
/c/cfhart/elisp/e-vers /c/cfhart/elisp/e-vers /c/cfhart/elisp/dmacro
/c/cfhart/elisp/dmacro /c/cfhart/elisp/dmacro-sv
/c/cfhart/elisp/dmacro-sv /c/cfhart/elisp/dmacro-bld
/c/cfhart/elisp/dmacro-bld /c/cfhart/elisp/dm-compat
/c/cfhart/elisp/dm-compat /c/cfhart/elisp/dm-c /c/cfhart/elisp/dm-c
/c/cfhart/elisp/dired-extras /c/cfhart/elisp/dired-extras
/c/cfhart/elisp/cpp /c/cfhart/elisp/cpp /c/cfhart/elisp/compatibility
/c/cfhart/elisp/compatibility /c/cfhart/elisp/common
/c/cfhart/elisp/common /c/cfhart/elisp/code-process-fixes
/c/cfhart/elisp/code-process-fixes /c/cfhart/elisp/clearcase-extras
/c/cfhart/elisp/clearcase-extras /c/cfhart/elisp/cc-mode-extras
/c/cfhart/elisp/cc-mode-extras /c/cfhart/elisp/bugs
/c/cfhart/elisp/bugs /c/cfhart/elisp/bsol /c/cfhart/elisp/bsol
/c/cfhart/elisp/awk-mode-extras /c/cfhart/elisp/awk-mode-extras
/c/cfhart/elisp/ansify /c/cfhart/elisp/ansify /c/cfhart/elisp/align
/c/cfhart/elisp/align /c/cfhart/elisp/.vm-extras
/c/cfhart/elisp/.vm-extras /c/cfhart/elisp/tempo
c:/appl/xemacs/lib/xemacs/xemacs-packages/lisp/edit-utils/tempo
/c/cfhart/elisp/jde-2.3.3beta6/lisp/setnu
c:/appl/xemacs/lib/xemacs/xemacs-packages/lisp/edit-utils/setnu
/c/cfhart/elisp/align
c:/appl/xemacs/lib/xemacs/xemacs-packages/lisp/edit-utils/align
/c/cfhart/elisp/packages
c:/appl/xemacs/lib/xemacs-21.5-b16/lisp/packages /c/cfhart/elisp/misc
c:/appl/xemacs/lib/xemacs-21.5-b16/lisp/misc
c:/appl/xemacs/lib/xemacs/xemacs-packages/lisp/build/build-report
c:/appl/xemacs/lib/xemacs-21.5-b16/lisp/build-report)


Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.14 upstream: 2.112)
(xslt-process ver: 1.11 upstream: regular)
(xslide ver: 1.09 upstream: 0.2.2)
(xemacs-devel ver: 1.6 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.82 upstream: No-Upstream-Ver)
(w3 ver: 1.29 upstream: 4.0pre47)
(vm ver: 7.18 upstream: 7.17)
(viper ver: 1.37 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.18 upstream: 3.31.20)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.38 upstream: No-Upstream-Ver)
(tramp ver: 1.16 upstream: regular)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.37 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.72 upstream: No-Upstream-Ver)
(texinfo ver: 1.25 upstream: No-Upstream-Ver)
(supercite ver: 1.2 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.27 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.1 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.14 upstream: No-Upstream-Ver)
(sh-script ver: 1.18 upstream: 2.0e)
(sgml ver: 1.1 upstream: No-Upstream-Ver)
(semantic ver: 1.18 upstream: 1.4.2)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.14 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(reftex ver: 1.33 upstream: 4.21)
(python-modes ver: 1.03 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.41 upstream: regular)
(ps-print ver: 1.09 upstream: 6.5.6)
(prog-modes ver: 1.91 upstream: No-Upstream-Ver)
(pgg ver: 1.04 upstream: 0.1)
(perl-modes ver: 1.05 upstream: No-Upstream-Ver)
(pcomplete ver: 1.03 upstream: 1.1.6)
(pcl-cvs ver: 1.65 upstream: R-2_9_9)
(pc ver: 1.26 upstream: No-Upstream-Ver)
(os-utils ver: 1.34 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.34 upstream: No-Upstream-Ver)
(mmm-mode ver: 1.01 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.28 upstream: 7.4.2)
(mew ver: 1.18 upstream: 1.94.2)
(mailcrypt ver: 2.13 upstream: 3.5.8)
(mail-lib ver: 1.63 upstream: No-Upstream-Ver)
(liece ver: 1.12 upstream: regular)
(ispell ver: 1.26 upstream: 3.3)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.12 upstream: 2.95)
(idlwave ver: 1.31 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.14 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.06 upstream: 1.44)
(gnus ver: 1.73 upstream: regular)
(gnats ver: 1.16 upstream: 3.101)
(games ver: 1.15 upstream: 1.04)
(fsf-compat ver: 1.13 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.03 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.15 upstream: No-Upstream-Ver)
(ess ver: 1.06 upstream: 5.1.21)
(eshell ver: 1.06 upstream: 2.4.1)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.32 upstream: 1.22)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.1 upstream: No-Upstream-Ver)
(ediff ver: 1.49 upstream: 2.75)
(edebug ver: 1.2 upstream: No-Upstream-Ver)
(ecrypto ver: 0.14 upstream: 2.0)
(ecb ver: 1.14 upstream: 2.11)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.15 upstream: 7.11)
(dictionary ver: 1.12 upstream: regular)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.14 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.08 upstream: No-Upstream-Ver)
(cc-mode ver: 1.42 upstream: 5.30.8)
(calendar ver: 1.22 upstream: No-Upstream-Ver)
(calc ver: 1.24 upstream: 2.02fX3)
(c-support ver: 1.18 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.24 upstream: 2.34)
(auctex ver: 1.35 upstream: regular)
(apel ver: 1.27 upstream: 10.2)
(ada ver: 1.14 upstream: 2.27)



Installed Modules:
-----------------


Features:
--------

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


Recent keystrokes:
-----------------

button1 button1up M-x s u b m i TAB BS BS BS TAB C-g
C-g C-h a b u g . * r e p o r t RET down down down
down down down down down down down down right right
right right RET M-x r e p o r TAB TAB - e BS BS e m
a TAB RET


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

Auto save file for draft message exists; consider M-x mail-recover
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Loading hyper-apropos...done
Loading hyper-apropos...
Quit
Quit
Making completion list...
Loading gnuserv...done
Loading gnuserv...
Loading executable...done
Loading executable...
Loading advice...done
Loading advice...
Creating second frame
Loading ztel...done
Loading ztel.el
Loading ztel...
Loading font-lock-extras...done