User: vins    
  Date: 05/02/24 04:06:20
  Modified:    xemacs/man/lispref Tag: release-21-4 searching.texi
  Log:
  Fix region-active-p and add \c to searching regexp doc.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.266.2.82 +9 -0      XEmacs/xemacs/lisp/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/ChangeLog,v
  retrieving revision 1.266.2.81
  retrieving revision 1.266.2.82
  diff -u -r1.266.2.81 -r1.266.2.82
  --- ChangeLog	2005/02/23 01:54:26	1.266.2.81
  +++ ChangeLog	2005/02/24 03:06:06	1.266.2.82
  @@ -1,3 +1,12 @@
  +2005-02-23  Adrian Aichner  <adrian(a)xemacs.org>
  +
  +	* cmdloop.el (keyboard-quit): Remove workaround for
  +	`region-active-p' not making sure active region is in current
  +	buffer now that it does.
  +	* minibuf.el (minibuffer-keyboard-quit): Ditto.
  +	* simple.el (region-active-p): `region-active-p' to only return t
  +	when active region is in current buffer.
  +
   2005-02-21  Norbert Koch  <viteno(a)xemacs.org>
   
   	* package-ui.el (pui-list-packages): MF21.5, adapt to longer
  
  
  
  1.10.2.3  +1 -2      XEmacs/xemacs/lisp/cmdloop.el
  
  Index: cmdloop.el
  ===================================================================
  RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/cmdloop.el,v
  retrieving revision 1.10.2.2
  retrieving revision 1.10.2.3
  diff -u -r1.10.2.2 -r1.10.2.3
  --- cmdloop.el	2004/07/07 02:25:48	1.10.2.2
  +++ cmdloop.el	2005/02/24 03:06:08	1.10.2.3
  @@ -70,8 +70,7 @@
   If `zmacs-regions' is true, and the zmacs region is active in this buffer,
   then this key deactivates the region without beeping or signalling."
     (interactive)
  -  (if (and (region-active-p)
  -	   (eq (current-buffer) (zmacs-region-buffer)))
  +  (if (region-active-p)
         ;; pseudo-zmacs compatibility: don't beep if this ^G is simply
         ;; deactivating the region.  If it is inactive, beep.
         nil
  
  
  
  1.19.2.3  +1 -2      XEmacs/xemacs/lisp/minibuf.el
  
  Index: minibuf.el
  ===================================================================
  RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/minibuf.el,v
  retrieving revision 1.19.2.2
  retrieving revision 1.19.2.3
  diff -u -r1.19.2.2 -r1.19.2.3
  --- minibuf.el	2002/04/30 16:05:46	1.19.2.2
  +++ minibuf.el	2005/02/24 03:06:08	1.19.2.3
  @@ -271,8 +271,7 @@
   If `zmacs-regions' is true, and the zmacs region is active in this buffer,
   then this key deactivates the region without beeping."
     (interactive)
  -  (if (and (region-active-p)
  -	   (eq (current-buffer) (zmacs-region-buffer)))
  +  (if (region-active-p)
         ;; pseudo-zmacs compatibility: don't beep if this ^G is simply
         ;; deactivating the region.  If it is inactive, beep.
         nil
  
  
  
  1.31.2.6  +3 -2      XEmacs/xemacs/lisp/simple.el
  
  Index: simple.el
  ===================================================================
  RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/simple.el,v
  retrieving revision 1.31.2.5
  retrieving revision 1.31.2.6
  diff -u -r1.31.2.5 -r1.31.2.6
  --- simple.el	2005/01/18 03:31:07	1.31.2.5
  +++ simple.el	2005/02/24 03:06:08	1.31.2.6
  @@ -3898,7 +3898,7 @@
   
   ;; XEmacs
   (defun region-active-p ()
  -  "Return non-nil if the region is active.
  +  "Return non-nil if the region is active in the current buffer.
   If `zmacs-regions' is true, this is equivalent to `region-exists-p'.
   Otherwise, this function always returns false.
   
  @@ -3908,7 +3908,8 @@
     [ ... ... :active (region-exists-p)]
   
   Which correctly caters to the user's setting of `zmacs-regions'."
  -  (and zmacs-regions zmacs-region-extent))
  +  (and zmacs-regions zmacs-region-extent
  +       (eq (current-buffer) (zmacs-region-buffer))))
   
   (defvar zmacs-activate-region-hook nil
     "Function or functions called when the region becomes active;
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.116.2.57 +6 -0      XEmacs/xemacs/man/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /pack/xemacscvs/XEmacs/xemacs/man/ChangeLog,v
  retrieving revision 1.116.2.56
  retrieving revision 1.116.2.57
  diff -u -r1.116.2.56 -r1.116.2.57
  --- ChangeLog	2005/02/23 01:54:32	1.116.2.56
  +++ ChangeLog	2005/02/24 03:06:17	1.116.2.57
  @@ -1,3 +1,9 @@
  +2005-02-23  Aidan Kehoe  <kehoea(a)parhasard.net>
  +
  +	* lispref/searching.texi (Syntax of Regexps):
  +	Mention the \c and \C regular expression constructs; cross
  +	reference to the Category Table documentation. 
  +
   2005-02-22  Stephen J. Turnbull  <stephen(a)xemacs.org>
   
   	* lispref/glyphs.texi: Complete reorganization, some content updated.
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.9.2.2   +13 -0     XEmacs/xemacs/man/lispref/searching.texi
  
  Index: searching.texi
  ===================================================================
  RCS file: /pack/xemacscvs/XEmacs/xemacs/man/lispref/searching.texi,v
  retrieving revision 1.9.2.1
  retrieving revision 1.9.2.2
  diff -u -r1.9.2.1 -r1.9.2.2
  --- searching.texi	2004/09/23 03:03:00	1.9.2.1
  +++ searching.texi	2005/02/24 03:06:19	1.9.2.2
  @@ -516,6 +516,19 @@
   @item \S@var{code}
   @cindex @samp{\S} in regexp
   matches any character whose syntax is not @var{code}.
  +
  +@item \c@var{category}
  +@cindex @samp{\c} in regexp
  +matches any character in @var{category}. Only available under Mule,
  +categories, and category tables, are further described in @ref{Category
  +Tables}. They are a mechanism for constructing classes of characters
  +that can be local to a buffer, and that do not require complicated []
  +expressions every time they are referenced.
  +
  +@item \C@var{category}
  +@cindex @samp{\C} in regexp
  +matches any character outside @var{category}. @xref{Category Tables},
  +again, and note that this is only available under Mule. 
   @end table
   
     The following regular expression constructs match the empty string---that is,