1. 07 Dec, 2009 1 commit
  2. 30 Nov, 2009 1 commit
    • Juri Linkov's avatar
      (doc-view-continuous): · 0a745733
      Juri Linkov authored
      Rename from `doc-view-continuous-mode'.
      (doc-view-menu): Move "Toggle display" to the top.
      Add submenu "Continuous" with radio buttons "Off"/"On"
      and "Save as Default".
      (doc-view-scroll-up-or-next-page)
      (doc-view-scroll-down-or-previous-page)
      (doc-view-next-line-or-next-page)
      (doc-view-previous-line-or-previous-page): Rename
      `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
      0a745733
  3. 25 Nov, 2009 2 commits
    • Juri Linkov's avatar
      (doc-view-mode): Set buffer-local `view-read-only' to nil · bde04ea9
      Juri Linkov authored
      instead of switching off view-mode.  (Bug#4896)
      bde04ea9
    • Juri Linkov's avatar
      Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896) · 7d6b4d3c
      Juri Linkov authored
      * mwheel.el (mwheel-scroll-up-function)
      (mwheel-scroll-down-function): New defvars.
      (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
      `scroll-up', and `mwheel-scroll-down-function' instead of
      `scroll-down'.
      
      * doc-view.el (doc-view-scroll-up-or-next-page)
      (doc-view-scroll-down-or-previous-page): Add optional ARG.
      Use this ARG in the call to image-scroll-up/image-scroll-down.
      Change `interactive' spec to "P".  Goto next/previous page only
      when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
      SPC/DEL case).  Doc fix.
      (doc-view-next-line-or-next-page)
      (doc-view-previous-line-or-previous-page): Rename arg to ARG
      for consistency.
      (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
      `doc-view-scroll-up-or-next-page', and buffer-local
      `mwheel-scroll-down-function' to
      `doc-view-scroll-down-or-previous-page'.
      7d6b4d3c
  4. 24 Nov, 2009 1 commit
  5. 23 Nov, 2009 1 commit
    • Juri Linkov's avatar
      Implement DocView Continuous mode. (Bug#4896) · aefcadb6
      Juri Linkov authored
      * doc-view.el (doc-view-continuous-mode): New defcustom.
      (doc-view-mode-map): Bind C-n/<down> to `doc-view-next-line-or-next-page',
      C-p/<up> to `doc-view-previous-line-or-previous-page'.
      (doc-view-next-line-or-next-page)
      (doc-view-previous-line-or-previous-page): New commands.
      aefcadb6
  6. 17 Jul, 2009 1 commit
  7. 02 Apr, 2009 1 commit
  8. 14 Mar, 2009 1 commit
  9. 13 Mar, 2009 1 commit
  10. 10 Mar, 2009 1 commit
  11. 05 Mar, 2009 1 commit
  12. 02 Mar, 2009 1 commit
  13. 09 Feb, 2009 1 commit
  14. 28 Jan, 2009 1 commit
  15. 27 Jan, 2009 2 commits
  16. 05 Jan, 2009 1 commit
  17. 05 Nov, 2008 1 commit
  18. 18 Oct, 2008 1 commit
  19. 12 Sep, 2008 1 commit
  20. 26 Jun, 2008 1 commit
  21. 25 Jun, 2008 1 commit
    • Stefan Monnier's avatar
      * bookmark.el (bookmark-alist): Allow the 2 slightly different formats · 43f8b275
      Stefan Monnier authored
      used until now in bookmark.el's code.
      (bookmark-get-bookmark): Accept bookmark names or bookmark records.
      (bookmark-get-bookmark-record): Allow the 2 slightly different formats
      used until now in bookmark.el's code.
      (bookmark-set-filename): Remove special code, moved to its only caller.
      (bookmark-store): Use the newer format.
      (bookmark-make-record-default): Add arg `point-only'.
      Rename from bookmark-make-record-for-text-file.
      (bookmark--jump-via): New function.
      (bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window)
      (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window):
      Use it.
      (bookmark-jump-noselect, bookmark-default-handler):
      Don't return an alist, instead return the data implicitly by changing
      current buffer and point.  Signal an error if the file doesn't exist.
      * info.el (Info-bookmark-make-record):
      Use bookmark-make-record-default.
      (Info-bookmark-jump): Use bookmark-default-handler.
      * image-mode.el (image-bookmark-make-record):
      Use bookmark-make-record-default.
      (image-bookmark-jump): Use bookmark-default-handler.
      * doc-view.el (doc-view-bookmark-make-record):
      Use bookmark-make-record-default.
      (doc-view-bookmark-jump): Use bookmark-default-handler.
      43f8b275
  22. 12 Jun, 2008 1 commit
  23. 03 Jun, 2008 1 commit
  24. 28 May, 2008 1 commit
  25. 06 May, 2008 1 commit
  26. 28 Apr, 2008 1 commit
    • Chong Yidong's avatar
      (doc-view-new-window-function): Avoid using WINDOW · 10b6e7c1
      Chong Yidong authored
      argument to get-char-property, in case the current buffer hasn't
      been assigned to that window yet.
      (doc-view-display): Default to selected window if the current
      buffer hasn't been assigned to a window yet.
      10b6e7c1
  27. 22 Apr, 2008 1 commit
  28. 15 Apr, 2008 1 commit
  29. 14 Apr, 2008 3 commits
  30. 31 Mar, 2008 1 commit
    • Stefan Monnier's avatar
      Compute displayed pages first (in PDF). · ec4853ab
      Stefan Monnier authored
      (doc-view-current-converter-processes): Rename from
      doc-view-current-converter-process.  Update users.
      (doc-view-sentinel): Test buffer's liveness.
      (doc-view-pdf/ps->png-sentinel): Remove.
      (doc-view-start-process): New function.
      (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
      (doc-view-ps->pdf): Use it.
      (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages): New functions.
      (doc-view-convert-current-doc, doc-view-goto-page): Use them.
      (doc-view-mode): Kill the processes when leaving the mode.
      ec4853ab
  31. 18 Mar, 2008 2 commits
  32. 16 Mar, 2008 1 commit
  33. 13 Mar, 2008 1 commit
  34. 12 Mar, 2008 2 commits