1. 06 Jul, 2019 1 commit
  2. 26 May, 2019 1 commit
    • Paul Eggert's avatar
      Remove Maintainer: when it duplicates Author: · 797ee587
      Paul Eggert authored
      The convention is that a file with Author: but not Maintainer:
      means the author is a maintainer, which makes it confusing
      when a file lists the same person as author and maintainer.
      Avoid the confusion by removing the duplicate Maintainer: line.
      797ee587
  3. 13 Mar, 2019 1 commit
  4. 09 Mar, 2019 1 commit
  5. 04 Feb, 2019 1 commit
    • Federico Tedin's avatar
      Allow doc-view to open password-protected PDF files (bug#33684) · d5f629d1
      Federico Tedin authored
      * lisp/doc-view.el (doc-view-ghostscript-options): Removed "-sDEVICE"
      option.
      (doc-view-ghostscript-device): New customizable variable, passed as
      "-sDEVICE" option to GhostScript.
      (doc-view-pdf-password-protected-ghostscript-p): New function.
      (doc-view-pdf->png-converter-ghostscript): Can now open
      password-protected PDF files.
      (doc-view-pdfdraw-program-subcommand): New function.
      (doc-view-pdf-password-protected-pdfdraw-p): New function.
      (doc-view-pdf->png-converter-mupdf): Can now open password-protected
      PDF files.
      * etc/NEWS: Mention new doc-view-mode feature.
      d5f629d1
  6. 23 Jan, 2019 1 commit
    • Stefan Monnier's avatar
      doc-view-presentation, doc-view-fit-window-to-page, and use mutool · 95b2f1a0
      Stefan Monnier authored
      * lisp/doc-view.el (doc-view-pdfdraw-program): Use "mutool" if available.
      (doc-view-mode-map): Keep default 'g' binding of 'revert-buffer'.
      Change 'r' binding to 'revert-buffer'.
      (doc-view-revert-buffer): Make it an obsolete alias.
      (doc-view--revert-buffer): Rename from doc-view-revert-buffer, change
      calling convention for use in add-function.
      (doc-view-fit-window-to-page): New command.
      (doc-view-pdf->png-converter-mupdf): Make it work with "mutool".
      (doc-view-mode): Use add-function for revert-buffer-function.
      (doc-view-presentation-mode-map, doc-view-presentation--src-data):
      New vars.
      (doc-view-presentation-exit, doc-view-presentation-mode)
      (doc-view-presentation--propagate-pn, doc-view-presentation):
      New functions.
      95b2f1a0
  7. 01 Jan, 2019 1 commit
  8. 25 Nov, 2018 1 commit
    • Michael Heerdegen's avatar
      Replace insignificant backquotes · 1808d254
      Michael Heerdegen authored
      Replace most insignificant occurrences of '`' with a straight quote,
      sharp quote or nothing.  This includes backquotes in 'pcase' patterns.
      
      * admin/admin.el:
      * lisp/apropos.el:
      * lisp/arc-mode.el:
      * lisp/auth-source.el:
      * lisp/avoid.el:
      * lisp/bindings.el:
      * lisp/bs.el:
      * lisp/calculator.el:
      * lisp/calendar/todo-mode.el:
      * lisp/cedet/semantic.el:
      * lisp/cedet/semantic/analyze/debug.el:
      * lisp/cedet/semantic/bovine.el:
      * lisp/cedet/semantic/dep.el:
      * lisp/cedet/semantic/grammar.el:
      * lisp/cedet/semantic/wisent/comp.el:
      * lisp/cedet/semantic/wisent/grammar.el:
      * lisp/cedet/srecode/mode.el:
      * lisp/cus-edit.el:
      * lisp/doc-view.el:
      * lisp/elec-pair.el:
      * lisp/electric.el:
      * lisp/emacs-lisp/autoload.el:
      * lisp/emacs-lisp/benchmark.el:
      * lisp/emacs-lisp/byte-opt.el:
      * lisp/emacs-lisp/bytecomp.el:
      * lisp/emacs-lisp/cconv.el:
      * lisp/emacs-lisp/cl-extra.el:
      * lisp/emacs-lisp/cl-generic.el:
      * lisp/emacs-lisp/cl-macs.el:
      * lisp/emacs-lisp/copyright.el:
      * lisp/emacs-lisp/debug.el:
      * lisp/emacs-lisp/eieio-compat.el:
      * lisp/emacs-lisp/ert.el:
      * lisp/emacs-lisp/generator.el:
      * lisp/emacs-lisp/inline.el:
      * lisp/emacs-lisp/macroexp.el:
      * lisp/emacs-lisp/map.el:
      * lisp/emacs-lisp/package-x.el:
      * lisp/emacs-lisp/package.el:
      * lisp/emacs-lisp/radix-tree.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/epa.el:
      * lisp/erc/erc-dcc.el:
      * lisp/erc/erc-track.el:
      * lisp/erc/erc.el:
      * lisp/eshell/em-ls.el:
      * lisp/eshell/esh-cmd.el:
      * lisp/files.el:
      * lisp/filesets.el:
      * lisp/font-lock.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/gnus-art.el:
      * lisp/gnus/gnus-cite.el:
      * lisp/gnus/gnus-group.el:
      * lisp/gnus/gnus-msg.el:
      * lisp/gnus/gnus-salt.el:
      * lisp/gnus/gnus-srvr.el:
      * lisp/gnus/gnus-sum.el:
      * lisp/gnus/gnus-topic.el:
      * lisp/gnus/gnus-util.el:
      * lisp/gnus/gnus.el:
      * lisp/gnus/message.el:
      * lisp/gnus/mm-util.el:
      * lisp/gnus/mml.el:
      * lisp/gnus/nnheader.el:
      * lisp/gnus/nnimap.el:
      * lisp/gnus/nnmairix.el:
      * lisp/gnus/spam.el:
      * lisp/hexl.el:
      * lisp/hi-lock.el:
      * lisp/ibuf-ext.el:
      * lisp/ibuffer.el:
      * lisp/ido.el:
      * lisp/info.el:
      * lisp/international/mule-cmds.el:
      * lisp/international/mule-util.el:
      * lisp/json.el:
      * lisp/jsonrpc.el:
      * lisp/language/cyrillic.el:
      * lisp/language/european.el:
      * lisp/language/georgian.el:
      * lisp/language/tibetan.el:
      * lisp/language/utf-8-lang.el:
      * lisp/language/vietnamese.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mail-extr.el:
      * lisp/man.el:
      * lisp/menu-bar.el:
      * lisp/mh-e/mh-acros.el:
      * lisp/mh-e/mh-folder.el:
      * lisp/mh-e/mh-mime.el:
      * lisp/mh-e/mh-show.el:
      * lisp/mh-e/mh-speed.el:
      * lisp/minibuffer.el:
      * lisp/mpc.el:
      * lisp/net/ange-ftp.el:
      * lisp/net/hmac-def.el:
      * lisp/net/newst-backend.el:
      * lisp/net/quickurl.el:
      * lisp/net/tramp-archive.el:
      * lisp/net/tramp-compat.el:
      * lisp/notifications.el:
      * lisp/obsolete/pgg-parse.el:
      * lisp/obsolete/vc-arch.el:
      * lisp/obsolete/xesam.el:
      * lisp/org/ob-C.el:
      * lisp/org/ob-core.el:
      * lisp/org/ob-exp.el:
      * lisp/org/ob-groovy.el:
      * lisp/org/ob-haskell.el:
      * lisp/org/ob-io.el:
      * lisp/org/ob-lisp.el:
      * lisp/org/ob-lob.el:
      * lisp/org/ob-lua.el:
      * lisp/org/ob-octave.el:
      * lisp/org/ob-perl.el:
      * lisp/org/ob-python.el:
      * lisp/org/ob-ref.el:
      * lisp/org/ob-ruby.el:
      * lisp/org/ob-sql.el:
      * lisp/org/org-agenda.el:
      * lisp/org/org-capture.el:
      * lisp/org/org-clock.el:
      * lisp/org/org-colview.el:
      * lisp/org/org-duration.el:
      * lisp/org/org-element.el:
      * lisp/org/org-entities.el:
      * lisp/org/org-gnus.el:
      * lisp/org/org-indent.el:
      * lisp/org/org-info.el:
      * lisp/org/org-inlinetask.el:
      * lisp/org/org-lint.el:
      * lisp/org/org-list.el:
      * lisp/org/org-mouse.el:
      * lisp/org/org-plot.el:
      * lisp/org/org-src.el:
      * lisp/org/org-table.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-html.el:
      * lisp/org/ox-latex.el:
      * lisp/org/ox-man.el:
      * lisp/org/ox-md.el:
      * lisp/org/ox-org.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox-texinfo.el:
      * lisp/org/ox.el:
      * lisp/play/bubbles.el:
      * lisp/play/gamegrid.el:
      * lisp/progmodes/autoconf.el:
      * lisp/progmodes/cc-defs.el:
      * lisp/progmodes/cc-engine.el:
      * lisp/progmodes/cc-fonts.el:
      * lisp/progmodes/cc-langs.el:
      * lisp/progmodes/cperl-mode.el:
      * lisp/progmodes/ebrowse.el:
      * lisp/progmodes/elisp-mode.el:
      * lisp/progmodes/flymake-cc.el:
      * lisp/progmodes/flymake.el:
      * lisp/progmodes/fortran.el:
      * lisp/progmodes/grep.el:
      * lisp/progmodes/gud.el:
      * lisp/progmodes/idlwave.el:
      * lisp/progmodes/js.el:
      * lisp/progmodes/m4-mode.el:
      * lisp/progmodes/make-mode.el:
      * lisp/progmodes/mixal-mode.el:
      * lisp/progmodes/modula2.el:
      * lisp/progmodes/octave.el:
      * lisp/progmodes/opascal.el:
      * lisp/progmodes/prolog.el:
      * lisp/progmodes/ps-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/ruby-mode.el:
      * lisp/progmodes/sh-script.el:
      * lisp/progmodes/sql.el:
      * lisp/progmodes/verilog-mode.el:
      * lisp/ps-mule.el:
      * lisp/rtree.el:
      * lisp/ruler-mode.el:
      * lisp/ses.el:
      * lisp/simple.el:
      * lisp/startup.el:
      * lisp/subr.el:
      * lisp/term/ns-win.el:
      * lisp/textmodes/bibtex.el:
      * lisp/textmodes/conf-mode.el:
      * lisp/textmodes/css-mode.el:
      * lisp/textmodes/refill.el:
      * lisp/textmodes/sgml-mode.el:
      * lisp/textmodes/tex-mode.el:
      * lisp/tutorial.el:
      * lisp/url/url-dav.el:
      * lisp/url/url-gw.el:
      * lisp/url/url-http.el:
      * lisp/url/url-methods.el:
      * lisp/url/url-privacy.el:
      * lisp/vc/cvs-status.el:
      * lisp/vc/diff-mode.el:
      * lisp/vc/ediff-init.el:
      * lisp/vc/ediff-ptch.el:
      * lisp/vc/log-edit.el:
      * lisp/vc/log-view.el:
      * lisp/vc/pcvs-info.el:
      * lisp/vc/pcvs.el:
      * lisp/vc/smerge-mode.el:
      * lisp/vc/vc-git.el:
      * lisp/vc/vc-hg.el:
      * lisp/vc/vc-mtn.el:
      * lisp/vc/vc-rcs.el:
      * lisp/whitespace.el:
      * lisp/window.el:
      * test/lisp/electric-tests.el:
      * test/lisp/emacs-lisp/cl-lib-tests.el:
      * test/lisp/emacs-lisp/ert-tests.el:
      * test/lisp/epg-tests.el:
      * test/lisp/jsonrpc-tests.el:
      * test/src/data-tests.el:
      * test/src/json-tests.el: Replace most insignificant backquotes.
      1808d254
  9. 13 Nov, 2018 1 commit
  10. 03 Nov, 2018 1 commit
    • Jordan Wilson's avatar
      Avoid file-name errors when viewing PDF from Gnus · 88ef31ab
      Jordan Wilson authored
      * lisp/doc-view.el (doc-view-mode): Run the output file name
      through 'convert-standard-filename', to avoid problems with
      characters that are not allowed in file names on some
      systems.  (Bug#32989)
      
      Copyright-paperwork-exempt: yes
      88ef31ab
  11. 02 Jul, 2018 1 commit
    • John Shahid's avatar
      Optionally add argument description in minor mode DOC (bug#10754) · ee3e4323
      John Shahid authored
      Add a paragraph to minor mode's docstring documenting the mode's ARG
      usage if the supplied docstring doesn't already contain the word "ARG".
      
      * easy-mmode.el (easy-mmode--arg-docstring): New const.
      (easy-mmode--arg-docstring): New function.
      (define-minor-mode): Use them.
      
      Remove argument documentation from all minor modes.
      ee3e4323
  12. 23 Jun, 2018 1 commit
  13. 22 Jun, 2018 1 commit
    • Stefan Monnier's avatar
      New functions to switch back and forth to another major mode · a5511956
      Stefan Monnier authored
      * subr.el (major-mode--suspended): New var.
      (major-mode-suspend, major-mode-restore): New funs, extracted from doc-view.
      * doc-view.el (doc-view--previous-major-mode): Remove.
      (doc-view-mode): Use major-mode-suspend.
      (doc-view-fallback-mode): Use major-mode-restore.
      * hexl-mode.el (hexl-mode--minor-mode-p, hexl-mode--setq-local): Remove.
      (hexl-mode): Use major-mode-suspend and hexl-follow-ascii-mode.
      (hexl-mode-exit): Use major-mode-restore.
      (hexl-activate-ruler, hexl-follow-line): Don't bother trying to preserve
      earlier state, now that entering/leaving hexl-mode kills local vars.
      (hexl-follow-ascii-mode): New proper local minor mode.
      (hexl-follow-ascii): Rewrite, using it.
      * image-mode.el (image-mode-previous-major-mode): Remove.
      (image-mode): Use major-mode-suspend.
      (image-mode-to-text): Use major-mode-restore.
      a5511956
  14. 01 Jan, 2018 1 commit
  15. 28 Oct, 2017 1 commit
  16. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  17. 18 Apr, 2017 1 commit
    • Glenn Morris's avatar
      Avoid unnecessary loading of subr-x at run-time · 0f834339
      Glenn Morris authored
      * lisp/doc-view.el, lisp/filenotify.el, lisp/info-look.el:
      * lisp/svg.el, lisp/emacs-lisp/byte-opt.el, lisp/net/shr.el:
      * lisp/textmodes/sgml-mode.el, test/lisp/dom-tests.el:
      No need to load subr-x at run-time.
      * lisp/gnus/nnheader.el: No need to load subr-x.
      ; * lisp/emacs-lisp/subr-x.el, lisp/gnus/message.el, lisp/net/nsm.el:
      ; Comments.
      0f834339
  18. 02 Feb, 2017 1 commit
  19. 01 Jan, 2017 1 commit
  20. 18 Mar, 2016 1 commit
  21. 16 Feb, 2016 1 commit
  22. 15 Feb, 2016 2 commits
  23. 14 Feb, 2016 1 commit
  24. 21 Jan, 2016 1 commit
    • Stephen Berman's avatar
      Fix desktop support in todo-mode and doc-view (bug#22377) · 7bc7fd60
      Stephen Berman authored
      * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
      * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
      
      * lisp/calendar/todo-mode.el (todo-modes-set-2):
      * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
      7bc7fd60
  25. 01 Jan, 2016 1 commit
  26. 22 Oct, 2015 1 commit
    • Tassilo Horn's avatar
      Improve doc-view wrt. auto-revert-mode · 11d14229
      Tassilo Horn authored
      * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file is
      corrupted (bug#21729).
      (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
      11d14229
  27. 12 Oct, 2015 1 commit
  28. 06 Feb, 2015 1 commit
  29. 05 Feb, 2015 1 commit
  30. 01 Jan, 2015 2 commits
  31. 23 Oct, 2014 1 commit
    • Tassilo Horn's avatar
      Backport latest doc-view fix · 9e147f75
      Tassilo Horn authored
      * doc/emacs/misc.texi (Document View): Adapt to latest doc-view changes wrt
      viewing the document's plain text contents.  [Backport]
      
      * lisp/doc-view.el (doc-view-open-text): View the document's plain text
      in the current buffer instead of a new one.
      (doc-view-toggle-display): Handle the case where the current
      buffer contains the plain text contents of the document.
      (doc-view-initiate-display): Don't switch to fallback mode if the
      user wants to view the doc's plain text.  [Backport]
      9e147f75
  32. 22 Oct, 2014 1 commit
    • Tassilo Horn's avatar
      Improve viewing plain text contents of document · 36749d80
      Tassilo Horn authored
      * doc/emacs/misc.texi (Document View): Adapt to latest doc-view changes wrt
      viewing the document's plain text contents.
      
      * lisp/doc-view.el (doc-view-open-text): View the document's plain text
      in the current buffer instead of a new one.
      (doc-view-toggle-display): Handle the case where the current
      buffer contains the plain text contents of the document.
      (doc-view-initiate-display): Don't switch to fallback mode if the
      user wants to view the doc's plain text.
      (doc-view-set-doc-type): Use assoc-string instead of
      assoc-ignore-case.
      36749d80
  33. 28 Jul, 2014 2 commits
  34. 14 May, 2014 1 commit
    • Glenn Morris's avatar
      Add with-file-modes macro, and use it · d63d883a
      Glenn Morris authored
      * lisp/subr.el (with-file-modes): New macro.
      
      * lisp/printing.el (pr-save-file-modes):
      * lisp/eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
      
      * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
      Add with-file-modes.
      
      * lisp/doc-view.el (doc-view-make-safe-dir):
      * lisp/epg.el (epg--start):
      * lisp/files.el (locate-user-emacs-file, make-temp-file)
      (backup-buffer-copy, move-file-to-trash):
      * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
      * eshell/esh-util.el (eshell-with-private-file-modes)
      (eshell-make-private-directory):
      * lisp/net/browse-url.el (browse-url-mosaic):
      * lisp/obsolete/mailpost.el (post-mail-send-it):
      * lisp/obsolete/pgg-pgp.el (pgg-pgp-verify-region):
      * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
      * lisp/url/url-util.el (url-make-private-file):
      Use with-file-modes.
      
      * doc/lispref/files.texi (Changing Files): Mention with-file-modes.
      
      * etc/NEWS: Mention this.
      d63d883a
  35. 17 Apr, 2014 1 commit
  36. 14 Apr, 2014 1 commit
  37. 04 Apr, 2014 1 commit
    • Tassilo Horn's avatar
      Fix bug#16090. · 3ccd4eaf
      Tassilo Horn authored
      * lisp/doc-view.el (doc-view-bookmark-jump): Use
      `bookmark-after-jump-hook' to jump to the right page after the
      buffer is shown in a window.
      3ccd4eaf