From: Juanma Barranquero Date: Wed, 26 Mar 2014 15:57:13 +0000 (+0100) Subject: Merge from emacs-24; up to 2014-03-23T23:14:52Z!yamaoka@jpl.org X-Git-Tag: emacs-25.0.90~2612^2~709^2~1157 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16adf2e6eb1ddf0b32ebea2d5ce8fa1e4c226614;p=emacs.git Merge from emacs-24; up to 2014-03-23T23:14:52Z!yamaoka@jpl.org --- 16adf2e6eb1ddf0b32ebea2d5ce8fa1e4c226614 diff --cc ChangeLog index 14587cfd24e,04f5bed7ee2..d019c1e4893 --- a/ChangeLog +++ b/ChangeLog @@@ -1,24 -1,9 +1,30 @@@ + 2014-03-26 Paul Eggert + + Merge from gnulib, incorporating: + 2014-03-26 strftime: wrap macros in "do {...} while(0)" + * lib/strftime.c: Update from gnulib. + +2014-03-26 Glenn Morris + + * configure.ac (CLASH_DETECTION): Remove option. Every platform + supports it, and the runtime option `create-lockfiles' replaces it. + +2014-03-23 Daniel Colascione + + * configure.ac: (Bug#17069) Include GFILENOTIFY objects in glib check. + +2014-03-22 Glenn Morris + + * make-dist: Do not distribute lib-src/testfile. + +2014-03-21 Eli Zaretskii + + * configure.ac: Bump version to 24.4.50. + +2014-03-21 Glenn Morris + + * Makefile.in (all): Depend on `info'. (Bug#16626) + 2014-03-07 Paul Eggert Merge from gnulib, incorporating: diff --cc doc/lispref/ChangeLog index 71af1bc66a0,bf3c6f170ea..fdc266472e0 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@@ -1,15 -1,18 +1,28 @@@ -2014-03-25 Eli Zaretskii ++2014-03-26 Eli Zaretskii + + * files.texi (Kinds of Files): Improve documentation of + file-symlink-p. (Bug#17073) Add cross-references. + -2014-03-24 Barry O'Reilly ++2014-03-26 Barry O'Reilly + + * markers.texi (Moving Marker Positions): The 2014-03-02 doc + change mentioning undo's inability to handle relocated markers no + longer applies. See bug#16818. + * text.texi (Undo): Expand documentation of (TEXT . POS) and + (MARKER . ADJUSTMENT) undo elements. + +2014-03-26 Glenn Morris + + * files.texi (File Locks): All systems support locking. + 2014-03-22 Glenn Morris + * commands.texi (Defining Commands): + Mention that interactive-only also affects describe-function. + + * functions.texi (Declare Form): Add interactive-only. + * commands.texi (Defining Commands) Mention declare. + * commands.texi (Defining Commands): List interactive-only values. 2014-03-22 Eli Zaretskii diff --cc doc/misc/ChangeLog index e20fc9955e7,1cb16188abd..7c4a9551769 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@@ -1,30 -1,11 +1,38 @@@ + 2014-03-26 Paul Eggert + + * texinfo.tex: Update from gnulib. + -2014-03-24 Michael Albinus ++2014-03-26 Michael Albinus + + * tramp.texi (Frequently Asked Questions): Add fish shell settings. + +2014-03-23 Katsumi Yamaoka + + * gnus.texi (Ma Gnus): Mention header attachment buttons. + +2014-03-23 Lars Ingebrigtsen + + * emacs-mime.texi (MML Definition): Document recipient-filename. + +2014-03-23 Katsumi Yamaoka + + * gnus.texi (MIME Commands): Mention + gnus-mime-buttonize-attachments-in-header and + gnus-mime-display-attachment-buttons-in-header. + +2014-03-23 Lars Ingebrigtsen + + * message.texi (Forwarding): Mention + `message-forward-included-headers'. + +2014-03-23 Lars Ingebrigtsen + + * gnus.texi: w3 is no longer supported by Gnus. + +2014-03-22 Glenn Morris + + * efaq.texi (Informational files for Emacs): Do not mention etc/GNU. + 2014-03-21 Glenn Morris * ede.texi (ede-linux): diff --cc lisp/ChangeLog index 995c4f3acc4,468e83f4218..ecb2a8e33a0 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,89 -1,97 +1,164 @@@ + 2014-03-26 Juanma Barranquero + + * emacs-lisp/package.el: Fix bug#16733 (again). + (url-http-parse-response, url-http-end-of-headers, url-recreate-url) + (url-http-target-url): Remove unused declarations. + (package-handle-response): Remove. + (package--with-work-buffer): Use url-insert-file-contents and simplify. + (package--download-one-archive): Use current-buffer instead of + dynamic binding of `buffer'. + (describe-package-1): Do not decode readme-string. + -2014-03-25 Barry O'Reilly - - * simple.el (primitive-undo): Correction to 2014-03-24 change. - -2014-03-25 Michael Albinus ++2014-03-26 Michael Albinus + + * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring. + + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change + from 2014-03-07, it decreases performance unnecessarily. Let-bind + `remote-file-name-inhibit-cache' to nil in the second pass. + (tramp-find-executable): Do not call "which" on SunOS. + (tramp-send-command-and-check): Fix docstring. + (tramp-do-copy-or-rename-file-directly): In the `rename' case, + check whether source directory has set the sticky bit. + -2014-03-24 Barry O'Reilly ++2014-03-26 Barry O'Reilly + + * simple.el (primitive-undo): Only process marker adjustments + validated against their corresponding (TEXT . POS). Issue warning + for lone marker adjustments in undo history. (Bug#16818) + (undo-make-selective-list): Add marker adjustments to selective + undo list based on whether their corresponding (TEXT . POS) is in + the region. Remove variable adjusted-markers, which was unused + and only non nil during undo-make-selective-list. + (undo-elt-in-region): Return nil when passed a marker adjustment + and explain in function doc. + -2014-03-24 Dmitry Gutov - - * emacs-lisp/package.el (package--add-to-archive-contents): - Include already installed and built-in packages in - `package-archive-contents'. - (package-install): Don't include already installed packages in the - options during interactive invocation. (Bug#16762) - -2014-03-24 Daniel Colascione - - * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member' - instead of cl-loop search function. - -2014-03-24 Juanma Barranquero - - * frameset.el (frameset--initial-params): Fix typo in parameter name. - -2014-03-24 Nicolas Richard ++2014-03-26 Nicolas Richard + + * align.el (align-region): Do not fail when end-mark is nil (bug#17088). + -2014-03-24 Dmitry Gutov ++2014-03-26 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-expression-expansion-re): + Match special global variables without curlies, too. + (ruby-font-lock-keywords): Simplify the matcher for special global + variables. Don't require a non-word character after the variable. + (Bug#17057) + -2014-03-23 Stefan Monnier ++2014-03-26 Stefan Monnier + + * simple.el (redisplay-highlight-region-function): Increase priority of + overlay to make sure boundaries are visible (bug#15899). + -2014-03-23 Juanma Barranquero ++2014-03-26 Juanma Barranquero + - * frameset.el (frameset-restore): Compare display strings with equal. ++ * frameset.el (frameset--initial-params): Fix typo in parameter name. ++ (frameset-restore): Compare display strings with equal. + + * frame.el (make-frame): Don't quote display name in error message, + it is already a string. + -2014-03-23 Thierry Volpiatto ++2014-03-26 Thierry Volpiatto + + * net/tramp.el (tramp-read-passwd): Suspend the timers while reading + the password. + -2014-03-23 Dmitry Gutov ++2014-03-26 Dmitry Gutov + - * emacs-lisp/package.el (package-show-package-list): If the buffer - is already displayed in another window, switch to that window. ++ * emacs-lisp/package.el (package--add-to-archive-contents): ++ Include already installed and built-in packages in ++ `package-archive-contents'. ++ (package-install): Don't include already installed packages in the ++ options during interactive invocation. (Bug#16762) ++ (package-show-package-list): If the buffer is already displayed in ++ another window, switch to that window. ++ +2014-03-26 Reto Zimmermann + + Sync with upstream vhdl mode v3.35.1. + * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update. + (vhdl-compiler-alist): Doc fix. + (vhdl-goto-line): Remove. + (vhdl-mode-abbrev-table-init): Add XEmacs compat. + (vhdl-mode) : Fix value. + (vhdl-fix-statement-region): Not `for' in wait-statement. + (vhdl-beautify-region): Also (un)tabify. + (vhdl-get-visible-signals): + Scan declarative part of generate statements. + (vhdl-template-record): Fix indentation for record type declaration. + (vhdl-expand-abbrev, vhdl-expand-paren): + Revert to using fset again rather than defalias. + (vhdl-scan-directory-contents): Tweak. + (vhdl-speedbar-find-file, vhdl-speedbar-port-copy) + (vhdl-compose-components-package): + Replace vhdl-goto-line with forward-line. + (top-level): Tweak speedbar frame selection. + (vhdl-generate-makefile-1): Support for compilers with no + unit-to-file name mapping (create directory with dummy files). + +2014-03-26 Wilson Snyder + + Sync with upstream verilog-mode revision 702457d. + * progmodes/verilog-mode.el (verilog-mode-version): Update. + (create-lockfiles): Declare. + (verilog-read-decls): Fix module header imports, bug709. + Reported by Victor Lau. + Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen. + (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting + interface-only modules, bug721. Reported by Dean Hoyt. + +2014-03-26 Glenn Morris + + * obsolete/gulp.el: Move here from emacs-lisp/. + + * files.el (lock-buffer, unlock-buffer, file-locked-p): + Remove fallback aliases, since they are always defined now. -2014-03-21 Daniel Colascione +2014-03-24 Daniel Colascione - * mail/emacsbug.el (report-emacs-bug): Include memory usage - information in bug reports. + * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member' + instead of cl-loop search function. + +2014-03-23 Lars Ingebrigtsen + + * calendar/parse-time.el (parse-time-iso8601-regexp) + (parse-iso8601-time-string): Copied from `url-dav' so that we can use + it more generally. + +2014-03-23 Lars Ingebrigtsen + + * net/dns.el (network-interface-list): Define for XEmacs. + +2014-03-23 Magnus Henoch + + * net/dns.el (dns-servers-up-to-date-p): New function to see whether + the network interfaces changed. + (dns-query): Use it to flush the data. + +2014-03-23 Juanma Barranquero + + * vc/vc.el (vc-rollback): Use set-buffer-modified-p. + +2014-03-23 Daniel Colascione + + Change subword-mode to use `find-word-boundary-function-table' and + replace `capitalized-words-mode'. Also, convert to lexical + binding. + + * progmodes/cap-words.el: Delete now-obsolete file. + * progmodes/subword.el: Reimplement using + `find-word-boundary-function-table'. + (subword-mode-map): Hollow out. + (capitalized-words-mode): Define as obsolete alias for + `subword-mode'. + (subword-mode,superword-mode): Tweak documentation to reflect new + implementation; call `subword-setup-buffer'. + (subword-forward,subword-capitalize): Add underscore to indicate + unused variable. + (subword-find-word-boundary-function-table): New constant. + (subword-empty-char-table): New constant. + (subword-setup-buffer): New function. + (subword-find-word-boundary): New function. 2014-03-23 Daniel Colascione diff --cc src/ChangeLog index 84cd041c36c,bf27ece6af7..996bbb78995 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,95 -1,66 +1,153 @@@ + 2014-03-26 Paul Eggert + + Fix core dump in char-equal (Bug#17011). + * editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in + unibyte buffers, as we can't tell whether the characters are + actually unibyte. + + * insdel.c (adjust_markers_for_delete): Remove unused local. + -2014-03-24 Barry O'Reilly ++2014-03-26 Barry O'Reilly + + Have (MARKER . ADJUSTMENT) undo records always be immediately + after their corresponding (TEXT . POS) record in undo list. + (Bug#16818) + * lisp.h (record-delete): New arg record_markers. + (record_marker_adjustment): No longer needed outside undo.c. + * insdel.c (adjust_markers_for_delete): Move calculation of marker + adjustments to undo.c's record_marker_adjustments. Note that + fileio.c's decide_coding_unwind is another caller to + adjust_markers_for_delete. Because it has undo list bound to t, + it does not rely on adjust_markers_for_delete to record marker + adjustments. + (del_range_2): Swap call to record_delete and + adjust_markers_for_delete so as undo marker adjustments are + recorded before current deletion's adjustments, as before. + (adjust_after_replace): + (replace_range): Pass value for new record_markers arg to + delete_record. + * undo.c (record_marker_adjustment): Renamed to + record_marker_adjustments and made static. + (record_delete): Check record_markers arg and call + record_marker_adjustments. + (record_change): Pass value for new record_markers arg to + delete_record. + (record_point): at_boundary calculation no longer needs to account + for marker adjustments. + -2014-03-24 Martin Rudalics ++2014-03-26 Martin Rudalics + + * w32term.c (x_set_window_size): Refine fix from 2014-03-14 + (Bug#17077). + -2014-03-23 Glenn Morris ++2014-03-26 Glenn Morris + + * fileio.c (Ffile_symlink_p): Doc fix. (Bug#17073) + -2014-03-23 Stefan Monnier ++2014-03-26 Stefan Monnier + + * buffer.c (struct sortvec): Add field `spriority'. + (compare_overlays): Use it. + (sort_overlays): Set it. + -2014-03-23 Eli Zaretskii ++2014-03-26 Eli Zaretskii + + * xdisp.c (redisplay_window): If all previous attempts to find the + cursor row failed, try a few alternatives before falling back to + the top-most row of the window. Use row_containing_pos. (Bug#17047) + -2014-03-22 Daniel Colascione +2014-03-26 Juanma Barranquero - * process.c (conv_sockaddr_to_lisp): When extracting the string - names of AF_LOCAL sockets, stop before reading uninitialized - memory. + * image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]: + * sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally. + + * keyboard.c (read_decoded_event_from_main_queue): #ifdef out + variables on Windows. + + * w32fns.c (Ffile_system_info): Use parenthesis in and/or expression. + + * w32.c (unsetenv): Remove unused var `retval'. + (emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'. + + * w32notify.c (watch_worker): Remove unnecesary var sleep_result. + (start_watching): Remove unused var `thr'. + + * w32proc.c (sys_spawnve): Comment out unused vars `first', `last'. + (find_child_console): Remove unnecesary var `thread_id'. + + * w32term.c (w32_read_socket): Comment out unused vars `row', `columns'. + (x_focus_frame): #ifdef 0 unused variable `dpyinfo'. + +2014-03-26 Glenn Morris + + * filelock.c (Flock_buffer): Doc tweak. + + * buffer.c (Frestore_buffer_modified_p, Fkill_buffer): + * emacs.c (shut_down_emacs): + * fileio.c (Finsert_file_contents, write_region): + * filelock.c (top-level, syms_of_filelock): + * insdel.c (prepare_to_modify_buffer_1): + CLASH_DETECTION is always defined now. + +2014-03-25 Eli Zaretskii + + * w32.c (w32_delayed_load): Call DisableThreadLibraryCalls on the + DLL handle, to speed up thread startup. + +2014-03-25 Paul Eggert + + Handle sigmask better with nested signal handlers (Bug#15561). + * atimer.c (sigmask_atimers): Remove. + Remaining use rewritten to use body of this function. + * atimer.c (block_atimers, unblock_atimers): + * callproc.c (block_child_signal, unblock_child_signal): + * sysdep.c (block_tty_out_signal, unblock_tty_out_signal): + New arg OLDSET. All callers changed. + * atimer.c (block_atimers, unblock_atimers): + * callproc.c (block_child_signal, unblock_child_signal): + * keyboard.c (handle_interrupt): + * sound.c (vox_configure, vox_close): + Restore the old signal mask rather than unilaterally clearing bits + from the mask, in case a handler is running within another + handler. All callers changed. + * lisp.h, process.c, process.h, term.c: + Adjust decls and callers to match new API. + * sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE; + signal handlers aren't supposed to use floating point anyway. + (handle_arith_signal): Unblock just SIGFPE rather than clearing mask. + +2014-03-23 Daniel Colascione + + Split gc_sweep into discrete functions for legibility and better + stack traces. + + * alloc.c (sweep_strings,sweep_vectors): Add NO_INLINE + (sweep_vectors): Fix typo in comment. + (sweep_conses,sweep_floats,sweep_intervals) + (sweep_symbols,sweep_misc,sweep_buffers): New functions. + (gc_sweep): Call new functions, to which existing functionality is + moved. + * fns.c (sweep_weak_hash_tables): Add NO_INLINE. + +2014-03-23 Juanma Barranquero + + * w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin. + +2014-03-23 Daniel Colascione + + * xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC + only if xic_style calls for it. This change allows Emacs to work + with ibus. Also, don't leak resources if create_frame_xic fails, + and stop caching xic_style across different displays. + (supported_xim_styles): Make const. + (best_xim_style): Remove first parameter: it's always just + supported_xim_styles. Change to look at supported_xim_styles + directly. + +2014-03-23 Daniel Colascione + + * term.c (init_tty): Rearrange condition for clarity; print + appropriate diagnostic. 2014-03-23 Daniel Colascione diff --cc test/ChangeLog index 392a996662a,5e5a8ae73af..75a3d0101c3 --- a/test/ChangeLog +++ b/test/ChangeLog @@@ -1,3 -1,16 +1,11 @@@ -2014-03-24 Barry O'Reilly ++2014-03-26 Barry O'Reilly + + * automated/undo-tests.el (undo-test-marker-adjustment-nominal): + (undo-test-region-t-marker): New tests of marker adjustments. + (undo-test-marker-adjustment-moved): + (undo-test-region-mark-adjustment): New tests to demonstrate + bug#16818, which fail without the fix. + -2014-03-23 Daniel Colascione - - * automated/cl-lib.el (cl-lib-keyword-names-versus-values): New - test: correct parsing of keyword arguments. - 2014-03-23 Dmitry Gutov * automated/package-test.el (package-test-describe-package):