From unknown Sat Jun 21 03:30:45 2025 X-Loop: don@donarmstrong.com Subject: bug#487: pgg-gpg.el - pgg-gpg-process-region timing problem Reply-To: Chong Yidong , 487@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 26 Jun 2008 16:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 487 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12144982268999 (code B ref -1); Thu, 26 Jun 2008 16:45:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.3 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Jun 2008 16:37:06 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5QGaxV3008993 for ; Thu, 26 Jun 2008 09:37:00 -0700 Received: from mail.gnu.org ([199.232.76.166]:35635 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KBuSm-00019o-Vy for emacs-pretest-bug@gnu.org; Thu, 26 Jun 2008 12:36:49 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KBuSt-0002aj-Re for emacs-pretest-bug@gnu.org; Thu, 26 Jun 2008 12:36:57 -0400 Received: from cyd.mit.edu ([18.115.2.24]:33918) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBuSt-0002aH-A8; Thu, 26 Jun 2008 12:36:55 -0400 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6E7404E474; Thu, 26 Jun 2008 12:32:05 -0400 (EDT) From: Chong Yidong To: "ken manheimer" Cc: emacs-devel , emacs-pretest-bug@gnu.org, "Thien-Thi Nguyen" , "Stefan Monnier" , "Daiki Ueno" , "Sascha Wilde" References: <2cd46e7f0806221037h6d16839bp567eb5b901313375@mail.gmail.com> <2cd46e7f0806260916y39870423ge4bda26f97d6d504@mail.gmail.com> Date: Thu, 26 Jun 2008 12:32:05 -0400 In-Reply-To: <2cd46e7f0806260916y39870423ge4bda26f97d6d504@mail.gmail.com> (ken manheimer's message of "Thu, 26 Jun 2008 12:16:17 -0400") Message-ID: <87fxr040oq.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) > i am not sure how to proceed with this problem. as demonstrated by > the pggprob.el script, i consistently get encryption and decryption > problems without the contrived delay in my pgg-gpg-process-region > patch. (the problem does not happen if i just do a regular > pgg-decrypt - i think the crucial thing is that a symmetric passphrase > is being passed into pgg-gpg-process-region.) Here's one suggestion, though I don't know how useful it is: if it's possible to run the same or similar version of pgg in Emacs 22, you could and see if it appears there. If not, we could narrow the problem down to a change in Emacs' process code during Emacs 23 (though OTOH I don't know of any that could lead to this).