[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] flet / my-filt problem
From: |
Andreas Leha |
Subject: |
Re: [O] flet / my-filt problem |
Date: |
Tue, 31 Jul 2012 09:52:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Eric Schulte <address@hidden> writes:
> Andreas Leha <address@hidden> writes:
>
>> Eric Schulte <address@hidden> writes:
>>
>>> Andreas Leha <address@hidden> 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