1. 12 May, 2016 5 commits
    • Stefan Monnier's avatar
      * lisp/cedet/semantic/{db-el,symref}.el: Mark unused vars · ec7a173e
      Stefan Monnier authored
      * lisp/cedet/semantic/db-el.el: Use _ to mark unused vars.
      (object-print): Use cl-call-next-method instead of call-next-method.
      * lisp/cedet/semantic/symref.el: Use _ to mark unused vars.
      ec7a173e
    • Stefan Monnier's avatar
      * lisp/cedet/semantic: Silence some warnings · 28e8e49e
      Stefan Monnier authored
      * lisp/cedet/semantic/db-el.el (emacs-lisp-mode)
      (semanticdb-get-database-tables): Use make-instance to silence warnings.
      
      * lisp/cedet/semantic/symref.el: Require semantic/find since we use
      some macros from there.  Silence compilation warnings:
      Replace initargs with slot names in oref/oset.
      Move `SYMREF TOOLS' section earlier so definitions precede their use.
      28e8e49e
    • Lars Ingebrigtsen's avatar
      Support srcset in <img> · 73071b4c
      Lars Ingebrigtsen authored
      * lisp/net/shr.el (shr--preferred-image): Allow <img> tags
      with srcset specifiers (bug#23459).
      73071b4c
    • Michael Albinus's avatar
      Do not autoload some functions of tramp.el · 9872736a
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-completion-file-name-handler):
      Autoload a shortened version of this function, avoid recursive load.
      (tramp-completion-file-name-handler-alist)
      (tramp-completion-mode-p)
      (tramp-completion-handle-expand-file-name)
      (tramp-completion-handle-file-name-all-completions)
      (tramp-completion-handle-file-name-completion): Do not autoload.
      9872736a
    • Michael Albinus's avatar
      Avoid recursive load of tramp.el · a8be7c1e
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-completion-file-name-handler):
      Autoload a shortened version of this function, avoid recursive load.
      a8be7c1e
  2. 11 May, 2016 3 commits
  3. 10 May, 2016 7 commits
  4. 09 May, 2016 16 commits
    • Dmitry Gutov's avatar
      Allow newlines inside cl function arglists · d0d9f55b
      Dmitry Gutov authored
      * lisp/help.el (help-add-fundoc-usage): Allow newlines inside
      ARGLIST (bug#21839).
      d0d9f55b
    • Dmitry Gutov's avatar
      Publicize cl--generic-all-functions · 963541a6
      Dmitry Gutov authored
      * lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
      Rename from cl--generic-all-functions.  Update both callers.
      
      * lisp/cedet/semantic/db-el.el
      (semanticdb-find-tags-external-children-of-type-method):
      And use it here (bug#23042).
      963541a6
    • Lars Ingebrigtsen's avatar
      Move "Recent messages" earlier in report-emacs-bug · c20cc098
      Lars Ingebrigtsen authored
      * lisp/mail/emacsbug.el (report-emacs-bug): Move the "Recent
      messages" part earlier so that users can see it and remove it
      if they want.
      c20cc098
    • Michael Albinus's avatar
      Pacify byte compiler in tramp.el · a88f22bd
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-time-diff): Use `tramp-compat-funcall'.
      a88f22bd
    • Michael Albinus's avatar
      ; Fix typo · 3c581d56
      Michael Albinus authored
      3c581d56
    • Alan Mackenzie's avatar
      Add some "safe-local-variable" declarations for compatibility with master. · e58f900e
      Alan Mackenzie authored
      These enable C files from the master repository to be visited in Emacs 25
      without generating irritating questions about configuration variable safety.
      
      * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
      functions.
      (c-noise-macro-names, c-noise-macro-with-parens-names): give the
      safe-local-variable property c-string-list-p.
      (c-macro-names-with-semicolon): give the safe-local-variable property
      c-string-or-string-list-p.
      e58f900e
    • Paul Eggert's avatar
      Merge from origin/emacs-25 · c8b7a6ab
      Paul Eggert authored
      3b478989 Fix doc string in `insert'
      b479dead * doc/misc/emacs-mime.texi (time-date): Document now-builtins...
      cd27f739 Say 'All results processed' at the end
      4ffec91a Document automatic adjustment of process' logical window dime...
      dc662713 ; Fix typos and stylistic glitches in NEWS
      c8b7a6ab
    • Paul Eggert's avatar
      ; Merge from origin/emacs-25 · 9418ab39
      Paul Eggert authored
      The following commit was skipped:
      
      c760a600 tramp-sh.el: Work around a stat bug (backport from master)
      9418ab39
    • Michael Albinus's avatar
      ; Instrument tramp.el · d6dac367
      Michael Albinus authored
      d6dac367
    • Alan Mackenzie's avatar
      CC Mode now uses the new :after-hook feature of define-derived-mode · a8231e00
      Alan Mackenzie authored
      It now runs internal variable setting functions after the mode hooks, no
      longer runs the mode hooks twice, and declares the configuration variables for
      noise macros and macros with semicolons as safe variables (when given suitable
      arguments).
      
      Fixes bug #16759 and bug #23476.
      
      * .dir-locals: Put the c-noise-macros-with-paren-names setting back into the C
      Mode value.
      
      * lisp/progmodes/cc-mode.el: (c-basic-common-init): Remove the call to
      c-make-macro-with-semi-re.
      (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode, awk-mode): Move
      c-make-noise-macro-regexps and c-make-macro-with-semi-re (where appropriate)
      and c-update-modeline into the :after-hook form.  Remove the explicit settings
      of the syntax table, the abbreviation table and the local key map, since they
      duplicate forms generated by define-derived-mode.  Remove the explicit
      invocation of each mode's mode hook, since they duplicate ones generated by
      define-derived-mode.
      
      * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
      functions.
      (c-noise-macro-names, c-noise-macro-with-parens-names): give the
      save-local-variable property c-string-list-p.
      (c-macro-names-with-semicolon): give the save-local-variable property
      c-string-or-string-list-p.
      
      * doc/misc/cc-mode.texi: (Macros with ;, Noise Macros): Note that it's not
      necessary to call the regexp generating functions after setting the pertinent
      configuration values in a mode hook.
      a8231e00
    • Lars Ingebrigtsen's avatar
      Fix doc string in `insert' · 3b478989
      Lars Ingebrigtsen authored
      * src/editfns.c (Finsert_and_inherit): The before-insertion
      markers do not move.
      (Finsert): Ditto.
      3b478989
    • Michael Albinus's avatar
      ; Instrument tramp-tests.el · 608f2bd0
      Michael Albinus authored
      608f2bd0
    • Dmitry Gutov's avatar
      Fix the jit-lock-fontify-now test names · fd45b527
      Dmitry Gutov authored
      * test/lisp/jit-lock-tests.el
      (jit-lock-fontify-now-mends-the-gaps)
      (jit-lock-fontify-now-does-not-refontify-unnecessarily):
      Fix the test names.
      fd45b527
    • Michael Albinus's avatar
      Extend completion candidates in tramp.el · 60e9b006
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-parse-default-user-host): New defun.
      (tramp-get-completion-function): Use it.
      60e9b006
    • Michael Albinus's avatar
      Revert e2f78599 for tramp.el · 001d59c6
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-time-diff): Revert previous change due to backwards
      compatibility.
      001d59c6
    • Dmitry Gutov's avatar
      Emulate interactive mode · 80bea210
      Dmitry Gutov authored
      * test/lisp/jit-lock-tests.el (jit-lock-tests--setup-buffer)
      (jit-lock-does-not-refontify-unnecessarily):
      Bind noninteractive to nil (bug#23278).
      80bea210
  5. 08 May, 2016 6 commits
    • Paul Eggert's avatar
      Simplify now that float-time etc. are built-in · e2f78599
      Paul Eggert authored
      This was prompted by warnings about calls to now-obsolete functions.
      * lisp/calendar/time-date.el (encode-time-value):
      Use setq rather than a recursive call, to avoid a warning
      about calling this obsolete function.
      * lisp/calendar/time-date.el (encode-time-value)
      (with-decoded-time-value, time-to-seconds, time-to-number-of-days):
      * lisp/erc/erc.el (erc-emacs-time-to-erc-time):
      * lisp/net/rcirc.el (rcirc-float-time):
      * lisp/org/org-compat.el (org-float-time):
      Simplify now that time-add and float-time are now built-in.
      * lisp/calendar/time-date.el (time-add, time-subtract, time-less-p):
      * lisp/net/newst-backend.el (time-add):
      * lisp/org/org.el (time-subtract):
      Remove backward-compatibility definitions; they are now built-in.
      * lisp/calendar/timeclock.el (timeclock-time-to-seconds)
      (timeclock-seconds-to-time):
      * lisp/net/rcirc.el (rcirc-float-time):
      * lisp/org/org-compat.el (org-float-time):
      Now obsolete, since callers can just use float-time and
      seconds-to-time.  All uses changed.
      * lisp/emacs-lisp/ert.el (ert-results-pop-to-timings):
      * lisp/gnus/gnus-art.el (article-lapsed-string):
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      * lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
      * lisp/gnus/nndiary.el (nndiary-compute-reminders):
      * lisp/net/tramp.el (tramp-time-diff):
      * lisp/org/org-clock.el (org-clock-timestamps-change):
      Prefer the time-subtract builtin to the subtract-time alias.
      * lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir):
      * test/lisp/character-fold-tests.el (character-fold--speed-test):
      Prefer the float-time builtin to the time-to-seconds alias.
      * lisp/org/org-agenda.el, lisp/org/org-clock.el, lisp/org/org-list.el:
      * lisp/org/org-timer.el, lisp/org/org.el:
      Adjust to org-float-time deprecation.
      e2f78599
    • Paul Eggert's avatar
    • Alan Mackenzie's avatar
      Add :after-hook facility to define-derived-mode. · 2eb6817b
      Alan Mackenzie authored
      This allow a form to be evaluated _after_ a major mode's hooks have been run.
      It is needed to solve some problems in CC Mode, including bug #16759 and
      bug #23476.
      
      * lisp/emacs-lisp/derived.el (define-derived-mode): introduce the new argument
      `:after-hook', and generate the requisite code for it.
      (derived-mode-make-docstring): Take account of the possibility of :after-hook.
      
      * lisp/subr.el (delayed-after-hook-forms): New variable.
      (run-mode-hooks): As the last thing evaluate the forms in
      delayed-after-hook-forms.
      
      * doc/lispref/modes.texi (Derived Modes): Document :after-hook.
      (Mode Hooks): Document the new feature in run-mode-hooks.
      
      * etc/NEWS: Note the new feature.
      2eb6817b
    • Michael Albinus's avatar
      344eb61a
    • Michael Albinus's avatar
      Fix recursive load of tramp.elc · 6ef59445
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-completion-file-name-handler):
      Check also for `tramp-completion-mode-p'.
      (tramp-completion-mode, tramp-completion-mode-p): Autoload them.
      6ef59445
    • Paul Eggert's avatar
      Prefer grep -E/-F to egrep/fgrep · e8bda380
      Paul Eggert authored
      POSIX marked egrep and fgrep as legacy apps in SUSv2 (1997) and
      withdrew them in SUSv3 (2001), and these days grep -E and grep -F
      are probably more portable.
      * lib-src/etags.c (main):
      * lisp/eshell/em-unix.el (eshell-grep, eshell/egrep)
      (eshell/fgrep):
      * lisp/cedet/semantic/symref.el (semantic-symref-find-text):
      * lisp/eshell/esh-var.el (eshell-apply-indices):
      * lisp/progmodes/ada-xref.el (ada-xref-search-with-egrep)
      (ada-find-in-src-path):
      * lisp/textmodes/ispell.el (ispell-grep-command):
      (ispell-lookup-words):
      Use or document grep -E and grep -F instead of egrep and fgrep.
      * lisp/textmodes/ispell.el (ispell-grep-options):
      Use -Ei on all platforms, not just MS-Windows.
      e8bda380
  6. 07 May, 2016 3 commits