emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#19695: closed (24.4; python.el: [RFE] add customiz


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19695: closed (24.4; python.el: [RFE] add customization option for send-main )
Date: Fri, 30 Jan 2015 04:24:02 +0000

Your message dated Fri, 30 Jan 2015 01:23:30 -0300
with message-id <address@hidden>
and subject line 24.4; python.el: [RFE] add customization option for send-main 
has caused the debbugs.gnu.org bug report #19695,
regarding 24.4; python.el: [RFE] add customization option for send-main 
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
19695: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19695
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.4; python.el: [RFE] add customization option for send-main Date: Mon, 26 Jan 2015 14:18:38 -0300
The send buffer behavior doesn't quite follows the principle of least
surprise as currently implemented: one would expect that the
if-name-main part will be executed the same everything else is. While I
agree this is a matter of taste, I think it would be nice to add a
global customization option for people that prefer the standard "execute
all" behavior as a default.

Cheers
--
Carlos



--- End Message ---
--- Begin Message --- Subject: 24.4; python.el: [RFE] add customization option for send-main Date: Fri, 30 Jan 2015 01:23:30 -0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Hi Carlos,

I agree that the least surprising thing to do would be to send the
"if-name-main" block, but in the other hand this block generally
contains the execution code for the module and when working on it you
generally don't want to send that to the shell (one of the reasons may
be safety).  So I think the current way of enabling this by just adding
a prefix argument to `python-shell-send*` commands is better than adding
yet another customization.



Cheers,
Fabián


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]