- 24 Apr, 2019 4 commits
-
-
Mark Oteiza authored
* lisp/obsolete/ws-mode.el: Turn on lexical-binding. Update commentary. (wordstar): New custom group. (wordstar-mode-lighter): New custom variable. (wordstar-mode): Declare with define-minor-mode. (turn-on-wordstar-mode): New function. (global-wordstar-mode): New function. Use previous new function.
-
Dmitry Gutov authored
* lisp/progmodes/project.el (project--find-regexp-in-files): Add an explicit '-e' before the pattern. Fixing the ability to search for '--'. Reported by Juri Linkov <juri@linkov.net>.
-
Juri Linkov authored
Remember action and delete it from display-buffer-overriding-action afterwards
-
Eli Zaretskii authored
* lisp/emacs-lisp/timer.el (timer-event-handler): Fix the comparison between next invocation time and current time.
-
- 23 Apr, 2019 3 commits
-
-
Stefan Monnier authored
Enable lexical-binding. (cl-print-compiled, cl-print-compiled-button): Declare. (timer-list-mode): Add spacing to align the header.
-
Mattias Engdegård authored
* lisp/autorevert.el (auto-revert-notify-watch-descriptor-hash-list): Rename to auto-revert--buffers-by-watch-descriptor. Improved doc string. (auto-revert-notify-rm-watch, auto-revert-notify-add-watch, auto-revert-notify-handler): Use new name.
-
Alan Mackenzie authored
* lisp/progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare) (c-font-lock-objc-methods) (c-font-lock-declarations, c-font-lock-enum-tail) (c-font-lock-cut-off-declarators, c-font-lock-enclosing-decls): If the chunk been fontified consists entirely of comments and strings, don't attempt to perform the function's action. * lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): Don't expand (c-new-BEG c-new-END) unnecessarily to the entire raw string being fontified. (c-fl-decl-start, c-fl-decl-end): When in a (raw or otherwise) string, don't return a position outside of the string (which used to cause unneeded fontification).
-
- 22 Apr, 2019 4 commits
-
-
Mattias Engdegård authored
* lisp/autorevert.el (auto-revert-notify-handler): When getting a `stopped' event, deal with it for the buffers it applies to, rather than for all buffers in auto-revert mode.
-
Mattias Engdegård authored
-
Mattias Engdegård authored
This reverts commit e9e807e9, which is no longer necessary as `file-notify-rm-watch' has been made robust against reentry.
-
Mattias Engdegård authored
Allow file-notify callbacks to call `file-notify-rm-watch', harmlessly, after receiving a `stopped' event without triggering recursion. * lisp/filenotify.el (file-notify--watch): Note that `callback' can be nil. (file-notify--rm-descriptor): Set the `callback' field to nil before sending `stopped'. (file-notify-rm-watch): Don't do anything if the `callback' field is nil.
-
- 21 Apr, 2019 5 commits
-
-
Basil L. Contovounesios authored
* lisp/emacs-lisp/unsafep.el: Move side-effect-free property setting from here... * lisp/subr.el: ...to here, as function declarations for modularity.
-
Mauro Aranda authored
* lisp/info.el (Info-mode-font-lock-keywords): Modify the regexp, for matching single quotes of opening single quote and closing single quote, and avoid matching text followed by a curly quote when it is not quoting. (Bug#35202)
-
Michael R. Mauger authored
(sql-product-alist): Added :prompt-cont-regexp for ms. Looking for experience with Microsofts SQLCMD interpreter and adjustments needed for Emacs to support it.
-
Michael R. Mauger authored
(sql-interactive-remove-continuation-prompt): Properly protect `sql-prompt-cont-regexp'. (sql-interactive-mode): Same.
-
Michael R. Mauger authored
(sql-product-alist): Corrected :terminator defns. (sql-debug-send): New variable. (sql-send-string): Use it and correct buffer context. (sql-send-magic-terminator): Use `sql-input-sender'. (sql-placeholders-filter): Bug#11481 Don't recursively replace placeholders * test/lisp/progmodes/sql-tests.el (sql-test-placeholder-filter): Test placeholder functionality.
-
- 20 Apr, 2019 8 commits
-
-
Dmitry Gutov authored
* lisp/vc/log-edit.el (log-edit--toggle-amend): Extract from vc-git-log-edit-toggle-amend (bug#34944). * lisp/vc/vc-hg.el (vc-hg-log-edit-toggle-amend): New function. Use the aforementioned. (vc-hg-log-edit-mode-map): New variable. (vc-hg-log-edit-mode): New major mode.
-
Glenn Morris authored
* lisp/progmodes/cc-mode.el (c-submit-bug-report): Add a Package: line for mail clients that do not support X- headers.
-
Alan Mackenzie authored
* lisp/progmodes/cc-engine.el (c-forward-sws, c-backward-sws): Recognize matches of c-doc-line-join-re as syntactic whitespace. (c-find-decl-prefix-search): Recognize and move over matches of c-doc-line-join-re as whitespace. (c-find-decl-spots): Before moving backward a char, check (bobp). Before moving forward over a comment, check it isn't possibly a "bright" comment. * lisp/progmodes/cc-fonts.el (c-get-doc-comment-style): New function, extracted from c-compose-keywords-list. (c-compose-keywords-list): Call the above new function. (pike-font-lock-keywords, pike-font-lock-keywords-2) (pike-font-lock-keywords-3): Call c-set-doc-comment-res. (c-doc-line-join-re, c-doc-bright-comment-start-re, c-doc-line-join-end-ch): New variables. (c-set-doc-comment-re-element, c-set-doc-comment-char-list): New macros. (c-set-doc-comment-res): New function. (c-font-lock-doc-comments): For consistency and repeatability, in a sequence of C++ style doc comments, don't fontify the region between BOL and the comment marker. (autodoc-line-join-re, autodoc-bright-comment-start-re) (autodoc-line-join-end-ch): New variables. * lisp/progmodes/cc-mode.el (c-doc-fl-decl-start, c-doc-fl-decl-end): New functions. (c-change-expand-fl-region, c-context-expand-fl-region): Call the above two new functions for extra possibilities for the start and end of a construct. * doc/misc/cc-mode.texi (Doc Comments): Add a sentence drawing attention to the possibility of fontifying constructs within a doc comment.
-
Stefan Monnier authored
Make it so the comment-continue is aligned with the comment-start when comment-start is a single-char.
-
Stefan Monnier authored
-
Stefan Monnier authored
-
Stefan Monnier authored
-
Stefan Monnier authored
-
- 19 Apr, 2019 12 commits
-
-
Mattias Engdegård authored
* lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings) (c-after-change-mark-abnormal-strings): Remove `\r' subsumed by `.'.
-
Noam Postavsky authored
* lisp/image-file.el (insert-image-file): Document return value.
-
Braun Gábor authored
* lisp/emulation/cua-base.el (cua-toggle-rectangle-mark): Autoload it. Library cua-base.el binds cua-toggle-rectangle-mark to a key in the :set function in (defcustom cua-rectangle-mark-key ...), so it should ensure that the command is defined. Copyright-paperwork-exempt: yes
-
Noam Postavsky authored
* lisp/eshell/esh-proc.el (eshell-needs-pipe): Add "xclip" and other programs that xclip.el (in GNU ELPA) calls with `process-connection-type' bound to nil.
-
Eric Abrahamsen authored
* lisp/gnus/gnus-start.el (gnus-make-hashtable-from-newsrc-alist): This routine also happens when re-sorting groups; make sure we're clearing the group list.
-
Philipp Stephani authored
See Bug#31676. * lisp/emacs-lisp/byte-run.el (byte-run--unescaped-character-literals-warning): New defun. * src/lread.c (load_warn_unescaped_character_literals): Use new defun. (syms_of_lread): Define symbol for new defun. * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Use new defun. * test/src/lread-tests.el (lread-tests--unescaped-char-literals): test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--unescaped-char-literals): Adapt unit tests.
-
Eric Abrahamsen authored
* lisp/gnus/gnus-group.el (gnus-group-goto-group): Just look for the string.
-
Paul Eggert authored
Problems reported by Mattias Engdegård in: https://lists.gnu.org/r/emacs-devel/2019-04/msg00803.html * lisp/arc-mode.el (archive-rar-summarize): * lisp/eshell/em-hist.el (eshell-hist-word-designator): * lisp/info.el (Info-dir-remove-duplicates): * lisp/international/ja-dic-cnv.el (skkdic-convert-postfix) (skkdic-convert-prefix, skkdic-collect-okuri-nasi): * lisp/progmodes/cc-awk.el (c-awk-esc-pair-re): * lisp/xml.el (xml-att-type-re): Omit regexp branches that subsume other branches. * lisp/progmodes/cperl-mode.el (cperl-beautify-regexp-piece): $ and ^ aren’t simple-codes.
-
Paul Eggert authored
Problem reported by Mattias Engdegård in: https://lists.gnu.org/r/emacs-devel/2019-04/msg00543.html * lisp/mail/mail-extr.el (mail-extr-telephone-extension-pattern): Escape the trailing optional period after an abbreviation.
-
Michael Albinus authored
matching an empty string.
-
Michael Albinus authored
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Do not handle :stop anymore.
-
Philipp Stephani authored
This provides an alternative to 'ido-max-directory-size', for directories that are statically known to be too big for Ido completion. * lisp/ido.el (ido-big-directories): New user option. (ido-directory-too-big-p): Use it. * test/lisp/ido-tests.el (ido-directory-too-big-p): New unit test.
-
- 18 Apr, 2019 2 commits
-
-
Eric Abrahamsen authored
* lisp/gnus/gnus-start.el (gnus-active-to-gnus-format): Names that were strings to begin with should already be properly encoded.
-
Basil L. Contovounesios authored
* lisp/image.el (image--set-property): Ensure new value is set even in the unlikely case that the plist is empty. Fix off-by-one-link error when deleting a property. (bug#35285) * test/lisp/image-tests.el: New file. (image--set-property): New test.
-
- 17 Apr, 2019 2 commits
-
-
Michael Albinus authored
* lisp/files.el (executable-find): Quote default-directory. (Bug#35241) * test/lisp/files-tests.el (files-tests-executable-find): New test.
-
Andrii Kolomoiets authored
* lisp/progmodes/python.el (python-shell-prompt-block-regexp): Match also IPython's multiline prompt. It allows to correctly disable non-native completions during multiline statement in inferior-python-mode that runs IPython interpreter (Bug#34582). Copyright-paperwork-exempt: yes
-