T V Raman writes:
found the problem --or at least its cause --(mark) in xemacs returns
nil even if the mark is set.
Only when (eq zmacs-regions t), and the mark has been made inactive.
I imagine that emacspeak runs commands all the time, and these
commands deactivate the mark, so (mark) returns nil.
Any of these commands should set `zmacs-region-stays' to `t' so that
the region will stay active (or not).
Emacspeak examines the mark value for all kinds of things
--especially
to indicate to the user what the
is being deleted etc --
If the region is not active, then C-w will not work, and you won't
need to tell the user anything anyway.
Alternatively, you can force people to set `zmacs-regions' to `nil' to
use emacspeak, but that seems evil.
--
Colin