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

2465 commits

Author SHA1 Message Date
Paul Eggert
deb9ebc6cb (vc-find-binary): Fix bug; it always claimed success. 1993-09-27 04:36:31 +00:00
Richard M. Stallman
2cc27dd3d2 Version 2.3.
Documentation: `forms-forms-scroll' and `forms-forms-jump'
now default to nil.
`forms-new-record-filter' and `forms-modified-record-filter'
cannot be redefined as functions.
Commands and keymaps are changed.
Add function key defs.
(forms-version): Docstring includes full RCS id.
(forms-forms-scroll): Defaults to nil.
(forms-forms-jump): Defaults to nil.
(forms-mode-edit-map, forms-mode-ro-map): Additional keymaps
for edit mode and read-only mode.
(forms--new-record-filter, forms--modified-record-filter): Deleted.
(forms-mode): Docstring now includes the key bindings, since
both edit mode and read-only mode must be supported.
Changed `forms-new-record-filter' and `forms-modified-record-filter'
semantics: the variable must point to a function and may
not be defined as a function anymore.
Use three keymaps: `forms-mode-map' (C-c commands),
`forms-mode-edit-map' (normal mode) and `forms-mode-ro-map'
(read-only mode). The maps are not buffer local.
Changed the text of error messages to be more descriptive, and
onsistent with the documentation.
Moved setting up write-file-hooks and revert-buffer-function
to function `forms--change-commands'.
(forms--process-format-list): Changed error messages to be
more descriptive.
(forms--set-keymaps): Setup the three keymaps.
(forms--mode-commands): Use new command key bindings.
(forms--mode-commands1): New helper function for
`forms--mode-commands'.
(forms--change-commands): Handle setup of
local-write-file-hooks and revert-buffer-function.
(forms--help): Show new command bindings.
(forms--show-record): Replaced `forms--modified-record-filter' by
`forms-modified-record-filter'.
(forms-jump-record): Changed error message.
(forms-toggle-read-only): New function, replaces
`forms-view-mode' and `forms-edit-mode'.
(forms-view-mode, forms-edit-mode): Deleted.
(forms-insert-record): Replaced `forms--new-record-filter' by
`forms-new-record-filter'.
(forms-insert-record, forms-delete-record): Disallow in read-only mode.
(forms-prev-field): New function.
1993-09-27 02:19:46 +00:00
Richard M. Stallman
8dff74b7f6 (disassemble-internal): Allow a call to byte-code as argument. 1993-09-27 01:36:27 +00:00
Richard M. Stallman
d89a4a47bf (mouse-delete-max-match): New function.
(mouse-choose-completion): Use that.  Now supports buffers
other than minibuffer.

(mouse-drag-region): Put the text on the kill ring.
Don't set mark if region is empty.
(mouse-yank-at-click): Set this-command.
(mouse-start-end): Fix double-click-on-closeparen case.
(mouse-save-then-kill): When used repeatedly at different places,
alter the nearer end of the region.  This applies regardless of how
the previous selection was made.
(mouse-drag-secondary, mouse-secondary-save-then-kill):
Rewrite for xterm-style dragging and extending.
1993-09-27 01:02:43 +00:00
Richard M. Stallman
3ba7a8daca (ispell-message): Handle cited messages. 1993-09-24 20:02:03 +00:00
Richard M. Stallman
699213bcf1 (other-frame): Warp the mouse so that the other
frame actually stays selected.
1993-09-24 04:10:11 +00:00
Brian Fox
4805f679cd (vc-do-command): Remove debugging output. Use (forward-line -1) instead
of (previous-line 1).
(vc-print-log): Delete extraneous lines of RCS output if present.
1993-09-21 07:51:53 +00:00
Brian Fox
90a4435136 (texinfo-format-region texinfo-format-buffer): Add ###autoload cookies.
(batch-texinfo-format): Use `buffer-disable-undo' instead of obsolete
function `buffer-flush-undo'.
1993-09-21 07:50:14 +00:00
Brian Fox
bd2f232330 (slitex-mode): Add ###autoload magic cookie. 1993-09-21 07:48:37 +00:00
Brian Fox
80e7b471b6 (suppress-keymap): Use substitute-key-definition instead of manually
checking each key (we were using 127 instead of 255 anyway).
1993-09-21 07:47:15 +00:00
Brian Fox
fc68b5523c (s-hemi-seasons n-hemi-seasons): New constants are hemisphere
dependent list of season names.  The names are "international"; i.e.,
`vernal' and `autumnal' are used consistently.
(solar-equinoxes-solstices): Use new constants, allowing southern
hemisphere reports to be meaningful.
(sunrise-sunset): Use `frame-width' instead of `screen-width'.
1993-09-21 07:46:03 +00:00
Brian Fox
7e37cd30c6 (kill-region): Use equal' instead of eq' to compare markers `beg'
and `end'.  They might be two different markers that point to the same
place.
1993-09-21 07:43:20 +00:00
Brian Fox
760a35286c (rmail-convert-file): If the file is empty, don't convert it after
inserting the BABYL header.
1993-09-21 07:34:20 +00:00
Brian Fox
671e87b36d (outline-minor-mode): Force update of modeline when outline-minor-mode
is toggled.
1993-09-21 07:32:51 +00:00
Brian Fox
b19f1da483 (local-write-file-hooks): Make this variable buffer-local. 1993-09-21 07:23:26 +00:00
Brian Fox
9c0415e0b5 (edebug-enter): Don't call the current function being debugged in
pre-command-hook or post-command-hook.
1993-09-21 07:18:36 +00:00
Brian Fox
3222085ea2 (dired-mode): Don't change the value of case-fold-search.
(dired-build-subdir-alist): Call `expand-file-name' to clean up
the subdirectory title (removing extra "./").
1993-09-21 07:12:36 +00:00
Brian Fox
4b00edc888 (diff): Doc fix. 1993-09-21 07:10:31 +00:00
Brian Fox
4f71988405 (diary-syntax-table): Make sure that we use a copy of
standard-syntax-table, and not the table itself.
1993-09-21 07:06:16 +00:00
Brian Fox
a72ba9295c (compile-internal): Back out jimb change of making buffer read-only. It
is non-ergonomic.
1993-09-21 07:00:37 +00:00
Brian Fox
1b41c5d14d (calendar-absolute-from-time): Fix typo by interchanging (floor) and (%). 1993-09-21 06:51:15 +00:00
Brian Fox
4de97979a2 (side-effect-free-fns): Add "-" and "1-" to the list. 1993-09-21 06:47:21 +00:00
Richard M. Stallman
629d4dcd2a Total rewrite by Gillespie. 1993-09-21 03:44:04 +00:00
Richard M. Stallman
eb6ff46fa1 (mouse-save-then-kill): If follows a multi-click selection,
extend the selection.
(mouse-save-then-kill-delete-region): New subroutine.
(mouse-selection-click-count): New variable.
(mouse-drag-region): Set it.
1993-09-20 17:36:49 +00:00
Richard M. Stallman
36ab15b2fd (ispell-message): New command, with menu bar item. 1993-09-20 15:40:38 +00:00
Richard M. Stallman
426979a1c8 (indented-text-mode): Make only blank lines
separate or start paragraphs.  Doc fix.
1993-09-19 19:32:35 +00:00
Roland McGrath
660fa562cc (revert-buffer): Enable menu item when the buffer is modified. 1993-09-19 02:05:38 +00:00
Brian Fox
02ec15923b add-log-full-name, add-log-mailing-address: new varialbes 1993-09-19 01:54:48 +00:00
Richard M. Stallman
733619f9ef - (hilit-rehighlight-region): added (save-restriction (widen))
to avoid hangups in dired.
- Also slight improvements to fortran patterns and
  hilit-default-face-table doc string
- added optional case-fold argument to hilit-set-mode-patterns
- added hilit-rehighlight-buffer-quietly to dired-after-readin-hook
- fixed bug in hilit-string-find that mishandled some strings: "\\"
- work-around for bug in next-overlay-change
- the pattern matcher now starts it's searches from the end of the
  most recently highlighted region (which is not necessarily the end
  of the most recently matched regex).
- code moved from hilit-highlight-region to hilit-set-mode-patterns.
  This will affect you if you pass your patterns directly to
  hilit-highlight-region....use a pseudo-mode instead.
- twiddled C/C++, latex, texinfo, fortran, nroff patterns.
- added calendar-mode, icon-mode and pascal-mode patterns
- diverged lisp-mode and emacs-lisp-mode...also added lisp keywords.
1993-09-18 02:13:02 +00:00
Richard M. Stallman
e37de1206a (mouse-set-region): Put region in kill ring.
(mouse-drag-region): Handle double and triple clicks
when displaying region and when setting it.
(mouse-skip-word, mouse-start-end): New functions.
1993-09-17 21:26:18 +00:00
Roland McGrath
2694dfb9cd (read-zippyism): New function. 1993-09-17 18:52:33 +00:00
Roland McGrath
b81d991d75 (read-cookie): New function. 1993-09-17 18:51:05 +00:00
Richard M. Stallman
65151a1bd4 (directory-abbrev-alist): Doc fix. 1993-09-17 17:51:40 +00:00
Richard M. Stallman
2051e25956 Fix typo in previous change. 1993-09-17 16:50:01 +00:00
Richard M. Stallman
9c89d223b3 Set up keymap at load time.
(iso-accents-mode): Not here.  Just setq iso-accents-minor-mode.
(iso-accents-minor-mode): Make it local in all buffers.
1993-09-17 16:49:28 +00:00
Richard M. Stallman
2c32e5c611 Fix previous change. 1993-09-17 16:43:38 +00:00
Richard M. Stallman
575661b16c (perldb): New function, plus subroutines. 1993-09-16 20:02:25 +00:00
Richard M. Stallman
214507c70f (font-lock-fontify-region): Don't add `font-lock' props.
(font-lock-unfontify-region): Don't remove `font-lock' props.
(font-lock-hack-keywords): Don't add `font-lock' props.
Handle values other than t and nil for allow-overlap-p specially.
(c-font-lock-keywords-1): Don't override how comments in #if... appear.
Highlight text after #else or #endif.
1993-09-16 14:56:45 +00:00
Paul Eggert
c574acf031 (vc-prefix-map): Bind C-x v ~ to vc-version-other-window. 1993-09-15 23:19:13 +00:00
Paul Eggert
f181899408 (vc-version-other-window): New function.
(vc-backend-checkout): Add optional arg workfile, which specifies where
to put the working file.
1993-09-15 23:19:13 +00:00
Richard M. Stallman
0f0a85b310 (rmail-forward): Insert the text right after the header separator. 1993-09-15 22:59:12 +00:00
Richard M. Stallman
1f11101804 Change typos in comments.
(forms-delete-record, forms--update): Use `delete-region' instead of
`kill-line' to avoid messing around with the kill ring.

Release 2.1 for Emacs 19.19.
(forms--process-format-list): No need to prepend a text item anymore.
(forms--ro-modification-start): Renamed to `forms--iif-start.
(forms--ro-properties): Renamed to `forms--iif-properties'.
(forms--romh): Renamed to `forms--iif-hook'.  Rewritten to use
`insert-in-front-hooks' instead of `modification-hooks'.
(forms--romh-post-command-hook): Renamed to
`forms--iif-post-command-hook'.  Rewritten to use
`insert-in-front-hooks' instead of `modification-hooks'.
(forms--make-format, forms--make-format-elt-using-text-properties):
Use `insert-in-front-hooks' instead of `modification-hooks'.
Remove `forms--electric' code.  Use `front-sticky' and
`rear-nonsticky' text properties to control the insertion of text
between read-only fields.
(forms--show-record): Remove `forms--electric' code.
1993-09-15 05:25:16 +00:00
Richard M. Stallman
8669cecff5 Fix lots of doc strings.
(iso-accents-mode): Positive arg means enable.
No arg means toggle.
1993-09-14 18:20:59 +00:00
Richard M. Stallman
bf4de26a03 Initial revision 1993-09-14 16:51:54 +00:00
Richard M. Stallman
26ff8619bb (sc-glom-headers): Bind mark-active around calling region-...
(sc-cite-original): Likewise.
1993-09-12 11:25:16 +00:00
Richard M. Stallman
522779f4c6 (font-lock-fontify-region): Put on `font-lock'
property as well as `face' property.
(font-lock-hack-keywords): Likewise.
1993-09-11 15:13:31 +00:00
Richard M. Stallman
9fa7bfe524 (hack-local-variables-prop-line): Ignore any specification
for `mode:', since set-auto-mode has already handled it.
(set-auto-mode): Clean up.  Handle more than one `mode:' spec in -*-.
1993-09-11 10:45:25 +00:00
Richard M. Stallman
073fb95606 (rmail-convert-file): Narrow to exclude the Babyl header. 1993-09-11 10:40:03 +00:00
Richard M. Stallman
66b8b1d5c3 (dun-save-game): Use correct name of endgame question. 1993-09-10 13:48:39 +00:00
Roland McGrath
1eff735616 (rmail-spool-directory): Use "/var/mail/" if system-type is netbsd. 1993-09-10 05:05:39 +00:00