Richard M. Stallman [Sun, 24 Jul 1994 05:42:51 +0000 (05:42 +0000)]
(Fwrite_region): Do unwind the new unwind protect.
(Vwrite_region_annotations_so_far): New variable.
(syms_of_fileio): Set up Lisp var.
(build_annotations): Handle annotate functions that switch buffers.
Set Vwrite_region_annotations_so_far.
(Fwrite_region): Handle change of buffer in build_annotations.
Add an unwind protect to restore original buffer and kill the temp.
type-break-format-time: New inline function (defsubst).
type-break-statistics, type-break: Use it.
type-break-mode: Just test prefix-numeric-value >= 0 to to enable mode.
The only visible difference is that invocation with no prefix arg the same
as if given positive numeric prefix arg now.
Do not document type-break-query-interval or type-break-query-function
here; make fritterware-happy users read the source.
type-break: If type break is much less (at least 2 minutes) than a "good
rest interval", ask user whether or not to continue with the break.
type-break-check: Do nothing if user is in the minibuffer.
When alarm is signaled but min threshold isn't reached, reschedule break.
type-break-demo-life: Eat char entered to end life demo.
(ediff-forward-word-function) New function.
(ediff-wordify-function): Variable deleted.
(ediff-toggle-regexp-match, ediff-hide-regexp-matches): New functions.
(ediff-focus-on-regexp-matches): New function.
(ediff-status-info): New function.
(ediff-file-names, ediff-line-numbers): Functions deleted.
Richard M. Stallman [Wed, 20 Jul 1994 18:26:57 +0000 (18:26 +0000)]
(ispell-command-loop, ispell-region, ispell-word):
Only pop up the choices window if an error is found in the region.
Don't change the size of the choices window except as needed.
Don't (sit-for 0) at the start of ispell-region (i.e. don't force
redisplay at the start of the region).
(ispell-overlay-window): Small documentation fix.
Roland McGrath [Wed, 20 Jul 1994 14:02:48 +0000 (14:02 +0000)]
(visit-tags-table-buffer): Bind a variable local-tags-file-name with the
value of tags-file-name before calling tags-verify-table, which switches
buffers; change all references to use local-tags-file-name. Save current
buffer before that call and on error, switch back before killing local
value of tags-file-name.
Richard M. Stallman [Wed, 20 Jul 1994 07:41:16 +0000 (07:41 +0000)]
(imenu-choose-buffer-index): Use last-nonmenu-event
to decide on mouse vs non-mouse.
(imenu-progress-message): New arg prevpos. All callers changed.
Don't print messages too frequently.
type-break-keystroke-threshold: Change default wpm to 30 and lower
threshold to 1/5, rather than 1/4, of upper.
type-break-guestimate-keystroke-threshold: Change threshold fraction here too.
type-break-demo-life: Restart when all life perishes.
Richard M. Stallman [Mon, 18 Jul 1994 18:49:25 +0000 (18:49 +0000)]
(reporter-dump-state, reporter-submit-bug-report):
Don't print package name if pkgname is nil. Don't dump state if
varlist is nil.
(reporter-bug-hook, reporter-submit-bug-report)
(reporter-calculate-separator, reporter-initial-text):
New or modified functions and variables attempting to prohibit
submission of empty bug reporters.
(reporter-prompt-for-summary-p): Default value now nil.
(reporter-dump-state): Make sure there's a final
newline after the setq sexp.
Pass mail buffer as second arg to print fcn.
Use symbol-value to get varsym's value.
(reporter-dump-variable): Handle long sexp's even
after entering newline. Done by filling current line.
Much better pretty printing of long lists!!
Handle void variables.
(reporter-version): New variable.
(reporter-submit-bug-report-internal): Leave point after the salutation.
(reporter-submit-bug-report): Prompt for a subject.
type-break-mode: Make variable `nil' by default.
type-break-mode (function): If setting to t and mode was already enabled,
don't reschedule breaks or reset keystroke counter.
type-break-good-rest-interval: New variable.
type-break-time-difference: New inline function (defsubst).
tyype-break-time-last-break, type-break-time-next-break,
type-break-time-last-command: New variables.
type-break-check: Reset timers and counters if user has been idle more than
type-break-good-rest-interval seconds (assuming it's set).
Never set keystroke counter to be less than the min threshold.
type-break: Admonish user if s/he rested less than
type-break-good-rest-interval seconds (assuming it's set).
type-break-demo-hanoi: Eat a char when quitting.
type-break-statistics, type-break-guestimate-keystroke-threshold: New
commands.
type-break-query-interval: Variable renamed from type-break-delay-interval.
type-break-keystroke-interval: Variable deleted.
type-break-keystroke-threshold: New variable.
type-break-demo-life: Function renamed from type-break-life.
type-break-demo-hanoi: Function renamed from type-break-hanoi.
type-break-alarm-p: Variable renamed from type-break-p.
type-break: Don't query.
type-break-query: (New function) query here.
type-break-check: Call type-break-query, not type-break.
Do nothing if type-break-mode is nil.
Increment type-break-keystroke-count with the length of this-command-keys,
not just 1.
Query for break when keystroke count exceeds cdr of keystroke threshold
variable.
Query for break after an alarm only if keystroke count exceeds car of
keystroke threshold variable.
type-break-select: Function deleted.
type-break: Move that code here.
type-break-cancel-schedule: Function renamed from cancel-type-break.
Reset type-break-alarm-p.
type-break-alarm: Function renamed from type-break-soon.
(top level): Call type-break-mode; don't set up hook explicitly.
Richard M. Stallman [Sat, 16 Jul 1994 16:23:52 +0000 (16:23 +0000)]
Clean up menu item string format.
Add a few menu items and separators.
(gnus-mouse-pick-group): New function, on mouse-2 in Group mode.
(gnus-mouse-pick-article): New function, on mouse-2 in Summary mode.
Richard M. Stallman [Thu, 14 Jul 1994 05:00:21 +0000 (05:00 +0000)]
(safe_run_hooks): Use local var to restore hook's value.
(kbd_buffer_get_event) [HAVE_MOUSE]: Include code
to check for mouse dragging.
(make_lispy_movement) [HAVE_MOUSE]: Define also in this case,
but only include the non-multiframe stuff.
(resize-minibuffer-setup): Copy post-command-hook when handling minibuffer
windows in other frames, not just minibuffer-exclusive frames.
Resize the minibuffer window/frame now, in case it has already been
initialized with text.
Richard M. Stallman [Tue, 12 Jul 1994 17:03:13 +0000 (17:03 +0000)]
(mouse-drag-secondary): Don't start making an overlay
when the range is empty.
(mouse-secondary-save-then-kill):
The first time, make a new kill ring entry.
Richard M. Stallman [Tue, 12 Jul 1994 07:25:31 +0000 (07:25 +0000)]
(hexl-maybe-dehexlify-buffer): New function.
(hexl-mode): Add it to change-major-mode-hook.
(hexl-mode-exit): Remove kludge for mode-line update.
(hexlify-buffer): Doc fix.