bpt/emacs.git
10 years ago* automated/tramp-tests.el (tramp-test-temporary-file-directory):
Michael Albinus [Mon, 11 Nov 2013 15:22:57 +0000 (16:22 +0100)]
* automated/tramp-tests.el (tramp-test-temporary-file-directory):
Check $TRAMP_TEST_TEMPORARY_FILE_DIRECTORY.
(tramp-read-passwd): Check $TRAMP_TEST_ALLOW_PASSWORD.
(tramp-test09-insert-file-contents, tramp-test10-write-region):
(tramp-test26-process-file): Add tests.
(tramp-test11-copy-file): Remove debug message.
(tramp-test20-file-modes): Special case, if user is "root".

10 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
Michael Albinus [Mon, 11 Nov 2013 15:18:07 +0000 (16:18 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
(tramp-sh-handle-file-local-copy): Don't write a message when
saving temporary files.

* net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
both directories are remote.
(tramp-smb-handle-directory-files): Do not return double entries.
Do not expand full file names.
(tramp-smb-handle-insert-directory): Accept nil SWITCHES.
(tramp-smb-handle-write-region): Implement APPEND.
(tramp-smb-get-stat-capability): Fix a stupid bug.

10 years ago* lisp/bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
Stefan Monnier [Mon, 11 Nov 2013 05:18:53 +0000 (00:18 -0500)]
* lisp/bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
* src/keyboard.c (command_loop_1): Use region-extract-function.
* src/insdel.c (Qregion_extract_function): Not static any more (can we
stop pretending that these vars can benefit from being marked static?).

10 years ago* lisp/emacs-lisp/cconv.el (cconv-convert): Print warning instead of
Nathan Trapuzzano [Mon, 11 Nov 2013 04:55:39 +0000 (23:55 -0500)]
* lisp/emacs-lisp/cconv.el (cconv-convert): Print warning instead of
throwing error over malformed let/let*.

Fixes: debbugs:15814

10 years ago* lisp/iswitchb.el (iswitchb-mode): Mark obsolete.
Stefan Monnier [Mon, 11 Nov 2013 04:50:56 +0000 (23:50 -0500)]
* lisp/iswitchb.el (iswitchb-mode): Mark obsolete.

10 years ago* make-dist: Comment
Glenn Morris [Mon, 11 Nov 2013 01:00:03 +0000 (17:00 -0800)]
* make-dist: Comment

10 years agoUpdate from Unicode 6.2.0 to 6.3.0
Glenn Morris [Mon, 11 Nov 2013 00:58:13 +0000 (16:58 -0800)]
Update from Unicode 6.2.0 to 6.3.0

Note: I used Emacs 24.3 to generate the uni-*.el files, owing to
unexplained (possibly harmless) differences that the current trunk's
use of lexical-binding for subr.el causes.  Ref:
http://debbugs.gnu.org/15825#29

* admin/unidata/BidiMirroring.txt, admin/unidata/UnicodeData.txt:
Update to 6.3.0.

* lisp/international/uni-bidi.el, lisp/international/uni-category.el:
* lisp/international/uni-name.el, lisp/international/uni-numeric.el:
Regenerate.

10 years ago* admin/unidata/unidata-gen.el (unidata-gen-files): Tweak whitespace
Glenn Morris [Mon, 11 Nov 2013 00:50:52 +0000 (16:50 -0800)]
* admin/unidata/unidata-gen.el (unidata-gen-files): Tweak whitespace
in generated files.

10 years ago* keymaps.texi (Tool Bar): Mention that Gtk+/NS ignores item 1 to 3.
Jan Djärv [Sun, 10 Nov 2013 12:18:03 +0000 (13:18 +0100)]
* keymaps.texi (Tool Bar): Mention that Gtk+/NS ignores item 1 to 3.

10 years ago* net/tramp.el (tramp-methods):
Michael Albinus [Sun, 10 Nov 2013 08:35:04 +0000 (09:35 +0100)]
* net/tramp.el (tramp-methods):
* net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2013-10-29T02:50:24Z!dancol@dancol.org.

10 years agoFix bug #15841 with missing line numbers in linum-mode.
Eli Zaretskii [Sat, 9 Nov 2013 21:24:10 +0000 (23:24 +0200)]
Fix bug #15841 with missing line numbers in linum-mode.

 src/search.c (find_newline): If buffer text is relocated during the
 "dumb loop", adjust C pointers into buffer text to follow suit.

10 years ago* gtkutil.c (xg_check_special_colors): Use rgb: instead of rgbi:
Jan Djärv [Sat, 9 Nov 2013 11:19:53 +0000 (12:19 +0100)]
* gtkutil.c (xg_check_special_colors): Use rgb: instead of rgbi:
for conversion.

Fixes: debbugs:15837

10 years agoFix bug #15841 with cache-long-scans, linum-mode, and non-ASCII chars.
Eli Zaretskii [Sat, 9 Nov 2013 11:12:33 +0000 (13:12 +0200)]
Fix bug #15841 with cache-long-scans, linum-mode, and non-ASCII chars.

 src/fileio.c (Finsert_file_contents): Invalidate the newline cache
 for the entire range of inserted characters.

10 years ago* progmodes/sh-script.el (sh-font-lock-keywords-var): Force
Andreas Schwab [Sat, 9 Nov 2013 10:49:42 +0000 (11:49 +0100)]
* progmodes/sh-script.el (sh-font-lock-keywords-var): Force
highlighting text after Summary keyword in doc face for rpm.

10 years agoAdd an cross-reference.
Xue Fuqiao [Sat, 9 Nov 2013 07:19:16 +0000 (15:19 +0800)]
Add an cross-reference.

* doc/lispref/os.texi (Command-Line Arguments): Add cross-reference
  for `dump-emacs'.

10 years ago* doc/lispref/os.texi (Startup Summary): Typo fix.
Xue Fuqiao [Sat, 9 Nov 2013 05:38:28 +0000 (13:38 +0800)]
* doc/lispref/os.texi (Startup Summary): Typo fix.

10 years ago* doc/lispref/os.texi (Startup Summary): Add an index about startup screen.
Xue Fuqiao [Sat, 9 Nov 2013 02:36:46 +0000 (10:36 +0800)]
* doc/lispref/os.texi (Startup Summary): Add an index about startup screen.

10 years ago* lisp/textmodes/ispell.el (ispell-lookup-words): When `look' is not
Dmitry Gutov [Sat, 9 Nov 2013 01:12:25 +0000 (03:12 +0200)]
* lisp/textmodes/ispell.el (ispell-lookup-words): When `look' is not
available and the word has no wildcards, append one to the grep
pattern.
http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
(ispell-complete-word): Call `ispell-lookup-words' with the value
independent of `ispell-look-p'.

10 years ago* nt/mingw-cfg.site: No need for this to be executable.
Glenn Morris [Sat, 9 Nov 2013 00:33:41 +0000 (19:33 -0500)]
* nt/mingw-cfg.site: No need for this to be executable.

10 years ago* admin/unidata/unidata-gen.el (unidata-gen-files):
Glenn Morris [Sat, 9 Nov 2013 00:12:56 +0000 (19:12 -0500)]
* admin/unidata/unidata-gen.el (unidata-gen-files):
Fix deletion of existing output files after 2013-10-30 changes.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
Dmitry Gutov [Fri, 8 Nov 2013 23:59:56 +0000 (01:59 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
Not after "||".
(ruby-smie-rules): Indent non-hanging "begin" blocks as part of
their parent.

10 years ago* lisp/progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
Stefan Monnier [Fri, 8 Nov 2013 22:53:41 +0000 (17:53 -0500)]
* lisp/progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
(ruby-font-lock-keywords): Use backquote.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Bozhidar Batsov [Fri, 8 Nov 2013 21:41:25 +0000 (23:41 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Fix incorrect case conditions.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
Dmitry Gutov [Fri, 8 Nov 2013 21:23:11 +0000 (23:23 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
(ruby-smie--backward-token): Only consider full-string matches.

10 years ago* lisp/faces.el (describe-face): Add distant-foreground.
Jan Djärv [Fri, 8 Nov 2013 17:26:03 +0000 (18:26 +0100)]
* lisp/faces.el (describe-face): Add distant-foreground.

* src/xfaces.c (lface_fully_specified_p): Let distant-foreground be
unspecified.
(realize_default_face): Remove assignment to distant-foreground if
unspecified.

Fixes: debbugs:15815

10 years agoMerge from gnulib.
Paul Eggert [Fri, 8 Nov 2013 16:24:40 +0000 (08:24 -0800)]
Merge from gnulib.

This incorporates:
2013-11-08 extern-inline: port better to OS X 10.9
2013-11-08 fpending: fix regression on DragonFly BSD
* lib/fpending.h, m4/extern-inline.m4, m4/fpending.m4:
Update from gnulib.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding): Use
Bozhidar Batsov [Fri, 8 Nov 2013 16:01:55 +0000 (18:01 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding): Use
`ruby-encoding-magic-comment-style' to control the
style of the auto-inserted encoding comment.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--indent-to-stmt): Use
Dmitry Gutov [Fri, 8 Nov 2013 11:22:52 +0000 (13:22 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie--indent-to-stmt): Use
`smie-backward-sexp' with token argument.

10 years agoDocumentation followup to last commit.
Eli Zaretskii [Fri, 8 Nov 2013 10:27:15 +0000 (12:27 +0200)]
Documentation followup to last commit.

 doc/lispref/display.texi (Truncation): Document that cache-long-scans is now
 non-nil by default.  (Bug#15797)

10 years agoSwitch cache-long-scans to t by default.
Eli Zaretskii [Fri, 8 Nov 2013 10:21:35 +0000 (12:21 +0200)]
Switch cache-long-scans to t by default.

 src/xdisp.c (message_dolog): Make sure the *Messages* buffer has its
 cache-long-scans disabled, since we don't want to call
 prepare_to_modify_buffer (in insert_1_both) for each message we
 display.
 src/buffer.h (bset_cache_long_scans): New INLINE function, moved
 from buffer.c.  Improve commentary to the buffer field setter
 functions.
 src/buffer.c (bset_cache_long_scans): Static function deleted.
 Improve commentary to the buffer field setter functions.
 (init_buffer_once): Default for cache-long-scans changed to t.
 (Bug#15797)

10 years ago* net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
Michael Albinus [Fri, 8 Nov 2013 09:31:50 +0000 (10:31 +0100)]
* net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
Remove instrumentation code.

10 years ago* automated/file-notify-tests.el:
Michael Albinus [Fri, 8 Nov 2013 09:31:15 +0000 (10:31 +0100)]
* automated/file-notify-tests.el:
* automated/tramp-tests.el: Add `tramp-own-remote-path' to
`tramp-remote-path' when running on hydra.
(tramp-test07-file-exists-p): Remove instrumentation code.
(tramp-test26-process-file): Don't use "/bin/true" and
"/bin/false", these paths do not exist on hydra.

10 years agoFix a typo in (epa) Encrypting/decrypting *.gpg files
Alex Schroeder [Fri, 8 Nov 2013 08:49:40 +0000 (09:49 +0100)]
Fix a typo in (epa) Encrypting/decrypting *.gpg files

10 years agoAdd missing ChangeLog entry from 2013-06-05T01:58:43Z!monnier@iro.umontreal.ca
Glenn Morris [Fri, 8 Nov 2013 08:22:50 +0000 (00:22 -0800)]
Add missing ChangeLog entry from 2013-06-05T01:58:43Z!monnier@iro.umontreal.ca
http://lists.gnu.org/archive/html/emacs-diffs/2013-06/msg00043.html

10 years ago* automated/tramp-tests.el: Add `tramp-own-remote-path' to `tramp-remote-path'.
Michael Albinus [Fri, 8 Nov 2013 07:52:28 +0000 (08:52 +0100)]
* automated/tramp-tests.el: Add `tramp-own-remote-path' to `tramp-remote-path'.

10 years ago* lisp/progmodes/autoconf.el (autoconf-mode): Tweak comment-start-skip.
Glenn Morris [Fri, 8 Nov 2013 07:36:54 +0000 (23:36 -0800)]
* lisp/progmodes/autoconf.el (autoconf-mode): Tweak comment-start-skip.
See also http://debbugs.gnu.org/10033

Fixes: debbugs:15822

10 years ago* chartab.c (make_sub_char_table): Fix size typo.
Paul Eggert [Fri, 8 Nov 2013 07:28:21 +0000 (23:28 -0800)]
* chartab.c (make_sub_char_table): Fix size typo.

This bug was introduced in my 2013-06-21 change, and caused
struct Lisp_Sub_Char_Table objects to be given too many slots,
which broke 'make -C admin/unidata'.

Fixes: debbugs:15825

10 years agoRename test/automated/sentinel-tests.el to process-tests.el
Stefan Monnier [Fri, 8 Nov 2013 04:40:51 +0000 (23:40 -0500)]
Rename test/automated/sentinel-tests.el to process-tests.el

10 years ago* lisp/progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
Stefan Monnier [Fri, 8 Nov 2013 04:33:32 +0000 (23:33 -0500)]
* lisp/progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
at bobp.
(sh-smie--sh-keyword-in-p): Recognize keywords at bobp.

Fixes: debbugs:15826

10 years ago* lisp/man.el (Man-start-calling): New macro, extracted from
Darren Hoo [Fri, 8 Nov 2013 04:09:56 +0000 (23:09 -0500)]
* lisp/man.el (Man-start-calling): New macro, extracted from
Man-getpage-in-background.
(Man-getpage-in-background): Use it.
(Man-update-manpage): New command.
(Man-mode-map): Bind it.

10 years ago* indent/ruby.rb: New example
Dmitry Gutov [Fri, 8 Nov 2013 03:30:24 +0000 (05:30 +0200)]
* indent/ruby.rb: New example

10 years ago* test/automated/sentinel-tests.el: New file.
Helmut Eller [Fri, 8 Nov 2013 03:28:19 +0000 (22:28 -0500)]
* test/automated/sentinel-tests.el: New file.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
Dmitry Gutov [Fri, 8 Nov 2013 02:31:51 +0000 (04:31 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
of "and", "or", "&&" and "||".
(ruby-smie--args-separator-p): Prohibit keyword "do" as the first
argument.  Prohibit opening curly brace because it could only be a
block opener in that position.
(ruby-smie--forward-token, ruby-smie--backward-token): Separate
"|" from "&" or "*" going after it.  That can happen in block
arguments.
(ruby-smie--indent-to-stmt): New function, seeks the end of
previous statement or beginning of buffer.
(ruby-smie-rules): Use it.
(ruby-smie-rules): Check if there's a ":" before a curly block
opener candidate; if there is, it's a hash.

* test/indent/ruby.rb: New examples.

10 years agoImport macfont changes from mac-port 4.5.
Jan Djärv [Thu, 7 Nov 2013 22:21:08 +0000 (23:21 +0100)]
Import macfont changes from mac-port 4.5.
* macfont.h (kCTVersionNumber10_9): Define if not defined.

* macfont.m (mac_font_copy_default_descriptors_for_language)
(mac_font_copy_default_name_for_charset_and_languages): Declare.
(cf_charset_table): big-5-0 has uniquifier 0x4EDC.
(macfont_language_default_font_names): New.
(macfont_list): Rearrange language/charset code.
(macfont_close): Don't check for macfont_info->cache.
(mac_ctfont_create_preferred_family_for_attributes): New font
selection code, call
mac_font_copy_default_name_for_charset_and_languages.
(mac_font_copy_default_descriptors_for_language)
(mac_font_copy_default_name_for_charset_and_languages): New functions.

10 years ago* lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
Stefan Monnier [Thu, 7 Nov 2013 19:30:43 +0000 (14:30 -0500)]
* lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
(cl--block-wrapper): Fix last accidental change.

10 years ago* net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
Michael Albinus [Thu, 7 Nov 2013 11:13:41 +0000 (12:13 +0100)]
* net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
Instrument, in order to hunt failure on hydra.

10 years ago* admin/unidata/unidata-gen.el (unidata-gen-files): Update Unicode copyright
Glenn Morris [Thu, 7 Nov 2013 07:57:35 +0000 (23:57 -0800)]
* admin/unidata/unidata-gen.el (unidata-gen-files): Update Unicode copyright

10 years agoUpdate unicode README and related info
Glenn Morris [Thu, 7 Nov 2013 07:54:47 +0000 (23:54 -0800)]
Update unicode README and related info

10 years agoPort to C11 aligned_alloc, and fix some integer overflows.
Paul Eggert [Thu, 7 Nov 2013 05:31:04 +0000 (21:31 -0800)]
Port to C11 aligned_alloc, and fix some integer overflows.

* configure.ac (GMALLOC_OBJ): Initialize to empty if !system_malloc
and doug_lea_malloc.
(aligned_alloc): Test for existence if !GMALLOC_OBJ and not darwin.
(posix_memalign): Test for existence only if !GMALLOC_OBJ and
not darwin and !aligned_alloc.
* src/alloc.c (USE_ALIGNED_ALLOC): New symbol.
(USE_POSIX_MEMALIGN): Remove.  All uses replaced with USE_ALIGNED_ALLOC,
and use of posix_memalign replaced with aligned_alloc.
(aligned_alloc): New function, defined or declared as needed.
* src/conf_post.h (HAVE_POSIX_MEMALIGN) [DARWIN_OS]:
Don't undef; configure.ac now does this.
* src/gmalloc.c (aligned_alloc) [MSDOS]: New decl.
(calloc, aligned_alloc): Check for integer overflow.
(aligned_alloc): Rename from memalign.  All uses changed.
(memalign): New function, an alias for aligned_alloc.

10 years ago* lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
Nathan Trapuzzano [Thu, 7 Nov 2013 04:38:00 +0000 (23:38 -0500)]
* lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
malformed bindings form.

Fixes: debbugs:15814

10 years ago* admin/unidata/unidata-gen.el (unidata-gen-files): Disable version-control
Glenn Morris [Thu, 7 Nov 2013 03:21:15 +0000 (19:21 -0800)]
* admin/unidata/unidata-gen.el (unidata-gen-files): Disable version-control
in generated files.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
Dmitry Gutov [Thu, 7 Nov 2013 03:02:01 +0000 (05:02 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
No implicit semi after "^", "and" or "or".
(ruby-smie-grammar): New tokens: "and" and "or".
(ruby-smie--args-separator-p): Fix the check for tokens at POS.
Exclude "and" and "or".  Remove "do" in order to work around token
priorities.
(ruby-smie-rules): Add all infix tokens.  Handle the case of
beginning-of-buffer.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
Dmitry Gutov [Thu, 7 Nov 2013 01:58:12 +0000 (03:58 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
"." compared to "do".

10 years ago* src/xdisp.c (redisplay_internal): Fix typo in last change.
Stefan Monnier [Wed, 6 Nov 2013 21:17:26 +0000 (16:17 -0500)]
* src/xdisp.c (redisplay_internal): Fix typo in last change.

10 years ago* regex.c: Fix --enable-gcc-warning glitch with GCC 4.5.2.
Paul Eggert [Wed, 6 Nov 2013 19:36:12 +0000 (11:36 -0800)]
* regex.c: Fix --enable-gcc-warning glitch with GCC 4.5.2.

10 years ago* src/xdisp.c (syms_of_xdisp): New vars redisplay--all-windows-cause and
Stefan Monnier [Wed, 6 Nov 2013 18:41:31 +0000 (13:41 -0500)]
* src/xdisp.c (syms_of_xdisp): New vars redisplay--all-windows-cause and
redisplay--mode-lines-cause.
(redisplay_internal): Keep them uptodate.  Remove redundant check of
buffer_shared_and_changed.
* *.[chm]: Number every assignment to update_mode_lines so we
can track why it is set.

10 years agoGuard against possible accidental matches with parent dirs in Makefiles
Glenn Morris [Wed, 6 Nov 2013 17:56:48 +0000 (12:56 -0500)]
Guard against possible accidental matches with parent dirs in Makefiles

* lisp/Makefile.in (setwins_almost, setwins_for_subdirs):
Avoid accidental matches.

* test/automated/Makefile.in (setwins): Avoid accidental matches.

10 years ago* lisp/menu-bar.el (popup-menu): Use key-binding.
Stefan Monnier [Wed, 6 Nov 2013 17:18:02 +0000 (12:18 -0500)]
* lisp/menu-bar.el (popup-menu): Use key-binding.

10 years agoRevert an indexing change.
Xue Fuqiao [Wed, 6 Nov 2013 14:22:02 +0000 (22:22 +0800)]
Revert an indexing change.

See http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00193.html

10 years agoFix doc string of format-time-string, per bug #15816.
Eli Zaretskii [Wed, 6 Nov 2013 10:14:50 +0000 (12:14 +0200)]
Fix doc string of format-time-string, per bug #15816.

 src/editfns.c (Fformat_time_string): Doc fix.

10 years agoFix bug #15817 with TTY menus produced by minor modes.
Eli Zaretskii [Wed, 6 Nov 2013 10:10:22 +0000 (12:10 +0200)]
Fix bug #15817 with TTY menus produced by minor modes.

 lisp/menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
 menus, support also the menus produced by minor modes.

10 years ago* thingatpt.el (thing-at-point-looking-at): Add optional arg
Leo Liu [Wed, 6 Nov 2013 09:06:05 +0000 (17:06 +0800)]
* thingatpt.el (thing-at-point-looking-at): Add optional arg
DISTANCE to bound the search. All uses changed.

Fixes: debbugs:15808

10 years agoRemove some directory-changing in lisp/Makefile
Glenn Morris [Wed, 6 Nov 2013 08:37:01 +0000 (00:37 -0800)]
Remove some directory-changing in lisp/Makefile

* lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
(setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
(custom-deps, finder-data, autoloads, update-subdirs): No need to cd.

10 years ago* automated/tramp-tests.el (tramp-test07-file-exists-p):
Michael Albinus [Wed, 6 Nov 2013 08:33:02 +0000 (09:33 +0100)]
* automated/tramp-tests.el (tramp-test07-file-exists-p):
Fix docstring.  Instrument, in order to hunt failure on hydra.

10 years ago* lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
Glenn Morris [Wed, 6 Nov 2013 08:09:15 +0000 (00:09 -0800)]
* lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.

10 years agoSkip some tests rather than expect failure when prereqs not met
Glenn Morris [Wed, 6 Nov 2013 07:50:18 +0000 (23:50 -0800)]
Skip some tests rather than expect failure when prereqs not met

* automated/flymake-tests.el (warning-predicate-rx-gcc)
(warning-predicate-function-gcc, warning-predicate-rx-perl)
(warning-predicate-function-perl):
* automated/info-xref.el (info-xref-test-makeinfo):
* automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781)
(vc-bzr-test-faulty-bzr-autoloads): Skip rather than expect failure.

10 years ago*.[chm]: Number every assignment to windows_or_buffers_changed.
Stefan Monnier [Wed, 6 Nov 2013 04:11:04 +0000 (23:11 -0500)]
*.[chm]: Number every assignment to windows_or_buffers_changed.

10 years ago* lisp/electric.el (electric-indent-just-newline): New command.
Stefan Monnier [Wed, 6 Nov 2013 03:37:03 +0000 (22:37 -0500)]
* lisp/electric.el (electric-indent-just-newline): New command.
(electric-indent-mode-map): New keymap.
(electric-indent-mode, electric-pair-mode, electric-layout-mode):
Re-add :group which weren't redundant.

10 years ago* lisp/electric.el (electric-indent-local-mode): New minor mode.
Stefan Monnier [Wed, 6 Nov 2013 02:10:18 +0000 (21:10 -0500)]
* lisp/electric.el (electric-indent-local-mode): New minor mode.
(electric-indent-functions-without-reindent): New var.
(electric-indent-post-self-insert-function): Use it.
* lisp/emacs-lisp/gv.el (buffer-local-value): Add setter.

10 years agoInteger-related fixes for term.c etc.
Paul Eggert [Wed, 6 Nov 2013 00:14:56 +0000 (16:14 -0800)]
Integer-related fixes for term.c etc.

* dispextern.h (face_tty_specified_color): New function.
* term.c (turn_on_face): Don't rely on undefined behavior when
assigning an out-of-range value to 'long'.  Simplify
test for toggling highlight.
(tty_capable_p): Omit last two (unused) args.  All callers changed.
* term.c (tty_capable_p, tty_menu_display, tty_menu_add_selection)
(read_menu_input, tty_menu_activate, tty_menu_show):
* xfaces.c (x_supports_face_attributes_p)
(tty_supports_face_attributes_p):
Use bool for boolean.  All callers changed.
(tty_supports_face_attributes_p): Omit defaults for color indices;
no longer needed.  Simplify tail call.

10 years ago* src/xdisp.c (prepare_menu_bars): Mark static.
Stefan Monnier [Tue, 5 Nov 2013 22:45:44 +0000 (17:45 -0500)]
* src/xdisp.c (prepare_menu_bars): Mark static.
* src/lisp.h (prepare_menu_bars): Don't declare.
* src/xselect.c (x_handle_selection_clear):
* src/callproc.c (call_process): Remove redundant call to prepare_menu_bars.

10 years ago* keyboard.c (Fcommand_error_default_function): Fix pointer signedness
Paul Eggert [Tue, 5 Nov 2013 22:41:57 +0000 (14:41 -0800)]
* keyboard.c (Fcommand_error_default_function): Fix pointer signedness

glitch.  Eliminate 'sz' prefix; Hungarian notation is not helpful here.

10 years ago* Makefile.in (epaths-force-w32): Move srcdir tweak here
Glenn Morris [Tue, 5 Nov 2013 21:51:09 +0000 (16:51 -0500)]
* Makefile.in (epaths-force-w32): Move srcdir tweak here

* configure.ac (abs_srcdir) [MINGW32]: No point setting it here,
config.status computes it.

10 years ago* lisp/mh-e/mh-print.el (mh-ps-print-preprint): Don't use dynamic-var
Stefan Monnier [Tue, 5 Nov 2013 20:51:06 +0000 (15:51 -0500)]
* lisp/mh-e/mh-print.el (mh-ps-print-preprint): Don't use dynamic-var
`prefix-arg' as function argument.

10 years ago* src/keyboard.c (Fcommand_error_default_function): Rename from
Stefan Monnier [Tue, 5 Nov 2013 20:47:54 +0000 (15:47 -0500)]
* src/keyboard.c (Fcommand_error_default_function): Rename from
Fdefault_error_output.

10 years ago* src/keyboard.c (Fdefault_error_output): New function, extracted from
Jarek Czekalski [Tue, 5 Nov 2013 20:12:39 +0000 (15:12 -0500)]
* src/keyboard.c (Fdefault_error_output): New function, extracted from
cmd_error_internal.
(syms_of_keyboard): Use it for Vcommand_error_function.

10 years agoFix indexing in the lispref manual.
Eli Zaretskii [Tue, 5 Nov 2013 17:47:48 +0000 (19:47 +0200)]
Fix indexing in the lispref manual.

 doc/lispref/lists.texi (Rearrangement): Fix indexing.
 doc/lispref/display.texi (Bidirectional Display): Fix indexing.

10 years agoFOR-RELEASE note
Glenn Morris [Tue, 5 Nov 2013 17:12:05 +0000 (09:12 -0800)]
FOR-RELEASE note

10 years agoFix bug #15800 by clarifying description of what keyboard layout means.
Eli Zaretskii [Tue, 5 Nov 2013 16:36:37 +0000 (18:36 +0200)]
Fix bug #15800 by clarifying description of what keyboard layout means.

 lisp/international/quail.el (quail-help): Be more explicit about the
 meaning of the labels shown on the keys.

10 years ago* src/eval.c (handlerlist_sentinel): New variable.
Stefan Monnier [Tue, 5 Nov 2013 16:29:58 +0000 (11:29 -0500)]
* src/eval.c (handlerlist_sentinel): New variable.
(init_eval): Use it to ensure handlerlist is non-NULL.
(unwind_to_catch): Make sure we never set handlerlist to NULL.
(Fsignal): Adjust NULLness test of handlerlist.
* src/lisp.h (PUSH_HANDLER): Assume handlerlist is non-NULL.

Fixes: debbugs:15802

10 years ago* lisp/progmodes/ruby-mode.el: Improve a few error messages.
Bozhidar Batsov [Tue, 5 Nov 2013 16:28:40 +0000 (18:28 +0200)]
* lisp/progmodes/ruby-mode.el: Improve a few error messages.

10 years agoFix bug #15148 with garbled display in Dired when cache-long-scans is ON.
Eli Zaretskii [Tue, 5 Nov 2013 16:26:11 +0000 (18:26 +0200)]
Fix bug #15148 with garbled display in Dired when cache-long-scans is ON.

 src/callproc.c (call_process): Call prepare_to_modify_buffer before
 decoding text read from the sub-process, as the decoded stuff will
 be inserted into the buffer.  This will invalidate the various
 caches maintained for the buffer.

10 years agoFix bug #15805 with trying to load Lisp files before load-path is populated.
Eli Zaretskii [Tue, 5 Nov 2013 16:18:00 +0000 (18:18 +0200)]
Fix bug #15805 with trying to load Lisp files before load-path is populated.

 lisp/startup.el (normal-top-level): Load the subdirs.el files before
 setting the locale environment.

10 years agoCorrect the top-level ChangeLog.
Eli Zaretskii [Tue, 5 Nov 2013 16:15:24 +0000 (18:15 +0200)]
Correct the top-level ChangeLog.

10 years agoRevert revision 2013-11-05T08:13:09Z!rgm@gnu.org.
Eli Zaretskii [Tue, 5 Nov 2013 16:06:30 +0000 (18:06 +0200)]
Revert revision 2013-11-05T08:13:09Z!rgm@gnu.org.

10 years ago* lisp/vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
Stefan Monnier [Tue, 5 Nov 2013 15:27:51 +0000 (10:27 -0500)]
* lisp/vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
via arguments so as to get the right ones.

Fixes: debbugs:15418

10 years ago* automated/tramp-tests.el: New file.
Michael Albinus [Tue, 5 Nov 2013 14:46:57 +0000 (15:46 +0100)]
* automated/tramp-tests.el: New file.

10 years ago* lisp/net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
Stefan Monnier [Tue, 5 Nov 2013 14:32:01 +0000 (09:32 -0500)]
* lisp/net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.

10 years agoFix problems found while writing a test suite.
Michael Albinus [Tue, 5 Nov 2013 14:18:41 +0000 (15:18 +0100)]
Fix problems found while writing a test suite.

* net/tramp-compat.el (tramp-compat-load): New defun.
* net/tramp.el (tramp-handle-load): Use it.

* net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
"(numberp ok-if-already-exists)" correctly.

10 years agoAnother indexing improvement for Unicode.
Xue Fuqiao [Tue, 5 Nov 2013 11:48:39 +0000 (19:48 +0800)]
Another indexing improvement for Unicode.

10 years agoImprove indexing.
Xue Fuqiao [Tue, 5 Nov 2013 11:42:58 +0000 (19:42 +0800)]
Improve indexing.

10 years ago* doc/lispref/display.texi (Bidirectional Display): Add an index for UBA.
Xue Fuqiao [Tue, 5 Nov 2013 11:27:35 +0000 (19:27 +0800)]
* doc/lispref/display.texi (Bidirectional Display): Add an index for UBA.

10 years agolisp/gnus/gnus-cite.el (gnus-cite-add-face): Make non-sticky overlays
Katsumi Yamaoka [Tue, 5 Nov 2013 09:56:02 +0000 (09:56 +0000)]
lisp/gnus/gnus-cite.el (gnus-cite-add-face): Make non-sticky overlays

10 years agoDoc fix for glyphless-char-display-control.
Xue Fuqiao [Tue, 5 Nov 2013 09:54:43 +0000 (17:54 +0800)]
Doc fix for glyphless-char-display-control.

* international/characters.el (glyphless-char-display-control):
Add usage note.

10 years ago* lisp/progmodes/python.el (python-mode): Remove incorrect text from docstring.
Bozhidar Batsov [Tue, 5 Nov 2013 09:47:47 +0000 (11:47 +0200)]
* lisp/progmodes/python.el (python-mode): Remove incorrect text from docstring.
* lisp/progmodes/scheme.el (scheme-mode): Remove incorrect text from docstring.
* lisp/progmodes/prolog.el (prolog-mode): Remove incorrect text from docstring.
* lisp/emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode, emacs-lisp-mode):
Remove incorrect text from docstring.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-mode): Remove incorrect text from docstring.
Bozhidar Batsov [Tue, 5 Nov 2013 09:30:15 +0000 (11:30 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-mode): Remove incorrect text from docstring.

10 years agoDoc fix.
Xue Fuqiao [Tue, 5 Nov 2013 09:00:52 +0000 (17:00 +0800)]
Doc fix.

* doc/lispref/display.texi (Glyphs): Add an index for glyph code.

* src/xdisp.c (syms_of_xdisp): Mention the active display table in doc
string of glyphless-char-display.

10 years ago* make-dist: Don't distribute old, unsupported w32 build method.
Glenn Morris [Tue, 5 Nov 2013 08:13:09 +0000 (00:13 -0800)]
* make-dist: Don't distribute old, unsupported w32 build method.

10 years ago* msdos/mainmake.v2: Add missing ChangeLog entry for previous, and fix
Glenn Morris [Tue, 5 Nov 2013 08:03:58 +0000 (00:03 -0800)]
* msdos/mainmake.v2: Add missing ChangeLog entry for previous, and fix

10 years agoRemove the autogen/ directory
Glenn Morris [Tue, 5 Nov 2013 07:54:03 +0000 (23:54 -0800)]
Remove the autogen/ directory

Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00806.html

* autogen: Remove directory.  Move update_autogen to admin/.
* autogen.sh: Remove reference to copy_autogen.
* GNUmakefile (configure):
* Makefile.in (bootstrap): Do not try to run copy_autogen.
* config.bat: Use msdos/autogen rather than autogen.

* admin/update_autogen: Move here from ../autogen.
(usage): Update.  Remove -l, add -A.
(autogendir): New variable.
(ldefs_flag): Default to set.
(genfiles): Reduce to only ms-dos relevant files.
(main): Make checking autogen sources optional.
Make copying of autogen files optional.

* msdos/autogen/config.in:
* msdos/autogen/Makefile.in: Move here from ../autogen.

* nt/INSTALL: Remove reference to copy_autogen.

* nt/config.nt: Comment.