From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#44134: 28.0.50; epa-list-keys failing with =?UTF-8?Q?=E2=80=98wrong?= type argument: interger-or-marker-p, =?UTF-8?Q?nil=E2=80=99?= Date: Thu, 22 Oct 2020 10:49:27 +0200 Message-ID: <875z72fxwo.fsf@gmx.net> References: <878sbybreg.fsf@yandex.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21083"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44134@debbugs.gnu.org To: Colin Baxter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 22 10:50:26 2020 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 1kVWIj-0005Nk-V6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Oct 2020 10:50:25 +0200 Original-Received: from localhost ([::1]:39362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVWIj-0005Kq-1B for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Oct 2020 04:50:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVWIM-0005Kc-9A for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 04:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVWIL-0006aH-Qi for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 04:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVWIL-0006sW-PO for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 04:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Oct 2020 08:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44134 X-GNU-PR-Package: emacs Original-Received: via spool by 44134-submit@debbugs.gnu.org id=B44134.160335657826402 (code B ref 44134); Thu, 22 Oct 2020 08:50:01 +0000 Original-Received: (at 44134) by debbugs.gnu.org; 22 Oct 2020 08:49:38 +0000 Original-Received: from localhost ([127.0.0.1]:51452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVWHy-0006rm-I6 for submit@debbugs.gnu.org; Thu, 22 Oct 2020 04:49:38 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:52703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVWHw-0006rY-RO for 44134@debbugs.gnu.org; Thu, 22 Oct 2020 04:49:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1603356570; bh=KYEggWRjvK9zfWbZBkzrO3wZ1N9+WvYSqXt53kmFzps=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=jPGuxhefVPU6eisQyR0cv3AfgLFvymLKucDHF5o6alhLAviKG+CclcuueAOuPc7Ch jyVz8bSPqLAqYZbYtqOBGAGsyfMESDK8x8Hqqsk9i1sbhf0Fge6OuGp3CmdKKJYmV0 Lj1S1q3qhKO7aNAvigmg4gOKHvuN5ixtAgfRagZ4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([178.9.97.57]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MfHEJ-1juYZF0uqZ-00grTh; Thu, 22 Oct 2020 10:49:30 +0200 In-Reply-To: <878sbybreg.fsf@yandex.com> (Colin Baxter's message of "Thu, 22 Oct 2020 09:23:35 +0100") X-Provags-ID: V03:K1:Jqh/k3n0BytJmV0iCPYhcX+gq9ZWBJOPTrQrhmqN/rHbdVsUrB6 9mhP9h9VzPnaa0JtXYPH6Pp3Tar5fjKKGcfdUZu6pqVvUtZ/V7fkTDSF/mjPbRFtTRtbCqf bXNvGTcM0VwbWKcNZYUCwobfGZsHdxLI8oSQyGaGMbfMiH9x2KuTMpGBbLHb5I5ivZEmSCD tPUQw1JUhmmsmNVGC15nw== X-UI-Out-Filterresults: notjunk:1;V03:K0:1av4u5hX3BU=:k6NHjlO7nCZZCOMxOt+cKu p91/Mp3JrMWfPGM11TqtJ74pILaP6+mInV9r7KKytuQNkmNZqt2TMglRPwnWVF3kcKZZvAAXx dVMS8ltc05Khty21wR3liZSkcbKSmoXEcaQfCSOZexoBGdkgiLaglM9iUH0fH0mQl60cEWiTp gHKuY0gszFFyBFRGOkLBglBFjXH8t+jo6+Hx6gapP15eAdDBWGRtsp2qSHJfF6lKd1T6DI4gZ sOutiYssQ0hoVG8yI1hwuBx6PWGSJDix82260JT9UAD5C+qxHZROSWVrAjor8nAyrzlzWaC3g cM45L77y2AvVRaJnRLiTsO/IKpNJHF9lfbwN+6HT+wAziAvPhTgUwG0I5M7meeXDMs9GZtH+C eX5P4MIAlxbjcKkAtCYr/bYM1dJzD6rRDU33visrEuI5UxW4HoC2VMCs1Mr2q0Yr2sL8X6UQg ohjFI+7gYN413sAZKzC4FhfQ0gJUOf/L2QoAWFedFnvpDToPxyMKAri6TZonHCUlGYMSSjbCk Xqf2H/CmE/guLldQnLnam8XzGzs8roz5wq4BjmMm8CjgYls/w6FRWTqikfyxBjdX5GcFrmhSx 0gBTaSgibQ0NBezTgYzYtGRrRz9B5sQAg52Hk84SvsViBmFe8gK7UxL0kRb7UHKGXJ+jOFSjA cOs2IJ515XIk8ea7IaTVszDTlhR/H6O6GOcJIVkYASBq6fDOS1FeugKDMZGDIIqgz2vEHJAK5 FXwoA9PCTUoNjQ96wSysJauUAAE7ThXojTSh4payMWcqZWcpx6G7ReH95gfwZCMyLyAW2lDE 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:191234 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, 22 Oct 2020 09:23:35 +0100 Colin Baxter wrote: >>>>>> Pankaj Jangid writes: > > > Steps: 1. M-x epa-list-keys RET =E2=87=92 (lists keys) 2. q 3. M-x > > epa-list-keys RET =E2=87=92 Wrong type argument: interger-or-marker= -p, nil > > Works for me using emacs-28.0.50 and emacs-27.1. It works in emacs-27 but AFAICT it cannot work with emacs -Q from master. If you did use -Q with emacs-28, did you perhaps kill the buffer is step 2 instead of typing `q'? Here's a patch for master, but someone who knows epa.el well should verify it: --=-=-= Content-Type: text/x-patch Content-Disposition: inline Content-Description: epa--list-keys patch Content-Transfer-Encoding: quoted-printable diff --git a/lisp/epa.el b/lisp/epa.el index 25e055c201..74a72ee6f8 100644 =2D-- a/lisp/epa.el +++ b/lisp/epa.el @@ -360,8 +360,8 @@ epa--list-keys ;; Find the end of the documentation text at the start. ;; Set POINT to where it ends, or nil if ends at eob. - (unless (get-text-property point 'epa-list-keys) - (setq point (next-single-property-change point 'epa-list-keys))) + (unless (get-text-property point 'epa-key) + (setq point (next-single-property-change point 'epa-key))) ;; If caller specified documentation text for that, replace the old ;; documentation text (if any) with what was specified. @@ -375,7 +375,7 @@ epa--list-keys ;; Now delete the key description text, if any. (when point (delete-region point - (or (next-single-property-change point 'epa-list-keys) + (or (next-single-property-change point 'epa-key) (point-max))) (goto-char point)) --=-=-= Content-Type: text/plain Steve Berman --=-=-=--