1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 21:20:44 -08:00
Commit graph

6838 commits

Author SHA1 Message Date
Richard M. Stallman
d99671d7b9 (grep-null-device): Set to "NUL".
(grep-regexp-alist): Match entries with drive letters.
(save-to-unix-hook,revert-from-unix-hook): Defined.
(using-unix-filesystems): Defined.
(window-frame): Unaliased.
1995-06-16 01:25:53 +00:00
Richard M. Stallman
35d6dd87fe (path-separator, grep-null-device, grep-regexp-alist):
Set them, as in winnt.el.
1995-06-16 01:24:43 +00:00
Richard M. Stallman
1efcbf46bc (vc-fetch-master-properties): For RCS file,
don't look for vc-latest-version and vc-your-latest-version here.
Read only through ^locks unless we need to find the tip of a branch.
(vc-consult-rcs-headers): Use non-regexp search to find the headers.
(vc-latest-version, vc-your-latest-version): Use vc-fetch-properties.
(vc-fetch-properties): New function.
1995-06-16 01:04:27 +00:00
Richard M. Stallman
02d383ebf9 The RCS status is now found by reading the
master file directly, instead of using rlog.  The properties
retrieved from the master file are kept separately.  The two
main properties, `vc-workfile-version' and `vc-locking-user',
are inferred from those master file properties if the
information cannot be found elsehow.  All properties are
consistently cached now.

(vc-master-info, vc-log-info, vc-fetch-properties): functions
removed.  Their job is now done by `vc-fetch-master-properties'
and `vc-insert-file'.

(vc-fetch-master-properties):  new function, replaces
vc-fetch-properties.  Retrieves all the properties that can be
found in the master file, for all three backends (calls
`cvs status' in the CVS case).

(vc-insert-file):  new function.  Inserts an arbitrary file
into the current buffer, optionally chunkwise, until a certain
regexp shows up.

(vc-parse-locks):  new function.  Translates SCCS or RCS lock
lists, as found in the master files, into lisp lists.  Sets
the new property `vc-master-locks'.

(vc-locked-version):  property removed.  Was unnecessary, and
only referenced in vc-hooks.el.
(vc-head-version, vc-default-branch, vc-master-locks):
new properties.

(vc-top-version):  new name for the old property
`vc-branch-version'.  ("top-version" is better because it
might also be the RCS "head" if there is no default branch.)

(vc-master-locking-user):  replaces `vc-true-locking-user'.
Scans the new `vc-master-locks' property, yielding the master
file's idea of who is locking the current workfile version.

(vc-locking-user):  slightly changed to use the new properties.
Changed the actual property value for an unlocked file to
'none.  This is to distinguish it from an unknown locking
state, which is represented by nil.  The function vc-locking-user
returns nil if the property is 'none, to make it compatible with
the rest of VC.

(vc-consult-rcs-headers, vc-master-locking-user):  adpated to
the new 'none-value of vc-locking-user.

(vc-consult-rcs-headers): fixed bug that prevented
(not vc-consult-headers) from working

(vc-file-not-found-hook): set the default-directory of the new
buffer before check-out. (Otherwise, setting vc-keep-workfiles
to nil doesn't work.)

(vc-occurences, vc-branch-p): functions removed (no longer needed)

Reordered some defuns so they are grouped in a logical way.
1995-06-15 23:06:45 +00:00
Karl Heuer
7c938215cd Update GPL to version 2. 1995-06-15 20:42:24 +00:00
Richard M. Stallman
bd7602f2ae (list-buffers-noselect): Don't let space after buf name
inherit the text props from it.
1995-06-15 20:07:56 +00:00
Simon Marshall
1ce7f68768 Corrected the comment from last change. 1995-06-15 07:04:00 +00:00
Karl Heuer
e8d1a37725 (universal-argument, describe-arg): Restore Lisp code,
undoing Feb 28 change.
(prefix-arg-internal, digit-argument, negative-argument): Likewise.
1995-06-14 22:30:41 +00:00
Richard M. Stallman
3b8c40f5ba Various optimizations. The main one is to optimize for
simple output at the end of the buffer, with no paging, and in that
case to defer scrolling while we can.
(term-emulate-terminal):  Don't call term-handle-scroll in
simple cases unless we are either paging or term-scroll-with-delete.
(term-down):  Likewise.
(term-handle-scroll):  Modify accordingly.
(term-emulate-terminal):  Avoid deleting old text in common case.
Optimize the simple case of CRLF when we're at buffer end.
Handle deferred scroll when done processing output.
(term-handle-deferred-scroll):  New function.
(term-down):  Simplify - no longer take RIGHT argument.  Tune.
(term-goto):  Use term-move-columns to compensate for the above.

(term-escape-char, term-set-escape-char):  Add doc-string.
(term-mouse-paste):  Add xemacs support.

Various speed enhencements:
(term-handle-scroll):  Don't clear term-current-row; maybe adjust it.
(term-down):  Don't call term-adjust-current-row-cache if we've
done term-handle-scroll.
(term-emulate-terminal):  Don't call term-adjust-current-row-cache.
(term-emulate-terminal):  For TAB, don't nil term-start-line-column.
(term-goto):  Possible optimization.
1995-06-14 22:30:16 +00:00
Richard M. Stallman
06d7dff28f (frame-notice-user-settings): When making a minibufferless
frame, don't copy `name' parm explicitly unless it was explicit before.
1995-06-14 16:16:04 +00:00
Roland McGrath
cd494de497 (compilation-find-file): If FILENAME is absolute, apply
abbreviate-file-name to it and then use its directory part as the first
search path element, searching for its nondirectory part.
Fix prompting code not to use a free variable.
(compilation-parse-errors, compile-abbreviate-directory): Use
abbreviate-file-name on directories.
1995-06-14 15:47:10 +00:00
Simon Marshall
4b619ecad7 Put mark-active for menu-enable property on eval-region, comment-region, and indent-region symbols. 1995-06-14 14:58:36 +00:00
Richard M. Stallman
1458efa037 (shell-mode): Make shell-directory-tracker a hook function locally only. 1995-06-14 12:05:55 +00:00
Richard M. Stallman
b35732e1e2 Delete the Emacs version error check. 1995-06-14 12:05:23 +00:00
Richard M. Stallman
a15a76f766 (dired-change-marks): If OLD is a space, don't act on non-file lines. 1995-06-14 11:46:56 +00:00
Richard M. Stallman
7d66500869 (vc-backend-checkin): Provide an explicit string saying
the log message is empty instead of providing it as empty.
Always use -m option for ci.
1995-06-14 11:16:17 +00:00
Karl Heuer
155fd02785 (comint-mode): Use make-local-hook.
(comint-send-input, comint-output-filter): Use run-hook-with-args.
(comint-dynamic-complete): Use run-hook-with-args-until-success.
1995-06-13 23:31:17 +00:00
Karl Heuer
c808577499 (vip-over-whitespace-line): new function. 1995-06-13 21:20:59 +00:00
Karl Heuer
15f8998b59 (vip-change-state-to-vi): bug fix. 1995-06-13 21:20:36 +00:00
Simon Marshall
cc37a58ceb Test for "" too; let it go to expand-file-name if it is equal. 1995-06-13 08:27:11 +00:00
Simon Marshall
525c5be7dd check comint-input-ring-file-name for the empty string too. 1995-06-13 08:16:08 +00:00
Karl Heuer
0d31efcd97 (help-menu): Symbol renamed from `help'. 1995-06-13 03:29:47 +00:00
Karl Heuer
68d30f2b1d (rmail-search-backwards): Default count is 1, not -1. 1995-06-13 02:17:40 +00:00
Karl Heuer
7f77f3c86d (save-selected-window): New macro. 1995-06-11 19:27:57 +00:00
Karl Heuer
313b841c1e (x-create-frame-with-faces): Don't use initial-frame-alist
when looking for the X resource name.
Copy parameters from default-frame-alist, before the geometry
specs from the X resource database.
1995-06-09 15:42:08 +00:00
Karl Heuer
c05533274c (x-create-frame-with-faces): Don't look for geometry
resource if name is nil.
1995-06-09 15:24:50 +00:00
Karl Heuer
13340e24bd Converted xemacs *screen* nomenclature to *frame*.
Incorporated overlay strings. Ediff no longer runs under emacs
19.28 and earlier and XEmacs 19.11 and earlier.
1995-06-09 14:38:56 +00:00
Karl Heuer
77af52939e (gnus-cancel-news): Use `buffer-disable-undo'.
(gnus-inews-article): Ditto.
(gnus-inews-insert-signature): Use the recommended
hyphen-hyphen-space as the signature delimiter.
1995-06-09 14:35:26 +00:00
Karl Heuer
92abb02b9b Initial revision 1995-06-09 02:31:33 +00:00
Karl Heuer
117aaf6057 (prompt-for-change-log-name): Handle the case where
a directory name is specified gracefully.
1995-06-09 01:29:21 +00:00
Karl Heuer
ed690657f2 (Info-mode): Doco fix.
(Info-next-preorder): Renamed from Info-next-preorder-1.
Old definition deleted.
After moving up, go to end of node.
(Info-last-preorder): If no menu, try the previous node.
After going down thru menu or to previous, position at end
of node and recenter.
After moving up, position at start of menu.
(Info-follow-nearest-node, Info-mouse-follow-nearest-node):
Use Info-next-preorder.
(Info-scroll-up, Info-scroll-down): Doc fix.
1995-06-09 01:26:00 +00:00
Karl Heuer
1628adc6cd (report-emacs-bug-info): New command.
(report-emacs-bug): Put it in local map.  Display a message
in another window.
1995-06-09 01:24:47 +00:00
Karl Heuer
ce6af52bd2 (format-find-file, format-insert-file): New functions. 1995-06-09 01:23:01 +00:00
Karl Heuer
d144b02862 (vc-backend-checkin): Handle RCS `co'-output in the event
that a check-in only results in reverting to the previous version.
Also be more robust if the new version number cannot be told from
what `co' says.
1995-06-09 01:21:18 +00:00
Karl Heuer
f1b82fc8cf (vc-register): Check for a visited file first thing. 1995-06-09 01:17:59 +00:00
Karl Heuer
4b7271c1a1 (file-precious-flag): Doc clarification. 1995-06-09 01:00:42 +00:00
Karl Heuer
546fe08580 Changed vip-*-frame-* to *-frame-*, incorporated overlay strings,
unread-command-events, removed support for emacs versions 19.28 and
xemacs 19.11 and earlier.
1995-06-09 00:12:29 +00:00
Karl Heuer
75551c46fb (vip-event-key): now handles keys 128--255 as meta-chars.
Changed vip-*-frame-* to *-frame-*, incorporated overlay strings,
unread-command-events, removed support for emacs versions 19.28 and
xemacs 19.11 and earlier.
1995-06-09 00:11:53 +00:00
Karl Heuer
8f2685cb05 Fixed problems with yanking/deleting buffers.
Changed vip-*-frame-* to *-frame-*, incorporated overlay strings,
unread-command-events, removed support for emacs versions 19.28 and
xemacs 19.11 and earlier.
1995-06-09 00:11:23 +00:00
Karl Heuer
4af0c23b9f (vip-envelop-ESC-key): if an ESC-sequence translates
into a function key, pretend that this key was the last command event.

(vip-put-back,vip-Put-back): now emulate Vi's behavior
more closely.

(vip-line): no longer not bombs out.
(vip-exec-shift) now preserves the point.

Fixed the behavior of the Vi commands M, L, G, yw, dg, etc.

Changed vip-*-frame-* to *-frame-*, incorporated overlay strings,
unread-command-events, removed support for emacs versions 19.28 and
xemacs 19.11 and earlier.
1995-06-09 00:09:26 +00:00
Roland McGrath
933fb95777 (map-y-or-n-p): Don't eval return value of prompter function. 1995-06-08 16:48:40 +00:00
Simon Marshall
7ac268120e Put comments first in texinfo-font-lock-keywords. 1995-06-08 14:29:13 +00:00
Roland McGrath
965f7ac9c1 (rlogin): If optional second arg is buffer or string, use that as name. 1995-06-08 13:03:15 +00:00
Roland McGrath
2b1ffa3419 (gud-common-init): Call the MASSAGE-ARGS function even if FILE is nil. 1995-06-07 22:07:53 +00:00
Karl Heuer
e731045a34 (query-replace-map): Bind f1 and help. 1995-06-07 20:54:21 +00:00
Karl Heuer
42e636f040 (read-quoted-char): Turn on help-form and turn off help-char. 1995-06-07 20:53:07 +00:00
Karl Heuer
f7aabd88d8 (vc-register): Clean error message if no visited file. 1995-06-07 20:50:55 +00:00
Karl Heuer
c6431f12aa (isearch-other-meta-char): Try downshifting
shifted control characters.
1995-06-07 20:48:53 +00:00
Karl Heuer
560f4415ad (file-precious-flag): Doc fix. 1995-06-07 20:45:11 +00:00
Karl Heuer
573228ae6c Delete version number.
(s-region-bind): Doc fix.
(s-region-move): Split into s-region-move and s-region-move-p1.
(s-region-move-p2): New function.
(s-region-move): Bind this-command.  Bind keys to s-region-move-p1
or s-region-move-p2 as appropriate.
1995-06-07 18:58:06 +00:00