1. 19 Dec, 2013 11 commits
    • Ted Zlatanov's avatar
      eww: Revert 2013-12-11T19:01:44Z!tzz@lifelogs.com UI wrappers (eww-exit, eww-close) · 8f2be364
      Ted Zlatanov authored
      * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
      2013-12-11T19:01:44Z!tzz@lifelogs.com.
      8f2be364
    • Stefan Monnier's avatar
      * lisp/hl-line.el (hl-line-make-overlay): New fun. Set priority. · 2230a6e3
      Stefan Monnier authored
      (hl-line-highlight, global-hl-line-highlight): Use it.
      (hl-line-overlay): Use defvar-local.
      
      Fixes: debbugs:16192
      2230a6e3
    • 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
      functions.
      
      * src/nsterm.h (KEY_NS_DRAG_FILE, KEY_NS_DRAG_COLOR, KEY_NS_DRAG_TEXT):
      Remove.
      
      * src/nsterm.m (Qfile, Qurl): New.
      (EV_MODIFIERS2): New macro.
      (EV_MODIFIERS): Use EV_MODIFIERS2.
      (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
      1269a680
    • Jan Djärv's avatar
      Redo size constraint for NS so frames can span screens. · 680e6b8c
      Jan Djärv authored
      * nsterm.h (ns_output): Remove dont_constrain.
      
      * nsterm.m (NSTRACE_SIZE, NSTRACE_RECT): New macros.
      (ns_constrain_all_frames, x_set_offset): Remove assignment to
      dont_constrain.
      (updateFrameSize:, windowWillResize:toSize:): Add trace.
      (constrainFrameRect): Remove special case nr_screens == 1.
      Don't constrain size to size of view.
      680e6b8c
    • Glenn Morris's avatar
      * lisp/emacs-lisp/ert.el (ert-select-tests): Fix string/symbol mixup. · 049638ad
      Glenn Morris authored
      Fixes: debbugs:16121
      049638ad
    • Jan Djärv's avatar
      Generate HORIZ_WHEEL_EVENT. · 570c054a
      Jan Djärv authored
      * nsterm.m (mouseDown:): Generate HORIZ_WHEEL_EVENT.
      570c054a
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block · ce41edb4
      Dmitry Gutov authored
      keywords to their parent.
      ce41edb4
    • Katsumi Yamaoka's avatar
      c7734b72
    • Katsumi Yamaoka's avatar
      063ab4b0
    • 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
      7e1549c9
    • 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
      3ee4cd64
  2. 18 Dec, 2013 25 commits
  3. 17 Dec, 2013 4 commits
    • Juri Linkov's avatar
      * lisp/arc-mode.el (archive-extract-by-file): Check if directory exists · 33dd8e95
      Juri Linkov authored
      before deletion to not show irrelevant errors if it doesn't exist.
      33dd8e95
    • Juri Linkov's avatar
      * lisp/menu-bar.el (menu-bar-tools-menu): Add `browse-web'. · 7a409b30
      Juri Linkov authored
      * lisp/startup.el (fancy-startup-screen, fancy-about-screen):
      Set browse-url-browser-function to eww-browse-url locally.
      (Bug#14751)
      
      * lisp/net/browse-url.el (browse-url-browser-function): Move `eww'
      closer to similar functions.
      
      * lisp/net/eww.el (browse-web): Add alias to `eww'.
      (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
      Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
      7a409b30
    • Paul Eggert's avatar
      Merge from gnulib, incorporating: · e9ad5665
      Paul Eggert authored
      2013-12-17 gettimeofday: port recent C++ fix to Emacs
      2013-12-17 gettimeofday: fix C++ crosscompilation
      2013-12-17 qacl: port to Windows better
      * lib/file-has-acl.c, lib/time.in.h, m4/gettimeofday.m4, m4/time_h.m4:
      Update from gnulib.
      * lib/gnulib.mk: Regenerate.
      e9ad5665
    • Stefan Monnier's avatar
      * lisp/window.el (window--pixel-to-total): Remove unused `mini' var. · 2d6b6005
      Stefan Monnier authored
      (maximize-window, minimize-window): Remove unused `pixelwise' arg.
      (split-window): Remove unused `new' var.
      (window--display-buffer): Remove unused `frame' and `delta' vars.
      (fit-window-to-buffer): Remove unused vars `frame', `display-height',
      and display-width'.
      2d6b6005