]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years ago* doc/misc/flymake.texi (Syntax check statuses): Fix multitable continued rows.
Glenn Morris [Fri, 22 Feb 2013 02:16:44 +0000 (21:16 -0500)]
* doc/misc/flymake.texi (Syntax check statuses): Fix multitable continued rows.

11 years agoPort to Texinfo 5.0 by backporting trunk 2012-12-22T19:57:35Z!rgm@gnu.org and 2013...
Paul Eggert [Thu, 21 Feb 2013 21:33:04 +0000 (13:33 -0800)]
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.

11 years ago* lisp/isearch.el (isearch-lazy-highlight-new-loop):
Juri Linkov [Thu, 21 Feb 2013 17:45:12 +0000 (19:45 +0200)]
* lisp/isearch.el (isearch-lazy-highlight-new-loop):
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
11 years agoChangeLog fix
Glenn Morris [Thu, 21 Feb 2013 16:54:51 +0000 (08:54 -0800)]
ChangeLog fix

11 years agoRemove package not updated in 10 years.
Glenn Morris [Thu, 21 Feb 2013 06:05:10 +0000 (22:05 -0800)]
Remove package not updated in 10 years.

11 years ago* progmodes/python.el (python-info-current-defun): Enhance
Fabián Ezequiel Gallina [Wed, 20 Feb 2013 20:41:46 +0000 (17:41 -0300)]
* progmodes/python.el (python-info-current-defun): Enhance
match-data cluttering prevention.

11 years agoAdded intial test suite for python.el.
Fabián Ezequiel Gallina [Wed, 20 Feb 2013 20:27:08 +0000 (17:27 -0300)]
Added intial test suite for python.el.

* 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.

11 years ago* lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
Glenn Morris [Tue, 19 Feb 2013 21:21:30 +0000 (16:21 -0500)]
* lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
loaded while outline-regexp is let bound.  (Bug#9584)

11 years ago* progmodes/python.el (python-info-current-defun): Fix failed
Fabián Ezequiel Gallina [Tue, 19 Feb 2013 18:53:57 +0000 (15:53 -0300)]
* progmodes/python.el (python-info-current-defun): Fix failed
defun name retrieval because of unwanted match-data cluttering.

11 years ago* progmodes/python.el (python-indent-context): Fix
Fabián Ezequiel Gallina [Tue, 19 Feb 2013 03:18:32 +0000 (00:18 -0300)]
* progmodes/python.el (python-indent-context): Fix
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.

11 years agoRemove some defunct/no longer relevant MORE.STUFF links.
Glenn Morris [Tue, 19 Feb 2013 03:10:46 +0000 (19:10 -0800)]
Remove some defunct/no longer relevant MORE.STUFF links.
Move info-look stuff to info-look.el commentary.

11 years ago* doc/lispref/text.texi (Change Hooks): Fix typo.
Glenn Morris [Tue, 19 Feb 2013 01:20:50 +0000 (17:20 -0800)]
* doc/lispref/text.texi (Change Hooks): Fix typo.

11 years ago* eshell/em-unix.el (eshell/su): Require tramp.
Michael Albinus [Mon, 18 Feb 2013 19:13:21 +0000 (20:13 +0100)]
* eshell/em-unix.el (eshell/su): Require tramp.
(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.

11 years agoAvoid leaking handles on MS-Windows.
Eli Zaretskii [Mon, 18 Feb 2013 16:38:50 +0000 (18:38 +0200)]
Avoid leaking handles on MS-Windows.

 src/w32proc.c (new_child): Avoid leaking handles if the subprocess
 resources were not orderly released.

11 years agoFix a typo in a comment.
Eli Zaretskii [Mon, 18 Feb 2013 16:34:09 +0000 (18:34 +0200)]
Fix a typo in a comment.

11 years agoFix bug #13735 with network streams on MS-Windows.
Eli Zaretskii [Sun, 17 Feb 2013 18:17:34 +0000 (20:17 +0200)]
Fix bug #13735 with network streams on MS-Windows.
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
11 years agoFix bug #13723 with redrawing vertical border in GUI sessions.
Eli Zaretskii [Sun, 17 Feb 2013 16:22:11 +0000 (18:22 +0200)]
Fix bug #13723 with redrawing vertical border in GUI sessions.

 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.

11 years agoA few small TODO and CONTRIBUTE updates
Glenn Morris [Sat, 16 Feb 2013 20:24:50 +0000 (12:24 -0800)]
A few small TODO and CONTRIBUTE updates

11 years ago* lisp/net/network-stream.el (network-stream-open-starttls):
Didier Verna [Sat, 16 Feb 2013 02:45:24 +0000 (18:45 -0800)]
* lisp/net/network-stream.el (network-stream-open-starttls):
Check that response to the starttls-command is non-nil.

Fixes: debbugs:13706
11 years agoFix commit 2013-02-15T09:41:31Z!eliz@gnu.org for bug #13546.
Eli Zaretskii [Fri, 15 Feb 2013 13:14:26 +0000 (15:14 +0200)]
Fix commit 2013-02-15T09:41:31Z!eliz@gnu.org for bug #13546.

11 years agoAuto-commit of generated files.
Glenn Morris [Fri, 15 Feb 2013 12:17:45 +0000 (07:17 -0500)]
Auto-commit of generated files.

11 years agoAllow deleted processes to be reaped by SIGCHLD handler on MS-Windows.
Eli Zaretskii [Fri, 15 Feb 2013 09:41:31 +0000 (11:41 +0200)]
Allow deleted processes to be reaped by SIGCHLD handler on MS-Windows.

 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)

11 years agoImprove error reporting as part of solving bug #13546 on MS-Windows.
Eli Zaretskii [Fri, 15 Feb 2013 09:01:13 +0000 (11:01 +0200)]
Improve error reporting as part of solving bug #13546 on MS-Windows.

 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.

11 years agoBackport GCPRO fix from trunk.
Paul Eggert [Thu, 14 Feb 2013 22:08:38 +0000 (14:08 -0800)]
Backport GCPRO fix from trunk.

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
11 years agoFix AIX port.
Paul Eggert [Thu, 14 Feb 2013 20:05:10 +0000 (12:05 -0800)]
Fix AIX port.

* 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
11 years ago* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix re setf.
Glenn Morris [Thu, 14 Feb 2013 17:16:47 +0000 (09:16 -0800)]
* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix re setf.

11 years ago* lisp/net/goto-addr.el (goto-address-fontify): Add start and end args.
Stefan Monnier [Thu, 14 Feb 2013 15:53:46 +0000 (10:53 -0500)]
* lisp/net/goto-addr.el (goto-address-fontify): Add start and end args.
(goto-address-fontify-region): Use them instead of narrowing, so
syntax-ppss has access to the whole buffer.

11 years ago* lispref/modes.texi (Basic Major Modes): 'z' no longer bound in special-mode.
Glenn Morris [Thu, 14 Feb 2013 01:24:03 +0000 (20:24 -0500)]
* lispref/modes.texi (Basic Major Modes): 'z' no longer bound in special-mode.

11 years ago* progmodes/python.el: Explain how to restore "cc-mode"-like
Fabián Ezequiel Gallina [Thu, 14 Feb 2013 00:42:11 +0000 (21:42 -0300)]
* progmodes/python.el: Explain how to restore "cc-mode"-like
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
11 years agoPush ChangeLog entry for previous commit.
Fabián Ezequiel Gallina [Wed, 13 Feb 2013 23:09:12 +0000 (20:09 -0300)]
Push ChangeLog entry for previous commit.

11 years ago* progmodes/python.el (python-info-current-defun): Fix current
Fabián Ezequiel Gallina [Wed, 13 Feb 2013 23:07:59 +0000 (20:07 -0300)]
* progmodes/python.el (python-info-current-defun): Fix current
defun detection.

Fixes: debbugs:13618
11 years agoMore robust creation of a subprocess, attempt to solve bug #13546.
Eli Zaretskii [Wed, 13 Feb 2013 17:04:30 +0000 (19:04 +0200)]
More robust creation of a subprocess, attempt to solve bug #13546.

 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.

11 years agoCleanup related to bug #13546 with subprocesses on MS-Windows.
Eli Zaretskii [Wed, 13 Feb 2013 17:00:26 +0000 (19:00 +0200)]
Cleanup related to bug #13546 with subprocesses on MS-Windows.

 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.

11 years ago* xml.el (xml-parse-string): Fix typo in handling of bad character references.
Chong Yidong [Wed, 13 Feb 2013 07:24:11 +0000 (15:24 +0800)]
* xml.el (xml-parse-string): Fix typo in handling of bad character references.

11 years ago* src/keyboard.c (input-decode-map, key-translation-map): Doc fixes.
Glenn Morris [Wed, 13 Feb 2013 04:26:43 +0000 (20:26 -0800)]
* src/keyboard.c (input-decode-map, key-translation-map): Doc fixes.

11 years ago* doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^.
Glenn Morris [Wed, 13 Feb 2013 02:25:02 +0000 (21:25 -0500)]
* doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^.

11 years ago* doc/lispref/modes.texi (Minor Mode Conventions): Fix typo.
Glenn Morris [Wed, 13 Feb 2013 02:20:52 +0000 (21:20 -0500)]
* doc/lispref/modes.texi (Minor Mode Conventions): Fix typo.

11 years agoImprove AIX port some more.
Paul Eggert [Tue, 12 Feb 2013 18:43:11 +0000 (10:43 -0800)]
Improve AIX port some more.

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
11 years ago* pre-crt0.c (data_start): Initialize to 1.
Paul Eggert [Tue, 12 Feb 2013 18:33:42 +0000 (10:33 -0800)]
* pre-crt0.c (data_start): Initialize to 1.

This ports to compilers that optimize the external declaration
'int x = 0;' as if it were 'int x;' to shrink the executable.

11 years agoIn doc, use standard American English style for e.g., etc., i.e.
Paul Eggert [Tue, 12 Feb 2013 17:36:54 +0000 (09:36 -0800)]
In doc, use standard American English style for e.g., etc., i.e.

11 years agokeymaps.texi small fix for bug#13684
Glenn Morris [Tue, 12 Feb 2013 00:33:18 +0000 (19:33 -0500)]
keymaps.texi small fix for bug#13684

* doc/lispref/keymaps.texi (Scanning Keymaps):
Remove obsolete sentence about meta characters; this changed in 22.1.

11 years agoImprove AIX port.
Paul Eggert [Mon, 11 Feb 2013 20:32:54 +0000 (12:32 -0800)]
Improve AIX port.

This doesn't fix the bug, but it makes progress: Emacs builds now.
* unexaix.c: Include inttypes.h, stdarg.h.
(report_error, report_error_1): Mark as _Noreturn.
(report_error): Don't report the wrong errno.
(report_error_1): Now varargs.  All callers changed.
(make_hdr): Use uintptr_t, not unsigned, when converting pointers
to unsigned.  Don't use ADDR_CORRECT, as it no longer exists.
(write_ptr): Use %p to print address rather than %lx and a cast
to unsigned long.  Grow buffer a bit, to be safer.

Fixes: debbugs:13650
11 years agoFix rare aborts in bidi.c.
Eli Zaretskii [Mon, 11 Feb 2013 17:27:48 +0000 (19:27 +0200)]
Fix rare aborts in bidi.c.

 src/bidi.c (bidi_resolve_neutral): After finding the next
 non-neutral character, accept NEUTRAL_ON type as well, because
 directional control characters, such as LRE and RLE, have their
 type converted to that by bidi_resolve_weak.  This avoids aborts
 when LRE/RLE follows a run of neutrals.
 (bidi_move_to_visually_next): Assert that return value of
 bidi_peek_at_next_level is non-negative.  Negative values will
 cause an infloop.

11 years agoNEWS copyedit (consistent capitalization for top-level headings)
Glenn Morris [Mon, 11 Feb 2013 01:46:52 +0000 (17:46 -0800)]
NEWS copyedit (consistent capitalization for top-level headings)

11 years ago* doc/lispref/objects.texi (Char-Table Type): Add cindex.
Glenn Morris [Mon, 11 Feb 2013 01:21:21 +0000 (17:21 -0800)]
* doc/lispref/objects.texi (Char-Table Type): Add cindex.

11 years ago* doc/lispref/keymaps.texi (Key Binding Commands): Trivial rephrasing.
Glenn Morris [Mon, 11 Feb 2013 01:16:30 +0000 (17:16 -0800)]
* doc/lispref/keymaps.texi (Key Binding Commands): Trivial rephrasing.

11 years ago* net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
Michael Albinus [Sun, 10 Feb 2013 10:07:09 +0000 (11:07 +0100)]
* net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
if DIR exists and PARENTS is non-nil.

11 years ago* doc/emacs/trouble.texi (Checklist): Update bug keybinding.
Glenn Morris [Sun, 10 Feb 2013 01:54:16 +0000 (17:54 -0800)]
* doc/emacs/trouble.texi (Checklist): Update bug keybinding.

11 years agoChangeLog typo fix
Glenn Morris [Sun, 10 Feb 2013 01:32:14 +0000 (17:32 -0800)]
ChangeLog typo fix

11 years agolisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend
Katsumi Yamaoka [Sun, 10 Feb 2013 00:51:34 +0000 (00:51 +0000)]
lisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend

11 years agoCorrect non-standard binding of report-emacs-bug-insert-to-mailer.
Chong Yidong [Sat, 9 Feb 2013 04:43:42 +0000 (12:43 +0800)]
Correct non-standard binding of report-emacs-bug-insert-to-mailer.

* lisp/mail/emacsbug.el (report-emacs-bug): Change binding of
report-emacs-bug-insert-to-mailer to C-c M-i.

Fixes: debbugs:13510
11 years ago* doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result.
Glenn Morris [Sat, 9 Feb 2013 02:36:39 +0000 (21:36 -0500)]
* doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result.

11 years agoMore small TODO updates
Glenn Morris [Sat, 9 Feb 2013 01:57:36 +0000 (20:57 -0500)]
More small TODO updates

11 years agoRemove old TODO item - user-error was added
Glenn Morris [Fri, 8 Feb 2013 17:14:58 +0000 (09:14 -0800)]
Remove old TODO item - user-error was added

11 years agoRemove longlines entry (bug#13652)
Glenn Morris [Fri, 8 Feb 2013 17:13:46 +0000 (09:13 -0800)]
Remove longlines entry (bug#13652)

11 years agokeymaps.texi tweak
Glenn Morris [Fri, 8 Feb 2013 17:13:06 +0000 (09:13 -0800)]
keymaps.texi tweak

* doc/lispref/keymaps.texi (Active Keymaps, Searching Keymaps):
Remove confusing mention of "symbolic prefix".

Fixes: debbugs:13643
11 years ago* doc/misc/eshell.texi: Fill most of the missing sections.
Aidan Gauland [Fri, 8 Feb 2013 14:59:24 +0000 (09:59 -0500)]
* doc/misc/eshell.texi: Fill most of the missing sections.

11 years ago* doc/misc/eshell.texi: Fill most of the missing sections. emacs-23
Aidan Gauland [Fri, 8 Feb 2013 14:44:17 +0000 (09:44 -0500)]
* doc/misc/eshell.texi: Fill most of the missing sections.

11 years agosrc/xdisp.c: Fix commentary of display_count_lines.
Eli Zaretskii [Fri, 8 Feb 2013 14:27:04 +0000 (16:27 +0200)]
src/xdisp.c: Fix commentary of display_count_lines.

11 years agoRegenerate AUTHORS and ldefs-boot.el emacs-24.2.93
Glenn Morris [Thu, 7 Feb 2013 08:03:47 +0000 (00:03 -0800)]
Regenerate AUTHORS and ldefs-boot.el

11 years agoChangeLog author fix
Glenn Morris [Thu, 7 Feb 2013 07:40:58 +0000 (23:40 -0800)]
ChangeLog author fix

11 years agoMerge Org 7.9.3e (commit b07a9bb).
Bastien Guerry [Thu, 7 Feb 2013 07:11:59 +0000 (08:11 +0100)]
Merge Org 7.9.3e (commit b07a9bb).

11 years agoAuto-commit of generated files.
Glenn Morris [Thu, 7 Feb 2013 06:16:17 +0000 (01:16 -0500)]
Auto-commit of generated files.

11 years agoBump version number to 24.2.93
Glenn Morris [Thu, 7 Feb 2013 06:15:20 +0000 (22:15 -0800)]
Bump version number to 24.2.93

11 years ago* auth-source.el (auth-source-format-prompt): Don't get confused by any "\"
Gabor Vida [Thu, 7 Feb 2013 01:53:26 +0000 (20:53 -0500)]
* auth-source.el (auth-source-format-prompt): Don't get confused by any "\"
in replacement text.

Fixes: debbugs:13637
11 years agoChangeLog date fix (do not merge to trunk)
Glenn Morris [Wed, 6 Feb 2013 04:37:28 +0000 (20:37 -0800)]
ChangeLog date fix (do not merge to trunk)

11 years ago* doc/misc/cl.texi (Equality Predicates): Mention memql.
Glenn Morris [Wed, 6 Feb 2013 04:36:44 +0000 (20:36 -0800)]
* doc/misc/cl.texi (Equality Predicates): Mention memql.

11 years agoBackport fix for execvp issue from trunk
Daniel Colascione [Tue, 5 Feb 2013 23:52:03 +0000 (15:52 -0800)]
Backport fix for execvp issue from trunk

11 years agoede.texi typo fixes
Glenn Morris [Mon, 4 Feb 2013 03:07:26 +0000 (19:07 -0800)]
ede.texi typo fixes

11 years agoUpdate EDE documentation (bug #11441).
Eric M. Ludlam [Sun, 3 Feb 2013 20:04:46 +0000 (21:04 +0100)]
Update EDE documentation (bug #11441).

* doc/misc/ede.texi (Creating a project): Make ede-new doc less
specific, and only about items it supports, indicating that there
might be more.  Remove refs to simple project and direct automake
from ede new.
(Simple projects): Re-write to not talk about ede-simple-project
which is deprecated, and instead use the term to mean projects
that don't do much management, just project wrapping.  Add
ede-generic-project link.
(ede-generic-project): New node (bug#11441).

11 years ago* doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry.
Glenn Morris [Sun, 3 Feb 2013 19:40:00 +0000 (11:40 -0800)]
* doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry.

11 years agoFix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor.
Alan Mackenzie [Sat, 2 Feb 2013 18:24:10 +0000 (18:24 +0000)]
Fix bug in the state cache mechanism.  Remove 'BOD "strategy".  Refactor.
cc-engine.el (c-get-fallback-scan-pos): Remove.
(c-parse-state-get-strategy): Don't return 'BOD any more.
(c-append-lower-brace-pair-to-state-cache): Extra parameter HERE instead
of narrowing.  Widen to top of buffer before searching backwards for a
brace pair.
(c-state-push-any-brace-pair): Add HERE parameter to function call.
(c-append-to-state-cache): Extra parameter HERE in place of narrowing.
Narrow to parameter HERE, in place of being called narrowed.
(c-remove-stale-state-cache): Extra parameter HERE in place of narrowing.
Check there's an open brace in the cache before searching for its match.
(c-invalidate-state-cache-1): Add HERE parameter to function call.
(c-parse-state-1): Don't narrow here for 'forward strategy, instead
passing extra parameter HERE to several functions.  Remove 'BOD strategy.

11 years agoUpdate nt/INSTALL.
Eli Zaretskii [Sat, 2 Feb 2013 08:23:52 +0000 (10:23 +0200)]
Update nt/INSTALL.

11 years ago* lisp/mouse.el (mouse-drag-track): Always deactivate the mark before
Stefan Monnier [Fri, 1 Feb 2013 23:40:55 +0000 (18:40 -0500)]
* lisp/mouse.el (mouse-drag-track): Always deactivate the mark before
running the final event's command since that command is in charge of
activating the mark if needed.

Fixes: debbugs:13523
11 years ago* lisp/replace.el (perform-replace): Move let-bindings of isearch-*
Juri Linkov [Fri, 1 Feb 2013 23:38:41 +0000 (01:38 +0200)]
* lisp/replace.el (perform-replace): Move let-bindings of isearch-*
variables deeper to the loop that searches for the next match.
Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
Use `isearch-search-fun-default' instead of `isearch-search-fun'.

* lisp/isearch.el (isearch-search-fun-default): Check for null
first element of isearch-cmds as a precaution when it's used
with inactive isearch.

Fixes: debbugs:13579
11 years ago* net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
Andrew W. Nosenko [Fri, 1 Feb 2013 21:10:08 +0000 (22:10 +0100)]
* net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
error when buffer in question is narrowed so position 1 is out of
visible part.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Fri, 1 Feb 2013 12:18:14 +0000 (07:18 -0500)]
Auto-commit of loaddefs files.

11 years agoMake sure program names are encoded before using them to invoke subprocesses.
Eli Zaretskii [Fri, 1 Feb 2013 10:15:36 +0000 (12:15 +0200)]
Make sure program names are encoded before using them to invoke subprocesses.

 src/callproc.c (Fcall_process): Make sure program name in PATH and
 new_argv[0] is encoded, if needed.  Otherwise, un-encoded string
 is passed to exec/spawnve, which fails unless the file-name
 encoding is UTF-8.

11 years agow32proc.c (sys_spawnve): Initialize escape_char.
Eli Zaretskii [Fri, 1 Feb 2013 09:23:23 +0000 (11:23 +0200)]
w32proc.c (sys_spawnve): Initialize escape_char.

 src/w32proc.c (sys_spawnve): Make sure escape_char is initialized,
 even if w32-quote-process-args is nil.

11 years agoSync CEDET and EIEIO version numbers with upstream.
David Engster [Thu, 31 Jan 2013 19:58:56 +0000 (20:58 +0100)]
Sync CEDET and EIEIO version numbers with upstream.

11 years ago* lisp/textmodes/remember.el (remember-clipboard): Doc fix.
Glenn Morris [Thu, 31 Jan 2013 17:03:53 +0000 (09:03 -0800)]
* lisp/textmodes/remember.el (remember-clipboard): Doc fix.

11 years ago* lisp/progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
Stefan Monnier [Wed, 30 Jan 2013 20:43:02 +0000 (15:43 -0500)]
* lisp/progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
properties.

Fixes: debbugs:13179
11 years agomouse-drag-line changes for mouse-1 in header-line
Glenn Morris [Wed, 30 Jan 2013 17:14:24 +0000 (09:14 -0800)]
mouse-drag-line changes for mouse-1 in header-line

* lisp/mouse.el (mouse-drag-line): Avoid pushing same event onto
unread-command-events twice in some cases.  This tries to implement
the 2012-07-26 changes in a different way.

Fixes: debbugs:13560
11 years ago* progmodes/python.el
Fabián Ezequiel Gallina [Wed, 30 Jan 2013 15:02:58 +0000 (12:02 -0300)]
* progmodes/python.el
(python-pdbtrack-comint-output-filter-function): Enhancements on
stacktrace detection.  (thanks @gnovak)

11 years agoChangeLog date fix
Glenn Morris [Wed, 30 Jan 2013 07:47:11 +0000 (23:47 -0800)]
ChangeLog date fix

11 years ago* imenu.el (imenu-default-create-index-function):
Glenn Morris [Wed, 30 Jan 2013 07:46:28 +0000 (23:46 -0800)]
* imenu.el (imenu-default-create-index-function):
Put back a version of the infinite loop test removed 2013-01-23.

11 years ago* progmodes/python.el (python-shell-parse-command): Find
Fabián Ezequiel Gallina [Mon, 28 Jan 2013 21:59:42 +0000 (18:59 -0300)]
* progmodes/python.el (python-shell-parse-command): Find
python-shell-interpreter with modified environment.

11 years agoSync Version: headers with -version variables
Glenn Morris [Mon, 28 Jan 2013 00:34:22 +0000 (16:34 -0800)]
Sync Version: headers with -version variables

11 years agoTentative fix for bug #13546 with failure to save files on Windows.
Eli Zaretskii [Sun, 27 Jan 2013 08:04:16 +0000 (10:04 +0200)]
Tentative fix for bug #13546 with failure to save files on Windows.

 src/w32.c (sys_open): Zero out the flags for the new file descriptor.
 (sys_close): Zero out the flags for the file descriptor before
 closing it.

11 years ago* lisp/emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
Stefan Monnier [Sun, 27 Jan 2013 00:17:11 +0000 (19:17 -0500)]
* lisp/emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.

11 years agoFix bug #13553 with usage of IS_DIRECTORY_SEP on MS-Windows under DBCS.
Eli Zaretskii [Sat, 26 Jan 2013 12:49:34 +0000 (14:49 +0200)]
Fix bug #13553 with usage of IS_DIRECTORY_SEP on MS-Windows under DBCS.

 src/w32.c (parse_root, get_volume_info, readdir, read_unc_volume)
 (logon_network_drive, stat_worker, symlink, chase_symlinks): Use
 CharNextExA and CharPrevExA to iterate over file names encoded in
 DBCS.

11 years agoUse file-name-coding-system when decoding symlinks on MS-Windows.
Eli Zaretskii [Fri, 25 Jan 2013 14:47:37 +0000 (16:47 +0200)]
Use file-name-coding-system when decoding symlinks on MS-Windows.

 src/w32.c (readlink): Use the current file-name-coding-system, not the ANSI
 codepage, to decode and handle targets of symlinks.

11 years agoSupport MS-Windows file names encoded in multibyte encodings.
Eli Zaretskii [Fri, 25 Jan 2013 14:34:26 +0000 (16:34 +0200)]
Support MS-Windows file names encoded in multibyte encodings.

 src/w32.c (w32_get_long_filename, init_environment, readlink):
 Support file names encoded in DBCS codepages.

11 years ago* lisp/progmodes/python.el: Enhancements to header documentation about
Fabián Ezequiel Gallina [Thu, 24 Jan 2013 01:24:09 +0000 (22:24 -0300)]
* lisp/progmodes/python.el: Enhancements to header documentation about
skeletons.

Fixes: debbugs:5716
11 years ago* imenu.el (imenu-default-create-index-function): Remove useless
Fabián Ezequiel Gallina [Wed, 23 Jan 2013 21:55:46 +0000 (18:55 -0300)]
* imenu.el (imenu-default-create-index-function): Remove useless
infinite loop check.

Fixes: debbugs:13438
11 years agoFix a bug in the state cache mechanism. Refactor this a bit.
Alan Mackenzie [Wed, 23 Jan 2013 18:58:11 +0000 (18:58 +0000)]
Fix a bug in the state cache mechanism.  Refactor this a bit.

cc-engine.el (c-parse-state-get-strategy): Remove the `cache-pos' element
from the return value.
(c-append-lower-brace-pair-to-state-cache): "Narrow" to end of buffer to
enable proper searching from beyond HERE.
Amend the test for detecting the sought brace pair.  Amend the value
written to the "brace desert cache" when the brace isn't found.
(c-remove-stale-state-cache): Rename `good-pos' to `start-point', and
several other variables analogously.
(c-remove-stale-state-cache-backwards): Change `cache-pos' from a
parameter to a locally calculated variable.
(c-parse-state-1): Change the calling conventions to the two defuns
involving `cache-pos'.

11 years agoFix bug #13515 with processing DBCS file names on MS-Windows.
Eli Zaretskii [Wed, 23 Jan 2013 16:11:04 +0000 (18:11 +0200)]
Fix bug #13515 with processing DBCS file names on MS-Windows.

 src/w32.c (max_filename_mbslen): New function.
 (normalize_filename, readdir): Use it to detect locales where ANSI
 encoding of file names uses a double-byte character set (DBCS).
 If a DBCS encoding is used, advance by characters using
 CharNextExA, instead of incrementing a 'char *' pointer.  Use
 _mbslwr instead of _strlwr.

11 years ago* xml.el (xml-entity-or-char-ref-re): Fix regexp.
Chong Yidong [Wed, 23 Jan 2013 06:25:50 +0000 (14:25 +0800)]
* xml.el (xml-entity-or-char-ref-re): Fix regexp.

This bug was reported by Jae-oh Kim; it was posted to bug-gnu-emacs
but didn't show up in the bug tracker for some reason.  It is a
regression against Emacs 24.2.

11 years agoFix bug #13065 with file selector dialog on Windows 7.
Eli Zaretskii [Tue, 22 Jan 2013 13:30:17 +0000 (15:30 +0200)]
Fix bug #13065 with file selector dialog on Windows 7.

 src/w32heap.c (allocate_heap) [!_WIN64]: Decrease the initial
 request of memory reservation to 1.7GB.

11 years agoFixes: debbugs:13505
Andreas Schwab [Sun, 20 Jan 2013 22:59:47 +0000 (23:59 +0100)]
Fixes: debbugs:13505
* src/coding.c (detect_coding_iso_2022): Move back mis-reordered code
at check_extra_latin label.