unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: Debugging Lisp
  2003-05-06 15:40 Debugging Lisp Peter Lee
@ 2003-05-06 14:53 ` Tim Haynes
  2003-05-06 15:43   ` Peter Lee
  2003-05-06 15:16 ` Kevin Rodgers
  1 sibling, 1 reply; 4+ messages in thread
From: Tim Haynes @ 2003-05-06 14:53 UTC (permalink / raw)


Peter Lee <pete_lee@swbell.net> writes:

> I have a very rudimentary understanding of lisp but I would like to
> find out where in w3m.el I'm failing.
>
> Is the typical way to just insert messages in the suspect function to
> find where it's breaking ?  Any hints on debugging lisp?

You could do worse than start with `M-x toggle-debug-on-error RET',
assuming from the above that you've not already got that?

~Tim
-- 
zsh % perl -ce 'more or less'               |piglet@stirfried.vegetable.org.uk
-e syntax OK                                |http://spodzone.org.uk/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Debugging Lisp
  2003-05-06 15:40 Debugging Lisp Peter Lee
  2003-05-06 14:53 ` Tim Haynes
@ 2003-05-06 15:16 ` Kevin Rodgers
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2003-05-06 15:16 UTC (permalink / raw)


Peter Lee wrote:

> I have a very rudimentary understanding of lisp but I would like to
> find out where in w3m.el I'm failing.
> 
> Is the typical way to just insert messages in the suspect function to
> find where it's breaking ?  Any hints on debugging lisp?

Read the "Debugging" section in the Emacs Lisp manual.


-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Debugging Lisp
@ 2003-05-06 15:40 Peter Lee
  2003-05-06 14:53 ` Tim Haynes
  2003-05-06 15:16 ` Kevin Rodgers
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Lee @ 2003-05-06 15:40 UTC (permalink / raw)


I have a very rudimentary understanding of lisp but I would like to
find out where in w3m.el I'm failing.

Is the typical way to just insert messages in the suspect function to
find where it's breaking ?  Any hints on debugging lisp?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Debugging Lisp
  2003-05-06 14:53 ` Tim Haynes
@ 2003-05-06 15:43   ` Peter Lee
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Lee @ 2003-05-06 15:43 UTC (permalink / raw)


Tim Haynes <usenet-20030506@stirfried.vegetable.org.uk> writes:

> You could do worse than start with `M-x toggle-debug-on-error RET',
> assuming from the above that you've not already got that?

Thanks Tim, I tried that. It didn't change anything, I'm guessing I
have to figure out why w3m is exiting with status 1 when called via
emacs-w3m, but works fine when called from shell.

Debug on Error enabled
Reading http://emacs-w3m.namazu.org/...done
Cannot retrieve URL: http://emacs-w3m.namazu.org/ (exit status: 1)

I'll have a look at the debugging section in the lisp manual.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-06 15:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-06 15:40 Debugging Lisp Peter Lee
2003-05-06 14:53 ` Tim Haynes
2003-05-06 15:43   ` Peter Lee
2003-05-06 15:16 ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).