1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

56 Commits

Author SHA1 Message Date
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Stefan Monnier
7fdbcd8387 * x-dnd.el (x-dnd-maybe-call-test-function):
* window.el (split-window-vertically):
* whitespace.el (whitespace-help-on):
* vc-rcs.el (vc-rcs-consult-headers):
* userlock.el (ask-user-about-lock-help)
(ask-user-about-supersession-help):
* type-break.el (type-break-force-mode-line-update):
* time-stamp.el (time-stamp-conv-warn):
* terminal.el (te-set-output-log, te-more-break, te-filter)
(te-sentinel,terminal-emulator):
* term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
(term-write-input-ring, term-check-source, term-start-output-log):
(term-display-buffer-line, term-dynamic-list-completions):
(term-ansi-make-term, serial-term):
* subr.el (selective-display):
* strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
(strokes-encode-buffer, strokes-xpm-for-compressed-string):
* speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
(speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
(speedbar-remove-localized-speedbar-support)
(speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
(speedbar-update-special-contents, speedbar-buffer-buttons-engine)
(speedbar-buffers-line-directory):
* simple.el (shell-command-on-region, append-to-buffer)
(prepend-to-buffer):
* shadowfile.el (shadow-save-todo-file):
* scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
(scroll-bar-maybe-set-window-start):
* sb-image.el (speedbar-image-dump):
* saveplace.el (save-place-alist-to-file, save-places-to-alist)
(load-save-place-alist-from-file):
* ps-samp.el (ps-print-message-from-summary):
* ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
(ps-background-image, ps-begin-job, ps-do-despool):
* ps-bdf.el (bdf-find-file, bdf-read-font-info):
* printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
(pr-ps-message-from-summary, pr-lpr-message-from-summary):
(pr-call-process, pr-file-list, pr-interface-save):
* novice.el (disabled-command-function)
(enable-command, disable-command):
* mouse.el (mouse-buffer-menu-alist):
* mouse-copy.el (mouse-kill-preserving-secondary):
* macros.el (kbd-macro-query):
* ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
* informat.el (batch-info-validate):
* ido.el (ido-copy-current-word, ido-initiate-auto-merge):
* hippie-exp.el (try-expand-dabbrev-visible):
* help-mode.el (help-make-xrefs):
* help-fns.el (describe-variable):
* generic-x.el (bat-generic-mode-run-as-comint):
* finder.el (finder-mouse-select):
* find-dired.el (find-dired-sentinel):
* filesets.el (filesets-file-close):
* files.el (list-directory):
* faces.el (list-faces-display, describe-face):
* facemenu.el (list-colors-display):
* ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
* epg.el (epg--process-filter, epg-cancel):
* epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
(epa--read-signature-type):
* emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
(emerge-file-names):
* ehelp.el (electric-helpify):
* ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
* ediff-vers.el (rcs-ediff-view-revision):
* ediff-util.el (ediff-setup):
* ediff-mult.el (ediff-append-custom-diff):
* ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
(ediff-wordify):
* echistory.el (Electric-command-history-redo-expression):
* dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
* disp-table.el (describe-display-table):
* dired.el (dired-find-buffer-nocreate):
* dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
* dabbrev.el (dabbrev--same-major-mode-p):
* chistory.el (list-command-history):
* apropos.el (apropos-documentation):
* allout.el (allout-obtain-passphrase):
(allout-copy-exposed-to-buffer):
(allout-verify-passphrase): Use with-current-buffer.
2009-11-13 22:19:45 +00:00
Juanma Barranquero
32226619c5 Use called-interactively-p' instead of interactive-p'. 2009-10-02 03:48:36 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Lute Kamstra
9201cc281b * align.el:
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Richard M. Stallman
7ab2e82f0e (type-break-get-previous-count): Repeat previous change here. 2007-03-11 21:17:06 +00:00
Richard M. Stallman
dad757bc24 (type-break-get-previous-time): Handle end-of-file errors specially
so they don't get reported wrong in .emacs.
2007-03-04 17:50:46 +00:00
Chong Yidong
a5b5e31e1c (type-break-catch-up-event): New function.
(type-break-demo-hanoi, type-break-demo-life)
(type-break-demo-boring): Use it.
2007-01-30 19:36:41 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Chong Yidong
1dfdb0c0b3 (type-break-demo-hanoi, type-break-demo-life)
(type-break-demo-boring): Call read-event instead of read-char.
2007-01-20 02:48:45 +00:00
Glenn Morris
c90f275771 Update copyright years. 2006-12-05 07:06:08 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Eli Zaretskii
cc7fe910c2 (type-break-mode): Add a test for type-break-file-name being non-nil. 2005-01-22 10:41:29 +00:00
Eli Zaretskii
a7ed85f05b (type-break-file-name): Doc update as per the above.
(type-break-mode, type-break-file-time, type-break-file-keystroke-count)
(type-break-choose-file): Don't store data in or load data from the file
if none specified.
2005-01-15 13:06:55 +00:00
Richard M. Stallman
1b8d07559d (type-break-mode): Fix previous change. 2005-01-12 04:24:20 +00:00
Richard M. Stallman
cf8a2dae5d (type-break-mode): Set buffer-save-without-query.
Remove code that tried to set save-some-buffers-always.
(type-break-file-keystroke-count): Bind deactivate-mark.
2004-12-27 16:37:36 +00:00
Richard M. Stallman
5d6101401f (type-break-run-at-time): Always use run-at-time; forget the alternatives.
(type-break-cancel-function-timers): Always use cancel-function-timers;
forget the alternatives.
2004-10-27 15:04:26 +00:00
Eli Zaretskii
27cd478d97 Capitalise Emacs and Lisp.
(type-break-good-break-interval, type-break-demo-boring-stats)
(type-break-terse-messages, type-break-file-name): New defcustoms.
(type-break-post-command-hook)
(type-break-warning-countdown-string): Quote variable names in doc.
(type-break-interval-start, type-break-auto-save-file-name): New defvars.
(type-break-mode): Document type-break-good-break-interval and the
"session" file.  Schedule break according to the session file.
Kill session file buffer on exit.  Organise for save-some-buffers
to always save the session file.
(type-break-mode-line-message-mode, type-break-query-mode):
Uppercase arguments.
(type-break-file-time, type-break-file-keystroke-count, timep)
(type-break-choose-file, type-break-get-previous-time)
(type-break-get-previous-count): New defuns.
(type-break): Avoid break querying after a completed break in the
case where the query was initiated during user invocation of the
break.  Optional terse messages.  Use
type-break-good-break-interval if type-break-good-rest-interval is
nil.  File the break time.
(type-break-schedule): New optional args for overriding the use of
the current time.
(type-break-cancel-time-warning-schedule): Avoid leftover warnings
after a break.
(type-break-check): File the keystroke count.
(type-break-do-query): Prevent a second query when the break is
interrupted.  Optional terse message.
(type-break-keystroke-reset): Record the start of a typing interval.
(type-break-demo-boring): Optional terse messages.  Display word
per minute and keystroke counts according to
type-break-demo-boring-stats.
2004-04-27 13:12:07 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Stefan Monnier
2c8155f784 (type-break-emacs-variant): Remove.
(type-break-run-at-time, type-break-cancel-function-timers):
Use fboundp rather than version name and number.
2004-03-09 15:28:27 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
2f3b1a8c1f (type-break-cancel-function-timers): Use with-no-warnings. 2003-05-28 11:25:44 +00:00
Juanma Barranquero
ee6258ff77 (type-break-good-rest-interval, type-break-query-mode)
(type-break-query-function, type-break-mode-line-message-mode): Don't quote nil
and t in docstrings.
2003-05-06 17:50:17 +00:00
John Paul Wallington
b688ed4495 (type-break-warning-countdown-string): Doc fix; escape open paren at col 0. 2003-04-11 13:07:10 +00:00
Andreas Schwab
851c9af04d (type-break): Don't make parent of itself. 2000-12-03 16:17:49 +00:00
Noah Friedman
ad95348597 (type-break): perform autosave.
Suggested by Stephen Gildea <gildea@intouchsys.com>.
(type-break-do-query): Cancel query schedule while performing
actual query, to avoid possibility of a second query being made
while first one is already in progress.
(type-break-time-stamp-format): New variable.
(type-break-time-stamp): New function.
(type-break-time-warning): Use it.
(type-break-keystroke-warning): Use it.
(type-break-noninteractive-query): Use it.
2000-07-24 00:50:10 +00:00
Karl Heuer
5762abecd3 Fix maintainer address. 1999-08-16 04:04:27 +00:00
Dave Love
4de268858c (type-break-mode): Doc fix. 1999-04-27 19:00:42 +00:00
Karl Heuer
25f67e4bc9 *** empty log message *** 1999-03-30 21:37:40 +00:00
Karl Heuer
511a07194f (type-break-mode): Doc fix. 1999-03-30 21:30:05 +00:00
Noah Friedman
f6cafb3ece Comment fixes only. 1998-09-11 01:40:25 +00:00
Noah Friedman
e18b0c51c3 (type-break-mode): remove :version field from defcustom declaration.
It's wreaking too much havoc with XEMacs and older versions of Emacs, which
share this code.
1998-09-11 01:38:30 +00:00
Richard M. Stallman
7cd3279a33 (type-break-mode): Don't alter global-mode-string.
Instead, add an element to minor-mode-alist.
1998-05-15 05:20:58 +00:00
Richard M. Stallman
2157be68a7 (type-break-mode-line-message-mode): Doc fix. Fix some messages.
(type-break-mode): Doc fix.
1998-05-13 01:46:28 +00:00
Dan Nicolaescu
f9e9ac1dde *** empty log message *** 1998-04-20 03:35:05 +00:00
Richard M. Stallman
bc3cb41d8e (type-break-emacs-variant): store-match-data => set-match-data. 1998-03-14 04:47:44 +00:00
Stephen Eglen
104221a01d (type-break-mode): New customize variable to automatically load the package.
Other variables customized.
1998-01-29 09:26:38 +00:00
Noah Friedman
846f6dd90a Don't require timer; use autoloaded functions from Emacs or XEmacs,
depending on variant.

Do not use defsubst anywhere.  Replace with defuns.

(type-break-warning-message-mode): Variable deleted.

(type-break-query-mode): New variable and function.
(type-break-mode): Mention in docstring.

(type-break-run-at-time): New function.
All callers of run-at-time changed.

(type-break-cancel-function-timers): New function.
All callers of cancel-function-timers changed.

(type-break-check-post-command-hook): New function.
(type-break-mode, type-break-schedule, type-break-alarm,
type-break-time-warning-alarm): Call it.

(type-break-mode-line-countdown-or-break): New function.
(type-break): Call it.

(type-break-time-warning-schedule): Put type-break-time-warning
on type-break-post-command-hook.

(type-break-check): Call type-break-mode-line-countdown-or-break.

(type-break-noninteractive-query): New function.
(type-break-force-mode-line-update): New function.
1997-06-23 05:28:51 +00:00
Noah Friedman
b4dc9e6aff Changes which are not mine:
1996-01-20  Richard M. Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
    Move defsubsts before defuns.

    1996-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
    (type-break-demo-life): Pass proper format string to message.

    1996-01-04  Paul Eggert  <eggert@twinsun.com>
    (type-break-guesstimate-keystroke-threshold): Renamed from
    type-break-guestimate-keystroke-threshold.
    (type-break-keystroke-threshold, type-break-mode): Doc fix.


(type-break-warning-message-mode): New variable.
(type-break-warning-countdown-string): New variable.
(type-break-warning-countdown-string-type): New variable.

(type-break-warning-message-mode): New function.
(type-break-alarm): Reset type-break mode.
(type-break-check): Ignore mouse motion.
1997-06-23 04:58:15 +00:00
Noah Friedman
99c0333bc4 Assign copyright to FSF, and change comments to reflect that type-break
is now part of GNU Emacs.
1994-10-06 19:12:46 +00:00
Noah Friedman
defa73468e type-break-time-sum: New function.
type-break-schedule: Use it.
Make interactive again.

type-break-guestimate-keystroke-threshold: Use `N' interactive spec, not `n'.

type-break-demo-boring: Show elapsed time of break, or number of minutes
left for good break.

(top level): Do not call type-break-mode.
1994-08-09 21:21:28 +00:00
Noah Friedman
e7b2041725 type-break-time-warning-intervals, type-break-keystroke-warning-intervals,
type-break-warning-repeat: New variables.

type-break-current-time-warning-interval,
type-break-current-keystroke-warning-interval,
type-break-time-warning-count, type-break-keystroke-warning-count: New
variables.

type-break-demo-boring: New function.
type-break-demo-functions: Add it to the default list.

type-break-post-command-hook: New variable.
type-break-run-tb-post-command-hook: New function.
type-break-mode: Install them.

type-break-keystroke-reset: New function.
type-break-check: Call it when appropriate.

type-break: call type-break-cancel-schedule.
Check that rest time was within 60 seconds of "good rest" interval, not 120.

type-break-time-warning-schedule, type-break-cancel-time-warning-schedule,
type-break-time-warning-alarm, type-break-time-warning: New functions.

type-break-schedule: Remove interactive spec and docstring.
Call type-break-time-warning-schedule.

type-break-cancel-schedule: Remove interactive spec and docstring.
Call type-break-cancel-time-warning-schedule.

type-break-check: Don't check for type-break-mode here.
type-break-run-tb-post-command-hook does that now.

type-break-keystroke-warning: New function.
type-break-check-keystroke-warning: New inline function (defsubst).
type-break-check: Call it.

type-break-query: Bind type-break-mode to nil while calling query function.
1994-07-28 17:32:36 +00:00
Noah Friedman
3c13724430 type-break-schedule: Remove autoload cookie.
type-break-check: Optimized for speed.
1994-07-21 13:00:35 +00:00
Noah Friedman
cc669dd810 type-break-good-rest-interval: Doc fix.
type-break-keystroke-threshold: Calcuate based on 35wpm, not 30.

type-break-demo-function-vector: Variable deleted.
type-break-demo-functions: New variable.
type-break: Use new variable.

type-break-time-difference: Return absolute value.

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.
1994-07-21 10:11:59 +00:00