unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: emacs list <help-gnu-emacs@gnu.org>, Tassilo Horn <tsdh@gnu.org>
Cc: Andreas Politz <politza@fh-trier.de>
Subject: Re: PDF breaks emacs (PDF-Tools)
Date: Wed, 04 Feb 2015 07:40:47 -0500	[thread overview]
Message-ID: <87fvaldf3k.fsf@gmail.com> (raw)
In-Reply-To: <87lhkddguk.fsf@gnu.org> (Tassilo Horn's message of "Wed, 04 Feb 2015 13:02:59 +0100")

Okay, sorry; I assumed it as just a half-made wiki page. Looks like it's actually a different package. A better link for the pdf-tools I'm using is this awesome package: https://github.com/politza/pdf-tools (available through Melpa). 

yeah, C-g provides no response. I'll can look into trying a different emacs version; I usually just run with whatever my Linux repo (Fedora in this case) provides. 

Tassilo Horn <tsdh@gnu.org> writes:

> torys.anderson@gmail.com (Tory S. Anderson) writes:
>
> Hi Tory,
>
>> I've been giving emacs PDF-Tools (very poorly documented here:
>> http://www.emacswiki.org/emacs/PdfTools) a try and have been
>> thoroughly impressed.  For the majority of my needs I'm even willing
>> to switch from the system pdf viewer (the excellent Okular) to this
>> one.
>
> Huh?  The pdftools.el you've linked has no support for viewing PDFs.
> What it can do is save a buffer or region as a PDF file.  That's all.
>
> So is it possible that you are actually opening PDF files from within
> emacs and then view them using Emacs' built-in `doc-view-mode'?
>
>> But then, just when life is getting rosy, my faith is completely
>> undermined by a PDF that not only refuses to open, but causes all of
>> emacs to crash terribly. The daring user of PDF-Tools can try such a
>> file here: http://orys.us/breaksemacspdf
>
> I've just downloaded and opened that file with Emacs (current Git
> version and also 24.4) and it worked without any problem.
>
>> I have not identified what causes the problem; other PDFs with image
>> components or side-runners don't seem to be problematic, nor are PDFs
>> of hundreds (even thousands) of pages in length. But if emacs crashes
>> here, I'm not sure where else it may fail. Any suggestions? Otherwise,
>> be warned.
>>
>> Note: by "crash" I mean, utterly and indefinitely freezes without
>> warning or complaint.
>
> Well, then that's no crash. ;-)
>
> I guess you did try to hit `C-g' repeatedly to see if that breaks the
> freeze, right?
>
> Otherwise, it's a bit hard to debug from my side.  I see you use Emacs
> 24.3.  I don't have that available right now but you could try upgrading
> to 24.4 and check if the freeze occurs there, too.
>
> Bye,
> Tassilo



  reply	other threads:[~2015-02-04 12:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 11:44 PDF breaks emacs (PDF-Tools) Tory S. Anderson
2015-02-04 12:02 ` Tassilo Horn
2015-02-04 12:40   ` Tory S. Anderson [this message]
2015-02-04 13:46     ` Tassilo Horn
2015-02-04 15:41       ` Tassilo Horn
2015-02-04 16:01         ` Andreas Politz
2015-02-05  9:13           ` [pdf-tools] WAS: " Rainer M Krug
2015-02-04 16:03         ` Óscar Fuentes
2015-02-04 16:17           ` Rasmus
2015-02-04 17:21             ` Óscar Fuentes
2015-02-04 16:14         ` Rasmus
2015-02-04 16:49   ` Peter Mao

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=87fvaldf3k.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=politza@fh-trier.de \
    --cc=tsdh@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.
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).