1. 22 Mar, 2019 3 commits
    • Federico Tedin's avatar
      Correctly handle packages without description in describe-package · 89fa7c45
      Federico Tedin authored
      * lisp/emacs-lisp/package.el (describe-package-1): Do not call insert
        if package description is nil (Bug#34147).
    • Federico Tedin's avatar
      Make edebug-eval-expression support code completion · a0b1c402
      Federico Tedin authored
      * lisp/emacs-lisp/edebug.el (edebug-eval-expression): Use
        read--expression instead of read-from-minibuffer. (Bug#34065)
    • Stefan Monnier's avatar
      Fix misuses of NULL when talking about the NUL character · 76fea1eb
      Stefan Monnier authored
      * lisp/subr.el (inhibit-null-byte-detection): Make it an obsolete alias.
      * src/coding.c (setup_coding_system): Use new name.
      (detect_coding): Rename null_byte_found => nul_byte_found.
      (detect_coding_system): Use new name.
      Rename null_byte_found => nul_byte_found.
      (Fdefine_coding_system_internal): Use new name.
      (syms_of_coding): Rename inhibit-null-byte-detection to
      * src/w16select.c (get_clipboard_data): null_char => nul_char.
      * src/json.c (check_string_without_embedded_nuls): Rename from
      (Fjson_parse_string): Adjust accordingly.
      * src/coding.h (enum define_coding_undecided_arg_index)
      (enum coding_attr_index): ...null_byte... => ...nul_byte....
      * lisp/info.el (info-insert-file-contents, Info-insert-dir):
      * lisp/international/mule.el (define-coding-system):
      * lisp/vc/vc-git.el (vc-git--call):
      * doc/lispref/nonascii.texi (Lisp and Coding Systems): Use the new name.
  2. 21 Mar, 2019 8 commits
  3. 20 Mar, 2019 13 commits
  4. 19 Mar, 2019 10 commits
    • Juri Linkov's avatar
      * lisp/vc/vc.el (vc-diff-build-argument-list-internal): Add arg fileset. · b2dd61ff
      Juri Linkov authored
      (vc-root-version-diff): Set vc-diff-build-argument-list-internal's
      optional arg 'fileset' to the root directory.  (Bug#34532)
    • Juri Linkov's avatar
      * lisp/frame.el (frame-monitor-attributes): Fall back to the last monitor · ded3c8de
      Juri Linkov authored
      when frames monitor attributes is still uninitialized.  (Bug#34680)
    • Juri Linkov's avatar
      * lisp/frame.el (make-frame-on-monitor): Don't set height and width. · 2c541d84
      Juri Linkov authored
      Don't use x-parse-geometry.  Delete nil from completions (Bug#34516)
    • Paul Eggert's avatar
      Use ‘const’ to clarify GC marking · 53914a10
      Paul Eggert authored
      Add ‘const’ to make the GC marking code a bit clearer.
      This can also help the compiler in some cases, I think because
      GCC can now determine more often that the value of a static C
      variable can be cached when its address is now converted to
      ‘Lisp Object const *’ before escaping.
      * src/alloc.c (staticvec, mark_maybe_objects, mark_memory)
      (mark_stack, staticpro, mark_object_root_visitor)
      * src/pdumper.c (dump_ptr_referrer, dump_emacs_reloc_to_lv)
      (dump_emacs_reloc_to_emacs_ptr_raw, dump_root_visitor):
      * src/lisp.h (vcopy, struct gc_root_visitor):
      * src/sysdep.c (stack_overflow):
      * src/thread.c (mark_one_thread):
      * src/thread.h (struct thread_state):
      Use pointer-to-const instead of plain pointer in some
      GC-related places where either will do.
    • Mattias Engdegård's avatar
      Disallow reversed char ranges in `rx' · 3ed1621d
      Mattias Engdegård authored
      (any "a-Z0-9") generated "[0-9]", and (any (?9 . ?0)) generated "[9-0]".
      Reversed ranges are either mistakes or abuse.  Neither should be allowed.
      etc/NEWS: Explain the change.
      lisp/emacs-lisp/rx.el (rx): Document.
      (rx-check-any-string, rx-check-any): Add error checks for reversed ranges.
      test/lisp/emacs-lisp/rx-tests.el (rx-char-any-range-bad): New test.
    • Basil L. Contovounesios's avatar
      Fix url-copy-file arglist · bd5795e0
      Basil L. Contovounesios authored
      * lisp/url/url-handlers.el: Silence byte-compiler.
      (url-copy-file): Add 6th argument following change to copy-file in
      2012-12-16T19:22:27+01:00!romain@orebokech.com. (bug#4410)
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix downloading updates for packages with non-ASCII descriptions · 5ed05fbf
      Eli Zaretskii authored
      * lisp/emacs-lisp/package.el (package--download-one-archive):
      Make sure archive contents are written using UTF-8 encoding.
      (list-packages): Set buffer's encoding to UTF-8.
    • Paul Eggert's avatar
      Remove buggy regexp use in comint-output-filter · c0936672
      Paul Eggert authored
      This reverts commit 2012-07-02T16:18:02!monnier@iro.umontreal.ca
      which perhaps could be rethought and recommitted, and perhaps
      it’s no longer needed now that comint-use-prompt-regexp
      is almost always nil.
      * lisp/comint.el (comint-output-filter): Don’t try to skip
      repeated prompts, since comint-prompt-regexp typically begins
      with "^" and the resulting "^^" in the regular expression does
      not have the desired effect.  Noted by Mattias Engdegård in:
    • Paul Eggert's avatar
      Fix more regular expression typos · bc2a93d5
      Paul Eggert authored
      Problem reported by Mattias Engdegård in:
      except that I didn’t address the issues involving Hebrew,
      or involving comint-prompt-regexp.
      * lisp/align.el (align-rules-list, align-exclude-rules-list):
      * lisp/auth-source-pass.el (auth-source-pass--parse-secret)
      * lisp/cedet/data-debug.el (data-debug-next)
      (data-debug-prev, data-debug-expand-or-contract):
      * lisp/comint.el (comint-within-quotes):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emulation/viper-ex.el (ex-cmd-complete):
      * lisp/gnus/gnus-cite.el (gnus-message-search-citation-line):
      * lisp/gnus/nnir.el (nnir-imap-end-of-input):
      * lisp/mail/mail-extr.el (mail-extr-all-letters):
      * lisp/minibuffer.el (minibuffer-maybe-quote-filename):
      * lisp/nxml/rng-nxml.el (rng-complete-tag)
      (rng-complete-end-tag, rng-complete-attribute-name):
      * lisp/obsolete/vip.el (vip-get-ex-token, vip-get-ex-pat):
      * lisp/org/org-pcomplete.el (org-thing-at-point):
      * lisp/org/org.el (org-set-tags)
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/ada-mode.el (ada-compile-goto-error):
      * lisp/progmodes/cperl-mode.el (cperl-highlight-charclass)
      (cperl-find-pods-heres, cperl-not-bad-style-regexp)
      * lisp/progmodes/ebnf-yac.el (ebnf-yac-skip-spaces):
      * lisp/progmodes/flymake-proc.el (flymake-proc-master-tex-init):
      * lisp/progmodes/flymake.el (flymake-diag-region):
      * lisp/progmodes/fortran.el (fortran-current-line-indentation):
      * lisp/progmodes/idlw-complete-structtag.el:
      * lisp/progmodes/idlwave.el (idlwave-complete-sysvar-or-tag):
      * lisp/progmodes/prolog.el (prolog-pred-end)
      * lisp/progmodes/ruby-mode.el (ruby-forward-sexp)
      * lisp/progmodes/verilog-mode.el (verilog-repair-open-comma):
      * lisp/term.el (term-within-quotes):
      * lisp/textmodes/bib-mode.el (bib-capitalize-title-stop-words):
      * lisp/textmodes/refbib.el (r2b-capitalize-title-stop-words):
      * lisp/textmodes/reftex-parse.el (reftex-nth-arg):
      * lisp/textmodes/rst.el (rst-svn-rev):
      * lisp/url/url-http.el (url-http-parse-response):
      * test/lisp/progmodes/f90-tests.el (f90-test-bug3730):
      Fix regular expression typos.
  5. 18 Mar, 2019 4 commits
  6. 17 Mar, 2019 2 commits
    • Stefan Monnier's avatar
      Dired: Use invisibility-spec instead of selective-display · 5055e14d
      Stefan Monnier authored
      * lisp/dired.el (dired-subdir-regexp): No need to pay attention to \r.
      (dired-remember-hidden): Use pcase-dolist and dired--hidden-p.
      (dired-mode): Set invisibility-spec instead of selective-display.
      (dired--hidden-p, dired--hide, dired--unhide, dired--find-hidden-pos):
      New functions.
      (dired-move-to-end-of-filename): Use dired--hidden-p.
      (dired-next-subdir): No need to pay attention to \r.
      (dired-fun-in-all-buffers): Use push.
      * lisp/dired-aux.el (dired-unhide-subdir, dired-hide-subdir, dired-hide-all):
      Use the new functions and with-silent-modifications.
      (dired-add-entry): Use dired--hidden-p.
      (dired-goto-subdir): No need to pay attention to \r.
      (dired-hide-check): Remove.
      (dired-subdir-hidden-p): Use dired--hidden-p.
      (dired-do-find-regexp): Use file-name-as-directory.
    • Stefan Monnier's avatar