From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jarek Czekalski Newsgroups: gmane.emacs.devel Subject: Re: using command-error-function in emacspeak Date: Tue, 05 Nov 2013 07:47:07 +0100 Message-ID: <5278946B.3000901@poczta.onet.pl> References: <5276AA83.9050905@poczta.onet.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383634038 28353 80.91.229.3 (5 Nov 2013 06:47:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 06:47:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 05 07:47:24 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 1VdaQ7-0003MW-Og for ged-emacs-devel@m.gmane.org; Tue, 05 Nov 2013 07:47:23 +0100 Original-Received: from localhost ([::1]:53552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdaQ7-00075s-D2 for ged-emacs-devel@m.gmane.org; Tue, 05 Nov 2013 01:47:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdaQ0-00075h-9H for emacs-devel@gnu.org; Tue, 05 Nov 2013 01:47:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdaPv-0001ND-Am for emacs-devel@gnu.org; Tue, 05 Nov 2013 01:47:16 -0500 Original-Received: from smtpo11.poczta.onet.pl ([213.180.142.142]:50405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdaPu-0001Md-Vv for emacs-devel@gnu.org; Tue, 05 Nov 2013 01:47:11 -0500 Original-Received: from [192.168.17.9] (cj.e-siemianowice.pl [95.215.234.30]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jarekczek@poczta.onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3dDLyh5NVdz9v6Dj for ; Tue, 5 Nov 2013 07:47:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poczta.onet.pl; s=2011; t=1383634028; bh=j6JmOr8NNCAiHR5mPpuy1kzdxxZR23hQMPkKoOTVAfc=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=n7ud0pRBzCv39bh8lHVWRLH5X89XvFWiFA+Oh+wFEsPGNaqEBCN6ucUTaNM6J5PkS Vil4/RcKPBvZoH5WGm1bf0FabZo8afo3ouA/TXhZIFo/Kam/cgKJn7LrBUQ/gfU5k4 Lt1tXSTHgtR3pPE00CTLqNnkVddoFVZml7ufc+Vw= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.180.142.142 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:164952 Archived-At: W dniu 2013-11-03 22:20, Stefan Monnier pisze: >> However I agree that add-function would be better if it did that job for us. > add-function is the to modify the behavior of a function. > It can't know what `nil' represents. This is what nil represents: (defun nil-fun () nil) Add-function may add such a function to a chain if it couldn't deal with nil values in another way. What am I missing? BTW: Please let me know if I should do something about the patch here: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00048.html. If I should first follow Xue's suggestion, sure I'll do it. Jarek