From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#21067: 25.0.50; [PATCH] With mercurial, vc-print-log puts point at eob Date: Mon, 30 Nov 2015 05:01:26 +0200 Message-ID: <565BBC06.3070502@yandex.ru> References: <85lheh8ekr.fsf@iznogoud.viz> <55AAEA7C.2060609@yandex.ru> <85380ludu0.fsf@iznogoud.viz> <55B2483B.4030909@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1448852539 7964 80.91.229.3 (30 Nov 2015 03:02:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2015 03:02:19 +0000 (UTC) Cc: 21067@debbugs.gnu.org To: Wolfgang Jenkner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 30 04:02:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a3Ej8-0005R3-L3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Nov 2015 04:02:06 +0100 Original-Received: from localhost ([::1]:38716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3EjC-0006fI-V2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2015 22:02:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Ej9-0006b2-I4 for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 22:02:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3Ej4-0005DV-IQ for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 22:02:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Ej4-0005DR-FL for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 22:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a3Ej4-0007Pj-5Q for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 22:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2015 03:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21067 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 21067-submit@debbugs.gnu.org id=B21067.144885251028481 (code B ref 21067); Mon, 30 Nov 2015 03:02:02 +0000 Original-Received: (at 21067) by debbugs.gnu.org; 30 Nov 2015 03:01:50 +0000 Original-Received: from localhost ([127.0.0.1]:59947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3Eir-0007PJ-Ti for submit@debbugs.gnu.org; Sun, 29 Nov 2015 22:01:50 -0500 Original-Received: from mail-wm0-f48.google.com ([74.125.82.48]:38096) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3EiX-0007Or-Dq for 21067@debbugs.gnu.org; Sun, 29 Nov 2015 22:01:47 -0500 Original-Received: by wmec201 with SMTP id c201so120109049wme.1 for <21067@debbugs.gnu.org>; Sun, 29 Nov 2015 19:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=CW1YdvASaMcVAWYcZOHPnVcMR3onA3wHsxRM8IVpTUs=; b=XP9XqZPiY59gGnsW64sihkGdVPa5upXVhQCN1Y4vbgFpkJtSAGQNJFNys5DP7TlwO2 oqAZjvPnxDvoUD4EfC1BhcCuMQYi9Qcd6Dqnsnkxd+laNUfRG1qRajiTsuuyj3PgG7ul suR972AgrKgVS2Ub6RQSlI4CZjBVUlJrrdbQv2L5dGvDXMBuvRzOh6ZkvwKlTu/udAJc S4tE4RYw4nqG2eLjod4k0Y9CyXcWcmGaCnxrfZJDjMd26T1I4X5GP3XuYZ2ZoqGF8dy3 0C/uzcxjRwFMhEkpj+HPsmCKmKtiHghbhKs6Cg0VLaNIkAALH09ai4dwwYeDzEatQPh4 d83g== X-Received: by 10.28.232.136 with SMTP id f8mr26952419wmi.1.1448852488714; Sun, 29 Nov 2015 19:01:28 -0800 (PST) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id q77sm19164599wmd.22.2015.11.29.19.01.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Nov 2015 19:01:27 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 In-Reply-To: <55B2483B.4030909@yandex.ru> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109430 Archived-At: I was looking into applying your patch (except for the very last bit), because the idea of treating the asynchronous and synchronous delayed code basically seems right, but the current solution (using process-mark) will probably be inadequate in the synchronous case. The semantics we seem to want to guarantee is that every delayed bit of code runs at the position the previous left off, but (goto-char (or m (point-max))) won't be sufficient, because that position is not necessarily point-max. But we could try to simplify this semantics ("always runs at point-max" is actually easier to reason about than "runs where the previous code left off"). That kind of change seems too late for 25.1, though, and will require a review of the current vc-exec-after uses.