- 25 Jun, 2019 36 commits
-
-
Lars Ingebrigtsen authored
* lisp/dired.el (dired-mark-if): Don't use looking-at to check for characters.
-
Paul Eggert authored
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.
-
Dima Kogan authored
* 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.
-
Paul Eggert authored
* 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.
-
Emilio C. Lopes authored
* 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
-
Arash Esbati authored
* nnmaildir.el (nnmaildir-request-replace-article): Check if the function `unix-sync' is bound before running it.
-
Ivan Shmakov authored
* 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.
-
Basil L. Contovounesios authored
* 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.
-
Stefan Monnier authored
-
Jonathan Shin Hayase authored
* 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).
-
Lars Ingebrigtsen authored
-
Stefan Monnier authored
-
Stefan Monnier authored
(tar-new-entry): Remove unused var `buffer`.
-
Lars Ingebrigtsen authored
* doc/emacs/buffers.texi (Several Buffers): Document it. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode-map): Move widen/narrow to `}' and `{'.
-
Glenn Morris authored
Another unstable test.
-
Stefan Monnier authored
-
Ivan Shmakov authored
* lisp/tar-mode.el (tar-untar-buffer): Fix use the value of default-directory local to the tar-mode buffer (bug#19865).
-
David Hull authored
* lib-src/etags.c (erlang_attribute): Fix handling of quoted symbol names in Erlang (bug#24960).
-
Eli Zaretskii authored
-
Paul Eggert authored
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.
-
Glenn Morris authored
-
Vaidheeswaran C authored
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-init-header): Preserve header line set by derived modes (bug#21025).
-
Drew Adams authored
* lisp/dired.el (dired-mark-if): Report the number of files marked when called, not the total number of marked files (bug#22457).
-
Stefan Monnier authored
-
Lars Ingebrigtsen authored
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.
-
Phil Sainty authored
* 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).
-
Tino Calancha authored
* 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).
-
Bastian Beischer authored
* 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
-
Drew Adams authored
* lisp/info.el (Info-fontify-node): Fontify _emphasis_ (bug#23798). (info-emphasis): New face.
-
Robert Weiner authored
* 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).
-
Michael Shields authored
* lisp/server.el: Pass frame-parameters when creating frames, even on a tty (bug#24147).
-
Basil L. Contovounesios authored
* 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.
-
Lars Ingebrigtsen authored
* 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.
-
Fritz Stelzer authored
* 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
-
Antoine Beaupré authored
* 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
-
Alan Mackenzie authored
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.
-
- 24 Jun, 2019 4 commits
-
-
Hong Xu authored
* 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).
-
Damien Cassou authored
* 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).
-
Stefan Monnier authored
(latex-find-indent): Obey it. (latex-noindent-environments): Make it into a defcustom as well.
-
Lars Ingebrigtsen authored
* 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'.
-