From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.bugs Subject: bug#58363: [PATCH 2/3] Introduce a new sqlite-error Date: Sat, 22 Oct 2022 12:47:10 +0200 Message-ID: <871qr0rv81.fsf@bernoul.li> References: <87v8orky2u.fsf@gnus.org> <20221021210636.13329-1-jonas@bernoul.li> <20221021210636.13329-3-jonas@bernoul.li> <8735bg8bjy.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19486"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58363@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 22 13:22:47 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 1omCaT-0004pb-Qn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Oct 2022 13:22:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omC2u-0007PR-Lj; Sat, 22 Oct 2022 06:48:04 -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 1omC2t-0007PI-1P for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2022 06:48:03 -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 1omC2s-0004so-Im for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2022 06:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omC2s-0000bR-EC for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2022 06:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jonas Bernoulli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Oct 2022 10:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58363 X-GNU-PR-Package: emacs Original-Received: via spool by 58363-submit@debbugs.gnu.org id=B58363.16664356352156 (code B ref 58363); Sat, 22 Oct 2022 10:48:02 +0000 Original-Received: (at 58363) by debbugs.gnu.org; 22 Oct 2022 10:47:15 +0000 Original-Received: from localhost ([127.0.0.1]:39785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omC26-0000Yi-J6 for submit@debbugs.gnu.org; Sat, 22 Oct 2022 06:47:14 -0400 Original-Received: from mail.hostpark.net ([212.243.197.30]:58060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omC24-0000YZ-Fz for 58363@debbugs.gnu.org; Sat, 22 Oct 2022 06:47:13 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id E0025163CB; Sat, 22 Oct 2022 12:47:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received; s=sel2011a; t=1666435630; bh=4ETCfYe3XdVPJgae7pLLS/i2 PO9+sRsOThcndZwuHVg=; b=D7k9NExMYOK13y1fgkVbhV+WEvodUZU6cs3HA4mW bae7XFCWNUG+bGKbOxDS1pKZmrLOPgmtKXCJINyE2K3swa9aA7shMQJciJkcny1K H1xEHqysTHUPbg+qLuEOC4AOX3RjIWskf++h5PLi6UxcC/7c+FQR9y46QuKSV6qW xUM= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id y8ZLsKZGSEVC; Sat, 22 Oct 2022 12:47:10 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id AFA2A162AB; Sat, 22 Oct 2022 12:47:10 +0200 (CEST) In-Reply-To: <8735bg8bjy.fsf@gmx.de> 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@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246035 Archived-At: Michael Albinus writes: > Jonas Bernoulli writes: > > Hi Jonas, > >> + DEFSYM (Qsqlite_error, "sqlite-error"); >> + Fput (Qsqlite_error, Qerror_conditions, >> + Fpurecopy (list2 (Qsqlite_error, Qerror))); >> + Fput (Qsqlite_error, Qerror_message, >> + build_pure_c_string ("Database error")); >> + >> DEFSYM (Qsqlite_locked_error, "sqlite-locked-error"); >> Fput (Qsqlite_locked_error, Qerror_conditions, >> - Fpurecopy (list2 (Qsqlite_locked_error, Qerror))); >> + Fpurecopy (list3 (Qsqlite_locked_error, Qsqlite_error, Qerror))); >> Fput (Qsqlite_locked_error, Qerror_message, >> build_pure_c_string ("Database locked")); > > I'm not sure about our policy, but shouldn't error symbols in the C core > be documented in the manual, node "(elisp) Standard Errors"? > > Best regards, Michael. I don't know but that section begins with > Here is a list of the more important error symbols in standard Emacs, Maybe this new error symbol falls into that category. sqlite-locked-error wasn't documented on that page, so I didn't do it for this either, for now.