1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

4769 Commits

Author SHA1 Message Date
Richard M. Stallman
eed5698bea (do-auto-fill): Fill, don't fill, or fill-and-justify
depending on setting of justification text-property.  Respect
left-margin and right-margin text properties.
(open-line, indent-new-comment-line): Inherit when inserting.
(newline-and-indent, reindent-then-newline-and-indent): Doc fix.
1995-01-19 04:21:56 +00:00
Richard M. Stallman
0cb08f9838 (set-justification): New function.
(set-justification-{none,left,right,full,center}): New functions.
(fill-region-as-paragraph, fill-region, justify-current-line): New
arg NOSQUEEZE defeats normal removal of extra whitespace.
(fill-region-as-paragraph, fill-region)
(fill-nonuniform-paragraphs, fill-individual-paragraphs):
Arg JUSTIFY-FLAG (JUSTIFYP) renamed to JUSTIFY.
(fill-region-as-paragraph): Obey left-margin; fill-prefix starts
after left-margin.  Disable filling if JUSTIFY == none, but indent to
margin anyway.
Adaptive-fill removes text-props from fill-prefixes it finds.
Adaptive-fill no longer has to notice left-margin: std fill does that.
Use fill-column and canonically-space-region functions.
(canonically-space-region): New fn split from fill-region-as-paragraph.
(fill-region): New args NOSQUEEZE (as above) and TO-EOP.
(default-justification): New variable.
(current-left-margin, fill-column, justification): New functions.
(fill-paragraph): Use fill-region-as-paragraph when possible.
(justify-current-line): New arguments; different kinds of
justification handled.  Uses left-margin and fill-column functions.
1995-01-19 04:20:52 +00:00
Richard M. Stallman
106b6d0e36 (standard-indent): New variable.
(alter-text-property, current-left-margin, move-to-left-margin)
(delete-to-left-margin, set-left-margin, set-right-margin)
(increase-left-margin, decrease-left-margin, increase-right-margin)
(decrease-right-margin, indent-line-to): New functions.
(indent-to-left-margin): Use indent-line-to.  Don't delete or
insert anything unless necessary.
1995-01-19 04:15:32 +00:00
Richard M. Stallman
11fbdf1f6c (center-line): Use current-left-margin function, not variable. 1995-01-19 04:04:28 +00:00
Richard M. Stallman
a72632181c (completion-separator-self-insert-autofilling):
Don't check fill-column; do-auto-fill will do that.
1995-01-19 04:02:50 +00:00
Richard M. Stallman
650f194c5a (forward-paragraph): Fix end-of-buffer bug. 1995-01-19 04:02:06 +00:00
Richard M. Stallman
f5cb196278 (check-ispell-version): Use Fundamental mode in the temporary buffer. 1995-01-18 23:07:22 +00:00
Richard M. Stallman
346169bfdc (scribe-mode): Treat @: as a sentence end. 1995-01-18 22:12:32 +00:00
Richard M. Stallman
22e4e580bc Use byte-compile-dynamic. 1995-01-18 22:11:26 +00:00
Roland McGrath
8e8f2c4a3c (etags-file-of-tag): Use a regexp search to find the file name,
allowing it to contain any char but a newline.
1995-01-18 21:57:03 +00:00
Karl Heuer
21dd857809 (check-ispell-version): Force standard syntax table. 1995-01-18 20:00:08 +00:00
Karl Heuer
05aebd817d (remote-compile): Use new global remote-shell-program. 1995-01-18 19:47:52 +00:00
Karl Heuer
148685852b (rsh): Use new global remote-shell-program. 1995-01-18 19:47:32 +00:00
Karl Heuer
29f8388687 (ange-ftp-gateway-program, ange-ftp-shell-command): Use new global
remote-shell-program.
1995-01-18 19:46:22 +00:00
Karl Heuer
93a1812756 (remote-shell-program): New var. 1995-01-18 19:46:00 +00:00
Richard M. Stallman
9bb4544ba0 (gud-gdb-find-file): Propagate debug menu to found buffers.
(gud-dbx-find-file, gud-xdb-find-file, gud-sdb-find-file, gud-perldb-find-file):
Likewise.
(gud-menu-map): New variable.
(gud-mode): Use gud-menu-map and move the menu-setting outside.
1995-01-18 04:51:29 +00:00
Richard M. Stallman
e802811f1e (dbx): Fix missing cast of $curline for Irix.
(gud-irixdbx-marker-filter): Make $curline cast consistent with the others.
1995-01-17 22:31:45 +00:00
Richard M. Stallman
9f51be8988 (pascal-mode-map, pascal-outline-map):
C-c C-b now inserts block.  C-c C-d does goto-defun.
`#' calls on electric-pascal-hash.
(pascal-calculate-indent, pascal-indent-alist)
(electric-pascal-tab, pascal-indent-case):
Better handling of indent within case.  Support for CPP.
The `;' in the last statement of a subblock may be omitted.
(electric-pascal-hash): New function.
1995-01-17 20:53:31 +00:00
Simon Marshall
eb6c110ad4 Make sure the event read by comint-dynamic-list-completions isn't
something like a switch-frame event before running
mouse-choose-completion.
1995-01-17 10:33:24 +00:00
Richard M. Stallman
1908c56554 (command-line-1): Handle -f with kbd macro. 1995-01-17 02:33:49 +00:00
Karl Heuer
2b803765ef (calendar): Doc fix. 1995-01-16 22:59:42 +00:00
Karl Heuer
a171458a32 (standard-display-ascii): Doc fix. Allow use with X. 1995-01-16 22:57:31 +00:00
Karl Heuer
ab7748010f (iso-aggressive-german-trans-tab): Doc fix.
(iso-cvt-ffh, iso-cvt-wfh, iso-cvt-ash): Doc fix.
1995-01-16 22:48:03 +00:00
Roland McGrath
4db1f5aa7b (vc-do-command): Use set-buffer-modified-p instead of not-modified. 1995-01-15 11:00:38 +00:00
Roland McGrath
a641f9a11e (not-modified): Doc fix. 1995-01-15 10:59:20 +00:00
Roland McGrath
230c8b48c8 (etags-tags-completion-table): Don't let match string contain a \177. 1995-01-15 09:43:29 +00:00
Karl Heuer
48ce8399f8 (vc-directory): Prompt for a directory, not a file. 1995-01-14 03:10:53 +00:00
Richard M. Stallman
a37669ece7 (forward-paragraph): Notice use-hard-newlines value.
(looking-at-hard): New function.
(paragraph-start, paragraph-separate): Doc fix.
1995-01-13 08:44:43 +00:00
Richard M. Stallman
a098333dae (fill-region-as-paragraph): Don't modify newline
at end of paragraph, to make sure text-properties are preserved.
(fill-paragraph): Call fill-region, not fill-region-as-paragraph,
to avoid clobbering paragraph-internal hard-newlines.
(fill-region): If use-hard-newlines is on, divide into
"paragraphs" by breaking at every hard newline, temporarily
ignoring paragraph-start.
1995-01-13 08:44:26 +00:00
Richard M. Stallman
28191e20b4 (open-line, split-line, next-line): Use `newline'
function to insert newline so it will be marked hard if appropriate.
(indent-new-comment-line): Use `newline' function, unless called
with (new) argument.
(do-auto-fill): Call indent-new-comment-line with argument to
make newline soft.
1995-01-13 08:43:40 +00:00
Richard M. Stallman
e24af5f529 (list-buffers): Fix previous change. 1995-01-13 08:25:52 +00:00
Richard M. Stallman
84b2b0a7f2 Fix previous change. 1995-01-13 08:24:35 +00:00
Richard M. Stallman
0b03ce3a17 (list-buffers): New function.
(ctl-x-map): Define C-x C-b to list-buffers.
1995-01-13 08:14:25 +00:00
Karl Heuer
f545df9c63 (easy-menu-define): Doc fix. 1995-01-13 00:35:28 +00:00
Richard M. Stallman
ea9e39a024 (revert-buffer): Recompute buffer-file-truename. 1995-01-12 23:45:01 +00:00
Richard M. Stallman
73dae9a9d5 (indent-c-exp): Handle `{ if (x)\n foo;\n bar;' case. 1995-01-12 22:45:50 +00:00
Richard M. Stallman
1103950c98 (indent-c++-exp): Handle `{ if (x)\n foo;\n bar;' case. 1995-01-12 22:45:24 +00:00
Richard M. Stallman
eb650569ae (find-backup-file-name): Run a file name handler.
(backup-buffer): Do nothing if backup-info is nil.
1995-01-12 21:05:07 +00:00
Richard M. Stallman
dae0ae5d73 (ange-ftp-set-buffer-mode): Don't set make-backup-files.
(ange-ftp-real-find-backup-file-name): New function.
(ange-ftp-find-backup-file-name): New function.
Use it to handle find-backup-file-name.
1995-01-12 21:03:32 +00:00
Richard M. Stallman
dc3247b34d (mouse-select-buffer) Handle an aborted selection. 1995-01-12 06:59:56 +00:00
Richard M. Stallman
08b894ab8b (etags-goto-tag-location): Add 1 to char positions in TAGS. 1995-01-12 05:50:13 +00:00
Richard M. Stallman
6b410da764 (define-derived-mode): Doc fix. 1995-01-11 17:27:35 +00:00
Richard M. Stallman
e42a4b863a Put height and width from geometry parm into default-frame-alist. 1995-01-11 04:44:10 +00:00
Karl Heuer
a56687f1c0 (isearch-edit-string): Disable message logging.
(isearch-toggle-case-fold, isearch-message): Likewise.
1995-01-11 02:24:09 +00:00
Richard M. Stallman
bc9c99bce3 (dired-insert-directory): Don't call expand-file-name
when dir-or-list is a list.
1995-01-11 01:28:22 +00:00
Noah Friedman
606679174a rlogin-tab-or-complete: insert tab in buffer, don't send directly to process.
rlogin, rlogin-directory-tracking-mode: use rlogin-remote-user,
not rlogin-user.
1995-01-10 23:29:27 +00:00
Richard M. Stallman
00b05a4299 (show-paren-command-hook): Don't alter paren-mismatch face
if make-face gives it some contents.
1995-01-10 17:44:28 +00:00
Richard M. Stallman
93d6fcef18 (face-nontrivial-p): New function. 1995-01-10 17:43:59 +00:00
Simon Marshall
e9933cb15c Doc fixes (simon's email address and shell-mode) 1995-01-10 12:08:21 +00:00
Richard M. Stallman
de52827f3f (face-try-color-list): Treat `underline' as valid. 1995-01-10 06:52:53 +00:00