GNU bug report logs - #30090
sql.el beginning-of-statement and end-of-statement result in an error

Previous Next

Package: emacs;

Reported by: Jarosław Rzeszótko <jrzeszotko <at> gmail.com>

Date: Fri, 12 Jan 2018 16:33:02 UTC

Severity: normal

Merged with 25424

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: Jarosław Rzeszótko <jrzeszotko <at> gmail.com>
To: 30090 <at> debbugs.gnu.org
Subject: bug#30090: sql.el beginning-of-statement and end-of-statement result in an error
Date: Fri, 12 Jan 2018 12:38:23 +0100
[Message part 1 (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 2 (text/html, inline)]

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

Previous Next


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