From unknown Thu Aug 14 22:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7253: comment-dwim should easily allow mid-line comments 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: Wed, 20 Oct 2010 11:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7253 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7253@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128757472213304 (code B ref -1); Wed, 20 Oct 2010 11:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Oct 2010 11:38:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8X0D-0003SX-Kg for submit@debbugs.gnu.org; Wed, 20 Oct 2010 07:38:41 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8X0B-0003SS-Oy for submit@debbugs.gnu.org; Wed, 20 Oct 2010 07:38:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8X3o-0006LO-Og for submit@debbugs.gnu.org; Wed, 20 Oct 2010 07:42:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:38498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8X3o-0006LC-K3 for submit@debbugs.gnu.org; Wed, 20 Oct 2010 07:42:24 -0400 Received: from [140.186.70.92] (port=54201 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8X3l-0005Ha-KB for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2010 07:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8Ws9-0004Fm-33 for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2010 07:30:22 -0400 Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177]:35124 helo=homiemail-a5.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8Ws8-0004Ff-Qw for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2010 07:30:21 -0400 Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id B33F4704076 for ; Wed, 20 Oct 2010 04:30:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=ovzYU9fnFKltjrrkvsZ0UF+Z7UpVC4ZBNs0A4bxzoCXv/qiWCHvbyx0j/f52 r3RJw+YuWdUqlewuq2Al5Pv7Ka0wPXk67/l/EpiGvokAsanOQoI45HTaojJeDClK 1cgTZvYDSaKAoir6HmietJnTMkWGfT/9CGL4NuJ+TA7EnIg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=up0dqCMfjCcmqYIrGAr+5HRYtsg=; b=D6d5XP4bQ4EAU5jZ TP2cJLqmDsekQ48JnpY4eUSuH16xL5r9jeb6lMqbD6aMxFnIOgGmW1i3PGzNNKFr X958LTjBzUQAcaQ2NMauUt4L7IHycf22RC5ofQyQ4fDlmiGGqCyFDFiKfahra+p4 R4I51RSl23D6hx4+OYw62LjoxWQ= Received: from jidanni.org (218-163-6-112.dynamic.hinet.net [218.163.6.112]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPSA id 6756170406A for ; Wed, 20 Oct 2010 04:30:19 -0700 (PDT) From: jidanni@jidanni.org Date: Wed, 20 Oct 2010 18:06:35 +0800 Message-ID: <87lj5tdvpw.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) 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". From unknown Thu Aug 14 22:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7253: comment-dwim should easily allow mid-line comments Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Oct 2010 16:17: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: To: jidanni@jidanni.org Cc: 7253@debbugs.gnu.org Received: via spool by 7253-submit@debbugs.gnu.org id=B7253.128759140320556 (code B ref 7253); Wed, 20 Oct 2010 16:17:02 +0000 Received: (at 7253) by debbugs.gnu.org; 20 Oct 2010 16:16:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8bLH-0005LV-68 for submit@debbugs.gnu.org; Wed, 20 Oct 2010 12:16:43 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8bLG-0005LQ-IG for 7253@debbugs.gnu.org; Wed, 20 Oct 2010 12:16:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgNAAa0vkxMCpO7/2dsb2JhbACTWYx5enK/ToVKBJIb X-IronPort-AV: E=Sophos;i="4.57,356,1283745600"; d="scan'208";a="80226272" Received: from 76-10-147-187.dsl.teksavvy.com (HELO ceviche.home) ([76.10.147.187]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 20 Oct 2010 12:20:31 -0400 Received: by ceviche.home (Postfix, from userid 20848) id DC4C166112; Wed, 20 Oct 2010 12:20:30 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87lj5tdvpw.fsf@jidanni.org> Date: Wed, 20 Oct 2010 12:20:30 -0400 In-Reply-To: <87lj5tdvpw.fsf@jidanni.org> (jidanni@jidanni.org's message of "Wed, 20 Oct 2010 18:06:35 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > 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". How would you tell Emacs that your intention is to make it in the middle? Stefan From unknown Thu Aug 14 22:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7253: comment-dwim should easily allow mid-line comments 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: To: monnier@iro.umontreal.ca Cc: 7253@debbugs.gnu.org Received: via spool by 7253-submit@debbugs.gnu.org id=B7253.12876333876045 (code B ref 7253); Thu, 21 Oct 2010 03:57:02 +0000 Received: (at 7253) by debbugs.gnu.org; 21 Oct 2010 03:56:27 +0000 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 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 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= 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) From: jidanni@jidanni.org References: Date: Thu, 21 Oct 2010 12:00:09 +0800 Message-ID: <87k4lc42ly.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.3 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) >>>>> "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. From unknown Thu Aug 14 22:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7253: comment-dwim should easily allow mid-line comments Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= 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 11:18:01 +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: To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128765987318042 (code B ref -1); Thu, 21 Oct 2010 11:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2010 11:17:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8t9c-0004gx-6j for submit@debbugs.gnu.org; Thu, 21 Oct 2010 07:17:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8t9a-0004gr-4v for submit@debbugs.gnu.org; Thu, 21 Oct 2010 07:17:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8tDI-0006rG-2m for submit@debbugs.gnu.org; Thu, 21 Oct 2010 07:21:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:36044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8tDH-0006rB-Vs for submit@debbugs.gnu.org; Thu, 21 Oct 2010 07:21:40 -0400 Received: from [140.186.70.92] (port=38469 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8tDF-0005uP-51 for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2010 07:21:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8tDD-0006lX-AL for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2010 07:21:37 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:63782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8tDC-0006ka-QM for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2010 07:21:35 -0400 Received: from noname.home (brln-4dbc643a.pool.mediaWays.net [77.188.100.58]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MbJMy-1OsSp43vEK-00IoL4; Thu, 21 Oct 2010 13:21:31 +0200 Message-ID: <4CC02206.2060806@easy-emacs.de> Date: Thu, 21 Oct 2010 13:20:38 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 References: <87k4lc42ly.fsf@jidanni.org> In-Reply-To: <87k4lc42ly.fsf@jidanni.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:bTAzdEycQi4VKVQsRNMujsRRLIlHe7VD96f0FOs4o4C 9B9TLO+sbP6Z92zTZnYJi1vb6FqSuB3UaN+AfF8R1RAhKIAb9j zgrUH1h7CK4a+eBdfr5Yygf0tXcSIJ184bepIROI4szAIn7civ 08zuUDE24R6EOHI8dO7+gwFmzHma8bJe6Y60XNr3Lh0ivS0zfp smzLTNIBfTmAunsm4jEkoolb2Mlo1rwpGu94e8c5uQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.4 (-----) Am 21.10.2010 06:00, schrieb jidanni@jidanni.org: >>>>>> "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. > > > > Hi, as per chance played with commenting a little bit: do you may present a show-case, where such a feature makes sense? See a lot of difficulties beside: does "in the middle" mean splitting words if existing there? Andreas -- https://code.launchpad.net/~a-roehler/python-mode/python-mode-components https://code.launchpad.net/s-x-emacs-werkstatt/ From unknown Thu Aug 14 22:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7253: comment-dwim should easily allow mid-line comments Resent-From: Stefan Monnier 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 18:37: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: To: jidanni@jidanni.org Cc: 7253@debbugs.gnu.org Received: via spool by 7253-submit@debbugs.gnu.org id=B7253.12876861746736 (code B ref 7253); Thu, 21 Oct 2010 18:37:02 +0000 Received: (at 7253) by debbugs.gnu.org; 21 Oct 2010 18:36:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8zzq-0001kb-Ky for submit@debbugs.gnu.org; Thu, 21 Oct 2010 14:36:14 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8zzn-0001kU-Qd for 7253@debbugs.gnu.org; Thu, 21 Oct 2010 14:36:12 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o9LIe1WS003963; Thu, 21 Oct 2010 14:40:01 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 0E530B45E5; Thu, 21 Oct 2010 14:40:01 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87k4lc42ly.fsf@jidanni.org> Date: Thu, 21 Oct 2010 14:40:00 -0400 In-Reply-To: <87k4lc42ly.fsf@jidanni.org> (jidanni@jidanni.org's message of "Thu, 21 Oct 2010 12:00:09 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3655=0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > 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... No, M-; should usually not be rebound in major-mods. > Yuck. E.g., as I write this it is bound to comment-region. Sounds like a misfeature of the major mode you're using. Can you give us some details? Stefan From unknown Thu Aug 14 22:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7253: M-; rebound in message-mode 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 19:25: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: To: monnier@iro.umontreal.ca Cc: 7253@debbugs.gnu.org, ding@gnus.org Received: via spool by 7253-submit@debbugs.gnu.org id=B7253.12876890928092 (code B ref 7253); Thu, 21 Oct 2010 19:25:02 +0000 Received: (at 7253) by debbugs.gnu.org; 21 Oct 2010 19:24:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P90kt-00026T-Mv for submit@debbugs.gnu.org; Thu, 21 Oct 2010 15:24:52 -0400 Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81] helo=homiemail-a5.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P90ks-00026N-51 for 7253@debbugs.gnu.org; Thu, 21 Oct 2010 15:24:51 -0400 Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id DD5BE704078; Thu, 21 Oct 2010 12:28:40 -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=Tqp+5cg62SR4ytq5YgtehDbFeNJ9BSc/oJOvGSCIy9VGh6ac6 OkY5ckbwfo9Dix9NnIWfwNQV4CPGBTMEshyVR+n+kNt3Vf7IzbASV82XcWXrcyn3 CKYFGlcLNI0Juddj4Rj2V9QuSshBSaZCsW4EhcETTaoCr+w/WQfZBHvGAQ= 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=86VbT1Bue104X0PfEMV7i7s4kJw=; b=XdjMKpA7V6OpG L84SWtubKh0TCbJ8j9LSRe8fR0AhbBfCBiRJ/6rbGVkosu6YLQh+Vd9+8OkES6VW V+eH9J70zoUWxT9MNBySTrDtFNWAZO7nNfE664e3i4GOnAcvoyjVPJxki1Vq2QXx 1uZ9eDpqP/dC83qLfCt6V9XcDnjcnM= Received: from jidanni.org (218-163-1-5.dynamic.hinet.net [218.163.1.5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPSA id 86E50704014; Thu, 21 Oct 2010 12:28:40 -0700 (PDT) From: jidanni@jidanni.org References: Date: Fri, 22 Oct 2010 03:28:36 +0800 Message-ID: <877hhb2vmj.fsf_-_@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.3 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) >>>>> "SM" == Stefan Monnier writes: SM> No, M-; should usually not be rebound in major-mods. >> Yuck. E.g., as I write this it is bound to comment-region. SM> Sounds like a misfeature of the major mode you're using. Can you give SM> us some details? major-mode ^U^X^E message-mode M-; (translated from ;) runs the command comment-region, which is an interactive autoloaded Lisp function in `newcomment.el'. From unknown Thu Aug 14 22:14:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jidanni@jidanni.org Subject: bug#7253: closed (Re: bug#7253: M-; rebound in message-mode) Message-ID: References: <87lj5tdvpw.fsf@jidanni.org> X-Gnu-PR-Message: they-closed 7253 X-Gnu-PR-Package: emacs Reply-To: 7253@debbugs.gnu.org Date: Thu, 21 Oct 2010 19:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1287691022-9109-1" This is a multi-part message in MIME format... ------------=_1287691022-9109-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7253: comment-dwim should easily allow mid-line comments which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7253@debbugs.gnu.org. --=20 7253: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7253 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1287691022-9109-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7253-close) by debbugs.gnu.org; 21 Oct 2010 19:56:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P91FA-0002MW-1I for submit@debbugs.gnu.org; Thu, 21 Oct 2010 15:56:09 -0400 Received: from smtp.getmail.no ([84.208.15.66]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P91F7-0002M9-FX for 7253-close@debbugs.gnu.org; Thu, 21 Oct 2010 15:56:06 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain Received: from get-mta-scan02.get.basefarm.net ([10.5.16.4]) by get-mta-out02.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LAN00CS6OVVXX30@get-mta-out02.get.basefarm.net> for 7253-close@debbugs.gnu.org; Thu, 21 Oct 2010 21:59:55 +0200 (MEST) Received: from get-mta-scan02.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 6968E1EA58B7_CC09BBBB for <7253-close@debbugs.gnu.org>; Thu, 21 Oct 2010 19:59:55 +0000 (GMT) Received: from smtp.getmail.no (unknown [10.5.16.4]) by get-mta-scan02.get.basefarm.net (Sophos Email Appliance) with ESMTP id 1CAE41EA2B8B_CC09BBBF for <7253-close@debbugs.gnu.org>; Thu, 21 Oct 2010 19:59:55 +0000 (GMT) Received: from quimbies.gnus.org ([84.215.34.171]) by get-mta-in01.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0LAN00AS6OVVNI30@get-mta-in01.get.basefarm.net> for 7253-close@debbugs.gnu.org; Thu, 21 Oct 2010 21:59:55 +0200 (MEST) Received: from larsi by quimbies.gnus.org with local (Exim 4.72) (envelope-from ) id 1P91Io-0002e8-OG; Thu, 21 Oct 2010 21:59:54 +0200 From: Lars Magne Ingebrigtsen To: jidanni@jidanni.org Subject: Re: bug#7253: M-; rebound in message-mode In-reply-to: Date: Thu, 21 Oct 2010 21:59:52 +0200 Message-id: References: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWufrb69uzDmsPn1tx9 QZL17+QuQnaEAAACSUlEQVQ4jVWUTbbbIAyFVeIsgLjMFRHPHVPPOS4LiO2y/630Xsh7TXViB/Oh X0AyGmS2xalzGKW04O3iUw6VJk5Mwd5fcpEDc8rl+DdnigVvoMJJMcMPxpzwS64yY6VTM23mMOqm JpmzTHs4a61nwiutKwYKU9BYK2UPTw/Z8QSClwgmd199iHX3we+1BnUNdA3vTSfq+FrVotwa8DRl y0o7PlTTK/OYMAs2TvGkBx9OlUhT127qFuOC9QCHuEl+dR87wMUMDgge/8JFXP7slgBpahbX0/A+ pTVAM3SgzKOBFFb/rWEAXxrxrOezh8Viz9Tw9BFRu3sPS1t1c0ujjtFifH46p0YIe4JYqt1UB+te Q61L24naasIEAVA6gJEqqTlH5neWZNr3UL/E79AwucvsmHk41EXLEUeHYZkjUC48SonDsGkxOje9 96hq/VOKy2UbSkaq1bBRL+cYEwBmt1Iy3c+KqJx1jdxBIViYh3PchP81VLkfkUG+4KOxzERm1Aqw RTVsNhSnmVF5dVdZNHI49lJBmgZNuQZuiPCR43vZrHDeh7eSYym/H2Xj12KsbgM/t+Yc3juY4OPS AAItLY8O7j0PgPzYPoCy7N1UGQhyBwaN4x1VKZehXB49Qfp4STN1w8m3nJYhfpk6zPoJX588qLWd hpnOVdo+V/8hi/vBrbW4GO5tjInPmtgdoizSbzD7hbUXF1liHrjx79tvrQ2gsVg7V7z72hd+6/Cq GZuGa22GBP0EHWWSmmrAUR/PxNP7HPeToSf/F6zDpTuIWdYdAAAAAElFTkSuQmCC X-Now-Playing: Fairport Convention's _Liege & Lief_: "Quiet Joys Of Brotherhood" X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7253-close Cc: 7253-close@debbugs.gnu.org, monnier@iro.umontreal.ca, ding@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) jidanni@jidanni.org writes: > M-; (translated from ;) runs the command comment-region, > which is an interactive autoloaded Lisp function in `newcomment.el'. I've now removed the binding from message-mode. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ------------=_1287691022-9109-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Oct 2010 11:38:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8X0D-0003SX-Kg for submit@debbugs.gnu.org; Wed, 20 Oct 2010 07:38:41 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8X0B-0003SS-Oy for submit@debbugs.gnu.org; Wed, 20 Oct 2010 07:38:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8X3o-0006LO-Og for submit@debbugs.gnu.org; Wed, 20 Oct 2010 07:42:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:38498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8X3o-0006LC-K3 for submit@debbugs.gnu.org; Wed, 20 Oct 2010 07:42:24 -0400 Received: from [140.186.70.92] (port=54201 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8X3l-0005Ha-KB for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2010 07:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8Ws9-0004Fm-33 for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2010 07:30:22 -0400 Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177]:35124 helo=homiemail-a5.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8Ws8-0004Ff-Qw for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2010 07:30:21 -0400 Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id B33F4704076 for ; Wed, 20 Oct 2010 04:30:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=ovzYU9fnFKltjrrkvsZ0UF+Z7UpVC4ZBNs0A4bxzoCXv/qiWCHvbyx0j/f52 r3RJw+YuWdUqlewuq2Al5Pv7Ka0wPXk67/l/EpiGvokAsanOQoI45HTaojJeDClK 1cgTZvYDSaKAoir6HmietJnTMkWGfT/9CGL4NuJ+TA7EnIg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=up0dqCMfjCcmqYIrGAr+5HRYtsg=; b=D6d5XP4bQ4EAU5jZ TP2cJLqmDsekQ48JnpY4eUSuH16xL5r9jeb6lMqbD6aMxFnIOgGmW1i3PGzNNKFr X958LTjBzUQAcaQ2NMauUt4L7IHycf22RC5ofQyQ4fDlmiGGqCyFDFiKfahra+p4 R4I51RSl23D6hx4+OYw62LjoxWQ= Received: from jidanni.org (218-163-6-112.dynamic.hinet.net [218.163.6.112]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPSA id 6756170406A for ; Wed, 20 Oct 2010 04:30:19 -0700 (PDT) From: jidanni@jidanni.org To: bug-gnu-emacs@gnu.org Subject: comment-dwim should easily allow mid-line comments Date: Wed, 20 Oct 2010 18:06:35 +0800 Message-ID: <87lj5tdvpw.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) 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". ------------=_1287691022-9109-1-- From unknown Thu Aug 14 22:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7253: M-; rebound in message-mode Resent-From: Stefan Monnier 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 20:29:01 +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: To: jidanni@jidanni.org Cc: 7253@debbugs.gnu.org, ding@gnus.org Received: via spool by 7253-submit@debbugs.gnu.org id=B7253.128769289410102 (code B ref 7253); Thu, 21 Oct 2010 20:29:01 +0000 Received: (at 7253) by debbugs.gnu.org; 21 Oct 2010 20:28:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P91kD-0002ct-SO for submit@debbugs.gnu.org; Thu, 21 Oct 2010 16:28:14 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P91kB-0002cn-MI for 7253@debbugs.gnu.org; Thu, 21 Oct 2010 16:28:12 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o9LKW0nI028632; Thu, 21 Oct 2010 16:32:00 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id EFE30B461D; Thu, 21 Oct 2010 16:31:59 -0400 (EDT) From: Stefan Monnier Message-ID: References: <877hhb2vmj.fsf_-_@jidanni.org> Date: Thu, 21 Oct 2010 16:31:59 -0400 In-Reply-To: <877hhb2vmj.fsf_-_@jidanni.org> (jidanni@jidanni.org's message of "Fri, 22 Oct 2010 03:28:36 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3655=0 X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) SM> No, M-; should usually not be rebound in major-mods. >>> Yuck. E.g., as I write this it is bound to comment-region. SM> Sounds like a misfeature of the major mode you're using. Can you give SM> us some details? > major-mode ^U^X^E message-mode > M-; (translated from ;) runs the command comment-region, > which is an interactive autoloaded Lisp function in `newcomment.el'. Thanks. It might make sense for message-mode to redefine the binding somewhat since it's not really a programming mode, but this binding means that M-; can't be used to un-quote, so it's not a good idea as it stands. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 16:18:46 2012 Received: (at control) by debbugs.gnu.org; 5 Mar 2012 21:18:46 +0000 Received: from localhost ([127.0.0.1]:34721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4fIr-0005Ir-Tu for submit@debbugs.gnu.org; Mon, 05 Mar 2012 16:18:46 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:44706) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4fIX-0005I3-0d for control@debbugs.gnu.org; Mon, 05 Mar 2012 16:18:34 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S4fHi-0007PY-Sa for control@debbugs.gnu.org; Mon, 05 Mar 2012 16:17:34 -0500 Date: Mon, 05 Mar 2012 16:17:34 -0500 Message-Id: Subject: control message for bug 7253 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) tag 7253 wontfix From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 01 03:31:46 2014 Received: (at control) by debbugs.gnu.org; 1 Feb 2014 08:31:46 +0000 Received: from localhost ([127.0.0.1]:43917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9VzO-0001PM-6B for submit@debbugs.gnu.org; Sat, 01 Feb 2014 03:31:46 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:36783) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9VzM-0001PE-EU for control@debbugs.gnu.org; Sat, 01 Feb 2014 03:31:44 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1W9Vz8-0002ua-Nd for control@debbugs.gnu.org; Sat, 01 Feb 2014 09:31:31 +0100 Date: Sat, 01 Feb 2014 00:30:39 -0800 Message-Id: <87bnyrmdzk.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #7253 X-MailScanner-ID: 1W9Vz8-0002ua-Nd X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1391848291.23704@yq+n8aw71MKLPEfuvJfOjA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 7253