|
|
Up |
|
|
  |
Author: Tassilo HornTassilo Horn Date: Aug 28, 2007 00:39
Bill Clementson gmail.com> writes:
Hi Bill,
>> But I can use `shell-command' (and I do it now).
>
> In the conversion of doc-view-convert-doc, you made a typo:
> doc-view-conversion-buffed should be doc-view-conversion-buffer
Yes, I've fixed that. And I've sent it to emacs-devel for inclusion.
There's the new slicing-feature you're going to love! Trust me!
> Also, I suggested using C-n and C-p to scroll the image. You changed
> the bindings of C-v and M-v to scroll the image and added C-n and M-p
> to do next/previous page.
That was a typo and it's fixed now.
> I think my suggested bindings are closer to what people would expect
> (e.g. - C-v would move to the next page while C-n would move down in
> the current page). In any case, if you decide to keep the existing
> bindings, you should probably at least change M-p to C-p.
That's what I did, because C-v/M-v are always bound to scroll-up/down.
|
| Show full article (1.38Kb) |
|
| | 59 Comments |
|
  |
Author: Joost KremersJoost Kremers Date: Aug 28, 2007 03:08
Tassilo Horn wrote:
> Anyway, get the new version
i've just downloaded it and tried to compile, but my emacs chokes on
'defparameter'. the elisp manual doesn't mention defparameter, (require
'cl) also doesn't help, the emacs wiki site nor the source code mention any
requirements that i don't have, and i haven't been able to find any
relevant info on google... so please tell me, how do i get this elusive
defparameter?
TIA
--
Joost Kremers joostkremers@ yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
|
| |
|
| | 1 Comment |
|
  |
Author: Tassilo HornTassilo Horn Date: Aug 28, 2007 06:29
Joost Kremers yahoo.com> writes:
Hi Joost,
> i've just downloaded it and tried to compile, but my emacs chokes on
> 'defparameter'. the elisp manual doesn't mention defparameter,
> (require 'cl) also doesn't help, the emacs wiki site nor the source
> code mention any requirements that i don't have, and i haven't been
> able to find any relevant info on google... so please tell me, how do
> i get this elusive defparameter?
--8<---------------cut here---------------start------------->8---
(defmacro defparameter (symbol &optional initvalue docstring)
"Common Lisps defparameter."
`(progn
(defvar ,symbol nil ,docstring)
(setq ,symbol ,initvalue)))
--8<---------------cut here---------------end--------------->8---
But that was just a typo. Please update, I removed it.
|
| Show full article (0.88Kb) |
| 2 Comments |
|
  |
Author: Joost KremersJoost Kremers Date: Aug 28, 2007 12:24
Tassilo Horn wrote:
[defparameter]
> But that was just a typo. Please update, I removed it.
ah, thanks. (i already replaced it with defvar, figuring that that way, it
would at least work. ;-)
btw, since my screen is rather small (12inch ibook), a converted page isn't
shown in full, and i have to scroll down to see the bottom part. (slicing
doesn't help, as the screen is just too small.) other viewers (xdvi, xpdf)
usually use the space bar to scroll down and jump to the top of the next
page if the bottom of the page is shown. usually, DEL or backspace does the
opposite.
i've been trying to implement this functionality for doc-view, but so far
without much luck. it turns out to be rather difficult to establish which
part of the image is actually shown in the active window. i've tried with
pos-visible-in-window-p and with window-start/window-end, but that doesn't
really work. do you perhaps know a better way to do this?
TIA
|
| Show full article (1.08Kb) |
| no comments |
|
  |
Author: Joost KremersJoost Kremers Date: Aug 29, 2007 09:25
Tassilo Horn wrote:
[defparameter]
> But that was just a typo. Please update, I removed it.
ah, thanks. (i had already replaced it with defvar, figuring that that way,
it would at least work. ;-)
btw, because my screen is rather small (12inch ibook), a converted page isn't
shown in full, and i have to scroll down to see the bottom part. (slicing
doesn't help, as the screen is just too small.) other viewers (xdvi, xpdf)
usually use the space bar to scroll down and jump to the top of the next
page if the bottom of the page is shown. usually, DEL or backspace does the
opposite.
i've been trying to implement this functionality for doc-view, but so far
without much luck. it turns out to be rather difficult to establish which
part of the image is actually shown in the active window. i've tried with
pos-visible-in-window-p and with window-start/window-end, but that doesn't
really work. do you perhaps know a better way to do this?
TIA
|
| Show full article (1.08Kb) |
| no comments |
|
  |
Author: Tassilo HornTassilo Horn Date: Aug 29, 2007 12:36
Joost Kremers yahoo.com> writes:
Hi Joost,
> btw, because my screen is rather small (12inch ibook), a converted
> page isn't shown in full, and i have to scroll down to see the bottom
> part. (slicing doesn't help, as the screen is just too small.)
You can still slice with:
,----[ C-h f doc-view-set-slice RET ]
| doc-view-set-slice is an interactive Lisp function in `doc-view.el'.
| (doc-view-set-slice X Y WIDTH HEIGHT)
|
| Set the slice of the images that should be displayed.
| You can use this function to tell doc-view not to display the
| margins of the document. It prompts for the top-left corner (X
| and Y) of the slice to display and its WIDTH and HEIGHT.
|
| See `doc-view-set-slice-using-mouse' for a more convenient way to
| do that. To reset the slice use `doc-view-reset-slice'.
`----
|
| Show full article (1.18Kb) |
| no comments |
|
  |
Author: Joost KremersJoost Kremers Date: Aug 29, 2007 14:44
Tassilo Horn wrote:
hi tassilo,
>> btw, because my screen is rather small (12inch ibook), a converted
>> page isn't shown in full, and i have to scroll down to see the bottom
>> part. (slicing doesn't help, as the screen is just too small.)
>
> You can still slice with:
yes, i saw that function. however, the thing is, the text itself is simply
too large to fit on my screen. ;-) telling doc-view to create smaller
images wouldn't work either, because then the text becomes too small to
read.
>> other viewers (xdvi, xpdf) usually use the space bar to scroll down
>> and jump to the top of the next page if the bottom of the page is
>> shown. usually, DEL or backspace does the opposite.
>
> Implemented.
|
| Show full article (1.99Kb) |
| no comments |
|
  |
Author: Bill ClementsonBill Clementson Date: Aug 29, 2007 14:50
Hi Tassilo,
Tassilo Horn member.fsf.org> writes:
> Implemented.
Looks like a defparameter snuck into that last commit. You should change
it to a defvar.
- Bill
|
| |
| no comments |
|
  |
Author: Xavier MaillardXavier Maillard Date: Aug 29, 2007 16:42
Hi Tassilo,
--8<---------------cut here---------------start------------->8---
(defmacro defparameter (symbol &optional initvalue docstring)
"Common Lisps defparameter."
`(progn
(defvar ,symbol nil ,docstring)
(setq ,symbol ,initvalue)))
--8<---------------cut here---------------end--------------->8---
But that was just a typo. Please update, I removed it.
I do not see what the typo you are talking about is. Where is the
error in this code snipet ?
Xavier
|
| |
| no comments |
|
  |
|
|
  |
Author: Joost KremersJoost Kremers Date: Aug 29, 2007 17:14
Xavier Maillard wrote:
> Hi Tassilo,
>
> --8<---------------cut here---------------start------------->8---
> (defmacro defparameter (symbol &optional initvalue docstring)
> "Common Lisps defparameter."
> `(progn
> (defvar ,symbol nil ,docstring)
> (setq ,symbol ,initvalue)))
> --8<---------------cut here---------------end--------------->8---
>
> But that was just a typo. Please update, I removed it.
>
> I do not see what the typo you are talking about is. Where is the
> error in this code snipet ?
the code snippet does not have a typo, it's tassilo's reply to my question
how to get defparameter in elisp. the typo is the fact that there was a
defparamater in his code.
|
| Show full article (0.85Kb) |
| no comments |
|
RELATED THREADS |
  |
|
|
|
|
|