1. 07 Mar, 2019 3 commits
  2. 06 Mar, 2019 16 commits
  3. 05 Mar, 2019 6 commits
    • Eli Zaretskii's avatar
      Remove unreliable assertion in buf_bytepos_to_charpos · 1c349c62
      Eli Zaretskii authored
      * src/marker.c (buf_bytepos_to_charpos): Remove the assertion
      regarding bytepos always at the head byte of a multibyte
      sequence.  For the reasons, see
    • Wilson Snyder's avatar
      Fix regular-expression glitches and typos. Update verilog-mode from upstream. · c5c2acd1
      Wilson Snyder authored
      * lisp/progmodes/verilog-mode.el (verilog-read-decls): Fix AUTO vectors with
      double brackets, msg2839.
      (verilog-read-auto-template-middle): Fix AUTO_TEMPLATE with regexp
      capture group reference, but1379.  Reported by David Rogoff.
    • Martin Rudalics's avatar
      Fix interactive spec of some functions in window.el (Bug#34749) · 9b93e3b0
      Martin Rudalics authored
      * lisp/window.el (delete-windows-on, quit-windows-on)
      (display-buffer-other-frame): Interactively, permit existing
      buffers only (Bug#34749).
    • Martin Rudalics's avatar
      Fix handling of minibuffer-only child frames (Bug#33498) · a552cc21
      Martin Rudalics authored
      * doc/lispref/frames.texi (Buffer Parameters): Describe how to
      make a minibuffer-only child frame.
      (Child Frames): Describe how minbuffer child frames are
      * src/frame.c (delete_frame): Handle deletion of minibuffer
      child frames (Bug#33498).  In the course, fix reassigning of
      'default-minibuffer-frame' with minibuffer-only frames.
      * lisp/frame.el (frame-notice-user-settings): Handle creation of
      initial minibuffer-only child frame.
      (make-frame): Handle creation of frame with a minibuffer-only
      child frame.
    • Michael Albinus's avatar
      Test an IPv4 mapped IPv6 address in Tramp · eb8dbaff
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax)
      (tramp-test01-file-name-syntax-separate): Check also an IPv4
      mapped IPv6 address.
    • Paul Eggert's avatar
      Fix regular-expression glitches and typos · 3c94c7bc
      Paul Eggert authored
      Problems reported by Mattias Engdegård in:
      * admin/admin.el (set-version):
      * lisp/allout.el (allout-latexify-one-item):
      * lisp/arc-mode.el (archive-arc-rename-entry)
      * lisp/calc/calc-graph.el (calc-graph-set-styles)
      * lisp/calc/calc-help.el (calc-describe-key):
      * lisp/calc/calc-lang.el (math-compose-tex-func, eqn):
      * lisp/calc/calc.el (calcDigit-key):
      * lisp/cedet/ede/makefile-edit.el (makefile-macro-file-list):
      * lisp/cedet/ede/speedbar.el (ede-tag-expand):
      * lisp/cedet/semantic/sb.el (semantic-sb-show-extra)
      * lisp/comint.el (comint-substitute-in-file-name):
      * lisp/dired.el (dired-actual-switches):
      * lisp/emacs-lisp/chart.el (chart-rmail-from):
      * lisp/emacs-lisp/eieio-opt.el (eieio-sb-expand):
      * lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar-object-expand):
      * lisp/emacs-lisp/rx.el (rx-not, rx-atomic-p):
      * lisp/emulation/viper-ex.el (viper-get-ex-token)
      (viper-get-ex-pat, ex-set-read-variable):
      * lisp/epg.el (epg--status-SIG_CREATED):
      * lisp/erc/erc-speedbar.el (erc-speedbar-expand-user):
      (erc-speedbar-expand-channel, erc-speedbar-expand-server)
      * lisp/erc/erc.el (erc-is-message-ctcp-and-not-action-p)
      * lisp/eshell/em-dirs.el (eshell-parse-drive-letter, eshell/pwd):
      * lisp/find-dired.el (find-dired):
      * lisp/frame.el (frame-set-background-mode):
      * lisp/generic-x.el (apache-log-generic-mode):
      * lisp/gnus/gnus-art.el (gnus-button-valid-localpart-regexp):
      * lisp/gnus/gnus.el (gnus-short-group-name):
      * lisp/gnus/message.el (message-mailer-swallows-blank-line):
      * lisp/ibuffer.el (ibuffer-fontification-alist):
      * lisp/ido.el (ido-set-matches-1):
      * lisp/info-xref.el (info-xref-lock-file-p):
      * lisp/info.el (Info-dir-remove-duplicates)
      (Info-unescape-quotes, Info-split-parameter-string)
      * lisp/international/mule.el (sgml-html-meta-auto-coding-function):
      * lisp/isearch.el (isearch-pre-command-hook):
      * lisp/language/ethio-util.el (ethio-fidel-to-tex-buffer):
      * lisp/mail/rmail.el (rmail-collect-deleted):
      * lisp/mh-e/mh-alias.el (mh-alias-suggest-alias):
      * lisp/mh-e/mh-comp.el (mh-forward):
      * lisp/mh-e/mh-search.el (mh-index-next-folder)
      * lisp/mh-e/mh-xface.el (mh-picon-get-image):
      * lisp/minibuffer.el (completion--embedded-envvar-re):
      * lisp/net/ange-ftp.el (ange-ftp-ls-parser):
      * lisp/net/goto-addr.el (goto-address-mail-regexp)
      * lisp/net/pop3.el (pop3-read-response, pop3-user)
      (pop3-pass, pop3-apop):
      * lisp/net/tramp.el (tramp-ipv6-regexp)
      * lisp/nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * lisp/nxml/rng-uri.el (rng-uri-escape-multibyte):
      * lisp/nxml/rng-xsd.el (rng-xsd-convert-any-uri):
      * lisp/obsolete/pgg.el (pgg-fetch-key):
      * lisp/obsolete/vip.el (vip-get-ex-token):
      * lisp/org/ob-core.el (org-babel-string-read):
      * lisp/org/org-agenda.el:
      * lisp/org/org-element.el (org-element-keyword-parser):
      * lisp/org/org-list.el (org-list-indent-item-generic):
      * lisp/org/org-mhe.el (org-mhe-get-message-folder-from-index):
      * lisp/org/org-mobile.el (org-mobile-apply):
      * lisp/org/org-mouse.el (org-mouse-context-menu):
      * lisp/org/org-plot.el (org-plot/gnuplot):
      * lisp/org/org-protocol.el (org-protocol-flatten-greedy):
      * lisp/org/org-table.el (org-table-copy-down)
      (org-table-get-stored-formulas, org-table-recalculate)
      * lisp/org/org.el (org-translate-link-from-planner)
      * lisp/org/ox-ascii.el (org-ascii-item):
      * lisp/org/ox-latex.el (org-latex-clean-invalid-line-breaks):
      * lisp/org/ox.el (org-export-expand-include-keyword):
      * lisp/progmodes/ada-xref.el (ada-treat-cmd-string):
      * lisp/progmodes/cfengine.el (cfengine2-font-lock-keywords):
      * lisp/progmodes/cperl-mode.el (cperl-to-comment-or-eol)
      (cperl-find-pods-heres, cperl-fix-line-spacing)
      (cperl-have-help-regexp, cperl-word-at-point-hard)
      * lisp/progmodes/dcl-mode.el (dcl-option-value-offset):
      * lisp/progmodes/etags.el (tag-implicit-name-match-p):
      * lisp/progmodes/fortran.el (fortran-fill):
      * lisp/progmodes/gdb-mi.el (gdb-speedbar-expand-node)
      * lisp/progmodes/grep.el (grep-mode-font-lock-keywords):
      * lisp/progmodes/gud.el (gud-jdb-find-source-using-classpath):
      * lisp/progmodes/js.el (js--continued-expression-p):
      * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
      * lisp/progmodes/meta-mode.el (meta-indent-level-count):
      * lisp/progmodes/mixal-mode.el (mixal-font-lock-keywords):
      * lisp/progmodes/opascal.el (opascal-find-unit-in-directory):
      * lisp/progmodes/pascal.el (pascal-progbeg-re):
      * lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re)
      (ruby-expr-beg, ruby-parse-partial)
      (ruby-toggle-string-quotes, ruby-font-lock-keywords):
      * lisp/progmodes/sql.el (sql--make-help-docstring):
      * lisp/progmodes/verilog-mode.el (verilog-coverpoint-re)
      * lisp/progmodes/vhdl-mode.el (vhdl-resolve-env-variable)
      (vhdl-speedbar-expand-project, vhdl-speedbar-expand-entity)
      (vhdl-speedbar-expand-config, vhdl-speedbar-expand-package)
      * lisp/speedbar.el (speedbar-dired, speedbar-tag-file)
      * lisp/textmodes/dns-mode.el (dns-mode-font-lock-keywords):
      * lisp/textmodes/flyspell.el (flyspell-debug-signal-word-checked):
      * lisp/textmodes/ispell.el (ispell-process-line):
      * lisp/textmodes/reftex-cite.el (reftex-end-of-bib-entry):
      * lisp/textmodes/reftex-ref.el (reftex-replace-prefix-escapes):
      * lisp/url/url-parse.el (url-generic-parse-url):
      * lisp/url/url-util.el (url-truncate-url-for-viewing):
      * lisp/vc/diff-mode.el (diff-unified->context):
      * lisp/vc/vc-bzr.el (vc-bzr-error-regexp-alist):
      * lisp/vc/vc-cvs.el (vc-cvs-parse-status):
      * lisp/woman.el (woman0-el, woman-if-ignore)
      * lisp/xdg.el (xdg--substitute-home-env):
      Fix regular-expression infelicities and typos.
      Fix regular expression typos
      Fix typos reported by Mattias Engdegård in:
      that occurred in preloaded modules.
      * lisp/frame.el (frame-set-background-mode):
      * lisp/international/mule.el (sgml-html-meta-auto-coding-function):
      * lisp/isearch.el (isearch-pre-command-hook):
      * lisp/minibuffer.el (completion--embedded-envvar-re):
  4. 04 Mar, 2019 10 commits
    • Charles A. Roelli's avatar
      Fix diff-mode tests after renaming diff-font-lock-refine · da16ab03
      Charles A. Roelli authored
      This fixes tests broken in my last change, "Merge
      diff-font-lock-refine and diff-auto-refine-mode into diff-refine" from
      * test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock):
      Bind diff-refine to symbol 'font-lock' instead of binding
      diff-font-lock-refine to t.
      (diff-mode-test-font-lock-syntax-one-line): Bind diff-refine
      to nil instead of binding diff-font-lock-refine to nil.
    • Eli Zaretskii's avatar
      Avoid assertion violations in buf_bytepos_to_charpos · f06405cb
      Eli Zaretskii authored
      * src/marker.c (buf_bytepos_to_charpos): Disable the assertion
      regarding bytepos always at the head byte of a multibyte
    • Eli Zaretskii's avatar
      Fix invocation with -rv on the command line · 6a1dcf59
      Eli Zaretskii authored
      * lisp/frame.el (frame-set-background-mode): Avoid errors from
      'face-spec-match-p' when the face was not yet realized for
      FRAME.  (Bug#34725)
    • NicolasPetton's avatar
    • Martin Rudalics's avatar
      Prevent introducing invalid scroll bar width/height values (Bug#34569) · ad25316b
      Martin Rudalics authored
      * src/frame.c (store_frame_param): Don't store invalid values
      for scroll_bar_width/height.
      (x_report_frame_params): Don't report invalid values for
      (x_set_scroll_bar_width, x_set_scroll_bar_height): Don't set
      invalid values for scroll_bar_width/height.
    • Martin Rudalics's avatar
      Fix minibuffer resizing with temporarily selected frames (Bug#34317) · a810a75a
      Martin Rudalics authored
      * src/keyboard.c (command_loop_1): Resize echo area exactly
      only if the echo area window is the minibuffer window of the
      selected frame (Bug#34317).
      * src/xdisp.c (x_consider_frame_title): Inhibit redisplay also
      when restoring the selected window/frame to avoid that
      resize_mini_window sizes back the minibuffer window of a
      temporarily selected frame (Bug#34317).
    • Paul Eggert's avatar
      * src/alloc.c (gcstat): Now static. · 716ff449
      Paul Eggert authored
    • Paul Eggert's avatar
      * src/gfilenotify.c: Fix indenting. · 96871766
      Paul Eggert authored
    • Paul Eggert's avatar
      * src/font.h: Fix commentary. · 2f86095c
      Paul Eggert authored
    • Paul Eggert's avatar
      Simplify list creation in C code · 5c2563a5
      Paul Eggert authored
      The main new thing here is that C code can now say
      ‘list (a, b, c, d, e, f)’ instead of
      ‘listn (CONSTYPE_HEAP, 6, a, b, c, d, e, f)’,
      thus relieving callers of the responsibility of counting
      arguments (plus, the code feels more like Lisp).  The old
      list1 ... list5 functions remain, as they’re probably a bit
      faster for small lists.
      * src/alloc.c (cons_listn, pure_listn): New functions.
      (listn): Omit enum argument.
      All callers changed to use either new ‘list’ or ‘pure_list’ macros.
      * src/charset.c (Fdefine_charset_internal):
      * src/coding.c (detect_coding_system)
      * src/frame.c (frame_size_history_add, adjust_frame_size):
      * src/gtkutil.c (xg_frame_set_char_size):
      * src/keyboard.c (command_loop_1):
      * src/nsfns.m (frame_geometry):
      * src/widget.c (set_frame_size):
      * src/xfaces.c (Fcolor_distance):
      * src/xfns.c (frame_geometry):
      * src/xterm.c (x_set_window_size_1):
      * src/xwidget.c (Fxwidget_size_request):
      Prefer list1i, list2i, etc. to open-coding them.
      * src/charset.c (Fset_charset_priority):
      * src/nsterm.m (append2):
      * src/window.c (window_list):
      * src/xfaces.c (Fx_list_fonts):
      Use nconc2 instead of open-coding it.
      * src/eval.c (eval_sub, backtrace_frame_apply):
      * src/kqueue.c (kqueue_generate_event):
      * src/nsterm.m (performDragOperation:):
      * src/pdumper.c (Fpdumper_stats):
      * src/w32.c (init_environment):
      Prefer list1, list2, etc. to open-coding them.
      * src/font.c (font_list_entities):
      Parenthesize to avoid expanding new ‘list’ macro.
      * src/gtkutil.c (GETSETUP): Rename from MAKE_FLOAT_PAGE_SETUP
      to get lines to fit.  Move outside the ‘list’ call, since it’s
      now a macro.
      * src/keymap.c (Fmake_keymap): Simplify.
      * src/lisp.h (list, pure_list): New macros.
      (list1i): New function.
  5. 03 Mar, 2019 5 commits
    • Charles A. Roelli's avatar
      Merge diff-font-lock-refine and diff-auto-refine-mode into diff-refine · d6b3e5bb
      Charles A. Roelli authored
      This change was discussed in Bug#32991.
      * admin/gitmerge.el (gitmerge-resolve): Bind 'diff-refine'
      instead of 'diff-auto-refine-mode' to nil.
      * doc/emacs/files.texi (Diff Mode): Explain 'diff-refine'
      instead of 'diff-auto-refine-mode' in the documentation of
      'diff-hunk-next' and 'diff-hunk-prev'.  Mention in the
      documentation of 'diff-refine-hunk' that refining is already
      done by default.
      * etc/NEWS (Diff mode): Explain renamed 'diff-refine' variable
      and mention deprecation and disabling of
      * lisp/vc/diff-mode.el (diff-font-lock-refine): Rename to
      'diff-refine' and allow choices nil, 'font-lock' and 'navigation'.
      (diff-auto-refine-mode): Disable it by default, make it
      obsolete and make it set 'diff-refine' appropriately to keep
      backward compatibility.
      (diff-hunk-next, diff-hunk-prev): Adapt to rename of
      diff-auto-refine-mode and ensure that refining only happens
      when calling these commands interactively.
      (diff--font-lock-refined): Adapt to rename of
      * lisp/vc/smerge-mode.el (smerge-next, smerge-prev): Check
      that 'diff-refine' is set instead of checking
      'diff-auto-refine-mode' when deciding whether to refine a
    • Alan Mackenzie's avatar
      Correct some slightly incorrect regular expressions: · 81ae2179
      Alan Mackenzie authored
      * lisp/progmodes/cc-awk.el (c-awk-harmless-char-re)
      (c-awk-harmless-line-char-re, c-awk-_-harmless-nonws-char-re): [...\\\\...]
      -> [...\\...].
      * lisp/progmodes/cc-engine.el (c-literal-limits): "*/" -> "\\*/".
      * lisp/progmodes/cc-mode.el (c-after-change-re-mark-unbalanced-strings):
      "\\\r" -> "\r".
    • Eli Zaretskii's avatar
      Fix starting temacs interactively · db3b3b35
      Eli Zaretskii authored
      * src/dispnew.c (init_display_interactive): Don't call
      init_faces_initial if we aren't initialized, since
      tty-set-up-initial-frame-faces is not available then.  This
      restores the ability to start "temacs -nw" and also avoids
      bad crashes in "emacs -nw" if the pdumper file is not found.
    • Paul Eggert's avatar
      Fix typo in previous change · 8a64107f
      Paul Eggert authored
      * src/alloc.c (memory_full_cons_threshold):
      Move to after definition of struct cons_block.
      Problem reported by Basil L. Contovounesios in:
    • Glenn Morris's avatar
      * test/lisp/progmodes/python-tests.el · 5e841bc9
      Glenn Morris authored
      (python-syntax-after-python-backspace): Expect success.