1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00
Commit Graph

126309 Commits

Author SHA1 Message Date
Michal Nazarewicz
7715ee54b3 Remove ‘ert-with-function-mocked’ macro in favour of ‘cl-letf’ macro
* lisp/emacs-lisp/ert-x.el (ert-with-function-mocked): Remove macro
in favour of ‘cl-letf’ macro which is more generic.  All existing
uses are migrated accordingly.  The macro has not been included in
an official release yet so it should be fine to delete it.
2016-06-08 19:10:59 +02:00
Glenn Morris
027e6fbfe4 * test/lisp/emacs-lisp/package-tests.el
(package-test-update-archives-async): Try re-enabling on hydra.
2016-06-08 12:47:08 -04:00
Paul Eggert
bc93643957 * src/fileio.c (auto_save_error): Omit unused local. 2016-06-08 00:36:18 -07:00
Paul Eggert
e8ba94bf83 Simplify overflow check via INT_SUBTRACT_WRAPV
* src/editfns.c (check_tm_member): Simplify integer overflow check.
2016-06-08 00:36:18 -07:00
Glenn Morris
378f5776fc Try to avoid hangs and stray procs in network-stream-tests. (Bug#23560)
* test/lisp/net/network-stream-tests.el (connect-to-tls-ipv4-wait)
(connect-to-tls-ipv4-nowait, connect-to-tls-ipv6-nowait):
Ensure gnutls-serv process gets killed.
(echo-server-nowait, connect-to-tls-ipv4-nowait):
Limit the amount of time we might wait.
2016-06-07 20:50:35 -07:00
Glenn Morris
3db521ccaf Reduce allout.el's pollution of the namespace.
* lisp/allout.el (allout-set-regexp): Rename from set-allout-regexp.
Keep old name as obsolete alias.
(allout-produce-mode-menubar-entries, allout-nullify-prefix-data)
(allout-solicit-char-in-string)
(allout-count-trailing-whitespace-region, allout-regexp-sans-escapes):
Rename to add an "allout-" prefix.
2016-06-07 21:34:51 -04:00
Glenn Morris
e533ea819f * configure.ac (emacs_config_features): Add CANNOT_DUMP. 2016-06-07 21:31:08 -04:00
Glenn Morris
95443fc07f Misc small webjump updates.
* lisp/net/webjump.el (webjump): Add custom group.
(webjump-sample-sites): Make it a constant.
Remove explicit, old list of GNU ftp mirrors.
(webjump-state-to-postal-alist): Make it a constant.
(webjump-sites): Make it a defcustom.
(webjump-to-iwin): Update for changed remote service.
2016-06-07 21:29:30 -04:00
Glenn Morris
3a28d64e27 Do not hard-code port for package test server. (Bug#23708)
* test/lisp/emacs-lisp/package-resources/package-test-server.py:
Do not hard-code port.
* test/lisp/emacs-lisp/package-tests.el (package-test-update-archives-async):
Update for the above change.
2016-06-07 21:25:20 -04:00
Tino Calancha
f4ef1a1fea * lisp/ibuffer.el (ibuffer): Improve 'other-window' case. (Bug#23617) 2016-06-07 20:35:24 -04:00
Glenn Morris
e686f4760c * src/fileio.c (auto_save_error): Use display-warning. (Bug#23703) 2016-06-07 19:31:29 -04:00
Tino Calancha
738738259b * lisp/ibuf-ext.el (ibuffer-do-shell-command-file):
Fix non-file-visiting-buffer case.  (Bug#22678)
2016-06-07 19:25:20 -04:00
Paul Eggert
2f9d547329 Port --enable-gcc-warnings to clang 3.7.0
* configure.ac: Add -Wno-tautological-compare to avoid bogus
warnings about 0 <= rlim.rlim_max.  Remove flags that no longer
seem to be needed, at least in Fedora 23 x86-64.
2016-06-07 16:18:21 -07:00
Paul Eggert
302185156b Use __builtin_assume_aligned on untagged Lisp vals
* src/conf_post.h (__has_builtin, __builtin_assume_aligned):
New macros, for compilers not already defining them.
(__has_builtin___builtin_assume_aligned): New macro.
* src/lisp.h (lisp_h_XUNTAG): Use __builtin_assume_aligned.
This shrinks text space by 0.2% on x86-64 with GCC 6.1.
2016-06-07 15:44:15 -07:00
Glenn Morris
8ea5d990f6 * lisp/help-fns.el (describe-function-1): Avoid reporting advised
aliases as the type of their targets.
2016-06-07 16:44:48 -04:00
Tino Calancha
b7adc2f237 * lisp/simple.el (process-menu-mode, list-processes--refresh):
Include PID.  (Bug#21725)
2016-06-07 15:06:38 -04:00
Glenn Morris
62564a6ad2 ; * etc/NEWS: Fix a typo. 2016-06-07 13:55:33 -04:00
Paul Eggert
2aa6b47e3e Merge from origin/emacs-25
6e3adf8 Fix crash in syntax.c after GC
973ce5a Improve squiggly heredoc support in non-SMIE Ruby mode
9d5cceb Fix doc string quoting
0b33a23 Fix mouse dragging of vertical dividers with scroll bars on l...
a5d05f4 * etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.
2016-06-07 09:34:27 -07:00
Paul Eggert
5bc3263303 ; Merge from origin/emacs-25
The following commit was skipped:

9c28e70 ; Auto-commit of loaddefs files.
2016-06-07 09:34:27 -07:00
Paul Eggert
5feeead126 Merge from origin/emacs-25
604f656 * test/automated/viper-tests.el (viper-test-undo-kmacro): Del...
20eb531 * lisp/mail/footnote.el (footnote-mode): Fix doc typo.
a7a2244 * doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.
07bd972 * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): Fix...
2016-06-07 09:34:27 -07:00
Paul Eggert
6e3adf8a4a Fix crash in syntax.c after GC
Problem reported by Vincent Belaïche (Bug#23704).
* src/syntax.c (skip_chars): Recompute pointers into the
buffer after every call to update_syntax_table_forward,
as it can GC.
2016-06-07 09:28:49 -07:00
Dmitry Gutov
973ce5a123 Improve squiggly heredoc support in non-SMIE Ruby mode
* lisp/progmodes/ruby-mode.el (ruby-parse-partial): Support
squiggly heredocs here, too (port from upstream).
2016-06-07 04:07:15 +03:00
Paul Eggert
14649c8890 Use standard Unicode names for Thai, Lao
* lisp/language/lao-util.el, lisp/language/thai-util.el:
Don’t override standard Unicode character name (Bug#23698).
2016-06-06 10:44:28 -07:00
Glenn Morris
eeb138d314 * lisp/man.el (Man-reference-regexp, Man-default-man-entry):
Handle U+2010 hyphen at eol, as used when LANG=en_US.utf8.
2016-06-06 13:04:43 -04:00
Stephen Berman
9d5ccebeba Fix doc string quoting
* lisp/files.el (shell-quote-wildcard-pattern):
* lisp/progmodes/vhdl-mode.el (vhdl-mode):
* lisp/subr.el (replace-regexp-in-string):
* lisp/view.el (view-mode):
* src/nsfns.m (syms_of_nsfns):
* src/syntax.c (Fbackward_prefix_chars):
Fix quoting problems in doc strings (Bug#23696).
2016-06-06 09:30:22 -07:00
Michael Albinus
c0462e120d Some fixes in filenotify-tests.el for cygwin
* test/lisp/filenotify-tests.el (file-notify--test-timeout):
Reintroduce value for cygwin, it's needed on slow systems.
(file-notify--wait-for-events): Move up definition.
(file-notify--test-no-descriptors): Use `file-notify--wait-for-events'.
(file-notify--test-with-events-check, file-notify--test-with-events)
(file-notify-test08-watched-file-in-watched-dir):
Use :random rather than `random.
(file-notify-test06-many-events): Do not skip for cygwin.
2016-06-06 18:25:28 +02:00
Juri Linkov
66d5c75e2d * src/casefiddle.c (Fupcase_region): Add arg ‘region-noncontiguous-p’.
If non-nil, operate on multiple chunks.  (Bug#23655)

* src/search.c (Freplace_match): Use Qnil for new arg of Fupcase_region.
2016-06-06 00:23:21 +03:00
Juri Linkov
efde23dcdd * lisp/wdired.el (wdired-next-line, wdired-previous-line): Add "^"
to interactive spec to handle shift-selection.  (Bug#23642)
2016-06-06 00:16:17 +03:00
Michael Albinus
6627dd7c94 Improve robustness of filenotify-tests.el (Bug#23618)
* test/lisp/filenotify-tests.el (file-notify--test-no-descriptors)
(file-notify--test-no-descriptors-explainer)
(file-notify--test-cleanup-p): New defuns.
(file-notify--test-cleanup): Don't check for
`file-notify--test-event' anymore, that's done in
`file-notify--test-no-descriptors'.
(file-notify--test-with-events-check)
(file-notify--test-with-events): Handle the `random' marker.
(file-notify--test-with-events-explainer): Improve readability.
(file-notify-test00-availability)
(file-notify-test01-add-watch, file-notify-test02-events)
(file-notify-test03-autorevert)
(file-notify-test04-file-validity)
(file-notify-test05-dir-validity)
(file-notify-test06-many-events, file-notify-test07-backup)
(file-notify-test08-watched-file-in-watched-dir)
(file-notify-test09-sufficient-resources): Check also
`file-notify--test-cleanup-p'.
(file-notify-test04-file-validity)
(file-notify-test05-dir-validity): Use `ignore' as handler.
(file-notify-test05-dir-validity)
(file-notify-test06-many-events): Delete directory finally.
(file-notify-test08-watched-file-in-watched-dir): Add `random' marker.
2016-06-05 19:49:16 +02:00
K. Handa
4ffe265b51 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2016-06-05 20:49:55 +09:00
Stephen Berman
75de3640f1 man.el: Fix links on hyphenated words (bug#23647)
* lisp/man.el (Man-bgproc-sentinel): Make links work on
hyphenated words.
2016-06-05 13:14:44 +02:00
Martin Rudalics
0b33a23ffe Fix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)
* lisp/mouse.el (mouse-drag-line): With scroll bars on the left
adjust trailing edge of window on the left when dragging the
vertical divider of the mode line.  (Bug#23690)
2016-06-05 11:50:47 +02:00
K. Handa
096d134765 Add category 'j' to more characters.
* lisp/international/characters.el: Add category 'j' (Japanese)
to characters in japanese-jisx0213.2004-1.
2016-06-05 16:23:02 +09:00
Tino Calancha
700afe62a4 isearch-edit-string resumes multi isearches
* lisp/isearch.el (with-isearch-suspended): Remember and restore
multi-isearch variables.  (Bug#21663)
2016-06-05 01:06:12 +03:00
Eli Zaretskii
a5d05f4470 * etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.
(Bug#23641)
2016-06-04 18:45:46 +03:00
Eli Zaretskii
abfe07ad61 Fix Eshell display when RTL characters are involved
* lisp/eshell/esh-mode.el (eshell-mode): Set
'bidi-paragraph-direction' to 'left-to-right'.  (Bug#23652)
2016-06-04 18:27:49 +03:00
Paul Eggert
6b985764f0 Port angle-bracket TZ settings to MS-Windows
* doc/lispref/os.texi (Time Zone Rules): Document MS-Windows
lack of support for numeric time zone abbreviations.
* src/w32.c (sys_putenv): Convert angle-bracket TZ syntax
to MS-compatible syntax if possible, and to "ZZZ" otherwise.
Problem reported by Kazuhiro Ito (Bug#23600).
2016-06-01 21:09:17 -07:00
Paul Eggert
1e5539e0b3 Avoid delving into Git internals for version
* lisp/loadup.el (exec-path): Set it to nil later, so that
emacs-repository-get-version can invoke git commands in the PATH.
* lisp/version.el (emacs-repository--version-git-1): Remove.
(emacs-repository-get-version): Let Git do it rather than
delving into Git internals.
2016-06-01 13:26:30 -07:00
Stefan Monnier
4428f5a97b * lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload): Expand less 2016-06-01 14:54:40 -04:00
Paul Eggert
a76420cce2 Fix emacs-repository-get-version with packed .git
* lisp/version.el (emacs-repository-get-version):
Parse .git/packed-refs if it exists.
Problem reported by Martin Rudalics in:
http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00554.html
2016-06-01 11:03:37 -07:00
Michael Albinus
5668058053 Minor change in tramp.texi
* doc/misc/tramp.texi (Password handling): Do not discuss
anymore how to get password-cache.el.  It is bundled with
Emacs.
2016-06-01 16:43:20 +02:00
Alan Mackenzie
cd66716baf Correct fontification and indentation of C++'s "constexpr" expressions
* lisp/progmodes/cc-langs.el (c-type-modifier-kwds): Remove "constexpr".
(c-modifier-kwds): Add "constexpr".
2016-06-01 13:31:47 +00:00
Glenn Morris
9c28e70b4b ; Auto-commit of loaddefs files. 2016-06-01 07:18:41 -04:00
Glenn Morris
d18b846b4e ; Auto-commit of loaddefs files. 2016-06-01 06:19:17 -04:00
K. Handa
8e22067d59 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2016-06-01 09:16:32 +09:00
Ikumi Keita
6d66089127 Cosmetic change to kinsoku-eol. (tiny change)
* lisp/international/kinsoku.el (kinsoku-eol): Make the
order of characters match with the comments.
2016-06-01 09:15:20 +09:00
Ikumi Keita
58f77a137a Add HIRAGANA ITERATION MARK to japanese-kana-table. (tiny change)
* lisp/language/japan-util.el (japanese-kana-table): Add an
entry for HIRAGANA ITERATION MARK (U+309D).
(japanese-alpha-numeric-table): Fix docstring.
2016-06-01 08:33:05 +09:00
K. Handa
4efef3db2f Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2016-06-01 08:07:18 +09:00
K. Handa
694d5e5b56 Fix incomplete handling of translation table in a coding system.
* coding.c (get_translation): New arg NCHARS.  Even if TRANS
is an alist, return a character or a vector of character.
(produce_chars): Adjust for the above change.
(consume_chars): Likewise.
2016-06-01 07:53:03 +09:00
Glenn Morris
604f656831 * test/automated/viper-tests.el (viper-test-undo-kmacro):
Delete temp-file at end.
2016-05-31 18:24:07 -04:00