[Bug: 21.5-b28] Could you please turn on `RE_CHAR_CLASSES' for XEmacs?

Steve Youngs steve at sxemacs.org
Mon Feb 25 17:06:40 EST 2008


* Reiner Steib <reinersteib+gmane at imap.cc> writes:

  > On Mon, Feb 25 2008, Steve Youngs wrote:
  >> * It's me FKtPp ;) <m_pupil at yahoo.com.cn> writes:
  >> 
  >> > I hear that SXEmacs sharing the same packages repository with XEmacs,
  >> > so SXEmacs must have a special character class [:word:] defined.  Or
  >> > how can it handle this, while viewing articles in gnus:
  >> 
  >> Yes, SXEmacs has character classes, but because (featurep 'xemacs) => t
  >> in SXEmacs, reading articles in Gnus is the same as if you were using
  >> XEmacs. 

  > The relevant code in Gnus doesn't test (featurep 'xemacs) but...

  >   (string-match "[[:digit:]]" "1") ;; support POSIX?

  > So if in SXEmacs this returns non-nil, `gnus-button-url-regexp's value
  > will be like in Emacs.

Indeed...

  gnus-button-url-regexp
   => "\\b\\(\\(www\\.\\|\\(s?https?\\|ftp\\|file\\|gopher\\|nntp\\|news\\|telnet\\|wais\\|mailto\\|info\\):\\)\\(//[-a-z0-9_.]+:[0-9]*\\)?\\(?:[-a-z0-9_=#$@~%&*+\\/[:word:]!?:;.,]+([-a-z0-9_=#$@~%&*+\\/[:word:]!?:;.,]+[-a-z0-9_=#$@~%&*+\\/[:word:]]*)[-a-z0-9_=#$@~%&*+\\/[:word:]]\\|[-a-z0-9_=#$@~%&*+\\/[:word:]!?:;.,]+[-a-z0-9_=#$@~%&*+\\/[:word:]]\\)\\)"

Looking back through the changelog, we had to add `:word:' to get Gnus
working again.

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|       SXEmacs - The only _______ you'll ever need.       |
|         Fill in the blank, yes, it's THAT good!          |
|------------------------------------<steve at sxemacs.org>---|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 316 bytes
Desc: not available
Url : http://lists.xemacs.org/pipermail/xemacs-beta/attachments/20080226/3bea8374/attachment.pgp


More information about the XEmacs-Beta mailing list