unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Alex Branham <alex.branham@gmail.com>
Cc: 28503@debbugs.gnu.org
Subject: bug#28503: 25.3; buffer-file-name returns nil in eww-pdfs
Date: Fri, 13 Apr 2018 01:17:37 +0200	[thread overview]
Message-ID: <87tvsgc8vi.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87ingfu82h.fsf@gmail.com> (Alex Branham's message of "Mon, 18 Sep 2017 14:21:10 -0500")

Alex Branham <alex.branham@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





      parent reply	other threads:[~2018-04-12 23:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-18 19:21 bug#28503: 25.3; buffer-file-name returns nil in eww-pdfs Alex Branham
2017-09-19  0:40 ` Glenn Morris
2017-09-19  1:33   ` Alex Branham
2018-04-12 23:17 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvsgc8vi.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=28503@debbugs.gnu.org \
    --cc=alex.branham@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).