From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Rob Kaut" Newsgroups: gmane.emacs.bugs Subject: Bug in vhdl-mode.el version 3.29 for emacs 21.2-windows. Date: Fri, 28 Feb 2003 11:28:35 -0700 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1046457092 19150 80.91.224.249 (28 Feb 2003 18:31:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2003 18:31:32 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18opHW-0004wR-00 for ; Fri, 28 Feb 2003 19:30:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18opGY-0006A6-03 for gnu-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2003 13:29:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18opFu-0005lc-00 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2003 13:29:10 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18opFg-0005Lj-00 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2003 13:28:58 -0500 Original-Received: from mail44.megamailservers.com ([216.251.36.44]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18opFO-0004tB-00 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2003 13:28:38 -0500 Original-Received: from hal9000 (dsl-cap-209-115-249-158-cgy.nucleus.com [209.115.249.158])h1SISaj8093662 for ; Fri, 28 Feb 2003 13:28:36 -0500 (EST) Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4528 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4528 emacs version: 21.2 windows vhdl-mode.el version: 3.29 In emacs 20.4 the function 'vhdl-comment-uncomment-region' works properly in vhdl-mode, but in the 21.2 version it does not. This seems to be due to the modification of the 'comment-region' function from version 20.4 to 21.2. In 20.4 'comment-region' is in simple.el and in 21.2 it seems to have moved to newcomment.el and had its operation changed. The fix that I have used right now is to modify the function 'vhdl-comment-uncomment-region' in my vhdl-mode.el to remove two comment characters at the start of the line instead of one. A diff of the original and modified would show: 7570c7570 < (comment-region beg end -1) -- > (comment-region beg end -2) Anyways, I hope this helps. If you need more info, please let me know. Rob Kaut ---------------------------------------------------------- Rob Kaut Digital IC Designer SiWorks Inc. phone: (403) 282-1650 Ext. 224 253, 3553-31 Street NW fax: (403) 260-8619 Calgary, Alberta, email: rob@siworks.com Canada T2L 2K7 website: http://www.siworks.com/ ----------------------------------------------------------