1. 18 Jul, 2010 4 commits
  2. 17 Jul, 2010 10 commits
  3. 16 Jul, 2010 6 commits
  4. 15 Jul, 2010 8 commits
  5. 14 Jul, 2010 12 commits
    • Karl Fogel's avatar
      * lisp/bookmark.el (bookmark-load-hook): Fix doc string as suggested · 077e0753
      Karl Fogel authored
        by Drew Adams (Bug#5504).
      077e0753
    • Chong Yidong's avatar
      Change clipboard/primary selection to X application standards. · f9d71b42
      Chong Yidong authored
      * lisp/menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
      Cut/Copy/Paste menu bar items.
      
      * lisp/mouse.el: Bind mouse-2 to mouse-yank-primary.
      (mouse-drag-copy-region): Default to nil.
      
      * lisp/simple.el (select-active-regions): Default to t.
      (push-mark-command): Don't overwrite primary with empty string.
      
      * lisp/term/x-win.el (x-select-enable-clipboard): Default to t.
      (x-initialize-window-system): Don't overwrite Paste menu item.
      f9d71b42
    • Jan D's avatar
      * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127 · 243881ed
      Jan D authored
      now that unicode is used (Bug#6594).
      243881ed
    • Thierry Volpiatto's avatar
      Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975). · 8f2eaa8a
      Thierry Volpiatto authored
      * lisp/bookmark.el (bookmark-set): Don't set `bookmark-yank-point' and
        `bookmark-current-buffer' if they have been already set in another
        buffer (e.g gnus-art).
      
      * lisp/gnus/gnus-sum.el (gnus-summary-bookmark-make-record): Set
        `bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.
      8f2eaa8a
    • Chong Yidong's avatar
    • Karl Fogel's avatar
      Allow bookmarks to be set from Gnus Article buffers (Bug #5975). · 33b48483
      Karl Fogel authored
      Patch applied (with minor tweaks) by Karl Fogel.  Note this leaves
      C-w still not working correctly from Article buffers; Thierry's
      patch to fix that will be applied after this.
      
      * lisp/gnus/gnus-art.el (bookmark-make-record-function): New local variable.
      
      * lisp/gnus/gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting
        from article buffer.
        (gnus-summary-bookmark-jump): Maybe jump to article buffer.
      33b48483
    • Karl Fogel's avatar
      Preparation for setting bookmarks in Gnus article buffers (Bug#5975). · e44fa724
      Karl Fogel authored
      * lisp/bookmark.el (bookmark-make-record-default): Allow unneeded
        information to be omitted from the record.
      
      Adjust declarations and calls:
      
      * lisp/info.el (bookmark-make-record-default): Adjust declaration.
        (Info-bookmark-make-record): Adjust call.
      
      * lisp/woman.el (bookmark-make-record-default): Adjust declaration.
        (woman-bookmark-make-record): Adjust call.
      
      * lisp/man.el (bookmark-make-record-default): Adjust declaration.
        (Man-bookmark-make-record): Adjust call.
      
      * lisp/image-mode.el (bookmark-make-record-default): Adjust declaration.
      
      * lisp/doc-view.el (bookmark-make-record-default): Adjust declaration.
      
      * lisp/gnus/gnus-sum.el (bookmark-make-record-default): Adjust declaration.
      e44fa724
    • Karl Fogel's avatar
      Fix attribution in a ChangeLog entry. · 2bb8db3e
      Karl Fogel authored
      2bb8db3e
    • Jan D's avatar
      Fix frame size when scroll bar width not an integral of column width. · 6b2c4bd9
      Jan D authored
      xterm.c (x_set_window_size_1): scroll_bar_actual_width is always
      SCROLL_BAR_COLS * COLUMN_WIDTH for the purpose of frame sizing.
      6b2c4bd9
    • Jan D's avatar
      Fix menu bar activation with click for Motif/Lesstif. · cf28cebc
      Jan D authored
      * src/xdisp.c (pending_menu_activation): Remove extern declaration.
      (prepare_menu_bars): Remove setting of pending_menu_activation.
      
      * src/xmenu.c (pending_menu_activation): Remove.
      (x_activate_menubar): Set popup_activated_flag for Xt also. Remove
      setting of pending_menu_activation.
      (set_frame_menubar): Remove check of pending_menu_activation.
      Declare menubar_size before code.  Correct spelling in comment.
      
      * src/xterm.c (xm_scroll_callback, x_process_timeouts): K&R => prototype.
      (SET_SAVED_KEY_EVENT): Remove (not used).
      (SET_SAVED_MENU_EVENT): Rename to SET_SAVED_BUTTON_EVENT and
      remove size parameter.
      (handle_one_xevent): Check popup_activated () for menu for Xt also.
      Remove #ifdef USE_GTK around finish = X_EVENT_DROP.
      Remove #ifdef USE_MOTIF code that did SET_SAVED_BUTTON_EVENT for
      ButtonRelease.
      cf28cebc
    • Jan D's avatar
      Fix menus as per bug 6499 and 6608. · b78f9767
      Jan D authored
      * gtkutil.c (xg_event_is_for_menubar): New function (Bug#6499).
      
      * gtkutil.h (xg_event_is_for_menubar): Declare.
      
      * xfns.c (x_menubar_window_to_frame): Take XEvent as second parameter
      instead of Window.  Call xg_event_is_for_menubar when
      USE_GTK (Bug#6499).
      
      * xmenu.c (x_activate_menubar): Revert previous fix for Bug#6499,
      i.e. don't put back ButtonRelease (Bug#6608).
      
      * xterm.c (handle_one_xevent): Pass event to x_menubar_window_to_frame.
      
      * xterm.h (x_menubar_window_to_frame): Second parameter is XEvent*.
      b78f9767
    • Eli Zaretskii's avatar
      Fix bug #6609. · 1f60c16a
      Eli Zaretskii authored
       w32fns.c (x_set_foreground_color): Fix setting the cursor color
       when it's the same as the old foreground.
      1f60c16a