From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: xah lee Newsgroups: gmane.emacs.bugs Subject: bug#1286: comment-dwim on a comment line does not toggle comment Date: Fri, 31 Oct 2008 14:25:09 -0700 Message-ID: Reply-To: xah lee , 1286@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225489836 32317 80.91.229.12 (31 Oct 2008 21:50:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2008 21:50:36 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 22:51:38 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kw1u5-0003sw-2n for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2008 22:51:37 +0100 Original-Received: from localhost ([127.0.0.1]:50961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw1sy-0004L4-Kt for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2008 17:50:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw1sj-000492-5g for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2008 17:50:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw1sg-00045U-9i for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2008 17:50:12 -0400 Original-Received: from [199.232.76.173] (port=48515 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw1sg-00045C-4Z for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2008 17:50:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42271) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kw1sg-000338-7D for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2008 17:50:10 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9VLo4Rg026317; Fri, 31 Oct 2008 14:50:04 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9VLZ2SQ022560; Fri, 31 Oct 2008 14:35:02 -0700 X-Loop: don@donarmstrong.com Resent-From: xah lee Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 31 Oct 2008 21:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1286 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122548833621278 (code B ref -1); Fri, 31 Oct 2008 21:35:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 31 Oct 2008 21:25:36 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9VLPW5H021272 for ; Fri, 31 Oct 2008 14:25:33 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw1Uq-0000lI-35 for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2008 17:25:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw1Un-0000kt-Fm for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2008 17:25:30 -0400 Original-Received: from [199.232.76.173] (port=43676 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw1Un-0000kq-BR for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2008 17:25:29 -0400 Original-Received: from mout.perfora.net ([74.208.4.194]:59095) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kw1Un-0008Dq-Ku for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2008 17:25:29 -0400 Original-Received: from [192.168.1.2] (c-24-6-185-159.hsd1.ca.comcast.net [24.6.185.159]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1Kw1UZ2mna-0007lY; Fri, 31 Oct 2008 17:25:18 -0400 X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX1/xHK+J11a5Q/TVM08eVDZCS7VL53nPsxzsASw SWMntW8dkj72uR87WVWTB5x4V9v5RelS9SHA5r5KpphobV28mX Qd+kSKmRlsHbygO25Rskw== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 31 Oct 2008 17:50:12 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22070 Archived-At: this appears to be like a bug. in emacs-lisp-mode, if you have a comment like this: ;; This is a comment and your cursor is somewhere on that line. Now, do comment-dwim, it =20 doesn't uncomment the line. It just moves the cursor to the =E2=80=9CT=E2=80= =9D =20 in =E2=80=9CThis=E2=80=9D. Same behavior in cperl mode and probably all others. I think this might be by design, but it seems counter-intuitive. In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0) of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp Xah =E2=88=91 http://xahlee.org/ =E2=98=84