unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: pierre.techoueyres@free.fr (Pierre Téchoueyres)
To: Noam Postavsky <npostavs@gmail.com>
Cc: sciamano@yandex.ru, 30494@debbugs.gnu.org
Subject: bug#30494: 25.2; (setting-constant nil) error in sql.el
Date: Sun, 23 Dec 2018 20:51:44 +0100	[thread overview]
Message-ID: <87bm5cnhrj.fsf@killashandra.ballybran.fr> (raw)
In-Reply-To: <875zvx8bbb.fsf@killashandra.ballybran.fr> ("Pierre \=\?utf-8\?Q\?T\=C3\=A9choueyres\=22's\?\= message of "Thu, 13 Dec 2018 20:40:40 +0100")

pierre.techoueyres@free.fr (Pierre Téchoueyres) writes:

> pierre.techoueyres@free.fr (Pierre Téchoueyres) writes:
>
>> Noam Postavsky <npostavs@gmail.com> writes:
>>
>>> tags 30494 + confirmed easy
>>> quit
>>>
>>> sciamano@yandex.ru writes:
>>>
>>>> In 'emacs -Q' executing it step-by-step:
>>>>
>>>> (require 'sql)
>>>>
>>>> (sql-add-product 'xyz "XyzDB"
>>>>                  '(:free-software t))
>>>>
>>>> (defcustom my-sql-xyz-program "ixyz"
>>>>   "Command to start ixyz by XyzDB."
>>>>   :type 'file
>>>>   :group 'SQL)
>>>>
>>>> ;; NEXT STEP FAILS WITH:
>>>> ;; Debugger entered--Lisp error: (setting-constant nil)
>>>> ;;  sql-set-product-feature(xyz :sqli-program my-sql-xyz-program)
>>>> ;;  eval((sql-set-product-feature (quote xyz) :sqli-program (quote my-sql-xyz-program)) nil)
>>>> (sql-set-product-feature 'xyz
>>>>                          :sqli-program 'my-sql-xyz-program)
>>>
>>> Looks like it's probably just a missing nil check in
>>> sql-set-product-feature.
>>>
>>
>> Does the attached patch do the trick ?
>>
> Any interrest on this ?

Ping ! Or if this isn't desired, maybe it's time to close the bug ?





  reply	other threads:[~2018-12-23 19:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16 21:52 bug#30494: 25.2; (setting-constant nil) error in sql.el sciamano
2018-03-09  1:18 ` Noam Postavsky
2018-12-01  0:30   ` Pierre Téchoueyres
2018-12-13 19:40     ` Pierre Téchoueyres
2018-12-23 19:51       ` Pierre Téchoueyres [this message]
2019-01-08 22:00         ` Pierre Téchoueyres
2019-01-12 11:35           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bm5cnhrj.fsf@killashandra.ballybran.fr \
    --to=pierre.techoueyres@free.fr \
    --cc=30494@debbugs.gnu.org \
    --cc=npostavs@gmail.com \
    --cc=sciamano@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).