From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Bisecting display bugs Date: Mon, 11 Jul 2016 03:40:26 +0200 Message-ID: <8737nhc5px.fsf@wanadoo.es> References: <5782E073.6000505@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1468201289 25867 80.91.229.3 (11 Jul 2016 01:41:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2016 01:41:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 11 03:41:18 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bMQDl-0002a3-QO for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2016 03:41:17 +0200 Original-Received: from localhost ([::1]:57402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMQDk-0003eT-Me for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2016 21:41:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMQDD-0003Ve-09 for emacs-devel@gnu.org; Sun, 10 Jul 2016 21:40:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMQD6-000500-Uh for emacs-devel@gnu.org; Sun, 10 Jul 2016 21:40:41 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMQD6-0004yE-Mv for emacs-devel@gnu.org; Sun, 10 Jul 2016 21:40:36 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bMQD3-0002Lm-ER for emacs-devel@gnu.org; Mon, 11 Jul 2016 03:40:33 +0200 Original-Received: from 141.red-217-125-182.dynamicip.rima-tde.net ([217.125.182.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2016 03:40:33 +0200 Original-Received: from ofv by 141.red-217-125-182.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2016 03:40:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 141.red-217-125-182.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:yphOyI6XghhPIbteDUfEBwMSpZg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:205532 Archived-At: Clément Pit--Claudel writes: > I've written up notes while bisecting a display bug (#23938) on > master. Since it didn't seem easy to identify the problem > automatically from Elisp, I used a small `git bisect run' script that > automatically captured, cropped, and compared screenshots of Emacs > against a known-good reference. All in all, things worked nicely: git > bisect took 4 hours to complete, but it didn't require any interaction > after starting. > > I attached my notes. Is there interest in including them in admin/notes/? Speaking as someone who painfully bisected Emacs many times (read: having to visually check good/bad result on each iteration), the part about comparing the display's image against a good sample is highly interesting, and not only for hunting display bugs.