1. 18 Aug, 2010 7 commits
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      Try and remove some of SMIE's black magic by generalizing some rules. · 8723cfa4
      Stefan Monnier authored
      * lisp/emacs-lisp/smie.el (smie-default-backward-token)
      (smie-default-forward-token): Strip properties.
      (smie-next-sexp): Be more careful with associative operators.
      (smie-forward-sexp-command): Generalize.
      (smie-backward-sexp-command): Simplify.
      (smie-closer-alist): New var.
      (smie-close-block): New command.
      (smie-indent-debug-log): New var.
      (smie-indent-offset-rule): Add a few more cases.
      (smie-indent-column): New function.
      (smie-indent-after-keyword): Use it.
      (smie-indent-keyword): Use it.
      Fix up the opener code's point position.
      (smie-indent-comment): Only applies at BOL.
      (smie-indent-debug): New command.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/autoload.el (make-autoload): Preload the macros's · 0193499f
      Stefan Monnier authored
      declarations that are useful before running the macro.
      * src/eval.c (Fdefmacro): Only obey one declaration.
    • Katsumi Yamaoka's avatar
    • Jan D's avatar
      Use CLIPBOARD and PRIMARY on NS (Bug#6677). · 64cb6c78
      Jan D authored
      * lisp/term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard): Use
      QCLIPBOARD instead of QPRIMARY (Bug#6677).
      * src/nsselect.m (QCLIPBOARD, NXPrimaryPboard): Define.
      (symbol_to_nsstring): Map QCLIPBOARD => NSGeneralPboard,
      QPRIMARY => NXPrimaryPboard.
      (ns_string_to_symbol): NSGeneralPboard => QCLIPBOARD,
      NXPrimaryPboard => QPRIMARY.
      (nxatoms_of_nsselect): NXPrimaryPboard = PrimarySelection,
      NXSecondaryPboard = SecondarySelection.
      (syms_of_nsselect): Intern QCLIPBOARD (Bug#6677).
    • Glenn Morris's avatar
      Fix some more Org `check-declare' issues. · eeb4145e
      Glenn Morris authored
      * ob.el: Require org when compiling.
      (org-save-outline-visibility): Remove macro declaration.
      * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
      Remove unnecessary/macro declarations.
      * org-docview.el: Require doc-view when compiling.
      (doc-view-goto-page): Autoload rather than declaring.
      (doc-view-current-page): Remove macro declaration.
    • Glenn Morris's avatar
      Fix typo in previous gnus-sum.el change. · cd24d7a9
      Glenn Morris authored
  2. 17 Aug, 2010 12 commits
  3. 16 Aug, 2010 3 commits
    • Deniz Dogan's avatar
      Don't always log RCIRC process buffers to disk (Bug#6828). · 8f10c937
      Deniz Dogan authored
      * lisp/net/rcirc.el (rcirc-log-process-buffers): New option.
      (rcirc-print): Use it.
      (rcirc-generate-log-filename): New function.
      (rcirc-log-filename-function): Change default to
      rcirc-generate-log-filename (Bug#6828).
    • 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
      * 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.
    • 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).
  4. 15 Aug, 2010 2 commits
  5. 14 Aug, 2010 10 commits
  6. 13 Aug, 2010 6 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-bottom): Call
      * src/frame.h (Qtool_bar_position): Declare.
      * src/xfns.c (Fx_create_frame): Call x_default_parameter for
    • 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
      (gnus-sync-save): Remove unnecessary message.
      (gnus-sync-read): Optimize and show what groups were skipped.
    • 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.
    • 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
      * gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).
    • Katsumi Yamaoka's avatar
      add lisp/gnus/gnus-sync.el · 9fc8d464
      Katsumi Yamaoka authored
    • 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.