| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cua-mode): Remove :version keyword.
|
| |
|
|
|
|
| |
inhibit-field-text-motion to t so rectangles work in comint buffers.
|
|
|
|
| |
Use zero width overlays when necessary.
|
|
|
|
|
|
|
| |
highlight overlays; allow using RET when cursor is over a button.
(cua--highlight-rectangle): Use it.
(cua--rectangle-set-corners): Don't move backwards at eol.
(cua--forward-line): Don't move into void after eob.
|
|
|
|
|
|
|
|
|
|
| |
point is set (and displayed) inside rectangle.
(cua--rectangle-operation): Fix for highlight of empty lines.
(cua--highlight-rectangle): Fix highlight for tabs.
Position cursor at left/right edge of rectangle using new `cursor'
property on overlay strings.
(cua--indent-rectangle): Don't tabify.
(cua-rotate-rectangle): Ignore that point has moved.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
automatic rectangle padding feature; replace by non-destructive
virtual rectangle edges feature.
(cua-virtual-rectangle-edges): New defcustom.
(cua-auto-tabify-rectangles): New defcustom.
(cua-paste): If paste into a marked rectangle, insert rectangle at
current column, even if virtual; also paste exactly as many lines
as has been marked (ignore additional lines or add empty lines),
but paste whole source if only one line is marked.
(cua--update-indications): No longer use overwrite-cursor to
indicate rectangle padding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(cua--rectangle-virtual-edges): New defun.
(cua--rectangle-get-corners): Remove optional PAD arg.
(cua--rectangle-set-corners): Never do padding.
(cua--forward-line): Remove optional PAD arg. Simplify.
(cua-resize-rectangle-right, cua-resize-rectangle-left)
(cua-resize-rectangle-down, cua-resize-rectangle-up):
(cua-resize-rectangle-bot, cua-resize-rectangle-top)
(cua-resize-rectangle-page-up, cua-resize-rectangle-page-down)
(cua--rectangle-move): Never do padding. Simplify.
(cua--tabify-start): New defun.
(cua--rectangle-operation): Add tabify arg. All callers changed.
(cua--pad-rectangle): Remove.
(cua--delete-rectangle): Handle delete with virtual edges.
(cua--extract-rectangle): Add spaces if rectangle has virtual edges.
(cua--insert-rectangle): Handle insert at virtual column.
Perform auto-tabify if necessary.
(cua--activate-rectangle): Remove optional FORCE arg.
Never do padding. Simplify.
(cua--highlight-rectangle): Enhance for virtual edges.
(cua-toggle-rectangle-padding): Remove command.
(cua-toggle-rectangle-virtual-edges): New command.
(cua-sequence-rectangle): Add optional TABIFY arg. Callers changed.
(cua--rectangle-post-command): Don't force rectangle padding.
(cua--init-rectangles): Bind M-p to cua-toggle-rectangle-virtual-edges.
|
|
|
|
|
|
|
|
|
| |
Init to beginning-of-buffer and end-of-buffer.
(cua--undo-push-mark): New defvar.
(cua--pre-command-handler): Set inhibit-mark-movement if mark is
already active and command is in cua--preserve-mark-commands.
Also fix check for shift modifier on non-window systems.
(cua--post-command-handler): Clear inhibit-mark-movement if set.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
based on patch from Michael Mauger.
(cua-normal-cursor-color, cua-read-only-cursor-color)
(cua-overwrite-cursor-color, cua-global-mark-cursor-color):
Customization cursor type and/or cursor color.
(cua--update-indications): Handle cursor type changes.
(cua-mode): Update cursor indications if enabled.
|
|
|
|
|
|
| |
(cua-upcase-rectangle, cua-downcase-rectangle): Use it.
(cua-upcase-initials-rectangle, cua-capitalize-rectangle):
New commands (suggested by Jordan Breeding)..
|
|
|
|
|
|
| |
Add cua-scroll-up and cua-scroll-down.
(cua-scroll-up, cua-scroll-down): New commands.
(cua--init-keymaps): Remap scroll-up and scroll-down.
|
|
|
|
| |
(cua-overwrite-cursor-color, cua-global-mark-cursor-color): Doc fix.
|
| |
|
|
|
|
| |
argument.
|
|
|
|
|
|
|
|
|
| |
(vi-repeat-last-search): Likewise.
(vi-reverse-last-search): Likewise.
(vi-goto-mark): Likewise.
(vi-reverse-last-find-char): Likewise.
(vi-repeat-last-find-char): Likewise.
(vi-locate-def): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(global-map): Don't bind C-z.
(vip-setup): New function to rebind C-x 7 and C-z.
|
|
|
|
| |
(cua-global-mark-face): Fix face format.
|
|
|
|
| |
`eval-after-load'.
|
|
|
|
| |
pop-global-mark without C-x prefix. Fix doc.
|
| |
|
|
|
|
|
| |
Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
C-u C-u C-SPC now unconditionally sets the mark.
|
|
|
|
|
|
|
|
|
| |
environment variables, instead of modifying process-environment
directly. The previous version let-bound process-environment --
the let-binding is skipped for GROFF_NO_SGR because there is
already a let-binding in effect in some outer scope.
* emulation/crisp.el (top-level): Interoperate with cua.
|
| |
|
| |
|
|
|
|
|
| |
to use older versions of CUA-mode, rather than the version
distributed with Emacs. Use autoload cookies and eval-after-load.
|
| |
|
|
|
|
|
|
| |
bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
only needed when the region is active. This also makes the output
from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
|
|
|
|
| |
handling of delete-selection properties.
|
| |
|
| |
|
| |
|
|
|
|
| |
initialization to make "Erase Customization" work.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ediff-hooks.el: Put back the autoloads (for compatibility with XEmacs).
* ediff-init.el: Use defalias instead of fset.
* ediff-util.el: Use defalias instead of fset.
* viper-util.el (viper-chars-in-region): simplification.
* viper.el (viper-emacs-state-mode-list): added modes.
|
|
|
|
|
|
| |
(keypad-numlock-setup, keypad-numlock-shifted-setup):
Change `Remove Binding' option to `Unspecified/User-defined'.
(keypad-setup): Enhance explanation of setup type `none'.
|
| |
|
|
|
|
|
| |
FCT if current column is outside rectangle.
(cua--delete-rectangle): Do nothing if zero width or out of bounds.
|
|
|
|
| |
(tpu-delete-to-bol): Likewise.
|
| |
|
| |
|
| |
|
|
|
|
| |
work again. Corrected error in check for C-u initiated prefix.
|