all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: how to start the intel debugger with dgb in emacs
Date: Mon, 09 Jul 2007 17:45:53 +0300	[thread overview]
Message-ID: <u4pkdbppa.fsf@gnu.org> (raw)
In-Reply-To: <1183991345.522520.66020@r34g2000hsd.googlegroups.com> (message from Mirko on Mon, 09 Jul 2007 07:29:05 -0700)

> 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.

  reply	other threads:[~2007-07-09 14:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06 13:53 how to start the intel debugger with dgb in emacs Mirko
2007-07-06 15:57 ` Eli Zaretskii
     [not found] ` <mailman.3140.1183737476.32220.help-gnu-emacs@gnu.org>
2007-07-06 17:27   ` Mirko
2007-07-06 22:44 ` Nick Roberts
2007-07-07 10:12   ` Eli Zaretskii
2007-07-07 23:45     ` Nick Roberts
     [not found] ` <mailman.3151.1183761918.32220.help-gnu-emacs@gnu.org>
2007-07-09 14:29   ` Mirko
2007-07-09 14:45     ` Eli Zaretskii [this message]
     [not found]     ` <mailman.3221.1183992395.32220.help-gnu-emacs@gnu.org>
2007-07-09 18:26       ` Mirko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4pkdbppa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.