help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Elisp help needed


From: Tassilo Horn
Subject: Re: Elisp help needed
Date: Thu, 27 Nov 2003 09:48:15 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Eli Zaretskii <eliz@elta.co.il> writes:

> I think you reversed the arguments to string-match (see the
> function's doc string).

Ok, I'll try this first.

> Also, I'm not sure message-fetch-field does what you think it does in
> the buffer where you compose a message being sent (as opposed to the
> buffer where you read mail sent by others to you).
>
> Anyway, the proper way to solve such problems is to debug them.  With
> the cursor inside the function, type "M-x edebug-defun RET", then do
> whatever you do to compose a message, and you will see that when
> fs-change-smtp is called, Edebug, the Emacs Lisp debugger kicks in
> and lets you step through the code and see the results of each
> evaluation.  That will show you what's wrong.

Ah, great to know. Thank you. 

> The chapter "Edebug" in the ELisp manual will tell you how to use
> Edebug.

I'll read it.

> Good luck.

Thanks, you helped me a lot.

Regards,
Tassilo

-- 
"Excessive login or logout messages are a sure sign of senility."


reply via email to

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