[Python-mode] Problem with Multi-Line Comments

2009-12-10 Thread Kent Borg
Hello, I recently started playing with using docstrings more fully and discovered a problem. I can't use apostrophes in multi-line comments without confusing python-mode. For example: > def my_sqrt(x): > '''Computes squareroot. > > Note: This function doesn't know about imaginary number

Re: [Python-mode] Problem with Multi-Line Comments

2009-12-11 Thread Kent Borg
Andreas Roehler wrote: > BTW which system/version/emacs you are using? kentb...@bottom:~$ emacs --version GNU Emacs 22.2.1 Copyright (C) 2008 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public L

Re: [Python-mode] Problem with Multi-Line Comments

2009-12-11 Thread Kent Borg
Andreas Roehler wrote: > python-mode.el version 351 is in use. I am not using that version. I dug around and downloaded 351. Internally mine is versioned: "5.1.0", 351 says "5.1.0+". kentb...@bottom:~$ diff /usr/share/emacs/site-lisp/python-mode/python-mode.el /home/kentborg/sw_downloads/pyth

Re: [Python-mode] Problem with Multi-Line Comments

2009-12-11 Thread Kent Borg
Kent Borg wrote: > Dropping the new one in place doesn't fix it, but I think I need to > compile something... Follow up on my last e-mail... OK, I think I compiled it: kentb...@bottom:~$ ls -l /usr/share/emacs/site-lisp/python-mode/python-mode.elc -rw-r--r-- 1 root root 115028 2009-

Re: [Python-mode] Problem with Multi-Line Comments

2009-12-11 Thread Kent Borg
Andreas Roehler wrote: > no need for that, emacs -q or emacs -Q is the right thing then > "emacs -q" does not work, "emacs -Q" does work. (The toggling of highlighting while opening and closing a multi-line comment is like before, but inside a correct multi-line comment, a new ' is happily ign