From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SMYuMZyUc2RgYQEASxT56A (envelope-from ) for ; Sun, 28 May 2023 19:51:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CNiUMJyUc2QKBgAAG6o9tA (envelope-from ) for ; Sun, 28 May 2023 19:51:24 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3DB8097FE for ; Sun, 28 May 2023 19:51:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3KXC-0001Eb-MH; Sun, 28 May 2023 13:50:26 -0400 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 1q3KXA-0001ET-I4 for emacs-orgmode@gnu.org; Sun, 28 May 2023 13:50:24 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3KX8-0006Ig-Ig for emacs-orgmode@gnu.org; Sun, 28 May 2023 13:50:24 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 71A042696A; Sun, 28 May 2023 13:50:20 -0400 (EDT) (envelope-from wtd@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:in-reply-to:message-id:references:mime-version :content-type:content-id; s=sasl; bh=rQ2nAH+Uq8MswwlODNKzzHhMYMf dtpopbPz4jmY6ehw=; b=aK94OFTd1Nd5wE0jH2KDgqgmvrfqgoh+KFaX5TxK5k5 /pD7cWaCYnNtNMC4ivOoWhyAKRKUbbPO1g/+jauh5pADOSfdAfuesVXRvEKl5LQx Mh/d7ZkXrjDt7QiWcAVrXVCTMb8Hf3NV2gn0XYyMovcMc9z0K6LrQj0XKfiCcEqA = Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 5C83A26969; Sun, 28 May 2023 13:50:20 -0400 (EDT) (envelope-from wtd@pobox.com) Received: from shell3.miskatonic.org (unknown [199.103.62.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id B1E3926968; Sun, 28 May 2023 13:50:17 -0400 (EDT) (envelope-from wtd@pobox.com) Received: by shell3.miskatonic.org (Postfix, from userid 1000) id C542A1203DF; Sun, 28 May 2023 13:50:15 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by shell3.miskatonic.org (Postfix) with ESMTP id C1ACD1200CB; Sun, 28 May 2023 13:50:15 -0400 (EDT) Date: Sun, 28 May 2023 13:50:15 -0400 (EDT) From: William Denton X-X-Sender: wtd@shell3.miskatonic.org To: "Berry, Charles" cc: emacs-orgmode Subject: Re: Preserving leading zeros In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1741096510-1913684341-1685294759=:91074" Content-ID: X-Pobox-Relay-ID: 1B8122A6-FD80-11ED-A9A5-C2DA088D43B2-56320186!pb-smtp20.pobox.com Received-SPF: pass client-ip=173.228.157.52; envelope-from=wtd@pobox.com; helo=pb-smtp20.pobox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685296284; a=rsa-sha256; cv=none; b=oSxrO5S+3EiPnlryJJQB8pC3+QII240AhdZvvSAyhTJRC9m4BVe1HKOrbWROH7UOXPZM6d 0rudU8JfSnemIvoP+PdeMtfkCMzn7fteNUXpQKC5X3haUvO/kfiWHgYSFUMEe/7Di3OV2+ HjYKEI1xjY6L7TKHTZCpcD1d/sTdgeP4AWseVueewlu3SkA7qZ2urTbVW1e97Zh0RaEQrM B3d0oTaq2uvTAXhhHDiNCXR3NXvCpjgnlCk4o2gmVZk89TquMmI96VbpWwWvc4GWxCx4ZQ 5lw8Sa1zcuEq4ZD5tGZKkmSRvr50JMaZtEKzCA4VnWHKLyhFJLrXxuxHWr6A3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=aK94OFTd; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685296284; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6Cw2KqJ6nAqCyeZuB6Vg6vhc3v8DzCHLAvvsspId/TU=; b=isfgrWaT5RCfDtejunRYSolvKlGJ83jkmyLb0DdkBpfEAhYI408iL+aGjCvzGOXJ+zhF+7 J0/zannacTULZIHdxZtdryk5TDV9RPFDVomZZ3BsOFCxIppygQd1cA45wM7nG74F60bgxW ou/MiabhOv9yuTZP8F8zPNlyXvoCvxMtRzQpFm7kqnUBhoExxs75eedzVrSLomRPoV6Ize Lp64wwnUSTRr2HPynHUte+rk+448c+gH109NkAFKgqJb0rXrlkzJKgLLIF+S3NlClKJHcb zZYArIW1mkADqGNJ0Bx0NeNEoEthDH+TaaFzTatOY6x9Ez+tUF+XFmbJh5rsyg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=aK94OFTd; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.02 X-Spam-Score: -5.02 X-Migadu-Queue-Id: 3DB8097FE X-TUID: QsttpeoRdZPr This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1741096510-1913684341-1685294759=:91074 Content-Type: text/plain; CHARSET=UTF-8; format=flowed Content-ID: Content-Transfer-Encoding: quoted-printable On 28 May 2023, Berry, Charles wrote: > Have you considered http://gewhere.github.io/org-bibtex ?? > > Or using the approach therein, viz. use properties to store bib data in= org? That would be great for a smaller bibliography, but I'm dealing with over= 2,400=20 books. They're in a simple database now, with a web front end I wrote ov= er=20 twenty years ago in Perl. Amazingly it's worked ever since, maybe with o= ne fix=20 required along the way, but some update to a library or package broke it=20 recently and I haven't figured out why yet. Even if I do, I'm thinking i= t's=20 time to get away from that code. I don't feel like getting into the overhead of writing a new web-based sy= stem,=20 so I might try managing the database through Org with R. I was thinking = I might=20 add a new book by having a table like this, which the code would read and= =20 operate on: | isbn | title | pub_date | |------------+------------------+----------+ | 0006145396 | A Buyer's Market | 1952 | I guess I could have the code pad the left with zeros if the ISBN is a nu= mber=20 with fewer than 10 digits. That way I'd see the right ISBN on the screen= , and=20 if Emacs removes the zeros they get put back before it's added to the=20 catalogue. Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada CO=E2=82=82: 424.57 ppm (Mauna Loa Observatory, 2023-05-27) --1741096510-1913684341-1685294759=:91074--