From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: flet / my-filt problem Date: Tue, 31 Jul 2012 09:52:02 +0200 Message-ID: <87boiw8j19.fsf@med.uni-goettingen.de> References: <87k3xk9ahb.fsf@med.uni-goettingen.de> <87vch4j3cj.fsf@gmx.com> <87fw8898h0.fsf@med.uni-goettingen.de> <87hasoj076.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw7Gj-0005ZI-Ok for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 03:53:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sw7Gi-0008DK-Jc for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 03:53:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:51090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sw7Gi-0008D4-Cu for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 03:53:28 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sw7Gh-00078Q-DB for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 09:53:27 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Jul 2012 09:53:27 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Jul 2012 09:53:27 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric Schulte writes: > Andreas Leha writes: > >> Eric Schulte writes: >> >>> Andreas Leha writes: >>> >>>> Hi all, >>>> >>>> with the current HEAD (commit 0202adb1c02908a75a7845438381e40d811fd99a) >>>> from master I get an error during the export of >>>> one of my files complaining about an undefined my-filt function. >>>> >>>> Replacing org-flet with flet in ob-comint.el (line 78) introduces a >>>> compiler warning, but solves the problem. >>>> >>>> I am on emacs 24.1.50.1. >>>> >>> >>> Hi Andreas, >>> >>> Does replacing `org-flet' in line 78 of ob-comint.el with `org-labels' >>> solve this problem? >>> >>> Thanks, >> >> Hi Eric, >> >> thanks for the quick response. But org-labels does not solve the >> problems for me. >> >> Backtrace is attached. Don't know if this is interesting... >> > > Ugh, I wish Emacs wouldn't replace an existing function with a new > function which not only has a different name, but also has different > functionality. > > Does the attached patch resolve this bad behavior? > No, it does not, unfortunately. Same thing: ,---- | (void-function my-filt) | my-filt("") | run-hook-with-args(my-filt "") | comint-send-input() | inferior-ess-send-input() | .... `---- Regards, Andreas