unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* problem with doc-view-mode in 24.1
@ 2012-08-03 17:01 covici
  2012-08-03 18:07 ` Tassilo Horn
  0 siblings, 1 reply; 5+ messages in thread
From: covici @ 2012-08-03 17:01 UTC (permalink / raw)
  To: emacs-devel

Hi.  I am having a couple of problems with doc-view in 24.1.  In 23.x,
when I find a .pdf, doc-view was automatically active, now I have to
type doc-view-mode to get it.  Any hook I can use to do this
automatically?

However, the worst problem is that I often get the following message
when trying to use doc-view-mode:
DocView: process pdf->txt changed status to killed.

Sometimes, I can get  things to work by restarting, but usually it does
not.

Any help would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem with doc-view-mode in 24.1
  2012-08-03 17:01 problem with doc-view-mode in 24.1 covici
@ 2012-08-03 18:07 ` Tassilo Horn
  2012-08-03 18:22   ` covici
  0 siblings, 1 reply; 5+ messages in thread
From: Tassilo Horn @ 2012-08-03 18:07 UTC (permalink / raw)
  To: covici; +Cc: emacs-devel

covici@ccs.covici.com writes:

Hi!

> Hi.  I am having a couple of problems with doc-view in 24.1.  In 23.x,
> when I find a .pdf, doc-view was automatically active, now I have to
> type doc-view-mode to get it.  Any hook I can use to do this
> automatically?

It should be active for PDF files by default.  With emacs 24.1, doing

  $ emacs -Q some/doc.pdf

opens the pdf with doc-view.

> However, the worst problem is that I often get the following message
> when trying to use doc-view-mode:
> DocView: process pdf->txt changed status to killed.

Does

  $ pdftotext -raw doc.pdf doc.txt

on the command line work, or does it crash?

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem with doc-view-mode in 24.1
  2012-08-03 18:07 ` Tassilo Horn
@ 2012-08-03 18:22   ` covici
  2012-08-04 19:16     ` Jeremiah Dodds
  0 siblings, 1 reply; 5+ messages in thread
From: covici @ 2012-08-03 18:22 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tsdh@gnu.org> wrote:

> covici@ccs.covici.com writes:
> 
> Hi!
> 
> > Hi.  I am having a couple of problems with doc-view in 24.1.  In 23.x,
> > when I find a .pdf, doc-view was automatically active, now I have to
> > type doc-view-mode to get it.  Any hook I can use to do this
> > automatically?
> 
> It should be active for PDF files by default.  With emacs 24.1, doing
> 
>   $ emacs -Q some/doc.pdf
> 
> opens the pdf with doc-view.
I am within emacs and use c-x c-f  rather than starting from scratch.

> 
> > However, the worst problem is that I often get the following message
> > when trying to use doc-view-mode:
> > DocView: process pdf->txt changed status to killed.
> 
> Does
> 
>   $ pdftotext -raw doc.pdf doc.txt
> 
> on the command line work, or does it crash?
It works fine.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem with doc-view-mode in 24.1
  2012-08-03 18:22   ` covici
@ 2012-08-04 19:16     ` Jeremiah Dodds
  2012-08-05  9:05       ` covici
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremiah Dodds @ 2012-08-04 19:16 UTC (permalink / raw)
  To: covici; +Cc: emacs-devel

covici@ccs.covici.com writes:

> Tassilo Horn <tsdh@gnu.org> wrote:
>
>> covici@ccs.covici.com writes:
>> 
>> Hi!
>> 
>> > Hi.  I am having a couple of problems with doc-view in 24.1.  In 23.x,
>> > when I find a .pdf, doc-view was automatically active, now I have to
>> > type doc-view-mode to get it.  Any hook I can use to do this
>> > automatically?
>> 
>> It should be active for PDF files by default.  With emacs 24.1, doing
>> 
>>   $ emacs -Q some/doc.pdf
>> 
>> opens the pdf with doc-view.
> I am within emacs and use c-x c-f  rather than starting from scratch.

Testing whether it works with 'emacs -Q some/doc.pdf' lets you and
everyone else know whether or not it's something in your configuration
that is making it fail, see the info node on emacs invocation.

-- 
Jeremiah Dodds

github     : https://github.com/jdodds
freenode   : exhortatory



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problem with doc-view-mode in 24.1
  2012-08-04 19:16     ` Jeremiah Dodds
@ 2012-08-05  9:05       ` covici
  0 siblings, 0 replies; 5+ messages in thread
From: covici @ 2012-08-05  9:05 UTC (permalink / raw)
  To: Jeremiah Dodds; +Cc: emacs-devel

Jeremiah Dodds <jeremiah.dodds@gmail.com> wrote:

> covici@ccs.covici.com writes:
> 
> > Tassilo Horn <tsdh@gnu.org> wrote:
> >
> >> covici@ccs.covici.com writes:
> >> 
> >> Hi!
> >> 
> >> > Hi.  I am having a couple of problems with doc-view in 24.1.  In 23.x,
> >> > when I find a .pdf, doc-view was automatically active, now I have to
> >> > type doc-view-mode to get it.  Any hook I can use to do this
> >> > automatically?
> >> 
> >> It should be active for PDF files by default.  With emacs 24.1, doing
> >> 
> >>   $ emacs -Q some/doc.pdf
> >> 
> >> opens the pdf with doc-view.
> > I am within emacs and use c-x c-f  rather than starting from scratch.
> 
> Testing whether it works with 'emacs -Q some/doc.pdf' lets you and
> everyone else know whether or not it's something in your configuration
> that is making it fail, see the info node on emacs invocation.
Test failed with similar results with the -q option.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-05  9:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-03 17:01 problem with doc-view-mode in 24.1 covici
2012-08-03 18:07 ` Tassilo Horn
2012-08-03 18:22   ` covici
2012-08-04 19:16     ` Jeremiah Dodds
2012-08-05  9:05       ` covici

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).