From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.bugs Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Date: Thu, 9 May 2013 13:04:54 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9cfc706971fab04dc4e9106 X-Trace: ger.gmane.org 1368129973 8625 80.91.229.3 (9 May 2013 20:06:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 May 2013 20:06:13 +0000 (UTC) To: 14376@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 09 22:06:13 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 1UaX6N-0000mv-Mz for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 May 2013 22:06:08 +0200 Original-Received: from localhost ([::1]:58001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaX6N-0007Dh-8t for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 May 2013 16:06:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaX6H-00078s-6E for bug-gnu-emacs@gnu.org; Thu, 09 May 2013 16:06:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaX6C-0001gn-NM for bug-gnu-emacs@gnu.org; Thu, 09 May 2013 16:06:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaX6C-0001gd-KA for bug-gnu-emacs@gnu.org; Thu, 09 May 2013 16:05:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UaX6I-0000Ks-8m for bug-gnu-emacs@gnu.org; Thu, 09 May 2013 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Hanchrow Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2013 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14376 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.13681299361231 (code B ref -1); Thu, 09 May 2013 20:06:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 May 2013 20:05:36 +0000 Original-Received: from localhost ([127.0.0.1]:35029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaX5q-0000Jl-Q1 for submit@debbugs.gnu.org; Thu, 09 May 2013 16:05:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60629) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaX5k-0000JV-Qa for submit@debbugs.gnu.org; Thu, 09 May 2013 16:05:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaX5c-0001ca-QT for submit@debbugs.gnu.org; Thu, 09 May 2013 16:05:22 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:38805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaX5c-0001cW-NF for submit@debbugs.gnu.org; Thu, 09 May 2013 16:05:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaX5a-0006s2-T2 for bug-gnu-emacs@gnu.org; Thu, 09 May 2013 16:05:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaX5Y-0001bk-Uo for bug-gnu-emacs@gnu.org; Thu, 09 May 2013 16:05:18 -0400 Original-Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:37535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaX5Y-0001aW-KQ for bug-gnu-emacs@gnu.org; Thu, 09 May 2013 16:05:16 -0400 Original-Received: by mail-la0-f49.google.com with SMTP id ee20so20924lab.36 for ; Thu, 09 May 2013 13:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=58p8u/lH046dDyFsCne5Tyx6j0ULf4Q1qL+WoqPHCfI=; b=wE7T5uhdpKWu6SNdQLp2FIk5utBqqF6pFn2NlnjdS94RSl0z0iIRVf6ENM6bS7irDG 32z4a7c2BISirBrzwpUBv/s+1lagTgYOsMbyb4H+qswllapvmqMH5ncTKsA3D5YXhV4r fEvHOtHlg4gaDeaUmgkm7sqFtBAr118Nl67cu4IKA77KI1L+sbHAcYrqcVIQXhibe7db FznGUCvPs9hdHQTpdVKVE2X5JkQHIVvu99pNn+HkZQaHMe/QqrqDNGWEPnSJt+yhvhBu n62tTSPtOa32v3QOGVJEhpHVstX4RBUhwh0czvw1dktIyTSaepcBP4oGJpeMMCAY0mEX 8I6A== X-Received: by 10.112.74.233 with SMTP id x9mr6215821lbv.0.1368129915000; Thu, 09 May 2013 13:05:15 -0700 (PDT) Original-Received: by 10.152.5.165 with HTTP; Thu, 9 May 2013 13:04:54 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:74106 Archived-At: --14dae9cfc706971fab04dc4e9106 Content-Type: text/plain; charset=UTF-8 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': * Create a file that contains three bytes: two dashes followed by a newline. * Start emacs -Q * C-x C-f NAME-OF-THE-FILE RET * M-x sql-mode RET * M-< * M-: (comment-search-forward (point-max) t) RET You'll see this error: Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) comment-search-forward(4 t) eval((comment-search-forward (point-max) t) nil) eval-expression((comment-search-forward (point-max) t) nil) call-interactively(eval-expression nil nil) 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 /Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-12 on bob.porkrind.org Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.7 -isystem /Users/david/Xcode-10.7_4.5.2/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/ -F/Users/david/Xcode-10.7_4.5.2/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks'' Important settings: locale-coding-system: nil default enable-multibyte-characters: t Major mode: SQL[ANSI] Minor modes in effect: shell-dirtrack-mode: t 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: t Recent input: C-x C-f / t m p / f r o t z . s q l - - - - SPC H e y SPC y o u - - M-< M-: M-( c o m m e n t - s e a r c h - f o r w a r d M-( p o i n t - m a x C-f SPC t q M-> C-SPC C-p C-p C-w M-. C-g M-> M-: M-p M-< M-: M-p q M-> C-x C-s M-! s t a t SPC f r M-x r e p o r t - e m a c s - b Recent messages: Quit Mark set nil Mark set Entering debugger... Back to top level. Mark set Saving file /tmp/frotz.sql... Wrote /tmp/frotz.sql 16777224 1250723 -rw-r--r-- 1 erichanchrow wheel 0 3 "May 9 13:00:57 2013" "May 9 13:00:57 2013" "May 9 13:00:57 2013" "May 9 13:00:57 2013" 4096 8 0 frotz.sql 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 shell pcomplete etags help-mode debug sql easymenu thingatpt comint ansi-color ring time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win 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 ns multi-tty emacs) --14dae9cfc706971fab04dc4e9106 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This bug report will be sent to the Bug-GNU-Emacs mai= ling list
and the GNU bug tracker at debbugs.gnu.org. =C2=A0Please check that
the From:= line contains a valid email address. =C2=A0After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs main= tainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug,= and
the precise symptoms of the bug. =C2=A0If you can, give a re= cipe
starting from `emacs -Q':

* Cre= ate a file that contains three bytes: two dashes followed by a
=C2=A0 newline.
* Start emacs -Q=C2=A0
* C-x C-f N= AME-OF-THE-FILE RET
* M-x sql-mode RET
* M-<
* M-: (comment-search-forward (point-max) t) RET

You'll see this error:

=C2=A0 =C2=A0 Debugger entered--Lisp error: (wrong-type= -argument stringp nil)
=C2=A0 =C2=A0 =C2=A0 looking-at(nil)
=
=C2=A0 =C2=A0 =C2=A0 comment-search-forward(4 t)
=C2=A0 =C2= =A0 =C2=A0 eval((comment-search-forward (point-max) t) nil)
=C2=A0 =C2=A0 =C2=A0 eval-expression((comment-search-forward (point-ma= x) t) nil)
=C2=A0 =C2=A0 =C2=A0 call-interactively(eval-expressio= n nil nil)


If Emacs crashed, and yo= u have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
= =C2=A0 =C2=A0 `bt full' and `xbacktrace'.
For information= about debugging Emacs, please read the file
/Applications/Emacs.= app/Contents/Resources/etc/DEBUG.


In GNU Emacs 24.3.1 (x86_64-apple-darwin= , NS apple-appkit-1038.36)
=C2=A0of 2013-03-12 on bob.porkrind.org
Windowing system distri= butor `Apple', version 10.3.1187
Configured using:
=C2=A0`configure '--host=3Dx86_64-appl= e-darwin' '--build=3Di686-apple-darwin'
=C2=A0'--= with-ns' 'build_alias=3Di686-apple-darwin'
=C2=A0'= ;host_alias=3Dx86_64-apple-darwin' 'CC=3Dgcc -mmacosx-version-min= =3D10.7
=C2=A0-isystem
=C2=A0/Users/david/Xcode-10.7_4.5.2/Xcode.app= /Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk= /usr/include/
=C2=A0-F/Users/david/Xcode-10.7_4.5.2/Xcode.app/Con= tents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Sys= tem/Library/Frameworks''

Important settings:
=C2=A0 locale-coding-syst= em: nil
=C2=A0 default enable-multibyte-characters: t
<= br>
Major mode: SQL[ANSI]

Minor modes in= effect:
=C2=A0 shell-dirtrack-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
= =C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t=
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mod= e: t
=C2=A0 transient-mark-mode: t

Recent input:
C-x C-f / t m p / f r o t z . s= q l <return> - - <return>=C2=A0
- - SPC H e y SPC y = o u <return> - - <return> M-< M-:=C2=A0
M-( c o m = m e n t - s e a r c h - f o r w a r d M-(=C2=A0
p o i n t - m a x C-f SPC t <return> q M-> C-SPC C-p=C2=A0
C-p C-w M-. C-g M-> M-: M-p <return> M-< M-: M-p <re= turn>=C2=A0
q M-> C-x C-s M-! s t a t SPC f r <tab> &= lt;return> M-x=C2=A0
r e p o r t - e m a c s - b <tab> <return>

<= /div>
Recent messages:
Quit
Mark set
nil<= /div>
Mark set
Entering debugger...
Back to top lev= el.
Mark set
Saving file /tmp/frotz.sql...
Wrote /tmp/= frotz.sql
16777224 1250723 -rw-r--r-- 1 erichanchrow wheel 0 3 &q= uot;May =C2=A09 13:00:57 2013" "May =C2=A09 13:00:57 2013" &= quot;May =C2=A09 13:00:57 2013" "May =C2=A09 13:00:57 2013" = 4096 8 0 frotz.sql

Load-path shadows:
None found.

=
Features:
(shadow sort gnus-util mail-extr emacsbug me= ssage format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encod= e mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
=
mail-prsvr mail-utils shell pcomplete etags help-mode debug sql easyme= nu
thingatpt comint ansi-color ring time-date tooltip ediff-hook = vc-hooks
lisp-float-type mwheel ns-win 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 synta= x
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 forma= t
env code-pages mule custom widget hashtable-print-readable back= quote
make-network-process ns multi-tty emacs)

--14dae9cfc706971fab04dc4e9106--