- 11 Apr, 2011 1 commit
-
-
Eli Zaretskii authored
src/xdisp.c (redisplay_window): Don't try to determine the character position of the scroll margin if the window start point w->startp is outside the buffer's accessible region.
-
- 30 Mar, 2011 1 commit
-
-
Eli Zaretskii authored
src/xdisp.c (syms_of_xdisp) <scroll-conservatively>: Document the threshold of 100 lines for never-recentering scrolling. doc/emacs/display.texi (Auto Scrolling): Document the limit of 100 lines for never-recentering scrolling with `scroll-conservatively'.
-
- 29 Mar, 2011 1 commit
-
-
Eli Zaretskii authored
src/xdisp.c (try_scrolling): When scrolling down aggressively, scroll one screen line less, to make sure we end up at the margin for fractions close to 1.
-
- 28 Mar, 2011 1 commit
-
-
Eli Zaretskii authored
src/xdisp.c (try_scrolling): When point is above the window, allow searching as far as scroll_max, or one screenful, to compute vertical distance from PT to the scroll margin position. This prevents try_scrolling from unnecessarily failing when scroll-conservatively is set to a value slightly larger than the window height.
-
- 27 Mar, 2011 1 commit
-
-
Eli Zaretskii authored
src/xdisp.c (try_scrolling): Clean up the case of PT below the margin at bottom of window: scroll_max can no longer be INT_MAX. (redisplay_window): Find character position of margin and use that, rather than adding margin to PT.
-
- 26 Mar, 2011 6 commits
-
-
Eli Zaretskii authored
Aggressive scrolling backward by large distance still doesn't DTRT. src/xdisp.c (try_scrolling): When aggressive scrolling is in use, don't let point enter the opposite scroll margin as result of the scroll. (redisplay_window): Fix operator precedence in condition.
-
Eli Zaretskii authored
src/xdisp.c (redisplay_window): Don't check buffer's clip_changed flag as a prerequisite for invoking try_scrolling. (try_scrolling): Limit scrolling to 100 screen lines. (SCROLL_LIMIT): New macro. (try_scrolling): Use it when setting scroll_limit. (redisplay_window): Even when falling back on "recentering", position point in the window according to scroll-conservatively, scroll-margin, and scroll-*-aggressively variables.
-
Eli Zaretskii authored
src/xdisp.c (try_scrolling): Limit scrolling to 100 screen lines.
-
Eli Zaretskii authored
src/xdisp.c (redisplay_window): Don't check buffer's clip_changed flag as a prerequisite for invoking try_scrolling. (Bug#6671)
-
Juanma Barranquero authored
* keymap.c (describe_vector): Remove parameters `indices' and `char_table_depth', unused since 2002-03-01T01:43:26Z!handa@m17n.org. (describe_map, Fdescribe_vector): Adjust calls to `describe_vector'. * w32.c (read_unc_volume): Use parameter `henum', instead of global variable `wget_enum_handle'.
-
Juanma Barranquero authored
* keyboard.h (timer_check, show_help_echo): Remove unused parameters. * keyboard.c (timer_check): Remove parameter `do_it_now', unused since 1996-04-12T06:01:29Z!rms@gnu.org. (show_help_echo): Remove parameter `ok_to_overwrite_keystroke_echo', unused since 2008-04-19T19:30:53Z!monnier@iro.umontreal.ca. * keyboard.c (read_char): * w32menu.c (w32_menu_display_help): * xmenu.c (show_help_event, menu_help_callback): Adjust calls to `show_help_echo'. * gtkutil.c (xg_maybe_add_timer): * keyboard.c (readable_events): * process.c (wait_reading_process_output): * xmenu.c (x_menu_wait_for_event): Adjust calls to `timer_check'. * insdel.c (adjust_markers_gap_motion): Remove; no-op since 1998-01-02T21:29:48Z!rms@gnu.org. (gap_left, gap_right): Don't call it.
-
- 25 Mar, 2011 16 commits
-
-
Ted Zlatanov authored
mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
-
Leo Liu authored
-
Leo Liu authored
-
Chong Yidong authored
* src/xdisp.c (handle_fontified_prop): Discard changes to clip_changed incurred during fontification.
-
Andreas Schwab authored
-
Juanma Barranquero authored
* buffer.c (defvar_per_buffer): Remove unused parameter `doc'. (DEFVAR_PER_BUFFER): Don't pass it. * dispnew.c (row_equal_p, add_row_entry): Remove unused parameter `w'. (scrolling_window): Don't pass it.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
* nt/addpm.c (main): Remove unused variable `retval'. * nt/preprep.c (main): Remove unused variable `ptr'. * src/dispextern.h (glyph_matric): Use #if GLYPH_DEBUG, not #ifdef. * src/fileio.c (check_executable) [DOS_NT]: Remove unused variables `len' and `suffix'. (Fset_file_selinux_context) [HAVE_LIBSELINUX]: Move here declaration of variables specific to SELinux and computation of `encoded_absname'. * src/image.c (XPutPixel): Remove unused variable `height'. * src/keyboard.c (make_lispy_event): Remove unused variable `hpos'. * src/unexw32.c (get_section_info): Remove unused variable `section'. * src/w32.c (stat): Remove unused variables `drive_root' and `devtype'. (system_process_attributes): Remove unused variable `sess'. (sys_read): Remove unused variable `err'. * src/w32fns.c (top): Wrap variables with #if GLYPH_DEBUG, not #ifdef. (w32_wnd_proc): Remove unused variable `isdead'. (unwind_create_frame): Use #if GLYPH_DEBUG, not #ifdef. (Fx_server_max_request_size): Remove unused variable `dpyinfo'. (x_create_tip_frame): Remove unused variable `tem'. * src/w32inevt.c (w32_console_read_socket): Remove unused variable `no_events'. * src/w32term.c (x_draw_composite_glyph_string_foreground): Remove unused variable `width'.
-
Andreas Schwab authored
install-sh, missing.
-
Eli Zaretskii authored
config.bat: Generate src/config.h and lib/Makefile from autogen/config.in and autogen/Makefile.in. msdos/sedlibmk.inp: Adapt to addition of the gnulib stdio module. Add a description of what needs to be done when a new gnulib module is added. (MKDIR_P): Fix replacement command.
-
Eli Zaretskii authored
config.bat: Use autogen/config.in in one more place. msdos/sedlibmk.inp (GNULIB_PRINTF, GNULIB_PRINTF_POSIX): Add missing variables. (MKDIR_P): Fix replacement command. (NEXT_AS_FIRST_DIRECTIVE_STDIO_H, NEXT_STDIO_H): Edit to "<stdio.h>", as lib/stdio.h cannot be left unused.
-
Eli Zaretskii authored
msdos/sedlibmk.inp: Adapt to addition of the gnulib stdio module. config.bat: Generate src/config.h and lib/Makefile from autogen/config.in and autogen/Makefile.in.
-
Glenn Morris authored
-
Glenn Morris authored
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00863.html * compile, config.guess, config.sub, depcomp, install-sh, missing: Remove; autoreconf can supply them. * Makefile.in (sync-from-gnulib): Don't sync config.sub, config.guess, install-sh. Pass -i to autoreconf. * autogen/update_autogen (genfiles): Add compile, config.guess, config.sub, depcomp, install-sh, missing. Pass -i to autoreconf. Discard non-error output from autoreconf in -q case. * autogen/compile, autogen/config.guess, autogen/config.sub: * autogen/depcomp, autogen/install-sh, autogen/missing: New files. * autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp, install-sh, missing. * autogen/README: Add compile, config.guess, config.sub, depcomp, install-sh, missing. * INSTALL.BZR, admin/make-tarball.txt: Add -i to autoreconf args. * .bzrignore: Add compile, config.guess, config.sub, depcomp, install-sh, missing.
-
Glenn Morris authored
-
Leo Liu authored
* ido.el (ido-read-internal): Simplify with read-from-minibuffer. (ido-completions): Remove unused arguments. (Bug#8329)
-
- 24 Mar, 2011 3 commits
-
-
Stefan Monnier authored
* lisp/minibuffer.el (completion--flush-all-sorted-completions): Remove itself from hook. (completion-at-point): Let the functions perform the completion immediately and return nil or t. * lisp/comint.el (comint-dynamic-complete-functions): Now identical to completion-at-point-functions. (comint-dynamic-list-input-ring): Remove unused var `index'. (comint--match-partial-filename, comint--unquote&expand-filename): New funs, split from comint-match-partial-filename. (comint-dynamic-complete): Use completion-at-point. (comint-dynamic-complete-filename): Use comint--match-partial-filename.
-
Drew Adams authored
-
Juanma Barranquero authored
-
- 23 Mar, 2011 10 commits
-
-
Leo Liu authored
-
Juanma Barranquero authored
* lib-src/ntlib.c: Include <ctype.h>. * nt/cmdproxy.c: Include <ctype.h>. (make_absolute): Remove unused variable `i'. * src/w32fns.c (x_set_menu_bar_lines): Remove unused variable `olines'. (w32_wnd_proc): Pass NULL to Windows API, not uninitialized buffer. (Fx_close_connection): Remove unused variable `i'. * src/w32font.c (w32font_draw): Return number of glyphs. (w32font_open_internal): Remove unused variable `i'. (w32font_driver): Add missing initializer. * src/w32menu.c (utf8to16): Remove unused variable `utf16'. (fill_in_menu): Remove unused variable `items_added'. * src/w32term.c (last_mouse_press_frame): Remove static global variable. (w32_clip_to_row): Remove unused variable `f'. (x_delete_terminal): Remove unused variable `i'. * src/w32uniscribe.c (uniscribe_shape): Remove unused variable `nclusters'. (NOTHING): Remove unused static global variable. (uniscribe_check_otf): Remove unused variable `table'. (uniscribe_font_driver): Add missing initializers.
-
Leo Liu authored
Without this fix, "This special-form is advised." won't be correctly fontified.
-
Julien Danjou authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
Files that were merged into other files have been kept.
-
Glenn Morris authored
-
Glenn Morris authored
* Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs. (sync-from-gnulib): Don't sync mkinstalldirs. * make-dist: Don't distribute mkinstalldirs. * leim/Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs. * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): Use `install-sh -d' rather than mkinstalldirs. * configure.in, doc/emacs/Makefile.in: Update comments. * admin/notes/copyright: Remove mkinstalldirs.
-