From unknown Sat Sep 20 02:38:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54443: 29.0.50; decipher.el: (wrong-type-argument bufferp nil) when calling decipher-digram-list (and others) Resent-From: Simon Pugnet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Mar 2022 07:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54443 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 54443@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: Simon Pugnet Received: via spool by submit@debbugs.gnu.org id=B.164758908029336 (code B ref -1); Fri, 18 Mar 2022 07:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2022 07:38:00 +0000 Received: from localhost ([127.0.0.1]:56146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV7BP-0007d5-Pv for submit@debbugs.gnu.org; Fri, 18 Mar 2022 03:38:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:50736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV7BO-0007cx-KG for submit@debbugs.gnu.org; Fri, 18 Mar 2022 03:37:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV7BO-0002Dm-AW for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 03:37:58 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:16352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV7BK-00047F-2p for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 03:37:57 -0400 Date: Fri, 18 Mar 2022 07:37:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polaris64.net; s=protonmail3; t=1647589069; bh=sQrpZKpWhgBFKpARXJIpFZyYZSIROUzW6Ks7r6zFh/I=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=ZdQW2P1LNdvuDR3DMxAfvWR0bSHmv4k6MxijBa9gR1fAA4PAANIFjxFUgCWHP5YVA 32+Se8v/1zuc+1shZhs7awDB0S/k9Cze6i3IIMACdFojA3CS9iT+L64t38+CG5qJbD 66mbiRfOpWykoITJTTbsyuOTHtkDlS95iRSRENx/aBmeRqfXJlY6+HMN646JRrP5AM Wc8IqktnwsXaTbWiCrgyOEtU2IYHfW+4Me7ILWtjr/wbOxlIsMSCGMT9sSvpPEtl5F qSZ5PBphQ7x4bb6patJi3KLpit9YaNxIaf2austRo8KcFeyPdbQfjaNHaA7CAgEBA2 FtoDccBlH4X8A== From: Simon Pugnet Message-ID: <878rt74sos.fsf@polaris64.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_z8r4KYVK5O659lYfjx1ESke9jpq0cS9Ft6CfSxvDRm4" Received-SPF: pass client-ip=185.70.40.136; envelope-from=simon@polaris64.net; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_z8r4KYVK5O659lYfjx1ESke9jpq0cS9Ft6CfSxvDRm4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 I have tried the same steps in Emacs 27.2 and it appears to work correctly. Best regards, Simon In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.4) of 2022-03-18 built on palenque Repository revision: ff89d27c07de4ac2efc695b06e8aa1faec5d65d1 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Arch Linux Configured using: 'configure --with-native-compilation --with-json --with-modules --with-xinput2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_CTYPE: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Decipher Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug comp comp-cstr warnings rx cl-seq cl-macs cl-extra help-mode message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date seq gv subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils decipher iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 82140 7431) (symbols 48 7249 1) (strings 32 20327 1869) (string-bytes 1 682319) (vectors 16 15695) (vector-slots 8 316972 17713) (floats 8 28 45) (intervals 56 223 0) (buffers 992 11)) --b1_z8r4KYVK5O659lYfjx1ESke9jpq0cS9Ft6CfSxvDRm4 Content-Type: application/pgp-signature; name=attachment.sig Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=attachment.sig LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NCg0KaVFKSUJBRUJDQUF5RmlFRU8vZUYzaFlz QU1qN1RhYjl1aE5acUN3TFB2a0ZBbUkwTnNNVUhITnBiVzl1UUhCdg0KYkdGeWFYTTJOQzV1WlhR QUNna1F1aE5acUN3TFB2bkpYZy8vVWhuWHpUMkVaRllQZHI4RjhJTzFzRTgwVXp0Vg0KdEZJUUxM Q21DSUxtNXNwRGY1K0JaWEV1SngwTzBDYXpXREdvQ0czMWlydXNYTHVrTlVLOGxvMnpRcTNBTGNo MA0KYTRyRjBRUytIVmdaOEhlVlpDaGZYWHNFSThQVmRXOE9sTkhKeHozbDhidGFqYzJ1TFlKYjRB dmdOTjdhS1VQNw0KbWtlR2JNVjYrZHhrN3JNSjI2R2tlNCtxSUZQcDEwYnNFSnYyblFyZUduQjVz ZGUyeTJ2QloxWG5qVzZHUTRiQw0KL3RmWEc1TG9tcVJ2UlBSMTh6TEZ6YzBsdnJEQmVqc3Ywa29N T00zWU5GQnhpV0dDbExCTnFIdThEc1dmbEEveg0KZDhjQjBNQjdLVktMMldJeFVncEQwTTJqVHNp d3kyMlYyc3hPVDQxT1kvR01qU3RGOEZMK1Y5U1VkQXRuOWMxTg0KWXlIOHBEMXBjRkh0QmJmcGkz VXRmVFRkWGtMbWpIcVRiV3ZVNkt2KzhFZmxrTDU3WDZNa2dYell5KzJ3OS92OQ0KMnpvdDF6MGFO SVNKLy9Zc25RZjJlTVc1ZzJ4alhPbkoxWVhmaEI2aGJNaEIySHZMdWN5WmxrdlljbGQ2RUUwaA0K bTZSV2ZmeDUydkNTais5aFlGZlFPVnp4UDVEeUNXYlZYejFKZWRzN3VCVHYyOWZ6UkhyWHlWSE9K Yy95V3dVSw0KdXlFekZYWi90cXU0cmNteVFzR0UxRHEwZnU2ejBBekJZYWJoNE9kOGNYa1F5NzdT WThRUzl3VUFYTGJhT2ZBbQ0KbzlWNGdQODA5eEFtaWVHY3VyNktUMmREQldJOXEvbHkwT0oyTnlt VlNFNmJYM2tGbmt6RitMOHFLay81dm92Tw0KMlRGbUp0ay9MUEh5d2JBPQ0KPU5JZGkNCi0tLS0t RU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ== --b1_z8r4KYVK5O659lYfjx1ESke9jpq0cS9Ft6CfSxvDRm4-- From unknown Sat Sep 20 02:38:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54443: 29.0.50; decipher.el: (wrong-type-argument bufferp nil) when calling decipher-digram-list (and others) Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Mar 2022 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54443 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Simon Pugnet Cc: 54443@debbugs.gnu.org Received: via spool by 54443-submit@debbugs.gnu.org id=B54443.16475922962693 (code B ref 54443); Fri, 18 Mar 2022 08:32:02 +0000 Received: (at 54443) by debbugs.gnu.org; 18 Mar 2022 08:31:36 +0000 Received: from localhost ([127.0.0.1]:56213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV81I-0000hN-Dm for submit@debbugs.gnu.org; Fri, 18 Mar 2022 04:31:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV81H-0000hA-6c for 54443@debbugs.gnu.org; Fri, 18 Mar 2022 04:31:35 -0400 Received: from [2001:470:142:3::e] (port=45176 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV81B-0003cz-Qy; Fri, 18 Mar 2022 04:31:29 -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=lDVzl6ci8PZejbikHnqGBoOoPrmNwTIg8Hfw1F4E160=; b=XBH9BnbilaD5 JuMCqMAV2/0yy2MuZs+BRSnstNVmnkxEWmy9ZfjSxd/IccFKEkhdrpDF5LTMKLNg87dyVb5oFjpf1 5zF5BdgJTwH1RcsGaJkh6I+nifh7yb+3GK7uaLIcfgNAXNzBW5/aCDCa0+W/oOyrULEuHpqK7kPMu QnAVXhDIIeV+F/xPZHTp/juOlgu8O8Nv/F7W5sFPnzktzRdXxukVHXrHN4FpxesDOlWUGElCQcFsh i/pZmxXhdHo7isntfisP0xrH/ggN2Crnwo6ROuJqAuJRfQnkko9Me+U2v2gTV70TG6ixtPFN7ElNA pMPA25ppzPyFU7UHUuWA2g==; Received: from [87.69.77.57] (port=3705 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 1nV81B-0000uE-AA; Fri, 18 Mar 2022 04:31:29 -0400 Date: Fri, 18 Mar 2022 10:31:27 +0200 Message-Id: <838rt7hdb4.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <878rt74sos.fsf@polaris64.net> (message from Simon Pugnet on Fri, 18 Mar 2022 07:37:44 +0000) References: <878rt74sos.fsf@polaris64.net> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? diff --git a/lisp/play/decipher.el b/lisp/play/decipher.el index ae44ecd..aeb4726 100644 --- a/lisp/play/decipher.el +++ b/lisp/play/decipher.el @@ -983,13 +983,14 @@ decipher-stats-buffer decipher-stats-buffer) ;; Create a new buffer if requested: (create - (let ((stats-name (concat "*" (buffer-name) "*"))) + (let* ((stats-name (concat "*" (buffer-name) "*")) + (buf (get-buffer stats-name))) (setq decipher-stats-buffer - (if (eq 'decipher-stats-mode - (buffer-local-value 'major-mode - (get-buffer stats-name))) - ;; We just lost track of the statistics buffer: - (get-buffer stats-name) + (if (and (bufferp buf) + (eq 'decipher-stats-mode + (buffer-local-value 'major-mode buf))) + buf + ;; We just lost track of the statistics buffer: (generate-new-buffer stats-name)))) (with-current-buffer decipher-stats-buffer (decipher-stats-mode)) From unknown Sat Sep 20 02:38:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54443: 29.0.50; decipher.el: (wrong-type-argument bufferp nil) when calling decipher-digram-list (and others) 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 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 54443@debbugs.gnu.org Reply-To: Simon Pugnet Received: via spool by 54443-submit@debbugs.gnu.org id=B54443.16475944376156 (code B ref 54443); Fri, 18 Mar 2022 09:08:01 +0000 Received: (at 54443) by debbugs.gnu.org; 18 Mar 2022 09:07:17 +0000 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 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 Date: Fri, 18 Mar 2022 09:07:00 +0000 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== From: Simon Pugnet Message-ID: <874k3v4ok1.fsf@polaris64.net> In-Reply-To: <838rt7hdb4.fsf@gnu.org> References: <878rt74sos.fsf@polaris64.net> <838rt7hdb4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_pZc3xUsHI54Uzn3hECCr1urlBj7mgFFWCCHoKWP93GQ" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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-Disposition: attachment; filename=attachment.sig LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NCg0KaVFKSUJBRUJDQUF5RmlFRU8vZUYzaFlz QU1qN1RhYjl1aE5acUN3TFB2a0ZBbUkwUzY0VUhITnBiVzl1UUhCdg0KYkdGeWFYTTJOQzV1WlhR QUNna1F1aE5acUN3TFB2azFpUS8vZVJzNk1TVWhDNmFxZklZWlFRY2NMVVFsU2tyZQ0KUktaOWJJ eFpyaUFiOVo1SWdsc3M3WENWTWQ3OWI0NGJKODJzRERSWStKODVJYXZpSWxQYlBDYXhTKzRFTnNU RA0KZDM2RFJMWk43bkRSbmxBamUxbHF4NWU5WjE0RGxaWkRaSExJdjlZVWhCMktyRElXam15dTFR RzJwd1B4eG5vRQ0KSzBxTk9PeWx4TmVHUWhPU291QVVPMmkraTA2ckt4QWxMYTJsVlBCR1p0Qzkz bUhQTlB1dTNqdlpwQktkRzg5NA0KK0VsemdtaThwMC9wMGlYeE54V3haQXFSd1Fhems0TG82cTgx Z1EyLzhrL1VIeHc5MlpHblB0Ni85aUZqY0ZLYw0KbHFXZzJoQWhybE1DOStadloydGtiOFVBUjR4 SWUrY1pISlQ3YmRTM1ZSTUhsQkhkUkt4WXZ5WGM1Y2hkL25ZYQ0KNXJhc1hrTkRiSy9xclZuSGJ2 Ujl1dVB0SWl5VVZYUGlOV1Rka0RIQlJnclBLVEtHSmozSTBzYnZ4SytDeVhkSg0KWk9ZL2tQU3gw a3dZeXFqNkxrTXJPa3kySXI0UmRvMUhqejhZMW54RDRXSTg5THBxSm1OSkpJRWkwTnM4VW14MQ0K dGQ4STZMeTNtU0NwdGhjcitla3Z0L1RMVGU2N0lSMjlncENYejVIUjBNZ0FPdXBsVCsrcTZvbTZB OVVxc0dCLw0KdGdXM2ZnVUNGeHFlYTlocnNneUhWTlhrZUlMa0RhK01ETFVJS1l0SXBmYVJlQ0Iw VExsOFlsaklLNVRrNkJVNQ0KeGxTUDdJVE5MN2ppNzZLcm5Bblgya0VWWm5MVzF6M2MwazFHMnFY NENUb1VzRnhZMG1HcDdmMGVvSEtOd0w1Nw0KMllpMFNaTGJXci9qVHZRPQ0KPXh0V1ANCi0tLS0t RU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ== --b1_pZc3xUsHI54Uzn3hECCr1urlBj7mgFFWCCHoKWP93GQ-- From unknown Sat Sep 20 02:38:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Simon Pugnet Subject: bug#54443: closed (Re: bug#54443: 29.0.50; decipher.el: (wrong-type-argument bufferp nil) when calling decipher-digram-list (and others)) Message-ID: References: <834k3vh3se.fsf@gnu.org> <878rt74sos.fsf@polaris64.net> X-Gnu-PR-Message: they-closed 54443 X-Gnu-PR-Package: emacs Reply-To: 54443@debbugs.gnu.org Date: Fri, 18 Mar 2022 11:58:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1647604681-32761-1" This is a multi-part message in MIME format... ------------=_1647604681-32761-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #54443: 29.0.50; decipher.el: (wrong-type-argument bufferp nil) when callin= g decipher-digram-list (and others) which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 54443@debbugs.gnu.org. --=20 54443: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54443 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1647604681-32761-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 54443-done) by debbugs.gnu.org; 18 Mar 2022 11:57:16 +0000 Received: from localhost ([127.0.0.1]:56458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVBEK-0008VK-1g for submit@debbugs.gnu.org; Fri, 18 Mar 2022 07:57:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVBEH-0008V5-Bo for 54443-done@debbugs.gnu.org; Fri, 18 Mar 2022 07:57:14 -0400 Received: from [2001:470:142:3::e] (port=39822 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVBEC-0003AS-0t; Fri, 18 Mar 2022 07:57:08 -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=o1vdG/uQ5Kr2c2/cCj3dL6+sl3e5X72mQcCiCjJgSxs=; b=lYF8zpNeL/I3 st56TpjIVKzSXJob6MF2LwsLAfWb7mxa7ETRAEgvM0hSO0iY9CUDDa0BZt76VtyjZTPtWwog//XAf oZJaCHa+18LL4wY8q/G5rZmxdA52gn0iKfmO6yCswR21ZBg0zCCsJLHZA1tTEmN9d7kmYEXduvkz1 sb0/o4A+LWEsqeRbKT8bGv2K6W5/psnKmytt0otoeITdMyb6T8orRYiaSzIFacIQfLwiLTwGL9pn1 QHh0jz9aA7ZZCpIrR8P6bjBIdlUQPZrQvXsW2O9gfJH9LEZgmAc4MeBMYYB5IxvPXW1NOzHOHUTUm anNZxCAsxM32OvUkml7vIg==; Received: from [87.69.77.57] (port=4663 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 1nVBEB-00054V-ED; Fri, 18 Mar 2022 07:57:07 -0400 Date: Fri, 18 Mar 2022 13:57:05 +0200 Message-Id: <834k3vh3se.fsf@gnu.org> From: Eli Zaretskii To: Simon Pugnet In-Reply-To: <874k3v4ok1.fsf@polaris64.net> (message from Simon Pugnet on Fri, 18 Mar 2022 09:07:00 +0000) Subject: Re: bug#54443: 29.0.50; decipher.el: (wrong-type-argument bufferp nil) when calling decipher-digram-list (and others) References: <878rt74sos.fsf@polaris64.net> <838rt7hdb4.fsf@gnu.org> <874k3v4ok1.fsf@polaris64.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54443-done Cc: 54443-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 18 Mar 2022 09:07:00 +0000 > From: Simon Pugnet > Cc: 54443@debbugs.gnu.org > > >> 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. Thanks, I installed the fix on the emacs-28 branch, and I'm therefore closing this bug. ------------=_1647604681-32761-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Mar 2022 07:38:00 +0000 Received: from localhost ([127.0.0.1]:56146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV7BP-0007d5-Pv for submit@debbugs.gnu.org; Fri, 18 Mar 2022 03:38:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:50736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV7BO-0007cx-KG for submit@debbugs.gnu.org; Fri, 18 Mar 2022 03:37:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV7BO-0002Dm-AW for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 03:37:58 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:16352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV7BK-00047F-2p for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 03:37:57 -0400 Date: Fri, 18 Mar 2022 07:37:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polaris64.net; s=protonmail3; t=1647589069; bh=sQrpZKpWhgBFKpARXJIpFZyYZSIROUzW6Ks7r6zFh/I=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=ZdQW2P1LNdvuDR3DMxAfvWR0bSHmv4k6MxijBa9gR1fAA4PAANIFjxFUgCWHP5YVA 32+Se8v/1zuc+1shZhs7awDB0S/k9Cze6i3IIMACdFojA3CS9iT+L64t38+CG5qJbD 66mbiRfOpWykoITJTTbsyuOTHtkDlS95iRSRENx/aBmeRqfXJlY6+HMN646JRrP5AM Wc8IqktnwsXaTbWiCrgyOEtU2IYHfW+4Me7ILWtjr/wbOxlIsMSCGMT9sSvpPEtl5F qSZ5PBphQ7x4bb6patJi3KLpit9YaNxIaf2austRo8KcFeyPdbQfjaNHaA7CAgEBA2 FtoDccBlH4X8A== To: bug-gnu-emacs@gnu.org From: Simon Pugnet Subject: 29.0.50; decipher.el: (wrong-type-argument bufferp nil) when calling decipher-digram-list (and others) Message-ID: <878rt74sos.fsf@polaris64.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_z8r4KYVK5O659lYfjx1ESke9jpq0cS9Ft6CfSxvDRm4" Received-SPF: pass client-ip=185.70.40.136; envelope-from=simon@polaris64.net; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Simon Pugnet Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_z8r4KYVK5O659lYfjx1ESke9jpq0cS9Ft6CfSxvDRm4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 I have tried the same steps in Emacs 27.2 and it appears to work correctly. Best regards, Simon In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.4) of 2022-03-18 built on palenque Repository revision: ff89d27c07de4ac2efc695b06e8aa1faec5d65d1 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Arch Linux Configured using: 'configure --with-native-compilation --with-json --with-modules --with-xinput2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_CTYPE: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Decipher Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug comp comp-cstr warnings rx cl-seq cl-macs cl-extra help-mode message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date seq gv subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils decipher iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 82140 7431) (symbols 48 7249 1) (strings 32 20327 1869) (string-bytes 1 682319) (vectors 16 15695) (vector-slots 8 316972 17713) (floats 8 28 45) (intervals 56 223 0) (buffers 992 11)) --b1_z8r4KYVK5O659lYfjx1ESke9jpq0cS9Ft6CfSxvDRm4 Content-Type: application/pgp-signature; name=attachment.sig Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=attachment.sig LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NCg0KaVFKSUJBRUJDQUF5RmlFRU8vZUYzaFlz QU1qN1RhYjl1aE5acUN3TFB2a0ZBbUkwTnNNVUhITnBiVzl1UUhCdg0KYkdGeWFYTTJOQzV1WlhR QUNna1F1aE5acUN3TFB2bkpYZy8vVWhuWHpUMkVaRllQZHI4RjhJTzFzRTgwVXp0Vg0KdEZJUUxM Q21DSUxtNXNwRGY1K0JaWEV1SngwTzBDYXpXREdvQ0czMWlydXNYTHVrTlVLOGxvMnpRcTNBTGNo MA0KYTRyRjBRUytIVmdaOEhlVlpDaGZYWHNFSThQVmRXOE9sTkhKeHozbDhidGFqYzJ1TFlKYjRB dmdOTjdhS1VQNw0KbWtlR2JNVjYrZHhrN3JNSjI2R2tlNCtxSUZQcDEwYnNFSnYyblFyZUduQjVz ZGUyeTJ2QloxWG5qVzZHUTRiQw0KL3RmWEc1TG9tcVJ2UlBSMTh6TEZ6YzBsdnJEQmVqc3Ywa29N T00zWU5GQnhpV0dDbExCTnFIdThEc1dmbEEveg0KZDhjQjBNQjdLVktMMldJeFVncEQwTTJqVHNp d3kyMlYyc3hPVDQxT1kvR01qU3RGOEZMK1Y5U1VkQXRuOWMxTg0KWXlIOHBEMXBjRkh0QmJmcGkz VXRmVFRkWGtMbWpIcVRiV3ZVNkt2KzhFZmxrTDU3WDZNa2dYell5KzJ3OS92OQ0KMnpvdDF6MGFO SVNKLy9Zc25RZjJlTVc1ZzJ4alhPbkoxWVhmaEI2aGJNaEIySHZMdWN5WmxrdlljbGQ2RUUwaA0K bTZSV2ZmeDUydkNTais5aFlGZlFPVnp4UDVEeUNXYlZYejFKZWRzN3VCVHYyOWZ6UkhyWHlWSE9K Yy95V3dVSw0KdXlFekZYWi90cXU0cmNteVFzR0UxRHEwZnU2ejBBekJZYWJoNE9kOGNYa1F5NzdT WThRUzl3VUFYTGJhT2ZBbQ0KbzlWNGdQODA5eEFtaWVHY3VyNktUMmREQldJOXEvbHkwT0oyTnlt VlNFNmJYM2tGbmt6RitMOHFLay81dm92Tw0KMlRGbUp0ay9MUEh5d2JBPQ0KPU5JZGkNCi0tLS0t RU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ== --b1_z8r4KYVK5O659lYfjx1ESke9jpq0cS9Ft6CfSxvDRm4-- ------------=_1647604681-32761-1--