Re: match-string debugging problem

2005-03-14 Thread Stephen Berman
On Sun, 13 Mar 2005 15:52:24 -0600 Alan Wehmann <[EMAIL PROTECTED]> wrote: > Stephen Berman <[EMAIL PROTECTED]> writes: > >> There seems to be something about match-string that I don't >> understand. Here is an example of the kind of code I'm working with: >> [...] >> The last line indicates that

Re: match-string debugging problem

2005-03-13 Thread Alan Wehmann
Stephen Berman <[EMAIL PROTECTED]> writes: > There seems to be something about match-string that I don't > understand. Here is an example of the kind of code I'm working with: > > (defvar mystring1 "+ ") > (defvar mystring2 " ~") > (defun mystring-list () > (interactive) > (with-curre

Re: match-string debugging problem

2005-03-11 Thread Stephen Berman
On 11 Mar 2005 00:40:14 +0100 Pascal Bourguignon <[EMAIL PROTECTED]> wrote: > Stephen Berman <[EMAIL PROTECTED]> writes: > >> [...] >> >> (let ((mystring-list ())) >> >> (while (re-search-forward >> >> (concat "^" (regexp-quote mystring1) "\\(.+\\)" >> >> (regexp-

Re: match-string debugging problem

2005-03-10 Thread Pascal Bourguignon
Stephen Berman <[EMAIL PROTECTED]> writes: > On 10 Mar 2005 18:06:52 +0100 Pascal Bourguignon <[EMAIL PROTECTED]> wrote: > > > Stephen Berman <[EMAIL PROTECTED]> writes: > > > [...] > >> (let ((mystring-list ())) > >> (while (re-search-forward > >> (concat "^" (regexp-quote mys

Re: match-string debugging problem

2005-03-10 Thread Stephen Berman
On 10 Mar 2005 18:06:52 +0100 Pascal Bourguignon <[EMAIL PROTECTED]> wrote: > Stephen Berman <[EMAIL PROTECTED]> writes: > [...] >> (let ((mystring-list ())) >> (while (re-search-forward >>(concat "^" (regexp-quote mystring1) "\\(.+\\)" >>(regexp-quote mys

Re: match-string debugging problem

2005-03-10 Thread Pascal Bourguignon
Stephen Berman <[EMAIL PROTECTED]> writes: > There seems to be something about match-string that I don't > understand. Here is an example of the kind of code I'm working with: > > (defvar mystring1 "+ ") > (defvar mystring2 " ~") > (defun mystring-list () > (interactive) > (with-curr

match-string debugging problem

2005-03-10 Thread Stephen Berman
There seems to be something about match-string that I don't understand. Here is an example of the kind of code I'm working with: (defvar mystring1 "+ ") (defvar mystring2 " ~") (defun mystring-list () (interactive) (with-current-buffer (get-buffer-create "*test*") (switch-to-buffe