From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: browse-url-of-buffer broken at HEAD? Date: Wed, 06 May 2020 12:24:16 -0700 Message-ID: References: <20200506174403.3EAB0C221CE@raman-glaptop.localdomain> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="86295"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 06 21:25:22 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWPfW-000MKq-4X for ged-emacs-devel@m.gmane-mx.org; Wed, 06 May 2020 21:25:22 +0200 Original-Received: from localhost ([::1]:32914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWPfV-0002L7-6e for ged-emacs-devel@m.gmane-mx.org; Wed, 06 May 2020 15:25:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWPeY-0001dB-7o for emacs-devel@gnu.org; Wed, 06 May 2020 15:24:22 -0400 Original-Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:44046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWPeX-0002gw-Ak for emacs-devel@gnu.org; Wed, 06 May 2020 15:24:21 -0400 Original-Received: by mail-pl1-x631.google.com with SMTP id b8so799459plm.11 for ; Wed, 06 May 2020 12:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=JtCrZy2L9RLUXUi8/TUTrDFOErnqlkJjxwqdNiyO4N4=; b=m8YFPanOU0POu1Yo9FpnO9p1wlYhIrcoKJyuXx7EFLlbI5tIl0ECKfAaSrXHLj/mQV zLkrj/TAjT5ei4Q0Wr0FvlV0Yyjh7/E4RJ1xc3VhbyiX/4Hw1Uo1uP17pLDqpKZKxpLx jLWpk1Q3L6CzPDfVZUTBPHTMykX5Z1tt+fIT5XUj4MyzHoEyW2lZu04RMyAG6gz4QhC3 Ia8KSpnsIeJMI78Ei1CwQk6ckc6B1GPir+gGHPB5CCtv1P3YBt+xq3odGoLLY+4fAaa1 WtD6xYZGM3TjA4mn1oH6qv8hPQFvDtFAlvHVxmf+ssZ65zidRRDBc/Nxy12FNrRerIvq LSIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=JtCrZy2L9RLUXUi8/TUTrDFOErnqlkJjxwqdNiyO4N4=; b=MOlOGmkBySlDsfrZTPizgxCWar3q99kb/PdPtn+auZrkGnY/QMMGY+9dvWu/pBQYsz EOCZVfUmAS+JCAPdt9+7PXCpvH1GqjXsfQAQRDtyRNVatft6EWDnG6rYjgOcKlsoXH11 NtDHVcUPumA4TtqbpvFliUhT0BXSJB/Ku4JZp8ZPxWSXtCTqfxa5Tyzo1vcziD+/Kh6e p+wDs0cIJ82feVvlRPh35C1U5YY+QkLCVG06cvY+LxDnOsBrLZ33PZfp7+sYeMzszc/u XY2UpbhFPOEO+llUqKW0xh2nmJRXOLqXa7TjNfvR36kQqHbRAheG9bnYQFH3eD/U+aQt S2ZA== X-Gm-Message-State: AGi0PubquAiz9fnXaeBj78mOA+91+lmtz+cbkOtn6REoc+W/skt6HyVw 9A9f6aBhhednQ53LvOKinNuSPfe6Shu1eQ== X-Google-Smtp-Source: APiQypLomIOOZYqzH+z1o+M1tl1oNsgPcqUTd3Wts3MZBlLsRJqkrRhiEX7zmnoxnkdo0Gl5ttIT4g== X-Received: by 2002:a17:90a:d14d:: with SMTP id t13mr11384439pjw.175.1588793058969; Wed, 06 May 2020 12:24:18 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id y21sm2531714pfn.148.2020.05.06.12.24.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2020 12:24:17 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 45006C20FCA; Wed, 6 May 2020 12:24:16 -0700 (PDT) In-Reply-To: <20200506174403.3EAB0C221CE@raman-glaptop.localdomain> (T. V. Raman's message of "Wed, 6 May 2020 10:44:03 -0700 (PDT)") Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=raman@google.com; helo=mail-pl1-x631.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249115 Archived-At: "T.V Raman" writes: Additional info: Restoring browse-url.el from early April makes the problem go away --- suspect this breakage comes from the recent changes in browse-url to allow multiple handlers. I failed to spot the cause after staring at the diff > Simple Test Case: > > 1. Create a new empty buffer called "foo" and switch to it > 2. Type this in that buffer: >

test

> 3. M-x browse-url-of-buffer > where browse-url is set up to render using EWW > 4. You dont get a rendered result, instead you see the HTML source, > and a message in the minibuffer re loading the HTML5 schema. > 5. But if you now switch to *Messages* you see an error > "File exists but cannot be read". > 6. /tmp does contain the generated file, and eww-open-file renders it > correctly. > > Might be useful when debugging, if you again try > browse-url-of-buffer, you dont see the error message above (but you > dont get the result rendered either) > > Using debug-on-error did not help, it did not enter the debugger. > > This error appears relatively new, > > > > -- --