1. 14 Nov, 2004 22 commits
  2. 13 Nov, 2004 12 commits
    • Jan Djärv's avatar
      * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. · b3935289
      Jan Djärv authored
      Record unwind with clean_up_file_dialog.
      
      * xterm.h: Declare x_menu_in_use, x_menu_set_in_use,
      x_menu_wait_for_event.
      
      * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions.
      b3935289
    • Jan Djärv's avatar
      Add BLOCK_INPUT in pop_down_file_dialog. · cd2531db
      Jan Djärv authored
      cd2531db
    • Jan Djärv's avatar
      * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) · 457a8155
      Jan Djärv authored
      (xg_file_sel_destroy): Removed.
      (xg_file_response_cb, pop_down_file_dialog,
      xg_get_file_name_from_chooser, xg_get_file_name_from_selector):
      New functions.
      (xg_get_file_with_chooser, xg_get_file_with_selection): Take
      new argument func, set it to xg_get_file_name_from_chooser/selector.
      Move common code to xg_get_file_name.  Return widget created.
      (xg_get_file_name): Set name, transient for, modal and destroy
      with parent here.  Connect response signal to xg_file_response_cb,
      connect delete-event to gtk_true.  Record pop_down_file_dialog
      for unwind.  Do event loop and call x_menu_wait_for_event in loop.
      (xg_create_widget): Make dialogs modal.
      457a8155
    • Daniel Pfeiffer's avatar
      *** empty log message *** · 955afc13
      Daniel Pfeiffer authored
      955afc13
    • Daniel Pfeiffer's avatar
      (c-basic-common-initc-font-lock-init, c-font-lock-init): Eliminate obsolete make-local-hook. · 1aaf8a45
      Daniel Pfeiffer authored
      (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode, awk-mode): Use run-mode-hooks.
      1aaf8a45
    • Jan Djärv's avatar
      * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type · af89e871
      Jan Djärv authored
      Lisp_Object.
      (popup_get_selection): Move unwind protect ...
      (create_and_show_popup_menu, create_and_show_dialog): ... to here.
      Move destroy of widget to pop_down_menu.
      (popup_widget_loop): Move unwind protect ...
      (create_and_show_popup_menu, create_and_show_dialog): ... to here.
      Move destroy of widget to pop_down_menu.
      (pop_down_menu): BLOCK_INPUT and destroy widget/window.
      (xmenu_show): record unwind pop_down_menu.  Move XMenuDestroy,
      x_mouse_leave and grabbed = 0 to pop_down_menu.
      af89e871
    • Kim F. Storm's avatar
      Add bug: · 3b8370e1
      Kim F. Storm authored
      ** Partial highlighting of wrapped overlay
      3b8370e1
    • Kim F. Storm's avatar
      Fixed these problems: · 0e18f366
      Kim F. Storm authored
      ** Clicking on partially visible lines fails
      
      From: David Kastrup <dak@gnu.org>
      Date: 27 Apr 2004 16:42:58 +0200
      
      I had gnus display a mouse-highlighted line (a URL from browse-url)
      partially at the bottom of its window.  If I click with middle mouse
      key on it, the window gets recentered while I hold the mouse key
      pressed.  If I release it, the window returns into its old position
      (cursor in top row) and nothing happens, presumably because the click
      was not registered on the line itself, but on the magically
      recentered version.
      
      That is a nuisance.  Recentering of even partially visible click
      targets should only happen if window-point moves there, but not at
      the time of the click.  From the moment I hold down a key until it
      gets released, the displayed window portion should not change, with
      the sole exception of scrolling when dragging at the edge of the
      screen.
      
      (progn
        (setq line-spacing 4)
        (dotimes (i (window-height))
          (insert "\n" (int-to-string i)))
        (forward-line -2)
        (recenter -1))
      
      
      ** Can't drag modeline when mouse-autoselect-window is set
      
      From: Klaus Zeitler <kzeitler@lucent.com>
      Date: Mon, 11 Oct 2004 11:14:49 +0200
      
      1. start emacs -q --no-site-file
      2. set variable mouse-autoselect-window to t
      3. split-window-vertically
      
      now I can drag the modeline only upwards but not downwards
      0e18f366
    • Kim F. Storm's avatar
      (mouse-drag-copy-region): Add :version. · 8413d0d2
      Kim F. Storm authored
      (mouse-drag-mode-line-1): Let bind mouse-autoselect-window to nil
      while dragging mode line, so mode line can be dragged downwards.
      (mouse-drag-region-1): Let bind make-cursor-line-fully-visible
      while pressing mouse button so window doesn't scroll until we
      release the mouse if clicking on partially visible line.
      8413d0d2
    • Kim F. Storm's avatar
      *** empty log message *** · 5596fbf1
      Kim F. Storm authored
      5596fbf1
    • Kim F. Storm's avatar
      (make_cursor_line_fully_visible_p): New variable. · 8232c913
      Kim F. Storm authored
      (syms_of_xdisp): DEFVAR_BOOL it.
      (make_cursor_line_fully_visible, try_cursor_movement)
      (try_window_id): Use it.
      8232c913
    • Kim F. Storm's avatar
      *** empty log message *** · 8571856b
      Kim F. Storm authored
      8571856b
  3. 12 Nov, 2004 6 commits
    • Daniel Pfeiffer's avatar
      run-mode-hooks instead of run-hooks · a3c328ee
      Daniel Pfeiffer authored
      a3c328ee
    • Jay Belanger's avatar
      (calc-dumb-map): Declared it. · 68d1b30d
      Jay Belanger authored
      (calc-graph-show-dumb):  Check if calc-dumb-map is non-nil rather than
      unbound.
      
      (calc-graph-name):  Made `end' a local variable.
      
      (calc-graph-lookup):  Made `varname' a local variable.
      
      (var-DUMMY, var-DUMMY2, var-PlotRejects, calc-gnuplot-trail-mark):
      Declared them.
      (calc-graph-format-data):  Don't check if var-PlotRejects is bound.
      
      (calc-graph-plot, calc-graph-compute-3d):  Removed references to the
      unused variable y3vec.
      
      (calc-graph-show-dumb):  Removed reference to unused variable found-pt.
      
      (calc-graph-kill-hook, calc-graph-plot):  Removed reference to
      calc-graph-prev-kill-hook.
      
      (calc-graph-yvalue, calc-graph-yvec, calc-graph-numsteps,
      calc-graph-numsteps3, calc-graph-xvalue, calc-graph-xvec,
      calc-graph-xname, calc-graph-yname, calc-graph-xstep,
      calc-graph-ycache, calc-graph-ycacheptr, calc-graph-refine,
      calc-graph-keep-file, calc-graph-xval, calc-graph-xlow,
      calc-graph-xhigh, calc-graph-yval, calc-graph-yp, calc-graph-xp,
      calc-graph-zp, calc-graph-yvector, calc-graph-resolution,
      calc-graph-y3value, calc-graph-y3name,
      calc-graph-y3step, calc-graph-y3step, calc-graph-zval,
      calc-graph-stepcount, calc-graph-is-splot, calc-graph-surprise-splot,
      calc-graph-blank, calc-graph-non-blank, calc-graph-curve-num):  New
      variables.
      (calc-graph-plot, calc-graph-compute-2d, calc-graph-refine-2d)
      (calc-graph-recompute-2d, calc-graph-compute-3d, calc-graph-format-data):
      Replaced undeclared variables with the above declared variables.
      68d1b30d
    • Eli Zaretskii's avatar
      ChangeLog · 1b43e144
      Eli Zaretskii authored
      1b43e144
    • Eli Zaretskii's avatar
      Add a test for DECL_ALIGN support, and add a trivial definition to · a30fb04f
      Eli Zaretskii authored
      src/config.h if 8-byte alignment is not supported.
      a30fb04f
    • Eli Zaretskii's avatar
      (rmail-get-new-mail): Use the renamed variables `rsf-beep' and · f431a910
      Eli Zaretskii authored
      `rsf-sleep-after-message'.
      f431a910
    • Eli Zaretskii's avatar