Re: [Python-mode] Don't bind C-c C-h

2012-01-26 Thread Andreas Röhler
Am 27.01.2012 05:03, schrieb François Pinard: Deniz Dogan writes: Unfortunately, that breaks yet another convention, which is that C-c are for users and should not be bound to anything in any external mode. Doing `C-h m' while visiting a Python file, I currently see two culprits: C-c c

Re: [Python-mode] python-mode.el 6.0 released

2012-01-26 Thread Andreas Röhler
Am 27.01.2012 05:44, schrieb François Pinard: Andreas Röhler writes: (add-to-list 'load-path "d:/somewhere") (autoload 'python-mode "python-mode" "Python Mode." t) make sure python-mode.el is earlier in path than python.el Does add-to-list do that? Good question. M-x describe-variable

Re: [Python-mode] pymacs-start-services fails

2012-01-26 Thread Andreas Röhler
Am 27.01.2012 05:08, schrieb François Pinard: Andreas Roehler writes: Pymacs-0.24-beta1 pymacs-eval resp. `pymacs-start-services' fails In *Pymacs*-buffer it says: "No module named Pymacs.pymacs" Any ideas? I do not know what was the situation at the time, but as I saw pymacs.py within py

Re: [Python-mode] python setup ?

2012-01-26 Thread Andreas Röhler
Am 27.01.2012 04:12, schrieb François Pinard: Andreas Röhler writes: [...] we should let the user decide, what features to use: ipython or not, pdbtrack or pydb, which completion, refactoring, which checks and tests etc. As a general principle, users should have full control. However, if a

Re: [Python-mode] Pymacs runs from python-mode

2012-01-26 Thread Andreas Röhler
Am 27.01.2012 03:27, schrieb François Pinard: Andreas Röhler writes: started a Blueprint delivering the reasons for the kind of proceeding tried currently https://blueprints.launchpad.net/python-mode/+spec/pymacs Think such a Blueprint might be a good place for listing pros and cons. Usi

Re: [Python-mode] Don't bind C-c C-h

2012-01-26 Thread François Pinard
Barry Warsaw writes: > On Jan 26, 2012, at 11:03 PM, François Pinard wrote: >>C-x n d py-narrow-to-defun > Is this one a problem? Shouldn't narrow-to-defun be mode-sensitive? (Also, > it doesn't sit on C-c .) Sorry, I misread! Strike this line out in my message! François __

Re: [Python-mode] python-mode.el 6.0 released

2012-01-26 Thread François Pinard
Andreas Röhler writes: (add-to-list 'load-path "d:/somewhere") (autoload 'python-mode "python-mode" "Python Mode." t) >>> make sure python-mode.el is earlier in path than python.el >> Does add-to-list do that? > Good question. M-x describe-variable RET load-path should tell you. Whi

Re: [Python-mode] highlight-indentation

2012-01-26 Thread François Pinard
Andreas Röhler writes: > just seeing highlight-indentation by Anton Johansson [...] It > delivers graphical bars indicating the indent-level, makes em more > impressive. Might be useful in certain circumstances. I wonder if someone (not me!) could devise some overly trickery by which the vertic

Re: [Python-mode] [Fwd: Python auto-completion without pymacs]

2012-01-26 Thread François Pinard
Andreas Röhler writes: > From: Andrea Crotti > Date: 2010-04-13 07:45 > Given that I had some bad experiences with pymacs I would like to avoid > it entirely [...] I'm a bit curious about what those bad experiences have been. It's not that I want you to use Pymacs, I'm not using it much mysel

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2012-01-26 Thread Barry Warsaw
On Jan 26, 2012, at 10:12 PM, Jeff Bauer wrote: >Hah! So funny for you to bring up *that* specific post from >Barry. It's been sitting in my inbox as msg #1 for the past >couple years. Even though I copied it to my org notes, I've >always had it there. So when your email arrived, my reader >th

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2012-01-26 Thread Barry Warsaw
On Jan 26, 2012, at 10:44 PM, François Pinard wrote: >Sigh! If only I could have developed something so attractive that Barry >did such an offer to *me*. I spoiled my life! :-) There's still time. :) -Barry ___ Python-mode mailing list Python-mode@p

Re: [Python-mode] Don't bind C-c C-h

2012-01-26 Thread Barry Warsaw
On Jan 26, 2012, at 11:03 PM, François Pinard wrote: >C-x n d py-narrow-to-defun Is this one a problem? Shouldn't narrow-to-defun be mode-sensitive? (Also, it doesn't sit on C-c .) -Barry ___ Python-mode mailing list Python-mode@python.org ht

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2012-01-26 Thread Jeff Bauer
François, Hah! So funny for you to bring up *that* specific post from Barry. It's been sitting in my inbox as msg #1 for the past couple years. Even though I copied it to my org notes, I've always had it there. So when your email arrived, my reader threaded it back to Barry's 2-year-old post.

Re: [Python-mode] pymacs-start-services fails

2012-01-26 Thread François Pinard
Andreas Roehler writes: > Pymacs-0.24-beta1 > pymacs-eval resp. `pymacs-start-services' fails > In *Pymacs*-buffer it says: > "No module named Pymacs.pymacs" > Any ideas? I do not know what was the situation at the time, but as I saw pymacs.py within python-mode as a file while usage was meant

Re: [Python-mode] Don't bind C-c C-h

2012-01-26 Thread François Pinard
Deniz Dogan writes: > Unfortunately, that breaks yet another convention, which is that C-c > are for users and should not be bound to anything in any > external mode. Doing `C-h m' while visiting a Python file, I currently see two culprits: C-c c py-compute-indentation C-x n d

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2012-01-26 Thread François Pinard
Barry Warsaw writes: >>How do I invoke pdbtrack from python-mode? > It's really easy. You still insert 'import pdb; pdb.set_trace()' at the spot > in your code where you want to break. Then run your code from a shell buffer. > When you hit the break point, you'll drop into pdb. pdb-track will

Re: [Python-mode] python setup ?

2012-01-26 Thread François Pinard
Andreas Röhler writes: > [...] we should let the user decide, what features to use: ipython or > not, pdbtrack or pydb, which completion, refactoring, which checks and > tests etc. As a general principle, users should have full control. However, if a user did not explicitly activate or inhibit

Re: [Python-mode] Pymacs runs from python-mode

2012-01-26 Thread François Pinard
Andreas Röhler writes: > started a Blueprint delivering the reasons for the kind of proceeding > tried currently > https://blueprints.launchpad.net/python-mode/+spec/pymacs > Think such a Blueprint might be a good place for listing pros and cons. > Using Make has it's merits too, bien sure. He

[Python-mode] py-execute-region - was: [Merge] lp:~yagnesh/python-mode/py-shell into lp:python-mode

2012-01-26 Thread Andreas Röhler
Am 26.01.2012 09:43, schrieb yagnesh: On 01/26/2012 04:45 PM, Andreas Roehler wrote: Hi, as `py-shell-name' will exist with some probability, don't see how `py-choose-shell-by-shebang' get's a chance that way. Do you experienced a related bug prior to this change? Would prefer to pro