unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* python mode problem
@ 2013-04-10 21:47 Neal Becker
  0 siblings, 0 replies; 9+ messages in thread
From: Neal Becker @ 2013-04-10 21:47 UTC (permalink / raw)
  To: help-gnu-emacs

I'm a long term fan of python-mode, but having just updated to emacs 24.3, I 
thought I'd give python.el another try.

I'm bothered that \c-c \c-c doesn't work for my file that includes:

if __name__ == '__main__':

which I don't understand, because if I go to the python process buffer, and type 
__name__, sure enough it says '__main__'.

Is there a solution to this?




^ permalink raw reply	[flat|nested] 9+ messages in thread

* python mode problem
@ 2016-01-31  3:17 Rusi
  2016-01-31  4:35 ` Rusi
  0 siblings, 1 reply; 9+ messages in thread
From: Rusi @ 2016-01-31  3:17 UTC (permalink / raw)
  To: help-gnu-emacs

emacs  hanged while doing something in python
Had to kill with killall emacs

Thereafter emacs is misbehaving with python mode

With plain run-python

Python 2.7.10 (default, Oct 14 2015, 16:09:02) 
[GCC 5.2.1 20151010] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> python.el: native completion setup loaded
>>> 

With C-u run-python and using python3

Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally. 

Too many interlocking bugs to make a clear bug-report
For now: Where is python mode (or other related) cache?
Because if emacs started with -Q there is no problem

emacs 25 on linux


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: python mode problem
  2016-01-31  3:17 python mode problem Rusi
@ 2016-01-31  4:35 ` Rusi
  2016-01-31  6:02   ` Rusi
  0 siblings, 1 reply; 9+ messages in thread
From: Rusi @ 2016-01-31  4:35 UTC (permalink / raw)
  To: help-gnu-emacs

On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote:
> emacs  hanged while doing something in python
> Had to kill with killall emacs
> 
> Thereafter emacs is misbehaving with python mode
> 
> With plain run-python
> 
> Python 2.7.10 (default, Oct 14 2015, 16:09:02) 
> [GCC 5.2.1 20151010] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> python.el: native completion setup loaded
> >>> 
> 
> With C-u run-python and using python3
> 
> Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally. 
> 
> Too many interlocking bugs to make a clear bug-report
> For now: Where is python mode (or other related) cache?
> Because if emacs started with -Q there is no problem
> 
> emacs 25 on linux

Seems to be some emacs 25 issue


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: python mode problem
  2016-01-31  4:35 ` Rusi
@ 2016-01-31  6:02   ` Rusi
  2016-01-31  9:04     ` Andreas Röhler
       [not found]     ` <mailman.3228.1454231070.843.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Rusi @ 2016-01-31  6:02 UTC (permalink / raw)
  To: help-gnu-emacs

On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote:
> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote:
> > emacs  hanged while doing something in python
> > Had to kill with killall emacs
> > 
> > Thereafter emacs is misbehaving with python mode
> > 
> > With plain run-python
> > 
> > Python 2.7.10 (default, Oct 14 2015, 16:09:02) 
> > [GCC 5.2.1 20151010] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> python.el: native completion setup loaded
> > >>> 
> > 
> > With C-u run-python and using python3
> > 
> > Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally. 
> > 
> > Too many interlocking bugs to make a clear bug-report
> > For now: Where is python mode (or other related) cache?
> > Because if emacs started with -Q there is no problem
> > 
> > emacs 25 on linux
> 
> Seems to be some emacs 25 issue

Zillions of
Error reading dir-locals: (void-function map-merge-with)
compiling emacs 25

So for now back to emacs 24


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: python mode problem
  2016-01-31  6:02   ` Rusi
@ 2016-01-31  9:04     ` Andreas Röhler
       [not found]     ` <mailman.3228.1454231070.843.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Andreas Röhler @ 2016-01-31  9:04 UTC (permalink / raw)
  To: help-gnu-emacs



On 31.01.2016 07:02, Rusi wrote:
> On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote:
>> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote:
>>> emacs  hanged while doing something in python
>>> Had to kill with killall emacs
>>>
>>> Thereafter emacs is misbehaving with python mode
>>>
>>> With plain run-python
>>>
>>> Python 2.7.10 (default, Oct 14 2015, 16:09:02)
>>> [GCC 5.2.1 20151010] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>> python.el: native completion setup loaded
>>>>>>
>>> With C-u run-python and using python3
>>>
>>> Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
>>>
>>> Too many interlocking bugs to make a clear bug-report
>>> For now: Where is python mode (or other related) cache?
>>> Because if emacs started with -Q there is no problem
>>>
>>> emacs 25 on linux
>> Seems to be some emacs 25 issue
> Zillions of
> Error reading dir-locals: (void-function map-merge-with)
> compiling emacs 25
>
> So for now back to emacs 24

For all who need v25 for other reasons: There is still python-mode.el 
available from Melpa



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: python mode problem
       [not found]     ` <mailman.3228.1454231070.843.help-gnu-emacs@gnu.org>
@ 2016-02-01  5:46       ` Rusi
  2016-02-01  9:33         ` Andreas Röhler
                           ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Rusi @ 2016-02-01  5:46 UTC (permalink / raw)
  To: help-gnu-emacs

On Sunday, January 31, 2016 at 2:34:33 PM UTC+5:30, Andreas Röhler wrote:
> On 31.01.2016 07:02, Rusi wrote:
> > On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote:
> >> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote:
> >>> emacs  hanged while doing something in python
> >>> Had to kill with killall emacs
> >>>
> >>> Thereafter emacs is misbehaving with python mode
> >>>
> >>> With plain run-python
> >>>
> >>> Python 2.7.10 (default, Oct 14 2015, 16:09:02)
> >>> [GCC 5.2.1 20151010] on linux2
> >>> Type "help", "copyright", "credits" or "license" for more information.
> >>>>>> python.el: native completion setup loaded
> >>>>>>
> >>> With C-u run-python and using python3
> >>>
> >>> Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
> >>>
> >>> Too many interlocking bugs to make a clear bug-report
> >>> For now: Where is python mode (or other related) cache?
> >>> Because if emacs started with -Q there is no problem
> >>>
> >>> emacs 25 on linux
> >> Seems to be some emacs 25 issue
> > Zillions of
> > Error reading dir-locals: (void-function map-merge-with)
> > compiling emacs 25
> >
> > So for now back to emacs 24
> 
> For all who need v25 for other reasons: There is still python-mode.el 
> available from Melpa

Hi Andreas

For many years Ive been a python-mode user.  You will even find recommendations
from me for this here and on the python list.
Of late however its been a source of increasing glitches.
Dont remember all... The last one was when a number of students were using the 
same VM and found that only one could use python-mode -- some public
temporary non-uniquified file in /tmp or some such issue.

At this point I thought it time jump ship.

Maybe I need to re-think this jump???...


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: python mode problem
  2016-02-01  5:46       ` Rusi
@ 2016-02-01  9:33         ` Andreas Röhler
  2016-02-03 10:03         ` Andreas Röhler
       [not found]         ` <mailman.3493.1454493799.843.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 9+ messages in thread
From: Andreas Röhler @ 2016-02-01  9:33 UTC (permalink / raw)
  To: help-gnu-emacs



On 01.02.2016 06:46, Rusi wrote:
> On Sunday, January 31, 2016 at 2:34:33 PM UTC+5:30, Andreas Röhler wrote:
>> On 31.01.2016 07:02, Rusi wrote:
>>> On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote:
>>>> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote:
>>>>> emacs  hanged while doing something in python
>>>>> Had to kill with killall emacs
>>>>>
>>>>> Thereafter emacs is misbehaving with python mode
>>>>>
>>>>> With plain run-python
>>>>>
>>>>> Python 2.7.10 (default, Oct 14 2015, 16:09:02)
>>>>> [GCC 5.2.1 20151010] on linux2
>>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>>>> python.el: native completion setup loaded
>>>>>>>>
>>>>> With C-u run-python and using python3
>>>>>
>>>>> Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
>>>>>
>>>>> Too many interlocking bugs to make a clear bug-report
>>>>> For now: Where is python mode (or other related) cache?
>>>>> Because if emacs started with -Q there is no problem
>>>>>
>>>>> emacs 25 on linux
>>>> Seems to be some emacs 25 issue
>>> Zillions of
>>> Error reading dir-locals: (void-function map-merge-with)
>>> compiling emacs 25
>>>
>>> So for now back to emacs 24
>> For all who need v25 for other reasons: There is still python-mode.el
>> available from Melpa
> Hi Andreas
>
> For many years Ive been a python-mode user.  You will even find recommendations
> from me for this here and on the python list.
> Of late however its been a source of increasing glitches.
> Dont remember all... The last one was when a number of students were using the
> same VM and found that only one could use python-mode

Hmm, that's a bad thing indeed. Assume it's related to the locking done 
by Emacs. Seems we need a instance-related naming there, so every Emacs 
get its files.

Any ideas, how to write this, are welcome. Will open a ticket at 
https://bugs.launchpad.net/python-mode.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: python mode problem
  2016-02-01  5:46       ` Rusi
  2016-02-01  9:33         ` Andreas Röhler
@ 2016-02-03 10:03         ` Andreas Röhler
       [not found]         ` <mailman.3493.1454493799.843.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 9+ messages in thread
From: Andreas Röhler @ 2016-02-03 10:03 UTC (permalink / raw)
  To: help-gnu-emacs



On 01.02.2016 06:46, Rusi wrote:
> On Sunday, January 31, 2016 at 2:34:33 PM UTC+5:30, Andreas Röhler wrote:
>> On 31.01.2016 07:02, Rusi wrote:
>>> On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote:
>>>> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote:
>>>>> emacs  hanged while doing something in python
>>>>> Had to kill with killall emacs
>>>>>
>>>>> Thereafter emacs is misbehaving with python mode
>>>>>
>>>>> With plain run-python
>>>>>
>>>>> Python 2.7.10 (default, Oct 14 2015, 16:09:02)
>>>>> [GCC 5.2.1 20151010] on linux2
>>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>>>> python.el: native completion setup loaded
>>>>>>>>
>>>>> With C-u run-python and using python3
>>>>>
>>>>> Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
>>>>>
>>>>> Too many interlocking bugs to make a clear bug-report
>>>>> For now: Where is python mode (or other related) cache?
>>>>> Because if emacs started with -Q there is no problem
>>>>>
>>>>> emacs 25 on linux
>>>> Seems to be some emacs 25 issue
>>> Zillions of
>>> Error reading dir-locals: (void-function map-merge-with)
>>> compiling emacs 25
>>>
>>> So for now back to emacs 24
>> For all who need v25 for other reasons: There is still python-mode.el
>> available from Melpa
> Hi Andreas
>
> For many years Ive been a python-mode user.  You will even find recommendations
> from me for this here and on the python list.
> Of late however its been a source of increasing glitches.
> Dont remember all... The last one was when a number of students were using the
> same VM and found that only one could use python-mode -- some public
> temporary non-uniquified file in /tmp or some such issue.
>
> At this point I thought it time jump ship.
>
> Maybe I need to re-think this jump???...

Hi,

should you be able to test the current python-mode.el WRT this bug in 
VM, that would be helpful.
 From here it should work meanwhile.

Thanks,

Andreas



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: python mode problem
       [not found]         ` <mailman.3493.1454493799.843.help-gnu-emacs@gnu.org>
@ 2016-02-04 16:00           ` Rusi
  0 siblings, 0 replies; 9+ messages in thread
From: Rusi @ 2016-02-04 16:00 UTC (permalink / raw)
  To: help-gnu-emacs

On Wednesday, February 3, 2016 at 3:33:21 PM UTC+5:30, Andreas Röhler wrote:
> On 01.02.2016 06:46, Rusi wrote:
> > On Sunday, January 31, 2016 at 2:34:33 PM UTC+5:30, Andreas Röhler wrote:
> >> On 31.01.2016 07:02, Rusi wrote:
> >>> On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote:
> >>>> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote:
> >>>>> emacs  hanged while doing something in python
> >>>>> Had to kill with killall emacs
> >>>>>
> >>>>> Thereafter emacs is misbehaving with python mode
> >>>>>
> >>>>> With plain run-python
> >>>>>
> >>>>> Python 2.7.10 (default, Oct 14 2015, 16:09:02)
> >>>>> [GCC 5.2.1 20151010] on linux2
> >>>>> Type "help", "copyright", "credits" or "license" for more information.
> >>>>>>>> python.el: native completion setup loaded
> >>>>>>>>
> >>>>> With C-u run-python and using python3
> >>>>>
> >>>>> Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list.  Native completions have been disabled locally.
> >>>>>
> >>>>> Too many interlocking bugs to make a clear bug-report
> >>>>> For now: Where is python mode (or other related) cache?
> >>>>> Because if emacs started with -Q there is no problem
> >>>>>
> >>>>> emacs 25 on linux
> >>>> Seems to be some emacs 25 issue
> >>> Zillions of
> >>> Error reading dir-locals: (void-function map-merge-with)
> >>> compiling emacs 25
> >>>
> >>> So for now back to emacs 24
> >> For all who need v25 for other reasons: There is still python-mode.el
> >> available from Melpa
> > Hi Andreas
> >
> > For many years Ive been a python-mode user.  You will even find recommendations
> > from me for this here and on the python list.
> > Of late however its been a source of increasing glitches.
> > Dont remember all... The last one was when a number of students were using the
> > same VM and found that only one could use python-mode -- some public
> > temporary non-uniquified file in /tmp or some such issue.
> >
> > At this point I thought it time jump ship.
> >
> > Maybe I need to re-think this jump???...
> 
> Hi,
> 
> should you be able to test the current python-mode.el WRT this bug in 
> VM, that would be helpful.
>  From here it should work meanwhile.
> 
> Thanks,
> 
> Andreas

Sorry Andreas...
Dont have access to those VMs right now

OTOH Multiple users logged in from multiple terminals should be a close equivalent


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-04 16:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-31  3:17 python mode problem Rusi
2016-01-31  4:35 ` Rusi
2016-01-31  6:02   ` Rusi
2016-01-31  9:04     ` Andreas Röhler
     [not found]     ` <mailman.3228.1454231070.843.help-gnu-emacs@gnu.org>
2016-02-01  5:46       ` Rusi
2016-02-01  9:33         ` Andreas Röhler
2016-02-03 10:03         ` Andreas Röhler
     [not found]         ` <mailman.3493.1454493799.843.help-gnu-emacs@gnu.org>
2016-02-04 16:00           ` Rusi
  -- strict thread matches above, loose matches on Subject: below --
2013-04-10 21:47 Neal Becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).