From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: help with erc function Date: Fri, 29 Feb 2008 22:46:22 +0000 Message-ID: <87zltjgz41.fsf@bzg.ath.cx> References: <46fc686f-7715-40dd-b159-4d3802856f8a@d21g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204325226 16182 80.91.229.12 (29 Feb 2008 22:47:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 22:47:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 29 23:47:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVE0k-0004qY-Ka for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Feb 2008 23:47:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVE0D-0005fH-3L for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Feb 2008 17:46:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVDzv-0005cL-S2 for help-gnu-emacs@gnu.org; Fri, 29 Feb 2008 17:46:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVDzr-0005aj-Ax for help-gnu-emacs@gnu.org; Fri, 29 Feb 2008 17:46:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVDzr-0005ag-1N for help-gnu-emacs@gnu.org; Fri, 29 Feb 2008 17:46:31 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVDzq-0000HV-Kn for help-gnu-emacs@gnu.org; Fri, 29 Feb 2008 17:46:31 -0500 Original-Received: by nf-out-0910.google.com with SMTP id f5so2768750nfh.26 for ; Fri, 29 Feb 2008 14:46:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=4hWmdaVbtHkW9BUlBPn6C8XW/Z8QRa2rrwLxOlPdQKI=; b=lH2DhpXsrejJRdz36HI8fWORRSW2OZ71IZhTfaxSw/BN3U4tNwvc4o5ONXb/GVZYHhPX3Z7xpXEa+Sv1NIZz/DcaoIVQ84oFfLhWgrlOnIivFS/aOMKCJAYw5AvRN91hRR1xCUD+fD7uW9IxRiod/ZevT+z699/VNjr7e4S7SDU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=o6B7jgSLnkLC44FibX1mJyhQXK2N4BOk59dj38i/xsNzkd3aHVsh2lYh017PailAug/y8LbSiD5wnFE47g26baNpGlQ0T6a+2/df2xVi3tmsHUxEnycYoxMmxkGFIY3JPnuRh3CLHxIoCevPfkAYLWCLdfQlBLuatuFj0RUhZYo= Original-Received: by 10.82.118.2 with SMTP id q2mr10287311buc.29.1204325185134; Fri, 29 Feb 2008 14:46:25 -0800 (PST) Original-Received: from bzg.ath.cx ( [81.99.213.34]) by mx.google.com with ESMTPS id b30sm4459157ika.11.2008.02.29.14.46.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Feb 2008 14:46:24 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 511C21575BD; Fri, 29 Feb 2008 22:46:21 +0000 (GMT) In-Reply-To: <46fc686f-7715-40dd-b159-4d3802856f8a@d21g2000prf.googlegroups.com> (someusernamehere@gmail.com's message of "Fri, 29 Feb 2008 11:58:46 -0800 (PST)") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51977 Archived-At: someusernamehere writes: > I have a function in a file that calls to erc-default-target for get > the current channel, if I evaluate the function *on* the channel all > works fine, but if I call it interactively (M-x function) the function > fails, because the erc-default-target return `nil' , what about this? > there is a way for fix that? Can you show some code? -- Bastien