From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58885: 29.0.50; Incorrect sqlite-select docstring Date: Sun, 30 Oct 2022 10:32:11 +0200 Message-ID: <83v8o1g19w.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13356"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58885@debbugs.gnu.org To: Andrew Hyatt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 30 09:33:23 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1op3kw-0003Hy-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Oct 2022 09:33:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1op3kd-0003CW-T3; Sun, 30 Oct 2022 04:33:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op3kc-0003C7-18 for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 04:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1op3kb-0003Vj-OQ for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 04:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1op3kb-0004oj-JH for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 04:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Oct 2022 08:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58885 X-GNU-PR-Package: emacs Original-Received: via spool by 58885-submit@debbugs.gnu.org id=B58885.166711875718482 (code B ref 58885); Sun, 30 Oct 2022 08:33:01 +0000 Original-Received: (at 58885) by debbugs.gnu.org; 30 Oct 2022 08:32:37 +0000 Original-Received: from localhost ([127.0.0.1]:37304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op3kD-0004o1-Ds for submit@debbugs.gnu.org; Sun, 30 Oct 2022 04:32:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op3kB-0004nd-FY for 58885@debbugs.gnu.org; Sun, 30 Oct 2022 04:32:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op3k6-0003Pn-7N; Sun, 30 Oct 2022 04:32:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ru6FHtSCyzeIUG2ShXltwfSYyKdZ8615zbxU7kFQfNc=; b=EXZ7WzQ2U2cP BZjBqAska8bIOJ25tdAOSsaRM+FumsHd0xkqP2oTHnGVHUn/kF4HZyf15d63vS8YWVErxCNTymNcr R2xx8v5y1z6HHk7W8t180yHeYtfVH+llB5L5+EnOH/iiUeCUaInGdIYbIrHv3RK/0NmGtggebVkLe nFblmvMeiJ2xpajpRoeZG6eWw5jboV/iUv0LuC8JIa6WjW79VWMngRHGHTuQjqn05ORdVoICK24X+ o8qMfR7ZJTS5Ijn2eG1b2S0/d8E9uaB2KgHt3Hq3xCGYi/25XhBRH2N6ljbqjA+H/Om3dtt0ec1Pp ubZ8gamZJqhk8zfyfjy0NA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op3k5-0000oK-HE; Sun, 30 Oct 2022 04:32:29 -0400 In-Reply-To: (message from Andrew Hyatt on Sun, 30 Oct 2022 00:54:17 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246600 Archived-At: > From: Andrew Hyatt > Date: Sun, 30 Oct 2022 00:54:17 -0400 > > The docstring for sqlite-select says "By default, the return value > is a list where the first element is a list of column names, and > the rest of the elements are the matching data." But this isn't > true, by default, the value of RETURN-TYPE in that function is > nil, which does not prepend the list of column names. I don't > think anything more is necessary then removing this line, because > the rest of the docstring has sufficient explanation. > > Patch included. Thanks. I think it does make sense to say that the default return value is a list. So I fixed this in a different way, please take a look.