From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#470: marked as done (pgg-gpg.el - pgg-gpg-process-region timing problem) Date: Sat, 2 Aug 2008 12:15:07 -0700 Message-ID: References: <873aln2q1d.fsf@stupidchicken.com> <87zlpc8t00.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1217704507-31730-4" X-Trace: ger.gmane.org 1217705269 1863 80.91.229.12 (2 Aug 2008 19:27:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2008 19:27:49 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 02 21:28:39 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KPMmM-0003p5-H9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Aug 2008 21:28:38 +0200 Original-Received: from localhost ([127.0.0.1]:59534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPMlR-0006d2-3o for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Aug 2008 15:27:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPMlH-0006av-0f for bug-gnu-emacs@gnu.org; Sat, 02 Aug 2008 15:27:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPMlC-0006Xr-PP for bug-gnu-emacs@gnu.org; Sat, 02 Aug 2008 15:27:27 -0400 Original-Received: from [199.232.76.173] (port=34421 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPMlC-0006Xb-I5 for bug-gnu-emacs@gnu.org; Sat, 02 Aug 2008 15:27:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59573) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KPMlC-0003u2-1w for bug-gnu-emacs@gnu.org; Sat, 02 Aug 2008 15:27:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m72JRLSx003316; Sat, 2 Aug 2008 12:27:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m72JF7Rh031840; Sat, 2 Aug 2008 12:15:07 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 470 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18966 Archived-At: This is a multi-part message in MIME format... ------------=_1217704507-31730-4 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 02 Aug 2008 15:08:30 -0400 with message-id <873aln2q1d.fsf@stupidchicken.com> and subject line Re: pgg-gpg.el - pgg-gpg-process-region timing problem has caused the Emacs bug report #465, regarding pgg-gpg.el - pgg-gpg-process-region timing problem to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 465: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D465 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1217704507-31730-4 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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=-7.0 required=4.0 tests=BAYES_00,GMAIL, 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; 23 Jun 2008 08:46:46 +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 m5N8kh2h021874 for ; Mon, 23 Jun 2008 01:46:45 -0700 Received: from mail.gnu.org ([199.232.76.166]:40443 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KAhh8-0001RB-JS for emacs-pretest-bug@gnu.org; Mon, 23 Jun 2008 04:46:38 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KAhhA-0005Jf-1r for emacs-pretest-bug@gnu.org; Mon, 23 Jun 2008 04:46:43 -0400 Received: from [151.61.141.75] (port=60991 helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAhh8-0005IN-T3 for emacs-pretest-bug@gnu.org; Mon, 23 Jun 2008 04:46:39 -0400 Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1KAhFH-0001Za-22; Mon, 23 Jun 2008 10:17:51 +0200 From: Thien-Thi Nguyen To: "ken manheimer" Cc: ueno@unixuser.org, wilde@sha-bang.de Cc: emacs-devel , emacs-pretest-bug@gnu.org Subject: Re: pgg-gpg.el - pgg-gpg-process-region timing problem References: <2cd46e7f0806221037h6d16839bp567eb5b901313375@mail.gmail.com> Date: Mon, 23 Jun 2008 10:17:51 +0200 In-Reply-To: <2cd46e7f0806221037h6d16839bp567eb5b901313375@mail.gmail.com> (ken manheimer's message of "Sun, 22 Jun 2008 13:37:11 -0400") Message-ID: <87zlpc8t00.fsf@ambire.localdomain> 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: Genre and OS details not recognized. () "ken manheimer" () Sun, 22 Jun 2008 13:37:11 -0400 pggprob-patch.txt, with a single-line modification to pgg-gpg-process-region to work around the problem. both are attached. since the workaround is merely a timing delay, it's clearly not a fix! Please find below an UNTESTED patch that addresses the problem in two ways: - use a downward funarg sentinel for complete monitoring - reduce unnecessary data motion Does it give good results? (Authors added to cc.) thi ------------=_1217704507-31730-4 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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=-3.1 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 465-done) by emacsbugs.donarmstrong.com; 2 Aug 2008 19:08:23 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m72J8K08030048 for <465-done@emacsbugs.donarmstrong.com>; Sat, 2 Aug 2008 12:08:21 -0700 Received: by cyd (Postfix, from userid 1000) id C100F57E337; Sat, 2 Aug 2008 15:08:30 -0400 (EDT) From: Chong Yidong To: 465-done@emacsbugs.donarmstrong.com Subject: Re: pgg-gpg.el - pgg-gpg-process-region timing problem Date: Sat, 02 Aug 2008 15:08:30 -0400 Message-ID: <873aln2q1d.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've checked in a fix for this (verified by Ken Manheimer via private email). This fix is in pgg-gpg.el, which I think was calling accept-process-output in a slightly incorrect way. ------------=_1217704507-31730-4--