GNU bug report logs - #25424
25.1; sql-mode, product mysql: sql-end-of-statement: Wrong type argument: stringp, nil

Previous Next

Package: emacs;

Reported by: Tijs Mallaerts <tijs.mallaerts <at> gmail.com>

Date: Wed, 11 Jan 2017 22:55:02 UTC

Severity: normal

Merged with 30090

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30090: closed (sql.el beginning-of-statement and
 end-of-statement result in an error)
Date: Sun, 24 Mar 2019 19:53:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 24 Mar 2019 21:52:17 +0200
with message-id <838sx4nj7y.fsf <at> gnu.org>
and subject line Re: bug#25424:
has caused the debbugs.gnu.org bug report #25424,
regarding sql.el beginning-of-statement and end-of-statement result in an error
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
25424: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25424
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jarosław Rzeszótko <jrzeszotko <at> gmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: sql.el beginning-of-statement and end-of-statement result in an error
Date: Fri, 12 Jan 2018 12:38:23 +0100
[Message part 3 (text/plain, inline)]
Sql mode beginning-of-statement and end-of-statement commands depend on the
:terminator property being set for sql-product, however only a few products
in sql.el have it defined, and there is no fallback value - prominently the
'ansi product does not have :terminator set. In effect if you sql mode will
product set to anything other than the few products that have :terminator
specified, you will get an error on using beginning-of-statement /
end-of-statement, that looks like this:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  looking-at(nil)
  sql-end-of-statement(1)
  funcall-interactively(sql-end-of-statement 1)
  call-interactively(sql-end-of-statement nil nil)
  command-execute(sql-end-of-statement)
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Mauger <mmauger <at> protonmail.com>
Cc: tijs.mallaerts <at> gmail.com, 25424-done <at> debbugs.gnu.org
Subject: Re: bug#25424:
Date: Sun, 24 Mar 2019 21:52:17 +0200
> Date: Sun, 24 Mar 2019 19:31:11 +0000
> From: Michael Mauger <mmauger <at> protonmail.com>
> Cc: "tijs.mallaerts <at> gmail.com" <tijs.mallaerts <at> gmail.com>, "michael <at> mauger.com" <michael <at> mauger.com>, "25424 <at> debbugs.gnu.org" <25424 <at> debbugs.gnu.org>
> 
> > Thanks. I see you already made a change; should we now close this bug
> > report?
> 
> Yes, it should now be all set. The bug can be closed.

Done, thanks.


This bug report was last modified 6 years and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.