GNU bug report logs - #16296
subword.el regexps shouldn't be constants

Previous Next

Package: emacs;

Reported by: Phil Sainty <psainty <at> orcon.net.nz>

Date: Sun, 29 Dec 2013 23:46:02 UTC

Severity: minor

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Phil Sainty <psainty <at> orcon.net.nz>
Subject: bug#16296: closed (Re: subword.el regexps shouldn't be constants)
Date: Sun, 05 Jan 2014 05:51:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16296: subword.el regexps shouldn't be constants

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 16296 <at> debbugs.gnu.org.

-- 
16296: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16296
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 16296-done <at> debbugs.gnu.org
Subject: Re: subword.el regexps shouldn't be constants
Date: Sat, 04 Jan 2014 21:50:20 -0800
I installed that patch; thanks.

[Message part 3 (message/rfc822, inline)]
From: Phil Sainty <psainty <at> orcon.net.nz>
To: bug-gnu-emacs <at> gnu.org
Subject: subword.el regexps shouldn't be constants
Date: Mon, 30 Dec 2013 12:43:10 +1300
I notice that a recent(ish) change in subword.el changed the two
regexps (subword-forward-regexp and subword-backward-regexp) into
constants.

The reason for splitting them out into variables in the first
place was to help make subword-mode easily adaptable to other
situations where similar functionality was needed, but for different
definitions of 'subword'.

For the situation where the normal subword-forward/backward-function
values are fine and you simply need buffer-local overrides for the
regexps, this newer change would seem to be counter-productive.

Can we please revert it?

-Phil




This bug report was last modified 11 years and 140 days ago.

Previous Next


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