[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Global match data considered harmful
From: |
Stephen J. Turnbull |
Subject: |
Global match data considered harmful |
Date: |
Tue, 11 May 2010 11:09:25 +0900 |
Stefan Monnier writes:
> 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.
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.
- which-function => DEFUN?, Lennart Borgman, 2010/05/10
- 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 <=
- Re: Global match data considered harmful, Stefan Monnier, 2010/05/11
- Re: Global match data considered harmful, Stephen J. Turnbull, 2010/05/11
- Re: Global match data considered harmful, tomas, 2010/05/12