From unknown Fri Jun 20 05:27:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5997 <5997@debbugs.gnu.org> To: bug#5997 <5997@debbugs.gnu.org> Subject: Status: vhdl-comment-uncomment-region Reply-To: bug#5997 <5997@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:27:35 +0000 retitle 5997 vhdl-comment-uncomment-region reassign 5997 emacs submitter 5997 Jerzy Gbur severity 5997 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 21 11:14:34 2010 Received: (at submit) by debbugs.gnu.org; 21 Apr 2010 15:14:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4bdJ-00038Q-Sn for submit@debbugs.gnu.org; Wed, 21 Apr 2010 11:14:34 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4aCV-0002UN-Iy for submit@debbugs.gnu.org; Wed, 21 Apr 2010 09:42:48 -0400 Received: from lists.gnu.org ([199.232.76.165]:48228) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O4aCQ-0005Zy-Ah for submit@debbugs.gnu.org; Wed, 21 Apr 2010 09:42:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4aCO-0000Bs-Lu for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2010 09:42:40 -0400 Received: from [199.232.76.173] (port=37669 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4aCN-0000B4-KB for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2010 09:42:39 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1O4aCM-0005Zq-Py for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2010 09:42:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DNS_FROM_RFC_POST, UNPARSEABLE_RELAY autolearn=no version=3.1.0 Received: from fencepost.gnu.org ([140.186.70.10]:46284) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1O4aCM-0005Zm-IM for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2010 09:42:38 -0400 Received: from mail.gnu.org ([199.232.76.166]:42234 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4aCL-0006Zf-Ge for bug-emacs@gnu.org; Wed, 21 Apr 2010 09:42:38 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50135) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O4aCK-0005ZP-Hg for bug-emacs@gnu.org; Wed, 21 Apr 2010 09:42:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4aCG-0004u5-DT for bug-emacs@gnu.org; Wed, 21 Apr 2010 09:42:34 -0400 Received: from mail-bw0-f228.google.com ([209.85.218.228]:41594) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4aCG-0004tc-8W for bug-emacs@gnu.org; Wed, 21 Apr 2010 09:42:32 -0400 Received: by bwz28 with SMTP id 28so7429240bwz.34 for ; Wed, 21 Apr 2010 06:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=UvpFVA7FNEIR4NVLdV8vo6BTLooPwOzJLkd27NJaDTM=; b=IhQPk26FZ/tkPJj4kz8yr2k1jjagCKoNF6tcdUZ+CCko3zdTgRS3m2t9+6q+cKDJMY MHAxIHCBHS2iGxuauD/wyPnz+QVrRByZ+fYEPnhw4D9I8Nc006se5BRbx9k82Pj610Dd nbPyV8QPZYqxxrSirW0zjIr8OBCEggXm93DK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gBFneUl2x5Qbj2J5CRr0lNQ6cStNpO6yuBXZc3+xO6fHGBU+SAhaCu07nNDiQq+mTK oQcYnBp5xbC7f4TW6O4cPUVjvt4R6W0sI3TG1hvvHl/Kn6PCTHjOtc2x7bkuPoII+ofn qVz7Iz8fiTm7foXhlBIXRYUpqV3a/jfp1heTg= MIME-Version: 1.0 Received: by 10.204.116.70 with HTTP; Wed, 21 Apr 2010 06:42:30 -0700 (PDT) Date: Wed, 21 Apr 2010 15:42:30 +0200 Received: by 10.204.6.81 with SMTP id 17mr7353919bky.62.1271857350590; Wed, 21 Apr 2010 06:42:30 -0700 (PDT) Message-ID: Subject: migration emacs 22.3 to 23.1 From: Jerzy Gbur To: bug-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 21 Apr 2010 11:14:33 -0400 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.9 (-----) Hi I use emacs for VHDL (vhdl-mode) coding mostly. After I updated emacs from version 22.3 to 23.1 have problem with vhdl-comment-uncomment-region function. Earlier I marked region and did \C-c \C-c, and region was commented or uncommented. Comment marks '--' were placed on the first column no matter where code text were started. In this version (23.1) comment marks are inserted just before code text without any spaces, and vhdl-comment-uncomment-region function doesn't know that this row is commented or no, so it makes new comment and so on.... Regards, Jerzy Gbur From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 22 01:59:54 2010 Received: (at control) by debbugs.gnu.org; 22 Apr 2010 05:59:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4pS6-000311-8k for submit@debbugs.gnu.org; Thu, 22 Apr 2010 01:59:54 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4pS4-00030v-PK for control@debbugs.gnu.org; Thu, 22 Apr 2010 01:59:53 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O4pS0-0003BR-NN; Thu, 22 Apr 2010 01:59:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19407.58836.582672.710952@fencepost.gnu.org> Date: Thu, 22 Apr 2010 01:59:48 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: blue X-Ran: RbV2KoB>vtD'rO-*g4Ur+FkKqQP(MFZ;;`sq9K{h9%r-az"_d-tW74y!8{1K[1]x1z&6VN X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control 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.1 (-----) reassign 5996 coreutils merge 5994 5996 retitle 5997 vhdl-comment-uncomment-region severity 5986 minor From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 22 09:39:11 2010 Received: (at 5997) by debbugs.gnu.org; 22 Apr 2010 13:39:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4wcZ-0007BP-6c for submit@debbugs.gnu.org; Thu, 22 Apr 2010 09:39:11 -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 1O4wcX-0007BK-Gi for 5997@debbugs.gnu.org; Thu, 22 Apr 2010 09:39:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACLuz0tLd/kw/2dsb2JhbACcInK+HYUPBIwA X-IronPort-AV: E=Sophos;i="4.52,256,1270440000"; d="scan'208";a="61760994" Received: from 75-119-249-48.dsl.teksavvy.com (HELO pastel.home) ([75.119.249.48]) by ironport2-out.pppoe.ca with ESMTP; 22 Apr 2010 09:39:03 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5A891815B; Thu, 22 Apr 2010 09:39:03 -0400 (EDT) From: Stefan Monnier To: Jerzy Gbur Subject: Re: bug#5997: migration emacs 22.3 to 23.1 Message-ID: References: Date: Thu, 22 Apr 2010 09:39:03 -0400 In-Reply-To: (Jerzy Gbur's message of "Wed, 21 Apr 2010 15:42:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 5997 Cc: 5997@debbugs.gnu.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.0 (--) > In this version (23.1) comment marks are inserted just before code > text without any spaces, This is probably because vhdl-comment-uncomment-region uses comment-region, whose default behavior was changed. See comment-style. > and vhdl-comment-uncomment-region function doesn't know that this row > is commented or no, so it makes new comment and so on.... Rather than C-c C-c (which is specific to VHDL) you may want to try M-; which should work in "any" mode. This is use comment-region and uncomment-region. I can't seem to reproduce your bug with M-;, so that would seem to indicate that the bug is in vhdl-comment-uncomment-region, but please try it out and if you can reproduce it with M-; give us a precise recipe (and if not tell us so as well, so we know where to find the fix). Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 22 11:57:12 2010 Received: (at submit) by debbugs.gnu.org; 22 Apr 2010 15:57:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ym7-000877-Qw for submit@debbugs.gnu.org; Thu, 22 Apr 2010 11:57:12 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ym5-000871-CE for submit@debbugs.gnu.org; Thu, 22 Apr 2010 11:57:10 -0400 Received: from lists.gnu.org ([199.232.76.165]:55845) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O4ym0-00015q-Jq for submit@debbugs.gnu.org; Thu, 22 Apr 2010 11:57:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4ym0-0001Kq-1e for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 11:57:04 -0400 Received: from [140.186.70.92] (port=57833 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4yly-0001Kc-Ta for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 11:57:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4ylx-0003Pa-Ak for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 11:57:02 -0400 Received: from lo.gmane.org ([80.91.229.12]:47976) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ylx-0003PH-5A for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 11:57:01 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O4ylu-000526-LI for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 17:56:58 +0200 Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Apr 2010 17:56:58 +0200 Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Apr 2010 17:56:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org connect(): No such file or directory From: Leo Subject: Re: bug#5997: migration emacs 22.3 to 23.1 Date: Thu, 22 Apr 2010 16:56:49 +0100 Organization: University of Cambridge Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:iIsr75hJy6pfcHYA3mvKa/16mQw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.0 (------) 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: -6.0 (------) On 2010-04-22 14:39 +0100, Stefan Monnier wrote: >> and vhdl-comment-uncomment-region function doesn't know that this row >> is commented or no, so it makes new comment and so on.... > > Rather than C-c C-c (which is specific to VHDL) you may want to try M-; > which should work in "any" mode. I always hate it when a mode overrides a global binding for no good reason. It gives surprises on the first use. There are quite a few in Emacs, unfortunately. To name a few: 1. diff-mode binds M-q 2. M-s that was used to search history is overwritten by the new M-s prefix. See for example in ielm. 3. Winner mode key bindings are active in minibuffer which makes ido fail to perform some of its functions. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu May 16 04:11:57 2013 Received: (at control) by debbugs.gnu.org; 16 May 2013 08:11:57 +0000 Received: from localhost ([127.0.0.1]:46995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UctI4-0007hF-Qq for submit@debbugs.gnu.org; Thu, 16 May 2013 04:11:57 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40829 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UctI3-0007h9-8W for control@debbugs.gnu.org; Thu, 16 May 2013 04:11:55 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UctHt-0001Ft-I5 for control@debbugs.gnu.org; Thu, 16 May 2013 04:11:45 -0400 Date: Thu, 16 May 2013 04:11:45 -0400 Message-Id: Subject: control message for bug 5997 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.8 (----) 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: -5.6 (-----) forcemerge 14335 5997 From unknown Fri Jun 20 05:27:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 13 Jun 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator