[Python-mode] win-32

2012-03-01 Thread Eric S. Johansson
imenu-add-to-menu-bar: imenu-create-index-function =py-imenu-create-index-new File mode specification error: (file-error "Searching for program" "no such file or directory" "python") finally getting back to doing some Python work. I grabbed the latest off of launchpad and installed in win32 Em

Re: [Python-mode] xemacs Potential problem

2011-08-19 Thread Eric S. Johansson
On 8/9/2011 1:35 AM, Andreas Röhler wrote: For the moment put a semicolon before (require 'highlight-indentation) in python-mode.el, that's all. ;; (when (featurep 'xemacs) ;; (require 'highlight-indentation)) yields (1) (file-mode-spec/warning) Error in File mode specification: menu keyw

[Python-mode] xemacs Potential problem

2011-08-08 Thread Eric S. Johansson
I'm experimenting with the latest beta and try to figure out what's the right set of options for configure for production version and I got this error. Any ideas? (1) (file-mode-spec/warning) Error in File mode specification: Malformed list: :background Backtrace follows: backtrace(nil t) #

Re: [Python-mode] 6.0.1 errors

2011-08-06 Thread Eric S. Johansson
On 8/6/2011 2:12 AM, Andreas Röhler wrote: Am 06.08.2011 02:22, schrieb Eric S. Johansson: running 6.0.1 on xemacs 21.4.22 (cygwin) I get these two warnings (1) (warning/warning) Unknown req `min-colors' with options `(88)' (2) (warning/warning) Unknown req `min-colors' wi

[Python-mode] 6.0.1 errors

2011-08-05 Thread Eric S. Johansson
running 6.0.1 on xemacs 21.4.22 (cygwin) I get these two warnings (1) (warning/warning) Unknown req `min-colors' with options `(88)' (2) (warning/warning) Unknown req `min-colors' with options `(88)' ideas? ___ Python-mode mailing list Python-mod

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-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

Re: [Python-mode] more speech driven how twos

2011-06-19 Thread Eric S. Johansson
On 6/19/2011 2:00 PM, Andreas Röhler wrote: Inside the python-mode archiv exists a pars-part-output.el it provides a function called parse-partial-sexp-iac which displays the output of parse-partial-sexp together with its explanation er. I need a bit more of an example than that :-) I trie

Re: [Python-mode] more speech driven how twos

2011-06-19 Thread Eric S. Johansson
On 6/18/2011 3:41 PM, Andreas Röhler wrote: Am 18.06.2011 15:00, schrieb Eric S. Johansson: BTW what are suitable returns from Emacs report functions for you. As choices coming into my mind for the moment are: - simple get it returned yes as in position = Emacs_fetch ("current char

Re: [Python-mode] more speech driven how twos

2011-06-18 Thread Eric S. Johansson
On 6/18/2011 9:00 AM, Eric S. Johansson wrote: I should probably into here because I'm probably giving you intellectual heartburn at this point because it's a lot to digest and I'm late for my astronomy club's work party. observing sites don't maintain themselve

Re: [Python-mode] more speech driven how twos

2011-06-18 Thread Eric S. Johansson
BTW what are suitable returns from Emacs report functions for you. As choices coming into my mind for the moment are: - simple get it returned yes as in position = Emacs_fetch ("current character position", buffer = "focus") buffer_list = Emacs_fetch ("buffer list") obviously we have to figu

Re: [Python-mode] more speech driven how twos

2011-06-17 Thread Eric S. Johansson
On 6/17/2011 12:18 PM, Andreas Röhler wrote: Am 17.06.2011 16:02, schrieb Eric S. Johansson: making more progress on some of the tools I need for speech or programming. [ ... ] Hi Eric, thanks reminding at that. Seeing you introduced a blueprint. Your previous text went into the `second

[Python-mode] more speech driven how twos

2011-06-17 Thread Eric S. Johansson
making more progress on some of the tools I need for speech or programming. Got a friend working with me on the variable management tool. Could use a few bits to help project along. 1) "Where am I." used to help resolve which transformation of an English name is used in a given context. Specif

[Python-mode] speech recognition/Emacs match up

2011-04-23 Thread Eric S. Johansson
Many moons ago, I mentioned the need for some special features so that one can more easily create Python using speech recognition. I've got a fair start on some of the symbol manipulation techniques (http://blog.esjworks.com) but it counts on the ability to identify and isolate symbols based on

Re: [Python-mode] more indentation problems (I think)

2011-04-17 Thread Eric S. Johansson
On 4/17/2011 1:45 PM, Andreas Röhler wrote: Am 17.04.2011 19:19, schrieb Eric S. Johansson: On 4/17/2011 5:48 AM, Andreas Röhler wrote: Would it be possible to make an entry into the bug tracker? I was going to enter Bug #763756 as soon as I woke up, honest! :-) Granted! :) Fix should

Re: [Python-mode] more indentation problems (I think)

2011-04-17 Thread Eric S. Johansson
On 4/17/2011 5:48 AM, Andreas Röhler wrote: Would it be possible to make an entry into the bug tracker? I was going to enter Bug #763756 as soon as I woke up, honest! :-) ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mai

[Python-mode] more indentation problems (I think)

2011-04-16 Thread Eric S. Johansson
I was creating a grammar for speech commands for Emacs and while building a two-dimensional matrix, i.e. found indentation that wasn't right: here's the code feature_operation_matrix = { "character": { "kill": "{ctrl+k}", "delete": "{esc}xdelete-backward-char", "copy": "{esc}xdel

Re: [Python-mode] xemacs or Python mode

2011-04-16 Thread Eric S. Johansson
On 4/16/2011 1:31 PM, Andreas Röhler wrote: Am 16.04.2011 18:11, schrieb Eric S. Johansson: XEmacs should implement it. it should but I'm getting the exception. Here it is for the moment: hmm could not find this code in the myrkid b

[Python-mode] xemacs or Python mode

2011-04-16 Thread Eric S. Johansson
(I originally sent this to the xemacs list and forgot to send it here) Only Your friendly list mates can tell for sure In some buffers of Python code and not others when I press the backspace key, it tells me: symbols function definition is void: looking-back. I'm testing out on the latest b

Re: [Python-mode] one more myrkwid bug

2011-04-16 Thread Eric S. Johansson
On 4/16/2011 10:00 AM, Georg Brandl wrote: what about `py-indent-honor-multiline-listing' ? I think the "listing" is the strange word here. For me, a listing is a snippet of code printed in a book. I agree. Wouldn't it make sense to say something like "python-indent-honor-multi-line-indent

Re: [Python-mode] one more myrkwid bug

2011-04-14 Thread Eric S. Johansson
On 4/14/2011 5:18 PM, Andreas Röhler wrote: Further fixes still ahead will take a little bit longer probably. Maybe we should keep the trunk for some days before a release, to get some more testers. I can spend a little time this weekend testing. what do I grab? __

Re: [Python-mode] Announcement of a new python major-mode on emacs-devel

2011-02-16 Thread Eric S. Johansson
On 2/16/2011 12:34 PM, m h wrote: WRT switching from XEmacs, what is your reason for using it? Curious minds want to know. :) My reason is simple. I consider Stallman delusional. 1) he considers the needs of free software to be dominant over the needs of disabled users. 2) he appears to belie

Re: [Python-mode] python.el

2011-02-04 Thread Eric S. Johansson
On 2/4/2011 12:37 PM, Andreas Röhler wrote: Am 04.02.2011 16:30, schrieb Barry Warsaw: On Feb 04, 2011, at 09:16 AM, Andreas Röhler wrote: oh bloody hell, this is the third time I've seen you guys go around this barn. :-) try something different like merging work with the other other pytho

Re: [Python-mode] py-goto-block-up

2010-04-22 Thread Eric S. Johansson
On 4/19/2010 6:12 PM, Barry Warsaw wrote: Do you have pictures to prove it? :) (did you really think I could let a comment like that lie unanswered :-) no, but I do have stories which are really not appropriate for the mailing list (definitely nsfw^2). One thin hint I'll give you is a.s.b a

Re: [Python-mode] py-goto-block-up

2010-04-19 Thread Eric S. Johansson
On 4/19/2010 4:23 PM, Barry Warsaw wrote: On Apr 16, 2010, at 10:56 PM, Eric S. Johansson wrote: User interfaces aren't easy. Especially when people deviate from capabilities and endurance of a 20-year-old. Trust me, I am very deviant from the capabilities and endurance of a 20 yea

Re: [Python-mode] py-goto-block-up

2010-04-16 Thread Eric S. Johansson
On 4/16/2010 2:28 PM, Barry Warsaw wrote: On Apr 16, 2010, at 10:03 AM, Eric S. Johansson wrote: I dunno. If it's useful to people sure, but I doubt I'd use them much. Sometimes it's just quicker to use C-n and C-p y'know? :) well duh, if you have working hands it

Re: [Python-mode] py-goto-block-up

2010-04-16 Thread Eric S. Johansson
On 4/16/2010 5:27 AM, Andreas Roehler wrote: Hi Barry, trying to keep some experimental implementations synced semantically, I'm stumbling about the following: py-goto-block-up (&optional nomark) "Move up to start of current block. Go to the statement that starts the smallest enclosing bloc

Re: [Python-mode] FSF assignment policy

2009-01-27 Thread Eric S. Johansson
Andreas Roehler wrote: > Hi (X)Emacs folks, > > as FSF assignment policy was raised again at > python-mode@python.org, please permit to ask you a > thing I never understood: > > AFAIS every Emacs-file is inspired by many, many others > from the very beginning. We see almost always a plenty > of r

Re: [Python-mode] agenda

2009-01-21 Thread Eric S. Johansson
Andreas Roehler wrote: > What about to implement some reporting feature, > saying via message-buf for example what is closed? > > We could proceed in two steps: First introduce such a reporting level for all > things, than make the voices side. > > Or should we consider something special right

Re: [Python-mode] agenda

2009-01-20 Thread Eric S. Johansson
Beverley Eyre wrote: > > LOL. > > I haven't even looked at 3.0 yet. I have no idea what would be involved, > Andreas. Are there any changes that would cause massive alterations in > the way a person using it would want it to look and feel in emacs? > > > Well, after spending 15 minutes readin

Re: [Python-mode] [Novice]enabling python-mode

2008-12-06 Thread Eric S. Johansson
[EMAIL PROTECTED] wrote: > Saurabh> But how will I come to know whether I am using python-mode.el > Saurabh> or the default python.el, as the mode-line still says (Python)? > > Here are a few ways: > I can tell because the menu bar has the menu item IM-python for python-mode. ___

Re: [Python-mode] py-newline-and-close-THING

2008-12-03 Thread Eric S. Johansson
Andreas Roehler wrote: > Hi, > > herewith a first solution to requests posted at python-list thank you so very much. I need to find the current Pythonesta python mode lisp. The source Forge version is frighteningly old. Would you be so kind as to let me know where I can get the latest? __

Re: [Python-mode] special editor support for indentation needed.

2008-11-20 Thread Eric S. Johansson
Andreas Roehler wrote: > IMO Jeremiah Dodds is right. With all the time spent on this discussion, you > could write the needed function in elisp probably. BTW your request seems > reasonable. Other python programmers may use it too. I tried learning lisp about 15 years ago. even bought a copy of

[Python-mode] identifying language features for editing

2008-09-28 Thread Eric S. Johansson
when editing code with speech recognition, we often need to grab onto elements that someone with a keyboard wouldn't even think about. For example, Method arguments, tuple elements, parenthetical expressions, predicates, lval and rval are some of the features that come to mind. How could one ide