unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12506: 24.2.50; Docview shrinks width to fit screen
@ 2012-09-24 18:17 Ivan Andrus
  2012-09-25  8:39 ` Tassilo Horn
  0 siblings, 1 reply; 7+ messages in thread
From: Ivan Andrus @ 2012-09-24 18:17 UTC (permalink / raw)
  To: 12506

I occasionally use doc-view-mode to read pdfs.  I have noticed that if
the window is skinnier than the width of the pdf then the width is
shrunk so that it all fits.  However, the height is not affected.  This
leads to "squished" text which is unreadable.

To see the effect:

1. emacs -Q
2. open a pdf in doc-view-mode
3. type "W" for `doc-view-fit-width-to-window'
4. C-x 3 to split the window
5. You now have a squished picture.

I think it should not scale the width at all (and it did not use to).  
It makes zooming in impossible.  Especially it should not scale
the width without scaling the height.


In GNU Emacs 24.2.50.11 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36)
of 2012-09-23 on oroszlan.local
Bzr revision: 110163 winkler@gnu.org-20120923124653-1gg0qzo0fqr94j2v
Windowing system distributor `Apple', version 10.3.1038
Configured using:
`configure '--with-ns''

Important settings:
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: DocView

Minor modes in effect:
  auto-revert-mode: t
  TeX-PDF-mode: t
  which-function-mode: t
  show-paren-mode: t
  recentf-mode: t
  msb-mode: t
  minibuffer-depth-indicate-mode: t
  global-hl-line-mode: t
  delete-selection-mode: t
  auto-image-file-mode: t
  auto-insert-mode: t
  yas/global-mode: t
  yas/minor-mode: t
  shell-dirtrack-mode: t
  ido-everywhere: t
  global-visible-mark-mode: t
  visible-mark-mode: t
  gvol-mode: t
  diff-auto-refine-mode: t
  desktop-save-mode: t
  drag-stuff-global-mode: t
  drag-stuff-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <down-mouse-1>
<mouse-1> <help-echo> C-g <backspace> <backspace> q
<C-up> <help-echo> C-x C-f t <return> C-x C-f t e x
/ d i <return> d i C-s s s e r . p d <return> <help-echo>
s-x M-x r e p <backspace> <backspace> <backspace> e
m a c s b u g <return>

Recent messages:
Desktop lazily opening init.el (1 remaining)...
dot-emacs now compiling remotely
dot-emacs now compiling locally
Current project is dot-emacs: ~/.emacs.d/local/
Desktop lazily opening init.el (1 remaining)...done
Lazy desktop load complete
Type C-c C-c to toggle between editing or viewing the document.
tex now compiling remotely
tex now compiling locally
Current project is tex: /Users/gvol/TeX/
kill-region: The mark is not set now, so there is no region

Load-path shadows:
/Users/gvol/vcs/gap-mode/gap-process hides /Users/gvol/.emacs.d/elpa/gap-mode-20120912.2301/gap-process
/Users/gvol/vcs/gap-mode/gap-mode hides /Users/gvol/.emacs.d/elpa/gap-mode-20120912.2301/gap-mode
/Users/gvol/.emacs.d/elpa/parenface-20091203.1917/parenface hides ~/.emacs.d/local/parenface
/Users/gvol/.emacs.d/elpa/linum-relative-20120905.1503/linum-relative hides ~/.emacs.d/local/linum-relative
/Users/gvol/.emacs.d/elpa/hl-sexp-1.0.0/hl-sexp hides ~/.emacs.d/local/hl-sexp
/Users/gvol/.emacs.d/elpa/highlight-indentation-20120129.357/highlight-indentation hides ~/.emacs.d/local/highlight-indentation
/Users/gvol/.emacs.d/elpa/command-frequency-1.1/command-frequency hides ~/.emacs.d/local/command-frequency
/Users/gvol/.emacs.d/elpa/org-20120922/org hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org
/Users/gvol/.emacs.d/elpa/org-20120922/org-xoxo hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-xoxo
/Users/gvol/.emacs.d/elpa/org-20120922/org-wl hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-wl
/Users/gvol/.emacs.d/elpa/org-20120922/org-w3m hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-w3m
/Users/gvol/.emacs.d/elpa/org-20120922/org-vm hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-vm
/Users/gvol/.emacs.d/elpa/org-20120922/org-timer hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-timer
/Users/gvol/.emacs.d/elpa/org-20120922/org-taskjuggler hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-taskjuggler
/Users/gvol/.emacs.d/elpa/org-20120922/org-table hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-table
/Users/gvol/.emacs.d/elpa/org-20120922/org-src hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-src
/Users/gvol/.emacs.d/elpa/org-20120922/org-special-blocks hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-special-blocks
/Users/gvol/.emacs.d/elpa/org-20120922/org-rmail hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-rmail
/Users/gvol/.emacs.d/elpa/org-20120922/org-remember hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-remember
/Users/gvol/.emacs.d/elpa/org-20120922/org-publish hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-publish
/Users/gvol/.emacs.d/elpa/org-20120922/org-protocol hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-protocol
/Users/gvol/.emacs.d/elpa/org-20120922/org-plot hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-plot
/Users/gvol/.emacs.d/elpa/org-20120922/org-pcomplete hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-pcomplete
/Users/gvol/.emacs.d/elpa/org-20120922/org-odt hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-odt
/Users/gvol/.emacs.d/elpa/org-20120922/org-mouse hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-mouse
/Users/gvol/.emacs.d/elpa/org-20120922/org-mobile hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-mobile
/Users/gvol/.emacs.d/elpa/org-20120922/org-mks hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-mks
/Users/gvol/.emacs.d/elpa/org-20120922/org-mhe hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-mhe
/Users/gvol/.emacs.d/elpa/org-20120922/org-mew hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-mew
/Users/gvol/.emacs.d/elpa/org-20120922/org-macs hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-macs
/Users/gvol/.emacs.d/elpa/org-20120922/org-mac-message hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-mac-message
/Users/gvol/.emacs.d/elpa/org-20120922/org-lparse hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-lparse
/Users/gvol/.emacs.d/elpa/org-20120922/org-list hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-list
/Users/gvol/.emacs.d/elpa/org-20120922/org-latex hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-latex
/Users/gvol/.emacs.d/elpa/org-20120922/org-jsinfo hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-jsinfo
/Users/gvol/.emacs.d/elpa/org-20120922/org-irc hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-irc
/Users/gvol/.emacs.d/elpa/org-20120922/org-install hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-install
/Users/gvol/.emacs.d/elpa/org-20120922/org-inlinetask hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-inlinetask
/Users/gvol/.emacs.d/elpa/org-20120922/org-info hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-info
/Users/gvol/.emacs.d/elpa/org-20120922/org-indent hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-indent
/Users/gvol/.emacs.d/elpa/org-20120922/org-id hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-id
/Users/gvol/.emacs.d/elpa/org-20120922/org-icalendar hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-icalendar
/Users/gvol/.emacs.d/elpa/org-20120922/org-html hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-html
/Users/gvol/.emacs.d/elpa/org-20120922/org-habit hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-habit
/Users/gvol/.emacs.d/elpa/org-20120922/org-gnus hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-gnus
/Users/gvol/.emacs.d/elpa/org-20120922/org-freemind hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-freemind
/Users/gvol/.emacs.d/elpa/org-20120922/org-footnote hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-footnote
/Users/gvol/.emacs.d/elpa/org-20120922/org-feed hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-feed
/Users/gvol/.emacs.d/elpa/org-20120922/org-faces hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-faces
/Users/gvol/.emacs.d/elpa/org-20120922/org-exp hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-exp
/Users/gvol/.emacs.d/elpa/org-20120922/org-exp-blocks hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-exp-blocks
/Users/gvol/.emacs.d/elpa/org-20120922/org-eshell hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-eshell
/Users/gvol/.emacs.d/elpa/org-20120922/org-entities hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-entities
/Users/gvol/.emacs.d/elpa/org-20120922/org-docview hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-docview
/Users/gvol/.emacs.d/elpa/org-20120922/org-docbook hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-docbook
/Users/gvol/.emacs.d/elpa/org-20120922/org-datetree hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-datetree
/Users/gvol/.emacs.d/elpa/org-20120922/org-ctags hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-ctags
/Users/gvol/.emacs.d/elpa/org-20120922/org-crypt hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-crypt
/Users/gvol/.emacs.d/elpa/org-20120922/org-compat hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-compat
/Users/gvol/.emacs.d/elpa/org-20120922/org-colview hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-colview
/Users/gvol/.emacs.d/elpa/org-20120922/org-clock hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-clock
/Users/gvol/.emacs.d/elpa/org-20120922/org-capture hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-capture
/Users/gvol/.emacs.d/elpa/org-20120922/org-bibtex hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-bibtex
/Users/gvol/.emacs.d/elpa/org-20120922/org-beamer hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-beamer
/Users/gvol/.emacs.d/elpa/org-20120922/org-bbdb hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-bbdb
/Users/gvol/.emacs.d/elpa/org-20120922/org-attach hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-attach
/Users/gvol/.emacs.d/elpa/org-20120922/org-ascii hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-ascii
/Users/gvol/.emacs.d/elpa/org-20120922/org-archive hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-archive
/Users/gvol/.emacs.d/elpa/org-20120922/org-agenda hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/org-agenda
/Users/gvol/.emacs.d/elpa/org-20120922/ob hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob
/Users/gvol/.emacs.d/elpa/org-20120922/ob-tangle hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-tangle
/Users/gvol/.emacs.d/elpa/org-20120922/ob-table hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-table
/Users/gvol/.emacs.d/elpa/org-20120922/ob-sqlite hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-sqlite
/Users/gvol/.emacs.d/elpa/org-20120922/ob-sql hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-sql
/Users/gvol/.emacs.d/elpa/org-20120922/ob-shen hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-shen
/Users/gvol/.emacs.d/elpa/org-20120922/ob-sh hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-sh
/Users/gvol/.emacs.d/elpa/org-20120922/ob-screen hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-screen
/Users/gvol/.emacs.d/elpa/org-20120922/ob-scheme hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-scheme
/Users/gvol/.emacs.d/elpa/org-20120922/ob-sass hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-sass
/Users/gvol/.emacs.d/elpa/org-20120922/ob-ruby hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ruby
/Users/gvol/.emacs.d/elpa/org-20120922/ob-ref hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ref
/Users/gvol/.emacs.d/elpa/org-20120922/ob-R hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-R
/Users/gvol/.emacs.d/elpa/org-20120922/ob-python hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-python
/Users/gvol/.emacs.d/elpa/org-20120922/ob-plantuml hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-plantuml
/Users/gvol/.emacs.d/elpa/org-20120922/ob-picolisp hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-picolisp
/Users/gvol/.emacs.d/elpa/org-20120922/ob-perl hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-perl
/Users/gvol/.emacs.d/elpa/org-20120922/ob-org hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-org
/Users/gvol/.emacs.d/elpa/org-20120922/ob-octave hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-octave
/Users/gvol/.emacs.d/elpa/org-20120922/ob-ocaml hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ocaml
/Users/gvol/.emacs.d/elpa/org-20120922/ob-mscgen hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-mscgen
/Users/gvol/.emacs.d/elpa/org-20120922/ob-maxima hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-maxima
/Users/gvol/.emacs.d/elpa/org-20120922/ob-matlab hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-matlab
/Users/gvol/.emacs.d/elpa/org-20120922/ob-lob hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-lob
/Users/gvol/.emacs.d/elpa/org-20120922/ob-lisp hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-lisp
/Users/gvol/.emacs.d/elpa/org-20120922/ob-lilypond hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-lilypond
/Users/gvol/.emacs.d/elpa/org-20120922/ob-ledger hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ledger
/Users/gvol/.emacs.d/elpa/org-20120922/ob-latex hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-latex
/Users/gvol/.emacs.d/elpa/org-20120922/ob-keys hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-keys
/Users/gvol/.emacs.d/elpa/org-20120922/ob-js hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-js
/Users/gvol/.emacs.d/elpa/org-20120922/ob-java hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-java
/Users/gvol/.emacs.d/elpa/org-20120922/ob-haskell hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-haskell
/Users/gvol/.emacs.d/elpa/org-20120922/ob-gnuplot hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot
/Users/gvol/.emacs.d/elpa/org-20120922/ob-fortran hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-fortran
/Users/gvol/.emacs.d/elpa/org-20120922/ob-exp hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-exp
/Users/gvol/.emacs.d/elpa/org-20120922/ob-eval hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-eval
/Users/gvol/.emacs.d/elpa/org-20120922/ob-emacs-lisp hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-emacs-lisp
/Users/gvol/.emacs.d/elpa/org-20120922/ob-dot hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-dot
/Users/gvol/.emacs.d/elpa/org-20120922/ob-ditaa hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ditaa
/Users/gvol/.emacs.d/elpa/org-20120922/ob-css hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-css
/Users/gvol/.emacs.d/elpa/org-20120922/ob-comint hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-comint
/Users/gvol/.emacs.d/elpa/org-20120922/ob-clojure hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-clojure
/Users/gvol/.emacs.d/elpa/org-20120922/ob-calc hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-calc
/Users/gvol/.emacs.d/elpa/org-20120922/ob-C hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-C
/Users/gvol/.emacs.d/elpa/org-20120922/ob-awk hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-awk
/Users/gvol/.emacs.d/elpa/org-20120922/ob-asymptote hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-asymptote
/Users/gvol/vcs/sage-mode/emacs/.dir-locals hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/gnus/.dir-locals
~/.emacs.d/local/lisp-mnt hides /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/lisp-mnt

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils autorevert doc-view
image-mode smerge-mode ffap url-parse url-vars org-table preview
prv-emacs adaptive-wrap tex-fold reftex-vcr reftex-dcr reftex-auc reftex
reftex-vars tex-bar tex-buf toolbar-x font-latex latex tex-style
sage-auctex tex org-colview dired+ dired-x ediff-merg ediff-diff
ediff-wind ediff-mult ediff-help ediff-init ediff-util dired-aux dired
tabify cal-iso executable org-mobile org-archive org-id eldoc
highlight-parentheses greedy-delete gvol-light-theme reveal org-habit
org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo
org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info
org-gnus org-docview org-bibtex bibtex org-bbdb org-crypt ob-python org
ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys
org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob org-compat org-macs ob-eval vc-hg hl-sexp
highlight-symbol hi-lock thingatpt sage-mode apropos find-func
sage-compat hideshow python time jka-compr saveplace uniquify which-func
imenu paren recentf tree-widget wid-edit msb mb-depth icomplete hl-line
delsel image-file cus-start cus-load diary-lib diary-loaddefs cal-menu
calendar cal-loaddefs autoinsert yasnippet dropdown-list derived
help-mode tramp tramp-compat auth-source eieio gnus-util mm-util
mail-prsvr password-cache tramp-loaddefs cl-macs gv shell pcomplete
format-spec edmacro kmacro smex ido visible-mark parenface fold cl
cl-lib commit-patch-buffer log-edit pcvs-util add-log diff-hl vc
vc-dispatcher byte-opt warnings bytecomp byte-compile cconv diff-mode
sage rx sage-load xml flymake compile comint ansi-color ring desktop
drag-stuff browse-kill-ring backtr command-frequency uptimes pp server
easy-mmode assoc windmove ac-slime-autoloads ace-jump-mode-autoloads
ack-and-a-half-autoloads adaptive-wrap-autoloads
applescript-mode-autoloads auctex-autoloads tex-site
browse-kill-ring-autoloads buffer-move-autoloads c-eldoc-autoloads
columnify-autoloads command-frequency-autoloads company-autoloads
debbugs-autoloads diff-hl-autoloads dired+-autoloads
drag-stuff-autoloads durendal-autoloads ein-autoloads emstar-autoloads
feature-mode-autoloads gap-mode-autoloads goto-last-change-autoloads
graphviz-dot-mode-autoloads highlight-indentation-autoloads
highlight-parentheses-autoloads highlight-symbol-autoloads
hl-sexp-autoloads info+-autoloads jump-char-autoloads keyfreq-autoloads
linum-relative-autoloads mark-multiple-autoloads
markdown-mode+-autoloads markdown-mode-autoloads
multiple-cursors-autoloads nrepl-autoloads org-autoloads info easymenu
paredit-autoloads parenface-autoloads python-mode-autoloads
rainbow-delimiters-autoloads redo+-autoloads rw-hunspell-autoloads
scpaste-autoloads htmlize-autoloads scss-mode-autoloads
slime-clj-autoloads slime-fuzzy-autoloads slime-ritz-autoloads
smarter-compile-autoloads smex-autoloads speck-autoloads
swank-clojure-autoloads advice help-fns advice-preload
clojure-mode-autoloads slime-repl-autoloads slime-autoloads
undo-tree-autoloads unicode-whitespace-autoloads ucs-utils-autoloads
persistent-soft-autoloads pcache-autoloads finder-inf
vala-mode-autoloads websocket-autoloads wgrep-autoloads
xml-rpc-autoloads package time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process ns multi-tty emacs)


-Ivan






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

* bug#12506: 24.2.50; Docview shrinks width to fit screen
  2012-09-24 18:17 bug#12506: 24.2.50; Docview shrinks width to fit screen Ivan Andrus
@ 2012-09-25  8:39 ` Tassilo Horn
  2012-09-25 13:14   ` Ivan Andrus
  0 siblings, 1 reply; 7+ messages in thread
From: Tassilo Horn @ 2012-09-25  8:39 UTC (permalink / raw)
  To: Ivan Andrus; +Cc: 12506

Ivan Andrus <darthandrus@gmail.com> writes:

> I occasionally use doc-view-mode to read pdfs.  I have noticed that if
> the window is skinnier than the width of the pdf then the width is
> shrunk so that it all fits.  However, the height is not affected.
> This leads to "squished" text which is unreadable.
>
> To see the effect:
>
> 1. emacs -Q
> 2. open a pdf in doc-view-mode
> 3. type "W" for `doc-view-fit-width-to-window'
> 4. C-x 3 to split the window
> 5. You now have a squished picture.
>
> I think it should not scale the width at all (and it did not use to).
> It makes zooming in impossible.  Especially it should not scale the
> width without scaling the height.

I can't reproduce that on a GNU/Linux box.  After step 3, the image fits
exactly the width of the emacs window and the height is set correctly to
keep the aspect ratio.  After step 4, I have two side-by-side windows,
each showing about the left half of the image, but no squishing.

Have you compiled emacs with ImageMagick support?  I guess so, because
else doc-view would fall back to reconversion with any zooming command.
So let's assume you have ImageMagick support, could you please evaluate

  ;; That's basically what doc-view with ImageMagic does when
  ;; fitting/zooming
  (insert-image
   (create-image "/some/image.png"
	         'imagemagick nil :width 100))

and play a bit with the width parameter?  In any case, the image should
keep its original aspect ratio.

,----[ (info "(elisp)ImageMagick Images") ]
| `:width, :height'
|      The `:width' and `:height' keywords are used for scaling the
|      image.  If only one of them is specified, the other one will be
|      calculated so as to preserve the aspect ratio.  If both are
|      specified, aspect ratio may not be preserved.
`----

If you don't have ImageMagick support, could you check if just finding
some png image with image-mode and then splitting has the same squish
effect?

Bye,
Tassilo





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

* bug#12506: 24.2.50; Docview shrinks width to fit screen
  2012-09-25  8:39 ` Tassilo Horn
@ 2012-09-25 13:14   ` Ivan Andrus
  2012-09-25 13:56     ` Tassilo Horn
  0 siblings, 1 reply; 7+ messages in thread
From: Ivan Andrus @ 2012-09-25 13:14 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: 12506

On Sep 25, 2012, at 10:39 AM, Tassilo Horn wrote:

> Ivan Andrus <darthandrus@gmail.com> writes:
> 
>> I occasionally use doc-view-mode to read pdfs.  I have noticed that if
>> the window is skinnier than the width of the pdf then the width is
>> shrunk so that it all fits.  However, the height is not affected.
>> This leads to "squished" text which is unreadable.
>> 
>> To see the effect:
>> 
>> 1. emacs -Q
>> 2. open a pdf in doc-view-mode
>> 3. type "W" for `doc-view-fit-width-to-window'
>> 4. C-x 3 to split the window
>> 5. You now have a squished picture.
>> 
>> I think it should not scale the width at all (and it did not use to).
>> It makes zooming in impossible.  Especially it should not scale the
>> width without scaling the height.
> 
> I can't reproduce that on a GNU/Linux box.  After step 3, the image fits
> exactly the width of the emacs window and the height is set correctly to
> keep the aspect ratio.  After step 4, I have two side-by-side windows,
> each showing about the left half of the image, but no squishing.

Perhaps it's a NextStep only problem.

> Have you compiled emacs with ImageMagick support?  I guess so, because
> else doc-view would fall back to reconversion with any zooming command.
> So let's assume you have ImageMagick support, could you please evaluate
> 
>  ;; That's basically what doc-view with ImageMagic does when
>  ;; fitting/zooming
>  (insert-image
>   (create-image "/some/image.png"
> 	         'imagemagick nil :width 100))
> 
> and play a bit with the width parameter?  In any case, the image should
> keep its original aspect ratio.

I'm pretty sure I don't have it with ImageMagick support.  The above gives me an error, and the configure logs confirm this.

> ,----[ (info "(elisp)ImageMagick Images") ]
> | `:width, :height'
> |      The `:width' and `:height' keywords are used for scaling the
> |      image.  If only one of them is specified, the other one will be
> |      calculated so as to preserve the aspect ratio.  If both are
> |      specified, aspect ratio may not be preserved.
> `----
> 
> If you don't have ImageMagick support, could you check if just finding
> some png image with image-mode and then splitting has the same squish
> effect?

I also see the same problem with a jpeg in image mode.  I should have checked that first, sorry.  Of course, I can't scale the image, but the squishing definitely occurs.

-Ivan




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

* bug#12506: 24.2.50; Docview shrinks width to fit screen
  2012-09-25 13:14   ` Ivan Andrus
@ 2012-09-25 13:56     ` Tassilo Horn
  2012-09-25 16:12       ` Glenn Morris
  2012-10-07 11:10       ` Jan Djärv
  0 siblings, 2 replies; 7+ messages in thread
From: Tassilo Horn @ 2012-09-25 13:56 UTC (permalink / raw)
  To: Ivan Andrus; +Cc: 12506-done, 12506

Ivan Andrus <darthandrus@gmail.com> writes:

>> If you don't have ImageMagick support, could you check if just
>> finding some png image with image-mode and then splitting has the
>> same squish effect?
>
> I also see the same problem with a jpeg in image mode.  I should have
> checked that first, sorry.  Of course, I can't scale the image, but
> the squishing definitely occurs.

Ok, I don't get that effect even when I explicitly don't use the
imagemagick backend.  So it really seems to be a NextStep issue.  I'll
close this issue then.

Feel free to report it again as a problem with the NS port.

Bye,
Tassilo





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

* bug#12506: 24.2.50; Docview shrinks width to fit screen
  2012-09-25 13:56     ` Tassilo Horn
@ 2012-09-25 16:12       ` Glenn Morris
  2012-10-07 11:10       ` Jan Djärv
  1 sibling, 0 replies; 7+ messages in thread
From: Glenn Morris @ 2012-09-25 16:12 UTC (permalink / raw)
  To: 12506; +Cc: Ivan Andrus

Tassilo Horn wrote:

> Ok, I don't get that effect even when I explicitly don't use the
> imagemagick backend.  So it really seems to be a NextStep issue.  I'll
> close this issue then.
>
> Feel free to report it again as a problem with the NS port.

This seems unnecessary to me, so I'm reopening this.
It can be retitled if you feel Docview is unfairly victimised by the
subject.





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

* bug#12506: 24.2.50; Docview shrinks width to fit screen
  2012-09-25 13:56     ` Tassilo Horn
  2012-09-25 16:12       ` Glenn Morris
@ 2012-10-07 11:10       ` Jan Djärv
  2012-10-08 13:22         ` Ivan Andrus
  1 sibling, 1 reply; 7+ messages in thread
From: Jan Djärv @ 2012-10-07 11:10 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: Ivan Andrus, 12506-done

Hello.

This has been fixed in the trunk.

	Jan D.

25 sep 2012 kl. 15:56 skrev Tassilo Horn <tsdh@gnu.org>:

> Ivan Andrus <darthandrus@gmail.com> writes:
> 
>>> If you don't have ImageMagick support, could you check if just
>>> finding some png image with image-mode and then splitting has the
>>> same squish effect?
>> 
>> I also see the same problem with a jpeg in image mode.  I should have
>> checked that first, sorry.  Of course, I can't scale the image, but
>> the squishing definitely occurs.
> 
> Ok, I don't get that effect even when I explicitly don't use the
> imagemagick backend.  So it really seems to be a NextStep issue.  I'll
> close this issue then.
> 
> Feel free to report it again as a problem with the NS port.
> 
> Bye,
> Tassilo
> 
> 






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

* bug#12506: 24.2.50; Docview shrinks width to fit screen
  2012-10-07 11:10       ` Jan Djärv
@ 2012-10-08 13:22         ` Ivan Andrus
  0 siblings, 0 replies; 7+ messages in thread
From: Ivan Andrus @ 2012-10-08 13:22 UTC (permalink / raw)
  To: 12506

I think I forgot to say thanks.  I appreciate all your work on the NS port.

-Ivan

On Oct 7, 2012, at 1:10 PM, Jan Djärv wrote:

> Hello.
> 
> This has been fixed in the trunk.
> 
> 	Jan D.
> 
> 25 sep 2012 kl. 15:56 skrev Tassilo Horn <tsdh@gnu.org>:
> 
>> Ivan Andrus <darthandrus@gmail.com> writes:
>> 
>>>> If you don't have ImageMagick support, could you check if just
>>>> finding some png image with image-mode and then splitting has the
>>>> same squish effect?
>>> 
>>> I also see the same problem with a jpeg in image mode.  I should have
>>> checked that first, sorry.  Of course, I can't scale the image, but
>>> the squishing definitely occurs.
>> 
>> Ok, I don't get that effect even when I explicitly don't use the
>> imagemagick backend.  So it really seems to be a NextStep issue.  I'll
>> close this issue then.
>> 
>> Feel free to report it again as a problem with the NS port.
>> 
>> Bye,
>> Tassilo
>> 
>> 
> 

-Ivan






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

end of thread, other threads:[~2012-10-08 13:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 18:17 bug#12506: 24.2.50; Docview shrinks width to fit screen Ivan Andrus
2012-09-25  8:39 ` Tassilo Horn
2012-09-25 13:14   ` Ivan Andrus
2012-09-25 13:56     ` Tassilo Horn
2012-09-25 16:12       ` Glenn Morris
2012-10-07 11:10       ` Jan Djärv
2012-10-08 13:22         ` Ivan Andrus

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