From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.bugs Subject: bug#470: pgg-gpg.el - pgg-gpg-process-region timing problem Date: Mon, 23 Jun 2008 10:17:51 +0200 Message-ID: <87zlpc8t00.fsf__45286.5358711735$1214277988$gmane$org@ambire.localdomain> References: <2cd46e7f0806221037h6d16839bp567eb5b901313375@mail.gmail.com> Reply-To: Thien-Thi Nguyen , 470@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214277937 8305 80.91.229.12 (24 Jun 2008 03:25:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 03:25:37 +0000 (UTC) Cc: wilde@sha-bang.de, emacs-pretest-bug@gnu.org, ueno@unixuser.org, emacs-devel To: "ken manheimer" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 05:26:21 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 1KAzAh-00028m-9K for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2008 05:26:19 +0200 Original-Received: from localhost ([127.0.0.1]:53731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAz9r-0004rr-Qt for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jun 2008 23:25:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAi19-0008NQ-EI for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2008 05:07:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAi16-0008MC-K2 for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2008 05:07:18 -0400 Original-Received: from [199.232.76.173] (port=37169 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAi15-0008Lq-Fq for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2008 05:07:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36569) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAi13-0005nh-C9 for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2008 05:07:13 -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 m5N97ATt027294; Mon, 23 Jun 2008 02:07:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5N8t7Wq023297; Mon, 23 Jun 2008 01:55:07 -0700 X-Loop: don@donarmstrong.com Resent-From: Thien-Thi Nguyen Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 23 Jun 2008 08:55:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 470 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121421080621880 (code B ref -1); Mon, 23 Jun 2008 08:55:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 Jun 2008 08:46:46 +0000 Original-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 Original-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 Original-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 Original-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 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-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 23 Jun 2008 05:07:17 -0400 X-Mailman-Approved-At: Mon, 23 Jun 2008 23:25:12 -0400 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:18511 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