1. 04 Nov, 2013 1 commit
  2. 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
  3. 01 Jan, 2013 1 commit
  4. 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
  5. 14 Jul, 2012 1 commit
  6. 11 Jan, 2012 1 commit
  7. 05 Jan, 2012 1 commit
  8. 14 Jul, 2011 1 commit
  9. 19 Apr, 2011 1 commit
  10. 25 Jan, 2011 1 commit
  11. 15 Jan, 2011 1 commit
  12. 02 Jan, 2011 1 commit
  13. 15 Dec, 2010 2 commits
  14. 29 Aug, 2010 1 commit
  15. 13 Jan, 2010 1 commit
  16. 05 Jan, 2009 1 commit
  17. 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
  18. 30 Jun, 2008 1 commit
  19. 06 May, 2008 1 commit
  20. 10 Apr, 2008 1 commit
  21. 07 Jan, 2008 1 commit
  22. 25 Jul, 2007 1 commit
  23. 21 Jan, 2007 1 commit
  24. 18 Aug, 2006 1 commit
  25. 08 Apr, 2006 1 commit
  26. 06 Feb, 2006 1 commit
  27. 24 Sep, 2005 1 commit
    • Romain Francoise's avatar
      2005-09-24 Emilio C. Lopes <eclig@gmx.net> · 5b76833f
      Romain Francoise authored
      	* woman.el (woman-file-name):
      	* wid-edit.el (widget-file-prompt-value)
      	(widget-coding-system-prompt-value):
      	* w32-fns.el (set-w32-system-coding-system):
      	* vc.el (vc-version-diff, vc-annotate):
      	* textmodes/reftex-auc.el (reftex-arg-cite)
      	(reftex-arg-index-tag):
      	* textmodes/refer.el (refer-get-bib-files):
      	* textmodes/artist.el (artist-figlet-choose-font):
      	* terminal.el (terminal-emulator):
      	* replace.el (occur-read-primary-args):
      	* rect.el (string-rectangle, string-insert-rectangle):
      	* ps-print.el (ps-print-preprint):
      	* progmodes/pascal.el (pascal-goto-defun):
      	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
      	* progmodes/compile.el (compilation-find-file):
      	* printing.el (pr-interactive-n-up):
      	* play/animate.el (animate-birthday-present):
      	* net/rcompile.el (remote-compile):
      	* man.el (man, Man-goto-section, Man-follow-manual-reference):
      	* mail/rmailsum.el (rmail-summary-search-backward)
      	(rmail-summary-search):
      	* mail/rmailout.el (rmail-output-read-rmail-file-name)
      	(rmail-output-read-file-name):
      	* mail/rmail.el (rmail-search, rmail-search-backwards):
      	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
      	* locate.el (locate):
      	* international/quail.el (quail-show-keyboard-layout):
      	* international/mule.el (set-buffer-file-coding-system)
      	(revert-buffer-with-coding-system, set-file-name-coding-system)
      	(set-terminal-coding-system, set-keyboard-coding-system)
      	(set-next-selection-coding-system):
      	* international/mule-diag.el (describe-coding-system)
      	(describe-font, describe-fontset):
      	* international/mule-cmds.el (universal-coding-system-argument)
      	(search-unencodable-char, describe-input-method)
      	(set-language-environment, describe-language-environment):
      	* international/codepage.el (codepage-setup):
      	* international/code-pages.el (codepage-setup):
      	* info.el (Info-search, Info-follow-reference)
      	(Info-search-backward):
      	* emacs-lisp/advice.el (ad-read-advised-function)
      	(ad-read-advice-class, ad-clear-cache, ad-activate)
      	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
      	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
      	(ad-read-regexp):
      	* ediff-util.el (ediff-toggle-regexp-match):
      	* ediff-ptch.el (ediff-prompt-for-patch-file):
      	* dired-aux.el (dired-diff):
      	* diff.el (diff):
      	* cus-edit.el (custom-variable-prompt):
      	* calendar/timeclock.el (timeclock-ask-for-project):
      	* calc/calcalg3.el (calc-get-fit-variables):
      	* calc/calc-store.el (calc-edit-variable)
      	(calc-permanent-variable):
      	* vc-mcvs.el (vc-mcvs-register):
      	* shadowfile.el (shadow-define-literal-group):
      	* woman.el (woman-file-name):
      	* vc.el (vc-version-diff, vc-merge):
      	* textmodes/reftex-index.el (reftex-index-complete-tag):
      	* format.el (format-decode-buffer, format-decode-region):
      	* emulation/viper-cmd.el (viper-read-string-with-history):
      	* emacs-lisp/debug.el (cancel-debug-on-entry):
      	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      	* ediff.el (ediff-merge-revisions)
      	(ediff-merge-revisions-with-ancestor, ediff-revision):
      	* completion.el (interactive-completion-string-reader):
      	* calc/calc-prog.el (calc-user-define-formula):
      	Follow convention for reading with the minibuffer.
      5b76833f
  28. 06 Aug, 2005 1 commit
  29. 04 Jul, 2005 1 commit
  30. 29 Jan, 2005 1 commit
  31. 16 Apr, 2004 1 commit
  32. 08 Sep, 2003 1 commit
  33. 01 Sep, 2003 1 commit
  34. 04 Feb, 2003 1 commit
  35. 18 Jul, 2002 1 commit
  36. 27 Jun, 2002 1 commit
  37. 07 May, 2002 1 commit
  38. 19 Apr, 2002 1 commit
  39. 28 Mar, 2002 1 commit