[Top][All Lists]

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

Unable to avoid prompting when starting jabber

From: Sean McAfee
Subject: Unable to avoid prompting when starting jabber
Date: Thu, 25 Jul 2013 11:19:58 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

I had the following routine set up to connect to the local Jabber server:

(defun my-connect-to-jabber ()
  (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 ()
  (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?

reply via email to

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