From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Elisp help needed Date: Thu, 27 Nov 2003 09:48:15 +0100 Organization: University Koblenz / CC Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87smkadwog.fsf@inspiron.meinnetz.de> References: <871xru20u9.fsf@inspiron.meinnetz.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069923793 16806 80.91.224.253 (27 Nov 2003 09:03:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2003 09:03:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 10:03:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1API3K-0001cP-00 for ; Thu, 27 Nov 2003 10:03:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1APIz3-0007iq-Dq for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Nov 2003 05:02:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news.uni-koblenz.de!inspiron.meinnetz.de!news Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: wlan-218.uni-koblenz.de Original-X-Trace: news.uni-koblenz.de 1069922884 64840 141.26.93.218 (27 Nov 2003 08:48:04 GMT) Original-X-Complaints-To: usenet@news.uni-koblenz.de Original-NNTP-Posting-Date: 27 Nov 2003 08:48:04 GMT User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:8N135xBIiwnc2YH9kZ84xGt5PPA= Original-Xref: shelby.stanford.edu gnu.emacs.help:118702 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14644 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14644 Eli Zaretskii 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."