From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T.V. Raman" Newsgroups: gmane.emacs.devel Subject: Info: Console Vs GUI difference? Date: Sun, 3 Nov 2013 11:05:57 -0800 Message-ID: References: <83eh70as37.fsf@gnu.org> <837gcrc10q.fsf@gnu.org> <52769DD6.1040002@poczta.onet.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1383505558 25359 80.91.229.3 (3 Nov 2013 19:05:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Nov 2013 19:05:58 +0000 (UTC) To: Jarek Czekalski , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 03 20:06:03 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Vd2zr-0006yG-3J for ged-emacs-devel@m.gmane.org; Sun, 03 Nov 2013 20:06:03 +0100 Original-Received: from localhost ([::1]:46153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd2zq-0000dP-6W for ged-emacs-devel@m.gmane.org; Sun, 03 Nov 2013 14:06:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd2zm-0000dJ-Va for emacs-devel@gnu.org; Sun, 03 Nov 2013 14:05:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vd2zm-0004gv-1e for emacs-devel@gnu.org; Sun, 03 Nov 2013 14:05:58 -0500 Original-Received: from mail-ob0-x22c.google.com ([2607:f8b0:4003:c01::22c]:40259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd2zl-0004gp-R5 for emacs-devel@gnu.org; Sun, 03 Nov 2013 14:05:57 -0500 Original-Received: by mail-ob0-f172.google.com with SMTP id gq1so6361678obb.17 for ; Sun, 03 Nov 2013 11:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3oevSXnXRU9G6mgkc3HapsYKMo5DvUqxDX+LNScSu5w=; b=p2veTEwMXNgrHLm/8upr5vr9cf2b5QoPgun0qC/nSJJzpnmS/NuwM6JcKgV435eyff XpqmJOqlMzC7tK+04PsB+y9dk+rcbk1chM5Xvt7t/NpCgBGi7SDPPr2wKbBSKrBfF5du KF2846rEYHyoI52GZluRwwR6zInU4O4jhtPq1QHowJRZFNF661c6gYgEOoJBb5TmfHB7 w1hccKsI8vPtnjSrz7K0qAnD88rBL72k4z/JmWlV2rhGT4giEzIGtwppIE1z23WlGfxF ojWJCwFY7DTgJ79USYC2j119d7Udb3hCI6a7WE0wA7+3CuCZYr2gMzhQkJULMoDQO6yW f6xw== X-Received: by 10.60.142.8 with SMTP id rs8mr2661519oeb.34.1383505557146; Sun, 03 Nov 2013 11:05:57 -0800 (PST) Original-Received: by 10.182.33.229 with HTTP; Sun, 3 Nov 2013 11:05:57 -0800 (PST) In-Reply-To: <52769DD6.1040002@poczta.onet.pl> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164905 Archived-At: It doesn't work with the recommended means of using add-function -- so perhaps there is a bug in nadvice -- Best Regards, --raman On 11/3/13, Jarek Czekalski wrote: > W dniu 11/03/2013 04:51 PM, T.V. Raman pisze: >> Here is what I have for the handler: >> (defun emacspeak-error-handler (data context calling-function) >> "Emacspeak custom error handling function." >> (tts-with-punctuations >> 'all >> (dtk-speak >> (format "%s %s" >> (error-message-string data) >> (or context " "))))) >> > > I installed this very handler with command: > > (setq command-error-function 'emacspeak-error-handler) > > It seems to work perfectly. Speaks "end-of-buffer", "arithmetic error", > "buffer is read only". Echo area is all the time empty. Before > installing the handler errors are accompanied with bell. Later there is > no bell. Tested with Emacspeak r8509, the newest at the moment of > writing this post. > > Jarek > >