1. 16 Aug, 2010 2 commits
    • Chong Yidong's avatar
      Let all active regions set the primary selection. · 7c23dd44
      Chong Yidong authored
      This includes both temporarily active regions (mouse drag and
      shift-select) and those made with C-SPC and cursor motion.
      
      * lisp/cus-start.el: Change defcustom for select-active-regions.
      
      * lisp/simple.el (deactivate-mark): If select-active-regions is `only',
      only set selection for temporarily active regions.
      
      * src/insdel.c (prepare_to_modify_buffer): Handle `only' value of
      select-active-regions.
      
      * src/keyboard.c (command_loop_1): Avoid setting selection twice,
      since it's done in deactivate-mark as well.
      (Vselect_active_regions): Replace `lazy' value with `only',
      meaning to only set PRIMARY for temporarily active regions.
      7c23dd44
    • Chong Yidong's avatar
      Fix mouse dragging of words and lines (Bug#6840). · 6d3e82d2
      Chong Yidong authored
      * mouse.el (mouse--drag-set-mark-and-point): New function.
      (mouse-drag-track): Use LOCATION arg to push-mark.  Use
      mouse--drag-set-mark-and-point to take click-count into
      consideration when updating point and mark (Bug#6840).
      6d3e82d2
  2. 15 Aug, 2010 2 commits
  3. 14 Aug, 2010 10 commits
  4. 13 Aug, 2010 8 commits
    • Jan D's avatar
      Fix handling of tool-bar-position, also put into default-frame-alist. · 2b4e6277
      Jan D authored
      * lisp/menu-bar.el (menu-bar-set-tool-bar-position): New function.
      (menu-bar-showhide-tool-bar-menu-customize-enable-left)
      (menu-bar-showhide-tool-bar-menu-customize-enable-right)
      (menu-bar-showhide-tool-bar-menu-customize-enable-top)
      (menu-bar-showhide-tool-bar-menu-customize-enable-bottom): Call
      menu-bar-set-tool-bar-position.
      
      * src/frame.h (Qtool_bar_position): Declare.
      
      * src/xfns.c (Fx_create_frame): Call x_default_parameter for
      Qtool_bar_position.
      2b4e6277
    • Katsumi Yamaoka's avatar
      Optimizations for gnus-sync.el. · 186a9cbb
      Katsumi Yamaoka authored
      From Ted Zlatanov <tzz@lifelogs.com>.
      
      * gnus-sync.el: Add docs about gnus-sync-backend
      possibilities.
      (gnus-sync-save): Remove unnecessary message.
      (gnus-sync-read): Optimize and show what groups were skipped.
      186a9cbb
    • Katsumi Yamaoka's avatar
      Minor bug fixes for gnus-sync.el. · 79993b19
      Katsumi Yamaoka authored
      From Ted Zlatanov <tzz@lifelogs.com>.
      
      * gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks): Don't
      read the sync on get-new-news.
      79993b19
    • Katsumi Yamaoka's avatar
      Minor bug fixes for gnus-sync.el. · bbe276f2
      Katsumi Yamaoka authored
      From Ted Zlatanov <tzz@lifelogs.com>.
      
      * gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
      quiet.
      
      * gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).
      bbe276f2
    • Katsumi Yamaoka's avatar
      add lisp/gnus/gnus-sync.el · 9fc8d464
      Katsumi Yamaoka authored
      9fc8d464
    • Katsumi Yamaoka's avatar
      Make saving and restoring of hidden threads work with overlays. · 62a83cc8
      Katsumi Yamaoka authored
      Patch applied by Ted Zlatanov.
      
      * gnus-sum.el (gnus-hidden-threads-configuration)
      (gnus-restore-hidden-threads-configuration): Update to deal with text
      properties, rather than searching for a magic character.
      62a83cc8
    • Katsumi Yamaoka's avatar
      Add new gnus-sync.el library. · 77154961
      Katsumi Yamaoka authored
      From Ted Zlatanov <tzz@lifelogs.com>.
      
      * gnus-registry.el (gnus-registry-follow-group-p): Use `gnus-grep-in-list'.
      
      * gnus-util.el (gnus-grep-in-list): Moved from gnus-registry.el and
      renamed from `gnus-registry-grep-in-list'.
      
      * gnus-sync.el: New library for synchronization of marks.
      77154961
    • Katsumi Yamaoka's avatar
      Make gnus-start-draft-setup interactive. · c4b1c354
      Katsumi Yamaoka authored
      From Ted Zlatanov <tzz@lifelogs.com>.
      
      * gnus-start.el (gnus-start-draft-setup): Make it interactive.
      c4b1c354
  5. 12 Aug, 2010 5 commits
    • Stefan Monnier's avatar
      Introduce a new comment style "c" flag. · c5683ceb
      Stefan Monnier authored
      * src/syntax.c (SYNTAX_FLAGS_COMMENT_STYLEB)
      (SYNTAX_FLAGS_COMMENT_STYLEC): New macros.
      (SYNTAX_FLAGS_COMMENT_STYLE): Use them, add an argument.
      (syntax_prefix_flag_p): New function.
      (Fstring_to_syntax): Understand new "c" flag.
      (Finternal_describe_syntax_value): Recognize new flag; use the
      SYNTAX_FLAGS_* macros.
      (scan_sexps_forward, Fparse_partial_sexp): Change representation of
      comment style to accomodate the new styles.
      (back_comment, forw_comment, Fforward_comment, scan_lists)
      (scan_sexps_forward): Update code to obey the new comment style flag.
      * src/syntax.h: Move SYNTAX_FLAGS_FOO() macros to syntax.c.
      * src/casefiddle.c (casify_region): Use the new syntax_prefix_flag_p.
      * lisp/progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
      comment style.
      * lisp/progmodes/scheme.el (scheme-mode-syntax-table):
      * lisp/emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
      "b" flag in "14b" syntax.
      
      Fixes: debbugs:6834
      c5683ceb
    • Stefan Monnier's avatar
      Fix last change. · 7e82caa7
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-mode-syntax-table):
      Better describe the problem.
      (octave-fill-paragraph): Also update caller.
      (octave-completion-at-point-function): Fix up typo.
      7e82caa7
    • Stefan Monnier's avatar
      Misc code cleanup of octave-mode.el. · c82d5b11
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-mode-map): Remove special bindings
      for (un)commenting the region and performing completion.
      (octave-mode-menu): Use standard commands for help and completion.
      (octave-mode-syntax-table): Support %{..%} comments (sort of).
      (octave-mode): Use define-derived-mode.
      Set completion-at-point-functions and don't set columns.
      Don't disable adaptive-fill-regexp.
      (octave-describe-major-mode, octave-comment-region)
      (octave-uncomment-region, octave-comment-indent)
      (octave-indent-for-comment): Remove.
      (octave-indent-calculate): Rename from calculate-octave-indent.
      (octave-indent-line): Update caller.
      (octave-initialize-completions): No need to make an alist.
      (octave-completion-at-point-function): New function.
      (octave-complete-symbol): Use it.
      (octave-insert-defun): Use define-skeleton.
      c82d5b11
    • Stefan Monnier's avatar
      * lisp/progmodes/octave-mod.el (octave-mode-map): Use comment-dwim. · dc94fc85
      Stefan Monnier authored
      (octave-mode): Set comment-add.
      
      Fixes: debbugs:6829
      dc94fc85
    • Antoine Levitt's avatar
      * lisp/cus-edit.el (custom-save-variables, custom-save-faces): Fix up · 61b6abbd
      Antoine Levitt authored
      indentation of inserted comment.
      61b6abbd
  6. 11 Aug, 2010 2 commits
    • Jan D's avatar
      Take colors for region face (selected text) from the Gtk+ theme. · 3a46642b
      Jan D authored
      * lisp/dynamic-setting.el (dynamic-setting-handle-config-changed-event):
      Handle theme-name change.
      
      * lisp/faces.el (region): Add type gtk that uses gtk colors.
      
      * src/gtkutil.c (xg_check_special_colors, style_changed_cb): New functions.
      (xg_create_frame_widgets): Connect theme name changes to
      style_changed_cb.
      
      * src/gtkutil.h (xg_check_special_colors): Declare.
      
      * src/xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors
      first.
      3a46642b
    • Glenn Morris's avatar
      97eedd1b
  7. 10 Aug, 2010 5 commits
  8. 09 Aug, 2010 4 commits
  9. 08 Aug, 2010 2 commits