]> code.delx.au - gnu-emacs/log
gnu-emacs
8 years ago; admin/notes/unicode: Update for latest changes.
Eli Zaretskii [Sat, 10 Oct 2015 19:50:06 +0000 (22:50 +0300)]
; admin/notes/unicode: Update for latest changes.

8 years agoFix --enable-gcc-warnings problem with older GCC
Paul Eggert [Sat, 10 Oct 2015 18:56:20 +0000 (11:56 -0700)]
Fix --enable-gcc-warnings problem with older GCC

* src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
This is for building with --enable-gcc-warnings with
GCC 4.6 through 5.0.

8 years agoFix vertical-motion in truncated lines that end in a stretch
Eli Zaretskii [Sat, 10 Oct 2015 17:01:00 +0000 (20:01 +0300)]
Fix vertical-motion in truncated lines that end in a stretch

* src/indent.c (Fvertical_motion): Expect overshoot when point is
beyond window margin and lines are truncated, even if we have a
stretch at point.  (Bug#21468)

8 years agoAvoid link-time errors due to inline functions
Eli Zaretskii [Sat, 10 Oct 2015 10:45:15 +0000 (13:45 +0300)]
Avoid link-time errors due to inline functions

* src/emacs.c: Include puresize.h, to avoid link-time errors in
unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
inline functions.

8 years ago* src/data.c (Faset): Fix last change.
Andreas Schwab [Sat, 10 Oct 2015 08:58:53 +0000 (10:58 +0200)]
* src/data.c (Faset): Fix last change.

8 years agoCHECK_IMPURE and PURE_P speedup
Paul Eggert [Sat, 10 Oct 2015 07:17:11 +0000 (00:17 -0700)]
CHECK_IMPURE and PURE_P speedup

* src/intervals.c (create_root_interval):
Do CHECK_IMPURE only for strings; not needed for buffers.
Prefer ! STRINGP to BUFFERP, for a tad more speed.
* src/puresize.h (CHECK_IMPURE, PURE_P):
Now inline functions instead of macros.
(PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
All callers changed.
(CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
All callers changed.

8 years ago(tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
Noah Friedman [Fri, 9 Oct 2015 23:15:21 +0000 (16:15 -0700)]
(tramp-open-connection-setup-interactive-shell): Send -onlcr as well.

8 years ago* lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
Stefan Monnier [Fri, 9 Oct 2015 20:34:20 +0000 (16:34 -0400)]
* lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*

our after-change-function, rather than re-adding it if it was removed.

8 years ago* lisp/cedet/ede: Silence some compiler warnings
Stefan Monnier [Fri, 9 Oct 2015 19:55:31 +0000 (15:55 -0400)]
* lisp/cedet/ede: Silence some compiler warnings

* lisp/cedet/ede.el: Require cl-lib.  Silence some compiler warnings.
(ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
(ede-apply-object-keymap, ede-reset-all-buffers)
(ede-auto-add-to-target): Use dolist.
(ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
Use field names rather than initarg names in `oref'.
(ede-load-project-file): Remove unused var `file'.
(ede-map-any-target-p): Use cl-some rather than ede-map-targets.
(ede-set): Remove unused var `a'.

* lisp/cedet/ede/emacs.el: Silence some compiler warnings.
(ede-project-autoload): Avoid the old-style "name" argument.
(ede-emacs-find-matching-target): Use field names rather than initarg
names in `oref'.

* lisp/cedet/ede/linux.el: Silence some compiler warnings.
(ede-linux-load, ede-project-autoload): Avoid the old-style "name" argument.
(ede-linux-find-matching-target): Use field names rather than initarg
names in `oref'.

8 years ago* lisp/textmodes/reftex.el: Silence byte-compiler warnings.
Stefan Monnier [Fri, 9 Oct 2015 19:35:30 +0000 (15:35 -0400)]
* lisp/textmodes/reftex.el: Silence byte-compiler warnings.

8 years ago* lisp/progmodes/prolog.el: Avoid indenting too much, after ":-"
Stefan Monnier [Fri, 9 Oct 2015 19:30:27 +0000 (15:30 -0400)]
* lisp/progmodes/prolog.el: Avoid indenting too much, after ":-"

(prolog-smie-rules): Try and avoid indenting too far after ":-".

8 years agoUpdate case-table and categories of recently added characters
Eli Zaretskii [Fri, 9 Oct 2015 18:33:20 +0000 (21:33 +0300)]
Update case-table and categories of recently added characters

* lisp/international/characters.el: Update information about Latin
Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
blocks.  (Byug#21654)

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Fri, 9 Oct 2015 10:18:27 +0000 (06:18 -0400)]
; Auto-commit of loaddefs files.

8 years agoIn adjust_frame_size don't count minibuffer height twice (Bug#21643)
Martin Rudalics [Fri, 9 Oct 2015 09:55:06 +0000 (11:55 +0200)]
In adjust_frame_size don't count minibuffer height twice (Bug#21643)

* src/frame.c (adjust_frame_size): In minibuffer-only windows
don't count minibuffer height twice.  (Bug#21643)

8 years agoAvoid inflooping in font-lock
Eli Zaretskii [Fri, 9 Oct 2015 08:12:58 +0000 (11:12 +0300)]
Avoid inflooping in font-lock

* lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
inhibit-field-text-motion around the call to
line-beginning-position, to avoid inflooping.  (Bug#21615)

8 years agoRefactor duplicated code; ensure default is in completions
Tassilo Horn [Fri, 9 Oct 2015 07:56:40 +0000 (09:56 +0200)]
Refactor duplicated code; ensure default is in completions

* lisp/textmodes/reftex-cite.el (reftex--query-search-regexps): New function.
(reftex-extract-bib-entries): Use it.
(reftex-extract-bib-entries-from-thebibliography): Use it.

8 years agoTypo in example
Vincent Belaïche [Fri, 9 Oct 2015 05:52:15 +0000 (07:52 +0200)]
Typo in example

* autotype.texi (Skeletons as Abbrevs): "if" -> "ifst" in the example.

8 years ago* lisp/calc/calc.el: Silence byte-compiler warnings
Stefan Monnier [Fri, 9 Oct 2015 02:25:38 +0000 (22:25 -0400)]
* lisp/calc/calc.el: Silence byte-compiler warnings

(calc-scan-for-dels): Use ignore-errors.
(calc-dispatch, calc-do-dispatch): Make unused arg optional.
(calc-read-key-sequence): Remove unused var `prompt2'.
(calc-kill-stack-buffer): Remove unused var `buflist'.
(calc): Remove unused var `oldbuf'.
(calc-refresh): Use inhibit-read-only.
(calc-can-abbrev-vectors): Declare.
(calc-record): Remove unused var `mainbuf'.
(math-sub-bignum): Remove unused var `sum'.
(math-svo-c, math-svo-wid, math-svo-off): Declare.

8 years agoUse g_clear_error instead of g_error_free
Daiki Ueno [Thu, 8 Oct 2015 03:43:37 +0000 (12:43 +0900)]
Use g_clear_error instead of g_error_free

* src/image.c: Define g_clear_error instead of g_error_free.
(init_svg_functions): Resolve symbol g_clear_error instead of
g_error_free.
(svg_load_image): Use g_clear_error instead of g_error_free, to
suppress GLib warnings when ERR is not set.  See bug#21641.

8 years ago* src/image.c (image_size_error): Simplify.
Paul Eggert [Thu, 8 Oct 2015 20:54:04 +0000 (13:54 -0700)]
* src/image.c (image_size_error): Simplify.

8 years agoFix problems caught with --enable-gcc-warnings
Paul Eggert [Thu, 8 Oct 2015 20:42:38 +0000 (13:42 -0700)]
Fix problems caught with --enable-gcc-warnings

* src/image.c (lookup_rgb_color):
* src/xfns.c (x_defined_color):
* src/xterm.c (x_parse_color):
Remove unused locals.

8 years ago* lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
Jay Belanger [Thu, 8 Oct 2015 13:38:45 +0000 (08:38 -0500)]
* lisp/calc/calc.el (calc-digit-start-entry): Fix typo.

8 years agoFormat initial input uniformly.
Jay Belanger [Thu, 8 Oct 2015 13:32:00 +0000 (08:32 -0500)]
Format initial input uniformly.

* lisp/calc/calc.el (calc-digit-start-entry): New function.
* lisp/calc/calc.el (calcDigit-start):
* lisp/calc/calc-aent.el (calc-alg-digit-entry):
Use `calc-digit-start-entry' to format input.

8 years agoDisable non-working pointerColor setting for X tooltip frame.
Ken Raeburn [Mon, 5 Oct 2015 15:11:32 +0000 (11:11 -0400)]
Disable non-working pointerColor setting for X tooltip frame.

It generates a bunch of server traffic, but there's some bug wherein
the new mouse cursor settings don't seem to get used.  In most
situations the cursor isn't likely to be seen anyway, so it's not
urgent to fix.

* src/xfns.c (x_create_tip_frame): Don't set pointerColor.

8 years agoReduce some unnecessary X calls.
Ken Raeburn [Sun, 4 Oct 2015 13:54:44 +0000 (09:54 -0400)]
Reduce some unnecessary X calls.

* src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
call.  If border width is wanted, get it from the XGetGeometry call
instead of calling XGetWindowAttributes on the same window.  Skip some
X calls if we've already detected an error from the X server.
* src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
(handle_one_xevent): Delete XSync call before x_uncatch_errors.

8 years agoReduce color allocation/query traffic in the TrueColor case.
Ken Raeburn [Sat, 3 Oct 2015 04:18:50 +0000 (00:18 -0400)]
Reduce color allocation/query traffic in the TrueColor case.

When working with an X visual with TrueColor class, pixel values can
be generated from the RGB values according to mask value provided by
the server on connection.  Some of the image-handling code was already
doing this.

* src/xterm.h (x_make_truecolor_pixel): New function; code taken from
lookup_rgb_color.
(x_mutable_colormap): New function.
* src/image.c (lookup_rgb_color): Move pixel composition code to
x_make_truecolor_pixel.
(x_kill_gs_process): Call x_mutable_colormap.
* src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
x_mutable_colormap.
* src/xftfont.c (xftfont_get_colors): Call x_query_colors.
* src/xterm.c (x_query_colors): For a TrueColor display, decompose the
pixel value into RGB values directly, and don't send a request to the
server.
(x_alloc_nearest_color): For a TrueColor display, construct the pixel
value with x_make_truecolor_pixel.
(x_copy_color): For an immutable color map, just return the provided
pixel value.

8 years agoCache XParseColor results in the X display info structure.
Ken Raeburn [Sat, 3 Oct 2015 04:15:54 +0000 (00:15 -0400)]
Cache XParseColor results in the X display info structure.

With repeated lookups of foreground and background colors for multiple
faces per frame, we issue a lot of redundant color name lookups to the
X server, waiting every time for the response.  On a remote network
with, say, 30ms round-trip time, this can add nearly a full second to
creation of a new frame.

* src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
* src/image.c (get_spec_bg_or_alpha_as_argb):
(xpm_init_color_cache, xpm_lookup_color):
* src/xfns.c (x_defined_color):
* src/xterm.c (x_parse_color): New function; caches color names not
starting with "#" in the display-info structure.
(x_delete_display): Delete the cache content.
* src/xterm.h (struct color_name_cache_entry): New type.
(x_parse_color): Declare.
(struct x_display_info): Add a new field for the cache.

8 years ago* src/syntax.c (syms_of_syntax): Make syntax-propertize--done local
Stefan Monnier [Thu, 8 Oct 2015 01:11:38 +0000 (21:11 -0400)]
* src/syntax.c (syms_of_syntax): Make syntax-propertize--done local

8 years agoFix segfault in image_size_error
Eli Zaretskii [Wed, 7 Oct 2015 17:49:05 +0000 (20:49 +0300)]
Fix segfault in image_size_error

* src/image.c (image_size_error): Pass a Lisp string to
image_error, not a C string.  (Bug#21641)

8 years agoHighlight CSS variable definitions
Simen Heggestøyl [Wed, 7 Oct 2015 17:19:42 +0000 (19:19 +0200)]
Highlight CSS variable definitions

* lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
CSS variables.  (Bug#21638)

8 years ago* test/automated/tabulated-list-test.el: New file
Artur Malabarba [Wed, 7 Oct 2015 14:12:49 +0000 (15:12 +0100)]
* test/automated/tabulated-list-test.el: New file

Test bug#21639 and some basic functionality.

8 years ago* lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
Artur Malabarba [Wed, 7 Oct 2015 13:09:09 +0000 (14:09 +0100)]
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):

Check if column can be sorted before trying.  (Bug#21639)

8 years agoAdd test for `self-insert-command' (bug#21633)
Nicolas Richard [Wed, 7 Oct 2015 13:08:30 +0000 (15:08 +0200)]
Add test for `self-insert-command' (bug#21633)

* test/automated/cmds-tests.el: New file.

8 years agoIn resize_frame_windows don't set a top position when resizing horizontally.
Martin Rudalics [Wed, 7 Oct 2015 09:11:53 +0000 (11:11 +0200)]
In resize_frame_windows don't set a top position when resizing horizontally.

* src/window.c (resize_frame_windows): Don't set root window's
top position when resizing horizontally.

8 years ago* lisp/progmodes/prog-mode.el (prettify-symbols-alist):
Artur Malabarba [Wed, 7 Oct 2015 08:40:00 +0000 (09:40 +0100)]
* lisp/progmodes/prog-mode.el (prettify-symbols-alist):

Document more possible values.

8 years ago; * admin/MAINTAINERS: Remove no-longer-active people
Glenn Morris [Wed, 7 Oct 2015 06:31:43 +0000 (23:31 -0700)]
; * admin/MAINTAINERS: Remove no-longer-active people

8 years ago; * admin/MAINTAINERS: Copyedits.
Glenn Morris [Wed, 7 Oct 2015 06:30:45 +0000 (23:30 -0700)]
; * admin/MAINTAINERS: Copyedits.

8 years ago; * admin/MAINTAINERS: Remove "unmaintained" section; neither correct nor useful
Glenn Morris [Wed, 7 Oct 2015 06:29:13 +0000 (23:29 -0700)]
; * admin/MAINTAINERS: Remove "unmaintained" section; neither correct nor useful

8 years ago* lisp/textmodes/tex-mode.el: Use lexical-binding
Stefan Monnier [Wed, 7 Oct 2015 02:57:53 +0000 (22:57 -0400)]
* lisp/textmodes/tex-mode.el: Use lexical-binding

8 years ago* lisp/indent.el (indent--default-inside-comment): New function
Stefan Monnier [Wed, 7 Oct 2015 02:56:24 +0000 (22:56 -0400)]
* lisp/indent.el (indent--default-inside-comment): New function

(indent-for-tab-command): Use it for `noindent' indentation.

8 years agoFix bug in GC_CHECK_MARKED_OBJECTS check
Paul Eggert [Tue, 6 Oct 2015 20:33:50 +0000 (13:33 -0700)]
Fix bug in GC_CHECK_MARKED_OBJECTS check

* src/alloc.c (mark_object): Fix bug in checking code.
When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
bucket.  The bug did not affect behavior either in the normal case
where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
not have an internal error that a properly-written
CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.

8 years agoAdd prettified version of \\Bbb{Q}.
Tassilo Horn [Tue, 6 Oct 2015 18:58:47 +0000 (20:58 +0200)]
Add prettified version of \\Bbb{Q}.

* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add
prettified version for \\Bbb{Q}.

8 years ago* test/automated/package-test.el (package-test-install-single):
Artur Malabarba [Tue, 6 Oct 2015 18:40:27 +0000 (19:40 +0100)]
* test/automated/package-test.el (package-test-install-single):

Add a test for bug#21625.

8 years agolisp/emacs-lisp/package.el (package-install): Fix name error
Aaron Ecay [Mon, 5 Oct 2015 19:55:58 +0000 (20:55 +0100)]
lisp/emacs-lisp/package.el (package-install): Fix name error

* lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
  not a package-desc object.  Also clarify documentation.  (Bug#21625)

8 years agoFix display of characters adjacent to ZWJ and ZWNJ
Eli Zaretskii [Tue, 6 Oct 2015 16:08:21 +0000 (19:08 +0300)]
Fix display of characters adjacent to ZWJ and ZWNJ

* src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
characters the same as directional formatting controls.
(bidi_level_of_next_char): Include all Bn characters in rule L1,
as mandated by the UBA.

8 years agoDon't use XFASTINT on a negative number
Andreas Schwab [Tue, 6 Oct 2015 09:47:07 +0000 (11:47 +0200)]
Don't use XFASTINT on a negative number

* src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
number.  (Bug#21633)

8 years ago* doc/lispref/objects.texi (Window Type): Add a cross reference.
Xue Fuqiao [Tue, 6 Oct 2015 02:52:28 +0000 (10:52 +0800)]
* doc/lispref/objects.texi (Window Type): Add a cross reference.

8 years ago* src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
Xue Fuqiao [Mon, 5 Oct 2015 22:48:39 +0000 (06:48 +0800)]
* src/buffer.c (syms_of_buffer): Typo fix.  (Bug#21622)

8 years ago; Another minor fix in misc-lang.el
Eli Zaretskii [Mon, 5 Oct 2015 19:24:25 +0000 (22:24 +0300)]
; Another minor fix in misc-lang.el

8 years agoFix composition-function-table for Arabic and Syriac
Eli Zaretskii [Mon, 5 Oct 2015 19:19:39 +0000 (22:19 +0300)]
Fix composition-function-table for Arabic and Syriac

* lisp/language/misc-lang.el (composition-function-table): Fix
entries for Arabic and Syriac.

8 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
K. Handa [Mon, 5 Oct 2015 13:56:26 +0000 (22:56 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

8 years agoAdd first unit tests for auth-source.el
Damien Cassou [Fri, 2 Oct 2015 21:31:23 +0000 (23:31 +0200)]
Add first unit tests for auth-source.el

* test/automated/auth-source-tests.el: New file.

8 years agoRemove redundant redisplay code
Eli Zaretskii [Mon, 5 Oct 2015 07:22:08 +0000 (10:22 +0300)]
Remove redundant redisplay code

* src/xdisp.c (redisplay_internal, try_cursor_movement)
(try_window_reusing_current_matrix, try_window_id): Remove
redundant restrictions on redisplay optimizations based on the
frame's 'redisplay' flag.  See
http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
discussions.

8 years ago* src/xdisp.c (windows_or_buffers_changed): Improve docstring
Stefan Monnier [Mon, 5 Oct 2015 02:30:27 +0000 (22:30 -0400)]
* src/xdisp.c (windows_or_buffers_changed): Improve docstring

8 years agoUpdate tutorials/TUTORIAL.cn
Xue Fuqiao [Mon, 5 Oct 2015 00:58:28 +0000 (08:58 +0800)]
Update tutorials/TUTORIAL.cn

* etc/tutorials/TUTORIAL.cn: Improve translation.

8 years ago* src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars.
YAMAMOTO Mitsuharu [Mon, 5 Oct 2015 00:16:21 +0000 (09:16 +0900)]
* src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars.

8 years agoPull in version numbers from rst.el upstream release.
Stefan Merten [Sun, 4 Oct 2015 20:23:46 +0000 (22:23 +0200)]
Pull in version numbers from rst.el upstream release.

* lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
(rst-svn-timestamp, rst-official-version)
(rst-official-cvs-rev, rst-package-emacs-version-alist):
Update version numbers.

8 years ago* test/automated/coding-tests.el: New file.
Eli Zaretskii [Sun, 4 Oct 2015 13:07:23 +0000 (16:07 +0300)]
* test/automated/coding-tests.el: New file.

8 years agoImprove XEmacs compatibility of Tramp
Michael Albinus [Sun, 4 Oct 2015 11:00:33 +0000 (13:00 +0200)]
Improve XEmacs compatibility of Tramp

* lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
Declare if it doesn't exist.
(file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
(redisplay): Make it an alias if it doesn't exist.

* lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
`file-remote-p' (due to XEmacs compatibility).

* lisp/net/trampver.el (locate-dominating-file)
(tramp-compat-replace-regexp-in-string): Autoload.
(tramp-repository-get-version): Do not dupe byte-compiler.

8 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 4 Oct 2015 10:23:45 +0000 (06:23 -0400)]
; Auto-commit of ChangeLog files.

8 years ago; Restore some of the recent deletions in fileio.c
Eli Zaretskii [Sun, 4 Oct 2015 09:23:45 +0000 (12:23 +0300)]
; Restore some of the recent deletions in fileio.c

* src/fileio.c (Finsert_file_contents, choose_write_coding_system):
Restore some of the recently deleted calls to CHECK_CODING_SYSTEM.

8 years agoshr: fix too long lines in rendered buffers (Bug#21012)
Eli Zaretskii [Thu, 9 Jul 2015 02:38:29 +0000 (05:38 +0300)]
shr: fix too long lines in rendered buffers (Bug#21012)

Co-authored-by: Michael Heerdegen <michael_heerdegen@web.de>
* lisp/net/shr.el (shr-insert-document, shr-fill-text):
Correct calculation of available width.
(shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
is nil.

8 years ago; Add some comments
Xue Fuqiao [Sun, 4 Oct 2015 06:42:45 +0000 (14:42 +0800)]
; Add some comments

8 years agoRestore blank line before next section, erroneously erased in my previous commit
Vincent Belaïche [Sun, 4 Oct 2015 06:16:35 +0000 (08:16 +0200)]
Restore blank line before next section, erroneously erased in my previous commit

* etc/compilation.txt (symbol ant): add an additional trailing blank line to this section, so that there are two of them immediately before the next section

8 years agoSupport MSW filename style for ant compilation error regexp
Vincent Belaïche [Sun, 4 Oct 2015 05:57:28 +0000 (07:57 +0200)]
Support MSW filename style for ant compilation error regexp

* etc/compilation.txt (symbol ant):
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Support MSW filename style

8 years ago* nt/INSTALL: Minor spelling and quote fixes.
Paul Eggert [Sun, 4 Oct 2015 00:37:59 +0000 (17:37 -0700)]
* nt/INSTALL: Minor spelling and quote fixes.

8 years ago* lisp/ibuffer.el: Fix docstring length (Bug#21541).
Paul Eggert [Sun, 4 Oct 2015 00:25:01 +0000 (17:25 -0700)]
* lisp/ibuffer.el: Fix docstring length (Bug#21541).

8 years agoMaintain ordering of JSON object keys by default
Simen Heggestøyl [Sat, 3 Oct 2015 21:52:36 +0000 (23:52 +0200)]
Maintain ordering of JSON object keys by default

* lisp/json.el (json-object-type): Mention order handling in doc-string.
(json--plist-reverse): New utility function.
(json-read-object): Maintain ordering for alists and plists.
(json-pretty-print): Ensure that ordering is maintained.

* test/automated/json-tests.el (test-json-plist-reverse): New test for
`json--plist-reverse'.
(json-read-simple-alist): Update test to accommodate for changes in
`json-read-object'.

* etc/NEWS: Document the new behavior of the pretty printing functions.

8 years ago * src/coding.c (complement_process_encoding_system): Revert last
Andreas Schwab [Sat, 3 Oct 2015 18:14:40 +0000 (20:14 +0200)]
* src/coding.c (complement_process_encoding_system): Revert last
change.

8 years agoAdd entry for Ulf Jasper.
Ulf Jasper [Sat, 3 Oct 2015 16:21:07 +0000 (18:21 +0200)]
Add entry for Ulf Jasper.

8 years agoDoc fix for `defmacro'
Xue Fuqiao [Sat, 3 Oct 2015 13:24:09 +0000 (21:24 +0800)]
Doc fix for `defmacro'

* doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.

8 years agoMore validatation of coding systems
Andreas Schwab [Sat, 3 Oct 2015 12:21:48 +0000 (14:21 +0200)]
More validatation of coding systems

* src/fileio.c (Finsert_file_contents): Remove redundant
coding-system check.
(choose_write_coding_system): Likewise.
* src/coding.c (complement_process_encoding_system): Check
argument for valid coding system.

8 years agoAvoid crashes in coding_inherit_eol_type
Eli Zaretskii [Sat, 3 Oct 2015 12:39:17 +0000 (15:39 +0300)]
Avoid crashes in coding_inherit_eol_type

* src/coding.c (coding_inherit_eol_type): Check the validity of
the arguments.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
(Bug#21602)

8 years agoMore validatation of coding system in 'write-region'
Eli Zaretskii [Sat, 3 Oct 2015 11:49:16 +0000 (14:49 +0300)]
More validatation of coding system in 'write-region'

* src/coding.c (choose_write_coding_system): More validation of
coding-system from various sources.  Suggested by Andreas Schwab
<schwab@linux-m68k.org>.  (Bug#21602)

8 years agoAvoid crashes due to invalid coding-system
Eli Zaretskii [Sat, 3 Oct 2015 10:44:44 +0000 (13:44 +0300)]
Avoid crashes due to invalid coding-system

* src/fileio.c (choose_write_coding_system)
(Finsert_file_contents): Check validity of coding-system-for-write
and coding-system-for-read bound by the caller.  (Bug#21602)

8 years ago; Tramp: Suppress compiler warnings.
Michael Albinus [Sat, 3 Oct 2015 08:09:41 +0000 (10:09 +0200)]
; Tramp: Suppress compiler warnings.

8 years agoAdapt to new prettify-symbols-unprettify-at-point default
Tassilo Horn [Sat, 3 Oct 2015 05:49:08 +0000 (07:49 +0200)]
Adapt to new prettify-symbols-unprettify-at-point default

* etc/NEWS: Mention that unprettication of symbol at point is off by
default.

8 years agoRevert my two recent process.c changes
Tassilo Horn [Sat, 3 Oct 2015 04:01:42 +0000 (06:01 +0200)]
Revert my two recent process.c changes

Revert "Improve last commit to process.c" and "Remove callback-handled
channels from Available set" because they did not fix bug#21313.

This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
27f871907cc24f33a7d12ac3a4ab71a88f0bc554..

8 years ago* prolog.el: Update and extend operator table
Markus Triska [Fri, 2 Oct 2015 20:47:06 +0000 (16:47 -0400)]
* prolog.el: Update and extend operator table

(prolog-smie-grammar): Add multifile, public etc.

8 years agoAllow autogen even when Git is not installed
Paul Eggert [Fri, 2 Oct 2015 19:40:57 +0000 (12:40 -0700)]
Allow autogen even when Git is not installed

* autogen.sh: Test ‘git status’ before trying to use Git.

8 years ago* lisp/vc/vc-git.el (vc-git-region-history): Handle local changes
Stefan Monnier [Fri, 2 Oct 2015 19:24:23 +0000 (15:24 -0400)]
* lisp/vc/vc-git.el (vc-git-region-history): Handle local changes

Adjust lto/lfrom when we have uncommitted changes.

8 years agoFix problems found by clang 3.5.0
Paul Eggert [Fri, 2 Oct 2015 15:34:15 +0000 (08:34 -0700)]
Fix problems found by clang 3.5.0

* src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
* src/font.c (font_parse_family_registry):
Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.

8 years ago* nt/INSTALL: Update instructions for running autogen.sh
Eli Zaretskii [Fri, 2 Oct 2015 08:55:55 +0000 (11:55 +0300)]
* nt/INSTALL: Update instructions for running autogen.sh

8 years ago* nt/INSTALL: Point to ezwinports for libXpm binaries.
Eli Zaretskii [Fri, 2 Oct 2015 08:09:21 +0000 (11:09 +0300)]
* nt/INSTALL: Point to ezwinports for libXpm binaries.

8 years agoFix winner in cl-lib not loaded case
Daniel Colascione [Fri, 2 Oct 2015 05:10:53 +0000 (22:10 -0700)]
Fix winner in cl-lib not loaded case

* lisp/winner.el (winner-change-fun): Don't use cl-lib functions
without requiring CL

8 years agoFix a few problems with directed quotes
Paul Eggert [Fri, 2 Oct 2015 04:42:53 +0000 (21:42 -0700)]
Fix a few problems with directed quotes

This is in response to a problem report by Kaushal Modi in:
http://bugs.gnu.org/21588#25
* lisp/cedet/mode-local.el (describe-mode-local-overload):
* lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
* lisp/info-xref.el (info-xref-check-all-custom):
* lisp/mail/emacsbug.el (report-emacs-bug-hook):
Prefer directed to undirected single quotes in diagnostics.

8 years agoRevert "Attempt to fix slow redisplay caused by last changes"
Eli Zaretskii [Thu, 1 Oct 2015 18:03:10 +0000 (21:03 +0300)]
Revert "Attempt to fix slow redisplay caused by last changes"

* src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
(try_cursor_movement): Don't relax requirements for redisplay
optimizations for the selected frame.  (Bug#21597)

This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.

8 years agoFix slow redisplay when daemon frame exists
Eli Zaretskii [Thu, 1 Oct 2015 17:21:28 +0000 (20:21 +0300)]
Fix slow redisplay when daemon frame exists

* src/xdisp.c (redisplay_internal): Don't consider daemon frames
when looking for frames that need to be redisplayed.  (Bug#21597)

8 years agoAttempt to fix slow redisplay caused by last changes
Eli Zaretskii [Thu, 1 Oct 2015 16:56:46 +0000 (19:56 +0300)]
Attempt to fix slow redisplay caused by last changes

* src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
(try_cursor_movement): Relax requirements for redisplay
optimizations for the selected frame.  (Bug#21597)

8 years agoImprove doc strings in dired.c
Stephen Leake [Thu, 1 Oct 2015 14:15:26 +0000 (09:15 -0500)]
Improve doc strings in dired.c

* src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
Improve doc string.

8 years agoSet default base-size in minibuffer-completion-help
Stephen Leake [Thu, 1 Oct 2015 14:14:23 +0000 (09:14 -0500)]
Set default base-size in minibuffer-completion-help

* lisp/minibuffer.el (minibuffer-completion-help): Set default base-size,
in case completion table does not set it.

8 years ago; * lisp/progmodes/gdb-mi.el (gdb-mi-decode): Improve last change.
Eli Zaretskii [Thu, 1 Oct 2015 11:52:03 +0000 (14:52 +0300)]
; * lisp/progmodes/gdb-mi.el (gdb-mi-decode): Improve last change.

8 years agoFix GUD display of GDB output with non-ASCII text
Eli Zaretskii [Thu, 1 Oct 2015 11:40:10 +0000 (14:40 +0300)]
Fix GUD display of GDB output with non-ASCII text

* lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
(gdb-mi-decode): New function.
(gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
decode octal escapes in GDB output.  (Bug#21572)

8 years ago* nt/INSTALL: Document where to find XPM support files
Eli Zaretskii [Thu, 1 Oct 2015 10:52:11 +0000 (13:52 +0300)]
* nt/INSTALL: Document where to find XPM support files

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Oct 2015 10:18:29 +0000 (06:18 -0400)]
; Auto-commit of loaddefs files.

8 years agoUn- and re-prettification are not exclusive
Tassilo Horn [Thu, 1 Oct 2015 06:07:40 +0000 (08:07 +0200)]
Un- and re-prettification are not exclusive

* lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
Re-apply prettification to previous symbol also when unprettifying next
one.

8 years agoDon't unprettify symbol at point by default
Tassilo Horn [Thu, 1 Oct 2015 05:54:45 +0000 (07:54 +0200)]
Don't unprettify symbol at point by default

* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
Default to disabled (nil).

8 years ago* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
Artur Malabarba [Thu, 1 Oct 2015 00:38:20 +0000 (01:38 +0100)]
* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):

Support unprettifying when point is after a symbol.

* etc/NEWS: Document `prettify-symbols-unprettify-at-point'

8 years agoAvoid assertion violations in push_prefix_prop
Eli Zaretskii [Wed, 30 Sep 2015 19:43:42 +0000 (22:43 +0300)]
Avoid assertion violations in push_prefix_prop

* src/xdisp.c (push_prefix_prop): Avoid assertion violations when
a line that has a line-prefix defined starts with an image.  (Bug#21428)

8 years ago; Revert inadvertent premature commit.
Eli Zaretskii [Wed, 30 Sep 2015 19:42:59 +0000 (22:42 +0300)]
; Revert inadvertent premature commit.