From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simon Pugnet Newsgroups: gmane.emacs.bugs Subject: bug#54443: 29.0.50; decipher.el: (wrong-type-argument bufferp nil) when calling decipher-digram-list (and others) Date: Fri, 18 Mar 2022 09:07:00 +0000 Message-ID: <874k3v4ok1.fsf@polaris64.net> References: <878rt74sos.fsf@polaris64.net> <838rt7hdb4.fsf@gnu.org> Reply-To: Simon Pugnet Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_pZc3xUsHI54Uzn3hECCr1urlBj7mgFFWCCHoKWP93GQ" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2024"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54443@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 18 10:08:10 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 1nV8af-0000JO-Sa for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Mar 2022 10:08:10 +0100 Original-Received: from localhost ([::1]:50886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nV8ae-000432-La for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Mar 2022 05:08:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV8aY-00042e-35 for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 05:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nV8aX-0000Oc-Qh for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 05:08:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nV8aX-0001cI-Lr for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 05:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Pugnet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Mar 2022 09:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54443 X-GNU-PR-Package: emacs Original-Received: via spool by 54443-submit@debbugs.gnu.org id=B54443.16475944376156 (code B ref 54443); Fri, 18 Mar 2022 09:08:01 +0000 Original-Received: (at 54443) by debbugs.gnu.org; 18 Mar 2022 09:07:17 +0000 Original-Received: from localhost ([127.0.0.1]:56256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV8Zp-0001bE-H3 for submit@debbugs.gnu.org; Fri, 18 Mar 2022 05:07:17 -0400 Original-Received: from mail-4323.proton.ch ([185.70.43.23]:32898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV8Zn-0001ay-Rq for 54443@debbugs.gnu.org; Fri, 18 Mar 2022 05:07:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polaris64.net; s=protonmail3; t=1647594429; bh=vMKe7uetg5B7czv62OJMg26SQnNaWcsEAucbeIVFft8=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=WhuI3hDOZvDxxrWP3dWGi/BV9EuPWPjrQpu7GJ6ZMqqRAn4ELffIITF7nVZ1XHosk A2gz/I/n4z++5VcXsQxy15w3f7PD0m50RxOGNQw24O01dKgvXU3YZmcWVQ4j1/cbtc zLs6DknAfri7BHPBy8hSkZGBwQ+SHgN1g+7CX9YH0FA4JJAY/QQ6mkAwD6Jk7gpE8O t2aoQisUU5ils8SJ9UnzIllRhEktmTYx4pLPz4sENGoO3ZasKKfVOTSQTyQqSDWYno tOkfafTSNMdzQZfWrVOkP+DvXT9or8bnaEu30un+ukK+3eN077ee86VYyT7RoN24lP aTfRvHsAhNgsg== In-Reply-To: <838rt7hdb4.fsf@gnu.org> 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228533 Archived-At: This is a multi-part message in MIME format. --b1_pZc3xUsHI54Uzn3hECCr1urlBj7mgFFWCCHoKWP93GQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Eli Zaretskii" writes: >> Date: Fri, 18 Mar 2022 07:37:44 +0000 >> From: Simon Pugnet >> >> I recently found out about the decipher package, but when trying it >> I >> get the following error: - >> >> Debugger entered--Lisp error: (wrong-type-argument bufferp nil) >> decipher-stats-buffer(t) >> decipher-analyze-buffer() >> decipher-analyze() >> decipher-digram-list() >> funcall-interactively(decipher-digram-list) >> command-execute(decipher-digram-list) >> >> To reproduce: - >> >> 1. emacs -Q >> 2. M-x decipher >> 3. Press D to call decipher-digram-list > > Thanks. Does the patch below give good results? > ... Hi Eli, Yes, thank you, those changes appear to fix the issue. Kind regards, -- Simon Pugnet https://www.polaris64.net/ --b1_pZc3xUsHI54Uzn3hECCr1urlBj7mgFFWCCHoKWP93GQ Content-Type: application/pgp-signature; name=attachment.sig Content-Transfer-Encoding: base64 Content-Dispos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