[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [bug #41345] Sending a signal that is hooked to a function
From: |
tomoe mami |
Subject: |
[Weechat-dev] [bug #41345] Sending a signal that is hooked to a function in other script calls other function with the same name in current script |
Date: |
Sat, 25 Jan 2014 10:36:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0 |
URL:
<http://savannah.nongnu.org/bugs/?41345>
Summary: Sending a signal that is hooked to a function in
other script calls other function with the same name in current script
Project: WeeChat
Submitted by: tomoe_mami
Submitted on: Sat 25 Jan 2014 10:36:44 AM GMT
Category: script API plugins
Severity: 3 - Normal
Item Group: other
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 0.4.3-dev
IRC nick: tomoe-mami
_______________________________________________________
Details:
When a script (two.lua) send a signal that is hooked to a function in other
script (one.lua), and inside that function I send another signal that is
hooked to other function in two.lua that has the same name as the function
inside one.lua, the one that is called by that second signal is the function
inside one.lua. Not the correct callback for that signal in two.lua.
See attachments for example scripts.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 25 Jan 2014 10:36:44 AM GMT Name: one.lua Size: 356B By:
tomoe_mami
<http://savannah.nongnu.org/bugs/download.php?file_id=30371>
-------------------------------------------------------
Date: Sat 25 Jan 2014 10:36:44 AM GMT Name: two.lua Size: 353B By:
tomoe_mami
<http://savannah.nongnu.org/bugs/download.php?file_id=30372>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41345>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Weechat-dev] [bug #41345] Sending a signal that is hooked to a function in other script calls other function with the same name in current script,
tomoe mami <=