[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Viewing PDFs as text?
From: |
Tassilo Horn |
Subject: |
Re: Viewing PDFs as text? |
Date: |
Thu, 13 Mar 2008 10:29:59 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
Bastien <bzg@altern.org> writes:
Hi Bastien,
> I tried it and found this problem: when the buffer is already
> converted C-c C-t on it will fail because it tries to create a
> directory that does already exist.
>
> ,----
> | (defun doc-view-doc->txt (txt callback)
> | "Convert the current document to text and call CALLBACK when done."
> | (make-directory (doc-view-current-cache-dir))
> `----
>
> A check before making this directory is enough to make it work ok
> here, but you know the code better than I do.
That shouldn't happen.
,----[ C-h f make-directory RET ]
| make-directory is an interactive compiled Lisp function in `files.el'.
|
| (make-directory dir &optional parents)
|
| Create the directory dir and any nonexistent parent dirs.
| If dir already exists as a directory, do nothing.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
Are you sure this is the place the error is thrown?
Bye,
Tassilo
- Viewing PDFs as text?, Alan, 2008/03/10
- Re: Viewing PDFs as text?, Peter Dyballa, 2008/03/10
- Message not available
- Re: Viewing PDFs as text?, Roland Winkler, 2008/03/11
- Re: Viewing PDFs as text?, Tassilo Horn, 2008/03/11
- Message not available
- Re: Viewing PDFs as text?, Roland Winkler, 2008/03/11
- Re: Viewing PDFs as text?, Tassilo Horn, 2008/03/12
- Re: Viewing PDFs as text?, Bastien, 2008/03/12
- Re: Viewing PDFs as text?,
Tassilo Horn <=
- Re: Viewing PDFs as text?, Bastien, 2008/03/13
- Re: Viewing PDFs as text?, Tassilo Horn, 2008/03/13
- Re: Viewing PDFs as text?, Tassilo Horn, 2008/03/13
- Re: Viewing PDFs as text?, Bastien Guerry, 2008/03/13
- Emacs 23 and msb.el, Guy Durrieu, 2008/03/13
- Message not available
- Re: Viewing PDFs as text?, Roland Winkler, 2008/03/12
- Re: Viewing PDFs as text?, Roland Winkler, 2008/03/18
- Re: Viewing PDFs as text?, Tassilo Horn, 2008/03/19
- Re: Viewing PDFs as text?, Roland Winkler, 2008/03/19
- Re: Viewing PDFs as text?, Tassilo Horn, 2008/03/19