Stefan Monnier [Tue, 22 Apr 2014 16:22:13 +0000 (12:22 -0400)]
* lisp/emacs-lisp/byte-run.el (function-put): New function.
(defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
* lisp/emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
(cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
Use them.
Bastien Guerry [Tue, 22 Apr 2014 14:07:45 +0000 (16:07 +0200)]
Merge Org 8.2.6-1.
The last merge was from 8.2.5c, but many important bugs got
fixed between 8.2.5c and 8.2.6-1.
Michael Albinus [Tue, 22 Apr 2014 10:52:08 +0000 (12:52 +0200)]
* automated/tramp-tests.el (tramp--test-check-files): Remove traces.
Michael Albinus [Tue, 22 Apr 2014 10:43:01 +0000 (12:43 +0200)]
* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
Remove test messages.
(tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
and `target' twice.
Michael Albinus [Tue, 22 Apr 2014 07:50:58 +0000 (09:50 +0200)]
* automated/tramp-tests.el (tramp-test30-special-characters):
Remove test for backslash.
Daniel Colascione [Tue, 22 Apr 2014 07:04:34 +0000 (00:04 -0700)]
Correctly macroexpand top-level forms during eager macroexpand
* lisp/emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
Improve docstrings.
* lisp/emacs-lisp/macroexp.el (internal-macroexpand-for-load): Add
`full-p' parameter; when nil, call `macroexpand' instead of
`macroexpand-all'.
* src/lread.c (readevalloop_eager_expand_eval): New function
that can recurse into toplevel forms.
(readevalloop): Call it.
* src/lisp.h: Declare Qprogn.
* src/callint.c (Qprogn): No longer static.
* test/automated/bytecomp-tests.el (test-byte-comp-compile-and-load):
Add compile flag.
(test-byte-comp-macro-expansion)
(test-byte-comp-macro-expansion-eval-and-compile)
(test-byte-comp-macro-expansion-eval-when-compile)
(test-byte-comp-macro-expand-lexical-override): Use it.
(test-eager-load-macro-expansion)
(test-eager-load-macro-expansion-eval-and-compile)
(test-eager-load-macro-expansion-eval-when-compile)
(test-eager-load-macro-expand-lexical-override): New tests.
Daniel Colascione [Tue, 22 Apr 2014 06:51:30 +0000 (23:51 -0700)]
Minor bytecomp.el fixes
* lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
Use lambda function values, not quoted lambdas.
(byte-compile-recurse-toplevel): Remove extraneous &optional.
Daniel Colascione [Tue, 22 Apr 2014 06:45:41 +0000 (23:45 -0700)]
Fix cl-lib-struct-accessors test again.
* test/automated/cl-lib.el (cl-lib-struct-accessors): Fix test to
account for removal of `cl-struct-set-slot-value'. Also, move
the defstruct to top level.
Daniel Colascione [Tue, 22 Apr 2014 03:51:12 +0000 (20:51 -0700)]
Optimize cl-struct-slot-value; fix test
2014-04-22 Daniel Colascione <dancol@dancol.org>
* emacs-lisp/cl-macs.el
(cl-struct-sequence-type,cl-struct-slot-info): Declare pure.
(cl-struct-slot-value): Conditionally use aref or nth so that the
compiler produces optimal code.
2014-04-22 Daniel Colascione <dancol@dancol.org>
* automated/cl-lib.el (cl-lib-struct-accessors): Fix test to
account for removal of `cl-struct-set-slot-value'.
Stefan Monnier [Tue, 22 Apr 2014 03:18:15 +0000 (23:18 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
(cl--set-elt): Don't proclaim as inline.
(cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
Define as inlinable instead.
(cl-struct-set-slot-value): Remove.
* doc/misc/cl.texi (Structures): Remove cl-struct-set-slot-value.
* lisp/emacs-lisp/cl-lib.el (cl--set-elt): Remove.
* lisp/emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
Use setf instead.
Stefan Monnier [Mon, 21 Apr 2014 21:43:17 +0000 (17:43 -0400)]
* lisp/dframe.el (dframe-get-focus): Remove `hook' argument.
* lisp/speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
Fixes: debbugs:17311
Stefan Monnier [Mon, 21 Apr 2014 21:18:12 +0000 (17:18 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
Michael Albinus [Mon, 21 Apr 2014 21:04:25 +0000 (23:04 +0200)]
* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Set
"IFS=" when using read builtin, in order to preserve spaces in
the file name. Add test messages for hunting a bug on hydra.
(tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
Stefan Monnier [Mon, 21 Apr 2014 20:31:22 +0000 (16:31 -0400)]
* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
Don't prettify a word within a symbol.
Daniel Colascione [Mon, 21 Apr 2014 18:00:19 +0000 (11:00 -0700)]
Remove excess parameters on cl--const-expr-val
2014-04-21 Daniel Colascione <dancol@dancol.org>
* emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
last two parameters after all.
(cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
(cl--compiler-macro-assoc,cl-struct-slot-value)
(cl-struct-set-slot-value): Stop using them.
Jarek Czekalski [Mon, 21 Apr 2014 15:55:28 +0000 (11:55 -0400)]
Fix freezing with scroll bars of GTK3 Toolkit.
* src/keyboard.c (unblock_input): Add comment.
* src/xgselect.c (xg_select): Prevent Glib main loop recursion.
Fixes: debbugs:15801
Eli Zaretskii [Mon, 21 Apr 2014 14:50:19 +0000 (17:50 +0300)]
Minor fixes to the docs.
doc/emacs/buffers.texi (Uniquify): Clarify the default uniquification.
doc/emacs/indent.texi (Tab Stops): Improve wording.
doc/emacs/cmdargs.texi (General Variables): Improve docs of
EMACSLOADPATH. Index all the environment variables.
(Misc Variables): Index all the environment variables.
doc/lispref/text.texi (Registers): Document register-read-with-preview.
doc/lispref/internals.texi (Building Emacs): Improve indexing.
Stefan Monnier [Mon, 21 Apr 2014 14:34:49 +0000 (10:34 -0400)]
* lisp/image-mode.el (image-mode-window-put): Don't assume there's a `t'
entry in image-mode-winprops-alist.
Eli Zaretskii [Mon, 21 Apr 2014 14:01:56 +0000 (17:01 +0300)]
doc/emacs/ChangeLog: Typo fix.
Eli Zaretskii [Mon, 21 Apr 2014 13:46:25 +0000 (16:46 +0300)]
Mention that overlay priority doesn't have to be nil or an integer.
Fixes: debbugs:17234
Daniel Colascione [Mon, 21 Apr 2014 09:38:44 +0000 (02:38 -0700)]
Ignore a.out
Daniel Colascione [Mon, 21 Apr 2014 09:34:21 +0000 (02:34 -0700)]
Correctly treat progn contents as toplevel forms when byte compiling
Eli Zaretskii [Mon, 21 Apr 2014 06:37:21 +0000 (09:37 +0300)]
Fix redefinition warning in MinGW64 build.
nt/inc/ms-w32.h (lseek): Define only if not already a macro.
Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
Daniel Colascione [Mon, 21 Apr 2014 01:28:55 +0000 (18:28 -0700)]
Fix cl-the test
Daniel Colascione [Mon, 21 Apr 2014 01:03:39 +0000 (18:03 -0700)]
Fix cl-loop destructuring under `with' clause
Paul Eggert [Mon, 21 Apr 2014 00:31:59 +0000 (17:31 -0700)]
Spelling fixes.
Daniel Colascione [Sun, 20 Apr 2014 23:24:04 +0000 (16:24 -0700)]
Provide function for asking vc about project root
Katsumi Yamaoka [Sun, 20 Apr 2014 22:35:24 +0000 (22:35 +0000)]
lisp/gnus/gnus-icalendar.el: Silence the byte compiler
Jan Tatarik [Sun, 20 Apr 2014 22:10:33 +0000 (22:10 +0000)]
* gnus-icalendar.el (gnus-icalendar-event->org-entry)
(gnus-icalendar--update-org-event): put event timestamp in
the org entry body instead of the drawer.
(gnus-icalendar-event--get-attendee-names): list of participants should
contain even attendees without common name attribute.
(gnus-icalendar--update-org-event): don't generate duplicates of empty
property tags in org drawers.
Michael Albinus [Sun, 20 Apr 2014 21:39:43 +0000 (23:39 +0200)]
* automated/tramp-tests.el (tramp-test19-directory-files-and-attributes)
(tramp-test22-file-times): Check for `file-attributes' equality
only if there is a usable timestamp.
(tramp--test-check-files): Do not use `copy-sequence'.
Michael Albinus [Sun, 20 Apr 2014 21:35:55 +0000 (23:35 +0200)]
* net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if possible.
Eli Zaretskii [Sun, 20 Apr 2014 14:50:13 +0000 (17:50 +0300)]
Improve NEWS entry for dired-hide-details-mode.
Daniel Colascione [Sun, 20 Apr 2014 14:46:13 +0000 (07:46 -0700)]
unbreak the build
Eli Zaretskii [Sun, 20 Apr 2014 14:45:19 +0000 (17:45 +0300)]
Fix commit date of an entry in lisp/ChangeLog.16.
Daniel Colascione [Sun, 20 Apr 2014 02:51:17 +0000 (19:51 -0700)]
cl-lib defstruct introspection
Daniel Colascione [Sun, 20 Apr 2014 02:50:36 +0000 (19:50 -0700)]
Tweak documentation for previous change
Daniel Colascione [Sun, 20 Apr 2014 02:34:22 +0000 (19:34 -0700)]
defstruct introspection
Paul Eggert [Sat, 19 Apr 2014 22:19:54 +0000 (15:19 -0700)]
* configure.ac: Add comment explaining why HAVE_GLIB is different.
Michael Albinus [Sat, 19 Apr 2014 21:05:30 +0000 (23:05 +0200)]
Instrument `tramp--test-check-files' in order to get traces on hydra.
Daniel Colascione [Sat, 19 Apr 2014 20:32:05 +0000 (13:32 -0700)]
Merge from emacs-24; up to 2014-04-17T02:05:48Z!eggert@cs.ucla.edu
Stefan Monnier [Sat, 19 Apr 2014 18:13:26 +0000 (14:13 -0400)]
* src/intervals.c (rotate_right, rotate_left): Fix up length computation.
Also change identifiers to match the comments, and add more assertions.
Fixes: debbugs:16234
Paul Eggert [Sat, 19 Apr 2014 17:45:20 +0000 (10:45 -0700)]
Link to glib-using libraries when checking for glib.
* configure.ac (XGSELOBJ): Include GTK_LIBS, RSVG_LIBS, etc.
when testing whether Glib is linked in. Similarly for CFLAGS.
Fixes: debbugs:17289
Stefan Monnier [Sat, 19 Apr 2014 17:14:27 +0000 (13:14 -0400)]
* lisp/progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
assignments such as "case=hello".
Fixes: debbugs:17297
Michael Albinus [Sat, 19 Apr 2014 14:14:26 +0000 (16:14 +0200)]
* automated/tramp-tests.el (tramp--test-check-files): Extend test.
(tramp-test31-utf8): Let-bind also `file-name-coding-system'.
Juanma Barranquero [Fri, 18 Apr 2014 23:36:51 +0000 (01:36 +0200)]
Merge from emacs-24; up to 2014-04-16T15:28:06Z!eggert@cs.ucla.edu
Michael Albinus [Fri, 18 Apr 2014 18:58:13 +0000 (20:58 +0200)]
* automated/tramp-tests.el (tramp-copy-size-limit): Set to nil.
(tramp--test-make-temp-name): Optional argument LOCAL.
(tramp--instrument-test-case): Show messages. Catch also `quit'.
(tramp-test10-write-region): No special test for out-of-band copy
needed anymore.
(tramp-test11-copy-file, tramp-test12-rename-file)
(tramp-test21-file-links): Extend tests.
(tramp-test20-file-modes): More robust check for user "root".
(tramp--test-check-files): New defun.
(tramp-test30-special-characters, tramp-test33-recursive-load)
(tramp-test34-unload): New tests.
(tramp-test31-utf8, tramp-test32-asynchronous-requests): Rename.
Michael Albinus [Fri, 18 Apr 2014 18:57:04 +0000 (20:57 +0200)]
Avoid recursive load of tramp.el
* net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
Do not autoload.
(tramp-file-name-handler, tramp-completion-file-name-handler):
Revert patch from 2014-04-10, it isn't necessary anymore.
(tramp-autoload-file-name-handler)
(tramp-register-autoload-file-name-handlers): New defuns.
(top): Autoload call of `tramp-register-autoload-file-name-handlers'.
(tramp-register-file-name-handlers): Remove also
`tramp-autoload-file-name-handler' from `file-name-handler-list'.
Do not autoload its invocation, but eval it after loading of 'tramp.
* net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
* net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
Eli Zaretskii [Fri, 18 Apr 2014 08:35:09 +0000 (11:35 +0300)]
Fix bug #17288 with inserting left truncation glyph under linum-mode.
src/xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation
glyph is written to TEXT_AREA of the temporary glyph_row.
Eli Zaretskii [Fri, 18 Apr 2014 07:52:18 +0000 (10:52 +0300)]
src/ChangeLog: Add header line to recent MSDOS-related entries.
Paul Eggert [Fri, 18 Apr 2014 06:40:15 +0000 (23:40 -0700)]
* emacs.c (close_output_streams): Don't clear and restore errno.
Paul Eggert [Thu, 17 Apr 2014 21:20:51 +0000 (14:20 -0700)]
* notes/bzr: Update instructions for merging from gnulib.
Remove obsolete note about tramp.el and tramp-sh.el.
Change "emacs-23" to "emacs-24".
Paul Eggert [Thu, 17 Apr 2014 14:59:22 +0000 (07:59 -0700)]
* term.c (tty_send_additional_strings): No need to fflush here,
as callers fflush.
(tty_set_terminal_modes): fflush after sending additional strings,
not before.
Jan Djärv [Thu, 17 Apr 2014 09:07:58 +0000 (11:07 +0200)]
Prevent endless loop in x_make_frame_visible.
* xterm.c (x_make_frame_visible): Prevent endless loop when frame
never becomes visible, i.e. using XMonad .
Fixes: debbugs:17237
Eli Zaretskii [Thu, 17 Apr 2014 08:58:59 +0000 (11:58 +0300)]
Fix bug #17281 with infloop in line-pixel-height.
src/xdisp.c (Fline_pixel_height): Don't assume that the current
buffer and the selected window's buffer are one and the same.
Daniel Colascione [Thu, 17 Apr 2014 07:54:23 +0000 (00:54 -0700)]
2014-04-17 Daniel Colascione <dancol@dancol.org>
Add support for bracketed paste mode; add infrastructure for
managing terminal mode enabling and disabling automatically.
* xt-mouse.el:
(xterm-mouse-mode): Simplify.
(xterm-mouse-tracking-enable-sequence)
(xterm-mouse-tracking-disable-sequence): New constants.
(turn-on-xterm-mouse-tracking-on-terminal)
(turn-off-xterm-mouse-tracking-on-terminal): Use
tty-mode-set-strings and tty-mode-reset-strings terminal
parameters instead of random hooks.
(turn-on-xterm-mouse-tracking)
(turn-off-xterm-mouse-tracking): Delete.
* term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
(xterm-paste-ending-sequence): New constant.
(xterm-paste): New command used for bracketed paste support.
(xterm-modify-other-keys-terminal-list): Delete obsolete variable.
(terminal-init-xterm-bracketed-paste-mode): New function.
(terminal-init-xterm): Call it.
(terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
and tty-mode-reset-strings instead of random hooks.
(xterm-turn-on-modify-other-keys)
(xterm-turn-off-modify-other-keys)
(xterm-remove-modify-other-keys): Delete obsolete functions.
* term/screen.el: Rewrite to just use the xterm code. Add
copyright notice. Mention tmux.
Eli Zaretskii [Thu, 17 Apr 2014 07:24:40 +0000 (10:24 +0300)]
Fix bug #17269 with corruption of the newline cache.
src/insdel.c (invalidate_buffer_caches): Invalidate the bidi
paragraph-start cache before the newline cache.
Paul Eggert [Thu, 17 Apr 2014 06:40:25 +0000 (23:40 -0700)]
* GNUmakefile: Speed up 'make bootstrap' in fresh checkout.
(ORDINARY_GOALS): New macro, which excludes 'bootstrap'.
(bootstrap, .PHONY): New rules.
* INSTALL.REPO: Document current procedure better.
Move copyright notice to just before license notice.
Paul Eggert [Thu, 17 Apr 2014 06:02:38 +0000 (23:02 -0700)]
* Makefile.in (force-info): Remove.
All uses removed. This hack is no longer needed here
now that we can assume GNU Make's .PHONY feature works.
(bootstrap): No need to make 'info', since 'all' now implies 'info'.
Ian D [Thu, 17 Apr 2014 03:58:25 +0000 (23:58 -0400)]
* lisp/image-mode.el (image-mode-window-put): Also update the property of
the "default window".
* lisp/doc-view.el (doc-view-new-window-function): If no window
exists, move to the last known page.
Paul Eggert [Thu, 17 Apr 2014 02:05:48 +0000 (19:05 -0700)]
* Makefile.in (FRC): Remove.
All uses removed. This hack is no longer needed here
now that we can assume GNU Make's .PHONY feature works.
Paul Eggert [Thu, 17 Apr 2014 01:35:20 +0000 (18:35 -0700)]
Be consistent about reporting infoclean failures.
* doc/emacs/Makefile.in (infoclean):
* doc/lispintro/Makefile.in (infoclean):
* doc/lispref/Makefile.in (infoclean):
* doc/misc/Makefile.in (infoclean):
Do not fail merely because the info directory does not exist,
but do fail if it exists and can't be cleaned.
Paul Eggert [Wed, 16 Apr 2014 19:43:46 +0000 (12:43 -0700)]
Merge from emacs-24; up to 2014-04-16T15:28:26Z!monnier@iro.umontreal.ca
Stefan Monnier [Wed, 16 Apr 2014 15:28:26 +0000 (11:28 -0400)]
* lisp/nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
was done.
* lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
comment to EOB.
Fixes: debbugs:17264
Paul Eggert [Wed, 16 Apr 2014 15:28:06 +0000 (08:28 -0700)]
Add a NEWS entry for IRIX.
Paul Eggert [Wed, 16 Apr 2014 15:16:35 +0000 (08:16 -0700)]
Remove DATA_SEG_BITS.
The DATA_SEG_BITS hack was needed for older 32 bit platforms.
As a result of this change, Emacs won't work on IRIX 6.5 with IRIX
cc, but that platform is so old that SGI itself stopped supporting
it in December 2013. If you still need Emacs on IRIX, please
either compile with GCC and port the undumping code, or run
'./configure --with-wide-int'.
* configure.ac (DATA_SEG_BITS): Remove. All uses removed.
* src/alloc.c (gdb_make_enums_visible): Update to match lisp.h.
* src/lisp.h (GCTYPEBITS): Move definition up, and switch to the
DEFINE_GDB_SYMBOL_START way to define it.
(NONPOINTER_BITS): New macro.
(EMACS_INT): Use it.
[!USE_LSB_TAG && !WIDE_EMACS_INT]: Fail, and suggest reporting
the problem and/or configuring --with-wide-int.
(USE_LSB_TAG): Simplify, based on above changes.
(gdb_DATA_SEG_BITS): Remove. All uses removed.
* src/vm-limit.c (exceeds_lisp_ptr): Remove. All uses removed.
Stefan Monnier [Wed, 16 Apr 2014 14:13:06 +0000 (10:13 -0400)]
* lisp/progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
here-documents.
Fixes: debbugs:17262
Stefan Monnier [Wed, 16 Apr 2014 14:00:39 +0000 (10:00 -0400)]
* src/window.c (save_window_save): Lookup window_point_insertion_type in
the right buffer.
(Qwindow_point_insertion_type): New var.
(syms_of_window): Initialize it.
Fixes: debbugs:15457
Eli Zaretskii [Wed, 16 Apr 2014 13:31:23 +0000 (16:31 +0300)]
Actually commit msdos/sedadmin.inp.
Eli Zaretskii [Wed, 16 Apr 2014 13:27:28 +0000 (16:27 +0300)]
Fix the MSDOS build.
src/unexcoff.c [MSDOS]: Include libc/atexit.h.
(copy_text_and_data): Zero out the atexit chain pointer before
dumping Emacs.
src/termhooks.h (encode_terminal_code): Update prototype.
src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
visible for all DOS_NT ports, not just WINDOWSNT.
(syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
unless it is defined.
(emacs_pipe) [MSDOS]: Redirect to 'pipe'.
src/process.c (close_on_exec, accept4, process_socket): Move into
the "ifdef subprocesses" part.
(catch_child_signal): Condition by "ifdef subprocesses".
(syms_of_process) <Qinternal_default_process_sentinel>
<Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
src/msdos.h: Add prototypes for new functions.
(EINPROGRESS): Define.
(O_CLOEXEC): Define to zero.
src/msdos.c (check_window_system): Remove unnecessary an
incompatible duplicate function.
(sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
functions in support of new functionality.
src/menu.c (single_menu_item): Add visual indication of submenu
also for menus on MSDOS frames.
(Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
when async subprocesses aren't supported.
src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
src/emacs.c (close_output_streams): Zero out errno before calling
close_stream.
src/dired.c [MSDOS]: Include msdos.h.
src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
(DATA_START) [MSDOS]: Define.
(SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
Ifdef away for MSDOS.
(record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
(call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
for MSDOS.
(call_process) [MSDOS]: Fix call sequence of dostounix_filename.
Use temporary file template that is compatible with mkostemp.
Move vfork-related portions under #ifndef MSDOS.
(syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
doc strings, as required by snarf-documentation.
msdos/sedlisp.inp:
msdos/sedlibmk.inp:
msdos/sedleim.inp:
msdos/sed3v2.inp:
msdos/sed2v2.inp:
msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
msdos/inttypes.h: Add PRIdMAX.
msdos/INSTALL: Update for Emacs 24.4.
msdos/sedadmin.inp: New file.
Juanma Barranquero [Wed, 16 Apr 2014 10:03:38 +0000 (12:03 +0200)]
lisp/ChangeLog: Remove merge marker.
Karl Fogel [Wed, 16 Apr 2014 06:46:36 +0000 (14:46 +0800)]
* savehist.el (savehist-save): Remove workaround for a read-passwd
bug that was fixed before 24.3. Thanks to Juanma Barranquero for
noticing that the shim was still present.
Katsumi Yamaoka [Tue, 15 Apr 2014 23:37:21 +0000 (23:37 +0000)]
lisp/gnus/message.el (message-insert-formatted-citation-line): Use the original author's time zone to express a date string
Paul Eggert [Tue, 15 Apr 2014 20:05:02 +0000 (13:05 -0700)]
Revert previous change.
Eli Zaretskii [Tue, 15 Apr 2014 15:56:23 +0000 (18:56 +0300)]
Resurrect 2 entries in src/ChangeLog nuked by the previous commit.
Paul Eggert [Tue, 15 Apr 2014 15:43:41 +0000 (08:43 -0700)]
Fix some xgselect-vs-pselect bugs.
This may not fix Bug#17172, but it fixes some bugs discovering
while auditing xgselect.c for that bug.
when one of glib's file descriptors is greater than FDS_LIM.
Treat rfds, wfds, efds consistently, and test G_IO_PRI too.
Clear input masks when pselect returns zero.
Stefan Monnier [Tue, 15 Apr 2014 13:21:18 +0000 (09:21 -0400)]
* src/buffer.c (Foverlays_at): Add argument `sorted'.
* doc/lispref/display.texi (Overlay Properties): Reword the doc of `priority'.
(Finding Overlays): Document new arg of `overlays-at'.
* lisp/obsolete/lucid.el (extent-at):
* lisp/htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
overlays-at.
(hfy-fontify-buffer): Remove unused var `orig-ovls'.
* lisp/ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
arg of overlays-at. Use `invisible-p'.
João Távora [Mon, 14 Apr 2014 22:01:54 +0000 (23:01 +0100)]
Fix relative links to parent directories in shr
* lisp/net/shr.el (shr-expand-url): Use `expand-file-name' for relative
links. .
Fixes: debbugs:17217
Stefan Monnier [Mon, 14 Apr 2014 21:01:37 +0000 (17:01 -0400)]
* lisp/doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
Juanma Barranquero [Mon, 14 Apr 2014 15:38:43 +0000 (17:38 +0200)]
lisp/faces.el (face-set-after-frame-default): Remove unused local variable.
Eli Zaretskii [Mon, 14 Apr 2014 15:32:27 +0000 (18:32 +0300)]
Fix bidirectional redisplay when deletion creates a paragraph start.
src/insdel.c (invalidate_buffer_caches): When deleting or replacing
text, invalidate the bidi_paragraph_cache upto and including the
preceding newline.
Paul Eggert [Mon, 14 Apr 2014 05:35:45 +0000 (22:35 -0700)]
* autogen.sh: Use autoreconf's -f option.
Fixes: debbugs:17258
Paul Eggert [Mon, 14 Apr 2014 05:23:31 +0000 (22:23 -0700)]
Clean up configure-time library handling a bit.
This patch was inspired by emacs-24 2014-04-09T13:37:49Z!sdl.web@gmail.com, which fixed
a bug due to sloppy library handling in 'configure'.
* configure.ac (LIB_MATH, LIB_PTHREAD, LIBXMU):
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB as per Autoconf manual.
(LIB_MATH, LIB_PTHREAD, HAVE_X11, IMAGEMAGICK_LIBS, GTK_LIBS)
(DBUS_LIBS, LIBXMU, XFT_LIBS, LIBXSM, LIBXML2_LIBS, LIBS_MAIL)
(with_kerberos):
Don't let the library choice infect $LIBS.
(dnet_ntoa, cma_open): Remove obsolete tests.
(emacs_pthread_function): Probe for pthread_kill, not pthread_self,
as that's a bit more selective on GNU/Linux.
(LIBXEXT): Remove.
(touchlock): Test for existence when $LIBS_MAIL is in use.
(AC_CHECK_FUNCS): Use only $LIB_MATH in addition to $LIBS
when testing for typical functions like accept4, lrand48.
(random, rint): Remove obsolete HP-UX 9 A.09.05 test.
YAMAMOTO Mitsuharu [Mon, 14 Apr 2014 02:21:12 +0000 (11:21 +0900)]
Fix application of dolist to a vector (Bug#17257).
* vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
Use mapc to loop over a vector.
Paul Eggert [Sun, 13 Apr 2014 22:51:08 +0000 (15:51 -0700)]
Port to IRIX 6.5.
This port requires IRIX cc, as I did not have time to get
undump working with the old GCC on the system I had access to,
but that's better than nothing.
* configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro
that wouldn't have worked anyway, with IRIX cc.
(emacs_cv_clang, emacs_cv_sanitize_address)
(ns_osx_have_104, ns_osx_have_105):
Don't assume '#error' makes the compiler fail,
as this doesn't work with IRIX cc.
(CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure'
checks. This runs afoul of an IRIX configuration where GnuTLS is
in an optional library that also contains getdelim, and causes
a later 'configure' to incorrectly think getdelim is supported.
* src/alloc.c (TAGGABLE_NULL): New constant,
for porting to hosts with nontrivial DATA_SEG_BITS settings.
(next_vector, set_next_vector): Use it.
* src/conf_post.h (INET6) [IRIX6_5]: Define.
(HAVE_GETADDRINFO) [IRIX6_5]: Undef.
* src/data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined.
* src/lisp.h (lisp_h_XPNTR): Don't OR in bits that aren't masked out,
for consistency with how TAGGABLE_NULL is computed.
Fixes: debbugs:9684
Eli Zaretskii [Sun, 13 Apr 2014 10:45:46 +0000 (13:45 +0300)]
Fix open-dribble-file's treatment of non-ASCII file names.
src/keyboard.c (Fopen_dribble_file): Encode the dribble file-name
before passing it to system APIs.
Michael Albinus [Sun, 13 Apr 2014 10:31:48 +0000 (12:31 +0200)]
* net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
patch, there are new problems with file names containing spaces.
Get rid of backticks. (Bug#17238)
João Távora [Sun, 13 Apr 2014 10:27:32 +0000 (11:27 +0100)]
Fix bug in Electric Pair mode
* lisp/elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
possible bug.
Eli Zaretskii [Sun, 13 Apr 2014 07:49:23 +0000 (10:49 +0300)]
Improve documentation of blink-cursor-mode and its customization variables.
lisp/frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
(blink-cursor-mode): Mention customization variables and the
effect of 'blink-cursor-blinks'.
doc/emacs/display.texi (Cursor Display): Explain better how to customize
'blink-cursor-blinks'.
Eli Zaretskii [Sun, 13 Apr 2014 07:33:15 +0000 (10:33 +0300)]
Fix bug #17255 with insufficient pure space on 32-bit Posix builds.
src/puresize.h (BASE_PURESIZE): Bump by 1K.
Eli Zaretskii [Sun, 13 Apr 2014 06:46:10 +0000 (09:46 +0300)]
Fix last commit.
Eli Zaretskii [Sun, 13 Apr 2014 06:44:22 +0000 (09:44 +0300)]
Fix creation of emacs.exe hardlink at "make install" time on MS-Windows.
configure.ac (LN_S_FILEONLY, LN_S): Use "/bin/ln" on MinGW, to
ensure the MSYS ln.exe is invoked.
Stefan Monnier [Sun, 13 Apr 2014 02:51:11 +0000 (22:51 -0400)]
* src/bytecode.c (exec_byte_code): Rework the volatiles. Most importantly,
make sure stack.byte_string_start is not de-adjusted by pushhandler.
Paul Eggert [Sat, 12 Apr 2014 21:54:27 +0000 (14:54 -0700)]
* keyboard.c (Fopen_dribble_file): Avoid some races.
Fixes: debbugs:17187
Stefan Monnier [Sat, 12 Apr 2014 19:38:06 +0000 (15:38 -0400)]
* lisp/progmodes/grep.el: Use lexical-binding.
(grep-expand-template): Pass explicit lexical env to `eval'.
(zrgrep): Let-bind grep-find-template explicitly.
Stefan Monnier [Sat, 12 Apr 2014 19:30:14 +0000 (15:30 -0400)]
* lisp/emacs-lisp/cl-lib.el (current-case-table): Remove setter.
* lisp/leim/quail/sisheng.el (sisheng-list): Use with-case-table.
Glenn Morris [Sat, 12 Apr 2014 19:24:17 +0000 (12:24 -0700)]
Merge from emacs-24; up to 2014-04-07T20:54:16Z!dancol@dancol.org
Barry O'Reilly [Sat, 12 Apr 2014 19:20:44 +0000 (15:20 -0400)]
* simple.el (undo): Prevent insertion of identity mapping into
undo-equiv-table so as undo-only does not inf loop in the presence
of consecutive nils in undo list.
Fixes: debbugs:17236
Glenn Morris [Sat, 12 Apr 2014 18:46:15 +0000 (11:46 -0700)]
Regenerate ldefs-boot.el
Eli Zaretskii [Sat, 12 Apr 2014 14:31:48 +0000 (17:31 +0300)]
lisp/ChangeLog: Fix Matthias Dahl's address.
Eli Zaretskii [Sat, 12 Apr 2014 14:31:03 +0000 (17:31 +0300)]
Fix last commit.