- 07 Apr, 2014 1 commit
-
-
Stefan Monnier authored
(symbol_block_pinned): New var. (Fmake_symbol): Initialize `pinned'. (purecopy): New function, extracted from Fpurecopy. Mark symbols as pinned and signal an error for un-purifiable objects. (pure_cons): Use it. (Fpurecopy): Use it, except for objects that can't be purified. (mark_pinned_symbols): New function. (Fgarbage_collect): Use it. (gc_sweep): Remove hack made unnecessary. * src/lisp.h (struct Lisp_Symbol): New bitfield `pinned'.
-
- 05 Apr, 2014 1 commit
-
-
Glenn Morris authored
* doc/emacs/trouble.texi (Checklist): * doc/lispref/os.texi (Recording Input): Dribble files may contain passwords. * lisp/help.el (view-lossage): Doc tweak. * src/keyboard.c (Fopen_dribble_file): Doc tweak.
-
- 04 Apr, 2014 1 commit
-
-
Jan Djärv authored
* nsmenu.m (update_frame_tool_bar): Return early if view or toolbar is nil. If waiting for toolbar to complete, force a redraw. (free_frame_tool_bar): Set wait_for_tool_bar = NO * nsterm.h (EmacsView): Add wait_for_tool_bar. * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool bar is zero height, just return (Bug#16976). (initFrameFromEmacs:): Initialize wait_for_tool_bar.
-
- 03 Apr, 2014 2 commits
-
-
Ken Brown authored
* nt/emacs.rc: Don't use manifest on Cygwin. * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these variables empty on Cygwin. * src/Makefile.in (EMACS_MANIFEST): Update comment.
-
Stefan Monnier authored
used as a variable. Fixes: debbugs:17174
-
- 02 Apr, 2014 1 commit
-
-
Martin Rudalics authored
* xterm.c (x_new_font): Don't calculate non-toolkit scrollbar width from font width (Bug#17163).
-
- 30 Mar, 2014 1 commit
-
-
Martin Rudalics authored
* frame.c (x_set_frame_parameters): Calculate default values of new frame sizes only after all other frame parameters have been processed (Bug#17142).
-
- 28 Mar, 2014 2 commits
-
-
Ken Brown authored
-
YAMAMOTO Mitsuharu authored
-
- 27 Mar, 2014 1 commit
-
-
YAMAMOTO Mitsuharu authored
src/w32term.c (x_draw_image_glyph_string): Fix computation of height and width of image background when it is displayed with a 'box' face.
-
- 26 Mar, 2014 3 commits
-
-
Paul Eggert authored
* editfns.c (Fchar_equal): In unibyte buffers, assume values in range 128-255 are raw bytes. Suggested by Eli Zaretskii. Fixes: debbugs:17011
-
Paul Eggert authored
* editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in unibyte buffers, as we can't tell whether the characters are actually unibyte. Fixes: debbugs:17011
-
Paul Eggert authored
-
- 25 Mar, 2014 1 commit
-
-
Barry O'Reilly authored
* 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. 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. * 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. * 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.
-
- 24 Mar, 2014 1 commit
-
-
Martin Rudalics authored
* w32term.c (x_set_window_size): Refine fix from 2014-03-14 (Bug#17077).
-
- 23 Mar, 2014 6 commits
-
-
Glenn Morris authored
Fixes: debbugs:17073
-
Stefan Monnier authored
overlay to make sure boundaries are visible. * src/buffer.c (struct sortvec): Add field `spriority'. (compare_overlays): Use it. (sort_overlays): Set it. Fixes: debbugs:15899
-
Eli Zaretskii authored
-
Eli Zaretskii authored
src/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.
-
Daniel Colascione authored
-
Daniel Colascione authored
-
- 21 Mar, 2014 3 commits
-
-
YAMAMOTO Mitsuharu authored
* xterm.c (x_draw_image_relief): Respect Vtool_bar_button_margin. * w32term.c (x_draw_image_relief): Likewise.
-
Martin Rudalics authored
* w32fns.c (w32_wnd_proc): For WM_WINDOWPOSCHANGING don't constrain frame size in SW_SHOWMAXIMIZED case so we can truly maximize a frame for odd default fonts. * frames.texi (Size and Position): In `frame-resize-pixelwise' description drop remark about frame maximization. * windows.texi (Display Action Functions): Add description for `display-buffer-no-window' and explain use of `allow-no-window' alist entries.
-
Paul Eggert authored
* doc.c (store_function_docstring): Fix pointer signedness mismatch.
-
- 20 Mar, 2014 3 commits
-
-
Stefan Monnier authored
the docstring of functions advised before dumping. * src/doc.c (store_function_docstring): Warn when we don't know where to put a docstring. (Fsubstitute_command_keys): Don't advertise the fact that text-properties are dropped, since we think it's a bug that we'll fix in 24.5. Fixes: debbugs:16993
-
Stefan Monnier authored
* src/xterm.c (handle_one_xevent) <MapNotify>: Don't garbage the frame. * src/frame.c (frame_garbaged): Make "docstring" more precise.
-
Glenn Morris authored
mention if EMACSDATA is set.
-
- 19 Mar, 2014 3 commits
-
-
Paul Eggert authored
-
Paul Eggert authored
* doc/lispref/numbers.texi (Numeric Conversions, Rounding Operations): Document that 'round' and 'fround' round to even. * src/floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even. This way, the unusual !HAVE_RINT case acts like the usual HAVE_RINT case, and we can fix the documentation accordingly.
-
Eli Zaretskii authored
src/w32fns.c (reset_modifiers): Zero out keystate[] before using it. (w32_wnd_proc): Initialize the dwHoverTime member of TRACKMOUSEEVENT structure.
-
- 17 Mar, 2014 1 commit
-
-
Ted Zlatanov authored
-
- 16 Mar, 2014 2 commits
-
-
Eli Zaretskii authored
-
Eli Zaretskii authored
src/search.c (find_newline): Speed up the function when using the newline cache, by halving the number of calls to region_cache_forward and region_cache_backward.
-
- 15 Mar, 2014 1 commit
-
-
Juanma Barranquero authored
-
- 14 Mar, 2014 1 commit
-
-
Martin Rudalics authored
* w32term.c (x_set_window_size): When frame-resize-pixelwise is nil, always resize character wise to avoid potential loss of the mode line (Bug#16923 related). * display.texi (Temporary Displays): Say that with-temp-buffer-window makes its buffer current. * frames.texi (Size and Position): Describe new option `frame-resize-pixelwise'. Rewrite descriptions of `set-frame-size', `set-frame-height' and `set-frame-width'.
-
- 12 Mar, 2014 1 commit
-
-
Martin Rudalics authored
* frame.c (x_set_frame_parameters): Always calculate new sizes pixelwise to avoid potential loss when rounding. * window.el (fit-frame-to-buffer): Get maximum width from display's width instead of height.
-
- 11 Mar, 2014 1 commit
-
-
Dmitry Antipov authored
* xterm.c (x_free_frame_resources): Free all allocated cursors.
-
- 10 Mar, 2014 3 commits
-
-
Martin Rudalics authored
-
Eli Zaretskii authored
src/w32.c (fstatat): Don't add an extra slash if the argument ends with a slash: this fails the subsequent call to stat_worker on Windows 9X. Reported by oslsachem <oslsachem@gmail.com>.
-
Martin Rudalics authored
* w32term.c (w32_read_socket): In SIZE_RESTORED case unconditionally set visibility of frame to 1.
-