[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Global match data considered harmful
From: |
Stefan Monnier |
Subject: |
Re: Global match data considered harmful |
Date: |
Tue, 11 May 2010 09:54:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> The rule for where to place a save-match-data is:
>> around the code run between "looking-at" and "match-string-no-properties".
> *snort* I'm with Juanma.
I'm not sure what that means.
> This is just so wrong, you know. Not returning the match data, instead
> storing it in a global object, is arguably the worst design decision
> in all of Emacs.
Preaching to the choir, eh?
[ Well "the worst" I don't know: it's not like there's a shortage of
global-abuse in Emacs. ]
Stefan
- Re: which-function => DEFUN?, (continued)
- Re: which-function => DEFUN?, Stefan Monnier, 2010/05/10
- Re: which-function => DEFUN?, Juanma Barranquero, 2010/05/10
- Global match data considered harmful, Stephen J. Turnbull, 2010/05/10
- Re: Global match data considered harmful,
Stefan Monnier <=
- Re: Global match data considered harmful, Stephen J. Turnbull, 2010/05/11
- Re: Global match data considered harmful, tomas, 2010/05/12