Re: [Python-mode] edit or navigate code by feature

2011-06-30 Thread Andreas Röhler
When I said something like "get method", I'm using a shorthand that I think you would call "get method name". that's starting with `which' - which-function-mode works with current trunk. BTW have made the imenu index working. Maybe try it and tell if that's of some use or not in your case.

Re: [Python-mode] edit or navigate code by feature

2011-06-27 Thread Eric S. Johansson
On 6/27/2011 3:07 AM, Andreas Röhler wrote: Am 26.06.2011 21:44, schrieb Andreas Röhler: [ ... ] notation: Spoken -- Emacs -- results given a line like: self.calories = self.calories + food_record["calories"]*grams ^ ^ = cursor position "get method" -- (result-to-knp(ar-method-copy-apt)) --

Re: [Python-mode] edit or navigate code by feature

2011-06-27 Thread Andreas Röhler
Am 26.06.2011 21:44, schrieb Andreas Röhler: [ ... ] notation: Spoken -- Emacs -- results given a line like: self.calories = self.calories + food_record["calories"]*grams ^ ^ = cursor position "get method" -- (result-to-knp(ar-method-copy-apt)) -- returns copy of method name and places it in

Re: [Python-mode] edit or navigate code by feature

2011-06-26 Thread Eric S. Johansson
On 6/26/2011 4:09 AM, Andreas Röhler wrote: Hi Eric, overall but I think we're pretty close agreement although sometimes I feel like conversations about speech recognition goes something like this: http://www.youtube.com/watch?v=6e1hZGDaqIw what about implementing a simplified navigation

[Python-mode] edit or navigate code by feature

2011-06-26 Thread Andreas Röhler
Hi Eric, what about implementing a simplified navigation mode like such: just call an object: for example "method", "string", "list" etc. Emacs will look if inside such a thing. If yes, it marks it as region. If not, go forward to the next in buffer. Should take the common numeric arguments mo