emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdba probs


From: Kim F. Storm
Subject: Re: gdba probs
Date: 12 Dec 2002 11:22:18 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Miles Bader <address@hidden> writes:

> Nick Roberts <address@hidden> writes:
> >  (defun gud-filter (proc string)
> >    ;; Here's where the actual buffer insertion is done
> > +  (when (and gud-first-time (string-match 
> > +       "\n\032\032[a-z]" string))
> .....
> > +    (setq gud-first-time nil))
> >    (let (output process-window)
> 
> Please put all the junk inside the `when' (which I replaced by .....)
> into a separate function to avoid cluttering up gud-filter, something
> like `gdba-take-over-process' or something.  It could even be an
> autoloaded function in gdb-ui.el.

Alternatively, there could be a `gud-filter-hook' which gdb-ui.el
could hook into when loaded.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]