GNU bug report logs - #28503
25.3; buffer-file-name returns nil in eww-pdfs

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Mon, 18 Sep 2017 19:22:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 25.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 28503 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 28503 <at> debbugs.gnu.org
Subject: Re: bug#28503: 25.3; buffer-file-name returns nil in eww-pdfs
Date: Fri, 13 Apr 2018 01:17:37 +0200
Alex Branham <alex.branham <at> gmail.com> writes:

> M-x eww
> (navigate to a pdf, I found this by searching "pdf test page"): http://www.orimi.com/pdf-test.pdf
>
> then eval (buffer-file-name)
>
> For me, it returns nil even though the pdf is a file on my computer (somewhere in /tmp for me).

I don't think that's the right thing to do.  It's an eww buffer, not a
buffer tied to the file in question (even if it's showing a rendering of
the file).

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 7 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.