1. 20 Dec, 2013 22 commits
  2. 19 Dec, 2013 18 commits
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'. · 50ab1da6
      Juri Linkov authored
      Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
      (minibuffer-history-symbol): Move variable declaration closer to
      its usage.
      
      * lisp/isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
      (Bug#14785)
      
      * lisp/gnus/gnus.el (gnus-suppress-keymap):
      * lisp/gnus/gnus-art.el (gnus-article-mode-map):
      * lisp/gnus/gnus-group.el (gnus-group-mode-map):
      * lisp/gnus/gnus-sum.el (gnus-summary-mode-map, gnus-summary-backend-map):
      Remove [backspace] key binding because it shadows DEL (bug#16035).
      
      * lisp/gnus/mm-decode.el (mm-viewer-completion-map): Remove duplicate definition.
      50ab1da6
    • Juri Linkov's avatar
      * lisp/vc/log-edit.el (log-edit-insert-filenames-without-changelog): New function. · 3d6e95e7
      Juri Linkov authored
      (log-edit-hook): Add it to :options.
      
      Fixes: debbugs:16170
      3d6e95e7
    • Juri Linkov's avatar
      * lisp/simple.el (eval-expression-print-format): Don't check for · b41594fd
      Juri Linkov authored
      command names and the last command.  Always display additional
      formats of the integer result in the echo area, and insert them
      to the current buffer only with a zero prefix arg.
      Display character when char-displayable-p is non-nil.
      (eval-expression): With a zero prefix arg, set `print-length' and
      `print-level' to nil, and insert the integer values from
      `eval-expression-print-format' at the end.  Doc fix. 
      
      * lisp/emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
      `eval-last-sexp-arg-internal'.  Doc fix.
      (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
      `eval-last-sexp-print-value'.  Doc fix.
      (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
      Set `print-length' and `print-level' to nil when arg is zero.
      (eval-last-sexp): Doc fix.
      (eval-defun-2): Print the integer values from
      `eval-expression-print-format' at the end.
      
      * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
      values from `eval-expression-print-format' at the end.
      
      * lisp/ielm.el (ielm-eval-input): Print the integer
      values from `eval-expression-print-format' at the end.
      
      Fixes: debbugs:12985
      b41594fd
    • Eli Zaretskii's avatar
      Fix last commit for TTYs. · 45945727
      Eli Zaretskii authored
      45945727
    • Eli Zaretskii's avatar
      Fix bug #16192 with highlight of display margins when region is active · 5df389f5
      Eli Zaretskii authored
       src/xdisp.c (extend_face_to_end_of_line): Use default face, not the
       current text face, for extending the face of the display margins.
      5df389f5
    • Rüdiger Sonderfeld's avatar
      Update .gitignore. · 4094a772
      Rüdiger Sonderfeld authored
      It should probably be kept better in sync with .bzrignore.
      
      * .gitignore: Ignore refcard temporaries and info/*.info files.
      4094a772
    • Eli Zaretskii's avatar
      Fix bug #16190 with documentation of capitalize-word. · 79f7284f
      Eli Zaretskii authored
       src/casefiddle.c (Fupcase_word, Fdowncase_word, Fcapitalize_word):
       Doc fix.
      79f7284f
    • 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