* python-mode: minor bugfix
@ 2006-09-16 10:29 Slawomir Nowaczyk
2006-09-16 17:29 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Slawomir Nowaczyk @ 2006-09-16 10:29 UTC (permalink / raw)
Hello,
In python-mode, try C-c C-s print "[]". Emacs reports:
error in process filter: Invalid regexp: "Unmatched [ or [^"
The fix is trivial:
--- m:/EmacsCVS/EmacsCVS/lisp/progmodes/python.el 2006-09-16 10:15:09.767984000 +0200
+++ c:/Emacs/lisp/progmodes/python.el 2006-09-16 10:19:15.751691200 +0200
@@ -1289,7 +1289,7 @@
;; Maybe we could be more selective here.
(if (zerop (length res))
(not (bolp))
- (string-match res ".\\'"))))
+ (string-match ".\\'" res))))
;; The need for this seems to be system-dependent:
;; What is this all about, exactly? --Stef
;; (if (and (eq ?. (aref s 0)))
--
Best wishes,
Slawomir Nowaczyk
( slawomir.nowaczyk.847@student.lu.se )
REALITY.SYS corrupted -- Reboot Universe (Y/N)?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: python-mode: minor bugfix
2006-09-16 10:29 python-mode: minor bugfix Slawomir Nowaczyk
@ 2006-09-16 17:29 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2006-09-16 17:29 UTC (permalink / raw)
Cc: emacs-devel
> In python-mode, try C-c C-s print "[]". Emacs reports:
> error in process filter: Invalid regexp: "Unmatched [ or [^"
Thanks, installed,
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-16 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-16 10:29 python-mode: minor bugfix Slawomir Nowaczyk
2006-09-16 17:29 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.