- 21 Feb, 2013 4 commits
-
-
Paul Eggert authored
Port to Texinfo 5.0 by backporting trunk 2012-12-22T19:57:35Z!rgm@gnu.org and 2013-02-21T02:42:30Z!eggert@cs.ucla.edu.
-
Juri Linkov authored
Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end' to `isearch-other-end' if it is not nil. * lisp/replace.el (replace-highlight): Let-bind `isearch-other-end' to `match-beg'. * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): Let-bind `isearch-other-end' to `start', `isearch-forward' to t and `isearch-error' to nil. Fixes: debbugs:13402
-
Glenn Morris authored
-
Glenn Morris authored
-
- 20 Feb, 2013 2 commits
-
-
Fabián Ezequiel Gallina authored
match-data cluttering prevention.
-
Fabián Ezequiel Gallina authored
* automated/python-tests.el (python-tests-with-temp-buffer): New macro. (python-tests-look-at): New function. (python-tests-look-at-1) (python-tests-look-at-2) (python-indent-pep8-1) (python-indent-pep8-2) (python-indent-pep8-3) (python-indent-inside-paren-1) (python-indent-inside-paren-2) (python-indent-after-block-1) (python-indent-after-block-2) (python-indent-dedenters-1) (python-indent-after-backslash-1) (python-indent-after-backslash-2) (python-nav-beginning-of-defun-1) (python-nav-beginning-of-defun-2) (python-nav-end-of-defun-1) (python-nav-end-of-defun-2) (python-nav-beginning-of-statement-1) (python-nav-end-of-statement-1) (python-nav-forward-statement- (python-nav-backward-statement-1) (python-nav-backward-statement-2) (python-nav-beginning-of-block-1) (python-nav-end-of-block-1) (python-nav-forward-block-1) (python-nav-lisp-forward-sexp-safe-1) (python-nav-forward-sexp-1) (python-nav-forward-sexp-2) (python-nav-forward-sexp-3) (python-nav-up-list-1) (python-nav-backward-up-list-1) (python-imenu-prev-index-position-1) (python-info-current-defun-1) (python-info-current-defun-2) (python-info-current-defun-3) (python-info-current-symbol-1) (python-info-current-symbol-2) (python-info-current-symbol-3) (python-info-statement-starts-block-p-1) (python-info-statement-starts-block-p-2) (python-info-statement-ends-block-p-1) (python-info-statement-ends-block-p-2) (python-info-beginning-of-statement-p-1) (python-info-beginning-of-statement-p-2) (python-info-end-of-statement-p-1) (python-info-end-of-statement-p-2) (python-info-beginning-of-block-p-1) (python-info-beginning-of-block-p-2) (python-info-end-of-block-p-1) (python-info-end-of-block-p-2) (python-info-closing-block-1) (python-info-closing-block-2) (python-info-line-ends-backslash-p-1) (python-info-beginning-of-backslash-1) (python-info-continuation-line-p-1) (python-info-block-continuation-line-p-1) (python-info-block-continuation-line-p-2) (python-info-assignment-continuation-line-p-1) (python-info-assignment-continuation-line-p-2) (python-info-looking-at-beginning-of-defun-1) (python-info-current-line-comment-p-1) (python-info-current-line-empty-p) (python-util-goto-line-1) (python-util-clone-local-variables-1) (python-util-forward-comment-1): New tests.
-
- 19 Feb, 2013 5 commits
-
-
Glenn Morris authored
loaded while outline-regexp is let bound. (Bug#9584)
-
Fabián Ezequiel Gallina authored
defun name retrieval because of unwanted match-data cluttering.
-
Fabián Ezequiel Gallina authored
python-info-line-ends-backslash-p call. (python-info-line-ends-backslash-p) (python-info-beginning-of-backslash): Respect line-number argument. (python-info-current-line-comment-p): Fix behavior when not at beginning-of-line. (python-util-position): Remove function. (python-util-goto-line): New function.
-
Glenn Morris authored
Move info-look stuff to info-look.el commentary.
-
Glenn Morris authored
-
- 18 Feb, 2013 3 commits
-
-
Michael Albinus authored
(eshell/sudo): Require tramp. Remove now unnecessary check. * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind `tramp-current-connection' in order to avoid an error when several commands are invoked in a short time in eshell and friends.
-
Eli Zaretskii authored
src/w32proc.c (new_child): Avoid leaking handles if the subprocess resources were not orderly released.
-
Eli Zaretskii authored
-
- 17 Feb, 2013 2 commits
-
-
Eli Zaretskii authored
Revert changes to w32proc.c done since 2012-11-30T09:23:15Z!eliz@gnu.org. Do NOT merge to trunk! src/w32proc.c (new_child): Remove the loop that attempted to salvage slots of dead processes. (new_child, delete_child, find_child_pid): Don't insist on procinfo.hProcess be NULL for a process slot to be considered inactive, or be non-NULL to be considered active. (reader_thread): Don't set the FILE_AT_EOF flag of a file descriptor if the corresponding child was deleted and its char_avail handle is NULL. (reap_subprocess): Don't reset the FILE_AT_EOF flag. (sys_select): Don't pass a NULL process handle to WaitForMultipleObjects. Fixes: debbugs:13735 debbugs:13546
-
Eli Zaretskii authored
src/xdisp.c (x_draw_vertical_border): For a window that is neither the leftmost nor the rightmost, redraw both the left and the right vertical borders.
-
- 16 Feb, 2013 2 commits
-
-
Glenn Morris authored
-
Didier Verna authored
Check that response to the starttls-command is non-nil. Fixes: debbugs:13706
-
- 15 Feb, 2013 4 commits
-
-
Eli Zaretskii authored
-
Glenn Morris authored
-
Eli Zaretskii authored
src/w32proc.c (new_child): Free up to 2 slots of dead processes at a time. Improve diagnostics in DebPrint. (reader_thread): If cp->char_avail is NULL, set the FILE_AT_EOF flag, so that sys_select could have a chance of noticing that this process is dead, and call a SIGCHLD handler for it. Improve diagnostics in DebPrint. (reap_subprocess): Reset the FILE_AT_EOF flag set by reader_thread. (sys_select): Watch a process whose procinfo.hProcess is non-NULL even if its char_avail is NULL. Allows to reap subprocesses that were forcibly deleted by delete-process. (Bug#13546)
-
Eli Zaretskii authored
src/w32.c (sys_socket, sys_bind, sys_connect, sys_gethostname) (sys_gethostbyname, sys_getservbyname, sys_getpeername) (sys_shutdown, sys_setsockopt, sys_listen, sys_getsockname) (sys_accept, sys_recvfrom, sys_sendto, fcntl): In case of failure, make sure errno is set to an appropriate value. (Bug#13546) (socket_to_fd): Add assertion against indexing fd_info[] with a value that is out of bounds. (sys_accept): If fd is negative, do not set up the child_process structure for reading.
-
- 14 Feb, 2013 6 commits
-
-
Paul Eggert authored
The bug was reported for AIX before today's changes. I reproduced the problem on Fedora 17 x86-64 when setting GC_MARK_STACK by hand, and I presume it occurs with default configurations on HP-UX and Unixware. Trunk fix on 2013-01-14 by Dmitry Antipov <dmantipov@yandex.ru>: Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE. * eval.c (eval_sub): Protect `form' from being GCed before its car and cdr becomes protected with the backtrace entry. Fixes: debbugs:13650
-
Paul Eggert authored
* configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX. (GC_MARK_STACK): Do not set to GC_USE_GCPROS_AS_BEFORE, as that runs afoul of some other bug in Emacs, and the default value GC_MAKE_GCPROS_NOOPS has been tested and works. * src/lisp.h (XPNTR) [!USE_LSB_TAG && DATA_SEG_BITS]: Fix bug introduced in 2012-07-27 change. DATA_SEG_BITS, if set, was #undeffed earlier, so it cannot be used as a macro here. Use the constant and not the macro. Tested on AIX. * src/unexaix.c: Revert 2013-02-11 and 2013-02-12 changes to this file. They're almost surely OK but we're just before a release so we should avoid changes unless they're clearly needed. Instead, make the following minor change: (ADDR_CORRECT): New macro. Fixes: debbugs:13650
-
Glenn Morris authored
-
Stefan Monnier authored
(goto-address-fontify-region): Use them instead of narrowing, so syntax-ppss has access to the whole buffer.
-
Glenn Morris authored
-
Fabián Ezequiel Gallina authored
forward-sexp movement in header documentation. (python-nav--forward-sexp): Behave like emacs-lisp-mode in comments and strings (GH bug 114). Fixes: debbugs:13642
-
- 13 Feb, 2013 8 commits
-
-
Fabián Ezequiel Gallina authored
-
Fabián Ezequiel Gallina authored
defun detection. Fixes: debbugs:13618
-
Eli Zaretskii authored
src/w32proc.c (new_child): If no vacant slots are found in child_procs[], make another pass looking for slots whose process has exited or died.
-
Eli Zaretskii authored
src/w32.c (sys_pipe): When failing due to file descriptors above MAXDESC, set errno to EMFILE. (_sys_read_ahead): Update cp->status when failing to read serial communications input, so that the status doesn't stay at STATUS_READ_IN_PROGRESS.
-
Chong Yidong authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
- 12 Feb, 2013 4 commits
-
-
Paul Eggert authored
With this, it should be as good as it was in 23.3, though it's still pretty bad: the dumped emacs does not run. See Mark Fleishman in http://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html * unexaix.c (start_of_text): Remove. (_data, _text): Declare as char[], not int, as AIX manual suggests. (bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr) (orig_load_scnptr, orig_data_scnptr): Now off_t, not long, since they are file offsets. (make_hdr): Use _data, not start_of_data (). This is the key part of the fix. (make_hdr, unrelocate_symbols): Use off_t for file offsets. (unrelocate_symbols): Cast pointers to intptr_t, not to ulong. Fixes: debbugs:13650
-
Paul Eggert authored
This ports to compilers that optimize the external declaration 'int x = 0;' as if it were 'int x;' to shrink the executable.
-
Paul Eggert authored
-
Glenn Morris authored
* doc/lispref/keymaps.texi (Scanning Keymaps): Remove obsolete sentence about meta characters; this changed in 22.1.
-