summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* regex: added tests for the case-fold embedded modifiersdima_regex_embedded_modifiersDima Kogan2016-04-221-1/+189
| | | | | * test/src/regex/regex-tests.el (regex-tests-case-fold): new ERT test to validate the case-fold modifier functionality
* regex: support for new case-fold embedded modifiersDima Kogan2016-04-225-136/+513
| | | | | | | | * src/search.c (compile_pattern) new `case_fold' argument to set the default case-folding behavior * src/regex.h (struct re_pattern_buffer): new `case_fold' bit to indicate the default case-folding behavior for this regex * src/regex.c: embedded modifiers support
* Added driver for the regex testsDima Kogan2016-04-221-0/+592
| | | | * test/src/regex/regex-tests.el (regex-tests): regex test driver
* New regex tests imported from glibc 2.21Dima Kogan2016-04-224-0/+3723
| | | | | | | | * test/src/regex/regex-resources/BOOST.tests: * test/src/regex/regex-resources/PCRE.tests: * test/src/regex/regex-resources/PTESTS: * test/src/regex/regex-resources/TESTS: New test data files
* Merge from origin/emacs-25Paul Eggert2016-04-1130-142/+409
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b134c20 Sync with gnulib bb30fa9 Fix last change on 2016-01-02 488a72f ; Spelling fixes 9b1aab9 Port run-prolog EMACS to SWI-Prolog 7.2.3 0e7bcec Avoid crashes due to unreasonably large or small text scaling 85f257c Improve documentation of 'with-eval-after-load' 668c7bc Improve handling of non-ASCII characters in Git log messages b570769 Remove undefined behavior in OS X dumper. 97211f3 Fix clipping of xwidgets e87fbc0 Improve Lisp-level documentation of tooltips 9f1786e Faces names should not end in "-face". 3283271 * src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings. a1f221b Comint and compile no longer set EMACS 5c28890 * lisp/subr.el (read-key): Don't let the prompt linger (bug#2... a75b9a6 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emac... c93ae7a Allow to customize names of executables used by grep.el f6497c6 Set locale encoding to UTF-8 when run from OS X GUI. 7ad1d07 Avoid signaling errors in 'M-n' at the 'C-x C-f' prompt a3f1ac2 Avoid infinite loop in 'studlify-word' f36df4b Don’t recommend obsolete EMACS env var fb0b531 * lisp/emacs-lisp/package.el: Change from a few days ago need...
| * Sync with gnulibPaul Eggert2016-04-112-13/+66
| | | | | | | | | | | | | | | | This is for picky compilers whose stdint.h fails our C11 tests. Problem reported for clang by Philipp Stephani (Bug#23261). This incorporates: 2016-04-11 stdint: port to strict C11 left shift * doc/misc/texinfo.tex, lib/stdint.in.h: Copy from gnulib.
| * Fix last change on 2016-01-02Leo Liu2016-04-111-3/+3
| | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend' which highlights `cl-errs-re' even in comments or strings.
| * ; Spelling fixesPaul Eggert2016-04-105-5/+5
| |
| * Port run-prolog EMACS to SWI-Prolog 7.2.3Paul Eggert2016-04-101-2/+14
| | | | | | | | | | | | | | * lisp/progmodes/prolog.el (prolog-ensure-process): Work around incompatibility of SWI-Prolog 7.2.3 and earlier with the new way of dealing with the EMACS and INSIDE_EMACS environment variables.
| * Avoid crashes due to unreasonably large or small text scalingEli Zaretskii2016-04-101-3/+26
| | | | | | | | | | | | | | * lisp/face-remap.el (text-scale-min-amount) (text-scale-max-amount): New functions. (text-scale-set, text-scale-increase): Use them to limit the text scaling to a reasonable range of values. (Bug#23259)
| * Improve documentation of 'with-eval-after-load'Eli Zaretskii2016-04-101-1/+2
| | | | | | | | * lisp/subr.el (with-eval-after-load): Doc fix. (Bug#23258)
| * Improve handling of non-ASCII characters in Git log messagesEli Zaretskii2016-04-102-15/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-commits-coding-system): Now a defcustom. (vc-git-log-output-coding-system): New defcustom. (vc-git-print-log, vc-git-command, vc-git--call): Use 'vc-git-log-output-coding-system' for reading stuff from Git. Don't override values of 'coding-system-for-read/write' if they are bound by caller -- this allows the user to force an encoding via "C-x RET c". (vc-git-checkin): On MS-Windows, pass the log message via a temporary file, to work around the limitations on passing non-ASCII characters via command-line arguments. Force using the 'locale-coding-system' for Git command-line arguments. This fixes problems with non-ASCII commit log messages on MS-Windows. (Bug#23076) * etc/NEWS: Mention the new vc-git related defcustoms.
| * Remove undefined behavior in OS X dumper.Philipp Stephani2016-04-091-1/+20
| | | | | | | | | | | | | | Found by Address Sanitizer. * src/unexmacosx.c (unexec_write): Use Mach virtual memory API to avoid undefined behavior when reading arbitrary memory.
| * Fix clipping of xwidgetsJoakim Verona2016-04-091-18/+16
| | | | | | | | | | | | * src/xwidget.c (x_draw_xwidget_glyph_string): Use window_box instead of calculating the clipping borders manually. Suggested by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
| * Improve Lisp-level documentation of tooltipsEli Zaretskii2016-04-094-13/+119
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Tooltips): New section. (Bug#23246) (Display): Update the chapter menu. * doc/lispref/text.texi (Special Properties): Make the "tooltip" index entry more concrete. Change the cross-reference to point to "Tooltips" in the ELisp manual. * doc/lispref/elisp.texi (Top): Update the master menu. * doc/emacs/frames.texi (Tooltips): Include more customization variables. Add a cross-reference to the ELisp manual.
| * Faces names should not end in "-face".Glenn Morris2016-04-082-11/+12
| | | | | | | | | | * lisp/rect.el (rectangle-preview): Rename from rectangle-preview-face. * lisp/vc/vc-hooks.el (vc-state-base): Rename from vc-state-base-face.
| * * src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings.Paul Eggert2016-04-081-2/+2
| |
| * Comint and compile no longer set EMACSPaul Eggert2016-04-084-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This mostly restores the change that I reverted on March 23, fixing most of Bug#20202. The only part of the change that is still reverted is the change to M-x term, where compatibility with current Bash constrains us from moving too quickly (Bug#20484). Problem reported by Phillip Lord in: http://bugs.gnu.org/20484#108 * etc/NEWS: Document this. * lisp/comint.el (comint-exec-1): * lisp/net/tramp-sh.el (tramp-remote-process-environment): * lisp/progmodes/compile.el (compilation-start): Don’t set EMACS=t in the subsidiary process.
| * * lisp/subr.el (read-key): Don't let the prompt linger (bug#22714)Stefan Monnier2016-04-081-0/+4
| |
| * Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25Eli Zaretskii2016-04-081-1/+8
| |\
| | * Set locale encoding to UTF-8 when run from OS X GUI.Alan Third2016-04-081-1/+8
| | | | | | | | | | | | * src/nsterm.m (ns_init_locale): Append .UTF-8 when setting LANG.
| * | Allow to customize names of executables used by grep.elEli Zaretskii2016-04-081-16/+32
| |/ | | | | | | | | | | | | | | | | * lisp/progmodes/grep.el (grep-find-program): Renamed from 'find-program', which was a variable. All uses changed. (grep-xargs-program): Renamed from 'xargs-program', which was a variable. All uses changed. (grep-program): Now a defcustom rather than a simple variable. (Bug#23219)
| * Avoid signaling errors in 'M-n' at the 'C-x C-f' promptEli Zaretskii2016-04-081-1/+3
| | | | | | | | | | * lisp/ffap.el (ffap-guess-file-name-at-point): Ignore errors while 'ffap-guesser' runs. (Bug#23218)
| * Avoid infinite loop in 'studlify-word'Marcin Borkowski2016-04-081-4/+4
| | | | | | | | | | | | * lisp/play/studly.el (studlify-region): Call 'forward-word-strictly' and 'backward-word-strictly' instead of 'forward-word' and 'backward-word'. (Bug#19940)
| * Don’t recommend obsolete EMACS env varPaul Eggert2016-04-072-16/+7
| | | | | | | | | | | | | | | | | | | | * doc/misc/efaq.texi (Escape sequences in shell output): Remove long-obsolete (and now-confusing) notes about the EMACS environment variable in Emacs 21.1 and earlier. * doc/misc/efaq.texi (^M in the shell buffer): * etc/PROBLEMS: Remove obsolescent recommendation to consult the EMACS environment variable.
| * * lisp/emacs-lisp/package.el: Change from a few days ago needs seq.Glenn Morris2016-04-071-0/+1
| | | | | | | | ; Warning 'foo' is not known to be defined is always a bug.
* | ; Merge from origin/emacs-25Paul Eggert2016-04-110-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: b7d8abd * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.
| * * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.Glenn Morris2016-04-071-1/+1
| | | | | | | | ; The various components of cl-lib are an internal implementation detail.
* | Merge from origin/emacs-25Paul Eggert2016-04-112-8/+15
|\ \ | |/ | | | | | | 96d9e78 Fix "Beginning of buffer" error in forward-page 20686f7 Add a `transient' project type
| * Fix "Beginning of buffer" error in forward-pageLeo Liu2016-04-071-6/+7
| | | | | | | | | | * lisp/textmodes/page.el (forward-page): Check before move to prevent "Beginning of buffer" error.
| * Add a `transient' project typeDmitry Gutov2016-04-071-2/+8
| | | | | | | | | | | | | | * lisp/progmodes/project.el (project-roots): Implement for the `transient' project type (bug#23224). (project-current): Instead of signaling an error, return a transient project instance rooted in the chosen directory.
* | ; Merge from origin/emacs-25Paul Eggert2016-04-110-0/+0
|\ \ | |/ | | | | | | | | | | The following commits were skipped: 0d7aad1 Revert "Backport HTTPS proxy fix" 2d1a605 Backport HTTPS proxy fix
| * Revert "Backport HTTPS proxy fix"Lars Magne Ingebrigtsen2016-04-062-97/+15
| | | | | | | | | | | | | | This reverts commit 2d1a6054b161bd1055d4feb11c8c5ac95543f5db. It's too late in the Emacs 25 release cycle to add things like this to Emacs 25.1. It's border line new feature.
| * Backport HTTPS proxy fixTao Fang2016-04-062-15/+97
| | | | | | | | | | | | Cherry-picked from 3c623c26ae7d695746e05d8a2e16a67a6256b024 Backport:
* | Merge from origin/emacs-25Paul Eggert2016-04-118-34/+133
|\ \ | |/ | | | | | | | | | | | | 80128a7 Fix stability confusion in sort-tests 1e4aa42 Avoid describe-key error with lambdas a05fb21 * lisp/emacs-lisp/package.el (package-install-selected-packag... f501116 Sync with gnulib c4963f9 Fix doc for Universal Time
| * Fix stability confusion in sort-testsPaul Eggert2016-04-061-2/+4
| | | | | | | | | | | | | | | | | | Problem reported by Philipp Stephani (Bug#23205). * test/automated/sort-tests.el: (sort-tests--insert-words-sort-and-compare): Don’t assume that reversing a sorted list is the same as sorting with the reverse predicate. This is not true for stable sorts when items compare equal.
| * Avoid describe-key error with lambdasPaul Eggert2016-04-051-2/+2
| | | | | | | | | | | | | | Problem reported by Sho Takemori (Bug#22716). * lisp/cedet/mode-local.el (describe-mode-local-overload) (xref-mode-local-overload): Use function-overload-p instead of assuming the argument is a symbol.
| * * lisp/emacs-lisp/package.el (package-install-selected-packages):Artur Malabarba2016-04-041-11/+15
| | | | | | | | Skip unavailable packages.
| * Sync with gnulibPaul Eggert2016-04-033-8/+105
| | | | | | | | | | | | | | | | This incorporates: 2016-04-03 stdint: detect good enough pre-C++11 stdint.h in C++ mode 2016-04-01 stddef: support configuring with g++ * doc/misc/texinfo.tex, lib/stddef.in.h, m4/stdint.m4: Copy from gnulib.
| * Fix doc for Universal TimePaul Eggert2016-04-032-11/+7
| | | | | | | | | | | | | | | | * doc/lispref/os.texi (Time of Day, Time Conversion): Be more careful about distinguishing UTC (which is not valid for pre-1961 time stamps) and UT (which is). (Time Parsing): Remove stray obsolete paragraph about a UNIVERSAL argument for ‘format-time-string’.
* | Fix alignement rule for CSSEtienne Prud'homme2016-04-101-1/+1
| | | | | | | | | | | | | | * lisp/align.el (align-rules-list): Support CSS properties that have multiple words. Copyright-paperwork-exempt: yes
* | New custom option for overriding mailcap choicesTassilo Horn2016-04-102-29/+107
| | | | | | | | | | | | | | | | | | | | * lisp/net/mailcap.el (mailcap--get-user-mime-data): New function. (mailcap--set-user-mime-data): New function. (mailcap-user-mime-data): New customization option. (mailcap-select-preferred-viewer): New function. (mailcap-mime-info): Use it. * doc/misc/emacs-mime.texi (mailcap): Document `mailcap-user-mime-data'.
* | Fix Bug#23207Michael Albinus2016-04-101-1/+10
| | | | | | | | | | | | * src/keyboard.c (read_char): Resume idle timers in case of dbus-event, file-notify-event and config-changed-event. Reported by Johan Claesson <johanclaesson@bredband.net>. (Bug#23207)
* | Add vc-backend and vc-responsible-backend testsMichael Albinus2016-04-092-21/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-hooks.el (vc-file-setprop, vc-file-getprop) (vc-file-clearprops): Use properties on absolute files. * test/lisp/vc/vc-tests.el (vc-test--unregister-function): Clear file properties. (vc-test--register): Add tests for `vc-backend' and `vc-responsible-backend'. Catch other errors but `vc-not-supported'. (vc-test--state, vc-test--checkout-model): Catch other errors but `vc-not-supported'. (vc-test--working-revision): Fix test for RCS and SCCS. Catch other errors but `vc-not-supported'. (vc-test-src02-state): Mark as an expected failure.
* | Minor improvements for hash function primitivesPaul Eggert2016-04-082-48/+28
| | | | | | | | | | | | | | | | | | | | * src/fns.c (hashfn_eql): Define in terms of hashfn_equal and hashfn_eq rather than reaching inside them. (hashtest_eq, hashtest_eql, hashtest_equal): Now constants with initializers. (syms_of_fns): Omit no-longer-needed initialization. * src/lisp.h (LISPSYM_INITIALLY): New macro. (DEFINE_LISP_SYMBOL): Use it.
* | New primitives sxhash-eq, sxhash-eqlPaul Pogonyshev2016-04-085-13/+71
| | | | | | | | | | | | | | | | * doc/lispref/hash.texi (Defining Hash), etc/NEWS: Document this. * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add sxhash-equal, sxhash-eq, sxhash-eql. * lisp/subr.el (sxhash): Now an alias for sxhash-equal. * src/fns.c (Fsxhash_eq, Fsxhash_eql): New functions.n
* | Teach Dired support parallel execution of commands on MS-WindowsEli Zaretskii2016-04-081-6/+17
| | | | | | | | | | | | | | * lisp/dired-aux.el (dired-shell-stuff-it): Support parallel-in-background execution of commands on MS-Windows. Test 'w32-shell-dos-semantics' instead of the underlying OS when determining whether addition of 'wait' is needed.
* | ; * lisp/dired-aux.el (dired-shell-stuff-it): Minor formatting change.Eli Zaretskii2016-04-081-1/+3
| |
* | Make 'dired-do-shell-command' wait for all background jobsTino Calancha2016-04-081-9/+22
| | | | | | | | | | * lisp/dired-aux.el (dired-shell-stuff-it): Force POSIX shells to wait until all background jobs exit. (Bug#23206).
* | Prefer 'font-lock-face to 'face in erc where appropriateVivek Dasmohapatra2016-04-079-136/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-button.el (erc-button-add-face): Prefer 'font-lock-face to 'face where appropriate. * lisp/erc/erc-capab.el (erc-capab-identify-add-prefix) * lisp/erc/erc-dcc.el (erc-dcc-chat-parse-output) * lisp/erc/erc-goodies.el (erc-controls-propertize) * lisp/erc/erc-stamp.el (erc-format-timestamp) * lisp/erc/erc-track.el (erc-faces-in) * lisp/erc/erc.el (erc-load-irc-script-lines, erc-display-msg) (erc-display-command, erc-make-notice, erc-highlight-notice) (erc-format-my-nick, erc-format-@nick, erc-format-privmessage) (erc-display-prompt, erc-display-message-highlight) (erc-log-irc-protocol): Ditto. * test/lisp/erc/erc-track-tests.el: Converted asserts into ert tests.