From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-26 f274cbd: Avoid reordering of output in 'shr-insert-document' Date: Sat, 16 Dec 2017 10:04:06 -0500 Message-ID: References: <20171216141055.30854.67661@vcs0.savannah.gnu.org> <20171216141056.8391A24612@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513436656 11134 195.159.176.226 (16 Dec 2017 15:04:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2017 15:04:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 16 16:04:12 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQE0Z-0002XS-Cq for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2017 16:04:11 +0100 Original-Received: from localhost ([::1]:50984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQE0g-0000rm-HL for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2017 10:04:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQE0a-0000rh-JA for emacs-devel@gnu.org; Sat, 16 Dec 2017 10:04:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQE0Z-00005F-Pm for emacs-devel@gnu.org; Sat, 16 Dec 2017 10:04:12 -0500 Original-Received: from pmta11.teksavvy.com ([76.10.157.34]:52601) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQE0W-0008QX-72; Sat, 16 Dec 2017 10:04:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GwDgAYNTVa/zyu+M5dHAEBAQQBAQoBA?= =?us-ascii?q?YM+RoEUiUWGB44TAYIzAZcAggEdhSIEAgKEf0QUAQEBAQEBAQEBA2gohSUGViM?= =?us-ascii?q?QCzQSFBgNimGqMIpmAQEBBwIBJYNuiHmFBmOFDCAFky+QDZcpAYoGh2+WaIFLN?= =?us-ascii?q?iOBTzIaCDCCZoMHgWwjixoBAQE?= X-IPAS-Result: =?us-ascii?q?A2GwDgAYNTVa/zyu+M5dHAEBAQQBAQoBAYM+RoEUiUWGB44?= =?us-ascii?q?TAYIzAZcAggEdhSIEAgKEf0QUAQEBAQEBAQEBA2gohSUGViMQCzQSFBgNimGqM?= =?us-ascii?q?IpmAQEBBwIBJYNuiHmFBmOFDCAFky+QDZcpAYoGh2+WaIFLNiOBTzIaCDCCZoM?= =?us-ascii?q?HgWwjixoBAQE?= X-IronPort-AV: E=Sophos;i="5.45,411,1508817600"; d="scan'208";a="14564838" Original-Received: from 206-248-174-60.dsl.teksavvy.com (HELO pastel.home) ([206.248.174.60]) by smtp.teksavvy.com with ESMTP; 16 Dec 2017 10:04:06 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 9569960770; Sat, 16 Dec 2017 10:04:06 -0500 (EST) In-Reply-To: <20171216141056.8391A24612@vcs0.savannah.gnu.org> (Eli Zaretskii's message of "Sat, 16 Dec 2017 09:10:56 -0500 (EST)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.10.157.34 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221127 Archived-At: > + ;; Save and restore point across with-temp-buffer, since > + ;; shr-pixel-column uses save-window-excursion, which can reset > + ;; point to 1. > + (let ((pt (point))) > + (with-temp-buffer > + (insert string) > + (shr-pixel-column)) > + (goto-char pt)))) Is it possible to fix the problem in shr-pixel-column (since, according to the comment above, the problems comes from there)? Stefan