From andrea.crotti.0 at gmail.com Wed Jan 7 11:46:10 2015 From: andrea.crotti.0 at gmail.com (andrea crotti) Date: Wed, 7 Jan 2015 10:46:10 +0000 Subject: [Python-mode] Python help buffer Message-ID: Hi guys, I have a problem with Emacs 25 that does not happen with Emacs 24.4. More specifically with: - GNU Emacs 25.0.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F34)) of 2014-11-15 on builder10-9.porkrind.org - Python mode: 6.1.3 So in short with Emacs 25 the *Python Help* buffer keeps coming up, whenever the cursor stays for more than a second on something. I digged a bit and it seems to come from the "py-help-at-point" function, can't understand why it does not happen with Emacs 24.4. I thought it was related to Eldoc but that's also disabled so it's not the case, and I can't find any variable to customize to disable that once for all.. I guess it's just something changed in Emacs 25 but can't find out what :/ Any idea? Doing a "(defun py-help-at-point nil)" works of course but it's not the desired solution since it's still useful sometimes. Thanks a lot From andreas.roehler at online.de Wed Jan 7 13:33:19 2015 From: andreas.roehler at online.de (=?windows-1252?Q?Andreas_R=F6hler?=) Date: Wed, 07 Jan 2015 13:33:19 +0100 Subject: [Python-mode] Python help buffer In-Reply-To: References: Message-ID: <54AD278F.4090203@online.de> Hi Andrea, On 07.01.2015 11:46, andrea crotti wrote: > Hi guys, > > I have a problem with Emacs 25 that does not happen with Emacs 24.4. > More specifically with: > - GNU Emacs 25.0.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 > Version 10.9.5 (Build 13F34)) of 2014-11-15 on > builder10-9.porkrind.org > - Python mode: 6.1.3 > > So in short with Emacs 25 the *Python Help* buffer keeps coming up, > whenever the cursor stays for more than a second on something. > > I digged a bit and it seems to come from the "py-help-at-point" > function, can't understand why it does not happen with Emacs 24.4. > > I thought it was related to Eldoc but that's also disabled so it's not > the case, and I can't find any variable to customize to disable that > once for all.. > I guess it's just something changed in Emacs 25 but can't find out what :/ > Any idea? > > Doing a "(defun py-help-at-point nil)" works of course but it's not the > desired solution since it's still useful sometimes. > > Thanks a lot From Emacs -Q, loading python-mode.el by hand, does it still happen? Andreas From andrea.crotti.0 at gmail.com Wed Jan 7 18:50:45 2015 From: andrea.crotti.0 at gmail.com (andrea crotti) Date: Wed, 7 Jan 2015 17:50:45 +0000 Subject: [Python-mode] Python help buffer In-Reply-To: <54AD278F.4090203@online.de> References: <54AD278F.4090203@online.de> Message-ID: 2015-01-07 12:33 GMT+00:00 Andreas R?hler : > Hi Andrea, > > From Emacs -Q, loading python-mode.el by hand, does it still happen? > > Andreas > I realised to my surprise that I was not actually using the version from ELPA but a version in my disk. Anyway I now downloaded from ELPA (marmalade) 6.13 started Emacs 25 with -Q and evaluated manually the python-mode.el buffer. It still happens, so I bet the problem is something with Emacs 25 that auto call something that didn't use to call before? From andreas.roehler at online.de Wed Jan 7 20:40:00 2015 From: andreas.roehler at online.de (=?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?=) Date: Wed, 07 Jan 2015 20:40:00 +0100 Subject: [Python-mode] Python help buffer In-Reply-To: References: <54AD278F.4090203@online.de> Message-ID: <54AD8B90.2060004@online.de> On 07.01.2015 18:50, andrea crotti wrote: > 2015-01-07 12:33 GMT+00:00 Andreas R?hler : >> Hi Andrea, >> >> From Emacs -Q, loading python-mode.el by hand, does it still happen? >> >> Andreas >> > > I realised to my surprise that I was not actually using the version > from ELPA but a version in my disk. > Anyway I now downloaded from ELPA (marmalade) 6.13 started Emacs 25 > with -Q and evaluated manually the python-mode.el buffer. > > It still happens, so I bet the problem is something with Emacs 25 that > auto call something that didn't use to call before? > It would really make sense to check with emacs -Q, load python-mode.el, open some .py file. From andrea.crotti.0 at gmail.com Wed Jan 7 20:48:53 2015 From: andrea.crotti.0 at gmail.com (andrea crotti) Date: Wed, 7 Jan 2015 19:48:53 +0000 Subject: [Python-mode] Python help buffer In-Reply-To: <54AD8B90.2060004@online.de> References: <54AD278F.4090203@online.de> <54AD8B90.2060004@online.de> Message-ID: 2015-01-07 19:40 GMT+00:00 Andreas R?hler : > On 07.01.2015 18:50, andrea crotti wrote: >> >> 2015-01-07 12:33 GMT+00:00 Andreas R?hler : >>> >>> Hi Andrea, >>> >>> From Emacs -Q, loading python-mode.el by hand, does it still happen? >>> >>> Andreas >>> >> >> I realised to my surprise that I was not actually using the version >> from ELPA but a version in my disk. >> Anyway I now downloaded from ELPA (marmalade) 6.13 started Emacs 25 >> with -Q and evaluated manually the python-mode.el buffer. >> >> It still happens, so I bet the problem is something with Emacs 25 that >> auto call something that didn't use to call before? >> > > It would really make sense to check with emacs -Q, load python-mode.el, open > some .py file. > Yes sorry maybe I was not clear, I've done exactly that and it still happens.. From andrea.crotti.0 at gmail.com Sat Jan 31 21:58:30 2015 From: andrea.crotti.0 at gmail.com (andrea crotti) Date: Sat, 31 Jan 2015 20:58:30 +0000 Subject: [Python-mode] python-components-switches? Message-ID: Hi guys, I just reinstalled everything from scratch and loading python-mode gives me this error below.. The file in fact does not exist anywhere so not sure how it was working before, any idea where it should be? thanks Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "python-components-switches") require(python-components-switches) eval-buffer(# nil "/home/andrea/.emacs.d/elpa/python-mode-20150117.955/python-mode.el" nil t) ; Reading at buffer position 90348 load-with-code-conversion("/home/andrea/.emacs.d/elpa/python-mode-20150117.955/python-mode.el" "/home/andrea/.emacs.d/elpa/python-mode-20150117.955/python-mode.el" nil nil) load("python-mode") load-library("python-mode") call-interactively(load-library record nil) command-execute(load-library record) execute-extended-command(nil "load-library") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) From andreas.roehler at online.de Sat Jan 31 22:23:23 2015 From: andreas.roehler at online.de (=?windows-1252?Q?Andreas_R=F6hler?=) Date: Sat, 31 Jan 2015 22:23:23 +0100 Subject: [Python-mode] python-components-switches? In-Reply-To: References: Message-ID: <54CD47CB.1010600@online.de> On 31.01.2015 21:58, andrea crotti wrote: > Hi guys, I just reinstalled everything from scratch and loading > python-mode gives me this error below.. > The file in fact does not exist anywhere so not sure how it was > working before, any idea where it should be? > thanks > > Debugger entered--Lisp error: (file-error "Cannot open load file" "no > such file or directory" "python-components-switches") > require(python-components-switches) > eval-buffer(# nil > "/home/andrea/.emacs.d/elpa/python-mode-20150117.955/python-mode.el" > nil t) ; Reading at buffer position 90348 > load-with-code-conversion("/home/andrea/.emacs.d/elpa/python-mode-20150117.955/python-mode.el" > "/home/andrea/.emacs.d/elpa/python-mode-20150117.955/python-mode.el" > nil nil) > load("python-mode") > load-library("python-mode") > call-interactively(load-library record nil) > command-execute(load-library record) > execute-extended-command(nil "load-library") > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) > _______________________________________________ > Python-mode mailing list > Python-mode at python.org > https://mail.python.org/mailman/listinfo/python-mode > this should be fixed with lp:1416633 Maybe you update from current trunk?