1. 22 Jan, 2021 6 commits
    • Lars Ingebrigtsen's avatar
      Fix up previous mh-speed.el ignored variable change · b7f318aa
      Lars Ingebrigtsen authored
      * lisp/mh-e/mh-speed.el (mh-speed-toggle, mh-speed-view): Mark the
      ignored parameter with _ instead of using the Common Lispish
      (declare (ignore args)) (which Emacs Lisp doesn't really support),
      except by accident.
      b7f318aa
    • Keith David Bershatsky's avatar
      Add more isearch-related bindings to ns-win.el · 2be55ad6
      Keith David Bershatsky authored
      * lisp/term/ns-win.el (minibuffer-local-isearch-map): Add more
      bindings to mirror bindings in isearch.el (bug#15667).
      2be55ad6
    • Lars Ingebrigtsen's avatar
      Make nnml handle invalid non-ASCII headers more consistently · ef14acfb
      Lars Ingebrigtsen authored
      * lisp/gnus/nnml.el (nnml--encode-headers): New function to
      RFC2047-encode invalid Subject/From headers (bug#45925).  This
      will make them be displayed more consistently in the Summary
      buffer (but still "wrong" sometimes, since there's not that much
      we can guess at at this stage, charset wise).
      (nnml-parse-head): Use it.
      ef14acfb
    • Michael Albinus's avatar
      Use RemoteCommand option for Tramp's sshx and scpx methods · b2b26bd4
      Michael Albinus authored
      * doc/misc/tramp.texi (Inline methods) <sshx>:
      (External methods) <scpx>: Adapt call sequence.
      (Remote shell setup): Mention, that sshx and scpx overwrite
      RemoteCommand.
      (Remote processes): Restriction: direct asynchronous processes
      cannot be used when RemoteCommand is in use.
      `tramp-remote-process-environment' is not ignored any longer.
      
      * lisp/net/tramp-sh.el (tramp-methods) <sshx, scpx>: Handle login
      shell via RemoteCommand.  Remove `tramp-direct-async' parameter.
      (tramp-maybe-open-connection): Add "-i" to login.
      
      * lisp/net/tramp-smb.el (tramp-smb-errors):
      Add "NT_STATUS_NOT_SUPPORTED".
      (tramp-smb-handle-insert-directory): Fix point moving error.
      
      * test/lisp/net/tramp-tests.el (tramp-test34-explicit-shell-file-name):
      Use `get-buffer-process' where appropriate.
      b2b26bd4
    • Mattias Engdegård's avatar
      Calc: use big brackets around function arguments · 4c0dce4b
      Mattias Engdegård authored
      * lisp/calc/calccomp.el (math-compose-expr): Use big brackets around
      arguments in Big mode, so that expressions like sin(a/b) look a bit
      better.
      4c0dce4b
    • Glenn Morris's avatar
  2. 21 Jan, 2021 14 commits
    • Stefan Monnier's avatar
      Fix spurious "Lexical argument shadows the dynamic variable" due to inlining · b41b4add
      Stefan Monnier authored
      Before this patch doing:
      
          rm lisp/calendar/calendar.elc
          make lisp/calendar/cal-hebrew.elc
      
      would spew out lots of spurious such warnings about a `date` argument,
      pointing to code which has no `date` argument in sight.  This was
      because that code had calls to inlinable functions (taking a `date`
      argument) defined in `calendar.el`, and while `date` is a normal
      lexical var at the site of those functions' definitions, it was
      declared as dynbound at the call site.
      
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
      Don't impose our local context onto the inlined function.
      
      * test/lisp/emacs-lisp/bytecomp-tests.el: Add matching test.
      b41b4add
    • Stefan Kangas's avatar
    • Lars Ingebrigtsen's avatar
      Don't have type-break-mode signal errors on corrupted files · 2cf347a0
      Lars Ingebrigtsen authored
      * lisp/type-break.el (type-break-get-previous-time):
      (type-break-get-previous-count): Signal a warning instead of an
      error (bug#38246).  type-break will still continue to work even if
      the database can't be loaded after a restart, but this allows
      Emacs to be started.
      2cf347a0
    • Lars Ingebrigtsen's avatar
      Fix message.el build warning from previous change · a6f030fc
      Lars Ingebrigtsen authored
      * lisp/gnus/message.el (subr-x): Fix build warning from previous
      commit.
      a6f030fc
    • Lars Ingebrigtsen's avatar
      Add dired support for compressing .pax files · de761b58
      Lars Ingebrigtsen authored
      * lisp/dired-aux.el (dired-compress-files-alist): Add support for
      compressing .pax files (bug#40135).
      de761b58
    • Lars Ingebrigtsen's avatar
      Tweak previous message-forward-included-mime-headers change · 7d122cf9
      Lars Ingebrigtsen authored
      * lisp/gnus/message.el (message-forward-included-mime-headers):
      Should probably not include Content-Transfer-Encoding, because we
      will reencode anyway.
      7d122cf9
    • Lars Ingebrigtsen's avatar
      Make Message respect header removal instructions more · a7fb4ab8
      Lars Ingebrigtsen authored
      * doc/misc/message.texi (Forwarding): Document it.
      
      * lisp/gnus/message.el (message-forward-ignored-headers): Improve
      documentation.
      (message-forward-included-headers): Ditto.
      (message-forward-included-mime-headers): New user option.
      (message-remove-ignored-headers): Use it to preserve the necessary
      MIME headers.
      (message-forward-make-body): Remove headers when forwarding as
      MIME, too.
      a7fb4ab8
    • Eli Zaretskii's avatar
      A better fix for 'kill-visual-line' · b2d30fd6
      Eli Zaretskii authored
      * lisp/simple.el (kill-visual-line): Use the 6th element of the
      return value of 'posn-at-point', which provides the coordinates in
      terms or row and column, and is thus more reliable for deciding
      whether we moved to the next screen line.  (Bug#45837)
      b2d30fd6
    • Lars Ingebrigtsen's avatar
      Fix thinko in previous footnote.el change · 8e7728a5
      Lars Ingebrigtsen authored
      * lisp/mail/footnote.el (footnote--regenerate-alist): Don't error
      out when there's no footnotes.
      8e7728a5
    • Stefan Monnier's avatar
      Use `lexical-binding` in all the cal-*.el files · bacc24b5
      Stefan Monnier authored
      * lisp/calendar/cal-bahai.el: Use lexical-binding.
      (calendar-bahai-date-string): Use `calendar-dlet*`.
      
      * lisp/calendar/cal-china.el: Use lexical-binding.
      (calendar-chinese-zodiac-sign-on-or-after)
      (calendar-chinese-new-moon-on-or-after): Declare `year`.
      (calendar-chinese-from-absolute-for-diary)
      (calendar-chinese-to-absolute-for-diary)
      (calendar-chinese-mark-date-pattern): Avoid dynbound var `date` as
      function argument.
      
      * lisp/calendar/cal-coptic.el: Use lexical-binding.
      (calendar-coptic-date-string): Use `calendar-dlet*`.
      (calendar-ethiopic-to-absolute, calendar-ethiopic-from-absolute)
      (calendar-ethiopic-date-string, calendar-ethiopic-goto-date):
      Avoid dynbound var `date` as function argument.
      
      * lisp/calendar/cal-french.el: Use lexical-binding.
      
      * lisp/calendar/cal-hebrew.el: Use lexical-binding.
      (holiday-hebrew-hanukkah): Don't use the third form in `dotimes`.
      
      * lisp/calendar/cal-islam.el: Use lexical-binding.
      (calendar-islamic-to-absolute): Comment out unused vars `month` and `day`.
      
      * lisp/calendar/cal-move.el:
      * lisp/calendar/cal-mayan.el:
      * lisp/calendar/cal-iso.el: Use lexical-binding.
      
      * lisp/calendar/cal-persia.el: Use lexical-binding.
      (calendar-persian-date-string): Use `calendar-dlet*`.
      
      * lisp/calendar/cal-html.el: Use lexical-binding.
      (cal-html-insert-minical): Comment out unused var `date`.
      (cal-html-cursor-month, cal-html-cursor-year): Mark `event` arg as unused.
      
      * lisp/calendar/cal-menu.el: Use lexical-binding.
      (diary-list-include-blanks): Declare var.
      
      * lisp/calendar/cal-x.el: Use lexical-binding.
      
      * lisp/calendar/cal-tex.el: Use lexical-binding.
      (diary-list-include-blanks): Declare var.
      (cal-tex-insert-days, cal-tex-cursor-week-iso, cal-tex-week-hours)
      (cal-tex-weekly-common, cal-tex-cursor-filofax-2week)
      (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Declare `date`
      as dynbound for the benefit of `cal-tex-daily-string`.
      bacc24b5
    • Stefan Monnier's avatar
      Use `calendar-read-sexp` instead of the now obsolete `calendar-read` · 0c93d0d0
      Stefan Monnier authored
      * lisp/calendar/diary-lib.el (diary-insert-cyclic-entry):
      * lisp/calendar/cal-persia.el (calendar-persian-read-date):
      * lisp/calendar/cal-move.el (calendar-goto-day-of-year):
      * lisp/calendar/cal-mayan.el (calendar-mayan-read-haab-date)
      (calendar-mayan-read-tzolkin-date):
      * lisp/calendar/cal-julian.el (calendar-julian-goto-date)
      (calendar-astro-goto-day-number):
      * lisp/calendar/cal-iso.el (calendar-iso-read-date):
      * lisp/calendar/cal-islam.el (calendar-islamic-read-date):
      * lisp/calendar/cal-hebrew.el (calendar-hebrew-read-date)
      (calendar-hebrew-list-yahrzeits):
      * lisp/calendar/cal-french.el (calendar-french-goto-date):
      * lisp/calendar/cal-coptic.el (calendar-coptic-read-date):
      * lisp/calendar/cal-china.el (calendar-chinese-goto-date):
      * lisp/calendar/cal-bahai.el (calendar-bahai-read-date):
      * lisp/calendar/holidays.el (list-holidays): Use `calendar-read-sexp`.
      0c93d0d0
    • Stefan Monnier's avatar
      * lisp/calendar/cal-french.el (calendar-french-accents-p): Obsolete function · 0f65baa0
      Stefan Monnier authored
      Always assume accented letters can be used
      
      (calendar-french-month-name-array)
      (calendar-french-special-days-array): Use the accented names.
      (calendar-french-multibyte-month-name-array)
      (calendar-french-multibyte-special-days-array): Make those vars
      obsolete aliases.
      (calendar-french-month-name-array, calendar-french-day-name-array)
      (calendar-french-special-days-array): Mark functions as obsolete.
      (calendar-french-date-string, calendar-french-goto-date): Always use
      the text with accents.
      0f65baa0
    • Stefan Monnier's avatar
      * lisp/calendar/calendar.el (calendar-read-sexp): New function · d8a9828b
      Stefan Monnier authored
      (calendar-read): Mark as obsolete.
      (calendar-read-date): Use it.  Add `default-date` argument.
      Provide defaults for the month and day (fixes bug#32105).
      d8a9828b
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el (byte-compile--declare-var): Fix warning · b9511362
      Stefan Monnier authored
      Make sure the "declared after first use" is under the control of
      the `lexical` option.
      b9511362
  3. 20 Jan, 2021 20 commits