1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

110535 Commits

Author SHA1 Message Date
Jay Belanger
c81ecb7263 * doc/misc/calc.texi (Basic Operations on Units): Streamline some
descriptions.
2013-03-31 15:27:40 -05:00
Glenn Morris
ca5f6cd428 More details of X-Debbugs-Envelope-To 2013-03-31 10:18:09 -07:00
Roland Winkler
a77e2924c9 emacs-lisp/crm.el (completing-read-multiple): Doc fix. 2013-03-31 10:19:19 -05:00
Stefan Monnier
2bd8a4a867 * lisp/hi-lock.el (hi-lock-mode): Cleanup after revert-buffer.
Fixes: debbugs:13891
2013-03-31 09:34:35 -04:00
Andrew Cohen
df8abd0be8 lisp/gnus/nnir.el (nnir-method-default-engines): Fix typo 2013-03-31 12:48:07 +00:00
Glenn Morris
6ea3f01e74 Auto-commit of generated files. 2013-03-31 06:17:42 -04:00
Dmitry Antipov
9275998872 * frame.h (struct frame): Drop scroll_bottom_vpos
member becaue all real users are dead long ago.
(FRAME_SCROLL_BOTTOM_VPOS): Remove.
* xdisp.c (redisplay_internal): Adjust user.
2013-03-31 09:45:54 +04:00
Aidan Gauland
78b8f32044 Use present tense in ChangeLog entries. 2013-03-31 08:31:27 +13:00
Paul Eggert
119b2d43cc Merge from gnulib
This incorporates:
2013-03-29 stdalign: port to stricter ISO C11
This helps to run 'configure' on MS-Windows; see Eli Zaretskii in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00999.html>.
2013-03-30 10:30:06 -07:00
Glenn Morris
9a1971bbaa ChangeLog whitespace fix 2013-03-30 09:57:02 -07:00
Glenn Morris
8d3655be5a Merge from emacs-24; up to 2012-12-26T16:22:18Z!michael.albinus@gmx.de 2013-03-30 09:55:47 -07:00
Glenn Morris
b011a6e801 Standardize license notice 2013-03-30 09:52:28 -07:00
Paul Eggert
14a581695f * emacs/emacs.texi: Fix alphabetization of "O'Connor". 2013-03-30 09:47:07 -07:00
Glenn Morris
4d73ec07d4 Relicense under GPLv3 or later 2013-03-30 09:42:17 -07:00
Glenn Morris
ca54aaa285 Backport copyright fix from trunk 2013-03-30 09:37:47 -07:00
Glenn Morris
7b02e9b724 Add 2012 to copyright years 2013-03-30 09:36:22 -07:00
Leo Liu
0b1619da55 * etc/NEWS: Mention `kmacro-to-register' and new eldoc feature.
* lisp/kmacro.el (kmacro-call-macro): Add optional arg MACRO.
(kmacro-execute-from-register): Pass the keyboard macro to
kmacro-call-macro or repeating won't work correctly.
2013-03-30 21:49:00 +08:00
Andrew Cohen
7c5ef69a98 lisp/gnus/nnir.el (nnir-method-default-engines): Fix typo 2013-03-30 11:40:32 +00:00
Jan Djärv
f38ab1671f * nsmenu.m (showAtX:Y:for:): setLevel to
NSPopUpMenuWindowLevel (Bug#13998).
2013-03-30 11:18:48 +01:00
Jan Djärv
6d01f1feaf * nsmenu.m (ns_update_menubar): Correct NSTRACE.
(x_activate_menubar): Update the menu with title that matches
ns_get_pending_menu_title, and call
ns_check_pending_openmenu.
(menuWillOpen:): New method.
(menuNeedsUpdate:): Add check for ! COCOA || OSX < 10.5 (Bug#12698).

* nsterm.h (ns_get_pending_menu_title, ns_check_menu_open)
(ns_check_pending_open_menu): Declare.

* nsterm.m (menu_will_open_state, menu_mouse_point)
(menu_pending_title): New varaibles.
(ns_get_pending_menu_title, ns_check_menu_open)
(ns_check_pending_open_menu): New functions.
2013-03-30 10:57:27 +01:00
Aidan Gauland
73572c7215 Moved my ChangeLog entries to the correct ChageLog files. 2013-03-30 21:14:31 +13:00
Eli Zaretskii
98f3b8c6be Move MS-Windows definition of TERM_HEADER from ms-w32.h to config.nt.
nt/inc/ms-w32.h (TERM_HEADER): Remove definition.
 nt/config.nt (TERM_HEADER): Move the definition to "w32term.h" from
 ms-w32.h.
2013-03-30 10:10:58 +03:00
Eli Zaretskii
668284362c Enable the 'copysign' primitive on MS-Windows.
nt/inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
 nt/config.nt (HAVE_COPYSIGN): Define.
2013-03-30 09:12:49 +03:00
Ted Zlatanov
0b93819010 Move forward-whitespace, forward-symbol, forward-same-syntax commands to subr.el. Use forward-symbol in supermode.el again.
* subr.el (forward-whitespace, forward-symbol)
(forward-same-syntax): Move from thingatpt.el.

* progmodes/subword.el: Back to using `forward-symbol'.
2013-03-29 21:32:12 -04:00
Dmitry Antipov
781f4782a7 * indent.c (current_column_bol_cache): Remove leftover which is not
used in Fmove_to_column any more.
(current_column, scan_for_column): Adjust users.
* keyboard.c (last_point_position_buffer, last_point_position_window):
Remove leftovers which are not used for recording undo any more.
(command_loop_1, syms_of_keyboard): Adjust users.
* xdisp.c (last_max_ascent): Remove leftover which is not used in
redisplay_window any more.
(move_it_to): Adjust user.
2013-03-29 19:50:21 +04:00
Leo Liu
35710234ce * kmacro.el (kmacro-to-register): New command.
(kmacro-execute-from-register): New function.
(kmacro-keymap): Bind to 'x'.

Fixes: debbugs:14071
2013-03-29 22:53:27 +08:00
Stefan Monnier
efc0bb7349 * lisp/mpc.el: Use defvar-local and setq-local.
(mpc--proc-connect): Connection failures are not bugs.
(mpc-mode-map): `follow-link' only applies to the buffer's content.
(mpc-volume-map): Bind to the up-events.
2013-03-29 10:23:24 -04:00
Andrew Cohen
d406cffa8e lisp/gnus/nnir.el: Allow nnir group creation based on an existing query 2013-03-29 14:12:58 +00:00
Ted Zlatanov
75a2f98113 * progmodes/subword.el (superword-mode): Use forward-sexp' instead of forward-symbol'. 2013-03-29 09:24:19 -04:00
Aidan Gauland
aa534cb70b Added entry to NEWS for em-tramp change in 2013-03-26T22:08:58Z!aidalgol@no8wireless.co.nz 2013-03-29 20:12:11 +13:00
Aidan Gauland
fce31b0e75 Corrected type in ChangeLog
Missing > after email address.
2013-03-29 20:08:36 +13:00
Juanma Barranquero
1921c31bb9 src/makefile.w32-in: Update dependencies. 2013-03-29 04:03:19 +01:00
Juanma Barranquero
a0c0aab26b nt/config.nt: Sync with autogen/config.in.
(HAVE_XKBGETKEYBOARD): Remove.
(HAVE_XKB): New macro.
2013-03-29 04:02:22 +01:00
Stefan Monnier
17c781d1e6 * lisp/emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
(edebug--recursive-edit): Use it.
(edebug-kill-buffer): Don't let-bind kill-buffer-hook.
(edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2013-03-28 12:33:06 -04:00
Stefan Monnier
717b8bcd96 * src/lisp.h (save_type, XSAVE_POINTER, set_save_pointer, XSAVE_INTEGER)
(set_save_integer, XSAVE_OBJECT, XSAVE_VALUE): Move to avoid
forward references.
2013-03-28 12:21:38 -04:00
Dmitry Antipov
e74aeda863 * window.h (struct window): Replace hchild, vchild and buffer slots
with the only contents slot.  This is possible because each valid
window may have either the child window (in vertical or horizontal
combination) or buffer to display (for the leaf window).  Using that,
a lof of operations to traverse and/or change window hierarchies may
be simplified.  New member horizontal is used to distinguish between
horizontal and vertical combinations of internal windows.
(WINDOW_LEAF_P, WINDOW_HORIZONTAL_COMBINATION_P)
(WINDOW_VERTICAL_COMBINATION_P): New macros.
(WINDOW_VALID_P, WINDOW_LIVE_P): Adjust to match struct window changes.
* window.c (wset_hchild, wset_vchild): Remove.  Adjust all users.
Use contents slot, not buffer, where appropriate.
(wset_combination): New function.
(wset_buffer): Add eassert.
(Fframe_first_window): Simplify the loop reaching first window.
(Fwindow_buffer): Use WINDOW_LEAF_P.
(Fwindow_top_child): Use WINDOW_VERTICAL_COMBINATION_P.
(Fwindow_left_child): Use WINDOW_HORIZONTAL_COMBINATION_P.
(unshow_buffer): Convert initial debugging check to eassert.
(replace_window, recombine_windows, Fdelete_other_windows_internal)
(make_parent_window, window_resize_check, window_resize_apply)
(resize_frame_windows, Fsplit_window_internal, Fdelete_window_internal)
(Fset_window_configuration, delete_all_child_windows, save_window_save):
Adjust to match struct window changes.
(window_loop): Check for broken markers in CHECK_ALL_WINDOWS.
(mark_window_cursors_off, count_windows, get_leaf_windows)
(foreach_window_1): Simplify the loop.
* alloc.c (mark_object): Do not check for the leaf window because
internal windows has no glyph matrices anyway.
* dispnew.c (clear_window_matrices, showing_window_margins_p)
(allocate_matrices_for_window_redisplay, fake_current_matrices)
(allocate_matrices_for_frame_redisplay, free_window_matrices)
(build_frame_matrix_from_window_tree, mirror_make_current)
(frame_row_to_window, mirror_line_dance, check_window_matrix_pointers)
(update_window_tree, set_window_update_flags): Simplify the loop.
(sync_window_with_frame_matrix_rows): Enforce live window.
Use contents slot, not buffer, where appropriate.
* frame.c (set_menu_bar_lines_1): Use WINDOW_VERTICAL_COMBINATION_P
and WINDOW_HORIZONTAL_COMBINATION_P.
(make_frame_visible_1): Simplify the loop.
Use contents slot, not buffer, where appropriate.
* xdisp.c (hscroll_window_tree, mark_window_display_accurate)
(redisplay_windows, redisplay_mode_lines, update_cursor_in_window_tree)
(expose_window_tree): Likewise.
Use contents slot, not buffer, where appropriate.
* textprop.c (get_char_property_and_overlay): Add CHECK_LIVE_WINDOW
to avoid deleted windows.  Use contents slot instead of buffer.
* buffer.c, dispextern.h, editfns.c, fileio.c, font.c, fringe.c:
* indent.c, insdel.c, keyboard.c, keymap.c, minibuf.c, msdos.c:
* nsfns.m, nsmenu.m, nsterm.m, print.c, w32fns.c, w32menu.c, xfaces.c:
* xfns.c, xmenu.c: Use contents slot, not buffer, where appropriate.
2013-03-28 18:04:49 +04:00
Eli Zaretskii
9d42d31f24 Fix inaccuracy in a comment. 2013-03-28 15:54:21 +02:00
Eli Zaretskii
21e930f8f7 Fix bug #14073 with referencing window total number of columns.
src/w32fns.c (Fx_show_tip): Fix compilation error under
 "--enable-check-lisp-object-type".
2013-03-28 15:45:27 +02:00
Dmitry Antipov
c7f53895b9 Fix 2013-03-28T02:41:05Z!dmantipov@yandex.ru which brokes Fbuffer_swap_text.
* buffer.c (Fbuffer_swap_text): Adjust window start markers.
Fix comment.
2013-03-28 13:25:25 +04:00
Eli Zaretskii
ef454cf704 Add debugging code to w32fns.c.
src/w32fns.c (w32_wnd_proc) [ENABLE_CHECKING]: Add code to help
 identify the reasons for assertion violations in bug#14062 and
 similar ones.
2013-03-28 11:18:16 +02:00
Eli Zaretskii
121ab1cdc4 Add DEF_IMGLIB_FN for g_error_free to image.c.
src/image.c (g_error_free) [WINDOWSNT]: Add DEF_IMGLIB_FN.
 Reported by <rzl24ozi@gmail.com>.
2013-03-28 08:40:01 +02:00
Leo Liu
f67bfbcfc0 * vc/vc-bzr.el (vc-bzr-revert): Don't backup.
Fixes: debbugs:14066
2013-03-28 11:26:37 +08:00
Dmitry Antipov
5c89ca240d * xdisp.c (with_echo_area_buffer_unwind_data): Save window
start marker...
(unwind_with_echo_area_buffer): ...to restore it here.  This
is needed to ensure that...
(redisplay_window): ...both window markers are valid here,
which is verified by eassert.
* editfns.c (save_excursion_save): Do not assume that
selected_window always displays the buffer.
2013-03-28 06:41:05 +04:00
Katsumi Yamaoka
115694a3d8 lisp/gnus/nndraft.el (nndraft-request-expire-articles): Make expiry target always `delete' 2013-03-28 01:36:23 +00:00
Andrew Cohen
53d3b73104 gnus-msg.el (gnus-setup-message): Set the posting-style and gcc properly for nnir summary buffers 2013-03-27 22:12:36 +00:00
Eli Zaretskii
b59f639d99 Fix bug #14063 with reverting the *Colors* buffer.
lisp/facemenu.el (list-colors-callback): New defvar.
 (list-colors-redisplay): New function.
 (list-colors-display): Install list-colors-redisplay as the
 revert-buffer-function.
2013-03-27 18:03:15 +02:00
Stefan Monnier
b1da29572e * lisp/minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
and suffixes don't overlap.

Fixes: debbugs:14061
2013-03-27 10:41:06 -04:00
Stefan Monnier
f557c1b1a9 * lisp/case-table.el (case-table-get-table): New function.
* lisp/case-table.el: Use lexical-binding.
(case-table-get-table): New function.
(get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
* src/casetab.c (init_casetab_once): Don't abuse the ascii eqv table for
the upcase table.
2013-03-27 10:33:03 -04:00
Ted Zlatanov
002668e109 Add `superword-mode' 2013-03-27 10:04:34 -04:00
rzl24ozi
40693bbaa3 image.c [WINDOWSNT]: Fix calls to DEF_IMGLIB_FN for SVG function. 2013-03-27 15:26:34 +02:00