unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <heimdall@uni-koblenz.de>
Subject: Re: Elisp help needed
Date: Thu, 27 Nov 2003 09:48:15 +0100	[thread overview]
Message-ID: <87smkadwog.fsf@inspiron.meinnetz.de> (raw)
In-Reply-To: mailman.693.1069918173.399.help-gnu-emacs@gnu.org

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

  parent reply	other threads:[~2003-11-27  8:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-26 22:59 Elisp help needed Tassilo Horn
2003-11-27  6:29 ` Eli Zaretskii
     [not found] ` <mailman.693.1069918173.399.help-gnu-emacs@gnu.org>
2003-11-27  8:48   ` Tassilo Horn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-01 16:58 elisp " Robert D. Crawford
2006-03-01 21:37 ` RD
2006-03-02 11:36   ` Robert D. Crawford
2006-03-04 12:26     ` Tim Cross
2006-03-04 13:57       ` Robert D. Crawford
2006-03-02 12:50 ` Katsumi Yamaoka
2006-03-02 13:34   ` Robert D. Crawford

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87smkadwog.fsf@inspiron.meinnetz.de \
    --to=heimdall@uni-koblenz.de \
    /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.
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).