Thanks an awful lot for your prompt and clear help. Indeed, after
xemacs with the latest CVS sources both of my problems have gone away!
On Jan 1, 2004, at 4:00 AM, robert delius royar wrote:
On Thu, 1 Jan 2004 about 02:33 +0100 UTC Artemio Gonzalez Lopez
> I have successfully compiled Xemacs-21.5.16 for Mac OS X 10.3.2
> (Panther), and installed
> the xemacs sumo package. Everything seems to work OK, except for two
> apparent bugs:
> 1) By default, "Active regions" is on (in the Options-> Editing menu).
> However, when I double click on a
> word or select text with the cursor Xemacs beeps, and the following
> cryptic message appears
> in the status bar:
> Symbol's value as variable is void: region
> 2) More annoyingly, when I select text (after turning "Active regions"
> off, otherwise I get error 1)
> and press the Delete key only the character next to the cursor is
> deleted, not the entire selection. This is so even when "Ovestrike" is
> selected in the Options-> Editing menu.
I have a similar setup (OS X 10.3.2, latest 21.5.b16 cvs). My regions
delete without error. I seem to recall there was a CVS a while back
I saw this error. I keep Active Regions on and include these in my
;;package xemacs-packages/lisp/pc must be installed for pending-del.el
;; These I carried over from my windows XEmacs to mimic its cut/paste
;; delete key can delete the entire region or cut it.
(defun win-delete (&optional killp)
(if (and (region-active-p)
(eq (extent-object (car zmacs-region-extent))
(eq (extent-object zmacs-region-extent) (current-buffer)))
(kill-rectangle (region-beginning) (region-end))
(delete-rectangle (region-beginning) (region-end)))
(kill-region (region-beginning) (region-end))
(delete-region (region-beginning) (region-end))))
(delete-char killp (or killp nil))
;; yank over highlighted text deletes region and yanks kill buffer into
;; its place.
(defun win-yank ()
(if (and (not buffer-read-only)
'(global-popup-menu '(["%_Cut Region" toolbar-cut :active
] ["%_Copy Region" toolbar-copy :active
] ["%_Paste Region" toolbar-paste :active kill-ring-yank-pointer])
Maybe some of this (along with the latest CVS) will help you.
Depto. Fisica Teorica II
28040 Madrid, SPAIN
Phone: +34 913944596
Fax: +34 913944557