From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: bug in comment-region Date: Thu, 10 Jun 2004 01:06:21 +0200 (CEST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040610.010621.18288090.wl@gnu.org> References: <20040609.160802.116374946.wl@gnu.org> <20040609210920.GA12578@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1086822464 31054 80.91.224.253 (9 Jun 2004 23:07:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2004 23:07:44 +0000 (UTC) Cc: quarl+dated+1087221580.02c4f1@nospam.quarl.org, quarl@nospam.quarl.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jun 10 01:07:35 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BYCAR-0006A2-00 for ; Thu, 10 Jun 2004 01:07:35 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BYCAQ-0001Ap-00 for ; Thu, 10 Jun 2004 01:07:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BYCB5-0007vb-QX for emacs-devel@quimby.gnus.org; Wed, 09 Jun 2004 19:08:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BYCAw-0007vW-Li for emacs-devel@gnu.org; Wed, 09 Jun 2004 19:08:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BYCAt-0007ui-Lb for emacs-devel@gnu.org; Wed, 09 Jun 2004 19:08:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BYCAs-0007ub-SR for emacs-devel@gnu.org; Wed, 09 Jun 2004 19:08:03 -0400 Original-Received: from [212.227.126.171] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BYCAA-0003ha-23; Wed, 09 Jun 2004 19:07:18 -0400 Original-Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BYCA9-0003HN-00; Thu, 10 Jun 2004 01:07:17 +0200 Original-Received: from [80.129.81.144] (helo=orion.univie.ac.at) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1BYCA9-0000Uc-00; Thu, 10 Jun 2004 01:07:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by orion.univie.ac.at (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id i59N6L431437; Thu, 10 Jun 2004 01:06:21 +0200 Original-To: miles@gnu.org In-Reply-To: <20040609210920.GA12578@fencepost> X-Mailer: Mew version 4.0.65 on Emacs 21.3.50.1 / Mule 5.0 (SAKAKI) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:2dc398bc694a1e60948148ba0a42c0da X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24784 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24784 > > Thanks. Anyway, my suggestion w.r.t. C-u still holds -- IMHO it > > is quite inconvenient to control the behaviour of such a versatile > > function with a global variable. > > `comment-region' and `comment-dwim' already have a (much more > useful) meaning for C-u (in fact, comment-region has several). I haven't yet used comment-dwim, so I won't say something about this function. But IMHO it is a strange idea to have `C-u something' do exactly the opposite of `something'. Until now I've considered the C-u prefix as a means to get an extended or slightly modified functionality of a function. Are there other commands which do the opposite if prefixed with C-u? And I don't agree with your conclusion that the several meanings of C-u for `comment-region' are `much more useful'. For me, they are useful for `uncomment-region' only. Werner