| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| |
| |
| | |
* xdisp.c (string_from_display_spec): Don't assume vecsize fits in int.
* indent.c (Fvertical_motion): Fix == vs = typo.
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
| |
src/dispnew.c (syms_of_display) <redisplay-dont-pause>: Default
value is now t. Doc fix.
doc/lispref/display.texi (Forcing Redisplay): Update the description of
redisplay-dont-pause due to change in the default value.
etc/NEWS: Mention the change of the default value.
|
| |
|
|
|
|
|
|
|
|
|
| |
src/indent.c (Fvertical_motion): Compute and apply the overshoot
logic when moving up, not only when moving down. Fix the
confusing name and values of the it_overshoot_expected variable;
logic changes accordingly. (Bug#9254) (Bug#9549)
src/xdisp.c (pos_visible_p): Produce correct pixel coordinates when
CHARPOS is covered by a display string which includes newlines.
(move_it_vertically_backward): Avoid inflooping when START_CHARPOS
is covered by a display string with embedded newlines.
|
| |
|
|
|
|
| |
Vdbus_registered_objects_table. (Bug#9581)
(Fdbus_register_method, Vdbus_registered_objects_table): Fix
docstring.
|
| |
|
|
| |
to follow usual Emacs and GNU style.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous change was incomplete.
While it makes emacs --batch detect the vast majority of stdout
write failures, errors were still ignored whenever the output size is
k * (BUFSIZ+1) - 4. E.g., on a system with BUFSIZ of 4096,
$ emacs --batch --eval '(print (format "%4093d" 0))' > /dev/full \
&& echo FAIL: ignored write error
FAIL: ignored write error
$ emacs --batch --eval '(print (format "%20481d" 0))' > /dev/full \
&& echo FAIL: ignored write error
FAIL: ignored write error
* emacs.c (Fkill_emacs): Also test ferror. (Bug#9574)
|
| |
|
|
| |
non-successfully if a write error occurred on stdout. (Bug#9574)
|
| |
|
|
|
|
|
| |
src/xdisp.c (pop_it): Allow it->object that is a cons cell to pass
the xassert test.
src/dispextern.h (struct it): Update the comment documenting what
can it->OBJECT be.
|
| |
|
|
|
|
| |
src/xdisp.c (Fcurrent_bidi_paragraph_direction): Fix search for previous
non-empty line. Fixes confusing cursor motion with arrow keys at
the beginning of a line that starts with whitespace.
|
| |
|
|
|
|
|
|
| |
src/xdisp.c (set_cursor_from_row): If the row ends in a newline from
a display string, extend search for cursor position to end of row.
(find_row_edges): If the row ends in a newline from a display
string, increment its MATRIX_ROW_END_CHARPOS by one.
Handle the case of a display string with multiple newlines.
|
| |
|
|
| |
Fixes: debbugs:9493
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/xfns.c (Fx_create_frame): Handle bitmapIcon resource as a boolean.
* doc/emacs/cmdargs.texi (Icons X): Fix description of Emacs icon.
* doc/emacs/xresources.texi (Table of Resources): Fix documentation of
bitmapIcon.
* doc/lispref/frames.texi (Management Parameters): Fix description of
icon-type parameter.
Fixes: debbugs:9154
|
| |
|
|
|
|
| |
src/xdisp.c (reseat_at_next_visible_line_start): Undo the change made on
2011-09-17 that saved paragraph information and restored it after
the call to `reseat'.
|
| |
|
|
|
| |
src/xdisp.c (produce_stretch_glyph): Don't subtract 1 "pixel" when
computing width of the stretch on a TTY.
|
| |
|
|
|
|
|
|
| |
src/xdisp.c (display_line): Record maximum and minimum buffer
positions even if no glyphs were produced (e.g., by a zero-width
stretch). Fixes bug#9530 on a TTY. Under word-wrap, don't record
buffer positions that will be removed from the glyph row because
they don't fit.
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
window cursor on if cleared (Bug#9415).
|
| | | |
| | |
| | |
| | | |
literally. (Bug#9458)
|
| |/ / |
|
| | |
| |
| |
| |
| | |
* xdisp.c (reseat_at_next_visible_line_start): Mark locals as
initialized, to pacify gcc -Wuninitialized.
|
| | |
| |
| |
| |
| |
| | |
(Finsert_file_contents): Save and restore errno,
so that report_file_error outputs the correct diagnostic.
(Fwrite_region) [CLASH_DETECTION]: Likewise.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
src/xdisp.c (produce_stretch_glyph): Another fix for changes made on
2011-08-30T17:32:44Z!eliz@gnu.org.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
src/bidi.c (MAX_PARAGRAPH_SEARCH): New macro.
(bidi_find_paragraph_start): Search back for paragraph beginning
at most MAX_PARAGRAPH_SEARCH lines; if not found, return BEGV_BYTE.
(bidi_move_to_visually_next): Only trigger paragraph-related
computations when the last character is a newline or at EOB, not
just any NEUTRAL_B.
src/xdisp.c (reseat_at_next_visible_line_start): Keep information
about the current paragraph and restore it after the call to
reseat.
|
| | | |
|
| | |
| |
| |
| |
| | |
src/xdisp.c (set_cursor_from_row): Don't invoke special treatment of
truncated lines if point is covered by a display string.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
(cons_to_x_long): New function.
(lisp_data_to_selection_data): Use it. Correct the test for
short-versus-long data; it was negated. Break out of vector
loop, for efficiency, when a long datum is discovered.
|
| | |
| |
| |
| | |
Fixes: debbugs:9482
|
| | |
| |
| |
| |
| | |
src/image.c (tiff_handler): Work around a bug in MinGW GCC 3.x (see
GCC PR/17406) by declaring this function with external scope.
|
| | |
| |
| |
| | |
Don't mishandle (length (format "%%")) and (format "%4000s%%" "").
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
src/xterm.c (x_draw_composite_glyph_string_foreground):
src/w32term.c (x_draw_composite_glyph_string_foreground):
src/term.c (encode_terminal_code):
src/composite.c (composition_update_it, get_composition_id):
src/xdisp.c (get_next_display_element)
(fill_composite_glyph_string): Add comments about special meaning
of TAB characters in a composition.
|
| | |
| |
| |
| |
| | |
This occurs when processing a multibyte format, which can happen
when using 'eval'. Problem reported by Wolfgang Jenker.
|
| | |
| |
| |
| |
| |
| |
| | |
Patch by Johan Bockgוrd <bojohan@gnu.org>
src/xdisp.c (try_cursor_movement): Only check for exact match if
cursor hpos found by set_cursor_from_row is valid. (Bug#9495)
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
* dispextern.h (calc_pixel_width_or_height): Remove decl.
* xdisp.c (calc_pixel_width_or_height): Now static.
* doprnt.c (exprintf) [! (HAVE_X_WINDOWS && USE_X_TOOLKIT)]: Remove.
* indent.c (check_display_width):
* w32term.c: Fix comment to match code.
* xterm.c, xterm.h (x_catching_errors): Remove.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
(selection_data_to_lisp_data): Assume incoming selection data are
signed integers, not unsigned. This is to be consistent with
outgoing selection data, which was modified to use signed integers
in as part of the fix to Bug#9196 in response to Jan Djärv's comment
in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9196#32> that X11
expects long, not unsigned long.
|
| | |
| |
| |
| |
| |
| |
| | |
loop end.
src/xdisp.c (try_window_reusing_current_matrix): Fix incorrect
computation of loop end. Reported by Johan Bockgård <bojohan@gnu.org>.
|
| | |
| |
| |
| | |
* src/frame.c (Fother_visible_frames_p): Function deleted.
|
| | |
| |
| |
| |
| | |
src/indent.c (compute_motion): Process display vector front to back
rather than the other way around.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
src/xdisp.c (produce_stretch_glyph): Fix a typo made in changes from
2011-08-30T17:32:44Z!eliz@gnu.org.
|