]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years ago* doc/man/emacs.1: Add some more command-line options.
Petr Hracek [Wed, 10 Apr 2013 01:39:02 +0000 (18:39 -0700)]
* doc/man/emacs.1: Add some more command-line options.

Fixes: debbugs:14165
11 years agoBackport trunk 2013-03-26T00:42:08Z!monnier@iro.umontreal.ca em-prompt fix
Stefan Monnier [Sat, 6 Apr 2013 23:05:53 +0000 (16:05 -0700)]
Backport trunk 2013-03-26T00:42:08Z!monnier@iro.umontreal.ca em-prompt fix

* lisp/eshell/em-prompt.el (eshell-emit-prompt):
Make sure we can't insert into the prompt either.

Fixes: debbugs:13963
11 years agoStandardize license notice
Glenn Morris [Sat, 30 Mar 2013 16:52:28 +0000 (09:52 -0700)]
Standardize license notice

11 years agoRelicense under GPLv3 or later
Glenn Morris [Sat, 30 Mar 2013 16:42:17 +0000 (09:42 -0700)]
Relicense under GPLv3 or later

11 years agoBackport copyright fix from trunk
Glenn Morris [Sat, 30 Mar 2013 16:37:47 +0000 (09:37 -0700)]
Backport copyright fix from trunk

11 years agoUn-indent after "pass" and "return" statements
Fabián Ezequiel Gallina [Tue, 26 Mar 2013 01:55:11 +0000 (22:55 -0300)]
Un-indent after "pass" and "return" statements
* lisp/progmodes/python.el (python-indent-block-enders): New var.
(python-indent-calculate-indentation): Use it.

* test/automated/python-tests.el
(python-indent-block-enders): New test.
(python-info-current-defun-2): Fix test.

Fixes: debbugs:13888
11 years ago* net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
Michael Albinus [Mon, 25 Mar 2013 09:16:31 +0000 (10:16 +0100)]
* net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
defun.  Defining it as defalias could introduce too eager
byte-compiler optimization.  (Bug#14030)

11 years ago* iswitchb.el (iswitchb-read-buffer): Fix typo.
Chong Yidong [Mon, 25 Mar 2013 03:53:46 +0000 (11:53 +0800)]
* iswitchb.el (iswitchb-read-buffer): Fix typo.

11 years ago* progmodes/scheme.el: Add indentation and font-locking for λ.
Leo Liu [Sat, 16 Mar 2013 15:24:39 +0000 (23:24 +0800)]
* progmodes/scheme.el: Add indentation and font-locking for λ.

Fixes: debbugs:13975
11 years ago* lisp/emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
Stefan Monnier [Thu, 14 Mar 2013 14:48:03 +0000 (10:48 -0400)]
* lisp/emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
token before point.

Fixes: debbugs:13942
11 years ago* thingatpt.el (end-of-sexp): Use syntax-after.
Leo Liu [Thu, 14 Mar 2013 14:16:00 +0000 (22:16 +0800)]
* thingatpt.el (end-of-sexp): Use syntax-after.

11 years ago* thingatpt.el (end-of-sexp): Fix bug#13952.
Leo Liu [Thu, 14 Mar 2013 11:48:05 +0000 (19:48 +0800)]
* thingatpt.el (end-of-sexp): Fix bug#13952.

11 years ago* admin/admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi.
Glenn Morris [Thu, 14 Mar 2013 04:59:13 +0000 (21:59 -0700)]
* admin/admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi.

11 years ago* leim/quail/latin-ltx.el: Resolve conflicts.
Stefan Monnier [Thu, 14 Mar 2013 03:00:18 +0000 (23:00 -0400)]
* leim/quail/latin-ltx.el: Resolve conflicts.
(latin-ltx--mark-map, latin-ltx--mark-re): New constants.
(latin-ltx--define-rules): Check for conflicts.  Eval `re's.
(rules): Use tighter regexps to avoid conflicts.
Consolidate the various rules for combining marks.

Fixes: debbugs:13950
11 years ago* pop.c: Fix ERRMAX typo (Bug#13925).
Paul Eggert [Tue, 12 Mar 2013 22:00:07 +0000 (15:00 -0700)]
* pop.c: Fix ERRMAX typo (Bug#13925).

(socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
Use ERROR_MAX, not ERRMAX.

11 years agoTweaks for www.gnu.org html versions of manuals
Glenn Morris [Tue, 12 Mar 2013 07:15:15 +0000 (00:15 -0700)]
Tweaks for www.gnu.org html versions of manuals

* admin/admin.el (manual-html-mono, manual-html-node): Add -DWWW_GNU_ORG.

* doc/emacs/emacs.texi (Top): Add some stuff specific to www.gnu.org.

* doc/lispintro/emacs-lisp-intro.texi: Add some stuff specific to www.gnu.org.

* doc/lispref/elisp.texi: Add some stuff specific to www.gnu.org.

11 years agoSmall updates for make-manuals admin scripts
Glenn Morris [Mon, 11 Mar 2013 08:09:21 +0000 (01:09 -0700)]
Small updates for make-manuals admin scripts

* admin/admin.el (make-manuals): Add emacs-lisp-intro and some more
doc/misc manuals.
(manual-html-mono, manual-html-node, manual-txt): Pass -I to makeinfo.

11 years agoAdd 24.3 release to ChangeLogs emacs-24.3
Glenn Morris [Mon, 11 Mar 2013 02:35:23 +0000 (19:35 -0700)]
Add 24.3 release to ChangeLogs

11 years agoFix critical bug in Org.
Bastien Guerry [Fri, 8 Mar 2013 06:37:21 +0000 (07:37 +0100)]
Fix critical bug in Org.

11 years agoAuto-commit of generated files.
Glenn Morris [Wed, 6 Mar 2013 12:17:43 +0000 (07:17 -0500)]
Auto-commit of generated files.

11 years agoFix a build failure on OpenBSD 4.x and MirBSD.
Paul Eggert [Wed, 6 Mar 2013 07:46:09 +0000 (23:46 -0800)]
Fix a build failure on OpenBSD 4.x and MirBSD.

* sysdep.c (list_system_processes): Make it a stub on all BSD_SYSTEM
hosts, except for DARWIN_OS and FreeBSD where it's been tested.

Fixes: debbugs:13881
11 years agoFix a build failure on OpenBSD 4.x and MirBSD.
Paul Eggert [Tue, 5 Mar 2013 21:56:36 +0000 (13:56 -0800)]
Fix a build failure on OpenBSD 4.x and MirBSD.

* sysdep.c (list_system_processes) [__OpenBSD__ || __MirBSD__]:
Make it a stub in this case; otherwise the build might fail,
and even if the build worked the function would just return nil anyway.
Problem reported by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html>
and analyzed by Jérémie Courrèges-Anglas in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00062.html>.

Fixes: debbugs:13881
11 years ago* configure.ac (TERM_HEADER): Remove duplicate definition.
Paul Eggert [Tue, 5 Mar 2013 17:25:50 +0000 (09:25 -0800)]
* configure.ac (TERM_HEADER): Remove duplicate definition.

It can mess up 'configure' runs.

Fixes: debbugs:13872
11 years agoRegenerate AUTHORS and ldefs-boot.el emacs-24.3-rc1
Glenn Morris [Tue, 5 Mar 2013 03:55:25 +0000 (19:55 -0800)]
Regenerate AUTHORS and ldefs-boot.el

11 years agoBump version to 24.3 (only a release candidate at the moment)
Glenn Morris [Tue, 5 Mar 2013 03:53:34 +0000 (19:53 -0800)]
Bump version to 24.3 (only a release candidate at the moment)

11 years ago* Makefile.in (install-man): Ignore gzip exit status.
Glenn Morris [Tue, 5 Mar 2013 03:43:52 +0000 (19:43 -0800)]
* Makefile.in (install-man): Ignore gzip exit status.

11 years agoAlso port to MirBSD.
Paul Eggert [Tue, 5 Mar 2013 02:15:35 +0000 (18:15 -0800)]
Also port to MirBSD.

11 years agoFix a build failure on OpenBSD 4.x.
Paul Eggert [Tue, 5 Mar 2013 02:03:05 +0000 (18:03 -0800)]
Fix a build failure on OpenBSD 4.x.

* sysdep.c (KERN_PROC, kinfo_proc) [BSD_SYSTEM && !KERN_PROC]:
Define to KERN_PROC2 and kinfo_proc2, for OpenBSD 4.9.
list-system-processes still returns nil, but at least it doesn't crash.
Problem reported by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html>.

11 years ago* emacs-lisp-intro.texi (Simple Extension): Fix typos.
Glenn Morris [Sun, 3 Mar 2013 18:44:56 +0000 (10:44 -0800)]
* emacs-lisp-intro.texi (Simple Extension): Fix typos.

11 years ago* emacs-lisp-intro.texi (defcustom): Fix typo.
Glenn Morris [Sun, 3 Mar 2013 02:37:26 +0000 (18:37 -0800)]
* emacs-lisp-intro.texi (defcustom): Fix typo.

11 years ago* emacs-lisp-intro.texi (Digression into C): Update example.
Glenn Morris [Sun, 3 Mar 2013 02:34:48 +0000 (18:34 -0800)]
* emacs-lisp-intro.texi (Digression into C): Update example.

11 years ago* doc/lispref/objects.texi (Symbol Type): Fix typo.
Glenn Morris [Sun, 3 Mar 2013 02:09:31 +0000 (18:09 -0800)]
* doc/lispref/objects.texi (Symbol Type): Fix typo.

11 years agoFixes: debbugs:13734
Andreas Schwab [Sat, 2 Mar 2013 07:48:18 +0000 (08:48 +0100)]
Fixes: debbugs:13734
* lisp.h (XPNTR) [!USE_LSB_TAG]: Remove extra paren.

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

11 years agoNEWS copyedits
Glenn Morris [Fri, 1 Mar 2013 08:24:44 +0000 (00:24 -0800)]
NEWS copyedits

11 years ago* etc/NEWS: Add entries for ruby-mode.
Dmitry Gutov [Thu, 28 Feb 2013 22:18:25 +0000 (02:18 +0400)]
* etc/NEWS: Add entries for ruby-mode.

11 years ago* doc/misc/org.texi: Fix previous change.
Glenn Morris [Thu, 28 Feb 2013 06:21:39 +0000 (22:21 -0800)]
* doc/misc/org.texi: Fix previous change.

11 years agoNEWS copyedits
Glenn Morris [Thu, 28 Feb 2013 06:20:10 +0000 (22:20 -0800)]
NEWS copyedits

11 years agoMerge latest Org fixes (commit 7524ef2).
Bastien Guerry [Thu, 28 Feb 2013 00:31:26 +0000 (01:31 +0100)]
Merge latest Org fixes (commit 7524ef2).

11 years ago* NEWS: Add paragraphs for CEDET and EIEIO.
David Engster [Wed, 27 Feb 2013 21:04:56 +0000 (22:04 +0100)]
* NEWS: Add paragraphs for CEDET and EIEIO.

11 years agow32.c (sys_open): Don't reset the flags for FD in fd_info[].
Eli Zaretskii [Wed, 27 Feb 2013 18:00:57 +0000 (20:00 +0200)]
w32.c (sys_open): Don't reset the flags for FD in fd_info[].

Related to bug #13546.

11 years ago* variables.texi (File Local Variables): Fix reference.
Bastien Guerry [Wed, 27 Feb 2013 12:12:20 +0000 (13:12 +0100)]
* variables.texi (File Local Variables): Fix reference.

Thanks to Aurélien Aptel and for reporting this problem
and to Xue Fuqiao for suggesting a fix.

11 years ago* xresources.texi (GTK resources): Fix broken link.
Bastien Guerry [Wed, 27 Feb 2013 07:32:16 +0000 (08:32 +0100)]
* xresources.texi (GTK resources): Fix broken link.

Thanks to Mariano Street for reporting this and suggesting
the correct link.

11 years ago* lisp/textmodes/paragraphs.el (mark-paragraph): Doc fix.
Glenn Morris [Mon, 25 Feb 2013 19:43:44 +0000 (14:43 -0500)]
* lisp/textmodes/paragraphs.el (mark-paragraph): Doc fix.

11 years ago* automated/python-tests.el
Fabián Ezequiel Gallina [Mon, 25 Feb 2013 15:02:05 +0000 (12:02 -0300)]
* automated/python-tests.el
(python-tests-with-temp-buffer): Doc fix.
(python-tests-with-temp-file): New macro.
(python-tests-shell-interpreter): New var.
(python-shell-get-process-name-1)
(python-shell-internal-get-process-name-1)
(python-shell-parse-command-1)
(python-shell-calculate-process-environment-1)
(python-shell-calculate-process-environment-2)
(python-shell-calculate-process-environment-3)
(python-shell-calculate-exec-path-1)
(python-shell-calculate-exec-path-2)
(python-shell-make-comint-1)
(python-shell-make-comint-2)
(python-shell-get-process-1)
(python-shell-get-or-create-process-1)
(python-shell-internal-get-or-create-process-1): New tests.

11 years ago* tramp.texi (top) [xxx, yyy, trampfn]: Provide two versions of
Michael Albinus [Mon, 25 Feb 2013 08:29:59 +0000 (09:29 +0100)]
* tramp.texi (top) [xxx, yyy, trampfn]: Provide two versions of
the macros, for Texinfo 4.13 and 5.0.

11 years agoPort documentation to Texinfo 5.0.
Michael Albinus [Sun, 24 Feb 2013 17:58:55 +0000 (18:58 +0100)]
Port documentation to Texinfo 5.0.

* tramp.texi (top) [xxx, yyy, trampfn]: Remove superfluous @c.
(Filename Syntax): Do not use @trampfn{} in @item.
(Filename completion): Use @columnfractions in @multitable.

11 years agoFixes: debbugs:13797
Andreas Schwab [Sun, 24 Feb 2013 08:09:24 +0000 (09:09 +0100)]
Fixes: debbugs:13797
* xdisp.c (set_message): Only check for debug-on-message if STRING
is a string.

11 years agoFix regression introduced by July 10 filelock.c patch.
Paul Eggert [Sun, 24 Feb 2013 00:21:06 +0000 (16:21 -0800)]
Fix regression introduced by July 10 filelock.c patch.

* filelock.c (fill_in_lock_file_name): Fix crash caused by the
2012-07-10 patch to this file.  Reported by Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00533.html>
and diagnosed by Andreas Schwab in
<http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00534.html>.

11 years agoTODO update
Glenn Morris [Sat, 23 Feb 2013 21:15:54 +0000 (13:15 -0800)]
TODO update

11 years agoMinor improvements in the ELisp manual.
Eli Zaretskii [Sat, 23 Feb 2013 10:55:13 +0000 (12:55 +0200)]
Minor improvements in the ELisp manual.

 doc/lispref/files.texi (Magic File Names): Improve wording and indexing.

11 years ago* ack.texi, emacs.texi (Acknowledgments): Small updates
Glenn Morris [Fri, 22 Feb 2013 17:10:58 +0000 (09:10 -0800)]
* ack.texi, emacs.texi (Acknowledgments): Small updates

11 years agoImprove instructions in etc/DEBUG, per bug #13775.
Eli Zaretskii [Fri, 22 Feb 2013 09:22:21 +0000 (11:22 +0200)]
Improve instructions in etc/DEBUG, per bug #13775.

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.