[mew-int 01907] Re: Picking of expressions with spaces doesn't work in 4.x

Kazu Yamamoto ( 山本和彦 ) kazu at example.com
Sat Nov 13 08:53:50 JST 2004


> I had some time last week and traced the (only my?) problem to the
> following line in mew-pick.el in function mew-pick-macro-expand-string:
>       (if (memq first (list ?\( ?\! ?\& ?\| ?= mew-sp ?\)))
> 
> After replacing this line with the old version (from mew-3.3rc1):
>       (if (memq first '(?\( ?\! ?\& ?\| ?= ? ?\)))

Thank you for your report.

It seems to me that this is a bug of XEmacs. I made a patch for Mew
4.1. Please test it with your patch removed.

> my problem is gone and I'm able to pick (or use virtual mode) with
> spaces in pattern. Does anybody know why this change has been made in
> mew-4.x? 

For readability, I replaced "? " with mew-sp.

--Kazu

Index: mew-const.el
===================================================================
RCS file: /cvsroot/mew/mew/mew-const.el,v
retrieving revision 1.67
diff -c -r1.67 mew-const.el
*** mew-const.el	28 Sep 2004 11:22:07 -0000	1.67
--- mew-const.el	12 Nov 2004 23:53:17 -0000
***************
*** 15,21 ****
  ;;; Readability
  ;;;
  
! (defconst mew-sp 32)
  
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  ;;;
--- 15,21 ----
  ;;; Readability
  ;;;
  
! (defconst mew-sp ?\ ) ;; 32 does not work on XEmacs
  
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  ;;;



More information about the Mew-int mailing list