- 16 Mar, 2019 4 commits
-
-
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.
-
Eli Zaretskii authored
* lisp/international/mule-cmds.el (locale-language-names): Add more locales and their language environments. (set-locale-environment): Use w32-multibyte-code-page, if non-zero, as locale-coding-system. (Bug#34684) * src/w32fns.c (globals_of_w32fns) <w32-multibyte-code-page>: New variable. * etc/NEWS: Mention w32-multibyte-code-page.
-
Paul Eggert authored
* lisp/progmodes/flymake.el (flymake--schedule-timer-maybe): Revert to using seconds-to-time, since this file is part of ELPA and needs to work on Emacs 26 too.
-
Paul Eggert authored
* src/menu.c (menu_items_inuse): Now bool, instead of a Lisp_Object that is always Qt or Qnil. All uses changed.
-
- 15 Mar, 2019 5 commits
-
-
Philippe Vaucher authored
This allows the user to customize the sorting indicators displayed near the current column. * lisp/emacs-lisp/tabulated-list.el (tabulated-list): New group. (tabulated-list-gui-sort-indicator-asc) (tabulated-list-gui-sort-indicator-desc) (tabulated-list-tty-sort-indicator-asc) (tabulated-list-tty-sort-indicator-desc): New defcustomd. (tabulated-list-glyphless-char-display): Remove. (tabulated-list-make-glyphless-char-display-table): New function. * doc/lispref/modes.texi (Tabulated List Mode): Add documentation for new options. * etc/NEWS: Mention the new options.
-
Eli Zaretskii authored
-
Wojciech Gac authored
-
Wojciech Gac authored
-
Wojciech Gac authored
-
- 13 Mar, 2019 9 commits
-
-
Stefan Monnier authored
-
Basil L. Contovounesios authored
This was introduced in 662bee7d 2018-09-24T01:30:46Z!eggert@cs.ucla.edu. * doc/lispref/files.texi (File Attributes): Fix typo referring to wrong file attribute accessor.
-
Glenn Morris authored
(python-syntax-after-python-backspace): Expect failure again. ; since 5feaf906
-
Stefan Monnier authored
(easy-mmode-define-navigation): Don't scroll in the opposite direction of the movement.
-
Stefan Monnier authored
-
Stefan Monnier authored
The previous code worked earlier because of a bug in `rx` (which used `regexp-opt` without passing it to `keep-order` argument), but now that `rx` has been fixed the underlying bug here reared its ugly head.
-
Eli Zaretskii authored
* lisp/url/url-http.el (url-http-debug): * lisp/url/url-util.el (url-debug): Don't signal an error if quit-flag is non-nil, but not t. This could happen because some unrelated code is running inside while-no-input. (Bug#34763)
-
Stefan Monnier authored
-
Ahmed Khanzada authored
Copyright-paperwork-exempt: yes Use flag "t" to get remaining time, and adjust to different output order.
-
- 12 Mar, 2019 4 commits
-
-
Christopher Wellons authored
Copyright-paperwork-exempt: yes (hashcash-generate-payment-async): η-reduce. (hashcash-insert-payment-async): Use proper closure.
-
Michael Albinus authored
Use proper range when deleting the region.
-
Alan Mackenzie authored
while preserving the indentation of nested C++ uniform initialization. * lisp/progmodes/cc-align.el (c-lineup-2nd-brace-entry-in-arglist) (c-lineup-class-decl-init-+, c-lineup-class-decl-init-after-brace): New indentation functions. * lisp/progmodes/cc-engine.el (c-forward-class-decl): New function. (c-do-declarators): New function, partially extracted from c-font-lock-declarators, which now calls the new function. (c-inside-bracelist-p): Amend the introductory comment. (c-add-stmt-syntax): Add code to prevent the spurious recognition of a 'defun-block-intro when a brace pair is used as an initializer. (c-evaluate-offset): No longer ignore vectors of length >= 2. (c-calc-offset): Refactor clumsily nested `if'/`or' into a cond form. * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Replace the bulk of this function by a call to the new c-forward-class-decl. * lisp/progmodes/cc-langs.el (c-type-decl-prefix-key): Recognize "~" as a type decl operator. * lisp/progmodes/cc-mode.el (c-fl-decl-start): While searching backward for a "}" at an EOD, deal with actually finding the end of a brace list. * doc/misc/cc-mode.texi (List Line-Up): document c-lineup-2nd-brace-entry-in-arglist, c-lineup-class-decl-init-+, and c-lineup-class-decl-init-after-brace. * lisp/progmodes/cc-styles.el (c-style-alist): In styles "gnu", "bsd", "stroustrup", "python", and "java", change the offset for brace-list-intro from the default value or c-lineup-arglist-intro-after-paren to a list beginning with the symbol first, followed by two of the new alignment functions, followed by +. * lisp/progmodes/cc-vars.el (c-offset-alist): Change the default value of brace-list-entry from c-lineup-under-anchor back to 0.
-
Martin Rudalics authored
* lisp/comint.el (comint-output-filter): Revert last tweak because it can hang gdb indefinitely.
-
- 11 Mar, 2019 11 commits
-
-
Paul Eggert authored
* src/pdumper.c, src/pdumper.h: Reindent.
-
Eli Zaretskii authored
* src/xdisp.c (highlight_trailing_whitespace): Allow for stretch glyphs at the left edge of R2L lines, when skipping glyphs inserted by the display engine. This unbreaks show-trailing-whitespace in R2L lines.
-
Paul Eggert authored
* src/pdumper.c (dump_mmap_reset): Free the private area here ... (dump_mm_heap_cb_release): ... instead of here. (dump_mmap_release_heap): Simplify by avoiding a local. (dump_mmap_contiguous): Reindent GNU style.
-
Martin Rudalics authored
* src/frame.c (resize_mini_frames): New variable. * src/window.c (resize_mini_window_apply): New function. (grow_mini_window, shrink_mini_window): Remove PIXELWISE argument. Call resize_mini_window_apply to apply changes. (Fresize_mini_window_internal): Call resize_mini_window_apply to apply changes. (Qwindow__resize_mini_frame): New symbol. * src/window.h (grow_mini_window, shrink_mini_window): Adjust external declarations. * src/xdisp.c (resize_mini_window): For minibuffer-only frames call 'window--resize-mini-frame' if resize_mini_frames is non-nil. Offload parts of logic to grow_mini_window and shrink_mini_window which are now called without the PIXELWISE argument. (Vresize_mini_windows): Mention 'resize-mini-frames' in doc-string. * lisp/cus-start.el (resize-mini-frames): Add customization support. * lisp/window.el (window--resize-mini-window): Simplify code. (window--resize-mini-frame): New function. * doc/lispref/minibuf.texi (Minibuffer Windows): Describe new option 'resize-mini-frames'. * etc/NEWS: Mention new option 'resize-mini-frames'.
-
Paul Eggert authored
-
Paul Eggert authored
* etc/NEWS: * src/editfns.c (Fformat, binary_as_unsigned): Update now that we always have bignums. (syms_of_editfns) [!defined lisp_h_FIXNUMP]: Remove now-obsolete code, since lisp_h_FIXNUMP is always defined now. * test/src/editfns-tests.el (read-large-integer): Simplify, now that we can assume binary-as-unsigned defaults to nil.
-
Paul Eggert authored
Problems reported by Mattias Engdegård in: https://lists.gnu.org/r/emacs-devel/2019-03/msg00247.html * lisp/align.el (align-rules-list): * lisp/comint.el (comint-output-filter): * lisp/language/china-util.el (encode-hz-region): * lisp/progmodes/cperl-mode.el (cperl-indent-exp): * lisp/progmodes/idlwave.el (idlwave-is-pointer-dereference): * lisp/progmodes/scheme.el (dsssl-font-lock-keywords): * lisp/textmodes/texinfmt.el (texinfo-accent-commands): * test/src/regex-emacs-tests.el (regex-tests-re-even-escapes): Fix some regular-expression typos.
-
Paul Eggert authored
This incorporates: 2019-03-10 alloca-opt: Fix conflict mingw's new <alloca.h> file 2019-03-03 getloadavg: Write NULL for the null pointer Reported by Michal Privoznik <mprivozn@redhat.com>. * lib/getloadavg.c (getloadavg): Write NULL instead of 0. * build-aux/config.guess, build-aux/move-if-change: * doc/misc/texinfo.tex, lib/alloca.in.h, lib/getloadavg.c: * m4/alloca.m4: Copy from Gnulib. * lib/gnulib.mk.in: Regenerate.
-
Glenn Morris authored
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-add-log-current-method): Recognize method names ending with ? or !.
-
Dmitry Gutov authored
* lisp/progmodes/project.el (project--find-regexp-in-files): Use 'grep -E' because we convert the regexp to extended already.
-
- 10 Mar, 2019 3 commits
-
-
Michael Albinus authored
* lisp/net/tramp-adb.el (tramp-methods) <adb>: Add `tramp-remote-shell' and `tramp-remote-shell-args'. (tramp-adb-file-name-handler-alist): Use `tramp-handle-shell-command' rather than `tramp-adb-handle-shell-command'. (tramp-adb-handle-shell-command): Remove. (tramp-adb-handle-make-process): Use a proper prompt. (tramp-adb-wait-for-output): Simplify.
-
Ken Brown authored
* src/atimer.c [HAVE_TIMERFD] (have_buggy_timerfd): New function. (init_atimer) Use it.
-
Stefan Monnier authored
(speedbar-directory-buttons-follow): Use file-name-as-directory. (speedbar-ignored-directory-expressions) (speedbar-supported-extension-expressions): Use `sym` in the setter. (speedbar-frame-mode): Use with-current-buffer. (speedbar-item-info-tag-helper): Use 'cond'. (speedbar-highlight-one-tag-line): Don't use position beyond EOB.
-
- 09 Mar, 2019 4 commits
-
-
Tassilo Horn authored
* lisp/doc-view.el (doc-view--text-view-mode): New alias for view-mode. (doc-view-open-text): Use it. (doc-view-toggle-display): Use it.
-
Christopher Wellons authored
Copyright-paperwork-exempt: yes * lisp/emulation/viper-init.el (viper-ViperBell): New constant. * lisp/emulation/viper-cmd.el (viper-prefix-arg-com) (viper-forward-char, viper-backward-char, viper-goto-col) (viper-find-char, viper-paren-match, viper-put-back, viper-Put-back) (viper-delete-char, viper-mark-point, viper-goto-mark-subr): * lisp/emulation/viper-ex.el (ex-delete): Use it and `user-error`.
-
Tassilo Horn authored
* lisp/gnus/mm-decode.el (mm-display-external): Name buffer showing the attachment according to the attachment's filename, i.e. "*mm* <filename>" instead of " *mm*12345".
-
Ken Brown authored
* configure.ac (emacs_cv_have_timerfd): No longer set this to "no" on Cygwin. (Bug#34618)
-