From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#5851: 24.0.50; first character after opening quote often gets eaten in CC modes Date: Tue, 6 Apr 2010 23:21:07 +0300 Message-ID: <201004062321.07973.pogonyshev@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270585622 4768 80.91.229.12 (6 Apr 2010 20:27:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 20:27:02 +0000 (UTC) To: 5851@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 06 22:27:00 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NzFLw-0007vb-P2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 22:27:00 +0200 Original-Received: from localhost ([127.0.0.1]:43944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzFLj-0005Cy-C3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 16:26:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzFLe-0005CY-Mk for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 16:26:10 -0400 Original-Received: from [140.186.70.92] (port=33197 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzFLb-0005C7-JK for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 16:26:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzFLZ-0001pa-2N for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 16:26:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34135) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzFLY-0001pW-WF for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 16:26:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzFId-000151-S0; Tue, 06 Apr 2010 16:23:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2010 20:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5851 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.12705853804136 (code B ref -1); Tue, 06 Apr 2010 20:23:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Apr 2010 20:23:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzFIa-00014f-0q for submit@debbugs.gnu.org; Tue, 06 Apr 2010 16:23:00 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzFIX-00014a-Ui for submit@debbugs.gnu.org; Tue, 06 Apr 2010 16:22:59 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:60351) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NzFIT-0003xe-Fd for submit@debbugs.gnu.org; Tue, 06 Apr 2010 16:22:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzFIS-0004FJ-VP for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 16:22:53 -0400 Original-Received: from [140.186.70.92] (port=60990 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzFIR-0004EO-8b for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 16:22:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzFIP-0001X5-UG for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 16:22:51 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:51367) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NzFIO-0001Wm-T9 for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 16:22:49 -0400 Original-Received: (qmail invoked by alias); 06 Apr 2010 20:22:45 -0000 Original-Received: from unknown (EHLO gonzo.localnet) [91.149.173.2] by mail.gmx.net (mp058) with SMTP; 06 Apr 2010 22:22:45 +0200 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX1+XUEJHuBqXuAORGEmJvDwUBFA2b/HNVU6tmFf34g Q3m2TGaxJ3QRGp User-Agent: KMail/1.12.4 (Linux/2.6.29-2-686; KDE/4.3.4; i686; ; ) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.44 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 06 Apr 2010 16:23:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36007 Archived-At: This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. 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': As can be seen from 'recent input' section below, I typed a string in C++ mode like this: "{} However, due to an error in the Lisp code (byte-code: Invalid search bound (wrong side of point)), it ended up looking like this: "} i.e. the very first character after the opening quote got eaten and never inserted into the buffer. This does not happen always, but often enough. It has been happening for quite some time now, i.e. it is not something introduced very recently. Paul 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 /usr/local/share/emacs/24.0.50/etc/DEBUG. In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.9) of 2010-04-04 on gonzo Windowing system distributor `The X.Org Foundation', version 11.0.10706000 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: C++/l Minor modes in effect: which-function-mode: t show-paren-mode: t server-mode: t auto-image-file-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: a r & * SPC d e l i m i t e r s . SPC , SPC C-e d e M-/ [ 0 ] C-M-k C-s C-s C-g C-M-k d e M-/ [ 1 ] M-/ [ 0 ] C-M-k C-M-k d e M-/ [ 1 ] C-x C-s C-s p r i n t _ r C-w C-s C-s C-s " [ ] " , SPC C-x C-s C-x C-f C-g C-x C-f s e t " { } " , SPC C-x C-s C-x C-f m a C-SPC C-w " { } { } " , SPC C-x C-s c o n s t SPC c h a r * SPC M-/ , SPC C-x C-s C-e " { } " , SPC y " { } M-x r e p o r Recent messages: Wrote /home/paul/mct/tests/map.cpp (No files need saving) Compilation exited abnormally with code 2 Saving file /home/paul/mct/tests/common.hpp... Wrote /home/paul/mct/tests/common.hpp (No files need saving) Compilation exited abnormally with code 2 Saving file /home/paul/mct/tests/map.cpp... Wrote /home/paul/mct/tests/map.cpp Compilation exited abnormally with code 2 byte-code: Invalid search bound (wrong side of point) Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug grep newcomment dabbrev multi-isearch vc-bzr sha1 hex-util cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs compile comint ring which-func imenu eldoc saveplace paren server ido cus-start cus-load thumbs image-file dired regexp-opt advice help-fns advice-preload tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)