1. 01 Jul, 2010 2 commits
  2. 12 Jun, 2010 1 commit
  3. 07 Jun, 2010 1 commit
  4. 15 Apr, 2010 1 commit
    • Juri Linkov's avatar
      Add the `scroll-command' property. · a4b000fb
      Juri Linkov authored
      * window.c: Add Qscroll_command.
      Remove Vscroll_preserve_screen_position_commands.
      (window_scroll_pixel_based, window_scroll_line_based): Check the
      `scroll-command' property on the last command instead of searching
      the last command in Vscroll_preserve_screen_position_commands.
      (syms_of_window): Initialize and staticpro `Qscroll_command'.
      Put Qscroll_command property on Qscroll_up and Qscroll_down.
      (scroll-preserve-screen-position): Doc fix.
      (Vscroll_preserve_screen_position_commands): Remove variable.
      
      * simple.el (scroll-up-command, scroll-down-command)
      (scroll-up-line, scroll-down-line): Put `scroll-command'
      property on the these symbols.  Remove them from
      `scroll-preserve-screen-position-commands'.
      
      * mwheel.el (mwheel-scroll): Put `scroll-command' and
      `isearch-scroll' properties on the `mwheel-scroll' symbol.
      Remove it from `scroll-preserve-screen-position-commands'.
      
      * isearch.el (isearch-allow-scroll): Doc fix.
      a4b000fb
  5. 14 Apr, 2010 2 commits
    • Juri Linkov's avatar
      Bind `C-v' to `scroll-up-command' and `M-v' to `scroll-down-command'. · 32129746
      Juri Linkov authored
      http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html
      
      * window.c (keys_of_window): Rebind `C-v' from `scroll-up' to
      `scroll-up-command' and `M-v' from `scroll-down' to
      `scroll-down-command'.
      
      * tutorial.el (tutorial--default-keys): Rebind `C-v' to
      `scroll-up-command' and `M-v' to `scroll-down-command'.
      
      * emulation/cua-rect.el (cua--init-rectangles):
      * forms.el (forms--change-commands):
      * image-mode.el (image-mode-map):
      Remap scroll-down-command and scroll-up-command
      in addition to scroll-down and scroll-up.
      32129746
    • Juri Linkov's avatar
      Add variable `scroll-preserve-screen-position-commands'. · 9013a7f8
      Juri Linkov authored
      http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html
      
      * window.c (Vscroll_preserve_screen_position_commands): New variable
      with the default value as the list of Qscroll_down and Qscroll_up.
      (window_scroll_pixel_based, window_scroll_line_based): Search the
      last command in the list Vscroll_preserve_screen_position_commands
      instead of comparing with Qscroll_up and Qscroll_down.
      
      * mwheel.el (scroll-preserve-screen-position-commands):
      Add mwheel-scroll to this list of commands.
      
      * simple.el (scroll-preserve-screen-position-commands):
      Add scroll-up-command, scroll-down-command, scroll-up-line,
      scroll-down-line to this list of commands.
      9013a7f8
  6. 31 Mar, 2010 1 commit
  7. 13 Jan, 2010 1 commit
  8. 06 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * xterm.c (syms_of_xterm): · d67b4f80
      Dan Nicolaescu authored
      * xselect.c (syms_of_xselect):
      * xmenu.c (syms_of_xmenu):
      * xfns.c (syms_of_xfns):
      * xfaces.c (syms_of_xfaces):
      * xdisp.c (syms_of_xdisp):
      * window.c (syms_of_window):
      * w32fns.c (syms_of_w32fns):
      * undo.c (syms_of_undo):
      * textprop.c (syms_of_textprop):
      * terminal.c (syms_of_terminal):
      * syntax.c (syms_of_syntax):
      * sound.c (syms_of_sound):
      * search.c (syms_of_search):
      * print.c (syms_of_print):
      * minibuf.c (syms_of_minibuf):
      * macros.c (syms_of_macros):
      * keymap.c (syms_of_keymap, initial_define_key)
      (initial_define_lispy_key):
      * keyboard.c (syms_of_keyboard):
      * insdel.c (syms_of_insdel):
      * image.c (syms_of_image):
      * fringe.c (syms_of_fringe):
      * frame.c (syms_of_frame):
      * fontset.c (syms_of_fontset):
      * fns.c (syms_of_fns):
      * fns.c (syms_of_fns):
      * fileio.c (syms_of_fileio):
      * fileio.c (syms_of_fileio):
      * eval.c (syms_of_eval):
      * doc.c (syms_of_doc):
      * dispnew.c (syms_of_display):
      * dired.c (syms_of_dired):
      * dbusbind.c (syms_of_dbusbind):
      * data.c (syms_of_data):
      * composite.c (syms_of_composite):
      * coding.c (syms_of_coding):
      * cmds.c (syms_of_cmds):
      * charset.c (define_charset_internal, syms_of_character):
      * ccl.c (syms_of_ccl):
      * category.c (syms_of_category, init_category_once):
      * casetab.c (syms_of_casetab):
      * casefiddle.c (syms_of_casefiddle):
      * callint.c (syms_of_callint):
      * bytecode.c (syms_of_bytecode):
      * buffer.c (keys_of_buffer, syms_of_buffer):
      * alloc.c (syms_of_alloc):
      * process.c (syms_of_process, init_process):
      * lread.c (syms_of_lread, init_obarray):
      * font.c (build_style_table):
      * emacs.c (syms_of_emacs, main): Replace calls to intern with
      intern_c_string, calls to make_pure_string with
      make_pure_c_string.  Use pure_cons instead of Fcons.
      
      * process.c (socket_options): Make it const.
      (set_socket_option, init_process): Use a const pointer.
      
      * lread.c (intern_c_string): New function.
      (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
      (defvar_int): Uset it.  Make the name const char*.
      
      * font.c (struct table_entry): Remove unused member.  Make NAMES
      constant.
      (weight_table, slant_table, width_table): Make constant.
      
      * emacs.c (struct standard_args): Make name and longname constant.
      d67b4f80
  9. 26 Oct, 2009 1 commit
  10. 23 Oct, 2009 1 commit
  11. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * alloc.c: Do not define struct catchtag. · d7306fe6
      Dan Nicolaescu authored
      * eval.c: Move struct catchtag definition ...
      * lisp.h: ... here.
      
      * image.c: Move png.h #include earlier to avoid warnings.
      
      * xterm.c:
      * xsmfns.c:
      * xselect.c:
      * xrdb.c:
      * xmenu.c:
      * xftfont.c:
      * xfont.c:
      * xfns.c:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * widget.c:
      * w32xfns.c:
      * w32uniscribe.c:
      * w32term.c:
      * w32select.c:
      * w32reg.c:
      * w32proc.c:
      * w32menu.c:
      * w32inevt.c:
      * w32heap.c:
      * w32font.c:
      * w32fns.c:
      * w32console.c:
      * w32.c:
      * w16select.c:
      * vm-limit.c:
      * unexsol.c:
      * unexec.c:
      * unexcw.c:
      * unexaix.c:
      * undo.c:
      * tparam.c:
      * textprop.c:
      * terminfo.c:
      * terminal.c:
      * termcap.c:
      * term.c:
      * syntax.c:
      * sound.c:
      * sheap.c:
      * search.c:
      * scroll.c:
      * region-cache.c:
      * regex.c:
      * ralloc.c:
      * process.c:
      * print.c:
      * msdos.c:
      * minibuf.c:
      * menu.c:
      * marker.c:
      * macros.c:
      * keymap.c:
      * keyboard.c:
      * intervals.c:
      * insdel.c:
      * indent.c:
      * gtkutil.c:
      * ftxfont.c:
      * ftfont.c:
      * fringe.c:
      * frame.c:
      * fontset.c:
      * font.c:
      * fns.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c:
      * editfns.c:
      * dosfns.c:
      * doprnt.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * dbusbind.c:
      * data.c:
      * composite.c:
      * coding.c:
      * cmds.c:
      * cm.c:
      * chartab.c:
      * charset.c:
      * character.c:
      * ccl.c:
      * category.c:
      * casetab.c:
      * casefiddle.c:
      * callproc.c:
      * callint.c:
      * bytecode.c:
      * buffer.c:
      * atimer.c: Include setjmp.h.  (Bug#4643)
      
      * xlwmenu.c:
      * lwlib.c:
      * lwlib-utils.c:
      * lwlib-Xm.c:
      * lwlib-Xlw.c:
      * lwlib-Xaw.c: Include setjmp.h.
      d7306fe6
  12. 03 Oct, 2009 1 commit
  13. 23 Jun, 2009 1 commit
  14. 08 Jan, 2009 1 commit
  15. 30 Dec, 2008 1 commit
  16. 22 Dec, 2008 1 commit
    • Martin Rudalics's avatar
      * frame.c (delete_frame): New function derived from · 56f2de10
      Martin Rudalics authored
      Fdelete_frame to handle Qnoelisp value for FORCE argument.
      Delete last frame iff FORCE equals Qnoelisp.  (Bug#1450)
      (Fdelete_frame): Call delete_frame.  Remove line from doc-string
      saying that FORCE non-nil doesn't run `delete-frame-functions'.
      * frame.h: Extern delete_frame.
      * window.c (window_loop):
      * terminal.c (delete_terminal):
      * xterm.c (x_connection_closed):
      * xfns.c (Fx_hide_tip):
      * w32fns.c (Fx_hide_tip): Call delete_frame instead of
      Fdelete_frame.
      56f2de10
  17. 20 Nov, 2008 1 commit
  18. 14 Nov, 2008 1 commit
  19. 02 Nov, 2008 1 commit
    • Martin Rudalics's avatar
      (select_frame_norecord): New function. · c6932ecd
      Martin Rudalics authored
      (run_window_configuration_change_hook): Use it and call
      Fselect_frame with NORECORD set.
      (Fselect_window): Pass NORECORD to Fselect_frame.
      (Fset_window_configuration): Handle NORECORD argument in call of
      do_switch_frame.
      c6932ecd
  20. 31 Oct, 2008 1 commit
  21. 29 Oct, 2008 1 commit
  22. 28 Oct, 2008 1 commit
  23. 27 Oct, 2008 1 commit
  24. 26 Oct, 2008 1 commit
  25. 25 Oct, 2008 1 commit
  26. 22 Oct, 2008 1 commit
  27. 19 Oct, 2008 1 commit
    • Martin Rudalics's avatar
      (Fwindow_dedicated_p, Fset_window_dedicated_p): · aac0c6e3
      Martin Rudalics authored
      Mention kill-buffer in doc-string.
      (Fset_window_buffer): Reinsert tem check removed in last commit.
      (Fenlarge_window, Fshrink_window): Have argument names and
      doc-string follow Elisp manual more closely.
      aac0c6e3
  28. 18 Oct, 2008 1 commit
    • Martin Rudalics's avatar
      (Fwindow_width, Fset_window_start) · d653c8cc
      Martin Rudalics authored
      (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter)
      (Fdelete_windows_on, Freplace_buffer_in_windows): Make
      doc-strings follow code and Elisp manual more closely.
      (Fwindow_dedicated_p): Make window argument optional.
      (Fset_window_dedicated_p): Rename argument "arg" to "flag".
      (Fset_window_buffer): Respect any non-nil dedicated value for
      window.  Rename "buffer" argument to "buffer_or_name".
      d653c8cc
  29. 17 Oct, 2008 1 commit
  30. 15 Sep, 2008 1 commit
  31. 12 Sep, 2008 1 commit
  32. 31 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * s/ms-w32.h (MULTI_KBOARD): Remove. · 69ab3201
      Dan Nicolaescu authored
      * xterm.c:
      * xselect.c:
      * xfns.c:
      * window.c:
      * w32term.c:
      * w32fns.c:
      * terminal.c:
      * termhooks.h:
      * term.c:
      * sysdep.c:
      * keyboard.h:
      * keyboard.c:
      * frame.h:
      * frame.c:
      * frame.c: Remove references to MULTI_KBOARD, it is now the
      default.
      * config.in: Regenerate.
      
      * config.nt (MULTI_KBOARD): Remove.
      
      * configure.in (MULTI_KBOARD): Remove.
      69ab3201
  33. 27 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      Remove support for Mac Carbon. · 9e2a2647
      Dan Nicolaescu authored
      * mactoolbox.c:
      * macterm.h:
      * macterm.c:
      * macselect.c:
      * macmenu.c:
      * macgui.h:
      * macfns.c:
      * mac.c: Remove file.
      * s/darwin.h:
      * m/intel386.h:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * tparam.c:
      * termhooks.h:
      * termcap.c:
      * term.c:
      * syssignal.h:
      * sysselect.h:
      * sysdep.c:
      * process.c:
      * lread.c:
      * lisp.h:
      * keyboard.c:
      * image.c:
      * fringe.c:
      * frame.h:
      * frame.c:
      * fontset.c:
      * font.h:
      * font.c:
      * fns.c:
      * fileio.c:
      * emacs.c:
      * dispnew.c:
      * dispextern.h:
      * config.in:
      * atimer.c:
      * Makefile.in: Remove code for Carbon
      
      * erc.el: Remove code for Carbon.
      
      Remove support for Mac Carbon.
      * term/mac-win.el: Remove file
      * international/mule-cmds.el:
      * version.el:
      * startup.el:
      * simple.el:
      * mwheel.el:
      * mouse.el:
      * loadup.el:
      * isearch.el:
      * info.el:
      * frame.el:
      * faces.el:
      * disp-table.el:
      * cus-start.el:
      * cus-face.el:
      * cus-edit.el:
      * Makefile.in: Remove code for Carbon.
      
      Remove support for Mac Carbon.
      * makefile.w32-in:
      * emacsclient.c: Remove code for Carbon.
      
      * PROBLEMS:
      * MACHINES: Remove mentions of Mac Carbon.
      
      * ns-emacs.texi:
      * faq.texi: Remove mentions of Mac Carbon.
      
      * os.texi:
      * frames.texi:
      * display.texi: Remove mentions of Mac Carbon.
      
      * xresources.texi: Remove mentions of Mac Carbon.
      
      * make-tarball.txt:
      * admin.el:
      * FOR-RELEASE:
      * CPP-DEFINES: Remove mentions of Mac Carbon.
      
      Remove support for Mac Carbon.
      * mac: Remove directory.
      * make-dist:
      * configure.in:
      * README:
      * Makefile.in:
      * INSTALL:  Remove code for Carbon.
      * configure: Regenerate.
      9e2a2647
  34. 15 Jul, 2008 1 commit
  35. 27 Jun, 2008 1 commit
  36. 10 Jun, 2008 1 commit
    • Stefan Monnier's avatar
      * window.c (Vwindow_point_insertion_type): New var. · a1562258
      Stefan Monnier authored
      (set_window_buffer): Use it.
      (syms_of_window): Init and export it to Lisp.
      * progmodes/compile.el (compilation-mode):
      Set window-point-insertion-type.
      (compilation-filter): Don't use insert-before-markers any more.
      * emacs-lisp/trace.el (trace-make-advice):
      Set window-point-insertion-type in the trace buffer.
      * startup.el (normal-top-level): Set window-point-insertion-type in
      *Messages*.
      * net/telnet.el (telnet-mode): Set window-point-insertion-type.
      (telnet-filter): Don't use insert-before-markers any more.
      * comint.el (comint-mode): Set window-point-insertion-type.
      (comint-output-filter): Don't use insert-before-markers any more.
      * button.el (make-text-button): Allow `start' to be a string.
      a1562258
  37. 05 Jun, 2008 2 commits
    • Stefan Monnier's avatar
      * window.el (display-buffer-function, special-display-p) · 87478b52
      Stefan Monnier authored
      (special-display-buffer-names, special-display-regexps)
      (special-display-function, same-window-p, same-window-buffer-names)
      (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
      (pop-up-frame-function, pop-up-windows)
      (split-window-preferred-function, split-height-threshold)
      (split-width-threshold, window--splittable-p)
      (window--try-to-split-window, window--frame-usable-p)
      (even-window-heights, window--even-window-heights)
      (window--display-buffer-1, window--display-buffer-2, display-buffer)
      (pop-to-buffer): Move from window.c and buffer.c.
      (split-window-preferred-horizontally): Remove.
      * cus-start.el: Remove corresponding declarations.
      
      * window.c (pop_up_windows, pop_up_frames)
      (display_buffer_reuse_frames, Vpop_up_frame_function)
      (Vdisplay_buffer_function, Veven_window_heights)
      (Vspecial_display_buffer_names, Vspecial_display_regexps)
      (Vspecial_display_function, Vsame_window_buffer_names)
      (Vsame_window_regexps, split_height_threshold)
      (Vsplit_window_preferred_function): Move those vars to window.el.
      (display_buffer_1, Fspecial_display_p, Fsame_window_p)
      (Fdisplay_buffer): Move those functions to window.el.
      (syms_of_window): Remove corresponding declarations.
      (display_buffer): New function.
      (temp_output_buffer_show, Fother_window_for_scrolling): Use it.
      * dispnew.c (Flast_nonminibuf_frame): New function.
      * buffer.c (Fpop_to_buffer): Move to window.el.
      87478b52
    • Stefan Monnier's avatar
      * window.c (window_scroll_pixel_based_preserve_x) · c876b227
      Stefan Monnier authored
      (window_scroll_preserve_hpos, window_scroll_preserve_vpos): New vars.
      (window_scroll_pixel_based, window_scroll_line_based):
      Use them to preserve column positions.
      (syms_of_window): Initialize them.
      * indent.c (Fvertical_motion): Extend first arg to allow passing an
      (HPOS . VPOS) pair.
      * xdisp.c (move_it_in_display_line_to): Improve the type of its args.
      (move_it_in_display_line): New wrapper.
      * dispextern.h (move_it_in_display_line): Declare.
      c876b227