1. 17 Jun, 2014 1 commit
  2. 18 Feb, 2014 1 commit
  3. 10 Feb, 2014 1 commit
  4. 31 Jan, 2014 1 commit
    • Glenn Morris's avatar
      Delete Selection mode doc updates · a69ecd19
      Glenn Morris authored
      * lisp/delsel.el (delete-selection-mode): Doc fix.
      
      * doc/misc/efaq.texi (Replacing highlighted text):
      Update delete-selection-mode doc.
      
      * etc/NEWS: Related edit.
      a69ecd19
  5. 05 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · da5ecfa9
      Paul Eggert authored
      * lib-src/Makefile.in (regex.o): Remove reference to no-longer-used macros
      CONFIG_BROKETS and INHIBIT_STRING_HEADER.  "BROKETS" was a
      misspelling anyway....
      * src/nsterm.h (updateCollectionBehavior): Rename from
      updateCollectionBehaviour.  All uses changed.
      da5ecfa9
  6. 01 Jan, 2014 1 commit
  7. 11 Dec, 2013 2 commits
  8. 08 Dec, 2013 1 commit
  9. 29 Oct, 2013 1 commit
    • Stefan Monnier's avatar
      Add pre-redisplay-function and rectangular region · 3472b6c6
      Stefan Monnier authored
      * lisp/rect.el: Use lexical-binding.  Add new rectangular region support.
      (rectangle-mark): New command.
      (rectangle--region): New var.
      (deactivate-mark-hook): Reset rectangle--region.
      (rectangle--extract-region, rectangle--insert-for-yank)
      (rectangle--highlight-for-redisplay)
      (rectangle--unhighlight-for-redisplay): New functions.
      (region-extract-function, redisplay-unhighlight-region-function)
      (redisplay-highlight-region-function): Use them to handle
      rectangular region.
      * lisp/simple.el (region-extract-function): New var.
      (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
      (kill-new, kill-append): Remove obsolete `yank-handler' argument.
      (kill-region): Replace obsolete `yank-handler' arg with `region'.
      (copy-region-as-kill, kill-ring-save): Add `region' argument.
      (redisplay-unhighlight-region-function)
      (redisplay-highlight-region-function): New vars.
      (redisplay--update-region-highlight): New function.
      (pre-redisplay-function): Use it.
      (exchange-point-and-mark): Don't deactivate the mark before
      reactivate-it anyway.
      * lisp/comint.el (comint-kill-region): Remove yank-handler argument.
      * lisp/delsel.el (delete-backward-char, backward-delete-char-untabify)
      (delete-char): Remove property, since it's now part of their
      default behavior.
      (self-insert-iso): Remove property since this command doesn't exist.
      
      * src/xdisp.c (prepare_menu_bars): Call Vpre_redisplay_function.
      (syms_of_xdisp): Declare pre-redisplay-function.
      (markpos_of_region): Remove function.
      (init_iterator, compute_stop_pos, handle_face_prop)
      (face_before_or_after_it_pos, reseat_to_string)
      (get_next_display_element, window_buffer_changed)
      (redisplay_internal, try_cursor_movement, redisplay_window)
      (try_window_reusing_current_matrix, try_window_id, display_line)
      (note_mode_line_or_margin_highlight, note_mouse_highlight)
      (display_string, mouse_face_from_buffer_pos): Remove region handling.
      * src/window.h (struct window): Remove field `region_showing'.
      * src/dispextern.h (struct it): Remove region_beg/end_charpos.
      (face_at_buffer_position, face_for_overlay_string)
      (face_at_string_position): Update prototypes.
      * src/xfaces.c (face_at_buffer_position, face_for_overlay_string)
      (face_at_string_position): Remove `region_beg' and `region_end' args.
      * src/fontset.c (Finternal_char_font):
      * src/font.c (font_at, font_range): Adjust calls accordingly.
      * src/insdel.c (Qregion_extract_function): New var.
      (syms_of_insdel): Initialize it.
      (prepare_to_modify_buffer_1): Use it.
      3472b6c6
  10. 01 Jan, 2013 1 commit
  11. 22 Oct, 2012 2 commits
    • Stefan Monnier's avatar
      Rework the last delsel/electric fix. · c77d37e2
      Stefan Monnier authored
      * lisp/delsel.el (delete-selection-helper): Use a function instead of a hook.
      (delete-selection-pre-hook): Use use-region-p.
      (delete-selection-self-insert-function): Remove.
      (self-insert-command): Obey self-insert-uses-region-functions.
      (self-insert-iso): Revert to previous setting, since we don't actually
      know what that command does.
      (delete-selection-self-insert-hooks): Remove.
      * lisp/electric.el (electric-pair-delete-selection-self-insert-function):
      Rename to electric-pair-will-use-region, return a boolean.
      (electric-pair-mode): Adjust accordingly.  Don't require delsel.
      c77d37e2
    • Simon Law's avatar
      * lisp/delsel.el (delete-selection-helper): New function, extracted from · b1d39ccc
      Simon Law authored
      delete-selection-pre-hook.
      (delete-selection-pre-hook): Use it.
      (delete-selection-self-insert-function): New function.
      (delete-selection-self-insert-hooks): New hook.
      (self-insert-command, self-insert-iso): Use it.
      * lisp/electric.el (electric-pair-syntax): New function, extracted from
      electric-pair-post-self-insert-function.
      (electric-pair-post-self-insert-function): Use it.
      (electric-pair-delete-selection-self-insert-function): New function.
      (electric-pair-mode): Require delsel and setup
      delete-selection-self-insert-hooks.
      
      Fixes: debbugs:11520
      b1d39ccc
  12. 09 Aug, 2012 1 commit
  13. 11 Jan, 2012 1 commit
  14. 05 Jan, 2012 1 commit
  15. 04 Dec, 2011 1 commit
  16. 19 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix minor mode docstrings for the new meaning of a nil ARG. · 06e21633
      Chong Yidong authored
      * abbrev.el (abbrev-mode):
      * allout.el (allout-mode):
      * autoinsert.el (auto-insert-mode):
      * autoarg.el (autoarg-mode, autoarg-kp-mode):
      * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
      (global-auto-revert-mode):
      * battery.el (display-battery-mode):
      * composite.el (global-auto-composition-mode)
      (auto-composition-mode):
      * delsel.el (delete-selection-mode):
      * desktop.el (desktop-save-mode):
      * dired-x.el (dired-omit-mode):
      * dirtrack.el (dirtrack-mode):
      * doc-view.el (doc-view-minor-mode):
      * double.el (double-mode):
      * electric.el (electric-indent-mode, electric-pair-mode):
      * emacs-lock.el (emacs-lock-mode):
      * epa-hook.el (auto-encryption-mode):
      * follow.el (follow-mode):
      * font-core.el (font-lock-mode):
      * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
      * help.el (temp-buffer-resize-mode):
      * hilit-chg.el (highlight-changes-mode)
      (highlight-changes-visible-mode):
      * hi-lock.el (hi-lock-mode):
      * hl-line.el (hl-line-mode, global-hl-line-mode):
      * icomplete.el (icomplete-mode):
      * ido.el (ido-everywhere):
      * image-file.el (auto-image-file-mode):
      * image-mode.el (image-minor-mode):
      * iswitchb.el (iswitchb-mode):
      * jka-cmpr-hook.el (auto-compression-mode):
      * linum.el (linum-mode):
      * longlines.el (longlines-mode):
      * master.el (master-mode):
      * mb-depth.el (minibuffer-depth-indicate-mode):
      * menu-bar.el (menu-bar-mode):
      * minibuf-eldef.el (minibuffer-electric-default-mode):
      * mouse-sel.el (mouse-sel-mode):
      * msb.el (msb-mode):
      * mwheel.el (mouse-wheel-mode):
      * outline.el (outline-minor-mode):
      * paren.el (show-paren-mode):
      * recentf.el (recentf-mode):
      * reveal.el (reveal-mode, global-reveal-mode):
      * rfn-eshadow.el (file-name-shadow-mode):
      * ruler-mode.el (ruler-mode):
      * savehist.el (savehist-mode):
      * scroll-all.el (scroll-all-mode):
      * scroll-bar.el (scroll-bar-mode):
      * server.el (server-mode):
      * shell.el (shell-dirtrack-mode):
      * simple.el (auto-fill-mode, transient-mark-mode)
      (visual-line-mode, overwrite-mode, binary-overwrite-mode)
      (line-number-mode, column-number-mode, size-indication-mode)
      (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
      * strokes.el (strokes-mode):
      * time.el (display-time-mode):
      * t-mouse.el (gpm-mouse-mode):
      * tool-bar.el (tool-bar-mode):
      * tooltip.el (tooltip-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * view.el (view-mode):
      * whitespace.el (whitespace-mode, whitespace-newline-mode)
      (global-whitespace-mode, global-whitespace-newline-mode):
      * xt-mouse.el (xterm-mouse-mode): Doc fix.
      
      * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
      autogenerated docstring.
      06e21633
  17. 25 Jan, 2011 1 commit
  18. 15 Jan, 2011 1 commit
  19. 02 Jan, 2011 1 commit
  20. 13 Jan, 2010 1 commit
  21. 05 Jan, 2009 1 commit
  22. 06 May, 2008 1 commit
  23. 10 Apr, 2008 1 commit
  24. 24 Jan, 2008 2 commits
  25. 07 Jan, 2008 1 commit
  26. 04 Jan, 2008 1 commit
  27. 31 Oct, 2007 1 commit
  28. 06 Oct, 2007 1 commit
  29. 21 Aug, 2007 1 commit
  30. 25 Jul, 2007 1 commit
  31. 15 Jul, 2007 1 commit
  32. 21 Jan, 2007 1 commit
  33. 06 Feb, 2006 1 commit
  34. 14 Aug, 2005 1 commit
  35. 06 Aug, 2005 1 commit
  36. 04 Jul, 2005 1 commit
  37. 17 Oct, 2004 1 commit