[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `comment-dwim' leaves ;; in strings when uncommenting

From: Stefan
Subject: Re: `comment-dwim' leaves ;; in strings when uncommenting
Date: 14 Jul 2004 10:12:04 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> (progn (switch-to-buffer (generate-new-buffer "*tmp*"))
>        (emacs-lisp-mode)
>        (set (make-local-variable 'transient-mark-mode)
>           t)
>        (insert "\"lirum larum\nlirum larum\nlirum larum\"")
>        ;; Comment everything out.
>        (comment-region (point-min) (point-max)))

> Then type `C-x h M-;' (`comment-dwim' called with the active region
> covering the whole buffer).

> As you see the comment chars inside the string are left.  This is
> very annoying, because it also affects, for example, doc strings in
> Lisp functions.

Indeed, that's a clear bug, thank you.  Funny I haven't noticed it before.
I'll look into fixing it,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]