From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: sciamano@yandex.ru Newsgroups: gmane.emacs.bugs Subject: bug#30494: 25.2; (setting-constant nil) error in sql.el Date: Fri, 16 Feb 2018 22:52:28 +0100 Message-ID: <20180216214220.GA29493@localhost> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1518818382 25341 195.159.176.226 (16 Feb 2018 21:59:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Feb 2018 21:59:42 +0000 (UTC) User-Agent: Mutt/1.9.3 (2018-01-21) To: 30494@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 16 22:59:38 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emo2G-00050G-Ch for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Feb 2018 22:59:16 +0100 Original-Received: from localhost ([::1]:37111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emo4F-0002ZH-Ma for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Feb 2018 17:01:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emo3z-0002Xk-Ra for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2018 17:01:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emo3z-0001D5-4N for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2018 17:01:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39409) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emo3y-0001Ct-Vy for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2018 17:01:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emo3y-0007So-L8 for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2018 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: sciamano@yandex.ru Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Feb 2018 22:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30494 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.151881846128677 (code B ref -1); Fri, 16 Feb 2018 22:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2018 22:01:01 +0000 Original-Received: from localhost ([127.0.0.1]:47306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emo3x-0007SR-JW for submit@debbugs.gnu.org; Fri, 16 Feb 2018 17:01:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emnw4-0007FX-El for submit@debbugs.gnu.org; Fri, 16 Feb 2018 16:52:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emnvy-0005Nb-Gv for submit@debbugs.gnu.org; Fri, 16 Feb 2018 16:52:47 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35203) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1emnvy-0005NT-Cb for submit@debbugs.gnu.org; Fri, 16 Feb 2018 16:52:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emnvx-0005MY-Cs for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2018 16:52:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emnvw-0005Mu-MU for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2018 16:52:45 -0500 Original-Received: from forward104o.mail.yandex.net ([2a02:6b8:0:1a2d::607]:40887) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1emnvw-0005M8-84 for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2018 16:52:44 -0500 Original-Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 9A5B370122D for ; Sat, 17 Feb 2018 00:52:30 +0300 (MSK) Original-Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback9j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id beyx7A2XSc-qUXa8wha; Sat, 17 Feb 2018 00:52:30 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1518817950; bh=GW5bhblz4r80Etvis+q2VrpW6Ey0VL6NoSnvNwUKpO0=; h=Date:From:To:Subject:Message-ID; b=VoXkDP+JPbaOMGIjsJ/o5od8kGp7HzSMtK3EUiZ61DB8E+C3BBhDDQ1BOfzcghtBn BvCy8PmMpg47ght9kTYvVqaXJ07M2OZ+3ogS5Us8ndyPuSyLRVf3BX3RSjmbuHxlCG PaUk+oSpxhBSweKljftm/8XFb2iGZH/opp+fQ8E4= Original-Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id YN6uVG50GT-qTvSWtoa; Sat, 17 Feb 2018 00:52:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1518817949; bh=GW5bhblz4r80Etvis+q2VrpW6Ey0VL6NoSnvNwUKpO0=; h=Date:From:To:Subject:Message-ID; b=Qq5LGXioFGRv+kqicUF6A8doweKleDQFwFZbn9SG8zRJWOLwtqeodi3ktt+SXCyRh z9/bIxv7+sLsaECL0Bp4sDyUf3F2rzyVx0QBHai8u92aaBaChZRDoZlV5wXEhsQi26 j6AYiUaQM2Y0RpDq9Cp3LnZ6OY+FPPNDujLP8FSQ= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Fri, 16 Feb 2018 17:01:01 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:143356 Archived-At: Hi, i'm trying to add SQL product by following steps from the introduction section in the sql.el, but for the settings :sqli-program :sqli-login :sqli-options it fails with "attemt to set a constant symbol: nil" 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) ;; BUT THIS TWO ARE OK (sql-set-product-feature 'xyz :prompt-regexp "^xyzdb> ") (sql-set-product-feature 'xyz :prompt-length 7) -- Denis