aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | ; Merge from emacs-26Noam Postavsky2019-06-250-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | The following commit was skipped: bea31a3794 Backport: Fix typo in regexp-opt example code
| * | Backport: Fix typo in regexp-opt example codeMattias EngdegÄrd2019-06-161-2/+2
| | | | | | | | | | | | | | | * doc/lispref/searching.texi (Regexp Functions): Fix typo in example code (Bug#34596).
* | | Merge from emacs-26Noam Postavsky2019-06-251-7/+1
|\ \ \ | |/ / | | | | | | 2b765c650a Remove outdated comment in winner.el (Bug#36185)
| * | Remove outdated comment in winner.el (Bug#36185)Stefan Kangas2019-06-151-7/+1
| | | | | | | | | | | | * lisp/winner.el: Remove outdated comment.
* | | ; Merge from emacs-26Noam Postavsky2019-06-250-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | The following commit was skipped: f87a9e359e Fix accidential change in tramp-tests; do not merge with m...
| * | Fix accidential change in tramp-tests; do not merge with masterMichael Albinus2019-06-152-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/trampver.el: Change version to "2.3.5.26.3". (customize-package-emacs-version-alist): Add Tramp version integrated in Emacs 26.3. * test/lisp/net/tramp-tests.el (tramp-test42-auto-load): Add skip for w32.
* | | Don't bind search-spaces-regexp around possible autoload (Bug#35802)Noam Postavsky2019-06-255-29/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-search-fun-default): Move possible autoload trigger outside let-binding of search-spaces-regexp. * lisp/char-fold.el (char-fold-make-table): Remove no longer needed workaround. * lisp/info.el (Info-search-whitespace-regexp): * lisp/isearch.el (search-whitespace-regexp): * src/search.c (syms_of_search) <search-spaces-regexp>: Add warning about adding capturing groups to the value. * test/lisp/char-fold-tests.el: Remove, binding search-spaces-regexp to a different should be considered a bug.
* | | Support (rx (and (regexp EXPR) (literal EXPR))) (Bug#36237)Noam Postavsky2019-06-253-88/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/rx.el (rx-regexp): Allow non-string forms. (rx-constituents): Add literal constituent, which is like a plain STRING form, but allows arbitrary lisp expressions. (rx-literal): New function. (rx-compile-to-lisp): New variable. (rx--subforms): New helper function for handling subforms, including non-constant case. (rx-group-if, rx-and, rx-or, rx-=, rx->=, rx-repeat, rx-submatch) (rx-submatch-n, rx-kleene, rx-atomic-p): Use it to handle non-constant subforms. (rx): Document new form, wrap non-constant forms with concat call. * test/lisp/emacs-lisp/rx-tests.el (rx-tests--match): New macro. (rx-nonstring-expr, rx-nonstring-expr-non-greedy): New tests. * etc/NEWS: Announce changes.
* | | Fix PATH_MAX change to lib-src/emacsclient.cJuanma Barranquero2019-06-261-0/+1
| | | | | | | | | | | | * lib-src/emacsclient.c (get_current_dir_name): Declare pwdlen.
* | | Fix previous patch to dired-mark-ifLars Ingebrigtsen2019-06-261-1/+1
| | | | | | | | | | | | | | | * lisp/dired.el (dired-mark-if): Don't use looking-at to check for characters.
* | | Prefer PATH_MAX to MAXPATHLENPaul Eggert2019-06-255-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PATH_MAX is standardized, MAXPATHLEN is not. Also, the Gnulib pathmax module fixes some rare bugs with PATH_MAX. So prefer PATH_MAX to MAXPATHLEN unless we know the latter is also correct (for some platform-specific code). * admin/merge-gnulib (GNULIB_MODULES): Add pathmax. This module was already present, as a dependency of canonicalize-lgpl, but now Emacs is using it directly. Sort. * lib-src/emacsclient.c: Include stdint.h, pathmax.h. (get_current_dir_name): Sync to current src/sysdep.c. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * src/sysdep.c: Include pathmax.h. (get_current_dir_name_or_unreachable): Use PATH_MAX instead of MAXPATHLEN.
* | | View-search-... now hit all the matches, regardless of window positionDima Kogan2019-06-261-1/+1
| | | | | | | | | | | | | | | | | | * lisp/view.el (view-search): Jump to the next/prev occurrence of the search, even if it's displayed in the buffer (bug#18131). This seems more logical than the previous (undocumented) behaviour.
* | | Avoid some strlen work, primarily via strnlenPaul Eggert2019-06-2520-127/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/merge-gnulib (GNULIB_MODULES): Add strnlen. * lib-src/etags.c (find_entries): * src/emacs.c (main): * src/nsmenu.m (parseKeyEquiv:): * src/nsterm.m (ns_xlfd_to_fontname): * src/term.c (vfatal): Prefer !*X to !strlen (X). * lib-src/etags.c (pfnote, add_regex): * lib-src/pop.c (pop_open): * lib-src/update-game-score.c (main): * lwlib/lwlib.c (lw_separator_p): * src/doprnt.c (doprnt): * src/emacs.c (main): * src/inotify.c (inotifyevent_to_event): * src/keyboard.c (menu_separator_name_p, parse_tool_bar_item): * src/sysdep.c (get_current_dir_name_or_unreachable): * src/xdisp.c (store_mode_line_string): Use strnlen to avoid unnecessary work with strlen. * lib-src/etags.c (Prolog_functions, prolog_pr) (Erlang_functions, erlang_func): Prefer ptrdiff_t to size_t when either will do. (prolog_pr, erlang_func): New arg LASTLEN, to avoid unnecessary strlen call. All callers changed. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * lib/strnlen.c, m4/strnlen.m4: New files, copied from Gnulib. * lwlib/lwlib.c (lw_separator_p): * src/json.c (json_has_prefix): Use strncmp to avoid unecessary work with strlen + memcmp. * src/process.c (set_socket_option): Use SBYTES instead of strlen.
* | | Support opening a new connection when reverting a telnet bufferEmilio C. Lopes2019-06-252-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * net/telnet.el (telnet-connect-command): New variable. (telnet-revert-buffer): New function. (telnet-mode): Use `telnet-revert-buffer' as `revert-buffer-function'. (telnet, rsh): Set `telnet-connect-command' accordingly (bug#18312). Copyright-paperwork-exempt: yes
* | | Suppress warning about unix-sync in nnmaildir.elArash Esbati2019-06-251-1/+2
| | | | | | | | | | | | | | | * nnmaildir.el (nnmaildir-request-replace-article): Check if the function `unix-sync' is bound before running it.
* | | Check labels in smerge-modeIvan Shmakov2019-06-252-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/diff.el (diff-check-labels): Separated out into its own function (bug#18850)... (diff-no-select): ... from here. * lisp/vc/smerge-mode.el (smerge-diff): Use diff-check-labels.
* | | Avoid using subr-x.el function in files.elBasil L. Contovounesios2019-06-251-1/+1
| | | | | | | | | | | | | | | | | | * lisp/files.el (file-size-human-readable): Open code string-empty-p call. This was the single occurrence of a subr-x.el function in files.el, which does not (yet) load subr-x.el.
* | | * lisp/emacs-lisp/cl-extra.el (cl-isqrt): Speed up bignum caseStefan Monnier2019-06-251-3/+2
| | |
* | | Highlight zsh glob flags and qualifiers in sh-modeJonathan Shin Hayase2019-06-251-1/+7
| | | | | | | | | | | | | | | | | | * lisp/progmode/sh-script.el (sh-syntax-propertize-function): Add regexps to highlight zsh glob flags and alternate qualifiers without mistaking them for comments. (bug#19455).
* | | Build fix for previous buffers.texi changeLars Ingebrigtsen2019-06-251-4/+4
| | |
* | | * etc/NEWS: Fix vocabulary in last changeStefan Monnier2019-06-251-2/+2
| | |
* | | * lisp/tar-mode.el: Use lexical-binding; remove redundant :groups.Stefan Monnier2019-06-251-18/+14
| | | | | | | | | | | | (tar-new-entry): Remove unused var `buffer`.
* | | Move widen/narrow in tabulated lists to } and {Lars Ingebrigtsen2019-06-252-7/+7
| | | | | | | | | | | | | | | | | | | | | * doc/emacs/buffers.texi (Several Buffers): Document it. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode-map): Move widen/narrow to `}' and `{'.
* | | * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.Glenn Morris2019-06-251-0/+1
| | | | | | | | | | | | Another unstable test.
* | | * lisp/net/tramp.el (tramp-file-name-handler): Use autoload-do-loadStefan Monnier2019-06-251-1/+5
| | |
* | | Heed default directory in tar-untar-bufferIvan Shmakov2019-06-251-18/+23
| | | | | | | | | | | | | | | * lisp/tar-mode.el (tar-untar-buffer): Fix use the value of default-directory local to the tar-mode buffer (bug#19865).
* | | etags: Fix handling of quoted symbol names in ErlangDavid Hull2019-06-251-8/+32
| | | | | | | | | | | | | | | * lib-src/etags.c (erlang_attribute): Fix handling of quoted symbol names in Erlang (bug#24960).
* | | ; * etc/NEWS: Fix an entry from recent commit.Eli Zaretskii2019-06-251-1/+4
| | |
* | | Update from GnulibPaul Eggert2019-06-252-10/+9
| | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-06-24 unistd: stddef.h and sys/types.h namespace cleanup * lib/gnulib.mk.in: Regenerate. * lib/unistd.in.h: Copy from gnulib.
* | | * lisp/info.el (info-emphasis): Fix doc, version.Glenn Morris2019-06-251-2/+2
| | |
* | | Preserve header lines from derived modes in tabulated listsVaidheeswaran C2019-06-251-2/+7
| | | | | | | | | | | | | | | * lisp/emacs-lisp/tabulated-list.el (tabulated-list-init-header): Preserve header line set by derived modes (bug#21025).
* | | Make dired commands report how many files they markDrew Adams2019-06-252-7/+10
| | | | | | | | | | | | | | | * lisp/dired.el (dired-mark-if): Report the number of files marked when called, not the total number of marked files (bug#22457).
* | | * lisp/simple.el (forward-visible-line, end-of-visible-line): Use invisible-pStefan Monnier2019-06-251-32/+7
| | |
* | | Add a new command to report the number and size of the marked filesLars Ingebrigtsen2019-06-253-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2019-06-25 Constantino Calancha <f92capac@gmail.com> * lisp/dired.el (dired-mode-map): New keystroke and menu binding (bug#22829). 2019-06-25 Lars Ingebrigtsen <larsi@gnus.org> * doc/emacs/dired.texi (Marks vs Flags): Document it. * lisp/dired.el (dired-number-of-marked-files): New command.
* | | Fix `goto-address-url-regexp'Phil Sainty2019-06-252-16/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/goto-addr.el (goto-address-uri-schemes-ignored): New variable. (goto-address-uri-schemes): Ditto. (goto-address-url-regexp): Use them to compose the final regexp. * lisp/net/goto-addr.el: The URI schemes to be recognised by `goto-address-mode' were not regexp-quoted (Bug#23343).
* | | Make winner restore point in all windows that display a bufferTino Calancha2019-06-252-2/+50
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (window--before-delete-windows): New defun. (delete-window, delete-other-windows): Use it. * lisp/winner.el (winner-set): Use marker in 'window-prev-buffers' when available and different than the value returned by 'winner-get-point' (bug#23621).
* | | Use xref in cedetBastian Beischer2019-06-254-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/complete.el (semantic-complete-jump-local) * lisp/cedet/semantic/analyze/refs.el (semantic-analyze-proto-impl-toggle): Use xref to handle jumping (bug#23793). Copyright-paperwork-exempt: yes
* | | Fontify _emphasis_ in info nodesDrew Adams2019-06-251-0/+17
| | | | | | | | | | | | | | | * lisp/info.el (Info-fontify-node): Fontify _emphasis_ (bug#23798). (info-emphasis): New face.
* | | Unlispify even more in custom-unlispify-menu-entryRobert Weiner2019-06-251-1/+5
| | | | | | | | | | | | | | | | | | * lisp/cus-edit.el (custom-unlispify-menu-entry): Also allow : and / as separators in symbols when making the symbols look more human-readable (bug#23986).
* | | [PATCH 1/1] Pass frame-parameters to server-create-tty-frameMichael Shields2019-06-251-2/+3
| | | | | | | | | | | | | | | * lisp/server.el: Pass frame-parameters when creating frames, even on a tty (bug#24147).
* | | Fix recent tex-mode safe-local-variable changesBasil L. Contovounesios2019-06-251-4/+4
| | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/tex-mode.el (tex-verbatim-environments): Replace (delq t ...) with more usual (memq nil ...). (latex-noindent-environments, latex-noindent-commands): Fix typos and thinkos in safe-local-variable logic.
* | | Don't delete macuvs.h in extracleanLars Ingebrigtsen2019-06-251-3/+6
| | | | | | | | | | | | | | | | | | * admin/unidata/Makefile.in (extraclean): Don't delete macuvs.h, because it's a checked-in file, and make targets altering checked-in files is confusing.
* | | Make xref-show-xrefs-function a defcustomFritz Stelzer2019-06-251-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-show-xrefs-function): Make into a defcustome (bug#29206). * lisp/progmodes/xref.el (xref-show-definitions-function): Ditto. Copyright-paperwork-exempt: yes
* | | Add imenu support to package-menu-modeAntoine Beaupré2019-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-grep-template): Include <C> in template to be more consistent with lgrep/rgrep (bug#35326). This will introduce the --color and -i flags to the "git grep" command. Copyright-paperwork-exempt: yes
* | | Fix documentation of inhibit-modification-hooks in overlays + text propertiesAlan Mackenzie2019-06-252-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #25111. * doc/lispref/display.text (Overlay Properties): For the hook property modification-hooks, state that inhibit-modification-hooks is bound to non-nil when calling its functions. This also applies to insert-in-front-hooks and insert-behind-hooks, which refer to modification-hooks. * doc/lispref/text.texi (Special Properties): For the hook property modification-hooks, state that inhibit-modification-hooks is NOT bound to non-nil when calling its functions. For the hooks insert-in-fron-hooks and insert-behind-hooks, state that that variable does get bound to non-nil.
* | | Add imenu support to package-menu-modeHong Xu2019-06-251-1/+1
| | | | | | | | | | | | | | | | | | * gnus-cite.el (gnus-message-citation-mode): Fontify if the major mode is derived from message-mode (not necessarily equal to message-mode) (bug#25124).
* | | Add imenu support to package-menu-modeDamien Cassou2019-06-252-1/+26
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-list/package.el (package--imenu-prev-index-position-function package--imenu-extract-index-name-function): Add Imenu functions to package-menu-mode (bug#27134).
* | | * lisp/textmodes/tex-mode.el (latex-noindent-commands): New custom varStefan Monnier2019-06-243-5/+30
| | | | | | | | | | | | | | | (latex-find-indent): Obey it. (latex-noindent-environments): Make it into a defcustom as well.
* | | Make message_to_stderr do one single fwriteLars Ingebrigtsen2019-06-251-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (message_to_stderr): When running as a batch process, the output from `message' goes to stderr, and has a newline appended. Rewrite the code so that only one fwrite is performed to enable messages that are shorter than PIPE_BUF (usually 4096 on modern operating systems) are written out as one chunk, as this will ensure that the messages are not interleaved with messages from other processes that are writing at the same time. This does not affect other stderr outputs, just the ones from `message'.
* | | Add example for enabling minor modes in .dir-local.elKaushal Modi2019-06-251-8/+12
| | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Directory Variables): Add an example that shows how a minor mode can be enabled in a .dir-local.el (Bug#27639). Clarify that indent-tabs-mode is not a minor mode.