From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sean McAfee Newsgroups: gmane.emacs.help Subject: Unable to avoid prompting when starting jabber Date: Thu, 25 Jul 2013 11:19:58 -0700 Organization: A noiseless patient Spider Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374776417 24993 80.91.229.3 (25 Jul 2013 18:20:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jul 2013 18:20:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 25 20:20:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V2Q9D-0000jR-I8 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 20:20:19 +0200 Original-Received: from localhost ([::1]:38470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2Q9D-0006wf-4s for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 14:20:19 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Info: mx05.eternal-september.org; posting-host="9602142ff40e0c8bd8027a6f5e009406"; logging-data="31841"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vXvoyaGpAkCOVCrkKCyGNyTT0t5MpeAE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:F41fiHS4Sv52hMtFgKEAzdAOcvY= sha1:juJmx6N+Z9OWnPQDEh0SgZz0GAw= Original-Xref: usenet.stanford.edu gnu.emacs.help:200151 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92417 Archived-At: I had the following routine set up to connect to the local Jabber server: (defun my-connect-to-jabber () (interactive) (jabber-connect ... arguments ...) I eventually got tired of always having to respond "no" to the prompt "Use anonymous authentication? (yes or no)" when running this command. I assumed that I was being prompted by yes-or-no-p, and a quick dive into the Jabber source confirmed this, so I adjusted my command: (defun my-connect-to-jabber () (interactive) (flet ((yes-or-no-p (x) nil)) (jabber-connect ... arguments ...)) Weirdly, this has no effect. I still get the prompt. Anyone have any ideas on why this might be?