1. 19 Dec, 2013 5 commits
    • Jan Djärv's avatar
      Make NS port use the normal dnd functions. · 1269a680
      Jan Djärv authored
      * lisp/term/ns-win.el: Require dnd.
      (global-map): Remove drag items.
      (ns-insert-text, ns-set-foreground-at-mouse)
      (ns-set-background-at-mouse): Remove
      (ns-drag-n-drop, ns-drag-n-drop-other-frame)
      (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame): New
      * src/nsterm.m (Qfile, Qurl): New.
      (EV_MODIFIERS2): New macro.
      (ns_term_init): Remove font and color from DND, does not work on
      newer OSX, and other ports don't have them.
      (performDragOperation:): Handle modifiers used during drag.
      Use DRAG_N_DROP_EVENT instead of NS specific events.
      Remove global Lisp variables used to communicate with ns-win.el.
      Remove font and color handling.
      (syms_of_nsterm): Defsym Qfile and Qurl.
      Fixes: debbugs:8051
    • Glenn Morris's avatar
      * lisp/emacs-lisp/ert.el (ert-select-tests): Fix string/symbol mixup. · 049638ad
      Glenn Morris authored
      Fixes: debbugs:16121
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block · ce41edb4
      Dmitry Gutov authored
      keywords to their parent.
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the · 7e1549c9
      Dmitry Gutov authored
      first arg to be a string (fixed dead code), or an operator symbol.
      (ruby-smie--forward-token): Tokenize ` @ ' before strings and
      operator symbols.
      (ruby-smie-rules): Remove parent token check in the `.' clause, it
      did nothing.  Don't respond to `(:after ".")', it will be called
      with :before anyway.  Remove the ` @ ' rule, it didn't seem to
      change anything.  Only return indentation for binary operators
      when they are hanging.  De-dent opening paren when its parent is
      `.', otherwise it looks bad when the dot is not at bol or eol.
      Fixes: debbugs:16182
    • Juri Linkov's avatar
      query-replace backward · 3ee4cd64
      Juri Linkov authored
      * lisp/replace.el (query-replace-read-args): Split a non-negative arg
      and a negative arg into separate elements.
      (query-replace, query-replace-regexp, replace-string)
      (replace-regexp): Add arg `backward'.  Doc fix.
      (replace-match-maybe-edit): When new arg `backward' is non-nil,
      move point to the beginning of the match.
      (replace-search, replace-highlight): Use new arg `backward'
      to set the value of `isearch-forward'.
      (perform-replace): Add arg `backward' and use it to perform
      replacement backward. 
      * lisp/isearch.el (isearch-query-replace): Use a negative prefix arg
      to call `perform-replace' with a non-nil arg `backward'.
      Fixes: debbugs:14979
  2. 18 Dec, 2013 17 commits
  3. 17 Dec, 2013 11 commits
  4. 16 Dec, 2013 7 commits