- 30 Mar, 2015 2 commits
-
-
Alan Mackenzie authored
* cc-mode.el (c-fl-decl-start): Renamed from c-set-fl-decl-start. * Change signature such that nil is returned when no declaration is found. (c-change-expand-fl-region): Renamed from c-change-set-fl-decl-start. This now also handles expanding the font lock region to whole lines. (c-context-expand-fl-region): Renamed from c-context-set-fl-decl-start. This now also handles expanding the font lock region to whole lines. (c-font-lock-fontify-region): When a change font lock region is spuriously enlarged to the beginning-of-line by jit-lock, fontify the extra bit separately from the region calculated by CC Mode. (c-extend-after-change-region): Explicitly apply 'fontified properties to the extended bits of the font lock region. * cc-langs.el (c-before-font-lock-functions) (c-before-context-fontification-functions): Use new names for existing functions (see above).
-
Richard Ryniker authored
* mail/sendmail.el (sendmail-send-it): Do not attempt to switch to non-existent buffer (errbuf is not created when customization variable mail-interactive is nil). (Bug#20211)
-
- 29 Mar, 2015 9 commits
-
-
Paul Eggert authored
4d2e7e17 Fixes: debbugs:19175 2e0cfccd Fix the preamble text of the DIR file we install (Bug#20213) 22ece83a src/w32proc.c: Describe in a comment w32 subprocess implementation. Conflicts: ChangeLog src/ChangeLog src/xterm.c
-
Paul Eggert authored
The following commits were skipped: 8478885d Bump version to 24.5 for the release-candidate 118b6a92 (url-insert-file-contents): Set buffer-file-coding-system
-
Paul Eggert authored
5e0314f6 * smie.el (smie*ward-sexp-command): Don't pretend the arg is optional 13cf575c Don't round up scroll bar width with GTK3 (Bug#20182). 921dd0de * doc/lispref/objects.texi (Equality Predicates): Fix typo in example. Conflicts: doc/lispref/ChangeLog lisp/ChangeLog src/ChangeLog
-
Paul Eggert authored
-
Paul Eggert authored
As suggested in: http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00947.html Also, have the two files match better. * CONTRIBUTE: Match what's in build-aux/git-hooks/commit-msg. * build-aux/git-hooks/commit-msg: Mention 'CONTRIBUTE'.
-
Jan D authored
* gtkutil.c (xg_display_open): * xterm.c (x_display_ok, x_term_init): Block SIGIO when opening a display.
-
Eli Zaretskii authored
build-aux/dir_top (File): Fix the description of selecting a menu item by its number.
-
Adam Sjøgren authored
-
Dani Moncayo authored
-
- 28 Mar, 2015 7 commits
-
-
Jan D authored
-
Eli Zaretskii authored
-
Glenn Morris authored
Add tiny change marker to author without assignment. NB there are several previous commits from the same author...
-
Tom Willemse authored
Fixes: big#19528 * lisp/elec-pair.el (electric-pair-local-mode): New command. (electric-pair-mode): Mention `electric-pair-local-mode' in the docstring.
-
Jan D authored
* xsmfns.c (smc_save_yourself_CB): Return if Vinvocation_name or user_login_name are not strings.
-
Jan D authored
* lisp/emacs-lisp/package.el (package-refresh-contents): Add a message at the end so it does not appear to have hanged.
-
Eli Zaretskii authored
src/w32.c (sys_connect): Fix a mistake in previous commit that broke blocking connections.
-
- 27 Mar, 2015 9 commits
-
-
Paul Eggert authored
Derived from a bug report by Nicolas Richard in: http://bugs.gnu.org/20191#20 * xsmfns.c (smc_save_yourself_CB): Don't dump core if invocation-name is not a string. Initialize user-login-name if it is not already initialized, and don't dump core if it is not a string. (create_client_leader_window): Don't dump core if x-resource-name and x-resource-class are not both strings. (x_session_initialize): Don't dump core if x-session-previous-id, invocation-directory, and invocation-name are not strings.
-
Paul Eggert authored
* editfns.c (Fuser_login_name, Fuser_real_login_name) (syms_of_editfns): Don't rely on all-bits-zero being an Elisp integer, as this is no longer true now that Qnil == 0.
-
Paul Eggert authored
* etags.c (xnew, xrnew) [DEBUG]: Don't include chkmalloc.h, which is not part of Emacs and is typically not installed. Instead, just invoke xmalloc and xrealloc as usual. Problem reported by Nicolas Richard in: http://bugs.gnu.org/20191#20 (xrnew): Avoid no-longer-needed cast to 'char *'. (xrealloc): First arg is now void *, not char *.
-
Paul Eggert authored
From a suggestion by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00824.html * process.c (NON_BLOCKING_CONNECT): Simplify by assuming that BROKEN_NON_BLOCKING_CONNECT is not defined. (SELECT_CAN_DO_WRITE_MASK): Remove, and assume it's now true.
-
Eli Zaretskii authored
src/lread.c (substitute_object_recurse): For sub-char-tables, start the recursive SUBSTITUTE loop from index of 2, to skip the non-Lisp members of the sub-char-table. See the discussion at http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00520.html for the details.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
Based on ideas from Kim F. Storm <storm@cua.dk>, see http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00873.html. src/w32proc.c (reader_thread): If the FILE_CONNECT flag is set, call '_sys_wait_connect'. If it returns STATUS_CONNECT_FAILED, exit the thread with code 2. (sys_select): Support 'wfds' in addition to 'rfds'. If a descriptor in 'wfds' has its bit set, but the corresponding fd_info member doesn't have its FILE_CONNECT flag set, ignore the descriptor. Otherwise, acknowledge a successful non-blocking connect by resetting the FILE_CONNECT flag and setting cp->status to STATUS_READ_ACKNOWLEDGED. src/w32.h (STATUS_CONNECT_FAILED): New enumeration value. (struct _child_process): New member 'errcode'. (FILE_CONNECT): New flag. (_sys_wait_connect): Add prototype. src/w32.c (pfn_WSAEnumNetworkEvents): New function pointer. (init_winsock): Load WSAEnumNetworkEvents from winsock DLL. (set_errno): Map WSAEWOULDBLOCK and WSAENOTCONN. (sys_connect): Support non-blocking 'connect' calls by setting the FILE_CONNECT flag in the fd_info member and returning EINPROGRESS. (_sys_read_ahead): Add debug message if this function is called for a descriptor that waits for a non-blocking connect to complete. (_sys_wait_connect): New function. (sys_read): Support STATUS_CONNECT_FAILED. Return the error code recorded by _sys_wait_connect when the non-blocking connect failed. Don't call WSAGetLastError before a call to set_errno had a chance to use its value, since WSAGetLastError clears the last error. nt/inc/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Don't define.
-
NicolasPetton authored
-
Wolfgang Jenkner authored
Fixes: debbugs:20084 * lisp/font-lock.el (font-lock--remove-face-from-text-property): New function. Adapted from the previously commented out remove-single-text-property. Remove previously unused and commented out auxiliary function remove-text-property and obsolete comment. * lisp/comint.el (comint-output-filter): Use it to remove comint-highlight-prompt. (comint-snapshot-last-prompt, comint-output-filter): Use font-lock-prepend-text-property for comint-highlight-prompt. * test/automated/textprop-tests.el: New file. (textprop-tests-font-lock--remove-face-from-text-property): New test. Thus, the original face text property of a prompt "candidate" (the last line of an output chunk not ending with a newline) is preserved. This amends the fix for bug#14744.
-
- 26 Mar, 2015 6 commits
-
-
Daniel Colascione authored
* lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose): New defcustom. (python-indent-guess-indent-offset): Use it.
-
Stefan Monnier authored
Fixes: debbugs:20010 * lisp/url/url-handlers.el (url-insert-file-contents): Call after-insert-file-set-coding like insert-file-contents, to set buffer-file-coding-system. [Backport]
-
Stefan Monnier authored
* lisp/emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler. * lisp/emacs-lisp/eieio.el (defclass): Change internal name so as to make sure only EIEIO files should have "eieio--" prefixes in their .elc.
-
Stefan Monnier authored
Fixes: debbugs:20205 * lisp/emacs-lisp/smie.el (smie-backward-sexp-command) (smie-forward-sexp-command): Don't pretend the arg is optional.
-
Boruch Baum authored
Fixes: debbugs:20177
-
Paul Eggert authored
-
- 25 Mar, 2015 7 commits
-
-
Dmitry Gutov authored
* lisp/json.el (json-special-chars): Don't treat `/' specially, there's no need to. (json-encode-string): Only escape quotation mark, backslash and the control characters U+0000 to U+001F.
-
Stefan Monnier authored
-
Artur Malabarba authored
-
Stefan Monnier authored
* lisp/international/mule-cmds.el (mule--ucs-names-annotation): New func. (read-char-by-name): Use it.
-
Stefan Monnier authored
* src/editfns.c (save_excursion_save): Don't save the mark. (save_excursion_restore): Don't restore the mark. (Fsave_excursion): Fix docstring accordingly. * doc/lispintro/emacs-lisp-intro.texi: * doc/lispref/positions.texi (Excursions, Narrowing): `save-excursion' does not save&restore the mark any more.
-
Stefan Monnier authored
-
Stefan Monnier authored
Fixes: debbugs:20187
-