From: Alex Branham <alex.branham@gmail.com>
To: 28503@debbugs.gnu.org
Subject: bug#28503: 25.3; buffer-file-name returns nil in eww-pdfs
Date: Mon, 18 Sep 2017 14:21:10 -0500 [thread overview]
Message-ID: <87ingfu82h.fsf@gmail.com> (raw)
From emacs -Q:
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).
It would be nice if this returned the actual path; I am trying to write a different function that will copy the pdf file elsewhere on my computer.
Thanks!
In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.19)
of 2017-09-16 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
Configured using:
'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
--localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2
LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: eww
next reply other threads:[~2017-09-18 19:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 19:21 Alex Branham [this message]
2017-09-19 0:40 ` bug#28503: 25.3; buffer-file-name returns nil in eww-pdfs Glenn Morris
2017-09-19 1:33 ` Alex Branham
2018-04-12 23:17 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ingfu82h.fsf@gmail.com \
--to=alex.branham@gmail.com \
--cc=28503@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.