Mercurial > emacs
annotate src/s/ptx4-2.h @ 56838:c1345747d0db
(cua--rectangle-padding): Remove.
(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.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 29 Aug 2004 20:57:19 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 |
rev | line source |
---|---|
22944 | 1 #include "ptx4.h" |
2 | |
3 /* Gelling Kevan (gellingk.eurostar@ems.rail.co.uk) | |
4 says that PTX 4.2.3 needs this version. */ | |
5 #undef SETUP_SLAVE_PTY | |
6 #define SETUP_SLAVE_PTY \ | |
7 if (ioctl (xforkin, I_PUSH, "ptem") == -1) \ | |
8 fatal ("ioctl I_PUSH ptem", errno); \ | |
9 if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ | |
10 fatal ("ioctl I_PUSH ldterm", errno); | |
11 | |
12 /* Gelling Kevan (gellingk.eurostar@ems.rail.co.uk) | |
13 says that gmalloc.c needs _POSIX_SOURCE. | |
14 This defines _POSIX_SOURCE only for gmalloc.c. */ | |
15 #ifdef _MALLOC_INTERNAL | |
16 #define _POSIX_SOURCE | |
17 #endif | |
52401 | 18 |
19 /* arch-tag: 10a9fab3-9e84-4e9e-9535-6ff42baf9e77 | |
20 (do not change this comment) */ |