1. 15 Dec, 2016 10 commits
  2. 14 Dec, 2016 5 commits
    • Mark Oteiza's avatar
    • Mark Oteiza's avatar
      Recognize pngnq or pngnq-s9 · 53e8d7fb
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-cmd-pngnq-program): Also consider
      pngnq-s9 as a possible executable.
      53e8d7fb
    • Mark Oteiza's avatar
      Update standard image-dired thumbnail location · 66ccc659
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumb-name): Conform to the latest
      standard: consider XDG_CACHE_HOME, falling back on ~/.cache.
      66ccc659
    • Mark Oteiza's avatar
      Reset window scroll when displaying an image · 44a77d34
      Mark Oteiza authored
      When viewing a large image full size and scrolling, for instance, to
      the lower right corner, then selecting a much smaller image in the
      thumbnail buffer, the window stays scrolled so the new image is out of
      the window.  One must scroll back to the "origin" to view the new
      displayed image, or just kill the image-dired-display-image buffer and
      try again.  This fixes the issue.
      * lisp/image-dired.el (image-dired-display-window-width):
      (image-dired-display-window-height): Operate on a window as argument.
      (image-dired-display-image): Bind (image-dired-display-window) and use
      it. Set window vscroll and hscroll to zero when refreshing the
      buffer's contents.
      44a77d34
    • Mark Oteiza's avatar
      More image-dired polish · 51b2669a
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-file-name-at-point): New function.
      (image-dired-thumbnail-mode, image-dired-display-image-mode): Disable
      undo list. Add image-dired-file-name-at-point to
      file-name-at-point-functions to facilitate find-file and friends.
      (image-dired-thumbnail-display-external):
      (image-dired-dired-display-external): Use start-process instead, to
      avoid needlessly blocking and using a shell.
      51b2669a
  3. 13 Dec, 2016 25 commits
    • Phillip Lord's avatar
      Replace ldefs-boot with a much smaller file · c27b6459
      Phillip Lord authored
       * Makefile.in (bootstrap-build,generate-ldefs-boot): New targets.
         (bootstrap): Depend on bootstrap-build.
       * admin/ldefs-clean.el: New file.
       * lisp/Makefile.in (compile-first): Depend on loaddefs.el
       * lisp/ldefs-boot.el: Remove.
       * lisp/ldefs-boot-auto.el: New file.
       * lisp/ldefs-boot-manual.el: New file.
       * lisp/loadup.el: Load ldefs-boot-manual.el.
       * src/emacs.c (generating_ldefs_boot): New variable.
         (main): Check whether we are generating ldefs.
       * src/eval.c (autoload-do-load): Dump autoload forms to stderr when
         requested.
       * src/lisp.h (generating_ldefs_boot): New variable.
       * admin/gitmerge.el, admin/make-tarball.txt, admin/notes/copyright,
         lisp/Makefile.in, lisp/cus-dep.el, lisp/emacs-lisp/elint.el,
         lisp/finder.el, lisp/loadup.el, msdos/mainmake.v2: Update reference to
         ldefs-boot.
       * admin/update_autogen: Alter mechanism for ldefs-boot generation.
      c27b6459
    • Reuben Thomas's avatar
      Remove support for aspell < 0.60 (from 2004) · 9e6618be
      Reuben Thomas authored
      lisp/textmodes/ispell.el (ispell-check-version): Require Aspell 0.60.
      (ispell-aspell-dictionary-alist): Remove check that we have Aspell 0.60.
      9e6618be
    • Reuben Thomas's avatar
      Minor docstring and comment fixes to ispell.el · 97f327d8
      Reuben Thomas authored
      lisp/textmodes/ispell.el (ispell-aspell-dictionary-alist): Mention
      ispell-aspell-dictionary-alist, not ispell-dictionary-alist.
      (ispell-set-spellchecker-params): Change double-single quotes to
      single single quotes in comment.
      97f327d8
    • Reuben Thomas's avatar
      Remove unused variable · 94834bdf
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (current-ispell-directory): Remove.
      94834bdf
    • Reuben Thomas's avatar
      Remove XEmacs-specific ispell-with-no-warnings · 6b5ac583
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-with-no-warnings): Remove this
      defmacro, needed only for XEmacs.
      (ispell-command-loop, ispell-message): Use with-no-warnings directly.
      6b5ac583
    • Reuben Thomas's avatar
      Remove meaningless defconst ispell-version · 8af9cb22
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-version): Since ispell.el is now
      firmly part of Emacs, and the version hasn’t changed since 2003, and
      isn’t used anywhere, remove it.  3rd-party code can better use the
      Emacs version, or feature or function checks.
      (ispell-check-version): No longer report ispell.el version.
      8af9cb22
    • Reuben Thomas's avatar
      Remove boundp test for always-bound symbol · e1aa7888
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-message): mail-yank-prefix is
      defvar’d at the top of the file, so remove a test to see if it is
      bound.
      e1aa7888
    • Reuben Thomas's avatar
      Remove support for ispell < 3.1.12 · db6e1f82
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-offset): Remove.
      (ispell-check-version): Require ispell >= 3.1.12, released in 1994.
      (ispell-process-line): No longer use ispell-offset.
      db6e1f82
    • Reuben Thomas's avatar
      Remove unused constant · 3affed01
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-required-version): Remove.
      3affed01
    • Reuben Thomas's avatar
      Remove support for old versions of supercite and GNUS from ispell.el · 8315d50b
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-message): Require supercite >= 3.0
      and GNUS >= 5.  Not exactly the bleeding edge!
      8315d50b
    • Reuben Thomas's avatar
      Remove remaining mentions of XEmacs from ispell.el · b989c415
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-valid-dictionary-list):
      (ispell-add-per-file-word-list): Remove mentions of XEmacs from
      comments.
      b989c415
    • Reuben Thomas's avatar
      Remove XEmacs-specific minibuffer handling code from ispell.el · 8886f156
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-init-process): Assume we are not in
      XEmacs.
      8886f156
    • Reuben Thomas's avatar
      Remove XEmacs-specific horizontal scrollbar handling in ispell.el · 6e88249c
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-command-loop): Remove
      XEmacs-specific code.
      6e88249c
    • Reuben Thomas's avatar
      Remove XEmacs-specific code dealing with enable-multibyte-characters · 8245e5b9
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-decode-string):
      (ispell-init-process):  Remove XEmacs-specific guard.
      8245e5b9
    • Reuben Thomas's avatar
      Remove XEmacs-specific code from ispell.el · ff5deddc
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-menu-xemacs): Remove
      (ispell-menu-map-needed): Remove XEmacs-specific check.
      (ispell-word): Remove XEmacs-specific extent code.
      (ispell-init-process): Remove XEmacs workaround for local add-hook.
      Assume we have set-process-query-on-exit-flag.
      (ispell-kill-ispell, ispell-change-dictionary): Remove XEmacs
      workaround for called-interactively-p.
      ff5deddc
    • Reuben Thomas's avatar
      Remove some commented-out code · ada717ef
      Reuben Thomas authored
      lisp/textmodes/ispell.el (ispell-process)
      ispell-valid-dictionary-list): Remove commented-out code.
      ada717ef
    • Reuben Thomas's avatar
      Remove XEmacs and old Emacs highlighting code · c89dc9d8
      Reuben Thomas authored
      * lisp/textmodes/ispell.el
      (ispell-highlight-spelling-error-xemacs): Remove.
      (ispell-highlight-spelling-error): Assume display-color-p exists.
      c89dc9d8
    • Reuben Thomas's avatar
      Assume Emacs supports [:alpha:] in regexps · 854ed8a6
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-emacs-alpha-regexp): Remove.
      (ispell-set-spellchecker-params): Remove tests of
      ispell-emacs-alpha-regexp.
      854ed8a6
    • Reuben Thomas's avatar
      Remove some XEmacs-specific code from ispell.el · 3ac94b99
      Reuben Thomas authored
      * lisp/textmodes/ispell.el: Remove XEmacs menubar setup.
      (ispell-int-char): Remove.
      3ac94b99
    • Reuben Thomas's avatar
      Generalise over-specific documentation · 028249eb
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-personal-dictionary): Rather than
      document precise personal wordlist filenames for only two supported
      spelling checkers, simply say that the default personal dictionary
      depends on the chosen spelling checker.  The user can check the
      spelling checker’s documentation if necessary.  This is simpler, and
      works for other supported (and future, or unknown) spelling checkers.
      028249eb
    • Reuben Thomas's avatar
      Remove tests for built-in functions · 51d011d6
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (buffer-substring-no-properties): Remove
      back-up definition.
      (ispell-add-per-file-word-list): Remove tests for comment-padright and
      comment-normalize-vars.
      51d011d6
    • Reuben Thomas's avatar
      Remove unused ispell-looking-back · a3ca97e7
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-looking-back): Remove unused alias.
      a3ca97e7
    • Reuben Thomas's avatar
      Assume we have version<= for checking ispell version · 8edf0eb4
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (ispell-check-minver): Remove.
      (ispell-check-version): Use version<= directly.
      8edf0eb4
    • Reuben Thomas's avatar
      Remove ispell.el pre-GNU Emacs comments · f25c8b34
      Reuben Thomas authored
      * lisp/textmodes/ispell.el (Commentary): Remove original maintainer
        details, as Emacs version, bug report address and so forth should be
        used instead for this version.  Remove in-line change history; use
        git instead.
      f25c8b34
    • Mark Oteiza's avatar
      More small fixes for image-dired · aacb20c0
      Mark Oteiza authored
      * lisp/image-dired.el: Fix commentary to refer to correct Emacs manual
      node.
      (image-dired--with-db-file): Add declare forms.
      (image-dired-hidden-p): Rewrite with cl-loop.  It's not necessary to
      run through the whole list.
      aacb20c0