From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: bug#7253: comment-dwim should easily allow mid-line comments Date: Thu, 21 Oct 2010 12:00:09 +0800 Message-ID: <87k4lc42ly.fsf@jidanni.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287636686 30027 80.91.229.12 (21 Oct 2010 04:51:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2010 04:51:26 +0000 (UTC) Cc: 7253@debbugs.gnu.org To: monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 21 06:51:24 2010 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.69) (envelope-from ) id 1P8n7c-00044K-G5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Oct 2010 06:51:24 +0200 Original-Received: from localhost ([127.0.0.1]:35648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8n7c-0000uw-3x for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Oct 2010 00:51:24 -0400 Original-Received: from [140.186.70.92] (port=53201 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8mhv-0001dU-EZ for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2010 00:24:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8mW6-0002XZ-UV for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2010 00:12:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8mW6-0002XS-O0 for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2010 00:12:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P8mH0-0001Zj-Ec; Wed, 20 Oct 2010 23:57:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87lj5tdvpw.fsf@jidanni.org> Resent-From: jidanni@jidanni.org Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Oct 2010 03:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7253 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7253-submit@debbugs.gnu.org id=B7253.12876333876045 (code B ref 7253); Thu, 21 Oct 2010 03:57:02 +0000 Original-Received: (at 7253) by debbugs.gnu.org; 21 Oct 2010 03:56:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8mGQ-0001ZS-52 for submit@debbugs.gnu.org; Wed, 20 Oct 2010 23:56:27 -0400 Original-Received: from caiajhbdcaid.dreamhost.com ([208.97.132.83] helo=homiemail-a3.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8mGO-0001ZL-2e for 7253@debbugs.gnu.org; Wed, 20 Oct 2010 23:56:24 -0400 Original-Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 8F5DD28406C; Wed, 20 Oct 2010 21:00:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=Ky0+t8pgbSC8YHaGF5zcP8GmqlPwKjCPwPvznFdVoOV0IpsK1 m6NUP3Au51ILFGBeylAJp1r0nVEbq4g069CDcb2kFcSxRXPJ1gGekVdMKXp8M1Tb ZiVW13oOV8dHZUKDNz6DjXrsOF9v+SLEcE7HnIgh6HOCpA456g76CWNetc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=BRVoEmaoXFKux4p3sd3evi5Q5G4=; b=Ni3/ewKVoJ7qK f/UNwJUzDwg41hFp1zcdi/opAH5VTm6gHMw/nZyoVnud1Q7UL1tyX1ZSFaEOISgH XWyHgxrwSV9hjtKQPqsLpCfyz0cTLDlXgdYz1bxvI3tyHySxhghzJ48b+7ByQyzU l8NXDYO7FWgeBXe92EC74Q49VVB0X0= Original-Received: from jidanni.org (218-163-2-75.dynamic.hinet.net [218.163.2.75]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTPSA id 2BD2A28406A; Wed, 20 Oct 2010 21:00:13 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 20 Oct 2010 23:57:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:41024 Archived-At: >>>>> "SM" == Stefan Monnier writes: >> Sometimes I want to make a comment in the middle of a line, not at the >> end, but whenever I hit M-;, prefix or not, comment-dwim insists on >> putting it at the end of line, at least in html-helper mode. >> emacs-version "24.0.50.1". SM> How would you tell Emacs that your intention is to make it in SM> the middle? Excellent question. One would think adding a prefix argument to M-; would be good... but that probably already is taken... and wait, M-; is bound to different commands in different modes... Yuck. E.g., as I write this it is bound to comment-region.