1. 29 Sep, 2014 1 commit
  2. 11 Sep, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · 0f2ed592
      Paul Eggert authored
      * lisp/ses.el (ses-file-format-extend-parameter-list): Rename from
      ses-file-format-extend-paramter-list.  All uses changed.
      * lisp/gnus-cloud.el (gnus-cloud-parse-version-1): Fix misspelling
      of ":delete".
      0f2ed592
  3. 04 Aug, 2014 1 commit
  4. 19 Jul, 2014 1 commit
  5. 09 Jul, 2014 1 commit
  6. 03 Jul, 2014 1 commit
  7. 17 Jun, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/rect.el (rectangle-preview): New custom. · 5139e960
      Stefan Monnier authored
      (rectangle): New group.
      (rectangle--pos-cols): Add `window' argument.
      (rectangle--string-preview-state, rectangle--string-preview-window):
      New vars.
      (rectangle--string-flush-preview, rectangle--string-erase-preview)
      (rectangle--space-to, rectangle--string-preview): New functions.
      (string-rectangle): Use them.
      (rectangle--inhibit-region-highlight): New var.
      (rectangle--highlight-for-redisplay): Obey it.  Make sure
      `apply-on-region' uses the point-crutches of the right window.
      Use :align-to rather than multiple spaces.
      5139e960
  8. 11 Jun, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/rect.el: Make it possible to move bounds past EOL or into TABs. · 7e74ad02
      Stefan Monnier authored
      (operate-on-rectangle): Use apply-on-rectangle.
      (rectangle--mark-crutches): New var.
      (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
      (rectangle--crutches, rectangle--reset-crutches): New functions.
      (apply-on-rectangle): Obey crutches.  Avoid setq.
      Fix missing final iteration if end is at EOB&BOL.
      (rectangle-mark-mode-map): Add remap bindings for
      exchange-point-and-mark and char/line movements.
      (rectangle--*-char): New function.
      (rectangle-exchange-point-and-mark, rectangle-right-char)
      (rectangle-left-char, rectangle-forward-char)
      (rectangle-backward-char, rectangle-next-line)
      (rectangle-previous-line): New commands.
      (rectangle--place-cursor): New function.
      (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
      7e74ad02
  9. 13 Jan, 2014 1 commit
    • Bastien Guerry's avatar
      Partially fix Bug#16403. · d791cc3b
      Bastien Guerry authored
      * rect.el (rectangle-mark-mode): When the region is not active,
      display a message saying that the mark as been set and that
      rectangle mode is in use.
      (rectangle--highlight-for-redisplay): Only put an overlay with a
      visible vertical bar when (display-graphic-p) is non-nil.
      This partially fixes Bug#16403.
      d791cc3b
  10. 01 Jan, 2014 1 commit
  11. 16 Dec, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode. · 2013a2f9
      Stefan Monnier authored
      (cua--deactivate-rectangle): Don't deactivate the mark.
      (cua-set-rectangle-mark): Don't set mark-active since
      cua--activate-rectangle already does it for us.
      (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
      non-rectangular region.
      
      * lisp/emulation/cua-base.el (cua-repeat-replace-region):
      Use with-current-buffer.
      
      * lisp/net/gnutls.el: Use cl-lib.
      (gnutls-negotiate): `mapcan' -> cl-mapcan.
      2013a2f9
  12. 08 Dec, 2013 1 commit
  13. 11 Nov, 2013 1 commit
  14. 04 Nov, 2013 2 commits
  15. 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
  16. 01 Jan, 2013 1 commit
  17. 29 Jul, 2012 1 commit
    • Chong Yidong's avatar
      Deactivate the mark on more copy operations, and indicate the copied region. · 2549c068
      Chong Yidong authored
      * lisp/simple.el (indicate-copied-region): New function.
      (kill-ring-save): Split off from here.
      
      * lisp/rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
      (kill-rectangle): Set deactivate-mark to t on read-only error.
      
      * lisp/register.el (copy-to-register, copy-rectangle-to-register):
      Deactivate the mark, and use indicate-copied-region.
      (append-to-register, prepend-to-register): Call
      
      Fixes: debbugs:10056
      2549c068
  18. 14 Jul, 2012 1 commit
  19. 11 Jan, 2012 1 commit
  20. 05 Jan, 2012 1 commit
  21. 14 Jul, 2011 1 commit
  22. 19 Apr, 2011 1 commit
  23. 25 Jan, 2011 1 commit
  24. 15 Jan, 2011 1 commit
  25. 02 Jan, 2011 1 commit
  26. 15 Dec, 2010 2 commits
  27. 29 Aug, 2010 1 commit
  28. 13 Jan, 2010 1 commit
  29. 05 Jan, 2009 1 commit
  30. 01 Nov, 2008 1 commit
    • Juanma Barranquero's avatar
      Fix typos in docstrings. · 6cda144f
      Juanma Barranquero authored
      * cus-edit.el (customize-apropos-options, custom-comment)
        (custom-comment-tag, custom-face-edit-attribute-tag):
        Fix typos in docstrings.
        (custom-buffer-done-kill): Remove * from defcustom docstring.
        (custom-file): Fix typo in doc of defcustom choice.
      
      * frame.el (display-visual-class): Fix typo in docstring.
        (initial-frame-alist, minibuffer-frame-alist, pop-up-frame-alist)
        (special-display-frame-alist, show-trailing-whitespace)
        (auto-hscroll-mode, blink-cursor-delay, blink-cursor-interval)
        (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
        Remove * from defcustom docstrings.
      
      * md4.el (md4-buffer): Fix typo in docstring.
        (md4, md4-64): Doc fixes.
        (md4-pack-int32): Reflow docstring.
      
      * paths.el (rmail-file-name): Remove * from defcustom docstring.
        (prune-directory-list, gnus-nntp-service): Fix typos in docstrings.
      
      * rect.el (open-rectangle): Reflow docstring.
        (spaces-string): Fix docstring typo.  Use "?\s" instead of "? ".
      
      * select.el (x-get-cut-buffer): Fix typo in docstring.
      
      * timezone.el (timezone-zone-to-minute, timezone-time-from-absolute)
        (timezone-time-zone-from-absolute, timezone-leap-year-p):
        Fix typos in docstrings.
      
      * emacs-lisp/assoc.el (asort, aelement, aput, aget, amake):
        Fix typos in docstrings.
      6cda144f
  31. 30 Jun, 2008 1 commit
  32. 06 May, 2008 1 commit
  33. 10 Apr, 2008 1 commit
  34. 07 Jan, 2008 1 commit
  35. 25 Jul, 2007 1 commit
  36. 21 Jan, 2007 1 commit
  37. 18 Aug, 2006 1 commit
  38. 08 Apr, 2006 1 commit