1. 19 Dec, 2016 2 commits
  2. 18 Dec, 2016 5 commits
  3. 17 Dec, 2016 3 commits
    • Reuben Thomas's avatar
      Fix spelling mistake in private defun name (Bug#25218) · 1a15d14e
      Reuben Thomas authored
      lisp/textmodes/flyspell.el (flyspell-ajust-cursor-point): Rename to
      `flyspell-adjust-cursor-point'.
      1a15d14e
    • Reuben Thomas's avatar
      Remove XEmacs support from flyspell.el (Bug#25218) · 63f827ab
      Reuben Thomas authored
      lisp/textmodes/flyspell.el (flyspell-prog-mode, flyspell-mode-on):
      (flyspell-word, flyspell-delete-region-overlays):
      (flyspell-correct-word-before-point): Remove XEmacs support.
      (flyspell-xemacs-popup): Remove XEmacs-specific defun.
      63f827ab
    • Michael Albinus's avatar
      More tests for Tramp · cfa2fb26
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-drop-volume-letter): Handle quoted
      file names.
      
      * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name): Quote file
      name properly.
      
      * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name):
      Mark quoted file name as absolute.  (Bug#25183)
      (tramp--test-windows-nt-and-batch)
      (tramp--test-windows-nt-and-pscp-psftp-p): New defuns.
      (tramp--test-windows-nt-or-smb-p): Rename from
      `tramp--test-smb-windows-nt-p'.  Adapt callees.
      (tramp--test-check-files): Improve checks for environment variables.
      (tramp-test33-special-characters)
      (tramp-test33-special-characters-with-stat)
      (tramp-test33-special-characters-with-perl)
      (tramp-test33-special-characters-with-ls, tramp-test34-utf8)
      (tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
      (tramp-test34-utf8-with-ls): Add more checks for skip.
      cfa2fb26
  4. 16 Dec, 2016 6 commits
    • Mark Oteiza's avatar
      Be more selective clearing the image cache · 6bf83218
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-create-thumbs):
      (image-dired-rotate-thumbnail, image-dired-refresh-thumb): Only clear
      the current thumbnail file from the image cache.
      6bf83218
    • NicolasPetton's avatar
      Make seq-into return the sequence when no conversion needed · fb2fdb14
      NicolasPetton authored
      * lisp/emacs-lisp/seq.el (seq-into): Do not convert the sequence when
        no conversion is needed.
      * test/lisp/emacs-lisp/seq-tests.el (test-seq-into-and-identity): Add
        a regression test checking for identity.
      fb2fdb14
    • Mark Oteiza's avatar
      New commands image-scroll-left and image-scroll-right · cdf5340f
      Mark Oteiza authored
      * etc/NEWS: Mention them.
      * lisp/image-mode.el (image-scroll-left, image-scroll-right): New
      functions.
      cdf5340f
    • Mark Oteiza's avatar
      More image-dired refactoring · f8a47b07
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumbnail-mode):
      (image-dired-display-image-mode): Add :group 'image-dired so
      customize-mode works.
      (image-dired-display-image): Rearrange.
      (image-dired-copy-with-exif-file-name): This map is for side effect.
      (image-dired-dired-edit-comment-and-tags): Just use #'identity.
      f8a47b07
    • Mark Oteiza's avatar
      9886239b
    • Mark Oteiza's avatar
      Teach image-dired to also generate large thumbs · 7ec55a18
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumbnail-storage): Add
      standard-large option.
      (image-dired-thumb-size): Add condition for standard-large storage.
      (image-dired-insert-thumbnail): Check for new option.  Change
      thumbnail path conditionally.
      (image-dired-thumb-size): New function.
      (image-dired-create-thumb, image-dired-line-up-dynamic): Use it.
      7ec55a18
  5. 15 Dec, 2016 7 commits
    • Mark Oteiza's avatar
      Don't abuse princ and spam messages · b22cb969
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-format-properties-string): Nix princ.
      (image-dired-display-thumb-properties):
      (image-dired-dired-display-properties): Nix princ.  Bind
      message-log-max to nil.
      b22cb969
    • Mark Oteiza's avatar
      Inherit things from special-mode and image-mode · 214acb1e
      Mark Oteiza authored
      * lisp/image-dired.el: Require image-mode library.
      (image-dired-thumbnail-mode-map): Remove superfluous binding.
      (image-dired-display-image-mode-map): Remove superfluous binding.
      Add movement remaps from image-mode-map.
      (image-dired-thumbnail-mode): Derive from special-mode.
      (image-dired-display-image-mode): Derive from special-mode. Call
      image-mode-setup-winprops.
      214acb1e
    • Mark Oteiza's avatar
      Fix some image-dired customization types · d79ff2a4
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired): Add info link to defgroup.
      (image-dired-dir, image-dired-gallery-dir): Set type to directory.
      (image-dired-db-file, image-dired-temp-image-file):
      (image-dired-cmd-create-thumbnail-program):
      (image-dired-cmd-create-temp-image-program):
      (image-dired-cmd-rotate-thumbnail-program):
      (image-dired-cmd-rotate-original-program):
      (image-dired-temp-rotate-image-file):
      (image-dired-cmd-write-exif-data-program):
      (image-dired-cmd-read-exif-data-program): Set type to file.
      (image-dired-create-thumb, image-dired-line-up-dynamic): Check storage
      type at runtime, since setting image-dired-thumb-size does not
      automatically set image-dired-thumb-width and image-dired-thumb-height.
      d79ff2a4
    • NicolasPetton's avatar
      Fix circular list handling in seq-mapn · 09a66ceb
      NicolasPetton authored
      * lisp/emacs-lisp/seq.el (seq-mapn): Do not copy list arguments.
      * test/lisp/emacs-lisp/seq-tests.el (test-seq-mapn-circular-lists):
        Add a regression test.
      09a66ceb
    • Dominique Quatravaux's avatar
      Protect environment variables with double quotes in Tramp · d381db25
      Dominique Quatravaux authored
      * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
      Protect environment variables with double quotes.
      
      Copyright-paperwork-exempt: yes
      d381db25
    • Tino Calancha's avatar
    • Mark Oteiza's avatar
  6. 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
  7. 13 Dec, 2016 12 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