GNU bug report logs - #19714
reftex under Xemacs 21.5.33 Mule

Previous Next

Package: auctex;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Wed, 28 Jan 2015 16:58:01 UTC

Severity: normal

Merged with 19715

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Uwe Brauer <oub <at> mat.ucm.es>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: David Kastrup <dak <at> gnu.org>, 19714 <at> debbugs.gnu.org, XEmacs Beta Discussion <xemacs-beta <at> xemacs.org>
Subject: bug#19714: reftex  under Xemacs 21.5.33 Mule
Date: Thu, 29 Jan 2015 15:08:07 +0100
[Message part 1 (text/plain, inline)]
   > David Kastrup <dak <at> gnu.org> writes:

   > Yes, that's it.  Unfortunately, I use that on purpose in
   > `reftex-label-regexps' which is a customizable list of regexps which
   > gets `regexp-opt'ed and starts `reftex-everything-regexp'.  By default,
   > it has one entry matching \label{...} and one matching keyval
   > label={...} arguments.

   > RefTeX relies on the first group in `reftex-everything-regexp' capturing
   > the label name (see reftex-parse.el:242).  Without the explicitly
   > numbered groups, the regex for \label{...} would be group 1, but the
   > regex for label={...} would already be two.

Thanks David, for the fast response!

   > I don't see an easy fix here on my side.  So basically you have two
   > options:

   >   1. implement explicitly numbered groups in XEmacs (they are really
   >      useful in many cases)


Ok, I will see whether somebody on xemacs-beta picks it up.


   >   2. remove `reftex-label-regexps' and stick to matching only
   >      \label{...} labels without being able to match other things that
   >      also produce labels

   >      (or even simpler: remove the "?1" from the first regexp in
   >      `reftex-label-regexps' and delete the second regexp.  Also make it
   >      to a `defconst' to indicate that nobody should touch it.)

Do you mean a split in code here?

wrapped around a 

 (when (featurep 'xemacs)
Simplified version
)

something like this?

I will try this, but not right now unfortunately. 

Just in case, I would like to know:

Suppose I come up with a solution the way you suggest it. Would you then
include the corresponding patch to reftex? It should not do any harm to
GNU emacs.  Because otherwise I would have to replace the regexp every
time you release  a new version....

Uwe 
[smime.p7s (application/pkcs7-signature, attachment)]

This bug report was last modified 10 years and 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.