From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.bugs Subject: bug#14655: 24.3; (looking-at comment-start-skip) in newcomment.el Date: Tue, 18 Jun 2013 19:29:47 +0200 Message-ID: <87ppvjjpis.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371577096 14799 80.91.229.3 (18 Jun 2013 17:38:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2013 17:38:16 +0000 (UTC) To: 14655@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 18 19:38:15 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 1UozrA-0004L0-SV for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2013 19:38:13 +0200 Original-Received: from localhost ([::1]:60124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UozrA-0004ld-6a for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2013 13:38:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uozr2-0004eA-KQ for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 13:38:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uozr0-0005xi-SG for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 13:38:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uozr0-0005xY-Pq for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 13:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Uozr0-0001vU-HM for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 13:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thorsten Jolitz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jun 2013 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14655 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.13715770437337 (code B ref -1); Tue, 18 Jun 2013 17:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jun 2013 17:37:23 +0000 Original-Received: from localhost ([127.0.0.1]:53546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UozqI-0001u8-MT for submit@debbugs.gnu.org; Tue, 18 Jun 2013 13:37:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37438) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UozqD-0001tn-8G for submit@debbugs.gnu.org; Tue, 18 Jun 2013 13:37:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uozq6-0005lR-QY for submit@debbugs.gnu.org; Tue, 18 Jun 2013 13:37:07 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uozq6-0005kw-NA for submit@debbugs.gnu.org; Tue, 18 Jun 2013 13:37:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uozq5-0003ts-C7 for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 13:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uozj5-0003S5-TY for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 13:30:14 -0400 Original-Received: from mail-bk0-x22a.google.com ([2a00:1450:4008:c01::22a]:49178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uozj5-0003Rx-HX for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2013 13:29:51 -0400 Original-Received: by mail-bk0-f42.google.com with SMTP id jk13so1920975bkc.1 for ; Tue, 18 Jun 2013 10:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=ZuKfuLR58sA6yzy1ruvwIs/ZYfSCD0ogna/U0eMQI3Y=; b=oZSCULiOguHMIBh2XFllhPux8RoZAyvUTpniIqRFBT4QWKPwuN3ccT9ozArwSDZsYP PiShLchdH1vhPo8icZbXq2WpWnF5XBaVmBPaRq63DCp+O6Z0e+VuUn/zaA53hDGTTJKO njk5bUTUwd2DYzHhrebgl4tEuXI/4kUtwNjxXdna9s1tSdWgLbTR0bZLyEn6jVL95gdm K7scGlscZUc6RAHUvkRHiezS0hnLTBL+v6qFjw4WeMYk++cNVGr92fgY7cr17VOhAuyH kp6i2cCC15M4dudzqzDLVmzhPlM6nkloir6ftISAmwOibspn61xcpQ0Ntwb/FPpu72m6 bZNg== X-Received: by 10.204.71.77 with SMTP id g13mr2785184bkj.50.1371576589346; Tue, 18 Jun 2013 10:29:49 -0700 (PDT) Original-Received: from localhost (e178188064.adsl.alicedsl.de. [85.178.188.64]) by mx.google.com with ESMTPSA id 2sm5222313bkn.16.2013.06.18.10.29.48 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 18 Jun 2013 10:29:48 -0700 (PDT) User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:75297 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 acknowledgment 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': 1. emacs -Q 2. C-x C-f sql-test.sql -- * data load -- ** data for table1 drop table1; 3. M-: (goto-char (point-min)) 4. M-: (comment-search-forward 15 t) => Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) comment-search-forward(15 t) eval((comment-search-forward 15 t) nil) eval-expression((comment-search-forward 15 t) nil) call-interactively(eval-expression nil nil) because in sql-mode: 5. C-h v comment-start-skip comment-start-skip is a variable defined in `newcomment.el'. Its value is nil Thus, newcomment.el should not call `looking-at' on a variable that might be nil, because it requires a string-argument. 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/share/emacs/24.3/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.1) of 2013-04-29 on eric Windowing system distributor `The X.Org Foundation', version 11.0.11401000 Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_COLLATE: C value of $LANG: de_DE.utf8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Debugger 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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f j u n s q l - RET C-n C-n C-n C-SPC C-n C-n C-n C-d C-w C-w C-g C-x k RET C-x C-f j u n s q l - RET M-: ( c o m m e n t - s e a r c h - f o r w a r d SPC 1 5 SPC t ) RET M-x e m a c s - C-g M-x b u g - r e p o r RET Recent messages: Loading vc-git...done Mark set call-interactively: End of buffer ...junk/sql-test-junk.sql locked by tj@hostname (pid 927): (s, q, p, ?)? Please type q, s, or p; or ? for help Quit Entering debugger... Making completion list... Quit Making completion list... [3 times] Load-path shadows: /usr/share/emacs/24.3/lisp/org/.dir-locals hides /usr/share/emacs/24.3/lisp/gnus/.dir-locals 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 debug vc-git sql easymenu thingatpt comint ansi-color ring time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment 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 macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- cheers, Thorsten