Re: [Python-mode] [PDEE] CEDET integration with python-mode.el?

2010-03-19 Thread Yaroslav Halchenko
On Tue, 16 Mar 2010, Tom Roche wrote: > It Seems To Me (quite possibly naively) that the best/easiest way to > get smarter completion particularly, and several more services > besides, is to use CEDET or may be (citing my post earlier in this list): Ipython + python-mode + python-ropemacs + pyli

Re: [Python-mode] plan for emacs python tooling (esp python.el, python-mode.el)?

2010-03-19 Thread Barry Warsaw
On Mar 16, 2010, at 07:37 AM, Eric M. Ludlam wrote: >Exuberent ctags supports python (though I don't know by how much), and >adding support in the CEDET/Semantic exuberant ctags support wouldn't be >too hard. Likely something like the patch attached. exuberent-tags is a separate package on Ubu

Re: [Python-mode] simple comment/string-tweak branch

2010-03-19 Thread Barry Warsaw
On Mar 18, 2010, at 04:19 PM, Deniz Dogan wrote: >While we are already updating documentation, could someone change the >instructions to use `add-to-list' instead of using `setq' in >combination with `cons'? I'm not sure when `add-to-list' was added to >Emacs/XEmacs, but I'm pretty sure it's "anci

Re: [Python-mode] simple comment/string-tweak branch

2010-03-19 Thread Barry Warsaw
On Mar 16, 2010, at 04:22 PM, Tom Roche wrote: >Perhaps this will be useful. As I know little about your procedures, had >never used bzr at all until yesterday, and had never done a bzr commit >until 10 min ago, please let me know if anything needs done better/ >correctly. I think you did it just

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

2010-03-19 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 19.03.2010 15:58, schrieb Reinout van Rees: > On 03/19/2010 03:34 PM, Barry Warsaw wrote: >> On Mar 19, 2010, at 11:07 AM, Reinout van Rees wrote: >> >>> ctrl-h *is* sadly the logical key for some help-related function. Would >>> "ctrl-c h" be an a

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

2010-03-19 Thread skip
>> The C-h binding is very important for discoverability, and I think it >> is a very, very bad idea to bind it to anything. Barry> If we /do/ change it, may I suggest C-c C-e? 'e' being a Barry> mnemonic for 'explain', and C-c C-e is currently unused in Barry> python-mode.

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

2010-03-19 Thread Barry Warsaw
On Mar 19, 2010, at 05:12 PM, Reinout van Rees wrote: >On 03/19/2010 04:21 PM, Barry Warsaw wrote: >> >> Any objections to C-c C-e? > >None at all. That e-for-explain you mentioned sounds fine. Cool. Bug updated. -B signature.asc Description: PGP signature

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

2010-03-19 Thread Reinout van Rees
On 03/19/2010 04:21 PM, Barry Warsaw wrote: Any objections to C-c C-e? None at all. That e-for-explain you mentioned sounds fine. Reinout -- Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org Programmer at http://www.nelen-schuurmans.nl "Military engineers build missiles.

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

2010-03-19 Thread Barry Warsaw
On Mar 19, 2010, at 03:58 PM, Reinout van Rees wrote: >Hm. It is apparently not as clear-cut as I always took it to be. Emacs' >info (for instance >http://www.chemie.fu-berlin.de/chemnet/use/info/emacs/emacs_11.html ): > > C-h or F1 means "help" in various other contexts as well. For > exam

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

2010-03-19 Thread Reinout van Rees
On 03/19/2010 03:34 PM, Barry Warsaw wrote: On Mar 19, 2010, at 11:07 AM, Reinout van Rees wrote: ctrl-h *is* sadly the logical key for some help-related function. Would "ctrl-c h" be an alternative? Hi Reinout. Is that defined in an Emacs Lisp standard somewhere? I'm having a hard time fi

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

2010-03-19 Thread Barry Warsaw
On Mar 19, 2010, at 10:13 AM, Rohan Nicholls wrote: >The C-h binding is very important for discoverability, and I think it >is a very, very bad idea to bind it to anything. If we /do/ change it, may I suggest C-c C-e? 'e' being a mnemonic for 'explain', and C-c C-e is currently unused in python-

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

2010-03-19 Thread Barry Warsaw
On Mar 19, 2010, at 11:07 AM, Reinout van Rees wrote: >> Line 692: >>(define-key py-mode-map "\C-c\C-h" 'py-help-at-point) > >Ouch. Yes, that's evil. It breaks a major emacs convention. > >ctrl-h *is* sadly the logical key for some help-related function. Would >"ctrl-c h" be an alternativ

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

2010-03-19 Thread Barry Warsaw
On Mar 19, 2010, at 09:54 AM, Reinout van Rees wrote: >ctrl-c ctrl-h: show everything I can do after ctrl-c here. C-c C-h is not bound to anything in c-mode or conf-mode AFAICT. So, if it's not a standard Emacs key binding, does that mean it's explicitly reserved for users by Emacs? -Barry s

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

2010-03-19 Thread skip
> "Deniz" == Deniz Dogan writes: Deniz> Maybe C-c C-? would work, but I'm not sure how that is recognized Deniz> by terminals. Not at all on my Sun (Intel) box running Solaris 10 with a Dell keyboard. It maps to C-c ?... S ___ Python-mode

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

2010-03-19 Thread Deniz Dogan
2010/3/19 Reinout van Rees : > On 03/19/2010 10:57 AM, Deniz Dogan wrote: >> >> 2010/3/19 Reinout van Rees: >>> >>> (What I don't know is where in python mode he found a ctrl-h binding, >>> btw). >>> >> >> In python-mode.el with py-version "5.1.0+" whatever that means: >> >> Line 692: >>   (define-

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

2010-03-19 Thread Andreas Roehler
s...@pobox.com wrote: > Deniz> In python-mode.el with py-version "5.1.0+" whatever that means: > > Deniz> Line 692: > Deniz> (define-key py-mode-map "\C-c\C-h" 'py-help-at-point) > > Yeah, that was probably my doing a long time ago. > > Skip > _

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

2010-03-19 Thread skip
Deniz> In python-mode.el with py-version "5.1.0+" whatever that means: Deniz> Line 692: Deniz> (define-key py-mode-map "\C-c\C-h" 'py-help-at-point) Yeah, that was probably my doing a long time ago. Skip ___ Python-mode mailing list Pyt

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

2010-03-19 Thread Reinout van Rees
On 03/19/2010 10:57 AM, Deniz Dogan wrote: 2010/3/19 Reinout van Rees: (What I don't know is where in python mode he found a ctrl-h binding, btw). In python-mode.el with py-version "5.1.0+" whatever that means: Line 692: (define-key py-mode-map "\C-c\C-h" 'py-help-at-point) Ouch. Yes

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

2010-03-19 Thread Deniz Dogan
2010/3/19 Reinout van Rees : > On 03/19/2010 07:27 AM, Andreas Roehler wrote: >> >> Deniz Dogan wrote: >>> >>> 2010/3/18 Andreas Roehler: Deniz Dogan wrote: > > Please, don't bind C-c C-h to anything. This prevents people from > viewing all the bindings that start with C-c, wh

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

2010-03-19 Thread Reinout van Rees
On 03/19/2010 07:27 AM, Andreas Roehler wrote: Deniz Dogan wrote: 2010/3/18 Andreas Roehler: Deniz Dogan wrote: Please, don't bind C-c C-h to anything. This prevents people from viewing all the bindings that start with C-c, which C-c C-h would normally display. Hi Deniz, it may help, if you

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

2010-03-19 Thread Rohan Nicholls
I am going to weigh in here. Denis is absolutely correct. It is an official binding and convention in emacs, and I believe xemacs. C-h is sacred. It has a bunch of functionality behind it tied in with prefix keys. This means that in creating a map, and binding it to a prefix key, when you hit: