1. 21 Mar, 2019 6 commits
  2. 20 Mar, 2019 13 commits
  3. 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)
      b2dd61ff
    • 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)
      ded3c8de
    • 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)
      2c541d84
    • 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)
      (garbage_collect_1):
      * 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.
      53914a10
    • 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.
      3ed1621d
    • 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)
      bd5795e0
    • Eli Zaretskii's avatar
      eaa188a6
    • 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.
      (Bug#34909)
      (list-packages): Set buffer's encoding to UTF-8.
      5ed05fbf
    • 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:
      https://lists.gnu.org/r/emacs-devel/2019-03/msg00380.html
      c0936672
    • Paul Eggert's avatar
      Fix more regular expression typos · bc2a93d5
      Paul Eggert authored
      Problem reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-03/msg00548.html
      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)
      (auth-source-pass--parse-data):
      * 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)
      (org-increase-number-at-point)
      (org-fill-line-break-nobreak-p):
      * 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)
      (cperl-regext-to-level-start):
      * 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:
      (idlwave-complete-structure-tag):
      * lisp/progmodes/idlwave.el (idlwave-complete-sysvar-or-tag):
      * lisp/progmodes/prolog.el (prolog-pred-end)
      (prolog-clause-info):
      * lisp/progmodes/ruby-mode.el (ruby-forward-sexp)
      (ruby-backward-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.
      bc2a93d5
  4. 18 Mar, 2019 4 commits
  5. 17 Mar, 2019 4 commits
  6. 16 Mar, 2019 3 commits
    • Alexander Gramiak's avatar
      Define macros to abstract support for external menu/tool-bars · cc06d768
      Alexander Gramiak authored
      * src/lisp.h (HAVE_EXT_MENU_BAR)
      (HAVE_EXT_TOOL_BAR): Define.
      
      *src/dispnew.c:
      *src/frame.c:
      *src/frame.h:
      *src/keyboard.c:
      *src/menu.c:
      *src/menu.h:
      *src/window.c:
      *src/window.h:
      *src/xdisp.c:
      *src/xfns: Use the new macros.
      cc06d768
    • Paul Eggert's avatar
      Fix regexp typo in vc-git--program-version · 7d8fe1f9
      Paul Eggert authored
      * lisp/vc/vc-git.el (vc-git--program-version):
      Require a period after ".windows", instead of allowing any char.
      7d8fe1f9
    • Mattias Engdegård's avatar
      Fix some ineffective backslashes in string literals · 8832cc5f
      Mattias Engdegård authored
      Deal with lone backslashes that have no effect in string literals,
      but indicate that something is amiss.
      
      * lisp/auth-source-pass.el (auth-source-pass-entries):
      * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
      * lisp/org/ob-abc.el (org-babel-expand-body:abc, org-babel-execute:abc):
      * lisp/org/ob-forth.el (org-babel-forth-session-execute):
      * lisp/vc/vc-git.el (vc-git--program-version):
      Add backslash in regexp for correctness.
      
      * lisp/gnus/nnmail.el (nnmail-split-abbrev-alist):
      Replace `\||' with `\\|' to follow the obvious regexp intent.
      
      * lisp/org/org-list.el (org-plain-list-ordered-item-terminator):
      Add backslash in doc comment so that it appears as intended.
      
      * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1, c-end-of-decl-1):
      * lisp/progmodes/f90.el (f90-font-lock-keywords-2):
      * lisp/progmodes/etags.el (etags-tags-completion-table):
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
      * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-1):
      Remove superfluous backslashes from regexp.
      
      * test/lisp/emacs-lisp/rx-tests.el (rx-char-any):
      Remove superfluous backslash from doc comment.
      8832cc5f