1. 27 Nov, 2003 9 commits
    • Kim F. Storm's avatar
      (Click Events): Click object may be an images. · f51f93f6
      Kim F. Storm authored
      Describe (dx . dy) element of click positions.
      (Accessing Events): Remove duplicate posn-timestamp.
      New functions posn-object and posn-object-x-y.
      f51f93f6
    • Kim F. Storm's avatar
      *** empty log message *** · 0f6a07a8
      Kim F. Storm authored
      0f6a07a8
    • Kim F. Storm's avatar
      (posn-object-x-y): New defun. · e08f9a0d
      Kim F. Storm authored
      e08f9a0d
    • Kim F. Storm's avatar
      (Vdisplay_pixels_per_inch): New variable. · f65536fa
      Kim F. Storm authored
      (Vshow_text_cursor_in_void): New variable.
      (glyph_to_pixel_coords): Don't use negative hpos.
      (x_y_to_hpos_vpos): Fix for partially visible first glyph.
      (append_stretch_glyph): Change ascent arg to be actual value
      in pixels rather than ratio to height. Callers changed.
      (calc_pixel_width_or_height): New aux function, implementing
      pixel based artihmetic for glyph widths and heights.
      (produce_stretch_glyph): Use calc_pixel_width_or_height for
      :width, :height, :align-to, and :ascent, thus allowing these to
      be specified in pixels as well as multiples of characters.
      Don't produce stretch glyphs with zero width or height.
      (get_specified_cursor_type): Declare static.
      (get_window_cursor_type): Declare static.  Add glyph arg to be
      able to know when cursor is on an image; always substitute
      hollow-box cursor for filled-box cursor on images, to avoid
      negative images and flicker when blinking the cursor.
      (display_and_set_cursor): Pass glyph to	get_window_cursor_type.
      (note_mode_line_or_margin_highlight): Use non-text cursor rather
      than vertical scroll-bar cursor in display margins.
      (note_mouse_highlight): Use non-text cursor rather than text
      cursor in fringes and over images in the text area.
      Use non-text cursor when mouse pointer is outside editable text,
      i.e. in the void after end-of-line or end-of-buffer; this was
      already done for W32, but is now standard for all systems --
      user can toggle show-text-cursor-in-void to get old behaviour.
      (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and
      Vdisplay_pixels_per_inch.
      f65536fa
    • Kim F. Storm's avatar
      1365f343
    • Kim F. Storm's avatar
      (make_lispy_position): Add x and y coordinates · 45de137a
      Kim F. Storm authored
      relative to the current glyph as 7th element of position.
      If glyph is an image, return it in the object element.
      (read_key_sequence): Skip checks for keymap property in cases
      where POSN_STRING is not a string (e.g. an image).
      45de137a
    • Kim F. Storm's avatar
      (get_specified_cursor_type, get_window_cursor_type): · 8cef763f
      Kim F. Storm authored
      Remove prototypes.
      8cef763f
    • Kim F. Storm's avatar
      (buffer_posn_from_coords): Calculate and return pixel · 2d4aac37
      Kim F. Storm authored
      coordinates relative to glyph at posn.  If glyph is an image,
      return that as object at posn.  Callers changed.
      (mode_line_string, marginal_area_string): Calculate and return
      pixel coordinates relative to glyph.  Callers changed.
      2d4aac37
    • Kim F. Storm's avatar
      (buffer_posn_from_coords, mode_line_string) · 58df7256
      Kim F. Storm authored
      (marginal_area_string): Fix prototypes.
      (window_box_left_offset, window_box_right_offset): Add prototypes.
      58df7256
  2. 26 Nov, 2003 4 commits
  3. 25 Nov, 2003 10 commits
  4. 24 Nov, 2003 7 commits
  5. 23 Nov, 2003 10 commits
    • Kim F. Storm's avatar
      5f6eef94
    • Kim F. Storm's avatar
      5f032b50
    • Kim F. Storm's avatar
      *** empty log message *** · 63dc7c6b
      Kim F. Storm authored
      63dc7c6b
    • Kim F. Storm's avatar
      (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS. · e661376d
      Kim F. Storm authored
      (window_loop): Handle REDISPLAY_BUFFER_WINDOWS.
      (Fforce_window_update): New defun.
      (syms_of_window): Defsubr it.
      (Fset_window_margins, Fset_window_fringes): Doc fix.
      e661376d
    • Kim F. Storm's avatar
      (Fredirect_debugging_output): New defun. · 6a1ff3ba
      Kim F. Storm authored
      (syms_of_print): Defsubr it.
      6a1ff3ba
    • Kim F. Storm's avatar
      (grep-command, grep-use-null-device) · 9ac57479
      Kim F. Storm authored
      (grep-find-command, grep-tree-command, grep-tree-files-aliases)
      (grep-tree-ignore-case, grep-tree-ignore-CVS-directories)
      (grep-regexp-alist, grep-program, find-program)
      (grep-find-use-xargs, grep-history, grep-find-history)
      (grep-process-setup, grep-compute-defaults)
      (grep-default-command, grep, grep-tag-default, grep-find)
      (grep-expand-command-macros, grep-tree-last-regexp)
      (grep-tree-last-files, grep-tree): Move grep variables, functions
      and commands to new file grep.el.
      (compilation-mode-map): Remove grep commands from Compile sub-menu.
      
      (compilation-process-setup-function): Doc fix.
      (compilation-highlight-regexp, compilation-highlight-overlay): New
      defvars used for highlighting current compile error in source buffer.
      (compile-internal): New optional args HIGHLIGHT-REGEXP and
      LOCAL-MAP which overrides compilation-highlight-regexp and
      compilation-mode-map for this compilation.
      Delay calling compilation-set-window-height until after running
      compilation-process-setup-function so it can buffer-local override
      compilation-window-height.
      Check buffer-local value of compilation-scroll-output.
      (compilation-set-window-height): Use buffer-local value of
      compilation-window-height.
      (compilation-revert-buffer): Don't pass (undefined)
      preserve-modes arg to revert-buffer.
      (next-error-no-select, previous-error-no-select): New commands.
      (compilation-goto-locus): Temporarily highlight current match in
      source buffer using compilation-highlight-regexp.
      9ac57479
    • Kim F. Storm's avatar
      * progmodes/grep.el: New file with grep code from compile.el. · 318e2976
      Kim F. Storm authored
      (grep): New defcustom group.
      (grep-window-height): New defcustom, like compilation-window-height.
      (grep-auto-highlight): New defcustom, like compile-auto-highlight.
      (grep-scroll-output): New defcustom, like compilation-scroll-output.
      (grep-command, grep-use-null-device, grep-find-command)
      (grep-tree-files-aliases, grep-tree-ignore-case)
      (grep-tree-ignore-CVS-directories): Move to grep custom group.
      (grep-setup-hook): New hook variable.
      (grep-mode-map): New keymap for grep commands.  Add Grep menu.
      (grep-use-compilation-buffer): New defcustom.
      (grep-last-buffer): New defvar, override compilation-last-buffer.
      (grep): Add optional arg HIGHLIGHT-REGEXP.  Doc fix.
      Call compile-internal with args highlight-regexp and grep-mode-map.
      318e2976
    • Luc Teirlinck's avatar
      (Fset_char_table_parent): Doc fix. · c541e2a0
      Luc Teirlinck authored
      c541e2a0
    • Luc Teirlinck's avatar
      *** empty log message *** · aef109b7
      Luc Teirlinck authored
      aef109b7
    • Kim F. Storm's avatar
      (Click Events): Describe enhancements to event · c5cb5297
      Kim F. Storm authored
      position lists, including new text-pos and (col . row) items.
      Mention left-fringe and right-fringe area events.
      (Accessing Events): New functions posn-area, posn-object, and
      posn-actual-col-row.  Mention posn-timestamp.  Mention that
      posn-point in non-text area still returns buffer position.
      Clarify posn-col-row.
      c5cb5297