From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: pgg-gpg.el - pgg-gpg-process-region timing problem Date: Mon, 23 Jun 2008 10:17:51 +0200 Message-ID: <87zlpc8t00.fsf@ambire.localdomain> References: <2cd46e7f0806221037h6d16839bp567eb5b901313375@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214209262 8242 80.91.229.12 (23 Jun 2008 08:21:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2008 08:21:02 +0000 (UTC) Cc: wilde@sha-bang.de, emacs-pretest-bug@gnu.org, ueno@unixuser.org, emacs-devel To: "ken manheimer" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 10:21:47 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KAhJ3-00051A-8S for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 10:21:45 +0200 Original-Received: from localhost ([127.0.0.1]:56775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAhID-0003eA-Kz for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 04:20:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAhI8-0003e0-2F for emacs-devel@gnu.org; Mon, 23 Jun 2008 04:20:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAhI2-0003cN-W8 for emacs-devel@gnu.org; Mon, 23 Jun 2008 04:20:46 -0400 Original-Received: from [199.232.76.173] (port=51407 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAhI2-0003cK-OW for emacs-devel@gnu.org; Mon, 23 Jun 2008 04:20:42 -0400 Original-Received: from [151.61.141.75] (port=40141 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 1KAhI2-0001eR-8y for emacs-devel@gnu.org; Mon, 23 Jun 2008 04:20:42 -0400 Original-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 In-Reply-To: <2cd46e7f0806221037h6d16839bp567eb5b901313375@mail.gmail.com> (ken manheimer's message of "Sun, 22 Jun 2008 13:37:11 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-Greylist: delayed 86080 seconds by postgrey-1.27 at monty-python; Mon, 23 Jun 2008 04:20:41 EDT X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99758 gmane.emacs.pretest.bugs:22671 Archived-At: () "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