From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error 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: To: 14376@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13681299361231 (code B ref -1); Thu, 09 May 2013 20:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 May 2013 20:05:36 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 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 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 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 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 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) MIME-Version: 1.0 Received: by 10.152.5.165 with HTTP; Thu, 9 May 2013 13:04:54 -0700 (PDT) From: Eric Hanchrow Date: Thu, 9 May 2013 13:04:54 -0700 Message-ID: Content-Type: multipart/alternative; boundary=14dae9cfc706971fab04dc4e9106 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-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --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-- From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2013 21:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eric Hanchrow Cc: 14376@debbugs.gnu.org Received: via spool by 14376-submit@debbugs.gnu.org id=B14376.136813501914370 (code B ref 14376); Thu, 09 May 2013 21:31:01 +0000 Received: (at 14376) by debbugs.gnu.org; 9 May 2013 21:30:19 +0000 Received: from localhost ([127.0.0.1]:35082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaYPq-0003jj-LC for submit@debbugs.gnu.org; Thu, 09 May 2013 17:30:19 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:58045) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaYPp-0003ja-0s for 14376@debbugs.gnu.org; Thu, 09 May 2013 17:30:17 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r49LU9se028616; Thu, 9 May 2013 17:30:09 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6CBD6B40D8; Thu, 9 May 2013 17:30:09 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Thu, 09 May 2013 17:30:09 -0400 In-Reply-To: (Eric Hanchrow's message of "Thu, 9 May 2013 13:04:54 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4574=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4574> : streams <957512> : uri <1415947> X-Spam-Score: -4.7 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) > * M-x sql-mode RET > * M-< > * M-: (comment-search-forward (point-max) t) RET You failed to call comment-normalize-vars before calling comment-search-forward. Stefan From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 May 2013 05:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: 14376@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13681645516157 (code B ref -1); Fri, 10 May 2013 05:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 May 2013 05:42:31 +0000 Received: from localhost ([127.0.0.1]:35269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uag6B-0001bE-1U for submit@debbugs.gnu.org; Fri, 10 May 2013 01:42:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37621) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uag68-0001b0-Qn for submit@debbugs.gnu.org; Fri, 10 May 2013 01:42:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uag5z-0000mW-Hu for submit@debbugs.gnu.org; Fri, 10 May 2013 01:42:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:33180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uag5z-0000mS-FP for submit@debbugs.gnu.org; Fri, 10 May 2013 01:42:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uag5y-0004yR-62 for bug-gnu-emacs@gnu.org; Fri, 10 May 2013 01:42:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uag5x-0000m5-E9 for bug-gnu-emacs@gnu.org; Fri, 10 May 2013 01:42:18 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:50242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uag5x-0000lz-4z for bug-gnu-emacs@gnu.org; Fri, 10 May 2013 01:42:17 -0400 Received: from [192.168.178.21] (brln-4db9f0a2.pool.mediaWays.net [77.185.240.162]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MIf3g-1UYTAl0XdI-002Dq4; Fri, 10 May 2013 07:42:15 +0200 Message-ID: <518C8944.1080408@easy-emacs.de> Date: Fri, 10 May 2013 07:44:36 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:BDhUm0pwINb/y+1JHi7+WOxTdA/ZjH5Olvfy7jqgR/a N6t6T1Isf7nYpqm9eUBj7sbvg0O2Ic8nTKsGud02QuJ2FXTz/C k7PT8ykj7MWbBBcpP2wF2xbu3WEnV4m3tRdeqeZSJwdVdosdV0 BSRS0gUDvik7UfO8hbRL1nrOw7cRwtxMke9YrZFpNflfXXVYSN CaZ29RHgZfSL+h7v+sSxRyDZ9lTsoUCxvWq39wrZhwzXBQgL1h qt0XqaW4e20+02cPo12ESFtB2e+LDa4W4rqu77SkahB54ZapWy obD4tcJTCL8AVAPXmZ7nb+430SAaVbGbv60VBBR3KLqbDMvbW6 r+qkw9z/aXkOWXOA8a/e65F2IyfFQS3ecbNIxHmsx X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.5 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Am 09.05.2013 23:30, schrieb Stefan Monnier: >> * M-x sql-mode RET >> * M-< >> * M-: (comment-search-forward (point-max) t) RET > > You failed to call comment-normalize-vars before calling > comment-search-forward. > > > Stefan > > > > Shouldn't comment-search-forward do this by themselves? Can't see it's docu mentioning such a need. Cheers, Andreas From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 May 2013 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Andreas =?UTF-8?Q?R=C3=B6hler?= Cc: 14376@debbugs.gnu.org Received: via spool by 14376-submit@debbugs.gnu.org id=B14376.136821603323582 (code B ref 14376); Fri, 10 May 2013 20:01:01 +0000 Received: (at 14376) by debbugs.gnu.org; 10 May 2013 20:00:33 +0000 Received: from localhost ([127.0.0.1]:35910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UatUW-00068G-HQ for submit@debbugs.gnu.org; Fri, 10 May 2013 16:00:33 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:60538) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UatUU-000688-10 for 14376@debbugs.gnu.org; Fri, 10 May 2013 16:00:30 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r4AK0DbH022238; Fri, 10 May 2013 16:00:13 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 21744B4161; Fri, 10 May 2013 16:00:13 -0400 (EDT) From: Stefan Monnier Message-ID: References: <518C8944.1080408@easy-emacs.de> Date: Fri, 10 May 2013 16:00:13 -0400 In-Reply-To: <518C8944.1080408@easy-emacs.de> ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Fri, 10 May 2013 07:44:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4575=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4575> : streams <958156> : uri <1416838> X-Spam-Score: -4.8 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) >>> * M-x sql-mode RET >>> * M-< >>> * M-: (comment-search-forward (point-max) t) RET >> You failed to call comment-normalize-vars before calling >> comment-search-forward. > Shouldn't comment-search-forward do this by themselves? No. > Can't see it's docu mentioning such a need. ;; Prior to calling any `comment-*' function, you should ensure that ;; `comment-normalize-vars' is first called to set up the appropriate ;; variables; except for the `comment-*' commands, which call ;; `comment-normalize-vars' automatically as a subroutine. Stefan From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 May 2013 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: "'Stefan Monnier'" , "'Andreas =?UTF-8?Q?R=C3=B6hler'?=" Cc: 14376@debbugs.gnu.org Received: via spool by 14376-submit@debbugs.gnu.org id=B14376.136821934732252 (code B ref 14376); Fri, 10 May 2013 20:56:02 +0000 Received: (at 14376) by debbugs.gnu.org; 10 May 2013 20:55:47 +0000 Received: from localhost ([127.0.0.1]:35952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UauLv-0008O2-4b for submit@debbugs.gnu.org; Fri, 10 May 2013 16:55:45 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:49547) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UauLs-0008Ns-26 for 14376@debbugs.gnu.org; Fri, 10 May 2013 16:55:41 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r4AKtPYx010852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 10 May 2013 20:55:26 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4AKtO0i009026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 10 May 2013 20:55:25 GMT Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4AKtOBE000555; Fri, 10 May 2013 20:55:24 GMT Received: from dradamslap1 (/10.159.137.48) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 10 May 2013 13:55:24 -0700 From: "Drew Adams" References: <518C8944.1080408@easy-emacs.de> Date: Fri, 10 May 2013 13:55:22 -0700 Message-ID: <9C1778BBEAD2478F96E5C9DBA645A0B7@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac5NuReRuNdKIRwfRZWAXkItxzzTuwABLvQA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) > > Can't see it's docu mentioning such a need. ^^^^^^^^^ > > ;; Prior to calling any `comment-*' function, you should ensure that > ;; `comment-normalize-vars' is first called to set up the appropriate > ;; variables; except for the `comment-*' commands, which call > ;; `comment-normalize-vars' automatically as a subroutine. FWIW, a comment in the source code is hardly documentation for the functions concerned. Doc strings... See also bug #12583... This will probably keep coming up until there is some mention of it in the actual doc. From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 May 2013 08:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Stefan Monnier Cc: 14376@debbugs.gnu.org Received: via spool by 14376-submit@debbugs.gnu.org id=B14376.136826244426289 (code B ref 14376); Sat, 11 May 2013 08:55:02 +0000 Received: (at 14376) by debbugs.gnu.org; 11 May 2013 08:54:04 +0000 Received: from localhost ([127.0.0.1]:36214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ub5Z6-0006py-Cd for submit@debbugs.gnu.org; Sat, 11 May 2013 04:54:04 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:65054) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ub5Z2-0006pO-D7 for 14376@debbugs.gnu.org; Sat, 11 May 2013 04:54:01 -0400 Received: from [192.168.178.21] (brln-4dbc6de0.pool.mediaWays.net [77.188.109.224]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0M4a32-1UKon53Opw-00yhui; Sat, 11 May 2013 10:53:44 +0200 Message-ID: <518E07AB.7080205@easy-emacs.de> Date: Sat, 11 May 2013 10:56:11 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 References: <518C8944.1080408@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:5dNFpSTd7o+S+Wkc+pVlKCoik6kICAf/nh6/Fbxux18 UiY9AsJlbaKzf31k9zSm9gnOvJubbMIHcz5qD9G4VO3U0htHbC 0ZiakltpQDoTimsF7hJTr5uzgwPOZ8fTOMqSW/yUoCQBwKQbwX bQem1HV6YMhXMjNTvch53oCo1fB9TNIf8be/0tldtOqutFqUYI lF7+1kRX5tOB1hEp56GtHJhydIbR9PE2LVkP7omZ/nR/y0qSo+ 7ZPyNiJBjvhWgAYRe9R3mXpEJ+3t0JrB9w2RWHY+bv+MreBoQD OyJveGrqRplMJyMNoxbu99qyYfxlB+1aXPcrxpf0jgJteVuquN W0dzqcmQ/TGODx9K34hauyz2Kvwt1ryngTcXDdN58 X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Am 10.05.2013 22:00, schrieb Stefan Monnier: [ ... ] > ;; Prior to calling any `comment-*' function, you should ensure that > ;; `comment-normalize-vars' is first called to set up the appropriate > ;; variables; except for the `comment-*' commands, which call > ;; `comment-normalize-vars' automatically as a subroutine. > That's nice for people having no other business than playing with Emacs. It's not the computations state of art. While accepting some people are addicted to that way of living ;) Andreas From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Resent-From: Kevin Rodgers Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 May 2013 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: 14376@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.136853959110722 (code B ref -1); Tue, 14 May 2013 13:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2013 13:53:11 +0000 Received: from localhost ([127.0.0.1]:39628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UcFfC-0002mt-Vv for submit@debbugs.gnu.org; Tue, 14 May 2013 09:53:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34043) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UcFf8-0002mg-Nm for submit@debbugs.gnu.org; Tue, 14 May 2013 09:53:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcFeW-0003Oo-Ph for submit@debbugs.gnu.org; Tue, 14 May 2013 09:52:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.6 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFeW-0003Oc-Mw for submit@debbugs.gnu.org; Tue, 14 May 2013 09:52:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFeS-0000O7-8I for bug-gnu-emacs@gnu.org; Tue, 14 May 2013 09:52:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcFeO-0003NL-0W for bug-gnu-emacs@gnu.org; Tue, 14 May 2013 09:52:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:40798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFeN-0003NE-Pi for bug-gnu-emacs@gnu.org; Tue, 14 May 2013 09:52:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UcFeL-000437-PQ for bug-gnu-emacs@gnu.org; Tue, 14 May 2013 15:52:17 +0200 Received: from 71-215-72-36.hlrn.qwest.net ([71.215.72.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 May 2013 15:52:17 +0200 Received: from kevin.d.rodgers by 71-215-72-36.hlrn.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 May 2013 15:52:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: Kevin Rodgers Date: Tue, 14 May 2013 07:52:40 -0600 Lines: 19 Message-ID: References: <518C8944.1080408@easy-emacs.de> <518E07AB.7080205@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 71-215-72-36.hlrn.qwest.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 In-Reply-To: <518E07AB.7080205@easy-emacs.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) On 5/11/13 2:56 AM, Andreas Röhler wrote: > Am 10.05.2013 22:00, schrieb Stefan Monnier: > [ ... ] >> ;; Prior to calling any `comment-*' function, you should ensure that >> ;; `comment-normalize-vars' is first called to set up the appropriate >> ;; variables; except for the `comment-*' commands, which call >> ;; `comment-normalize-vars' automatically as a subroutine. >> > > That's nice for people having no other business than playing with Emacs. > It's not the computations state of art. > > While accepting some people are addicted to that way of living ;) Such as OP, who does M-: (comment-search-forward (point-max) t) RET -- Kevin Rodgers Denver, Colorado, USA From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2013 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: 14376@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.136864565324872 (code B ref -1); Wed, 15 May 2013 19:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 May 2013 19:20:53 +0000 Received: from localhost ([127.0.0.1]:46403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UchFp-0006T3-AM for submit@debbugs.gnu.org; Wed, 15 May 2013 15:20:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40041) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UchFi-0006Sh-3J for submit@debbugs.gnu.org; Wed, 15 May 2013 15:20:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UchFS-0004QE-09 for submit@debbugs.gnu.org; Wed, 15 May 2013 15:20:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:54725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UchFR-0004Q9-T8 for submit@debbugs.gnu.org; Wed, 15 May 2013 15:20:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UchFI-0003cy-Cp for bug-gnu-emacs@gnu.org; Wed, 15 May 2013 15:20:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UchFD-0004Mc-Rt for bug-gnu-emacs@gnu.org; Wed, 15 May 2013 15:20:16 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:49827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UchFD-0004MU-Jt for bug-gnu-emacs@gnu.org; Wed, 15 May 2013 15:20:11 -0400 Received: from [192.168.178.21] (brln-4db9f307.pool.mediaWays.net [77.185.243.7]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MaDyS-1UwPx41Hjc-00JsuA; Wed, 15 May 2013 21:20:10 +0200 Message-ID: <5193E082.2060008@easy-emacs.de> Date: Wed, 15 May 2013 21:22:42 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 References: <518C8944.1080408@easy-emacs.de> <518E07AB.7080205@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:hi5c6Tq042S/K51MnjwJNqsuDzmR2MljWPsmKXGK6VY GW6mYsbybsC+KZykElz3JwEkCxl6nBnmMLUTlJSQCDbBzFM7CY GdjaMtfguRJDRFZM5aWdDr7lhyEVkj6P5rMtO8QuVFq6m/r+0t 8iWEAlHYuOnXWapbDKNU2d4+v7amBg8jEoD7KkC0uH/bu7gn+i yQSYQRKa5GjIh8pwjhY68yQNHowjrJO5gT6PffhOFl6WeOqq8D ja1XrrtD+A+S3s3kcXdjozt8l1WOqwDYzAda6D1hYaCyG24QP5 R/PN0h4/tKrPjjdcQnYkZCsDcPOBWa68+odJUwp/NPtGTewznz CCA0FF79zD0Nyd7r8mo+t144Z24RxRRl4ljLB6qVk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Am 14.05.2013 15:52, schrieb Kevin Rodgers: > On 5/11/13 2:56 AM, Andreas Röhler wrote: >> Am 10.05.2013 22:00, schrieb Stefan Monnier: >> [ ... ] >>> ;; Prior to calling any `comment-*' function, you should ensure that >>> ;; `comment-normalize-vars' is first called to set up the appropriate >>> ;; variables; except for the `comment-*' commands, which call >>> ;; `comment-normalize-vars' automatically as a subroutine. >>> >> >> That's nice for people having no other business than playing with Emacs. >> It's not the computations state of art. >> >> While accepting some people are addicted to that way of living ;) > > Such as OP, who does M-: (comment-search-forward (point-max) t) RET > hmm? BTW get this error with sql-mode only, but not with emacs-lisp or even text-mode From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 13:43:15 2013 Received: (at control) by debbugs.gnu.org; 18 Jun 2013 17:43:15 +0000 Received: from localhost ([127.0.0.1]:53564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uozw2-00028u-R0 for submit@debbugs.gnu.org; Tue, 18 Jun 2013 13:43:15 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48107 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uozw0-00028e-Nl for control@debbugs.gnu.org; Tue, 18 Jun 2013 13:43:13 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Uozw0-0005Dh-CZ for control@debbugs.gnu.org; Tue, 18 Jun 2013 13:43:12 -0400 Date: Tue, 18 Jun 2013 13:43:12 -0400 Message-Id: Subject: control message for bug 14655 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.2 (------) forcemerge 14376 14655 From unknown Sun Jun 22 17:16:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eric Hanchrow Subject: bug#14376: closed (Re: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error) Message-ID: References: X-Gnu-PR-Message: they-closed 14376 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 14376@debbugs.gnu.org Date: Tue, 18 Jun 2013 17:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1371578342-13913-1" This is a multi-part message in MIME format... ------------=_1371578342-13913-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14376: 24.3; comment-search-forward in SQL-mode raises an error which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14376@debbugs.gnu.org. --=20 14376: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14376 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1371578342-13913-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14376-done) by debbugs.gnu.org; 18 Jun 2013 17:58:57 +0000 Received: from localhost ([127.0.0.1]:53580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up0BF-0003c4-B5 for submit@debbugs.gnu.org; Tue, 18 Jun 2013 13:58:57 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48358 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up0BD-0003bx-VH for 14376-done@debbugs.gnu.org; Tue, 18 Jun 2013 13:58:56 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Up0BC-000266-Qe; Tue, 18 Jun 2013 13:58:54 -0400 From: Glenn Morris To: 14376-done@debbugs.gnu.org Subject: Re: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error References: X-Spook: CDMA fraud Maple Armani HAMASMOIS subversive target X-Ran: U)+PuBUio.BQ'D\jj-)h-5+5+oF46[j& (Eric Hanchrow's message of "Thu, 9 May 2013 13:04:54 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 14376-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.2 (------) Version: 24.4 Mentioned comment-normalize-vars in the comment-search-forward doc. ------------=_1371578342-13913-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 May 2013 20:05:36 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 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 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 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 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 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) MIME-Version: 1.0 Received: by 10.152.5.165 with HTTP; Thu, 9 May 2013 13:04:54 -0700 (PDT) From: Eric Hanchrow Date: Thu, 9 May 2013 13:04:54 -0700 Message-ID: Subject: 24.3; comment-search-forward in SQL-mode raises an error To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=14dae9cfc706971fab04dc4e9106 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-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --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-- ------------=_1371578342-13913-1-- From unknown Sun Jun 22 17:16:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Thorsten Jolitz Subject: bug#14655: closed (Re: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error) Message-ID: References: <87ppvjjpis.fsf@gmail.com> X-Gnu-PR-Message: they-closed 14655 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 14655@debbugs.gnu.org Date: Tue, 18 Jun 2013 17:59:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1371578343-13913-3" This is a multi-part message in MIME format... ------------=_1371578343-13913-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14376: 24.3; (looking-at comment-start-skip) in newcomment.el which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14655@debbugs.gnu.org. --=20 14376: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14376 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1371578343-13913-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14376-done) by debbugs.gnu.org; 18 Jun 2013 17:58:57 +0000 Received: from localhost ([127.0.0.1]:53580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up0BF-0003c4-B5 for submit@debbugs.gnu.org; Tue, 18 Jun 2013 13:58:57 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48358 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up0BD-0003bx-VH for 14376-done@debbugs.gnu.org; Tue, 18 Jun 2013 13:58:56 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Up0BC-000266-Qe; Tue, 18 Jun 2013 13:58:54 -0400 From: Glenn Morris To: 14376-done@debbugs.gnu.org Subject: Re: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error References: X-Spook: CDMA fraud Maple Armani HAMASMOIS subversive target X-Ran: U)+PuBUio.BQ'D\jj-)h-5+5+oF46[j& (Eric Hanchrow's message of "Thu, 9 May 2013 13:04:54 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 14376-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.2 (------) Version: 24.4 Mentioned comment-normalize-vars in the comment-search-forward doc. ------------=_1371578343-13913-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Jun 2013 17:37:23 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 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 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 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 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 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) 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) From: Thorsten Jolitz To: bug-gnu-emacs@gnu.org Subject: 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> User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) 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 ------------=_1371578343-13913-3-- From unknown Sun Jun 22 17:16:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14376: 24.3; comment-search-forward in SQL-mode raises an error Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jun 2013 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Glenn Morris , 14376-done@debbugs.gnu.org Received: via spool by 14376-done@debbugs.gnu.org id=D14376.137158038418424 (code D ref 14376); Tue, 18 Jun 2013 18:34:01 +0000 Received: (at 14376-done) by debbugs.gnu.org; 18 Jun 2013 18:33:04 +0000 Received: from localhost ([127.0.0.1]:53646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up0iF-0004n3-7K for submit@debbugs.gnu.org; Tue, 18 Jun 2013 14:33:03 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:50251) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up0iC-0004mT-Ov for 14376-done@debbugs.gnu.org; Tue, 18 Jun 2013 14:33:01 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5IIWpLj003927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 18 Jun 2013 18:32:52 GMT Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5IIWrHE004117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jun 2013 18:32:54 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5IIWrXs024934; Tue, 18 Jun 2013 18:32:53 GMT MIME-Version: 1.0 Message-ID: <187f39e5-7ecf-405a-85eb-330f409db7b3@default> Date: Tue, 18 Jun 2013 11:32:53 -0700 (PDT) From: Drew Adams References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) > Mentioned comment-normalize-vars in the comment-search-forward doc. Ah, OK. I didn't see this message. That should help. Thx.