1. 21 Nov, 2018 8 commits
    • Paul Eggert's avatar
      emacsclient: take more care with int width · 8f49cb00
      Paul Eggert authored
      * lib-src/emacsclient.c: Include inttypes.h, stddef.h.
      (emacs_pid, main): Don’t assume pid fits in int.
      (fail): Don’t assume pointer difference fits in int.
      (set_local_socket): Don’t assume uid fits in long.
      8f49cb00
    • Paul Eggert's avatar
      emacsclient.c: use C99 to avoid {} · c0870736
      Paul Eggert authored
      * lib-src/emacsclient.c (set_local_socket):
      Assume C99 decl-after-statement and reindent.
      c0870736
    • Paul Eggert's avatar
      emacsclient: improve use of locals · 3fe110d3
      Paul Eggert authored
      * lib-src/emacsclient.c (main):
      Use smaller scopes for some locals.
      3fe110d3
    • Paul Eggert's avatar
      emacsclient: fix unlikely crash with "&" · 7a85a40e
      Paul Eggert authored
      * lib-src/emacsclient.c (quote_argument):
      Mention *DATA in comment so it’s clear DATA must be non-null.
      (quote_argument, unquote_argument): Simplify.
      (unquote_argument): Don’t crash if the string ends in "&".
      7a85a40e
    • Eric Abrahamsen's avatar
      Fix "Allow use of Gnus search groups as notmuch path: search term" · e01d0307
      Eric Abrahamsen authored
      * lisp/gnus/nnir.el (nnir-notmuch-filter-group-names-function):
        Default to nil -- getting correct behavior requires user
        intervention too often to have this enabled by default.
      * lisp/gnus/nnir.el (nnir-run-notmuch): If the user has turned this
        on, then also hardcode `gnus-group-short-name' as a filter -- things
        will never work without it. Also move leading space to before the
        opening parenthesis.
      * doc/misc/gnus.texi: Document option.
      
      (Bug#33122)
      e01d0307
    • Eric Abrahamsen's avatar
      Check Gnus group names when reading from browse server · d15d72b2
      Eric Abrahamsen authored
      * lisp/gnus/gnus-srvr.el (gnus-browse-read-group): If the group in
        question belongs to the native server, the name has to be shortened
        before we check it with `gnus-get-info'. It might work otherwise
        with nntp, but for backends like nnmaildir that have their own
        accounting system, creating an ephemeral group won't work.
      d15d72b2
    • Michael Albinus's avatar
      * doc/misc/tramp.texi: Fix last commit. · e0799e67
      Michael Albinus authored
      e0799e67
    • Michael Albinus's avatar
      Let Tramp sudo sessions expire after a timeout · fb200f3e
      Michael Albinus authored
      * doc/misc/tramp.texi (Inline methods) <sudo, doas>: Both methods expire
      the underlying session per default.
      (Predefined connection information): Explain "session-timeout".
      
      * etc/NEWS: Mention Tramp session expiration.
      
      * lisp/net/tramp-sh.el (tramp-methods) <sudo, doas>:
      Add `tramp-session-timeout'.
      (tramp-timeout-session): New defun.
      (tramp-maybe-open-connection): Handle session timeout.
      
      * lisp/net/tramp.el (tramp-methods): Adapt docstring.
      (tramp-equal-remote): Extend.
      fb200f3e
  2. 20 Nov, 2018 7 commits
    • Juri Linkov's avatar
      Add prefix arg to isearch-repeat-forward/backward (bug#14563, bug#29321) · 166f6274
      Juri Linkov authored
      * lisp/isearch.el (isearch-repeat): Add optional arg COUNT.
      Add a while-loop that calls `isearch-search' COUNT times.
      (isearch-repeat-forward, isearch-repeat-backward):
      Add optional prefix ARG passed down to `isearch-repeat'.
      Handle reversed directions.
      166f6274
    • Stefan Monnier's avatar
      calc.el, calc-(ext|poly), calccomp: Use lexical-binding · 11c9343f
      Stefan Monnier authored
      * lisp/calc/calc-ext.el: Use lexical-binding, silence warnings.
      (calc-init-extensions): Remove a few functions which can't be called
      directly since they depend on dynamically scoped vars.
      (calc-embedded-quiet): Declare.
      (math-defcache): Use 'declare'.
      (math-normalize-a): Remove declaration.
      (math-normalize-nonstandard): Receive 'a' as arg instead.
      (math-defintegral): Use 'declare'.
      (math-exp-pos, math-exp-old-pos, math-exp-keep-spaces, math-rb-h2)
      (math-read-big-baseline, math-read-big-h2, math-read-big-err-msg)
      (math-exp-token, math-expr-data, math-exp-str): Declare.
      (math-map-tree, math-read-expr): Avoid dynvars as formal arguments.
      
      * lisp/calc/calc-poly.el: Use lexical-binding, silence warnings.
      Turn some comments into docstrings.
      (math-poly-div): Avoid dynvars as formal arguments.
      (math-poly-base-top-expr): Move declaration before first use.
      (calcFunc-factors, math-factor-expr, math-factor-expr-try)
      (calcFunc-factor): Avoid dynvars as formal arguments.
      
      * lisp/calc/calc.el: Use lexical-binding, silence warnings.
      (math-normalize-a): Remove.
      (math-normalize): Use lexical var 'a' instead.
      (math-svo-c): Remove.
      (math-stack-value-offset): Pass 'c' explicitly as arg to
      math-stack-value-offset-fancy instead.
      
      * lisp/calc/calccomp.el: Use lexical-binding, silence warnings.
      (math-svo-c): Remove.
      (math-stack-value-offset-fancy): Use new arg 'c' instead.
      (math-comp-to-string-flat): Avoid dynvars as formal arguments.
      11c9343f
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 336681f3
      Glenn Morris authored
      d667318a (origin/emacs-26) Fix two Edebug defcustoms (bug#33428)
      336681f3
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · feea5c64
      Glenn Morris authored
      The following commit was skipped:
      
      b8b42c23 Fix Bug#33141
      feea5c64
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · bb7b75d7
      Glenn Morris authored
      070e82b9 ; * src/window.c (window_scroll): Improve commentary.
      60457d7a Improve documentation of the window tree
      ea1a0149 Fix window scrolling on TTY frames when there's no mode line
      df7ed10e Fix decoding XML files encoded in ISO-8859
      7851ae8b (tag: emacs-26.1.90) ; ChangeLog.3 update
      19588083 * etc/AUTHORS: Update.
      72525076 Fix description of some window hooks
      88762b40 Run 'window--adjust-process-windows' when frame size changes ...
      d6542ea0 Avoid errors in zone.el when there's overlay at EOB
      bb7b75d7
    • Stefan Monnier's avatar
      * lisp/calc/calc-alg.el: Use lexical-binding and silence warnings · e1b2c21b
      Stefan Monnier authored
      * lisp/calc/calc-alg.el: Use lexical-binding and silence warnings.
      (math-defsimplify): Let-bind 'expr' instead of math-simplify-expr.
      Adjust all users.
      (math-simplify-expr): Don't declare any more.
      (math--simplify-divide-expr): New dynbound var.
      (math-simplify-divide): Bind it when needed.
      (math-simplify-divisor): Use it instead of math-simplify-expr.
      (math-simplify-divisor): Only bind math-simplify-divisor-[nd]over
      around the calls to math-simplify-one-divisor.
      (math-expr-subst, math-is-polynomial): Don't use dynbound vars as
      formal arguments.
      (math-polynomial-base): Move binding of math-poly-base-pred.
      Don't bind math-poly-base-top-expr any more...
      * lisp/calc/calc-poly.el (math-total-polynomial-base): Bind it here instead!
      
      * lisp/calc/calc-units.el: Use lexical-binding and silence warnings.
      Adjust to the new 'expr' name in math-defsimplify.
      (math-find-base-units, math-to-standard-units, math-convert-units):
      Don't use dynbound vars as formal arguments.
      (math-simplify-expr): Don't declare any more.
      e1b2c21b
    • Robert Pluim's avatar
      Remove space from end of coding cookie · 5007c23a
      Robert Pluim authored
      * lisp/bookmark.el (bookmark-insert-file-format-version-stamp):
      Remove unnecessary space from end of coding cookie.
      5007c23a
  3. 19 Nov, 2018 20 commits
  4. 18 Nov, 2018 2 commits
  5. 17 Nov, 2018 3 commits