From 061aabc7520552037ab4f2378c5d6fc86a7dd009 2008-01-08 13:49:16 From: vivainio Date: 2008-01-08 13:49:16 Subject: [PATCH] ipython.el tab completion fix according to suggestion by frank wang --- diff --git a/doc/ipython.el b/doc/ipython.el index 41a2404..ff32bbe 100644 --- a/doc/ipython.el +++ b/doc/ipython.el @@ -6,7 +6,7 @@ ;; URL: http://ipython.scipy.org ;; Compatibility: Emacs21, XEmacs21 ;; FIXME: #$@! INPUT RING -(defconst ipython-version "$Revision: 2275 $" +(defconst ipython-version "$Revision: 2927 $" "VC version number.") ;;; Commentary @@ -375,7 +375,7 @@ in the current *Python* session." ;; expression part; a more powerful approach in the future might be ;; to let ipython have the complete line, so that context can be used ;; to do things like filename completion etc. - (beg (save-excursion (skip-chars-backward "a-z0-9A-Z_." (point-at-bol)) + (beg (save-excursion (skip-chars-backward "a-z0-9A-Z_./" (point-at-bol)) (point))) (end (point)) (pattern (buffer-substring-no-properties beg end))