]> code.delx.au - gnu-emacs/log
gnu-emacs
11 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use let.
Stefan Monnier [Mon, 25 Feb 2013 23:27:50 +0000 (18:27 -0500)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use let.

11 years agolisp/gnus/mml2015.el (mml2015-epg-key-image): Wrap epg-gpg-program in shell-quote...
Adam Sjøgren [Mon, 25 Feb 2013 22:47:31 +0000 (22:47 +0000)]
lisp/gnus/mml2015.el (mml2015-epg-key-image): Wrap epg-gpg-program in shell-quote-argument

11 years ago* lisp/replace.el (read-regexp): Let-bind `default' to the first
Juri Linkov [Mon, 25 Feb 2013 20:57:44 +0000 (22:57 +0200)]
* lisp/replace.el (read-regexp): Let-bind `default' to the first
element of `defaults' if it's a list, otherwise it should be
a string or nil.  Let-bind `suggestions' to `defaults' if it's
a list, otherwise make a list with the string value.  Doc fix.

Fixes: debbugs:13805
11 years agoImplement CLASH_DETECTION for MS-Windows.
Eli Zaretskii [Mon, 25 Feb 2013 17:36:03 +0000 (19:36 +0200)]
Implement CLASH_DETECTION for MS-Windows.

 src/filelock.c [WINDOWSNT]: Include w32.h.
 (MAKE_LOCK_NAME): Don't use 'lock', it clashes with MS runtime
 function of that name.  Up-case the macro arguments.
 (IS_LOCK_FILE): New macro.
 (fill_in_lock_file_name): Use IS_LOCK_FILE instead of S_ISLNK.
 (create_lock_file): New function, with body extracted from
 lock_file_1.
 [WINDOWSNT]: Implement lock files by writing a regular file with
 the lock information as its contents.
 (read_lock_data): New function, on Posix platforms just calls
 emacs_readlinkat.
 [WINDOWSNT]: Read the lock info from the file.
 (current_lock_owner): Call read_lock_data instead of calling
 emacs_readlinkat directly.
 (lock_file) [WINDOWSNT]: Run the file name through
 dostounix_filename.
 src/w32proc.c (sys_kill): Support the case of SIG = 0, in which case
 just check if the process by that PID exists.
 src/w32.c (sys_open): Don't reset the _O_CREAT flag if _O_EXCL is
 also present, as doing so will fail to error out if the file
 already exists.
 src/makefile.w32-in ($(BLD)/filelock.$(O)): Depend on src/w32.h.

 nt/inc/ms-w32.h (BOOT_TIME_FILE): Define.
 nt/config.nt (CLASH_DETECTION): Define to 1.

 lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
 that match "\`\.#", to avoid compiling lock files, even if they
 are readable (as they are on MS-Windows).

 doc/emacs/files.texi (Interlocking): Don't refer to symlinks as the
 exclusive means of locking files.

 etc/NEWS: Mention support for lock files on MS-Windows.

11 years ago* NEWS: Document removal of --with-crt-dir.
Paul Eggert [Mon, 25 Feb 2013 17:01:41 +0000 (09:01 -0800)]
* NEWS: Document removal of --with-crt-dir.

11 years agoFix bug #13743 with crashes due to recursive add-text-properties.
Eli Zaretskii [Mon, 25 Feb 2013 16:13:42 +0000 (18:13 +0200)]
Fix bug #13743 with crashes due to recursive add-text-properties.

 src/textprop.c (Fadd_text_properties, Fremove_text_properties)
 (Fremove_list_of_text_properties): Skip all of the intervals in
 the region between START and END that already have resp. don't
 have the requested properties, not just the first one.  Add
 assertions that the loop afterwards always modifies the
 properties.

11 years ago* src/callint.c (Fcall_interactively): Use the right lexical environment
Stefan Monnier [Mon, 25 Feb 2013 16:05:49 +0000 (11:05 -0500)]
* src/callint.c (Fcall_interactively): Use the right lexical environment
for `interactive' specs.
* src/eval.c (Feval): Accept a lexical environment.

Fixes: debbugs:13811
11 years ago* lisp/files.el (basic-save-buffer): Remove redundant directory-creation.
Stefan Monnier [Mon, 25 Feb 2013 14:29:41 +0000 (09:29 -0500)]
* lisp/files.el (basic-save-buffer): Remove redundant directory-creation.

11 years agoAuto-commit of generated files.
Glenn Morris [Mon, 25 Feb 2013 11:17:36 +0000 (06:17 -0500)]
Auto-commit of generated files.

11 years agoSpelling fixes.
Paul Eggert [Mon, 25 Feb 2013 07:49:40 +0000 (23:49 -0800)]
Spelling fixes.

11 years agoSimplify data_start configuration.
Paul Eggert [Mon, 25 Feb 2013 05:55:37 +0000 (21:55 -0800)]
Simplify data_start configuration.

This is a followon simplification to the fix for Bug#13650.
* admin/CPP-DEFINES (DATA_START, ORDINARY_LINK): Remove.
* configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START)
(LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove.
(AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's
not always needed.
(HAVE_DATA_START): New macro.
* etc/PROBLEMS (LIBS_SYSTEM, LIBS_MACHINE, LIBS_STANDARD): Remove.
Remove legacy-systems section, as this stuff is no longer
applicable with current linking strategies.
* src/Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD)
(START_FILES): Remove.  All uses removed.
(otherobj): Remove $(VMLIMIT_OBJ), as it's now first.
(ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first.
(buildobj.h): Use it.
($(ALLOBJS)): Depend on globals.h.
(temacs$(EXEEXT)): Use $(ALLOBJS).
* src/autodeps.mk (ALLOBJS): Move to Makefile.in.
* src/deps.mk (vm-limit.o):
* src/makefile.w32-in ($(BLD)/vm-limit.$(O)):
Do not depend on mem-limits.h.
* src/emacs.c (__do_global_ctors, __do_global_ctors_aux)
(__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__)
[__GNUC__ && !ORDINARY_LINK]: Remove.
* src/mem-limits.h, src/pre-crt0.c: Remove.
* src/unexaix.c, src/unexcoff.c: Don't include mem-limits.h.
* src/unexcoff.c (etext): New decl.
(make_hdr): Use it instead of start_of_data.
* src/vm-limit.c: Move most of mem-limits.h's contents here.
(data_start): New decl.  It's OK if this is approximate,
so simplify-away some unnecessary exactness.
(POINTER): Remove; all uses removed.
(data_space_start): Now char *, to avoid casts.
(exceeds_lisp_ptr): New function, replacing the old
EXCEEDS_LISP_PTR macro.  All uses changed.
(check_memory_limits): Simplify and remove casts.
(start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove.
(memory_warnings): Use data_start instead of start_of_data.

Fixes: debbugs:13783
11 years agognus-registry.el: Silence XEmacs byte compiler
David Engster [Sun, 24 Feb 2013 22:44:49 +0000 (22:44 +0000)]
gnus-registry.el: Silence XEmacs byte compiler

11 years agoMerge from emacs-24; up to 2012-12-22T19:09:52Z!rgm@gnu.org
Glenn Morris [Sun, 24 Feb 2013 19:45:17 +0000 (11:45 -0800)]
Merge from emacs-24; up to 2012-12-22T19:09:52Z!rgm@gnu.org

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 ago* lisp/eshell/em-cmpl.el: Corrected "context-related help"
Aidan Gauland [Sun, 24 Feb 2013 05:34:22 +0000 (18:34 +1300)]
* lisp/eshell/em-cmpl.el: Corrected "context-related help"
keybinding in commentary.

11 years ago* calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
Jay Belanger [Sun, 24 Feb 2013 01:05:13 +0000 (19:05 -0600)]
* calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
  Add option to force `pi' to remain symbolic.
* calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
  (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
  (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
  derivatives, when necessary.

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 agoUpdate ps-mode.el from upstream
Peter Kleiweg [Sat, 23 Feb 2013 22:06:45 +0000 (14:06 -0800)]
Update ps-mode.el from upstream

* lisp/progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
(ps-mode-octal-region): Use string-make-unibyte.

11 years agoAdd bug-gnu-emacs to some specialized bug report addresses
Glenn Morris [Sat, 23 Feb 2013 21:54:00 +0000 (13:54 -0800)]
Add bug-gnu-emacs to some specialized bug report addresses

* emulation/viper-cmd.el (viper-submit-report):
* progmodes/ps-mode.el (ps-mode-maintainer-address):
* progmodes/vera-mode.el (vera-mode-help-address):
* textmodes/artist.el (artist-maintainer-address):
* textmodes/reftex.el (reftex-report-bug):
* vc/ediff-util.el (ediff-submit-report):
Add bug-gnu-emacs to bug report address.

11 years agoMake simula.el special bug reporting obsolete
Glenn Morris [Sat, 23 Feb 2013 21:49:41 +0000 (13:49 -0800)]
Make simula.el special bug reporting obsolete

* progmodes/simula.el (simula-mode-menu, simula-mode-map):
Remove bug report entries.
(simula-mode-help-address, simula-submit-bug-report): Make obsolete.

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

11 years agoAvoid recursive byte-compile-files fighting over input/output buffers
Glenn Morris [Sat, 23 Feb 2013 21:14:36 +0000 (13:14 -0800)]
Avoid recursive byte-compile-files fighting over input/output buffers

* lisp/emacs-lisp/bytecomp.el (byte-compile-level): New.
(byte-compile-file, byte-compile-from-buffer):
Use separate input/output buffers for each level of recursive
byte-compile-file calls.

Fixes: debbugs:13787
11 years ago* net/tramp.el (tramp-methods): Fix docstring.
Michael Albinus [Sat, 23 Feb 2013 12:40:14 +0000 (13:40 +0100)]
* net/tramp.el (tramp-methods): Fix docstring.
(tramp-ssh-controlmaster-options): Rename it from
`tramp-ssh-controlmaster-template'.  Return a string.
(tramp-default-method): Adapt check for
`tramp-ssh-controlmaster-options'.

* net/tramp-sh.el (tramp-methods): Replace
`tramp-ssh-controlmaster-template' by "%c".
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use it in format spec.  Ensure,
that it is applied for the first hop only.

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 agognus-registry.el (gnus-registry-save): Provide class name when calling `eieio-persist...
David Engster [Fri, 22 Feb 2013 22:54:37 +0000 (22:54 +0000)]
gnus-registry.el (gnus-registry-save): Provide class name when calling `eieio-persistent-read' to avoid "unsafe call" warning  Use `condition-case' to stay compatible with older EIEIO versions which only accept one argument

11 years agoAssume C89 or better.
Paul Eggert [Fri, 22 Feb 2013 19:23:12 +0000 (11:23 -0800)]
Assume C89 or better.

* ralloc.c (SIZE, POINTER, NIL):
* vm-limit.c (POINTER):
Remove, replacing all uses with C89 equivalents.  These old
symbols were present only for porting to pre-C89 platforms.

11 years agoMerge from emacs-24; up to 2012-12-22T02:59:08Z!cyd@gnu.org
Glenn Morris [Fri, 22 Feb 2013 17:13:05 +0000 (09:13 -0800)]
Merge from emacs-24; up to 2012-12-22T02:59:08Z!cyd@gnu.org

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 agoDon't call 'select' from emacs_gnutls_pull.
Claudio Bley [Fri, 22 Feb 2013 16:00:14 +0000 (18:00 +0200)]
Don't call 'select' from emacs_gnutls_pull.

 src/w32.c (emacs_gnutls_pull): Don't call 'select', and don't loop.
 This avoids warning messages reported as part of Bug#13546.

11 years ago* net/tramp.el (tramp-tramp-file-p): Fix docstring.
Michael Albinus [Fri, 22 Feb 2013 14:05:38 +0000 (15:05 +0100)]
* net/tramp.el (tramp-tramp-file-p): Fix docstring.

* net/tramp-sh.el (tramp-sh-handle-insert-directory): Handle
multibyte file names.

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 agoUse derived-mode-p in previous change
Glenn Morris [Fri, 22 Feb 2013 02:33:42 +0000 (21:33 -0500)]
Use derived-mode-p in previous change

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 agoTweak for sgml-transformation-function
Glenn Morris [Fri, 22 Feb 2013 02:01:32 +0000 (21:01 -0500)]
Tweak for sgml-transformation-function

* lisp/textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
(sgml-transformation-function): Give it a :set function.
(sgml-tag): Doc fix.

11 years agoDoc fixes re set-variable
Glenn Morris [Fri, 22 Feb 2013 01:59:28 +0000 (20:59 -0500)]
Doc fixes re set-variable

* lisp/cmuscheme.el (scheme-buffer):
* lisp/progmodes/inf-lisp.el (inferior-lisp-buffer):
* lisp/progmodes/tcl.el (inferior-tcl-buffer):
* lisp/textmodes/tex-mode.el (tex-command): Doc fixes.

11 years ago* lisp/image-mode.el (image-mode): Add mouse bindings for mode-line-process.
Glenn Morris [Fri, 22 Feb 2013 01:34:06 +0000 (20:34 -0500)]
* lisp/image-mode.el (image-mode): Add mouse bindings for mode-line-process.

11 years ago* lisp/htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
Glenn Morris [Fri, 22 Feb 2013 01:32:45 +0000 (20:32 -0500)]
* lisp/htmlfontify.el (hfy-default-header): Encode title string.  (Bug#7457)

11 years agoParallelize documentation builds.
Paul Eggert [Thu, 21 Feb 2013 22:42:56 +0000 (14:42 -0800)]
Parallelize documentation builds.

This speeds up building of documentation on multiprocessor
platforms, and is motivated by Texinfo 5.0, which is much slower.
Add a toplevel rule 'make docs' to make all the documentation.
* .bzrignore: Add .dvi, .html, .ps.
* Makefile.in (DVIS, HTMLS, INFOS, PSS, DOCS): New macros.
($(DOCS), docs, vi, html, pdf, ps): New rules.
(info-real): Depend on $(INFOS) rather than doing it sequentially.
(dvi): Depend on $(DVIS) rather than doing it sequentially.
* doc/misc/Makefile.in (html): New rule.

11 years ago* cmuscheme.el (scheme-buffer): Fix docstring.
Bastien Guerry [Thu, 21 Feb 2013 21:50:14 +0000 (22:50 +0100)]
* cmuscheme.el (scheme-buffer): Fix docstring.

Thanks to Xue Fuqiao for reporting this.

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 agoMerge from emacs-24; up to 2012-12-21T07:35:02Z!ueno@gnu.org
Glenn Morris [Thu, 21 Feb 2013 16:56:49 +0000 (08:56 -0800)]
Merge from emacs-24; up to 2012-12-21T07:35:02Z!ueno@gnu.org

11 years agoChangeLog fix
Glenn Morris [Thu, 21 Feb 2013 16:54:51 +0000 (08:54 -0800)]
ChangeLog fix

11 years ago* net/tramp.el (tramp-ssh-controlmaster-template): Make it a
Michael Albinus [Thu, 21 Feb 2013 14:23:12 +0000 (15:23 +0100)]
* net/tramp.el (tramp-ssh-controlmaster-template): Make it a
defconst.  Apply independent check for ControlPersist.

11 years ago* net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
Michael Albinus [Thu, 21 Feb 2013 13:36:16 +0000 (14:36 +0100)]
* net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
temporarily, via "env".

11 years agoMake Info-edit obsolete
Glenn Morris [Thu, 21 Feb 2013 06:55:19 +0000 (22:55 -0800)]
Make Info-edit obsolete

Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00374.html
(Warning: interminable bikeshedding in thread)

* lisp/info.el (Info-enable-edit): Remove.
(Info-edit): Disable it rather than using Info-enable.
(Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
(Info-cease-edit): Make editing of Info files obsolete.

* etc/NEWS: Mention this.

11 years ago* lisp/informat.el (Info-tagify): Handle buffers not visiting files.
Glenn Morris [Thu, 21 Feb 2013 06:39:04 +0000 (22:39 -0800)]
* lisp/informat.el (Info-tagify): Handle buffers not visiting files.

Fixes: debbugs:13763
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 agoMore doc updates for multi-frame images
Glenn Morris [Thu, 21 Feb 2013 06:03:02 +0000 (22:03 -0800)]
More doc updates for multi-frame images

* doc/emacs/files.texi (File Conveniences): Not just GIFs can be animated.

* doc/lispref/display.texi (Multi-Frame Images): Minor rephrasing.

* etc/NEWS: Related edits.

11 years agolisp/calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
Juanma Barranquero [Thu, 21 Feb 2013 04:27:05 +0000 (05:27 +0100)]
lisp/calc/calc-graph.el (calc-graph-show-dumb): Fix typo.

11 years ago* lisp/files.el (basic-save-buffer): Move check for existing parent directory
Glenn Morris [Thu, 21 Feb 2013 02:44:06 +0000 (21:44 -0500)]
* lisp/files.el (basic-save-buffer): Move check for existing parent directory
after hooks.  (Bug#13773)

11 years agoPort documentation to Texinfo 5.0.
Paul Eggert [Thu, 21 Feb 2013 02:42:30 +0000 (18:42 -0800)]
Port documentation to Texinfo 5.0.

11 years ago* src/sheap.c (report_sheap_usage): Fix arguments of message1_no_log.
Ken Brown [Thu, 21 Feb 2013 02:35:33 +0000 (21:35 -0500)]
* src/sheap.c (report_sheap_usage): Fix arguments of message1_no_log.

11 years ago* src/sheap.c (report_sheap_usage): Prefer message1_nolog.
Stefan Monnier [Wed, 20 Feb 2013 21:02:37 +0000 (16:02 -0500)]
* src/sheap.c (report_sheap_usage): Prefer message1_nolog.

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/simple.el (command-execute): Move from C. Add obsolete check.
Stefan Monnier [Wed, 20 Feb 2013 16:37:06 +0000 (11:37 -0500)]
* lisp/simple.el (command-execute): Move from C.  Add obsolete check.
(extended-command-history): Move from C.
* src/keyboard.c (Qcommand_execute): New var.
(command_loop_1, read_char): Use it.
(Fcommand_execute): Remove, replace by an Elisp implementation.
(syms_of_keyboard): Adjust accordingly.

11 years ago* tramp.texi (Android shell setup): Improve. Reported by Thierry
Michael Albinus [Wed, 20 Feb 2013 14:49:52 +0000 (15:49 +0100)]
* tramp.texi (Android shell setup): Improve.  Reported by Thierry
Volpiatto <thierry.volpiatto@gmail.com>.

11 years ago* lisp/jka-cmpr-hook.el (jka-compr-compression-info-list)
Ulrich Müller [Wed, 20 Feb 2013 14:30:23 +0000 (09:30 -0500)]
* lisp/jka-cmpr-hook.el (jka-compr-compression-info-list)
(jka-compr-mode-alist-additions): Handle .txz suffix for
XZ-compressed tar archives.

Fixes: debbugs:13770
11 years ago* outline.el (outline-regexp, outline-heading-end-regexp): Use
Bastien Guerry [Wed, 20 Feb 2013 13:05:24 +0000 (14:05 +0100)]
* outline.el (outline-regexp, outline-heading-end-regexp): Use
variables, not options (bug#13731).

Setting this as a global option is likely to be useless, because it is
unlikely that all outline file will use the modified regexp.

Additionnally, if one of these variables if set through customize and
the outline keybindings don't work in a standard outline file, it is
hard to know why.

Thanks to T. V. Raman for reporting this.

11 years agoLispref updates for multi-frame images
Glenn Morris [Wed, 20 Feb 2013 08:34:28 +0000 (00:34 -0800)]
Lispref updates for multi-frame images

* doc/lispref/display.texi (GIF Images, TIFF Images): Delete these nodes.
(ImageMagick Images): For :index, use an xref rather than duplicating.
(Other Image Types): Add GIF, adjust formatting.
(Multi-Frame Images): Rename from Animated Images.  Expand section.

* doc/lispref/elisp.texi (Top): Update menu for these changes.

11 years agoRework recent image-multi-frame stuff a little
Glenn Morris [Wed, 20 Feb 2013 07:57:33 +0000 (23:57 -0800)]
Rework recent image-multi-frame stuff a little

* image.el (image-current-frame): Change from variable to function.
(image-show-frame): Rename from image-nth-frame.  Update callers.

* image-mode.el (image-multi-frame): New variable.
(image-mode-map, image-mode, image-goto-frame):
Use image-multi-frame rather than image-current-frame.
(image-mode, image-goto-frame):
Use image-current-frame as function rather than as variable.

11 years ago* sheap.c (report_sheap_usage): Use message, not message1, so
Daniel Colascione [Wed, 20 Feb 2013 05:56:28 +0000 (21:56 -0800)]
* sheap.c (report_sheap_usage): Use message, not message1, so
  that we don't try to create a buffer while we're in the middle
  of dumping Emacs.  Explain why.

11 years ago2013-02-19 Daniel Colascione <dancol@dancol.org>
Daniel Colascione [Wed, 20 Feb 2013 05:43:53 +0000 (21:43 -0800)]
2013-02-19  Daniel Colascione <dancol@dancol.org>

        * sheap.c (report_sheap_usage): Use message, not message1, so
       that we don't try to create a buffer while we're in the middle
       of dumping Emacs.  Explain why.

11 years ago* search.c (find_newline): Return byte position in bytepos.
Dmitry Antipov [Wed, 20 Feb 2013 05:18:20 +0000 (09:18 +0400)]
* search.c (find_newline): Return byte position in bytepos.
Adjust comment.
(find_next_newline_no_quit, find_before_next_newline): Add
bytepos argument.
* lisp.h (find_newline, find_next_newline_no_quit)
(find_before_next_newline): Adjust prototypes.
* bidi.c (bidi_find_paragraph_start):
* editfns.c (Fconstrain_to_field, Fline_end_position):
* indent.c (compute_motion, vmotion):
* xdisp.c (back_to_previous_line_start, forward_to_next_line_start):
(get_visually_first_element, move_it_vertically_backward):
Adjust users and avoid calls to CHAR_TO_BYTE where appropriate.

11 years agoMake cl-floatp-safe just an alias for floatp
Glenn Morris [Wed, 20 Feb 2013 02:07:07 +0000 (21:07 -0500)]
Make cl-floatp-safe just an alias for floatp

* lisp/emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.

* lisp/emacs-lisp/cl-macs.el (cl--make-type-test)
(cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.

* doc/misc/cl.texi: Remove commented out sections about cl-floatp-safe.

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* net/tramp-cache.el (tramp-get-hash-table): New defun.
Michael Albinus [Tue, 19 Feb 2013 15:17:55 +0000 (16:17 +0100)]
* net/tramp-cache.el (tramp-get-hash-table): New defun.
(tramp-get-file-property, tramp-set-file-property)
(tramp-get-connection-property, tramp-set-connection-property): Use it.
(tramp-flush-file-property, tramp-flush-directory-property):
Rename argument to KEY.
(tramp-flush-connection-property): Simplify a little bit.
(tramp-connection-property-p): New defun.
(top): Reapply saved values only if there isn't a corresponding
entry in `tramp-connection-properties'.

11 years agoSpelling fixes.
Paul Eggert [Tue, 19 Feb 2013 14:44:03 +0000 (06:44 -0800)]
Spelling fixes.

11 years agoMerge from emacs-24; up to 2012-12-20T16:09:05Z!dmantipov@yandex.ru
Glenn Morris [Tue, 19 Feb 2013 03:29:28 +0000 (19:29 -0800)]
Merge from emacs-24; up to 2012-12-20T16:09:05Z!dmantipov@yandex.ru

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 agoCleanup some of EIEIO's namespace.
Stefan Monnier [Tue, 19 Feb 2013 02:57:04 +0000 (21:57 -0500)]
Cleanup some of EIEIO's namespace.
* lisp/emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
Use it to define all the class-* and object-* field accessors (renamed
to eieio--class-* and eieio--object-*).  Update all uses.
(eieio--class-num-slots, eieio--object-num-slots): Rename from
class-num-slots and object-num-slots.
(eieio--check-type): New macro.
(eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
(object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
(eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
(object-assoc-list-safe): Use it.
(eieio-defclass): Tighten regexp.
(eieio--defmethod): Use `memq'.  Signal an error for unknown method kind.
Remove unreachable code.
(object-class-fast): Declare obsolete.
(eieio-class-name, eieio-object-name, eieio-object-set-name-string)
(eieio-object-class, eieio-object-class-name, eieio-class-parents)
(eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
Rename from class-name, object-name, object-set-name-string,
object-class, object-class-name, class-parents, class-children,
class-precedence-list, class-parent; with obsolete alias.
(class-of, class-direct-superclasses, class-direct-subclasses):
Declare obsolete.
(eieio-defmethod): Use `memq'; remove unreachable code.
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
* lisp/emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
(eieio-browse-tree, eieio-browse): Use eieio--check-type.

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 agoDocumented Eshell's insert output-redirection operator
Aidan Gauland [Mon, 18 Feb 2013 18:27:51 +0000 (07:27 +1300)]
Documented Eshell's insert output-redirection operator

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 ago* lisp/emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
Michael Heerdegen [Mon, 18 Feb 2013 01:30:27 +0000 (20:30 -0500)]
* lisp/emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
Use font-lock-keyword-face for macros and special forms.

Fixes: debbugs:8345
11 years agoMerge from emacs-24; up to 2012-12-20T05:05:41Z!dmantipov@yandex.ru
Glenn Morris [Sun, 17 Feb 2013 19:01:46 +0000 (11:01 -0800)]
Merge from emacs-24; up to 2012-12-20T05:05:41Z!dmantipov@yandex.ru

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 agoDon't use font-lock-syntax-table in lisp modes.
Stefan Monnier [Sun, 17 Feb 2013 16:58:12 +0000 (11:58 -0500)]
Don't use font-lock-syntax-table in lisp modes.
* lisp/font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
Don't assume all identifier chars have syntax word.
* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
Remove bar-not-symbol.  Adjust callers.
(lisp-mode-variables): Don't set a font-lock-syntax-table.

11 years agoPrefer `message1' over `message'.
Stefan Monnier [Sun, 17 Feb 2013 16:49:27 +0000 (11:49 -0500)]
Prefer `message1' over `message'.
* src/xml.c (init_libxml2_functions):
* src/sound.c (sound_warning):
* src/sheap.c (report_sheap_usage):
* src/process.c (wait_reading_process_output):
* src/msdos.c (XMenuActivate):
* src/macros.c (Fstart_kbd_macro, Fend_kbd_macro):
* src/keyboard.c (top_level_1):
* src/editfns.c (Fmessage, Fmessage_box):
* src/callint.c (Fcall_interactively):
* src/fns.c (Fyes_or_no_p): Prefer `message1' over `message'.

11 years ago* net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
Leo Liu [Sun, 17 Feb 2013 16:26:38 +0000 (00:26 +0800)]
* net/rcirc.el (rcirc-keepalive): Fix invalid timer error.

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 agolisp/gnus/mml2015.el (mml2015-epg-find-usable-key): handle revoked user-id
Daiki Ueno [Sun, 17 Feb 2013 12:46:28 +0000 (12:46 +0000)]
lisp/gnus/mml2015.el (mml2015-epg-find-usable-key): handle revoked user-id

11 years agoMove scroll-bar-adjust-thumb-portion.
Jan Djärv [Sun, 17 Feb 2013 10:41:33 +0000 (11:41 +0100)]
Move scroll-bar-adjust-thumb-portion.

* xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ...

* frame.c (syms_of_frame): ... to here.

11 years ago* lisp/menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
Glenn Morris [Sun, 17 Feb 2013 03:40:38 +0000 (19:40 -0800)]
* lisp/menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.

11 years agoAdd a very basic bisecting guide
Glenn Morris [Sun, 17 Feb 2013 01:40:14 +0000 (17:40 -0800)]
Add a very basic bisecting guide

11 years ago* lisp/image-mode.el (image-mode-map): Add image-dired menu entry.
Glenn Morris [Sun, 17 Feb 2013 00:50:41 +0000 (16:50 -0800)]
* lisp/image-mode.el (image-mode-map): Add image-dired menu entry.

11 years ago* lisp/image-dired.el (tumme): Make this alias obsolete.
Glenn Morris [Sun, 17 Feb 2013 00:45:53 +0000 (16:45 -0800)]
* lisp/image-dired.el (tumme): Make this alias obsolete.

11 years ago* lisp/gnus/shr.el (shr-put-image): Use image-multi-frame-p if available.
Glenn Morris [Sun, 17 Feb 2013 00:38:03 +0000 (16:38 -0800)]
* lisp/gnus/shr.el (shr-put-image): Use image-multi-frame-p if available.

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 agoGeneralize "animated" images to "multi-frame" images
Glenn Morris [Sat, 16 Feb 2013 19:56:50 +0000 (11:56 -0800)]
Generalize "animated" images to "multi-frame" images

* lisp/image.el (image-animated-types): Remove.
(image-multi-frame-p): Rename from image-animated-p, and generalize.
(image-animated-p): Make obsolete alias.
(image-animate, image-nth-frame, image-animate-timeout):
Use image-multi-frame-p.
(image-animate-timeout): If no delay, use image-default-frame-delay.

* lisp/image-mode.el (image-mode, image-toggle-animation):
Use image-multi-frame-p.
(image-mode): Adjust startup message for a multi-frame image.

* lisp/gnus/shr.el (shr-put-image): Only animate images that specify a delay.
This is consistent with the old image-animated-p behavior.

* etc/NEWS: Add placeholder for this.

Fixes: debbugs:10739
11 years ago* lisp/image-mode.el (image-mode-map): Give it a menu.
Glenn Morris [Sat, 16 Feb 2013 19:20:21 +0000 (11:20 -0800)]
* lisp/image-mode.el (image-mode-map): Give it a menu.

11 years ago* net/tramp-cache.el (tramp-connection-properties): New customer option.
Michael Albinus [Sat, 16 Feb 2013 17:44:00 +0000 (18:44 +0100)]
* net/tramp-cache.el (tramp-connection-properties): New customer option.
(tramp-get-connection-property): Use it.

* net/tramp-compat.el (top): Require 'trampver.

* net/tramp-sh.el (tramp-remote-process-environment): Set
tramp-autoload cookie.

11 years ago* tramp.texi (Top, Configuration): Insert section `Android shell
Michael Albinus [Sat, 16 Feb 2013 17:38:37 +0000 (18:38 +0100)]
* tramp.texi (Top, Configuration): Insert section `Android shell
setup' in menu.
(Android shell setup): New section.
(Connection types, Default Method)
(Frequently Asked Questions): Mention "scp" instead of "scpc".
(External methods): Remove "scpc" and "rsyncc" entries.
(Frequently Asked Questions): Remove entry about ControlPersist.

11 years ago* lisp/info-look.el (info-lookup-select-mode): If major-mode has no
Kevin Ryde [Sat, 16 Feb 2013 17:20:43 +0000 (12:20 -0500)]
* lisp/info-look.el (info-lookup-select-mode): If major-mode has no
info-lookup-alist entry then search up derived-mode-parent.

Fixes: debbugs:8660