1. 18 Jan, 2020 1 commit
    • Stefan Kangas's avatar
      Remove XEmacs compat code from allout.el · bce3d89a
      Stefan Kangas authored
      * lisp/allout.el (allout-overlay-preparations)
      (allout-overlay-interior-modification-handler)
      (allout-before-change-handler, allout-beginning-of-line)
      (allout-solicit-alternate-bullet, allout-annotate-hidden)
      (allout-hide-by-annotation, allout-yank-processing)
      (allout-flag-region, allout-toggle-subtree-encryption)
      (allout-mark-marker, allout-substring-no-properties)
      (allout-select-safe-coding-system)
      (allout-previous-single-char-property-change)
      (allout-next-single-char-property-change)
      (top-level): Remove XEmacs compat code.
      bce3d89a
  2. 17 Jan, 2020 25 commits
    • Alan Mackenzie's avatar
      Introduce element &error into edebug specification lists for macros · 8d2fecdf
      Alan Mackenzie authored
      This fixes bug #37540.
      
      * lisp/emacs-lisp/edebug.el (top level): New entry for &error in alist used to
      associate elements with their handling functions.
      (edebug-match-&error): New function.
      (nested-backquote-form): Use the new element &error to abort instrumentation
      on encountering a three deep nesting of backquotes (without intervening
      commas).
      
      * doc/lispref/edebug.texi (Specification List): Add an entry for &error.
      
      * etc/NEWS: Add an entry for &error.
      8d2fecdf
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · d97a77c4
      Glenn Morris authored
      4df0c1c6 (origin/emacs-27) ; * src/lread.c (force_new_style_backquo...
      069741b2 ; * etc/NEWS: Mention latest changes in checkdoc.  (Bug#38...
      a785be29 Fix wording and punctuation of a recent commit
      0d3d3be3 Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/e...
      5da372e1 ; Minor edit in anti.texi
      
      # Conflicts:
      #	etc/NEWS
      d97a77c4
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · 8c376493
      Glenn Morris authored
      The following commit was skipped:
      
      6338f691 Add unattended spell-checking to checkdoc
      8c376493
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 1149b699
      Glenn Morris authored
      5da372e1 ; Minor edit in anti.texi
      1149b699
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · 9fcfe059
      Glenn Morris authored
      The following commit was skipped:
      
      4453acbd Fix the error message from makefile-move-to-macro
      9fcfe059
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 213840ac
      Glenn Morris authored
      8d091f7f ; Fix recent markup change
      b7842652 ; * lisp/obsolete/vc-arch.el: Add missing "Obsolete-since"...
      3fb37dc9 ; * lisp/ezimage.el: Fix typo.
      778923af Document feature requests in the Emacs manual
      213840ac
    • Simen Heggestøyl's avatar
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix wording and punctuation of a recent commit · a785be29
      Eli Zaretskii authored
      * lisp/textmodes/ispell.el (ispell-correct-p): Doc fix.
      * lisp/emacs-lisp/checkdoc.el (checkdoc-ispell-init): Fix
      capitalization and punctuation of comments.
      a785be29
    • Eli Zaretskii's avatar
    • Damien Cassou's avatar
      Add unattended spell-checking to checkdoc · 6338f691
      Damien Cassou authored
      This commit makes checkdoc capable of spell-checking even when the
      user isn't using it interactively.  When TAKE-NOTES is non-nil,
      checkdoc will run spell-checking (with ispell) and report spelling
      mistakes.
      
      Fixes: (bug#38583).
      
      * lisp/textmodes/ispell.el (ispell-word): Extract part of it to
      `ispell--run-on-word`.
      (ispell--run-on-word): New function, extracted from `ispell-word`.
      (ispell-error-checking-word): New function.
      (ispell-correct-p): New function.  Use `ispell--run-on-word` and
      `ispell-error-checking-word`.
      * lisp/emacs-lisp/checkdoc.el (checkdoc-current-buffer): Pass
      TAKE-NOTES to `checkdoc-start`.
      (checkdoc-continue): Pass TAKE-NOTES to `checkdoc-this-string-valid`.
      (checkdoc-this-string-valid): Add optional argument TAKE-NOTES and
      pass it to `checkdoc-this-string-valid-engine`.
      (checkdoc-this-string-valid-engine): Add optional argument TAKE-NOTES
      and pass it to `checkdoc-ispell-docstring-engine`.
      (checkdoc-ispell-init): Call `ispell-set-spellchecker-params` and
      `ispell-accept-buffer-local-defs`.  These calls are required to
      properly use ispell.  The problem went unnoticed until now because
      checkdoc was only using ispell through the high-level command
      `ispell-word` which takes care of all the initialization for the user.
      (checkdoc-ispell-docstring-engine): Add optional argument TAKE-NOTES
      to force reporting of spell-checking errors.  Throw error
      when (checkdoc-ispell-init) fails configuring ispell.  Replace a
      few (if cond nil body) with (unless cond body). Replace (let ((var
      nil))) with (let (var)).  Replace (if (not (eq checkdoc-autofix-flag
      'never)) body) with just body because `checkdoc-autofix-flag` is
      checked at the beginning of the function.
      
      (cherry picked from commit 25adbc4a)
      6338f691
    • Robert Pluim's avatar
      ; Minor edit in anti.texi · 5da372e1
      Robert Pluim authored
      5da372e1
    • Lin Sun's avatar
      Fix the error message from makefile-move-to-macro · 4453acbd
      Lin Sun authored
      * lisp/cedet/ede/makefile-edit.el (makefile-macro-file-list):
      regexp-quote the param in makefile-move-to-macro (Bug#39094).
      
      (cherry picked from commit a36495da)
      4453acbd
    • Robert Pluim's avatar
      ; Fix recent markup change · 8d091f7f
      Robert Pluim authored
      * doc/emacs/custom.texi (Find Init): Fix variable markup.
      8d091f7f
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Make more load-hooks obsolete · 680021eb
      Glenn Morris authored
      * lisp/align.el (align-load-hook):
      * lisp/autorevert.el (auto-revert-load-hook):
      * lisp/bookmark.el (bookmark-load-hook):
      * lisp/cmuscheme.el (cmuscheme-load-hook):
      * lisp/dired.el (dired-load-hook):
      * lisp/expand.el (expand-load-hook):
      * lisp/ibuffer.el (ibuffer-load-hook):
      * lisp/msb.el (msb-after-load-hook):
      * lisp/recentf.el (recentf-load-hook):
      * lisp/speedbar.el (speedbar-load-hook):
      * lisp/strokes.el (strokes-load-hook):
      * lisp/calc/calc.el (calc-load-hook):
      * lisp/calendar/timeclock.el (timeclock-load-hook):
      * lisp/emulation/viper-init.el (viper-load-hook):
      * lisp/progmodes/cwarn.el (cwarn-load-hook):
      * lisp/progmodes/idlwave.el (idlwave-load-hook):
      * lisp/progmodes/inf-lisp.el (inferior-lisp-load-hook):
      * lisp/progmodes/meta-mode.el (meta-mode-load-hook):
      * lisp/textmodes/reftex-vars.el (reftex-load-hook):
      * lisp/textmodes/table.el (table-load-hook):
      * lisp/url/url-vars.el (url-load-hook):
      * lisp/vc/ediff-init.el (ediff-load-hook):
      Obsolete for with-eval-after-load.
      680021eb
    • Stefan Kangas's avatar
    • Stefan Kangas's avatar
      Make sb-image.el obsolete (Bug#37837) · 6dbe2c93
      Stefan Kangas authored
      * lisp/sb-image.el: Move from here...
      * lisp/obsolete/sb-image.el: ...to here.
      
      * lisp/speedbar.el (ezimage): Require instead of 'sb-image'.
      (speedbar-use-images, speedbar-expand-image-button-alist)
      (speedbar-insert-image-button-maybe, speedbar-image-dump): Move
      here from 'sb-image.el'.
      6dbe2c93
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Replace doc references to load-hooks · e135414b
      Glenn Morris authored
      with-eval-after-load is a cleaner, standard feature that works
      for every file
      * doc/misc/calc.texi (Hooks):
      * doc/misc/dired-x.texi (Installation)
      (Optional Installation File At Point, Omitting Files in Dired)
      (Omitting Examples, Find File At Point):
      * doc/misc/ediff.texi (Hooks, Selective Browsing)
      (Highlighting Difference Regions):
      * doc/misc/efaq.texi (Disabling backups):
      * doc/misc/gnus.texi (Startup Variables):
      * doc/misc/idlwave.texi (Structure Tag Completion, Misc Options):
      * doc/misc/org.texi (Handling Links):
      * doc/misc/reftex.texi (Key Bindings, Keymaps and Hooks):
      * doc/misc/sem-user.texi (Speedbar):
      * doc/misc/speedbar.texi (Hooks, Minor Display Modes):
      * doc/misc/viper.texi (Rudimentary Changes):
      Replace load-hooks with with-eval-after-load
      e135414b
    • Stefan Kangas's avatar
      ; * lisp/ezimage.el: Fix typo. · 3fb37dc9
      Stefan Kangas authored
      3fb37dc9
    • Glenn Morris's avatar
      Replace add-hook load-hook with with-eval-after-load · e32bae61
      Glenn Morris authored
      * lisp/info.el (Info-install-speedbar-variables):
      * lisp/cedet/ede.el (speedbar):
      * lisp/cedet/semantic/imenu.el (speedbar):
      * lisp/emacs-lisp/eieio-opt.el (eieio-class-speedbar-key-map):
      * lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
      * lisp/erc/erc-speedbar.el (erc-install-speedbar-variables):
      * lisp/mail/rmail.el (rmail-install-speedbar-variables):
      * lisp/progmodes/gud.el (gud-install-speedbar-variables):
      Use with-eval-after-load.
      e32bae61
    • Glenn Morris's avatar
      98c6416b
    • Glenn Morris's avatar
      edebug: remove ancient code for ancient XEmacs support libs · ee0e3a79
      Glenn Morris authored
      * lisp/emacs-lisp/edebug.el (edebug--require-cl-read): Remove.
      (edebug-setup-hook, cl-read-load-hooks): Don't modify.
      (edebug-unload-function): Don't modify cl-read-load-hooks.
      ee0e3a79
    • Lin Sun's avatar
      Fix the error message from makefile-move-to-macro · a36495da
      Lin Sun authored
      * lisp/cedet/ede/makefile-edit.el (makefile-macro-file-list):
      regexp-quote the param in makefile-move-to-macro (Bug#39094).
      a36495da
  3. 16 Jan, 2020 14 commits
    • Stefan Kangas's avatar
      Remove a FIXME from package.el · f18c78e6
      Stefan Kangas authored
      * lisp/emacs-lisp/package.el (package-unpack): Remove FIXME about
      maybe deleting the package directory.  It was decided that this was
      undesirable.  (Bug#7756)
      f18c78e6
    • Stefan Kangas's avatar
      Add index entry "syntax highlighting" to the elisp manual · 025d6ac1
      Stefan Kangas authored
      * doc/lispref/modes.texi (Font Lock Mode): Add an index entry for
      "syntax highlighting".  (Bug#24827)
      025d6ac1
    • Stefan Kangas's avatar
      Document feature requests in the Emacs manual · 778923af
      Stefan Kangas authored
      * doc/emacs/trouble.texi (Contributing): Document how to send feature
      requests.  (Bug20697)
      778923af
    • Paul Eggert's avatar
      Fix hexl jumping to end of file · 3446c26c
      Paul Eggert authored
      Plus some other small fixes nearby.
      * lisp/hexl.el (hexl-end-of-line): Simplify to match next fix.
      (hexl-end-of-1k-page, hexl-end-of-512b-page): Use min instead
      of max.  Tiny change by Vladimir Nikishkin (Bug#39131).
      (hexl-insert-char): Use = instead of eq to compare integers.
      3446c26c
    • Damien Cassou's avatar
      Add unattended spell-checking to checkdoc · 25adbc4a
      Damien Cassou authored
      This commit makes checkdoc capable of spell-checking even when the
      user isn't using it interactively. When TAKE-NOTES is non-nil,
      checkdoc will run spell-checking (with ispell) and report spelling
      mistakes.
      
      Fixes: (bug#38583).
      
      * lisp/textmodes/ispell.el (ispell-word): Extract part of it to
      `ispell--run-on-word`.
      (ispell--run-on-word): New function, extracted from `ispell-word`.
      (ispell-error-checking-word): New function.
      (ispell-correct-p): New function.  Use `ispell--run-on-word` and
      `ispell-error-checking-word`.
      * lisp/emacs-lisp/checkdoc.el (checkdoc-current-buffer): Pass
      TAKE-NOTES to `checkdoc-start`.
      (checkdoc-continue): Pass TAKE-NOTES to `checkdoc-this-string-valid`.
      (checkdoc-this-string-valid): Add optional argument TAKE-NOTES and
      pass it to `checkdoc-this-string-valid-engine`.
      (checkdoc-this-string-valid-engine): Add optional argument TAKE-NOTES
      and pass it to `checkdoc-ispell-docstring-engine`.
      (checkdoc-ispell-init): Call `ispell-set-spellchecker-params` and
      `ispell-accept-buffer-local-defs`.  These calls are required to
      properly use ispell.  The problem went unnoticed until now because
      checkdoc was only using ispell through the high-level command
      `ispell-word` which takes care of all the initialization for the user.
      (checkdoc-ispell-docstring-engine): Add optional argument TAKE-NOTES
      to force reporting of spell-checking errors.  Throw error
      when (checkdoc-ispell-init) fails configuring ispell.  Replace a
      few (if cond nil body) with (unless cond body). Replace (let ((var
      nil))) with (let (var)). Replace (if (not (eq checkdoc-autofix-flag
      'never)) body) with just body because `checkdoc-autofix-flag` is
      checked at the beginning of the function.
      25adbc4a
    • Stefan Kangas's avatar
      * admin/notes/font-backend: Remove outdated file. (Bug#34663) · 1b1aaf37
      Stefan Kangas authored
      (cherry picked from commit 2be48605)
      
      ; Not sure how the automatic merge managed to succeed with this conflict
      1b1aaf37
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 215d9fcb
      Glenn Morris authored
      52080b57 (origin/emacs-27) * lisp/minibuffer.el (read-file-name-def...
      e4cec1fd ; * etc/NEWS: Fix some file name quotations.
      13995f31 Make emacs prefer an existing ~/.emacs.d to an existing XD...
      91cac249 ; etc/NEWS minor edits
      5505babc Describe --with-cairo non-support for bitmapped fonts.
      caf00066 Mention GTK font chooser changes in NEWS
      23b87db6 ; Unmaintain fortran elisp
      3b0d1a50 f90: handle F2008 module function
      55803cc1 Move shell-related menu items to "Shell Commands" submenu ...
      2be48605 * admin/notes/font-backend: Remove outdated file. (Bug#34663)
      f07a4701 Declare the ftx font backend driver obsolete
      6c08a430 ; Fix wording of a comment.
      
      # Conflicts:
      #	admin/notes/font-backend
      #	etc/NEWS
      215d9fcb
    • Stefan Monnier's avatar
    • Michael Albinus's avatar
      e4cec1fd
    • Robert Pluim's avatar
      Make emacs prefer an existing ~/.emacs.d to an existing XDG location · 13995f31
      Robert Pluim authored
      * doc/emacs/custom.texi (Find Init): Update description of how Emacs
      finds its init file directory and the interaction with
      $XDG_CONFIG_HOME
      (Early Init File): Correct XDG location of early-init.el
      
      * etc/NEWS: Update description to make it clear the ~/.emacs.d is
      preferred, even if the XDG location exists.
      
      * lisp/startup.el: Prefer ~/.emacs.d even if the XDG location exists.
      
      * lib-src/emacsclient.c (open_config): Prefer home directory the XDG
      location.
      13995f31
    • Stefan Kangas's avatar
      Remove references to obsolete libraries · 0f4fa004
      Stefan Kangas authored
      * doc/emacs/cmdargs.texi (General Variables):
      * doc/lispintro/emacs-lisp-intro.texi (Lisp History):
      * doc/lispref/processes.texi (Network):
      * doc/misc/gnus-coding.texi (Gnus Coding Style):
      * doc/misc/gnus.texi (Oort Gnus):
      * doc/misc/smtpmail.texi (Encryption): Remove references to obsolete
      libraries.  (Bug#37964)
      0f4fa004
    • Robert Pluim's avatar
      ; etc/NEWS minor edits · 91cac249
      Robert Pluim authored
      91cac249
    • Robert Pluim's avatar
      Describe --with-cairo non-support for bitmapped fonts. · 5505babc
      Robert Pluim authored
      * etc/NEWS: Mention Pango's removal of support for bitmapped fonts.
      5505babc
    • Robert Pluim's avatar
      Mention GTK font chooser changes in NEWS · caf00066
      Robert Pluim authored
      * etc/NEWS: Mention GTK font chooser changes.
      caf00066