1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 16:41:17 -08:00
Commit graph

5847 commits

Author SHA1 Message Date
Karl Heuer
cd76025c78 (sh-newline-and-indent): Don't interpret prefix arg
since `newline-and-indent' doesn't either.  Don't turn a trailing
quoted tab into a space.
(sh-mode): Use new `skeleton-newline-indent-rigidly'.
(sh-set-shell): Make maximum font-locking also hightlight keywords
after ``' and `!'.  (The latter is for ksh '93 but should't hurt other
shells.)
1995-08-19 00:30:56 +00:00
Karl Heuer
4bfd70e96b (skeleton-newline-indent-rigidly): New variable.
(skeleton-internal-1): Use it for indenting after \n because previous
behaviour was only useful for `sh-script.el' and old `ada.el'.  Other
modes now get their own indentation.
(skeleton, skeleton-modified, skeleton-point, skeleton-regions): `New'
variables for passing between the mutually recursive functions of
the skeleton engine.  Introduced to remove compiler warnings.
(skeleton-proxy): New argument `str' to make this settable when calling
a skeleton as a function.
(skeleton-insert): New argument `str' to pass down.  Element `\n'
now usually indents according to mode.  Subskeletons may also have
a list of strings as iterator.  Earlier modification also removed
meaning of `quit' -- I did not put it back in since it's useless.
When quitting out of a subskeleton while still wrapping around text
don't duplicate first line of that text.
(skeleton-end-hook): New hook useful say for modes that leave a `;' on
an empty line to indent right and then want to clean it up when doing
a skeleton there.
1995-08-19 00:30:38 +00:00
André Spiegel
61dee1e7cf (vc-next-action-on-file): Changed doc string, CVS case.
(vc-backend-checkin): Clear master properties before doing the
check-in.  In the CVS case, catch error and display an appropriate
message in the echo area.
(vc-backend-revert): Clear master properties, because some might get
outdated by the operation.
(vc-backend-merge-news): Scan the output of "cvs update" and find out
whether conflicts have occurred.
(vc-finish-logentry): Delete the *VC-log* buffer *before* doing the
actual check-in. That leads to a better display in case the check-in
fails.
(vc-latest-on-branch-p): Defined it for CVS in the obvious way.
(vc-next-action-on-file): Removed special CVS cases. At this level,
CVS is now mostly handled like the other backends.
(vc-backend-checkout): CVS case: Clear sticky tag as default when
doing a verbose checkout. (This used to be done in
vc-next-action-on-file.)
1995-08-18 20:29:14 +00:00
André Spiegel
04446ed0c2 (vc-fetch-master-properties): Recognize cvs status "Unresolved Conflict".
(vc-locking-user): Count cvs status `unresolved-conflict' as "locked".
(vc-checkout-model): New property and access function (still simplistic).
(vc-after-save-hook): New function.
(vc-mode-line): When the file is locked by somebody else, make the
buffer read-only.  (Formerly this was only done for root.)  Don't
write-protect the buffer if the file is unlocked.  Instead, install
vc-after-save-hook, which "locks" the file when modifications are
saved.
1995-08-18 20:22:53 +00:00
Richard M. Stallman
105ad0da85 (pascal-mode): Set comment-start.
(pascal-toggle-completions): Doc fix.
1995-08-17 22:08:36 +00:00
Karl Heuer
6267bd25bc (hilit-submit-feedback): New bug-reporting address. 1995-08-17 19:40:54 +00:00
Karl Heuer
2b9118484e Update address in comment. 1995-08-17 19:37:52 +00:00
Richard M. Stallman
88aabab394 (rmail-new-summary): Enable the Input/output menu. 1995-08-17 16:51:57 +00:00
André Spiegel
e163b283fe (vc-next-action-on-file): Moved the setting of the default branch to
vc-backend-checkout, where it belongs.
(vc-backend-checkout): If an explicit version was specified, adjust
the default branch accordingly.
1995-08-17 14:10:09 +00:00
André Spiegel
7d88be5279 Changed references to vc-top-version into vc-master-workfile-version. 1995-08-17 13:50:33 +00:00
André Spiegel
af5e65b996 (vc-top-version): Renamed to vc-master-workfile-version. Updated all
references.
1995-08-17 13:29:31 +00:00
André Spiegel
9341ff29bc (vc-next-action-on-file): Query when trying to lock non-latest
version.
1995-08-17 13:08:36 +00:00
André Spiegel
c8de1d9112 (vc-revert-buffer1): Split part of the function into vc-buffer-context
and vc-restore-buffer-context, so we can use it also in other
circumstances.
(vc-buffer-context, vc-restore-buffer-context): New functions.
(vc-clear-headers): New function, uses the above.
(vc-cancel-version): When `norevert', locks the most recent remaining
version.  Also, refuse to work on anything but the latest version of
a branch.  Removed the check whether the version is the user's,
because that is difficult to decide, now that multiple branches are
possible.
(vc-latest-on-branch-p): New function.
(vc-head-version): New access function to the already existing
property.
(vc-trunk-p, vc-branch-part): Functions moved before first use.
1995-08-17 12:40:03 +00:00
Richard M. Stallman
0671e80b5e (show-paren-command-hook): Do nothing if have unread events. 1995-08-16 15:03:59 +00:00
Richard M. Stallman
14a9bcda67 (inferior-lisp): Use pop-to-buffer.
Add *inferior-lisp* to same-window-buffer-names.
1995-08-16 14:41:11 +00:00
Richard M. Stallman
349a5b097b (run-scheme): Use pop-to-buffer.
Add *scheme* to same-window-buffer-names.
1995-08-16 14:39:29 +00:00
Richard M. Stallman
f0e30fe838 (run-scheme): Use pop-to-buffer. 1995-08-16 14:39:12 +00:00
Karl Heuer
81ed2d75e9 (sh-mode-map): Use new name skeleton-pair-insert-maybe.
(sh-mode): Use new names skeleton-pair-alist, skeleton-pair-filter.
1995-08-15 20:05:12 +00:00
Karl Heuer
225f6185df (sh-test): New variable.
(sh-if, sh-until, sh-while): Use it.
(sh-while-getopts): Handle csh passably well.
(sh-font-lock-keywords): Use `font-lock-variable-name-face'.
(sh-set-shell): Respect `font-lock-maximum-decoration'.
1995-08-15 19:50:12 +00:00
Karl Heuer
773500abf6 (skeleton-pair-insert-maybe): Plain insert in Ovwrt mode
(skeleton-insert): If skeleton doesn't fit in window, put beginning
at top before going to _ point.
(skeleton-internal-list): Rewritten so that resume: sections pertain
only to inferior skeletons and make str available there
(skeleton-read): Don't quit and remove partial skeleton when empty
string entered for outer iterator.  Added implicit argument `input'.
(define-skeleton, skeleton-insert, skeleton-internal-list): Use `x
rather than backquote's (` x) or own (list 'x)
1995-08-15 19:49:46 +00:00
Richard M. Stallman
4db6622979 Comment change. 1995-08-15 12:31:33 +00:00
Richard M. Stallman
dcb38be88e (sc-attribs-extract-namestring): If name has <...>,
treat everything before that as the full name.
1995-08-15 12:30:59 +00:00
Karl Heuer
73479d0224 *** empty log message *** 1995-08-15 01:50:33 +00:00
Karl Heuer
bab0c3c1bf Rewrite as a minor mode. 1995-08-15 01:49:17 +00:00
Karl Heuer
27a0a490a8 (vip-set-hooks): Use view-mode-hook, not view-hook. 1995-08-14 21:56:42 +00:00
Richard M. Stallman
8909596294 (basic-save-buffer-1): Pass new arg to write-region. 1995-08-14 17:24:21 +00:00
Richard M. Stallman
40dfe94dc5 (insert-file-contents-literally): New function.
(find-file-noselect): Use it if new optional argument `rawfile' is non-nil.
1995-08-14 16:05:46 +00:00
Richard M. Stallman
e6b75e30dc (command-line-1): Add option --eval to evalute an
expression on the command line and print the result.
1995-08-14 16:05:12 +00:00
Richard M. Stallman
4fd3a710d0 (forms-check-number-of-fields): New vbl.
(forms-mode): Don't issue warning if vbl says not to.
1995-08-14 06:45:37 +00:00
Richard M. Stallman
945e196506 (recover-file): It's ok if the visited file doesn't exist.
(recover-session-finish): Compute "file name" from autosave file
if no visited file.
1995-08-13 16:48:13 +00:00
Richard M. Stallman
c2ef83b424 (mouse-drag-region): Unread the up-event rather than execute it here. 1995-08-13 15:46:10 +00:00
Richard M. Stallman
0b40717e5b (rmail-convert-file): Look back for ^_ only at bol. 1995-08-12 09:23:54 +00:00
Richard M. Stallman
6db3a963ab (shell-command-on-region): Don't examine order of
point and mark; use order of START and END instead.
Interactively pass point and mark, not region-beg and region-end.
1995-08-12 09:22:04 +00:00
Simon Marshall
3d42d54264 Insert missing quote in help-font-lock-keywords. 1995-08-11 08:52:42 +00:00
Richard M. Stallman
d94eb6ebc8 (isearch-other-meta-char): Avoid bug checking whether
a key is defined in the function key map.
Call cancel-kbd-macro-events.
1995-08-10 23:19:22 +00:00
Richard M. Stallman
f1f32df9a9 (byte-compile-insert-header): Use 19.29, not 19.28.90
as limit for where dynamic docstrings are allowed.

(byte-compile-insert-header): New args inbuffer and
outbuffer.  Test byte-compile-dynamic-docstrings in the initially
current buffer.
(byte-compile-from-buffer): Add new args to byte-compile-insert-header.
1995-08-10 22:44:21 +00:00
Richard M. Stallman
08c229837b (server-buffer-done): Pause between client commands,
but not after the last one.
1995-08-10 22:07:41 +00:00
Richard M. Stallman
8cc8dc43f7 (vc-dired-reformat-line): Display eight character user names correctly. 1995-08-10 19:46:16 +00:00
Richard M. Stallman
314001b564 Comment change. 1995-08-10 18:55:44 +00:00
Richard M. Stallman
7204084ebb Comment change. 1995-08-10 18:38:17 +00:00
Simon Marshall
507fb916e9 Added Font Lock mode support. 1995-08-10 15:24:09 +00:00
Simon Marshall
32fad95674 Rewrite texinfo-font-lock-keywords; don't fontify syntactically. 1995-08-10 15:13:43 +00:00
Simon Marshall
d232ea9da0 Tweak fortran-font-lock-keywords-1. 1995-08-10 14:04:25 +00:00
Simon Marshall
d46c21ecae Functionality for font-lock-beginning-of-syntax-function to be used by font-lock-fontify-region when calculating the cache state. Also wrap value of buffer-file-truename to guard against clash detection. Also add scheme-font-lock-keywords. 1995-08-10 13:57:18 +00:00
Richard M. Stallman
4a789a5143 (interpreter-mode-alist): Delete autoload cookie. 1995-08-09 22:42:34 +00:00
Francesco Potortì
2f2228c0cc * man.el (Man-translate-references): Anchor the regexps. 1995-08-09 16:08:55 +00:00
Richard M. Stallman
fab2e906ba (vc-revert-buffer): In a dedicated solitary window,
make the frame invisible instead of trying to delete window.
1995-08-08 21:18:36 +00:00
Richard M. Stallman
4669fb3c76 (forward-paragraph): Don't overlook a paragraph-start
line just because it ends at eob.
1995-08-08 08:12:07 +00:00
Richard M. Stallman
3e1fb00f0b (dired-mode-map): Set up the map completely
before storing it into dired-mode-map.
1995-08-08 05:16:23 +00:00
Richard M. Stallman
a7e9dc1d14 (command-line-1): Fix previous change. 1995-08-07 17:50:44 +00:00