[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to start the intel debugger with dgb in emacs
From: |
Eli Zaretskii |
Subject: |
Re: how to start the intel debugger with dgb in emacs |
Date: |
Mon, 09 Jul 2007 17:45:53 +0300 |
> From: Mirko <mvukovic@nycap.rr.com>
> Date: Mon, 09 Jul 2007 07:29:05 -0700
>
> > (defun string->strings (string &optional separator)
> > "Split the STRING into a list of strings.
> > It understands elisp style quoting within STRING such that
> > (string->strings (strings->string strs)) == strs
> > The SEPARATOR regexp defaults to \"\\s-+\"."
> > (let ((sep (or separator "\\s-+"))
> > (i (string-match "[\"]" string)))
> > (if (null i) (split-string string sep t) ; no quoting: easy
> > (append (unless (eq i 0) (split-string (substring string 0 i) sep t))
> > (let ((rfs (read-from-string string i)))
> > (cons (car rfs)
> > (string->strings (substring string (cdr rfs))
> > sep)))))))
> >
> I applied your patch, but my emacs complained about undefined variable
> string->strings.
That's the additional function Nick sent in addition to the patch (see
above). You need to put it somewhere, e.g. in your .emacs file.