From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18381 invoked from network); 2 Oct 2021 11:40:19 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 2 Oct 2021 11:40:19 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mWdNK-00EeBq-E1 for ml@inbox.vuxu.org; Sat, 02 Oct 2021 06:40:18 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1mWdNJ-007d9L-SX for ml@inbox.vuxu.org; Sat, 02 Oct 2021 06:40:17 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1mWdNI-007d9F-RJ for ding@lists.math.uh.edu; Sat, 02 Oct 2021 06:40:16 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mWdNG-00EeBY-Ew for ding@lists.math.uh.edu; Sat, 02 Oct 2021 06:40:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WWCOPsyq7Xk9AjjIB062flmmJLyS2wfXuyTpiatzPBA=; b=K4EbySu62MD6qcDyl9Nxtj1fC8 IOObK5Q3rYMWzm/N/WM8kjeVzb8z0v/yHrMZ6p8lKJUjDmfyGZLQ5MOoTBkK+PC1D43pOo/K5hiqy xXlMoaf9UDShmSwNjJAN6x8WL6jyrsgZfyEuD7Xtna/yeKiFBq2iKntHtkWC0HCbBVHY=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWdN9-0001mR-PI for ding@gnus.org; Sat, 02 Oct 2021 13:40:10 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mWdN8-0002vc-53 for ding@gnus.org; Sat, 02 Oct 2021 13:40:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org To: ding@gnus.org From: Steinar Bang Subject: Re: Trying to use gnus-cloud: what's the pinentry dialog? (and how can I get rid of it?) Date: Sat, 02 Oct 2021 13:39:58 +0200 Organization: Probably a good idea Message-ID: <8635pjd59t.fsf@dod.no> References: <86ilywektx.fsf@dod.no> <86fsu0k5w3.fsf@dod.no> <86bl4ok58z.fsf@dod.no> <867dfck4g9.fsf@dod.no> <86mto3gwkj.fsf@dod.no> <86v92rwbyw.fsf@dod.no> <86lf3nw6su.fsf@dod.no> <86czozw5mo.fsf@dod.no> <867devd5uu.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cancel-Lock: sha1:L43YeDSvbMn9p8A6qfCdLHKTTe8= Mail-Copies-To: never List-ID: Precedence: bulk >>>>> Steinar Bang : > The .gnus.el file is 487 lines and (- 16241 487) is 15754 and taking the > 15754 ends the file in the correct place, so that seems right. > What would be the best way to make this less fragile, I wonder...? > The current value is just the size of the buffer: > https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/gnus/gnus-cloud.el#n98 To take the length of data in bytes, instead of the size of the buffer, should be always correct, without changing any of the other assumptions of the code.