From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Clajus Newsgroups: gmane.emacs.bugs Subject: bug#14335: 24.2; Inconsistency in vhdl-comment-uncomment-line Date: Thu, 02 May 2013 12:25:12 -0700 Message-ID: <5182BD98.1040806@novarad.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367523280 7871 80.91.229.3 (2 May 2013 19:34:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 May 2013 19:34:40 +0000 (UTC) To: 14335@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 02 21:34:39 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UXzH3-0007rP-V5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 May 2013 21:34:38 +0200 Original-Received: from localhost ([::1]:60864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXzH3-0001p9-JF for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 May 2013 15:34:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXzGw-0001ir-EQ for bug-gnu-emacs@gnu.org; Thu, 02 May 2013 15:34:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXzGs-0007ut-Uh for bug-gnu-emacs@gnu.org; Thu, 02 May 2013 15:34:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXzGs-0007um-Rg for bug-gnu-emacs@gnu.org; Thu, 02 May 2013 15:34:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UXzHR-0003HW-TJ for bug-gnu-emacs@gnu.org; Thu, 02 May 2013 15:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Martin Clajus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2013 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14335 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136752326812541 (code B ref -1); Thu, 02 May 2013 19:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 May 2013 19:34:28 +0000 Original-Received: from localhost ([127.0.0.1]:55667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UXzGt-0003GB-2v for submit@debbugs.gnu.org; Thu, 02 May 2013 15:34:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44733) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UXz92-0002ww-CM for submit@debbugs.gnu.org; Thu, 02 May 2013 15:26:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXz8O-0004uc-Qw for submit@debbugs.gnu.org; Thu, 02 May 2013 15:25:44 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:40419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXz8O-0004uW-OY for submit@debbugs.gnu.org; Thu, 02 May 2013 15:25:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXz8K-0000wg-VW for bug-gnu-emacs@gnu.org; Thu, 02 May 2013 15:25:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXz8G-0004tS-9L for bug-gnu-emacs@gnu.org; Thu, 02 May 2013 15:25:36 -0400 Original-Received: from mail.novarad.com ([99.91.245.118]:60095 helo=mail.local.tld) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXz8F-0004r0-Ns for bug-gnu-emacs@gnu.org; Thu, 02 May 2013 15:25:32 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.local.tld (Postfix) with ESMTP id 9DBBAE2C7A3 for ; Thu, 2 May 2013 12:25:14 -0700 (PDT) X-Virus-Scanned: amavisd-new at local.tld Original-Received: from mail.local.tld ([127.0.0.1]) by localhost (mail.novarad.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YzagH9JadqOU for ; Thu, 2 May 2013 12:25:13 -0700 (PDT) Original-Received: from Rhenium.local (unknown [10.0.0.72]) by mail.local.tld (Postfix) with ESMTPSA id F28CCE2C798 for ; Thu, 2 May 2013 12:25:12 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.6.666 X-Enigmail-Version: 1.5.1 X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 02 May 2013 15:34:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73900 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': In vhdl-mode, when I use the keystrokes C-c C-l C-c (function vhdl-comment-uncomment-line) to comment out an indented line, the comment characters are placed at the beginning of the text, to the right of the spaces that make up the indentation. If I apply the same keystroke combination again to the same, now commented line, I would expect it to be uncommented again. This expectation is based on my experience with the function in Emacs v.23 and on the description of the function in Emacs Help. Instead, I just get an additional pair of comment characters. Commenting and uncommenting work correctly on lines that are not indented, and the uncomment part of the function also works on lines that I have commented out manually by placing the comment characters at the beginning of the *line*, to the left of the indentation. The same inconsistency occurs with the function vhdl-comment-uncomment-region (keystrokes C-c C-c) if the region consists exclusively of indented lines. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/emacs/etc/DEBUG. Emacs did not crash. In GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-28 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: (only . t) Recent input: C-c C-g C-g C-c C-c C-c C-c C-_ C-_ C-c C-c C-c C-c C-h a v h d l SPC c o m m e n t C-c C-l C-c C-c C-l C-c C-_ C-_ C-c C-l C-c C-c C-l C-c - - C-c C-l C-c C-x 1 C-a * s c r a t c h * C-y Recent messages: Undo! [2 times] Auto-saving...done Type C-x 1 to remove help window. Undo! [2 times] Type "q" in help window to restore its previous buffer. Auto-saving... For information about GNU Emacs and the GNU system, type C-h C-a. Auto-saving... byte-code: Beginning of buffer Mark set Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode view apropos mule-util face-remap dired-aux dired hexl eldoc help-fns newcomment misearch multi-isearch vhdl-mode hippie-exp easymenu compile comint regexp-opt ansi-color ring assoc time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) -- Martin Clajus NOVA R&D, Inc. 833 Marlborough Ave., Suite 200 Riverside, California 92507-2133 Phone: (951) 781-7332 Fax: (951) 781-4858 EMail: martin.clajus@novarad.com Web Page: http://www.novarad.com ---------------------------------- This communication and any files transmitted with it contain information which is confidential and may be privileged and exempt from disclosure under applicable law. It is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any use, dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender. Thank you for your co-operation.