diff options
| author | Karoly Lorentey | 2005-05-20 17:44:36 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-05-20 17:44:36 +0000 |
| commit | b4bb3cbc7caca5c9c207d9ed42cacb978790af67 (patch) | |
| tree | 6d347dbb4b2db074171d0bbcb89afe851cffe85b | |
| parent | 35bc5d82600f330082298823f09f53259a90ea81 (diff) | |
| parent | a18ff9886771c41186eebf8d7984fee2120dbe36 (diff) | |
| download | emacs-b4bb3cbc7caca5c9c207d9ed42cacb978790af67.tar.gz emacs-b4bb3cbc7caca5c9c207d9ed42cacb978790af67.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 69, 313-319)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-313
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-314
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-315
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-316
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-317
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-318
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-319
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-69
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-347
234 files changed, 2378 insertions, 1812 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-05-11 J,Ai(Br,At(Bme Marant <jmarant@marant.org> | ||
| 2 | |||
| 3 | * configure.in: Add --enable-locallisppath. | ||
| 4 | * configure: Regenerate. | ||
| 5 | |||
| 1 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 6 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 7 | ||
| 3 | * configure.in: Don't check HAVE_CARBON if HAVE_X11 is set to yes. | 8 | * configure.in: Don't check HAVE_CARBON if HAVE_X11 is set to yes. |
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index d159c711672..c1e91ff9595 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -94,12 +94,18 @@ you're going to handle. | |||
| 94 | DIRECTORY STATUS IN CHARGE | 94 | DIRECTORY STATUS IN CHARGE |
| 95 | --------- ------ --------- | 95 | --------- ------ --------- |
| 96 | leim working Kenichi Handa | 96 | leim working Kenichi Handa |
| 97 | lisp/emulation working Thien-Thi Nguyen | 97 | lisp/calc done Thien-Thi Nguyen |
| 98 | lisp/calendar working Glenn Morris | ||
| 99 | lisp/emulation done Thien-Thi Nguyen | ||
| 100 | lisp/eshell working Thien-Thi Nguyen | ||
| 98 | lisp/international done Kenichi Handa | 101 | lisp/international done Kenichi Handa |
| 99 | lisp/languages done Kenichi Handa | 102 | lisp/languages done Kenichi Handa |
| 100 | lisp/net working Thien-Thi Nguyen | 103 | lisp/mh-e done Thien-Thi Nguyen |
| 104 | lisp/net done Thien-Thi Nguyen | ||
| 101 | lisp/play done Thien-Thi Nguyen | 105 | lisp/play done Thien-Thi Nguyen |
| 102 | lisp/term done Thien-Thi Nguyen | 106 | lisp/term done Thien-Thi Nguyen |
| 107 | lisp/toolbar done Thien-Thi Nguyen | ||
| 108 | lisp/url working Thien-Thi Nguyen | ||
| 103 | 109 | ||
| 104 | ** Update AUTHORS. | 110 | ** Update AUTHORS. |
| 105 | 111 | ||
diff --git a/admin/notes/years b/admin/notes/years new file mode 100644 index 00000000000..72f217e925d --- /dev/null +++ b/admin/notes/years | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | How to Maintain Copyright Years for GNU Emacs | ||
| 2 | |||
| 3 | |||
| 4 | Principle: Individual files need to have the year of the release | ||
| 5 | in the copyright notice if there is significant change. | ||
| 6 | |||
| 7 | |||
| 8 | Practice: | ||
| 9 | |||
| 10 | - individual files | ||
| 11 | - each must be examined, along w/ its history, by a human | ||
| 12 | - automated tools facilitate but can never replace this process | ||
| 13 | |||
| 14 | - year of the release | ||
| 15 | - may be different from year of file introduction, | ||
| 16 | or year of last significant change | ||
| 17 | - sometimes the release year slips, leaving a file w/ prematurely | ||
| 18 | marked release year => need update (e.g., s/2004/2005/ for Emacs 22) | ||
| 19 | - intervening years (between releases) are not valid and may cause | ||
| 20 | embarrassment later in case of dispute => remove (however, see next) | ||
| 21 | - years for new files (merged, contributed) that have been separately | ||
| 22 | published are valid even if between releases => leave alone | ||
| 23 | |||
| 24 | - significant change | ||
| 25 | - insignificant | ||
| 26 | - whitespace | ||
| 27 | - copyright notice | ||
| 28 | - version control tags | ||
| 29 | - simple var/func renaming | ||
| 30 | - in-file reorganization/reordering | ||
| 31 | - typos | ||
| 32 | - small bugfixes | ||
| 33 | - small docfixes | ||
| 34 | - filename renaming | ||
| 35 | - most everything else is significant | ||
| 36 | - change to interface | ||
| 37 | - change in functionality | ||
| 38 | - new file | ||
| 39 | - many small changes may be significant in aggregate | ||
| 40 | |||
| 41 | - when in doubt, ask (and update these guidelines -- thanks!) | ||
| 42 | |||
| 43 | - sometimes people make mistakes | ||
| 44 | - if they have not read these guidelines, point them here | ||
| 45 | - if the guidelines are not helpful, improve the guidelines | ||
| @@ -859,6 +859,9 @@ Optional Features: | |||
| 859 | --enable-asserts compile code with asserts enabled | 859 | --enable-asserts compile code with asserts enabled |
| 860 | --enable-maintainer-mode enable make rules and dependencies not useful | 860 | --enable-maintainer-mode enable make rules and dependencies not useful |
| 861 | (and sometimes confusing) to the casual installer | 861 | (and sometimes confusing) to the casual installer |
| 862 | --enable-locallisppath=PATH | ||
| 863 | directories Emacs should search for lisp files | ||
| 864 | specific to this site | ||
| 862 | --disable-largefile omit support for large files | 865 | --disable-largefile omit support for large files |
| 863 | 866 | ||
| 864 | Optional Packages: | 867 | Optional Packages: |
| @@ -985,7 +988,7 @@ esac | |||
| 985 | else | 988 | else |
| 986 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 989 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 987 | fi | 990 | fi |
| 988 | cd $ac_popdir | 991 | cd "$ac_popdir" |
| 989 | done | 992 | done |
| 990 | fi | 993 | fi |
| 991 | 994 | ||
| @@ -1543,6 +1546,16 @@ else | |||
| 1543 | fi | 1546 | fi |
| 1544 | 1547 | ||
| 1545 | 1548 | ||
| 1549 | # Check whether --enable-locallisppath or --disable-locallisppath was given. | ||
| 1550 | if test "${enable_locallisppath+set}" = set; then | ||
| 1551 | enableval="$enable_locallisppath" | ||
| 1552 | if test "${enableval}" = "no"; then | ||
| 1553 | locallisppath= | ||
| 1554 | elif test "${enableval}" != "yes"; then | ||
| 1555 | locallisppath=${enableval} | ||
| 1556 | fi | ||
| 1557 | fi; | ||
| 1558 | |||
| 1546 | #### Make srcdir absolute, if it isn't already. It's important to | 1559 | #### Make srcdir absolute, if it isn't already. It's important to |
| 1547 | #### avoid running the path through pwd unnecessarily, since pwd can | 1560 | #### avoid running the path through pwd unnecessarily, since pwd can |
| 1548 | #### give you automounter prefixes, which can go away. We do all this | 1561 | #### give you automounter prefixes, which can go away. We do all this |
| @@ -3254,8 +3267,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3254 | cat conftest.err >&5 | 3267 | cat conftest.err >&5 |
| 3255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3256 | (exit $ac_status); } && | 3269 | (exit $ac_status); } && |
| 3257 | { ac_try='test -z "$ac_c_werror_flag" | 3270 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 3258 | || test ! -s conftest.err' | ||
| 3259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3260 | (eval $ac_try) 2>&5 | 3272 | (eval $ac_try) 2>&5 |
| 3261 | ac_status=$? | 3273 | ac_status=$? |
| @@ -3313,8 +3325,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3313 | cat conftest.err >&5 | 3325 | cat conftest.err >&5 |
| 3314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3315 | (exit $ac_status); } && | 3327 | (exit $ac_status); } && |
| 3316 | { ac_try='test -z "$ac_c_werror_flag" | 3328 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 3317 | || test ! -s conftest.err' | ||
| 3318 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3319 | (eval $ac_try) 2>&5 | 3330 | (eval $ac_try) 2>&5 |
| 3320 | ac_status=$? | 3331 | ac_status=$? |
| @@ -3430,8 +3441,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3430 | cat conftest.err >&5 | 3441 | cat conftest.err >&5 |
| 3431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3432 | (exit $ac_status); } && | 3443 | (exit $ac_status); } && |
| 3433 | { ac_try='test -z "$ac_c_werror_flag" | 3444 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 3434 | || test ! -s conftest.err' | ||
| 3435 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3445 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3436 | (eval $ac_try) 2>&5 | 3446 | (eval $ac_try) 2>&5 |
| 3437 | ac_status=$? | 3447 | ac_status=$? |
| @@ -3485,8 +3495,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3485 | cat conftest.err >&5 | 3495 | cat conftest.err >&5 |
| 3486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3487 | (exit $ac_status); } && | 3497 | (exit $ac_status); } && |
| 3488 | { ac_try='test -z "$ac_c_werror_flag" | 3498 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 3489 | || test ! -s conftest.err' | ||
| 3490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3491 | (eval $ac_try) 2>&5 | 3500 | (eval $ac_try) 2>&5 |
| 3492 | ac_status=$? | 3501 | ac_status=$? |
| @@ -3531,8 +3540,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3531 | cat conftest.err >&5 | 3540 | cat conftest.err >&5 |
| 3532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3533 | (exit $ac_status); } && | 3542 | (exit $ac_status); } && |
| 3534 | { ac_try='test -z "$ac_c_werror_flag" | 3543 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 3535 | || test ! -s conftest.err' | ||
| 3536 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3544 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3537 | (eval $ac_try) 2>&5 | 3545 | (eval $ac_try) 2>&5 |
| 3538 | ac_status=$? | 3546 | ac_status=$? |
| @@ -3576,8 +3584,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3576 | cat conftest.err >&5 | 3584 | cat conftest.err >&5 |
| 3577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3585 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3578 | (exit $ac_status); } && | 3586 | (exit $ac_status); } && |
| 3579 | { ac_try='test -z "$ac_c_werror_flag" | 3587 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 3580 | || test ! -s conftest.err' | ||
| 3581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3588 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3582 | (eval $ac_try) 2>&5 | 3589 | (eval $ac_try) 2>&5 |
| 3583 | ac_status=$? | 3590 | ac_status=$? |
| @@ -4210,8 +4217,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 4210 | cat conftest.err >&5 | 4217 | cat conftest.err >&5 |
| 4211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4212 | (exit $ac_status); } && | 4219 | (exit $ac_status); } && |
| 4213 | { ac_try='test -z "$ac_c_werror_flag" | 4220 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4214 | || test ! -s conftest.err' | ||
| 4215 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4221 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4216 | (eval $ac_try) 2>&5 | 4222 | (eval $ac_try) 2>&5 |
| 4217 | ac_status=$? | 4223 | ac_status=$? |
| @@ -4487,8 +4493,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 4487 | cat conftest.err >&5 | 4493 | cat conftest.err >&5 |
| 4488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4489 | (exit $ac_status); } && | 4495 | (exit $ac_status); } && |
| 4490 | { ac_try='test -z "$ac_c_werror_flag" | 4496 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4491 | || test ! -s conftest.err' | ||
| 4492 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4493 | (eval $ac_try) 2>&5 | 4498 | (eval $ac_try) 2>&5 |
| 4494 | ac_status=$? | 4499 | ac_status=$? |
| @@ -4517,8 +4522,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 4517 | cat conftest.err >&5 | 4522 | cat conftest.err >&5 |
| 4518 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4519 | (exit $ac_status); } && | 4524 | (exit $ac_status); } && |
| 4520 | { ac_try='test -z "$ac_c_werror_flag" | 4525 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4521 | || test ! -s conftest.err' | ||
| 4522 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4526 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4523 | (eval $ac_try) 2>&5 | 4527 | (eval $ac_try) 2>&5 |
| 4524 | ac_status=$? | 4528 | ac_status=$? |
| @@ -4588,8 +4592,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 4588 | cat conftest.err >&5 | 4592 | cat conftest.err >&5 |
| 4589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4590 | (exit $ac_status); } && | 4594 | (exit $ac_status); } && |
| 4591 | { ac_try='test -z "$ac_c_werror_flag" | 4595 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4592 | || test ! -s conftest.err' | ||
| 4593 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4596 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4594 | (eval $ac_try) 2>&5 | 4597 | (eval $ac_try) 2>&5 |
| 4595 | ac_status=$? | 4598 | ac_status=$? |
| @@ -4641,8 +4644,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 4641 | cat conftest.err >&5 | 4644 | cat conftest.err >&5 |
| 4642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4643 | (exit $ac_status); } && | 4646 | (exit $ac_status); } && |
| 4644 | { ac_try='test -z "$ac_c_werror_flag" | 4647 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4645 | || test ! -s conftest.err' | ||
| 4646 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4648 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4647 | (eval $ac_try) 2>&5 | 4649 | (eval $ac_try) 2>&5 |
| 4648 | ac_status=$? | 4650 | ac_status=$? |
| @@ -4713,8 +4715,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 4713 | cat conftest.err >&5 | 4715 | cat conftest.err >&5 |
| 4714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4715 | (exit $ac_status); } && | 4717 | (exit $ac_status); } && |
| 4716 | { ac_try='test -z "$ac_c_werror_flag" | 4718 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4717 | || test ! -s conftest.err' | ||
| 4718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4719 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4719 | (eval $ac_try) 2>&5 | 4720 | (eval $ac_try) 2>&5 |
| 4720 | ac_status=$? | 4721 | ac_status=$? |
| @@ -4766,8 +4767,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 4766 | cat conftest.err >&5 | 4767 | cat conftest.err >&5 |
| 4767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4768 | (exit $ac_status); } && | 4769 | (exit $ac_status); } && |
| 4769 | { ac_try='test -z "$ac_c_werror_flag" | 4770 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4770 | || test ! -s conftest.err' | ||
| 4771 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4771 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4772 | (eval $ac_try) 2>&5 | 4772 | (eval $ac_try) 2>&5 |
| 4773 | ac_status=$? | 4773 | ac_status=$? |
| @@ -4837,8 +4837,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 4837 | cat conftest.err >&5 | 4837 | cat conftest.err >&5 |
| 4838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4839 | (exit $ac_status); } && | 4839 | (exit $ac_status); } && |
| 4840 | { ac_try='test -z "$ac_c_werror_flag" | 4840 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4841 | || test ! -s conftest.err' | ||
| 4842 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4843 | (eval $ac_try) 2>&5 | 4842 | (eval $ac_try) 2>&5 |
| 4844 | ac_status=$? | 4843 | ac_status=$? |
| @@ -5008,8 +5007,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5008 | cat conftest.err >&5 | 5007 | cat conftest.err >&5 |
| 5009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5010 | (exit $ac_status); } && | 5009 | (exit $ac_status); } && |
| 5011 | { ac_try='test -z "$ac_c_werror_flag" | 5010 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5012 | || test ! -s conftest.err' | ||
| 5013 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5011 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5014 | (eval $ac_try) 2>&5 | 5012 | (eval $ac_try) 2>&5 |
| 5015 | ac_status=$? | 5013 | ac_status=$? |
| @@ -5078,8 +5076,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5078 | cat conftest.err >&5 | 5076 | cat conftest.err >&5 |
| 5079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5080 | (exit $ac_status); } && | 5078 | (exit $ac_status); } && |
| 5081 | { ac_try='test -z "$ac_c_werror_flag" | 5079 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5082 | || test ! -s conftest.err' | ||
| 5083 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5080 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5084 | (eval $ac_try) 2>&5 | 5081 | (eval $ac_try) 2>&5 |
| 5085 | ac_status=$? | 5082 | ac_status=$? |
| @@ -5233,8 +5230,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 5233 | cat conftest.err >&5 | 5230 | cat conftest.err >&5 |
| 5234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5235 | (exit $ac_status); } && | 5232 | (exit $ac_status); } && |
| 5236 | { ac_try='test -z "$ac_c_werror_flag" | 5233 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5237 | || test ! -s conftest.err' | ||
| 5238 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5234 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5239 | (eval $ac_try) 2>&5 | 5235 | (eval $ac_try) 2>&5 |
| 5240 | ac_status=$? | 5236 | ac_status=$? |
| @@ -5330,8 +5326,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5330 | cat conftest.err >&5 | 5326 | cat conftest.err >&5 |
| 5331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5327 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5332 | (exit $ac_status); } && | 5328 | (exit $ac_status); } && |
| 5333 | { ac_try='test -z "$ac_c_werror_flag" | 5329 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5334 | || test ! -s conftest.err' | ||
| 5335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5330 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5336 | (eval $ac_try) 2>&5 | 5331 | (eval $ac_try) 2>&5 |
| 5337 | ac_status=$? | 5332 | ac_status=$? |
| @@ -5473,8 +5468,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5473 | cat conftest.err >&5 | 5468 | cat conftest.err >&5 |
| 5474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5475 | (exit $ac_status); } && | 5470 | (exit $ac_status); } && |
| 5476 | { ac_try='test -z "$ac_c_werror_flag" | 5471 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5477 | || test ! -s conftest.err' | ||
| 5478 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5479 | (eval $ac_try) 2>&5 | 5473 | (eval $ac_try) 2>&5 |
| 5480 | ac_status=$? | 5474 | ac_status=$? |
| @@ -5593,8 +5587,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5593 | cat conftest.err >&5 | 5587 | cat conftest.err >&5 |
| 5594 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5588 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5595 | (exit $ac_status); } && | 5589 | (exit $ac_status); } && |
| 5596 | { ac_try='test -z "$ac_c_werror_flag" | 5590 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5597 | || test ! -s conftest.err' | ||
| 5598 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5591 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5599 | (eval $ac_try) 2>&5 | 5592 | (eval $ac_try) 2>&5 |
| 5600 | ac_status=$? | 5593 | ac_status=$? |
| @@ -5759,8 +5752,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5759 | cat conftest.err >&5 | 5752 | cat conftest.err >&5 |
| 5760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5761 | (exit $ac_status); } && | 5754 | (exit $ac_status); } && |
| 5762 | { ac_try='test -z "$ac_c_werror_flag" | 5755 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5763 | || test ! -s conftest.err' | ||
| 5764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5765 | (eval $ac_try) 2>&5 | 5757 | (eval $ac_try) 2>&5 |
| 5766 | ac_status=$? | 5758 | ac_status=$? |
| @@ -5823,8 +5815,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5823 | cat conftest.err >&5 | 5815 | cat conftest.err >&5 |
| 5824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5825 | (exit $ac_status); } && | 5817 | (exit $ac_status); } && |
| 5826 | { ac_try='test -z "$ac_c_werror_flag" | 5818 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5827 | || test ! -s conftest.err' | ||
| 5828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5819 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5829 | (eval $ac_try) 2>&5 | 5820 | (eval $ac_try) 2>&5 |
| 5830 | ac_status=$? | 5821 | ac_status=$? |
| @@ -5897,8 +5888,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5897 | cat conftest.err >&5 | 5888 | cat conftest.err >&5 |
| 5898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5899 | (exit $ac_status); } && | 5890 | (exit $ac_status); } && |
| 5900 | { ac_try='test -z "$ac_c_werror_flag" | 5891 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5901 | || test ! -s conftest.err' | ||
| 5902 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5892 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5903 | (eval $ac_try) 2>&5 | 5893 | (eval $ac_try) 2>&5 |
| 5904 | ac_status=$? | 5894 | ac_status=$? |
| @@ -5984,8 +5974,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 5984 | cat conftest.err >&5 | 5974 | cat conftest.err >&5 |
| 5985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5986 | (exit $ac_status); } && | 5976 | (exit $ac_status); } && |
| 5987 | { ac_try='test -z "$ac_c_werror_flag" | 5977 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 5988 | || test ! -s conftest.err' | ||
| 5989 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5978 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5990 | (eval $ac_try) 2>&5 | 5979 | (eval $ac_try) 2>&5 |
| 5991 | ac_status=$? | 5980 | ac_status=$? |
| @@ -6058,8 +6047,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6058 | cat conftest.err >&5 | 6047 | cat conftest.err >&5 |
| 6059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6060 | (exit $ac_status); } && | 6049 | (exit $ac_status); } && |
| 6061 | { ac_try='test -z "$ac_c_werror_flag" | 6050 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6062 | || test ! -s conftest.err' | ||
| 6063 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6064 | (eval $ac_try) 2>&5 | 6052 | (eval $ac_try) 2>&5 |
| 6065 | ac_status=$? | 6053 | ac_status=$? |
| @@ -6129,8 +6117,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6129 | cat conftest.err >&5 | 6117 | cat conftest.err >&5 |
| 6130 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6131 | (exit $ac_status); } && | 6119 | (exit $ac_status); } && |
| 6132 | { ac_try='test -z "$ac_c_werror_flag" | 6120 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6133 | || test ! -s conftest.err' | ||
| 6134 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6121 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6135 | (eval $ac_try) 2>&5 | 6122 | (eval $ac_try) 2>&5 |
| 6136 | ac_status=$? | 6123 | ac_status=$? |
| @@ -6189,8 +6176,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6189 | cat conftest.err >&5 | 6176 | cat conftest.err >&5 |
| 6190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6191 | (exit $ac_status); } && | 6178 | (exit $ac_status); } && |
| 6192 | { ac_try='test -z "$ac_c_werror_flag" | 6179 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6193 | || test ! -s conftest.err' | ||
| 6194 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6180 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6195 | (eval $ac_try) 2>&5 | 6181 | (eval $ac_try) 2>&5 |
| 6196 | ac_status=$? | 6182 | ac_status=$? |
| @@ -6259,8 +6245,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6259 | cat conftest.err >&5 | 6245 | cat conftest.err >&5 |
| 6260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6261 | (exit $ac_status); } && | 6247 | (exit $ac_status); } && |
| 6262 | { ac_try='test -z "$ac_c_werror_flag" | 6248 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6263 | || test ! -s conftest.err' | ||
| 6264 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6249 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6265 | (eval $ac_try) 2>&5 | 6250 | (eval $ac_try) 2>&5 |
| 6266 | ac_status=$? | 6251 | ac_status=$? |
| @@ -6321,8 +6306,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6321 | cat conftest.err >&5 | 6306 | cat conftest.err >&5 |
| 6322 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6323 | (exit $ac_status); } && | 6308 | (exit $ac_status); } && |
| 6324 | { ac_try='test -z "$ac_c_werror_flag" | 6309 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6325 | || test ! -s conftest.err' | ||
| 6326 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6327 | (eval $ac_try) 2>&5 | 6311 | (eval $ac_try) 2>&5 |
| 6328 | ac_status=$? | 6312 | ac_status=$? |
| @@ -6388,8 +6372,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6388 | cat conftest.err >&5 | 6372 | cat conftest.err >&5 |
| 6389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6390 | (exit $ac_status); } && | 6374 | (exit $ac_status); } && |
| 6391 | { ac_try='test -z "$ac_c_werror_flag" | 6375 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6392 | || test ! -s conftest.err' | ||
| 6393 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6394 | (eval $ac_try) 2>&5 | 6377 | (eval $ac_try) 2>&5 |
| 6395 | ac_status=$? | 6378 | ac_status=$? |
| @@ -6535,8 +6518,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6535 | cat conftest.err >&5 | 6518 | cat conftest.err >&5 |
| 6536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6537 | (exit $ac_status); } && | 6520 | (exit $ac_status); } && |
| 6538 | { ac_try='test -z "$ac_c_werror_flag" | 6521 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6539 | || test ! -s conftest.err' | ||
| 6540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6522 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6541 | (eval $ac_try) 2>&5 | 6523 | (eval $ac_try) 2>&5 |
| 6542 | ac_status=$? | 6524 | ac_status=$? |
| @@ -6600,8 +6582,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6600 | cat conftest.err >&5 | 6582 | cat conftest.err >&5 |
| 6601 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6602 | (exit $ac_status); } && | 6584 | (exit $ac_status); } && |
| 6603 | { ac_try='test -z "$ac_c_werror_flag" | 6585 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6604 | || test ! -s conftest.err' | ||
| 6605 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6606 | (eval $ac_try) 2>&5 | 6587 | (eval $ac_try) 2>&5 |
| 6607 | ac_status=$? | 6588 | ac_status=$? |
| @@ -6666,8 +6647,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6666 | cat conftest.err >&5 | 6647 | cat conftest.err >&5 |
| 6667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6668 | (exit $ac_status); } && | 6649 | (exit $ac_status); } && |
| 6669 | { ac_try='test -z "$ac_c_werror_flag" | 6650 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6670 | || test ! -s conftest.err' | ||
| 6671 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6651 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6672 | (eval $ac_try) 2>&5 | 6652 | (eval $ac_try) 2>&5 |
| 6673 | ac_status=$? | 6653 | ac_status=$? |
| @@ -6713,8 +6693,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6713 | cat conftest.err >&5 | 6693 | cat conftest.err >&5 |
| 6714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6715 | (exit $ac_status); } && | 6695 | (exit $ac_status); } && |
| 6716 | { ac_try='test -z "$ac_c_werror_flag" | 6696 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6717 | || test ! -s conftest.err' | ||
| 6718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6697 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6719 | (eval $ac_try) 2>&5 | 6698 | (eval $ac_try) 2>&5 |
| 6720 | ac_status=$? | 6699 | ac_status=$? |
| @@ -6788,8 +6767,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 6788 | cat conftest.err >&5 | 6767 | cat conftest.err >&5 |
| 6789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6790 | (exit $ac_status); } && | 6769 | (exit $ac_status); } && |
| 6791 | { ac_try='test -z "$ac_c_werror_flag" | 6770 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6792 | || test ! -s conftest.err' | ||
| 6793 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6771 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6794 | (eval $ac_try) 2>&5 | 6772 | (eval $ac_try) 2>&5 |
| 6795 | ac_status=$? | 6773 | ac_status=$? |
| @@ -6854,8 +6832,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6854 | cat conftest.err >&5 | 6832 | cat conftest.err >&5 |
| 6855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6856 | (exit $ac_status); } && | 6834 | (exit $ac_status); } && |
| 6857 | { ac_try='test -z "$ac_c_werror_flag" | 6835 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6858 | || test ! -s conftest.err' | ||
| 6859 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6836 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6860 | (eval $ac_try) 2>&5 | 6837 | (eval $ac_try) 2>&5 |
| 6861 | ac_status=$? | 6838 | ac_status=$? |
| @@ -6899,8 +6876,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6899 | cat conftest.err >&5 | 6876 | cat conftest.err >&5 |
| 6900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6901 | (exit $ac_status); } && | 6878 | (exit $ac_status); } && |
| 6902 | { ac_try='test -z "$ac_c_werror_flag" | 6879 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6903 | || test ! -s conftest.err' | ||
| 6904 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6880 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6905 | (eval $ac_try) 2>&5 | 6881 | (eval $ac_try) 2>&5 |
| 6906 | ac_status=$? | 6882 | ac_status=$? |
| @@ -6971,8 +6947,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 6971 | cat conftest.err >&5 | 6947 | cat conftest.err >&5 |
| 6972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6973 | (exit $ac_status); } && | 6949 | (exit $ac_status); } && |
| 6974 | { ac_try='test -z "$ac_c_werror_flag" | 6950 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6975 | || test ! -s conftest.err' | ||
| 6976 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6977 | (eval $ac_try) 2>&5 | 6952 | (eval $ac_try) 2>&5 |
| 6978 | ac_status=$? | 6953 | ac_status=$? |
| @@ -7022,8 +6997,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7022 | cat conftest.err >&5 | 6997 | cat conftest.err >&5 |
| 7023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7024 | (exit $ac_status); } && | 6999 | (exit $ac_status); } && |
| 7025 | { ac_try='test -z "$ac_c_werror_flag" | 7000 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7026 | || test ! -s conftest.err' | ||
| 7027 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7001 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7028 | (eval $ac_try) 2>&5 | 7002 | (eval $ac_try) 2>&5 |
| 7029 | ac_status=$? | 7003 | ac_status=$? |
| @@ -7094,8 +7068,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7094 | cat conftest.err >&5 | 7068 | cat conftest.err >&5 |
| 7095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7069 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7096 | (exit $ac_status); } && | 7070 | (exit $ac_status); } && |
| 7097 | { ac_try='test -z "$ac_c_werror_flag" | 7071 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7098 | || test ! -s conftest.err' | ||
| 7099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7072 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7100 | (eval $ac_try) 2>&5 | 7073 | (eval $ac_try) 2>&5 |
| 7101 | ac_status=$? | 7074 | ac_status=$? |
| @@ -7145,8 +7118,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7145 | cat conftest.err >&5 | 7118 | cat conftest.err >&5 |
| 7146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7147 | (exit $ac_status); } && | 7120 | (exit $ac_status); } && |
| 7148 | { ac_try='test -z "$ac_c_werror_flag" | 7121 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7149 | || test ! -s conftest.err' | ||
| 7150 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7151 | (eval $ac_try) 2>&5 | 7123 | (eval $ac_try) 2>&5 |
| 7152 | ac_status=$? | 7124 | ac_status=$? |
| @@ -7217,8 +7189,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7217 | cat conftest.err >&5 | 7189 | cat conftest.err >&5 |
| 7218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7219 | (exit $ac_status); } && | 7191 | (exit $ac_status); } && |
| 7220 | { ac_try='test -z "$ac_c_werror_flag" | 7192 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7221 | || test ! -s conftest.err' | ||
| 7222 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7193 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7223 | (eval $ac_try) 2>&5 | 7194 | (eval $ac_try) 2>&5 |
| 7224 | ac_status=$? | 7195 | ac_status=$? |
| @@ -7268,8 +7239,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7268 | cat conftest.err >&5 | 7239 | cat conftest.err >&5 |
| 7269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7270 | (exit $ac_status); } && | 7241 | (exit $ac_status); } && |
| 7271 | { ac_try='test -z "$ac_c_werror_flag" | 7242 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7272 | || test ! -s conftest.err' | ||
| 7273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7243 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7274 | (eval $ac_try) 2>&5 | 7244 | (eval $ac_try) 2>&5 |
| 7275 | ac_status=$? | 7245 | ac_status=$? |
| @@ -7340,8 +7310,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7340 | cat conftest.err >&5 | 7310 | cat conftest.err >&5 |
| 7341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7342 | (exit $ac_status); } && | 7312 | (exit $ac_status); } && |
| 7343 | { ac_try='test -z "$ac_c_werror_flag" | 7313 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7344 | || test ! -s conftest.err' | ||
| 7345 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7346 | (eval $ac_try) 2>&5 | 7315 | (eval $ac_try) 2>&5 |
| 7347 | ac_status=$? | 7316 | ac_status=$? |
| @@ -7391,8 +7360,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7391 | cat conftest.err >&5 | 7360 | cat conftest.err >&5 |
| 7392 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7393 | (exit $ac_status); } && | 7362 | (exit $ac_status); } && |
| 7394 | { ac_try='test -z "$ac_c_werror_flag" | 7363 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7395 | || test ! -s conftest.err' | ||
| 7396 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7364 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7397 | (eval $ac_try) 2>&5 | 7365 | (eval $ac_try) 2>&5 |
| 7398 | ac_status=$? | 7366 | ac_status=$? |
| @@ -7463,8 +7431,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7463 | cat conftest.err >&5 | 7431 | cat conftest.err >&5 |
| 7464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7465 | (exit $ac_status); } && | 7433 | (exit $ac_status); } && |
| 7466 | { ac_try='test -z "$ac_c_werror_flag" | 7434 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7467 | || test ! -s conftest.err' | ||
| 7468 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7435 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7469 | (eval $ac_try) 2>&5 | 7436 | (eval $ac_try) 2>&5 |
| 7470 | ac_status=$? | 7437 | ac_status=$? |
| @@ -7514,8 +7481,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7514 | cat conftest.err >&5 | 7481 | cat conftest.err >&5 |
| 7515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7516 | (exit $ac_status); } && | 7483 | (exit $ac_status); } && |
| 7517 | { ac_try='test -z "$ac_c_werror_flag" | 7484 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7518 | || test ! -s conftest.err' | ||
| 7519 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7485 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7520 | (eval $ac_try) 2>&5 | 7486 | (eval $ac_try) 2>&5 |
| 7521 | ac_status=$? | 7487 | ac_status=$? |
| @@ -7602,8 +7568,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7602 | cat conftest.err >&5 | 7568 | cat conftest.err >&5 |
| 7603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7604 | (exit $ac_status); } && | 7570 | (exit $ac_status); } && |
| 7605 | { ac_try='test -z "$ac_c_werror_flag" | 7571 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7606 | || test ! -s conftest.err' | ||
| 7607 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7572 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7608 | (eval $ac_try) 2>&5 | 7573 | (eval $ac_try) 2>&5 |
| 7609 | ac_status=$? | 7574 | ac_status=$? |
| @@ -7709,8 +7674,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7709 | cat conftest.err >&5 | 7674 | cat conftest.err >&5 |
| 7710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7711 | (exit $ac_status); } && | 7676 | (exit $ac_status); } && |
| 7712 | { ac_try='test -z "$ac_c_werror_flag" | 7677 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7713 | || test ! -s conftest.err' | ||
| 7714 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7678 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7715 | (eval $ac_try) 2>&5 | 7679 | (eval $ac_try) 2>&5 |
| 7716 | ac_status=$? | 7680 | ac_status=$? |
| @@ -7770,8 +7734,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 7770 | cat conftest.err >&5 | 7734 | cat conftest.err >&5 |
| 7771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7772 | (exit $ac_status); } && | 7736 | (exit $ac_status); } && |
| 7773 | { ac_try='test -z "$ac_c_werror_flag" | 7737 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7774 | || test ! -s conftest.err' | ||
| 7775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7738 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7776 | (eval $ac_try) 2>&5 | 7739 | (eval $ac_try) 2>&5 |
| 7777 | ac_status=$? | 7740 | ac_status=$? |
| @@ -7895,6 +7858,7 @@ fi | |||
| 7895 | echo "$as_me:$LINENO: checking for X" >&5 | 7858 | echo "$as_me:$LINENO: checking for X" >&5 |
| 7896 | echo $ECHO_N "checking for X... $ECHO_C" >&6 | 7859 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
| 7897 | 7860 | ||
| 7861 | ac_path_x_has_been_run=yes | ||
| 7898 | 7862 | ||
| 7899 | # Check whether --with-x or --without-x was given. | 7863 | # Check whether --with-x or --without-x was given. |
| 7900 | if test "${with_x+set}" = set; then | 7864 | if test "${with_x+set}" = set; then |
| @@ -7987,7 +7951,7 @@ ac_x_header_dirs=' | |||
| 7987 | /usr/openwin/share/include' | 7951 | /usr/openwin/share/include' |
| 7988 | 7952 | ||
| 7989 | if test "$ac_x_includes" = no; then | 7953 | if test "$ac_x_includes" = no; then |
| 7990 | # Guess where to find include files, by looking for Intrinsic.h. | 7954 | # Guess where to find include files, by looking for a specified header file. |
| 7991 | # First, try using that file with no special directory specified. | 7955 | # First, try using that file with no special directory specified. |
| 7992 | cat >conftest.$ac_ext <<_ACEOF | 7956 | cat >conftest.$ac_ext <<_ACEOF |
| 7993 | /* confdefs.h. */ | 7957 | /* confdefs.h. */ |
| @@ -8061,8 +8025,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 8061 | cat conftest.err >&5 | 8025 | cat conftest.err >&5 |
| 8062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8063 | (exit $ac_status); } && | 8027 | (exit $ac_status); } && |
| 8064 | { ac_try='test -z "$ac_c_werror_flag" | 8028 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8065 | || test ! -s conftest.err' | ||
| 8066 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8029 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8067 | (eval $ac_try) 2>&5 | 8030 | (eval $ac_try) 2>&5 |
| 8068 | ac_status=$? | 8031 | ac_status=$? |
| @@ -8122,8 +8085,12 @@ else | |||
| 8122 | # Update the cache value to reflect the command line values. | 8085 | # Update the cache value to reflect the command line values. |
| 8123 | ac_cv_have_x="have_x=yes \ | 8086 | ac_cv_have_x="have_x=yes \ |
| 8124 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | 8087 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
| 8125 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 | 8088 | # It might be that x_includes is empty (headers are found in the |
| 8126 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 | 8089 | # standard search path. Then output the corresponding message |
| 8090 | ac_out_x_includes=$x_includes | ||
| 8091 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" | ||
| 8092 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 | ||
| 8093 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 | ||
| 8127 | fi | 8094 | fi |
| 8128 | 8095 | ||
| 8129 | if test "$no_x" = yes; then | 8096 | if test "$no_x" = yes; then |
| @@ -8248,8 +8215,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 8248 | cat conftest.err >&5 | 8215 | cat conftest.err >&5 |
| 8249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8250 | (exit $ac_status); } && | 8217 | (exit $ac_status); } && |
| 8251 | { ac_try='test -z "$ac_c_werror_flag" | 8218 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8252 | || test ! -s conftest.err' | ||
| 8253 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8254 | (eval $ac_try) 2>&5 | 8220 | (eval $ac_try) 2>&5 |
| 8255 | ac_status=$? | 8221 | ac_status=$? |
| @@ -8435,8 +8401,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 8435 | cat conftest.err >&5 | 8401 | cat conftest.err >&5 |
| 8436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8437 | (exit $ac_status); } && | 8403 | (exit $ac_status); } && |
| 8438 | { ac_try='test -z "$ac_c_werror_flag" | 8404 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8439 | || test ! -s conftest.err' | ||
| 8440 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8405 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8441 | (eval $ac_try) 2>&5 | 8406 | (eval $ac_try) 2>&5 |
| 8442 | ac_status=$? | 8407 | ac_status=$? |
| @@ -8531,8 +8496,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 8531 | cat conftest.err >&5 | 8496 | cat conftest.err >&5 |
| 8532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8533 | (exit $ac_status); } && | 8498 | (exit $ac_status); } && |
| 8534 | { ac_try='test -z "$ac_c_werror_flag" | 8499 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8535 | || test ! -s conftest.err' | ||
| 8536 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8500 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8537 | (eval $ac_try) 2>&5 | 8501 | (eval $ac_try) 2>&5 |
| 8538 | ac_status=$? | 8502 | ac_status=$? |
| @@ -8591,8 +8555,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 8591 | cat conftest.err >&5 | 8555 | cat conftest.err >&5 |
| 8592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8556 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8593 | (exit $ac_status); } && | 8557 | (exit $ac_status); } && |
| 8594 | { ac_try='test -z "$ac_c_werror_flag" | 8558 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8595 | || test ! -s conftest.err' | ||
| 8596 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8559 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8597 | (eval $ac_try) 2>&5 | 8560 | (eval $ac_try) 2>&5 |
| 8598 | ac_status=$? | 8561 | ac_status=$? |
| @@ -8676,8 +8639,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 8676 | cat conftest.err >&5 | 8639 | cat conftest.err >&5 |
| 8677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8678 | (exit $ac_status); } && | 8641 | (exit $ac_status); } && |
| 8679 | { ac_try='test -z "$ac_c_werror_flag" | 8642 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8680 | || test ! -s conftest.err' | ||
| 8681 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8643 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8682 | (eval $ac_try) 2>&5 | 8644 | (eval $ac_try) 2>&5 |
| 8683 | ac_status=$? | 8645 | ac_status=$? |
| @@ -8861,8 +8823,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 8861 | cat conftest.err >&5 | 8823 | cat conftest.err >&5 |
| 8862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8863 | (exit $ac_status); } && | 8825 | (exit $ac_status); } && |
| 8864 | { ac_try='test -z "$ac_c_werror_flag" | 8826 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8865 | || test ! -s conftest.err' | ||
| 8866 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8827 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8867 | (eval $ac_try) 2>&5 | 8828 | (eval $ac_try) 2>&5 |
| 8868 | ac_status=$? | 8829 | ac_status=$? |
| @@ -9114,8 +9075,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9114 | cat conftest.err >&5 | 9075 | cat conftest.err >&5 |
| 9115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9076 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9116 | (exit $ac_status); } && | 9077 | (exit $ac_status); } && |
| 9117 | { ac_try='test -z "$ac_c_werror_flag" | 9078 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9118 | || test ! -s conftest.err' | ||
| 9119 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9079 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9120 | (eval $ac_try) 2>&5 | 9080 | (eval $ac_try) 2>&5 |
| 9121 | ac_status=$? | 9081 | ac_status=$? |
| @@ -9182,8 +9142,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9182 | cat conftest.err >&5 | 9142 | cat conftest.err >&5 |
| 9183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9184 | (exit $ac_status); } && | 9144 | (exit $ac_status); } && |
| 9185 | { ac_try='test -z "$ac_c_werror_flag" | 9145 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9186 | || test ! -s conftest.err' | ||
| 9187 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9188 | (eval $ac_try) 2>&5 | 9147 | (eval $ac_try) 2>&5 |
| 9189 | ac_status=$? | 9148 | ac_status=$? |
| @@ -9252,8 +9211,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9252 | cat conftest.err >&5 | 9211 | cat conftest.err >&5 |
| 9253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9254 | (exit $ac_status); } && | 9213 | (exit $ac_status); } && |
| 9255 | { ac_try='test -z "$ac_c_werror_flag" | 9214 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9256 | || test ! -s conftest.err' | ||
| 9257 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9215 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9258 | (eval $ac_try) 2>&5 | 9216 | (eval $ac_try) 2>&5 |
| 9259 | ac_status=$? | 9217 | ac_status=$? |
| @@ -9338,8 +9296,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9338 | cat conftest.err >&5 | 9296 | cat conftest.err >&5 |
| 9339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9340 | (exit $ac_status); } && | 9298 | (exit $ac_status); } && |
| 9341 | { ac_try='test -z "$ac_c_werror_flag" | 9299 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9342 | || test ! -s conftest.err' | ||
| 9343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9300 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9344 | (eval $ac_try) 2>&5 | 9301 | (eval $ac_try) 2>&5 |
| 9345 | ac_status=$? | 9302 | ac_status=$? |
| @@ -9416,8 +9373,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9416 | cat conftest.err >&5 | 9373 | cat conftest.err >&5 |
| 9417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9418 | (exit $ac_status); } && | 9375 | (exit $ac_status); } && |
| 9419 | { ac_try='test -z "$ac_c_werror_flag" | 9376 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9420 | || test ! -s conftest.err' | ||
| 9421 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9377 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9422 | (eval $ac_try) 2>&5 | 9378 | (eval $ac_try) 2>&5 |
| 9423 | ac_status=$? | 9379 | ac_status=$? |
| @@ -9471,8 +9427,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9471 | cat conftest.err >&5 | 9427 | cat conftest.err >&5 |
| 9472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9473 | (exit $ac_status); } && | 9429 | (exit $ac_status); } && |
| 9474 | { ac_try='test -z "$ac_c_werror_flag" | 9430 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9475 | || test ! -s conftest.err' | ||
| 9476 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9431 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9477 | (eval $ac_try) 2>&5 | 9432 | (eval $ac_try) 2>&5 |
| 9478 | ac_status=$? | 9433 | ac_status=$? |
| @@ -9541,8 +9496,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9541 | cat conftest.err >&5 | 9496 | cat conftest.err >&5 |
| 9542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9543 | (exit $ac_status); } && | 9498 | (exit $ac_status); } && |
| 9544 | { ac_try='test -z "$ac_c_werror_flag" | 9499 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9545 | || test ! -s conftest.err' | ||
| 9546 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9500 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9547 | (eval $ac_try) 2>&5 | 9501 | (eval $ac_try) 2>&5 |
| 9548 | ac_status=$? | 9502 | ac_status=$? |
| @@ -9646,8 +9600,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9646 | cat conftest.err >&5 | 9600 | cat conftest.err >&5 |
| 9647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9601 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9648 | (exit $ac_status); } && | 9602 | (exit $ac_status); } && |
| 9649 | { ac_try='test -z "$ac_c_werror_flag" | 9603 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9650 | || test ! -s conftest.err' | ||
| 9651 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9604 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9652 | (eval $ac_try) 2>&5 | 9605 | (eval $ac_try) 2>&5 |
| 9653 | ac_status=$? | 9606 | ac_status=$? |
| @@ -9714,8 +9667,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9714 | cat conftest.err >&5 | 9667 | cat conftest.err >&5 |
| 9715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9716 | (exit $ac_status); } && | 9669 | (exit $ac_status); } && |
| 9717 | { ac_try='test -z "$ac_c_werror_flag" | 9670 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9718 | || test ! -s conftest.err' | ||
| 9719 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9671 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9720 | (eval $ac_try) 2>&5 | 9672 | (eval $ac_try) 2>&5 |
| 9721 | ac_status=$? | 9673 | ac_status=$? |
| @@ -9785,8 +9737,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 9785 | cat conftest.err >&5 | 9737 | cat conftest.err >&5 |
| 9786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9787 | (exit $ac_status); } && | 9739 | (exit $ac_status); } && |
| 9788 | { ac_try='test -z "$ac_c_werror_flag" | 9740 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9789 | || test ! -s conftest.err' | ||
| 9790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9741 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9791 | (eval $ac_try) 2>&5 | 9742 | (eval $ac_try) 2>&5 |
| 9792 | ac_status=$? | 9743 | ac_status=$? |
| @@ -10026,8 +9977,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10026 | cat conftest.err >&5 | 9977 | cat conftest.err >&5 |
| 10027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10028 | (exit $ac_status); } && | 9979 | (exit $ac_status); } && |
| 10029 | { ac_try='test -z "$ac_c_werror_flag" | 9980 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10030 | || test ! -s conftest.err' | ||
| 10031 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9981 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10032 | (eval $ac_try) 2>&5 | 9982 | (eval $ac_try) 2>&5 |
| 10033 | ac_status=$? | 9983 | ac_status=$? |
| @@ -10136,8 +10086,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10136 | cat conftest.err >&5 | 10086 | cat conftest.err >&5 |
| 10137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10138 | (exit $ac_status); } && | 10088 | (exit $ac_status); } && |
| 10139 | { ac_try='test -z "$ac_c_werror_flag" | 10089 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10140 | || test ! -s conftest.err' | ||
| 10141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10090 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10142 | (eval $ac_try) 2>&5 | 10091 | (eval $ac_try) 2>&5 |
| 10143 | ac_status=$? | 10092 | ac_status=$? |
| @@ -10240,8 +10189,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10240 | cat conftest.err >&5 | 10189 | cat conftest.err >&5 |
| 10241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10242 | (exit $ac_status); } && | 10191 | (exit $ac_status); } && |
| 10243 | { ac_try='test -z "$ac_c_werror_flag" | 10192 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10244 | || test ! -s conftest.err' | ||
| 10245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10193 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10246 | (eval $ac_try) 2>&5 | 10194 | (eval $ac_try) 2>&5 |
| 10247 | ac_status=$? | 10195 | ac_status=$? |
| @@ -10319,8 +10267,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 10319 | cat conftest.err >&5 | 10267 | cat conftest.err >&5 |
| 10320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10321 | (exit $ac_status); } && | 10269 | (exit $ac_status); } && |
| 10322 | { ac_try='test -z "$ac_c_werror_flag" | 10270 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10323 | || test ! -s conftest.err' | ||
| 10324 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10325 | (eval $ac_try) 2>&5 | 10272 | (eval $ac_try) 2>&5 |
| 10326 | ac_status=$? | 10273 | ac_status=$? |
| @@ -10474,8 +10421,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10474 | cat conftest.err >&5 | 10421 | cat conftest.err >&5 |
| 10475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10476 | (exit $ac_status); } && | 10423 | (exit $ac_status); } && |
| 10477 | { ac_try='test -z "$ac_c_werror_flag" | 10424 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10478 | || test ! -s conftest.err' | ||
| 10479 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10425 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10480 | (eval $ac_try) 2>&5 | 10426 | (eval $ac_try) 2>&5 |
| 10481 | ac_status=$? | 10427 | ac_status=$? |
| @@ -10549,8 +10495,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10549 | cat conftest.err >&5 | 10495 | cat conftest.err >&5 |
| 10550 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10551 | (exit $ac_status); } && | 10497 | (exit $ac_status); } && |
| 10552 | { ac_try='test -z "$ac_c_werror_flag" | 10498 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10553 | || test ! -s conftest.err' | ||
| 10554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10555 | (eval $ac_try) 2>&5 | 10500 | (eval $ac_try) 2>&5 |
| 10556 | ac_status=$? | 10501 | ac_status=$? |
| @@ -10622,8 +10567,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10622 | cat conftest.err >&5 | 10567 | cat conftest.err >&5 |
| 10623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10624 | (exit $ac_status); } && | 10569 | (exit $ac_status); } && |
| 10625 | { ac_try='test -z "$ac_c_werror_flag" | 10570 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10626 | || test ! -s conftest.err' | ||
| 10627 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10571 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10628 | (eval $ac_try) 2>&5 | 10572 | (eval $ac_try) 2>&5 |
| 10629 | ac_status=$? | 10573 | ac_status=$? |
| @@ -10705,8 +10649,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10705 | cat conftest.err >&5 | 10649 | cat conftest.err >&5 |
| 10706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10650 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10707 | (exit $ac_status); } && | 10651 | (exit $ac_status); } && |
| 10708 | { ac_try='test -z "$ac_c_werror_flag" | 10652 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10709 | || test ! -s conftest.err' | ||
| 10710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10653 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10711 | (eval $ac_try) 2>&5 | 10654 | (eval $ac_try) 2>&5 |
| 10712 | ac_status=$? | 10655 | ac_status=$? |
| @@ -10785,8 +10728,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10785 | cat conftest.err >&5 | 10728 | cat conftest.err >&5 |
| 10786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10787 | (exit $ac_status); } && | 10730 | (exit $ac_status); } && |
| 10788 | { ac_try='test -z "$ac_c_werror_flag" | 10731 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10789 | || test ! -s conftest.err' | ||
| 10790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10732 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10791 | (eval $ac_try) 2>&5 | 10733 | (eval $ac_try) 2>&5 |
| 10792 | ac_status=$? | 10734 | ac_status=$? |
| @@ -10857,8 +10799,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 10857 | cat conftest.err >&5 | 10799 | cat conftest.err >&5 |
| 10858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10859 | (exit $ac_status); } && | 10801 | (exit $ac_status); } && |
| 10860 | { ac_try='test -z "$ac_c_werror_flag" | 10802 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10861 | || test ! -s conftest.err' | ||
| 10862 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10863 | (eval $ac_try) 2>&5 | 10804 | (eval $ac_try) 2>&5 |
| 10864 | ac_status=$? | 10805 | ac_status=$? |
| @@ -10927,8 +10868,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 10927 | cat conftest.err >&5 | 10868 | cat conftest.err >&5 |
| 10928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10929 | (exit $ac_status); } && | 10870 | (exit $ac_status); } && |
| 10930 | { ac_try='test -z "$ac_c_werror_flag" | 10871 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10931 | || test ! -s conftest.err' | ||
| 10932 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10872 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10933 | (eval $ac_try) 2>&5 | 10873 | (eval $ac_try) 2>&5 |
| 10934 | ac_status=$? | 10874 | ac_status=$? |
| @@ -11001,8 +10941,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 11001 | cat conftest.err >&5 | 10941 | cat conftest.err >&5 |
| 11002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11003 | (exit $ac_status); } && | 10943 | (exit $ac_status); } && |
| 11004 | { ac_try='test -z "$ac_c_werror_flag" | 10944 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11005 | || test ! -s conftest.err' | ||
| 11006 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11007 | (eval $ac_try) 2>&5 | 10946 | (eval $ac_try) 2>&5 |
| 11008 | ac_status=$? | 10947 | ac_status=$? |
| @@ -11125,8 +11064,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 11125 | cat conftest.err >&5 | 11064 | cat conftest.err >&5 |
| 11126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11065 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11127 | (exit $ac_status); } && | 11066 | (exit $ac_status); } && |
| 11128 | { ac_try='test -z "$ac_c_werror_flag" | 11067 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11129 | || test ! -s conftest.err' | ||
| 11130 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11068 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11131 | (eval $ac_try) 2>&5 | 11069 | (eval $ac_try) 2>&5 |
| 11132 | ac_status=$? | 11070 | ac_status=$? |
| @@ -11228,8 +11166,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 11228 | cat conftest.err >&5 | 11166 | cat conftest.err >&5 |
| 11229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11230 | (exit $ac_status); } && | 11168 | (exit $ac_status); } && |
| 11231 | { ac_try='test -z "$ac_c_werror_flag" | 11169 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11232 | || test ! -s conftest.err' | ||
| 11233 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11170 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11234 | (eval $ac_try) 2>&5 | 11171 | (eval $ac_try) 2>&5 |
| 11235 | ac_status=$? | 11172 | ac_status=$? |
| @@ -11309,8 +11246,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 11309 | cat conftest.err >&5 | 11246 | cat conftest.err >&5 |
| 11310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11311 | (exit $ac_status); } && | 11248 | (exit $ac_status); } && |
| 11312 | { ac_try='test -z "$ac_c_werror_flag" | 11249 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11313 | || test ! -s conftest.err' | ||
| 11314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11250 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11315 | (eval $ac_try) 2>&5 | 11251 | (eval $ac_try) 2>&5 |
| 11316 | ac_status=$? | 11252 | ac_status=$? |
| @@ -11378,8 +11314,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 11378 | cat conftest.err >&5 | 11314 | cat conftest.err >&5 |
| 11379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11380 | (exit $ac_status); } && | 11316 | (exit $ac_status); } && |
| 11381 | { ac_try='test -z "$ac_c_werror_flag" | 11317 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11382 | || test ! -s conftest.err' | ||
| 11383 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11318 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11384 | (eval $ac_try) 2>&5 | 11319 | (eval $ac_try) 2>&5 |
| 11385 | ac_status=$? | 11320 | ac_status=$? |
| @@ -11524,8 +11459,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 11524 | cat conftest.err >&5 | 11459 | cat conftest.err >&5 |
| 11525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11526 | (exit $ac_status); } && | 11461 | (exit $ac_status); } && |
| 11527 | { ac_try='test -z "$ac_c_werror_flag" | 11462 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11528 | || test ! -s conftest.err' | ||
| 11529 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11463 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11530 | (eval $ac_try) 2>&5 | 11464 | (eval $ac_try) 2>&5 |
| 11531 | ac_status=$? | 11465 | ac_status=$? |
| @@ -11634,8 +11568,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 11634 | cat conftest.err >&5 | 11568 | cat conftest.err >&5 |
| 11635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11636 | (exit $ac_status); } && | 11570 | (exit $ac_status); } && |
| 11637 | { ac_try='test -z "$ac_c_werror_flag" | 11571 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11638 | || test ! -s conftest.err' | ||
| 11639 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11572 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11640 | (eval $ac_try) 2>&5 | 11573 | (eval $ac_try) 2>&5 |
| 11641 | ac_status=$? | 11574 | ac_status=$? |
| @@ -11780,8 +11713,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 11780 | cat conftest.err >&5 | 11713 | cat conftest.err >&5 |
| 11781 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11782 | (exit $ac_status); } && | 11715 | (exit $ac_status); } && |
| 11783 | { ac_try='test -z "$ac_c_werror_flag" | 11716 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11784 | || test ! -s conftest.err' | ||
| 11785 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11717 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11786 | (eval $ac_try) 2>&5 | 11718 | (eval $ac_try) 2>&5 |
| 11787 | ac_status=$? | 11719 | ac_status=$? |
| @@ -11888,8 +11820,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 11888 | cat conftest.err >&5 | 11820 | cat conftest.err >&5 |
| 11889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11890 | (exit $ac_status); } && | 11822 | (exit $ac_status); } && |
| 11891 | { ac_try='test -z "$ac_c_werror_flag" | 11823 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 11892 | || test ! -s conftest.err' | ||
| 11893 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11824 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11894 | (eval $ac_try) 2>&5 | 11825 | (eval $ac_try) 2>&5 |
| 11895 | ac_status=$? | 11826 | ac_status=$? |
| @@ -12043,8 +11974,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 12043 | cat conftest.err >&5 | 11974 | cat conftest.err >&5 |
| 12044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12045 | (exit $ac_status); } && | 11976 | (exit $ac_status); } && |
| 12046 | { ac_try='test -z "$ac_c_werror_flag" | 11977 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12047 | || test ! -s conftest.err' | ||
| 12048 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11978 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12049 | (eval $ac_try) 2>&5 | 11979 | (eval $ac_try) 2>&5 |
| 12050 | ac_status=$? | 11980 | ac_status=$? |
| @@ -12119,8 +12049,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 12119 | cat conftest.err >&5 | 12049 | cat conftest.err >&5 |
| 12120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12121 | (exit $ac_status); } && | 12051 | (exit $ac_status); } && |
| 12122 | { ac_try='test -z "$ac_c_werror_flag" | 12052 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12123 | || test ! -s conftest.err' | ||
| 12124 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12125 | (eval $ac_try) 2>&5 | 12054 | (eval $ac_try) 2>&5 |
| 12126 | ac_status=$? | 12055 | ac_status=$? |
| @@ -12268,8 +12197,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 12268 | cat conftest.err >&5 | 12197 | cat conftest.err >&5 |
| 12269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12270 | (exit $ac_status); } && | 12199 | (exit $ac_status); } && |
| 12271 | { ac_try='test -z "$ac_c_werror_flag" | 12200 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12272 | || test ! -s conftest.err' | ||
| 12273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12201 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12274 | (eval $ac_try) 2>&5 | 12202 | (eval $ac_try) 2>&5 |
| 12275 | ac_status=$? | 12203 | ac_status=$? |
| @@ -12346,8 +12274,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 12346 | cat conftest.err >&5 | 12274 | cat conftest.err >&5 |
| 12347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12348 | (exit $ac_status); } && | 12276 | (exit $ac_status); } && |
| 12349 | { ac_try='test -z "$ac_c_werror_flag" | 12277 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12350 | || test ! -s conftest.err' | ||
| 12351 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12278 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12352 | (eval $ac_try) 2>&5 | 12279 | (eval $ac_try) 2>&5 |
| 12353 | ac_status=$? | 12280 | ac_status=$? |
| @@ -12494,8 +12421,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 12494 | cat conftest.err >&5 | 12421 | cat conftest.err >&5 |
| 12495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12496 | (exit $ac_status); } && | 12423 | (exit $ac_status); } && |
| 12497 | { ac_try='test -z "$ac_c_werror_flag" | 12424 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12498 | || test ! -s conftest.err' | ||
| 12499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12425 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12500 | (eval $ac_try) 2>&5 | 12426 | (eval $ac_try) 2>&5 |
| 12501 | ac_status=$? | 12427 | ac_status=$? |
| @@ -12568,8 +12494,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 12568 | cat conftest.err >&5 | 12494 | cat conftest.err >&5 |
| 12569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12570 | (exit $ac_status); } && | 12496 | (exit $ac_status); } && |
| 12571 | { ac_try='test -z "$ac_c_werror_flag" | 12497 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12572 | || test ! -s conftest.err' | ||
| 12573 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12574 | (eval $ac_try) 2>&5 | 12499 | (eval $ac_try) 2>&5 |
| 12575 | ac_status=$? | 12500 | ac_status=$? |
| @@ -12738,8 +12663,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 12738 | cat conftest.err >&5 | 12663 | cat conftest.err >&5 |
| 12739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12740 | (exit $ac_status); } && | 12665 | (exit $ac_status); } && |
| 12741 | { ac_try='test -z "$ac_c_werror_flag" | 12666 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12742 | || test ! -s conftest.err' | ||
| 12743 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12744 | (eval $ac_try) 2>&5 | 12668 | (eval $ac_try) 2>&5 |
| 12745 | ac_status=$? | 12669 | ac_status=$? |
| @@ -12884,8 +12808,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 12884 | cat conftest.err >&5 | 12808 | cat conftest.err >&5 |
| 12885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12886 | (exit $ac_status); } && | 12810 | (exit $ac_status); } && |
| 12887 | { ac_try='test -z "$ac_c_werror_flag" | 12811 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12888 | || test ! -s conftest.err' | ||
| 12889 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12890 | (eval $ac_try) 2>&5 | 12813 | (eval $ac_try) 2>&5 |
| 12891 | ac_status=$? | 12814 | ac_status=$? |
| @@ -12961,8 +12884,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 12961 | cat conftest.err >&5 | 12884 | cat conftest.err >&5 |
| 12962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12963 | (exit $ac_status); } && | 12886 | (exit $ac_status); } && |
| 12964 | { ac_try='test -z "$ac_c_werror_flag" | 12887 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 12965 | || test ! -s conftest.err' | ||
| 12966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12888 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 12967 | (eval $ac_try) 2>&5 | 12889 | (eval $ac_try) 2>&5 |
| 12968 | ac_status=$? | 12890 | ac_status=$? |
| @@ -13025,8 +12947,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 13025 | cat conftest.err >&5 | 12947 | cat conftest.err >&5 |
| 13026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13027 | (exit $ac_status); } && | 12949 | (exit $ac_status); } && |
| 13028 | { ac_try='test -z "$ac_c_werror_flag" | 12950 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 13029 | || test ! -s conftest.err' | ||
| 13030 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13031 | (eval $ac_try) 2>&5 | 12952 | (eval $ac_try) 2>&5 |
| 13032 | ac_status=$? | 12953 | ac_status=$? |
| @@ -13107,8 +13028,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 13107 | cat conftest.err >&5 | 13028 | cat conftest.err >&5 |
| 13108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13109 | (exit $ac_status); } && | 13030 | (exit $ac_status); } && |
| 13110 | { ac_try='test -z "$ac_c_werror_flag" | 13031 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 13111 | || test ! -s conftest.err' | ||
| 13112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13032 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13113 | (eval $ac_try) 2>&5 | 13033 | (eval $ac_try) 2>&5 |
| 13114 | ac_status=$? | 13034 | ac_status=$? |
| @@ -13249,8 +13169,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 13249 | cat conftest.err >&5 | 13169 | cat conftest.err >&5 |
| 13250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13251 | (exit $ac_status); } && | 13171 | (exit $ac_status); } && |
| 13252 | { ac_try='test -z "$ac_c_werror_flag" | 13172 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 13253 | || test ! -s conftest.err' | ||
| 13254 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13173 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13255 | (eval $ac_try) 2>&5 | 13174 | (eval $ac_try) 2>&5 |
| 13256 | ac_status=$? | 13175 | ac_status=$? |
| @@ -13395,8 +13314,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 13395 | cat conftest.err >&5 | 13314 | cat conftest.err >&5 |
| 13396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13397 | (exit $ac_status); } && | 13316 | (exit $ac_status); } && |
| 13398 | { ac_try='test -z "$ac_c_werror_flag" | 13317 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 13399 | || test ! -s conftest.err' | ||
| 13400 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13318 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13401 | (eval $ac_try) 2>&5 | 13319 | (eval $ac_try) 2>&5 |
| 13402 | ac_status=$? | 13320 | ac_status=$? |
| @@ -13472,8 +13390,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 13472 | cat conftest.err >&5 | 13390 | cat conftest.err >&5 |
| 13473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13474 | (exit $ac_status); } && | 13392 | (exit $ac_status); } && |
| 13475 | { ac_try='test -z "$ac_c_werror_flag" | 13393 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 13476 | || test ! -s conftest.err' | ||
| 13477 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13394 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13478 | (eval $ac_try) 2>&5 | 13395 | (eval $ac_try) 2>&5 |
| 13479 | ac_status=$? | 13396 | ac_status=$? |
| @@ -13546,8 +13463,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 13546 | cat conftest.err >&5 | 13463 | cat conftest.err >&5 |
| 13547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13548 | (exit $ac_status); } && | 13465 | (exit $ac_status); } && |
| 13549 | { ac_try='test -z "$ac_c_werror_flag" | 13466 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 13550 | || test ! -s conftest.err' | ||
| 13551 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13467 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13552 | (eval $ac_try) 2>&5 | 13468 | (eval $ac_try) 2>&5 |
| 13553 | ac_status=$? | 13469 | ac_status=$? |
| @@ -13702,8 +13618,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 13702 | cat conftest.err >&5 | 13618 | cat conftest.err >&5 |
| 13703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13704 | (exit $ac_status); } && | 13620 | (exit $ac_status); } && |
| 13705 | { ac_try='test -z "$ac_c_werror_flag" | 13621 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 13706 | || test ! -s conftest.err' | ||
| 13707 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13622 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13708 | (eval $ac_try) 2>&5 | 13623 | (eval $ac_try) 2>&5 |
| 13709 | ac_status=$? | 13624 | ac_status=$? |
| @@ -13769,8 +13684,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 13769 | cat conftest.err >&5 | 13684 | cat conftest.err >&5 |
| 13770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13771 | (exit $ac_status); } && | 13686 | (exit $ac_status); } && |
| 13772 | { ac_try='test -z "$ac_c_werror_flag" | 13687 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 13773 | || test ! -s conftest.err' | ||
| 13774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13688 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13775 | (eval $ac_try) 2>&5 | 13689 | (eval $ac_try) 2>&5 |
| 13776 | ac_status=$? | 13690 | ac_status=$? |
| @@ -14029,8 +13943,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 14029 | cat conftest.err >&5 | 13943 | cat conftest.err >&5 |
| 14030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14031 | (exit $ac_status); } && | 13945 | (exit $ac_status); } && |
| 14032 | { ac_try='test -z "$ac_c_werror_flag" | 13946 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 14033 | || test ! -s conftest.err' | ||
| 14034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14035 | (eval $ac_try) 2>&5 | 13948 | (eval $ac_try) 2>&5 |
| 14036 | ac_status=$? | 13949 | ac_status=$? |
| @@ -14097,8 +14010,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 14097 | cat conftest.err >&5 | 14010 | cat conftest.err >&5 |
| 14098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14011 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14099 | (exit $ac_status); } && | 14012 | (exit $ac_status); } && |
| 14100 | { ac_try='test -z "$ac_c_werror_flag" | 14013 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 14101 | || test ! -s conftest.err' | ||
| 14102 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14014 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14103 | (eval $ac_try) 2>&5 | 14015 | (eval $ac_try) 2>&5 |
| 14104 | ac_status=$? | 14016 | ac_status=$? |
| @@ -14250,8 +14162,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 14250 | cat conftest.err >&5 | 14162 | cat conftest.err >&5 |
| 14251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14252 | (exit $ac_status); } && | 14164 | (exit $ac_status); } && |
| 14253 | { ac_try='test -z "$ac_c_werror_flag" | 14165 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 14254 | || test ! -s conftest.err' | ||
| 14255 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14166 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14256 | (eval $ac_try) 2>&5 | 14167 | (eval $ac_try) 2>&5 |
| 14257 | ac_status=$? | 14168 | ac_status=$? |
| @@ -14435,8 +14346,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 14435 | cat conftest.err >&5 | 14346 | cat conftest.err >&5 |
| 14436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14437 | (exit $ac_status); } && | 14348 | (exit $ac_status); } && |
| 14438 | { ac_try='test -z "$ac_c_werror_flag" | 14349 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 14439 | || test ! -s conftest.err' | ||
| 14440 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14441 | (eval $ac_try) 2>&5 | 14351 | (eval $ac_try) 2>&5 |
| 14442 | ac_status=$? | 14352 | ac_status=$? |
| @@ -14763,8 +14673,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 14763 | cat conftest.err >&5 | 14673 | cat conftest.err >&5 |
| 14764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14765 | (exit $ac_status); } && | 14675 | (exit $ac_status); } && |
| 14766 | { ac_try='test -z "$ac_c_werror_flag" | 14676 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 14767 | || test ! -s conftest.err' | ||
| 14768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14677 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14769 | (eval $ac_try) 2>&5 | 14678 | (eval $ac_try) 2>&5 |
| 14770 | ac_status=$? | 14679 | ac_status=$? |
| @@ -14865,8 +14774,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 14865 | cat conftest.err >&5 | 14774 | cat conftest.err >&5 |
| 14866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14867 | (exit $ac_status); } && | 14776 | (exit $ac_status); } && |
| 14868 | { ac_try='test -z "$ac_c_werror_flag" | 14777 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 14869 | || test ! -s conftest.err' | ||
| 14870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14778 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14871 | (eval $ac_try) 2>&5 | 14779 | (eval $ac_try) 2>&5 |
| 14872 | ac_status=$? | 14780 | ac_status=$? |
| @@ -14939,8 +14847,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 14939 | cat conftest.err >&5 | 14847 | cat conftest.err >&5 |
| 14940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14941 | (exit $ac_status); } && | 14849 | (exit $ac_status); } && |
| 14942 | { ac_try='test -z "$ac_c_werror_flag" | 14850 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 14943 | || test ! -s conftest.err' | ||
| 14944 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14851 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14945 | (eval $ac_try) 2>&5 | 14852 | (eval $ac_try) 2>&5 |
| 14946 | ac_status=$? | 14853 | ac_status=$? |
| @@ -15019,8 +14926,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 15019 | cat conftest.err >&5 | 14926 | cat conftest.err >&5 |
| 15020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15021 | (exit $ac_status); } && | 14928 | (exit $ac_status); } && |
| 15022 | { ac_try='test -z "$ac_c_werror_flag" | 14929 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15023 | || test ! -s conftest.err' | ||
| 15024 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15025 | (eval $ac_try) 2>&5 | 14931 | (eval $ac_try) 2>&5 |
| 15026 | ac_status=$? | 14932 | ac_status=$? |
| @@ -15089,8 +14995,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 15089 | cat conftest.err >&5 | 14995 | cat conftest.err >&5 |
| 15090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15091 | (exit $ac_status); } && | 14997 | (exit $ac_status); } && |
| 15092 | { ac_try='test -z "$ac_c_werror_flag" | 14998 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15093 | || test ! -s conftest.err' | ||
| 15094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14999 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15095 | (eval $ac_try) 2>&5 | 15000 | (eval $ac_try) 2>&5 |
| 15096 | ac_status=$? | 15001 | ac_status=$? |
| @@ -15158,8 +15063,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 15158 | cat conftest.err >&5 | 15063 | cat conftest.err >&5 |
| 15159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15160 | (exit $ac_status); } && | 15065 | (exit $ac_status); } && |
| 15161 | { ac_try='test -z "$ac_c_werror_flag" | 15066 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15162 | || test ! -s conftest.err' | ||
| 15163 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15067 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15164 | (eval $ac_try) 2>&5 | 15068 | (eval $ac_try) 2>&5 |
| 15165 | ac_status=$? | 15069 | ac_status=$? |
| @@ -15233,8 +15137,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 15233 | cat conftest.err >&5 | 15137 | cat conftest.err >&5 |
| 15234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15235 | (exit $ac_status); } && | 15139 | (exit $ac_status); } && |
| 15236 | { ac_try='test -z "$ac_c_werror_flag" | 15140 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15237 | || test ! -s conftest.err' | ||
| 15238 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15239 | (eval $ac_try) 2>&5 | 15142 | (eval $ac_try) 2>&5 |
| 15240 | ac_status=$? | 15143 | ac_status=$? |
| @@ -15338,8 +15241,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 15338 | cat conftest.err >&5 | 15241 | cat conftest.err >&5 |
| 15339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15340 | (exit $ac_status); } && | 15243 | (exit $ac_status); } && |
| 15341 | { ac_try='test -z "$ac_c_werror_flag" | 15244 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15342 | || test ! -s conftest.err' | ||
| 15343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15344 | (eval $ac_try) 2>&5 | 15246 | (eval $ac_try) 2>&5 |
| 15345 | ac_status=$? | 15247 | ac_status=$? |
| @@ -15414,8 +15316,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 15414 | cat conftest.err >&5 | 15316 | cat conftest.err >&5 |
| 15415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15416 | (exit $ac_status); } && | 15318 | (exit $ac_status); } && |
| 15417 | { ac_try='test -z "$ac_c_werror_flag" | 15319 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15418 | || test ! -s conftest.err' | ||
| 15419 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15320 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15420 | (eval $ac_try) 2>&5 | 15321 | (eval $ac_try) 2>&5 |
| 15421 | ac_status=$? | 15322 | ac_status=$? |
| @@ -15567,8 +15468,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 15567 | cat conftest.err >&5 | 15468 | cat conftest.err >&5 |
| 15568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15569 | (exit $ac_status); } && | 15470 | (exit $ac_status); } && |
| 15570 | { ac_try='test -z "$ac_c_werror_flag" | 15471 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15571 | || test ! -s conftest.err' | ||
| 15572 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15573 | (eval $ac_try) 2>&5 | 15473 | (eval $ac_try) 2>&5 |
| 15574 | ac_status=$? | 15474 | ac_status=$? |
| @@ -15636,8 +15536,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 15636 | cat conftest.err >&5 | 15536 | cat conftest.err >&5 |
| 15637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15638 | (exit $ac_status); } && | 15538 | (exit $ac_status); } && |
| 15639 | { ac_try='test -z "$ac_c_werror_flag" | 15539 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15640 | || test ! -s conftest.err' | ||
| 15641 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15642 | (eval $ac_try) 2>&5 | 15541 | (eval $ac_try) 2>&5 |
| 15643 | ac_status=$? | 15542 | ac_status=$? |
| @@ -15814,8 +15713,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 15814 | cat conftest.err >&5 | 15713 | cat conftest.err >&5 |
| 15815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15816 | (exit $ac_status); } && | 15715 | (exit $ac_status); } && |
| 15817 | { ac_try='test -z "$ac_c_werror_flag" | 15716 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15818 | || test ! -s conftest.err' | ||
| 15819 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15717 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15820 | (eval $ac_try) 2>&5 | 15718 | (eval $ac_try) 2>&5 |
| 15821 | ac_status=$? | 15719 | ac_status=$? |
| @@ -15891,8 +15789,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 15891 | cat conftest.err >&5 | 15789 | cat conftest.err >&5 |
| 15892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15893 | (exit $ac_status); } && | 15791 | (exit $ac_status); } && |
| 15894 | { ac_try='test -z "$ac_c_werror_flag" | 15792 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 15895 | || test ! -s conftest.err' | ||
| 15896 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15793 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 15897 | (eval $ac_try) 2>&5 | 15794 | (eval $ac_try) 2>&5 |
| 15898 | ac_status=$? | 15795 | ac_status=$? |
| @@ -16046,8 +15943,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 16046 | cat conftest.err >&5 | 15943 | cat conftest.err >&5 |
| 16047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16048 | (exit $ac_status); } && | 15945 | (exit $ac_status); } && |
| 16049 | { ac_try='test -z "$ac_c_werror_flag" | 15946 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16050 | || test ! -s conftest.err' | ||
| 16051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16052 | (eval $ac_try) 2>&5 | 15948 | (eval $ac_try) 2>&5 |
| 16053 | ac_status=$? | 15949 | ac_status=$? |
| @@ -16198,8 +16094,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 16198 | cat conftest.err >&5 | 16094 | cat conftest.err >&5 |
| 16199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16200 | (exit $ac_status); } && | 16096 | (exit $ac_status); } && |
| 16201 | { ac_try='test -z "$ac_c_werror_flag" | 16097 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16202 | || test ! -s conftest.err' | ||
| 16203 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16204 | (eval $ac_try) 2>&5 | 16099 | (eval $ac_try) 2>&5 |
| 16205 | ac_status=$? | 16100 | ac_status=$? |
| @@ -16350,8 +16245,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 16350 | cat conftest.err >&5 | 16245 | cat conftest.err >&5 |
| 16351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16352 | (exit $ac_status); } && | 16247 | (exit $ac_status); } && |
| 16353 | { ac_try='test -z "$ac_c_werror_flag" | 16248 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16354 | || test ! -s conftest.err' | ||
| 16355 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16249 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16356 | (eval $ac_try) 2>&5 | 16250 | (eval $ac_try) 2>&5 |
| 16357 | ac_status=$? | 16251 | ac_status=$? |
| @@ -16493,8 +16387,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 16493 | cat conftest.err >&5 | 16387 | cat conftest.err >&5 |
| 16494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16495 | (exit $ac_status); } && | 16389 | (exit $ac_status); } && |
| 16496 | { ac_try='test -z "$ac_c_werror_flag" | 16390 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16497 | || test ! -s conftest.err' | ||
| 16498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16391 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16499 | (eval $ac_try) 2>&5 | 16392 | (eval $ac_try) 2>&5 |
| 16500 | ac_status=$? | 16393 | ac_status=$? |
| @@ -16538,8 +16431,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 16538 | cat conftest.err >&5 | 16431 | cat conftest.err >&5 |
| 16539 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16540 | (exit $ac_status); } && | 16433 | (exit $ac_status); } && |
| 16541 | { ac_try='test -z "$ac_c_werror_flag" | 16434 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16542 | || test ! -s conftest.err' | ||
| 16543 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16435 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16544 | (eval $ac_try) 2>&5 | 16436 | (eval $ac_try) 2>&5 |
| 16545 | ac_status=$? | 16437 | ac_status=$? |
| @@ -16685,8 +16577,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 16685 | cat conftest.err >&5 | 16577 | cat conftest.err >&5 |
| 16686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16687 | (exit $ac_status); } && | 16579 | (exit $ac_status); } && |
| 16688 | { ac_try='test -z "$ac_c_werror_flag" | 16580 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16689 | || test ! -s conftest.err' | ||
| 16690 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16691 | (eval $ac_try) 2>&5 | 16582 | (eval $ac_try) 2>&5 |
| 16692 | ac_status=$? | 16583 | ac_status=$? |
| @@ -16730,8 +16621,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 16730 | cat conftest.err >&5 | 16621 | cat conftest.err >&5 |
| 16731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16732 | (exit $ac_status); } && | 16623 | (exit $ac_status); } && |
| 16733 | { ac_try='test -z "$ac_c_werror_flag" | 16624 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16734 | || test ! -s conftest.err' | ||
| 16735 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16625 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16736 | (eval $ac_try) 2>&5 | 16626 | (eval $ac_try) 2>&5 |
| 16737 | ac_status=$? | 16627 | ac_status=$? |
| @@ -16796,8 +16686,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 16796 | cat conftest.err >&5 | 16686 | cat conftest.err >&5 |
| 16797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16798 | (exit $ac_status); } && | 16688 | (exit $ac_status); } && |
| 16799 | { ac_try='test -z "$ac_c_werror_flag" | 16689 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16800 | || test ! -s conftest.err' | ||
| 16801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16690 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16802 | (eval $ac_try) 2>&5 | 16691 | (eval $ac_try) 2>&5 |
| 16803 | ac_status=$? | 16692 | ac_status=$? |
| @@ -16860,8 +16749,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 16860 | cat conftest.err >&5 | 16749 | cat conftest.err >&5 |
| 16861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16862 | (exit $ac_status); } && | 16751 | (exit $ac_status); } && |
| 16863 | { ac_try='test -z "$ac_c_werror_flag" | 16752 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16864 | || test ! -s conftest.err' | ||
| 16865 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16753 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16866 | (eval $ac_try) 2>&5 | 16754 | (eval $ac_try) 2>&5 |
| 16867 | ac_status=$? | 16755 | ac_status=$? |
| @@ -16963,8 +16851,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 16963 | cat conftest.err >&5 | 16851 | cat conftest.err >&5 |
| 16964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16965 | (exit $ac_status); } && | 16853 | (exit $ac_status); } && |
| 16966 | { ac_try='test -z "$ac_c_werror_flag" | 16854 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 16967 | || test ! -s conftest.err' | ||
| 16968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 16969 | (eval $ac_try) 2>&5 | 16856 | (eval $ac_try) 2>&5 |
| 16970 | ac_status=$? | 16857 | ac_status=$? |
| @@ -17033,8 +16920,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17033 | cat conftest.err >&5 | 16920 | cat conftest.err >&5 |
| 17034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17035 | (exit $ac_status); } && | 16922 | (exit $ac_status); } && |
| 17036 | { ac_try='test -z "$ac_c_werror_flag" | 16923 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17037 | || test ! -s conftest.err' | ||
| 17038 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16924 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17039 | (eval $ac_try) 2>&5 | 16925 | (eval $ac_try) 2>&5 |
| 17040 | ac_status=$? | 16926 | ac_status=$? |
| @@ -17141,8 +17027,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17141 | cat conftest.err >&5 | 17027 | cat conftest.err >&5 |
| 17142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17143 | (exit $ac_status); } && | 17029 | (exit $ac_status); } && |
| 17144 | { ac_try='test -z "$ac_c_werror_flag" | 17030 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17145 | || test ! -s conftest.err' | ||
| 17146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17031 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17147 | (eval $ac_try) 2>&5 | 17032 | (eval $ac_try) 2>&5 |
| 17148 | ac_status=$? | 17033 | ac_status=$? |
| @@ -17245,8 +17130,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17245 | cat conftest.err >&5 | 17130 | cat conftest.err >&5 |
| 17246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17247 | (exit $ac_status); } && | 17132 | (exit $ac_status); } && |
| 17248 | { ac_try='test -z "$ac_c_werror_flag" | 17133 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17249 | || test ! -s conftest.err' | ||
| 17250 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17134 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17251 | (eval $ac_try) 2>&5 | 17135 | (eval $ac_try) 2>&5 |
| 17252 | ac_status=$? | 17136 | ac_status=$? |
| @@ -17322,8 +17206,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17322 | cat conftest.err >&5 | 17206 | cat conftest.err >&5 |
| 17323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17324 | (exit $ac_status); } && | 17208 | (exit $ac_status); } && |
| 17325 | { ac_try='test -z "$ac_c_werror_flag" | 17209 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17326 | || test ! -s conftest.err' | ||
| 17327 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17328 | (eval $ac_try) 2>&5 | 17211 | (eval $ac_try) 2>&5 |
| 17329 | ac_status=$? | 17212 | ac_status=$? |
| @@ -17427,8 +17310,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17427 | cat conftest.err >&5 | 17310 | cat conftest.err >&5 |
| 17428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17429 | (exit $ac_status); } && | 17312 | (exit $ac_status); } && |
| 17430 | { ac_try='test -z "$ac_c_werror_flag" | 17313 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17431 | || test ! -s conftest.err' | ||
| 17432 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17433 | (eval $ac_try) 2>&5 | 17315 | (eval $ac_try) 2>&5 |
| 17434 | ac_status=$? | 17316 | ac_status=$? |
| @@ -17520,8 +17402,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17520 | cat conftest.err >&5 | 17402 | cat conftest.err >&5 |
| 17521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17403 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17522 | (exit $ac_status); } && | 17404 | (exit $ac_status); } && |
| 17523 | { ac_try='test -z "$ac_c_werror_flag" | 17405 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17524 | || test ! -s conftest.err' | ||
| 17525 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17406 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17526 | (eval $ac_try) 2>&5 | 17407 | (eval $ac_try) 2>&5 |
| 17527 | ac_status=$? | 17408 | ac_status=$? |
| @@ -17586,8 +17467,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17586 | cat conftest.err >&5 | 17467 | cat conftest.err >&5 |
| 17587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17588 | (exit $ac_status); } && | 17469 | (exit $ac_status); } && |
| 17589 | { ac_try='test -z "$ac_c_werror_flag" | 17470 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17590 | || test ! -s conftest.err' | ||
| 17591 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17471 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17592 | (eval $ac_try) 2>&5 | 17472 | (eval $ac_try) 2>&5 |
| 17593 | ac_status=$? | 17473 | ac_status=$? |
| @@ -17653,8 +17533,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17653 | cat conftest.err >&5 | 17533 | cat conftest.err >&5 |
| 17654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17655 | (exit $ac_status); } && | 17535 | (exit $ac_status); } && |
| 17656 | { ac_try='test -z "$ac_c_werror_flag" | 17536 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17657 | || test ! -s conftest.err' | ||
| 17658 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17659 | (eval $ac_try) 2>&5 | 17538 | (eval $ac_try) 2>&5 |
| 17660 | ac_status=$? | 17539 | ac_status=$? |
| @@ -17764,8 +17643,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17764 | cat conftest.err >&5 | 17643 | cat conftest.err >&5 |
| 17765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17766 | (exit $ac_status); } && | 17645 | (exit $ac_status); } && |
| 17767 | { ac_try='test -z "$ac_c_werror_flag" | 17646 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17768 | || test ! -s conftest.err' | ||
| 17769 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17647 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17770 | (eval $ac_try) 2>&5 | 17648 | (eval $ac_try) 2>&5 |
| 17771 | ac_status=$? | 17649 | ac_status=$? |
| @@ -17830,8 +17708,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17830 | cat conftest.err >&5 | 17708 | cat conftest.err >&5 |
| 17831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17832 | (exit $ac_status); } && | 17710 | (exit $ac_status); } && |
| 17833 | { ac_try='test -z "$ac_c_werror_flag" | 17711 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17834 | || test ! -s conftest.err' | ||
| 17835 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17836 | (eval $ac_try) 2>&5 | 17713 | (eval $ac_try) 2>&5 |
| 17837 | ac_status=$? | 17714 | ac_status=$? |
| @@ -17911,8 +17788,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17911 | cat conftest.err >&5 | 17788 | cat conftest.err >&5 |
| 17912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17913 | (exit $ac_status); } && | 17790 | (exit $ac_status); } && |
| 17914 | { ac_try='test -z "$ac_c_werror_flag" | 17791 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17915 | || test ! -s conftest.err' | ||
| 17916 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17917 | (eval $ac_try) 2>&5 | 17793 | (eval $ac_try) 2>&5 |
| 17918 | ac_status=$? | 17794 | ac_status=$? |
| @@ -17985,8 +17861,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 17985 | cat conftest.err >&5 | 17861 | cat conftest.err >&5 |
| 17986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17987 | (exit $ac_status); } && | 17863 | (exit $ac_status); } && |
| 17988 | { ac_try='test -z "$ac_c_werror_flag" | 17864 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 17989 | || test ! -s conftest.err' | ||
| 17990 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17865 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 17991 | (eval $ac_try) 2>&5 | 17866 | (eval $ac_try) 2>&5 |
| 17992 | ac_status=$? | 17867 | ac_status=$? |
| @@ -18059,8 +17934,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 18059 | cat conftest.err >&5 | 17934 | cat conftest.err >&5 |
| 18060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18061 | (exit $ac_status); } && | 17936 | (exit $ac_status); } && |
| 18062 | { ac_try='test -z "$ac_c_werror_flag" | 17937 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18063 | || test ! -s conftest.err' | ||
| 18064 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17938 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18065 | (eval $ac_try) 2>&5 | 17939 | (eval $ac_try) 2>&5 |
| 18066 | ac_status=$? | 17940 | ac_status=$? |
| @@ -18133,8 +18007,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 18133 | cat conftest.err >&5 | 18007 | cat conftest.err >&5 |
| 18134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18135 | (exit $ac_status); } && | 18009 | (exit $ac_status); } && |
| 18136 | { ac_try='test -z "$ac_c_werror_flag" | 18010 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18137 | || test ! -s conftest.err' | ||
| 18138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18011 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18139 | (eval $ac_try) 2>&5 | 18012 | (eval $ac_try) 2>&5 |
| 18140 | ac_status=$? | 18013 | ac_status=$? |
| @@ -18208,8 +18081,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 18208 | cat conftest.err >&5 | 18081 | cat conftest.err >&5 |
| 18209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18210 | (exit $ac_status); } && | 18083 | (exit $ac_status); } && |
| 18211 | { ac_try='test -z "$ac_c_werror_flag" | 18084 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18212 | || test ! -s conftest.err' | ||
| 18213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18214 | (eval $ac_try) 2>&5 | 18086 | (eval $ac_try) 2>&5 |
| 18215 | ac_status=$? | 18087 | ac_status=$? |
| @@ -18281,8 +18153,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 18281 | cat conftest.err >&5 | 18153 | cat conftest.err >&5 |
| 18282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18283 | (exit $ac_status); } && | 18155 | (exit $ac_status); } && |
| 18284 | { ac_try='test -z "$ac_c_werror_flag" | 18156 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18285 | || test ! -s conftest.err' | ||
| 18286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18157 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18287 | (eval $ac_try) 2>&5 | 18158 | (eval $ac_try) 2>&5 |
| 18288 | ac_status=$? | 18159 | ac_status=$? |
| @@ -18357,8 +18228,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 18357 | cat conftest.err >&5 | 18228 | cat conftest.err >&5 |
| 18358 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18359 | (exit $ac_status); } && | 18230 | (exit $ac_status); } && |
| 18360 | { ac_try='test -z "$ac_c_werror_flag" | 18231 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18361 | || test ! -s conftest.err' | ||
| 18362 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18232 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18363 | (eval $ac_try) 2>&5 | 18233 | (eval $ac_try) 2>&5 |
| 18364 | ac_status=$? | 18234 | ac_status=$? |
| @@ -18430,8 +18300,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 18430 | cat conftest.err >&5 | 18300 | cat conftest.err >&5 |
| 18431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18432 | (exit $ac_status); } && | 18302 | (exit $ac_status); } && |
| 18433 | { ac_try='test -z "$ac_c_werror_flag" | 18303 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18434 | || test ! -s conftest.err' | ||
| 18435 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18304 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18436 | (eval $ac_try) 2>&5 | 18305 | (eval $ac_try) 2>&5 |
| 18437 | ac_status=$? | 18306 | ac_status=$? |
| @@ -18504,8 +18373,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 18504 | cat conftest.err >&5 | 18373 | cat conftest.err >&5 |
| 18505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18506 | (exit $ac_status); } && | 18375 | (exit $ac_status); } && |
| 18507 | { ac_try='test -z "$ac_c_werror_flag" | 18376 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18508 | || test ! -s conftest.err' | ||
| 18509 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18377 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18510 | (eval $ac_try) 2>&5 | 18378 | (eval $ac_try) 2>&5 |
| 18511 | ac_status=$? | 18379 | ac_status=$? |
| @@ -18655,8 +18523,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 18655 | cat conftest.err >&5 | 18523 | cat conftest.err >&5 |
| 18656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18657 | (exit $ac_status); } && | 18525 | (exit $ac_status); } && |
| 18658 | { ac_try='test -z "$ac_c_werror_flag" | 18526 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18659 | || test ! -s conftest.err' | ||
| 18660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18527 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18661 | (eval $ac_try) 2>&5 | 18528 | (eval $ac_try) 2>&5 |
| 18662 | ac_status=$? | 18529 | ac_status=$? |
| @@ -18802,8 +18669,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 18802 | cat conftest.err >&5 | 18669 | cat conftest.err >&5 |
| 18803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18804 | (exit $ac_status); } && | 18671 | (exit $ac_status); } && |
| 18805 | { ac_try='test -z "$ac_c_werror_flag" | 18672 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18806 | || test ! -s conftest.err' | ||
| 18807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18808 | (eval $ac_try) 2>&5 | 18674 | (eval $ac_try) 2>&5 |
| 18809 | ac_status=$? | 18675 | ac_status=$? |
| @@ -18949,8 +18815,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 18949 | cat conftest.err >&5 | 18815 | cat conftest.err >&5 |
| 18950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18951 | (exit $ac_status); } && | 18817 | (exit $ac_status); } && |
| 18952 | { ac_try='test -z "$ac_c_werror_flag" | 18818 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 18953 | || test ! -s conftest.err' | ||
| 18954 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18819 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 18955 | (eval $ac_try) 2>&5 | 18820 | (eval $ac_try) 2>&5 |
| 18956 | ac_status=$? | 18821 | ac_status=$? |
| @@ -19107,8 +18972,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 19107 | cat conftest.err >&5 | 18972 | cat conftest.err >&5 |
| 19108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19109 | (exit $ac_status); } && | 18974 | (exit $ac_status); } && |
| 19110 | { ac_try='test -z "$ac_c_werror_flag" | 18975 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 19111 | || test ! -s conftest.err' | ||
| 19112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18976 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 19113 | (eval $ac_try) 2>&5 | 18977 | (eval $ac_try) 2>&5 |
| 19114 | ac_status=$? | 18978 | ac_status=$? |
| @@ -19254,8 +19118,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 19254 | cat conftest.err >&5 | 19118 | cat conftest.err >&5 |
| 19255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19256 | (exit $ac_status); } && | 19120 | (exit $ac_status); } && |
| 19257 | { ac_try='test -z "$ac_c_werror_flag" | 19121 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 19258 | || test ! -s conftest.err' | ||
| 19259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 19260 | (eval $ac_try) 2>&5 | 19123 | (eval $ac_try) 2>&5 |
| 19261 | ac_status=$? | 19124 | ac_status=$? |
| @@ -19401,8 +19264,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 19401 | cat conftest.err >&5 | 19264 | cat conftest.err >&5 |
| 19402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19265 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19403 | (exit $ac_status); } && | 19266 | (exit $ac_status); } && |
| 19404 | { ac_try='test -z "$ac_c_werror_flag" | 19267 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 19405 | || test ! -s conftest.err' | ||
| 19406 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19268 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 19407 | (eval $ac_try) 2>&5 | 19269 | (eval $ac_try) 2>&5 |
| 19408 | ac_status=$? | 19270 | ac_status=$? |
| @@ -19560,8 +19422,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 19560 | cat conftest.err >&5 | 19422 | cat conftest.err >&5 |
| 19561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19562 | (exit $ac_status); } && | 19424 | (exit $ac_status); } && |
| 19563 | { ac_try='test -z "$ac_c_werror_flag" | 19425 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 19564 | || test ! -s conftest.err' | ||
| 19565 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19426 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 19566 | (eval $ac_try) 2>&5 | 19427 | (eval $ac_try) 2>&5 |
| 19567 | ac_status=$? | 19428 | ac_status=$? |
| @@ -19719,8 +19580,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 19719 | cat conftest.err >&5 | 19580 | cat conftest.err >&5 |
| 19720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19721 | (exit $ac_status); } && | 19582 | (exit $ac_status); } && |
| 19722 | { ac_try='test -z "$ac_c_werror_flag" | 19583 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 19723 | || test ! -s conftest.err' | ||
| 19724 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19584 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 19725 | (eval $ac_try) 2>&5 | 19585 | (eval $ac_try) 2>&5 |
| 19726 | ac_status=$? | 19586 | ac_status=$? |
| @@ -19909,8 +19769,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 19909 | cat conftest.err >&5 | 19769 | cat conftest.err >&5 |
| 19910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19911 | (exit $ac_status); } && | 19771 | (exit $ac_status); } && |
| 19912 | { ac_try='test -z "$ac_c_werror_flag" | 19772 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 19913 | || test ! -s conftest.err' | ||
| 19914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19773 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 19915 | (eval $ac_try) 2>&5 | 19774 | (eval $ac_try) 2>&5 |
| 19916 | ac_status=$? | 19775 | ac_status=$? |
| @@ -19983,8 +19842,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 19983 | cat conftest.err >&5 | 19842 | cat conftest.err >&5 |
| 19984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19985 | (exit $ac_status); } && | 19844 | (exit $ac_status); } && |
| 19986 | { ac_try='test -z "$ac_c_werror_flag" | 19845 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 19987 | || test ! -s conftest.err' | ||
| 19988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19846 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 19989 | (eval $ac_try) 2>&5 | 19847 | (eval $ac_try) 2>&5 |
| 19990 | ac_status=$? | 19848 | ac_status=$? |
| @@ -20052,8 +19910,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 20052 | cat conftest.err >&5 | 19910 | cat conftest.err >&5 |
| 20053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20054 | (exit $ac_status); } && | 19912 | (exit $ac_status); } && |
| 20055 | { ac_try='test -z "$ac_c_werror_flag" | 19913 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20056 | || test ! -s conftest.err' | ||
| 20057 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20058 | (eval $ac_try) 2>&5 | 19915 | (eval $ac_try) 2>&5 |
| 20059 | ac_status=$? | 19916 | ac_status=$? |
| @@ -20099,8 +19956,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 20099 | cat conftest.err >&5 | 19956 | cat conftest.err >&5 |
| 20100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19957 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20101 | (exit $ac_status); } && | 19958 | (exit $ac_status); } && |
| 20102 | { ac_try='test -z "$ac_c_werror_flag" | 19959 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20103 | || test ! -s conftest.err' | ||
| 20104 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19960 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20105 | (eval $ac_try) 2>&5 | 19961 | (eval $ac_try) 2>&5 |
| 20106 | ac_status=$? | 19962 | ac_status=$? |
| @@ -20174,8 +20030,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 20174 | cat conftest.err >&5 | 20030 | cat conftest.err >&5 |
| 20175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20176 | (exit $ac_status); } && | 20032 | (exit $ac_status); } && |
| 20177 | { ac_try='test -z "$ac_c_werror_flag" | 20033 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20178 | || test ! -s conftest.err' | ||
| 20179 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20180 | (eval $ac_try) 2>&5 | 20035 | (eval $ac_try) 2>&5 |
| 20181 | ac_status=$? | 20036 | ac_status=$? |
| @@ -20239,8 +20094,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 20239 | cat conftest.err >&5 | 20094 | cat conftest.err >&5 |
| 20240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20241 | (exit $ac_status); } && | 20096 | (exit $ac_status); } && |
| 20242 | { ac_try='test -z "$ac_c_werror_flag" | 20097 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20243 | || test ! -s conftest.err' | ||
| 20244 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20245 | (eval $ac_try) 2>&5 | 20099 | (eval $ac_try) 2>&5 |
| 20246 | ac_status=$? | 20100 | ac_status=$? |
| @@ -20378,8 +20232,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 20378 | cat conftest.err >&5 | 20232 | cat conftest.err >&5 |
| 20379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20380 | (exit $ac_status); } && | 20234 | (exit $ac_status); } && |
| 20381 | { ac_try='test -z "$ac_c_werror_flag" | 20235 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20382 | || test ! -s conftest.err' | ||
| 20383 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20236 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20384 | (eval $ac_try) 2>&5 | 20237 | (eval $ac_try) 2>&5 |
| 20385 | ac_status=$? | 20238 | ac_status=$? |
| @@ -20440,8 +20293,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 20440 | cat conftest.err >&5 | 20293 | cat conftest.err >&5 |
| 20441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20442 | (exit $ac_status); } && | 20295 | (exit $ac_status); } && |
| 20443 | { ac_try='test -z "$ac_c_werror_flag" | 20296 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20444 | || test ! -s conftest.err' | ||
| 20445 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20446 | (eval $ac_try) 2>&5 | 20298 | (eval $ac_try) 2>&5 |
| 20447 | ac_status=$? | 20299 | ac_status=$? |
| @@ -20586,8 +20438,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 20586 | cat conftest.err >&5 | 20438 | cat conftest.err >&5 |
| 20587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20588 | (exit $ac_status); } && | 20440 | (exit $ac_status); } && |
| 20589 | { ac_try='test -z "$ac_c_werror_flag" | 20441 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20590 | || test ! -s conftest.err' | ||
| 20591 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20592 | (eval $ac_try) 2>&5 | 20443 | (eval $ac_try) 2>&5 |
| 20593 | ac_status=$? | 20444 | ac_status=$? |
| @@ -20743,8 +20594,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 20743 | cat conftest.err >&5 | 20594 | cat conftest.err >&5 |
| 20744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20745 | (exit $ac_status); } && | 20596 | (exit $ac_status); } && |
| 20746 | { ac_try='test -z "$ac_c_werror_flag" | 20597 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20747 | || test ! -s conftest.err' | ||
| 20748 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20598 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20749 | (eval $ac_try) 2>&5 | 20599 | (eval $ac_try) 2>&5 |
| 20750 | ac_status=$? | 20600 | ac_status=$? |
| @@ -20915,8 +20765,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 20915 | cat conftest.err >&5 | 20765 | cat conftest.err >&5 |
| 20916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20766 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20917 | (exit $ac_status); } && | 20767 | (exit $ac_status); } && |
| 20918 | { ac_try='test -z "$ac_c_werror_flag" | 20768 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20919 | || test ! -s conftest.err' | ||
| 20920 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20769 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20921 | (eval $ac_try) 2>&5 | 20770 | (eval $ac_try) 2>&5 |
| 20922 | ac_status=$? | 20771 | ac_status=$? |
| @@ -20984,8 +20833,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 20984 | cat conftest.err >&5 | 20833 | cat conftest.err >&5 |
| 20985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20834 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20986 | (exit $ac_status); } && | 20835 | (exit $ac_status); } && |
| 20987 | { ac_try='test -z "$ac_c_werror_flag" | 20836 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 20988 | || test ! -s conftest.err' | ||
| 20989 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20837 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 20990 | (eval $ac_try) 2>&5 | 20838 | (eval $ac_try) 2>&5 |
| 20991 | ac_status=$? | 20839 | ac_status=$? |
| @@ -21170,8 +21018,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 21170 | cat conftest.err >&5 | 21018 | cat conftest.err >&5 |
| 21171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21172 | (exit $ac_status); } && | 21020 | (exit $ac_status); } && |
| 21173 | { ac_try='test -z "$ac_c_werror_flag" | 21021 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 21174 | || test ! -s conftest.err' | ||
| 21175 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21022 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21176 | (eval $ac_try) 2>&5 | 21023 | (eval $ac_try) 2>&5 |
| 21177 | ac_status=$? | 21024 | ac_status=$? |
| @@ -21464,8 +21311,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 21464 | cat conftest.err >&5 | 21311 | cat conftest.err >&5 |
| 21465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21466 | (exit $ac_status); } && | 21313 | (exit $ac_status); } && |
| 21467 | { ac_try='test -z "$ac_c_werror_flag" | 21314 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 21468 | || test ! -s conftest.err' | ||
| 21469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21315 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21470 | (eval $ac_try) 2>&5 | 21316 | (eval $ac_try) 2>&5 |
| 21471 | ac_status=$? | 21317 | ac_status=$? |
| @@ -21530,8 +21376,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 21530 | cat conftest.err >&5 | 21376 | cat conftest.err >&5 |
| 21531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21532 | (exit $ac_status); } && | 21378 | (exit $ac_status); } && |
| 21533 | { ac_try='test -z "$ac_c_werror_flag" | 21379 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 21534 | || test ! -s conftest.err' | ||
| 21535 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21380 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21536 | (eval $ac_try) 2>&5 | 21381 | (eval $ac_try) 2>&5 |
| 21537 | ac_status=$? | 21382 | ac_status=$? |
| @@ -21594,8 +21439,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 21594 | cat conftest.err >&5 | 21439 | cat conftest.err >&5 |
| 21595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21596 | (exit $ac_status); } && | 21441 | (exit $ac_status); } && |
| 21597 | { ac_try='test -z "$ac_c_werror_flag" | 21442 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 21598 | || test ! -s conftest.err' | ||
| 21599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21443 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21600 | (eval $ac_try) 2>&5 | 21444 | (eval $ac_try) 2>&5 |
| 21601 | ac_status=$? | 21445 | ac_status=$? |
| @@ -21661,8 +21505,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 21661 | cat conftest.err >&5 | 21505 | cat conftest.err >&5 |
| 21662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21663 | (exit $ac_status); } && | 21507 | (exit $ac_status); } && |
| 21664 | { ac_try='test -z "$ac_c_werror_flag" | 21508 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 21665 | || test ! -s conftest.err' | ||
| 21666 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21509 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21667 | (eval $ac_try) 2>&5 | 21510 | (eval $ac_try) 2>&5 |
| 21668 | ac_status=$? | 21511 | ac_status=$? |
| @@ -21703,8 +21546,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 21703 | cat conftest.err >&5 | 21546 | cat conftest.err >&5 |
| 21704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21705 | (exit $ac_status); } && | 21548 | (exit $ac_status); } && |
| 21706 | { ac_try='test -z "$ac_c_werror_flag" | 21549 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 21707 | || test ! -s conftest.err' | ||
| 21708 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21550 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21709 | (eval $ac_try) 2>&5 | 21551 | (eval $ac_try) 2>&5 |
| 21710 | ac_status=$? | 21552 | ac_status=$? |
| @@ -21771,8 +21613,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 21771 | cat conftest.err >&5 | 21613 | cat conftest.err >&5 |
| 21772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21614 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21773 | (exit $ac_status); } && | 21615 | (exit $ac_status); } && |
| 21774 | { ac_try='test -z "$ac_c_werror_flag" | 21616 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 21775 | || test ! -s conftest.err' | ||
| 21776 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21617 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 21777 | (eval $ac_try) 2>&5 | 21618 | (eval $ac_try) 2>&5 |
| 21778 | ac_status=$? | 21619 | ac_status=$? |
| @@ -22886,11 +22727,6 @@ esac | |||
| 22886 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 22727 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 22887 | esac | 22728 | esac |
| 22888 | 22729 | ||
| 22889 | if test x"$ac_file" != x-; then | ||
| 22890 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
| 22891 | echo "$as_me: creating $ac_file" >&6;} | ||
| 22892 | rm -f "$ac_file" | ||
| 22893 | fi | ||
| 22894 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 22730 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 22895 | # use $as_me), people would be surprised to read: | 22731 | # use $as_me), people would be surprised to read: |
| 22896 | # /* config.h. Generated by config.status. */ | 22732 | # /* config.h. Generated by config.status. */ |
| @@ -22929,6 +22765,12 @@ echo "$as_me: error: cannot find input file: $f" >&2;} | |||
| 22929 | fi;; | 22765 | fi;; |
| 22930 | esac | 22766 | esac |
| 22931 | done` || { (exit 1); exit 1; } | 22767 | done` || { (exit 1); exit 1; } |
| 22768 | |||
| 22769 | if test x"$ac_file" != x-; then | ||
| 22770 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
| 22771 | echo "$as_me: creating $ac_file" >&6;} | ||
| 22772 | rm -f "$ac_file" | ||
| 22773 | fi | ||
| 22932 | _ACEOF | 22774 | _ACEOF |
| 22933 | cat >>$CONFIG_STATUS <<_ACEOF | 22775 | cat >>$CONFIG_STATUS <<_ACEOF |
| 22934 | sed "$ac_vpsub | 22776 | sed "$ac_vpsub |
diff --git a/configure.in b/configure.in index 181b86007df..ec772a5c2a4 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -142,6 +142,16 @@ else | |||
| 142 | fi | 142 | fi |
| 143 | AC_SUBST(MAINT) | 143 | AC_SUBST(MAINT) |
| 144 | 144 | ||
| 145 | AC_ARG_ENABLE(locallisppath, | ||
| 146 | [ --enable-locallisppath=PATH | ||
| 147 | directories Emacs should search for lisp files | ||
| 148 | specific to this site], | ||
| 149 | if test "${enableval}" = "no"; then | ||
| 150 | locallisppath= | ||
| 151 | elif test "${enableval}" != "yes"; then | ||
| 152 | locallisppath=${enableval} | ||
| 153 | fi) | ||
| 154 | |||
| 145 | #### Make srcdir absolute, if it isn't already. It's important to | 155 | #### Make srcdir absolute, if it isn't already. It's important to |
| 146 | #### avoid running the path through pwd unnecessarily, since pwd can | 156 | #### avoid running the path through pwd unnecessarily, since pwd can |
| 147 | #### give you automounter prefixes, which can go away. We do all this | 157 | #### give you automounter prefixes, which can go away. We do all this |
diff --git a/etc/ChangeLog b/etc/ChangeLog index 49935b9a9b3..0efca03ac29 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> | ||
| 2 | |||
| 3 | * TODO: post-command-idle-hook has gone. | ||
| 4 | |||
| 5 | 2005-05-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 6 | |||
| 7 | * NEWS: Remove references to open-network-stream-nowait and | ||
| 8 | open-network-stream-server. | ||
| 9 | |||
| 1 | 2005-05-15 Richard M. Stallman <rms@gnu.org> | 10 | 2005-05-15 Richard M. Stallman <rms@gnu.org> |
| 2 | 11 | ||
| 3 | * GNU: Correct/improve previous change. | 12 | * GNU: Correct/improve previous change. |
| @@ -97,9 +106,9 @@ | |||
| 97 | * TUTORIAL.pl, TUTORIAL.pt_BR, TUTORIAL.ro, TUTORIAL.ru, | 106 | * TUTORIAL.pl, TUTORIAL.pt_BR, TUTORIAL.ro, TUTORIAL.ru, |
| 98 | * TUTORIAL.sk, TUTORIAL.sl, TUTORIAL.th, TUTORIAL.zh: Fix title | 107 | * TUTORIAL.sk, TUTORIAL.sl, TUTORIAL.th, TUTORIAL.zh: Fix title |
| 99 | line. | 108 | line. |
| 100 | 109 | ||
| 101 | 2005-04-01 Ognyan Kulev <ogi@fmi.uni-sofia.bg> | 110 | 2005-04-01 Ognyan Kulev <ogi@fmi.uni-sofia.bg> |
| 102 | 111 | ||
| 103 | * TUTORIAL.bg: Fix title line; Applied TUTORIAL changes in | 112 | * TUTORIAL.bg: Fix title line; Applied TUTORIAL changes in |
| 104 | 2005-02-08T14:20:54Z!lute@gnu.org, "Emacs" is not transliterated to cyrillic anymore; | 113 | 2005-02-08T14:20:54Z!lute@gnu.org, "Emacs" is not transliterated to cyrillic anymore; |
| 105 | Minor fixes. | 114 | Minor fixes. |
| @@ -1846,9 +1855,9 @@ | |||
| 1846 | * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=. | 1855 | * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=. |
| 1847 | 1856 | ||
| 1848 | * emacsstool.1: update to document environment variables. | 1857 | * emacsstool.1: update to document environment variables. |
| 1849 | 1858 | ||
| 1850 | 1989-02-21 Mosur Mohan (email@notavailable) | 1859 | 1989-02-21 Mosur Mohan (email@notavailable) |
| 1851 | 1860 | ||
| 1852 | * etags.c (PAS_funcs): New function. | 1861 | * etags.c (PAS_funcs): New function. |
| 1853 | 1862 | ||
| 1854 | 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu) | 1863 | 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu) |
| @@ -1873,7 +1882,7 @@ | |||
| 1873 | 1882 | ||
| 1874 | 1989-01-19 Sam Kendall (email@notavailable) | 1883 | 1989-01-19 Sam Kendall (email@notavailable) |
| 1875 | 1884 | ||
| 1876 | * etags.c: Greatly rewritten for C++ support and for multiple tags | 1885 | * etags.c: Greatly rewritten for C++ support and for multiple tags |
| 1877 | per line. | 1886 | per line. |
| 1878 | 1887 | ||
| 1879 | 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu) | 1888 | 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu) |
| @@ -819,7 +819,7 @@ trouble with fontification and/or indentation. | |||
| 819 | 819 | ||
| 820 | *** New standard font-lock face `font-lock-comment-delimiter-face'. | 820 | *** New standard font-lock face `font-lock-comment-delimiter-face'. |
| 821 | 821 | ||
| 822 | *** Easy to overlook single character negation is now font-locked. | 822 | *** Easy to overlook single character negation can now be font-locked. |
| 823 | You can use the new variable `font-lock-negation-char-face' and the face of | 823 | You can use the new variable `font-lock-negation-char-face' and the face of |
| 824 | the same name to customize this. Currently the cc-modes, sh-script-mode, | 824 | the same name to customize this. Currently the cc-modes, sh-script-mode, |
| 825 | cperl-mode and make-mode support this. | 825 | cperl-mode and make-mode support this. |
| @@ -1482,7 +1482,7 @@ region (like delete-selection-mode). Do not enable these modes with | |||
| 1482 | cua-mode. Customize the variable `cua-mode' to enable cua. | 1482 | cua-mode. Customize the variable `cua-mode' to enable cua. |
| 1483 | 1483 | ||
| 1484 | In addition, cua provides unified rectangle support with visible | 1484 | In addition, cua provides unified rectangle support with visible |
| 1485 | rectangle highlighting: Use S-return to start a rectangle, extend it | 1485 | rectangle highlighting: Use C-return to start a rectangle, extend it |
| 1486 | using the movement commands (or mouse-3), and cut or copy it using C-x | 1486 | using the movement commands (or mouse-3), and cut or copy it using C-x |
| 1487 | or C-c (using C-w and M-w also works). | 1487 | or C-c (using C-w and M-w also works). |
| 1488 | 1488 | ||
| @@ -2278,8 +2278,9 @@ breakpoints. | |||
| 2278 | 2278 | ||
| 2279 | Use M-x gdb to start GDB-UI. | 2279 | Use M-x gdb to start GDB-UI. |
| 2280 | 2280 | ||
| 2281 | *** GUD tooltips can be toggled independently of normal tooltips | 2281 | *** The variable tooltip-gud-tips-p has been removed. GUD tooltips can now be |
| 2282 | with the minor mode `gud-tooltip-mode'. | 2282 | toggled independently of normal tooltips with the minor mode |
| 2283 | `gud-tooltip-mode'. | ||
| 2283 | 2284 | ||
| 2284 | +++ | 2285 | +++ |
| 2285 | *** In graphical mode, with a C program, GUD Tooltips have been extended to | 2286 | *** In graphical mode, with a C program, GUD Tooltips have been extended to |
| @@ -3011,6 +3012,10 @@ the command `undefined'. (In earlier Emacs versions, it used | |||
| 3011 | 3012 | ||
| 3012 | ** General Lisp changes: | 3013 | ** General Lisp changes: |
| 3013 | 3014 | ||
| 3015 | --- | ||
| 3016 | *** The variables post-command-idle-hook and post-command-idle-delay have | ||
| 3017 | been removed. Use run-with-idle-timer instead. | ||
| 3018 | |||
| 3014 | +++ | 3019 | +++ |
| 3015 | *** The function `eql' is now available without requiring the CL package. | 3020 | *** The function `eql' is now available without requiring the CL package. |
| 3016 | 3021 | ||
| @@ -3953,21 +3958,6 @@ To test for the availability of a given feature, use featurep like this: | |||
| 3953 | 3958 | ||
| 3954 | *** The old `open-network-stream' now uses `make-network-process'. | 3959 | *** The old `open-network-stream' now uses `make-network-process'. |
| 3955 | 3960 | ||
| 3956 | *** New function `open-network-stream-nowait'. | ||
| 3957 | |||
| 3958 | This function initiates a non-blocking connect and returns immediately | ||
| 3959 | without waiting for the connection to be established. It takes the | ||
| 3960 | filter and sentinel functions as arguments; when the non-blocking | ||
| 3961 | connect completes, the sentinel is called with a status string | ||
| 3962 | matching "open" or "failed". | ||
| 3963 | |||
| 3964 | *** New function `open-network-stream-server'. | ||
| 3965 | |||
| 3966 | This function creates a network server process for a TCP service. | ||
| 3967 | When a client connects to the specified service, a new subprocess | ||
| 3968 | is created to handle the new connection, and the sentinel function | ||
| 3969 | is called for the new process. | ||
| 3970 | |||
| 3971 | *** New functions `process-datagram-address', `set-process-datagram-address'. | 3961 | *** New functions `process-datagram-address', `set-process-datagram-address'. |
| 3972 | 3962 | ||
| 3973 | These functions are used with datagram-based network processes to get | 3963 | These functions are used with datagram-based network processes to get |
| @@ -9,9 +9,6 @@ to the FSF. | |||
| 9 | 9 | ||
| 10 | * Small but important fixes needed in existing features: | 10 | * Small but important fixes needed in existing features: |
| 11 | 11 | ||
| 12 | ** Convert everything that uses post-command-idle-hook | ||
| 13 | to use idle timers instead. | ||
| 14 | |||
| 15 | ** Fix the kill/yank treatment of invisible text. At the moment, | 12 | ** Fix the kill/yank treatment of invisible text. At the moment, |
| 16 | invisible text is placed in the kill-ring, so that the contents of | 13 | invisible text is placed in the kill-ring, so that the contents of |
| 17 | the ring may not correspond to the text as displayed to the user. It | 14 | the ring may not correspond to the text as displayed to the user. It |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bc460f52430..d962d71c044 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,371 @@ | |||
| 1 | 2005-05-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * subr.el (send-string, send-region): | ||
| 4 | Remove obsolescence declaration. | ||
| 5 | (window-dot, set-window-dot, read-input, show-buffer) | ||
| 6 | (eval-current-buffer, string-to-int): | ||
| 7 | Add release number to obsolescence declarations. | ||
| 8 | |||
| 9 | 2005-05-19 Kim F. Storm <storm@cua.dk> | ||
| 10 | |||
| 11 | * ido.el (ido-magic-forward-char): Enter ido-find-file at end of input. | ||
| 12 | (ido-magic-backward-char): Enter ido-switch-buffer at start of input. | ||
| 13 | |||
| 14 | 2005-05-20 Matt Hodges <MPHodges@member.fsf.org> | ||
| 15 | |||
| 16 | * faces.el (list-faces-display): Make back button respect optional | ||
| 17 | regexp arg. | ||
| 18 | |||
| 19 | 2005-05-19 Juanma Barranquero <lekktu@gmail.com> | ||
| 20 | |||
| 21 | * calculator.el (calculator-radix-grouping-mode) | ||
| 22 | (calculator-radix-grouping-digits, calculator-displayer) | ||
| 23 | (calculator-radix-grouping-separator, calculator-copy-displayer): | ||
| 24 | * dabbrev.el (dabbrev-search-these-buffers-only): | ||
| 25 | * diff-mode.el (diff-jump-to-old-file, diff-update-on-the-fly) | ||
| 26 | (diff-advance-after-apply-hunk, diff-mode-hook) | ||
| 27 | (diff-minor-mode-prefix): | ||
| 28 | * imenu.el (imenu-use-popup-menu): | ||
| 29 | * jit-lock.el (jit-lock-context-time): | ||
| 30 | * newcomment.el (comment-fill-column, comment-column) | ||
| 31 | (comment-style, comment-padding, comment-multi-line) | ||
| 32 | (comment-empty-lines, comment-auto-fill-only-comments): | ||
| 33 | * reveal.el (reveal-around-mark): | ||
| 34 | * uniquify.el (uniquify-buffer-name-style) | ||
| 35 | (uniquify-after-kill-buffer-p) | ||
| 36 | (uniquify-ask-about-buffer-names-p, uniquify-ignore-buffers-re) | ||
| 37 | (uniquify-min-dir-content, uniquify-separator) | ||
| 38 | (uniquify-trailing-separator-p, uniquify-strip-common-suffix): | ||
| 39 | * w32-vars.el (w32-fixed-font-alist): | ||
| 40 | * emacs-lisp/testcover.el (testcover-potentially-1value-functions): | ||
| 41 | * obsolete/rsz-mini.el (resize-minibuffer-frame-max-height): | ||
| 42 | * progmodes/antlr-mode.el (antlr-font-lock-maximum-decoration): | ||
| 43 | * progmodes/perl-mode.el (perl-indent-level) | ||
| 44 | (perl-continued-statement-offset, perl-continued-brace-offset) | ||
| 45 | (perl-brace-offset, perl-brace-imaginary-offset) | ||
| 46 | (perl-label-offset, perl-indent-continued-arguments) | ||
| 47 | (perl-tab-always-indent, perl-tab-to-comment, perl-nochange): | ||
| 48 | * progmodes/tcl.el (tcl-indent-level) | ||
| 49 | (tcl-continued-indent-level, tcl-auto-newline) | ||
| 50 | (tcl-tab-always-indent, tcl-electric-hash-style) | ||
| 51 | (tcl-help-directory-list, tcl-use-smart-word-finder) | ||
| 52 | (tcl-application, tcl-command-switches, tcl-prompt-regexp) | ||
| 53 | (inferior-tcl-source-command): | ||
| 54 | * textmodes/fill.el (enable-kinsoku): | ||
| 55 | * textmodes/reftex-vars.el (reftex-index-phrases-wrap-long-lines): | ||
| 56 | * textmodes/table.el (table-yank-handler): | ||
| 57 | Specify missing group (and type, if simple) in defcustom. | ||
| 58 | |||
| 59 | 2005-05-19 Luc Teirlinck <teirllm@auburn.edu> | ||
| 60 | |||
| 61 | * progmodes/compile.el (compilation-finish-function): Fix defvar. | ||
| 62 | |||
| 63 | 2005-05-19 Richard M. Stallman <rms@gnu.org> | ||
| 64 | |||
| 65 | * progmodes/make-mode.el (makefile-mode): Use run-mode-hooks. | ||
| 66 | |||
| 67 | * subr.el (event-basic-type): Don't get an error. | ||
| 68 | (left-fringe-p): Function deleted. | ||
| 69 | |||
| 70 | * buff-menu.el (Buffer-menu-buffer-face): In group Buffer-menu. | ||
| 71 | |||
| 72 | * dired-aux.el (dired-copy-file-recursive): Handle symlinks | ||
| 73 | in recursive copy. | ||
| 74 | |||
| 75 | * frame.el (show-trailing-whitespace): In group `whitespace-faces'. | ||
| 76 | |||
| 77 | * emacs-lisp/byte-run.el (eval-when-compile): Doc fix. | ||
| 78 | |||
| 79 | * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable): | ||
| 80 | Call byte-compile-nogroup-warn if appropriate. | ||
| 81 | |||
| 82 | * progmodes/compile.el (compilation-finish-function): Mark obsolete. | ||
| 83 | (compilation-set-window): Don't call left-fringe-p; do it directly. | ||
| 84 | |||
| 85 | 2005-05-19 Jay Belanger <belanger@truman.edu> | ||
| 86 | |||
| 87 | * calc/calc-graph.el (calc-graph-format-data): Make sure | ||
| 88 | var-PlotRejects is bound before trying to check its value. | ||
| 89 | |||
| 90 | 2005-05-19 Carsten Dominik <dominik@science.uva.nl> | ||
| 91 | |||
| 92 | * textmodes/reftex.el (reftex-isearch-minor-mode): Moved the | ||
| 93 | definition of this variable from reftex-global.el to reftex.el, | ||
| 94 | because it is needed in the menu. | ||
| 95 | |||
| 96 | 2005-05-19 Lute Kamstra <lute@gnu.org> | ||
| 97 | |||
| 98 | * emacs-lisp/copyright.el (copyright-fix-years): Make sure all | ||
| 99 | years are fixed. Don't insert a space after a dash. | ||
| 100 | |||
| 101 | 2005-05-19 Kim F. Storm <storm@cua.dk> | ||
| 102 | |||
| 103 | * emulation/crisp.el (crisp-home, crisp-end): Put CUA property. | ||
| 104 | |||
| 105 | 2005-05-19 Daniel Pfeiffer <occitan@esperanto.org> | ||
| 106 | |||
| 107 | * font-lock.el (lisp-font-lock-keywords-2): Do \\) only in | ||
| 108 | strings, because (eq ... ?\\) is fairly frequent. | ||
| 109 | |||
| 110 | * progmodes/make-mode.el (makefile-add-this-line-targets): | ||
| 111 | Simplify and integrate into `makefile-pickup-targets'. | ||
| 112 | (makefile-add-this-line-macro): Simplify and integrate into | ||
| 113 | `makefile-pickup-macros. | ||
| 114 | (makefile-pickup-filenames-as-targets): Simplify. | ||
| 115 | (makefile-previous-dependency, makefile-match-dependency): Don't | ||
| 116 | stumble over `::'. | ||
| 117 | |||
| 118 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> | ||
| 119 | |||
| 120 | * subr.el (post-command-idle-hook, post-command-idle-delay): | ||
| 121 | Remove obsoletion of post-command-idle-hook and | ||
| 122 | post-command-idle-delay. | ||
| 123 | |||
| 124 | * faces.el (list-faces-display): Provide button when describe-face | ||
| 125 | is called to take user back to the list of faces. | ||
| 126 | |||
| 127 | * help-fns.el (describe-variable): Remove hyperlinks in a | ||
| 128 | variable's value as these are quite frequently inappropriate. | ||
| 129 | |||
| 130 | * follow.el (follow-submit-feedback, follow-mode): Remove | ||
| 131 | references to post-command-idle-hook. | ||
| 132 | |||
| 133 | 2005-05-18 Daniel Pfeiffer <occitan@esperanto.org> | ||
| 134 | |||
| 135 | * progmodes/make-mode.el (makefile-previous-dependency) | ||
| 136 | (makefile-match-dependency): Check for := (and in bsd mode also | ||
| 137 | !=) to give a better result, even when font-lock is not on. | ||
| 138 | |||
| 139 | 2005-05-18 Jay Belanger <belanger@truman.edu> | ||
| 140 | |||
| 141 | * calc/calc-help.el (calc-s-prefix-help): Add | ||
| 142 | `calc-copy-special-constant' to help string. | ||
| 143 | |||
| 144 | 2005-05-18 Luc Teirlinck <teirllm@auburn.edu> | ||
| 145 | |||
| 146 | * emacs-lisp/eldoc.el (eldoc-mode): Doc fix. | ||
| 147 | |||
| 148 | 2005-05-18 Jay Belanger <belanger@truman.edu> | ||
| 149 | |||
| 150 | * calc/calc-poly.el (math-factor-poly-coefs): Make sure the terms | ||
| 151 | in linear factors are in proper order. | ||
| 152 | |||
| 153 | 2005-05-18 Carsten Dominik <dominik@science.uva.nl> | ||
| 154 | |||
| 155 | * textmodes/reftex-vars.el (reftex-cite-format-builtin): Support | ||
| 156 | for jurabib. | ||
| 157 | |||
| 158 | * textmodes/reftex.el (featurep): Define aliases for overlay | ||
| 159 | commands, for XEmacs compatibility, and use these aliases in | ||
| 160 | overlay initializations. | ||
| 161 | (reftex-highlight): Use `reftex-move-overlay'. | ||
| 162 | (reftex-unhighlight): Use `reftex-delete-overlay'. | ||
| 163 | (reftex-uniq): Funktion removed. Use `reftex-uniquify' instead. | ||
| 164 | (reftex-access-search-path): Use `reftex-uniquify' instead of | ||
| 165 | `reftex-uniq' | ||
| 166 | |||
| 167 | * textmodes/reftex-sel.el (reftex-select-unmark): Overlay | ||
| 168 | `before-string' property modification enables for Emacs as well. | ||
| 169 | (reftex-select-item): Use `reftex-delete-overlay'. | ||
| 170 | (reftex-select-mark): Use `reftex-make-overlay' and | ||
| 171 | `reftex-overlay-put'. | ||
| 172 | (reftex-select-unmark): Use `reftex-delete-overlay' and | ||
| 173 | `reftex-overlay-put'. | ||
| 174 | |||
| 175 | 2005-05-18 Lute Kamstra <lute@gnu.org> | ||
| 176 | |||
| 177 | * emacs-lisp/lisp.el (check-parens): Fix docstring. | ||
| 178 | |||
| 179 | 2005-05-18 Juanma Barranquero <lekktu@gmail.com> | ||
| 180 | |||
| 181 | * add-log.el (add-change-log-entry): | ||
| 182 | * array.el (array-make-template, array-reconfigure-rows) | ||
| 183 | (array-init-max-row, array-init-max-column) | ||
| 184 | (array-init-columns-per-line, array-init-field-width): | ||
| 185 | * replace.el (replace-match-maybe-edit, perform-replace): | ||
| 186 | * textmodes/spell.el (spell-region): | ||
| 187 | Replace `read-input' by `read-string'. | ||
| 188 | |||
| 189 | * forms.el (forms-mode): | ||
| 190 | * finder.el (finder-compile-keywords): | ||
| 191 | * shadowfile.el (shadow-read-files): | ||
| 192 | Replace `eval-current-buffer' by `eval-buffer'. | ||
| 193 | |||
| 194 | * terminal.el (te-pass-through): | ||
| 195 | * net/ange-ftp.el (ange-ftp-process-filter, ange-ftp-gwp-filter) | ||
| 196 | (ange-ftp-raw-send-cmd): | ||
| 197 | * net/telnet.el (telnet-interrupt-subjob, telnet-c-z) | ||
| 198 | (send-process-next-char, telnet-initial-filter, telnet): | ||
| 199 | Replace `send-string' by `process-send-string'. | ||
| 200 | |||
| 201 | * progmodes/prolog.el (inferior-prolog-mode): Doc fix. | ||
| 202 | (prolog-consult-region): Replace `send-string' by | ||
| 203 | `process-send-string'; replace `send-region' by | ||
| 204 | `process-send-region'. | ||
| 205 | |||
| 206 | * progmodes/delphi.el (delphi-log-msg): | ||
| 207 | Replace `set-window-dot' by `set-window-point'. | ||
| 208 | |||
| 209 | * subr.el (window-dot, set-window-dot, read-input, send-string) | ||
| 210 | (send-region, show-buffer, eval-current-buffer): | ||
| 211 | Make really obsolete, as the comment says. | ||
| 212 | |||
| 213 | 2005-05-17 Kim F. Storm <storm@cua.dk> | ||
| 214 | |||
| 215 | * emulation/cua-base.el (cua-use-hyper-key): Doc fix. | ||
| 216 | (cua--init-keymaps): Bind C-return instead of S-return to set | ||
| 217 | rectangle mark. | ||
| 218 | |||
| 219 | * emulation/cua-rect.el (cua--init-rectangles): Bind C-return | ||
| 220 | instead of S-return to toggle/clear rectangle mark. | ||
| 221 | |||
| 222 | 2005-05-17 Daniel Pfeiffer <occitan@esperanto.org> | ||
| 223 | |||
| 224 | * progmodes/make-mode.el (makefile-dependency-skip): New variable. | ||
| 225 | (makefile-macroassign-regex, makefile-make-font-lock-keywords): | ||
| 226 | Also fontify plain strings assigned to variables, mostly so that a | ||
| 227 | colon has a face and is thus not taken as a dependency separator. | ||
| 228 | (makefile-previous-dependency): Inline the new matcher, because it | ||
| 229 | is too complex to work in both directions. | ||
| 230 | (makefile-match-dependency): Eliminate `backward' arg (see above). | ||
| 231 | Completely reimplemented so as to not sometimes go into an endless | ||
| 232 | loop. It should also be more efficient, because first it only | ||
| 233 | searches for `:', instead of applying the very complex regexp. | ||
| 234 | (makefile-mode): Cancel `font-lock-support-mode', because blocks | ||
| 235 | to be fontified in one piece can be too long for JIT. Makefiles | ||
| 236 | are never *that* big. | ||
| 237 | |||
| 238 | 2005-05-17 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 239 | |||
| 240 | * dired.el (dired-mode): Simplify. | ||
| 241 | |||
| 242 | 2005-05-17 Lute Kamstra <lute@gnu.org> | ||
| 243 | |||
| 244 | * emacs-lisp/easy-mmode.el (define-minor-mode): Don't generate a | ||
| 245 | defcustom for the mode hook variable. | ||
| 246 | |||
| 247 | * emacs-lisp/authors.el (authors): Do parse the ChangeLogs of the | ||
| 248 | Emacs Lisp Reference Manual. | ||
| 249 | |||
| 250 | 2005-05-17 Juanma Barranquero <lekktu@gmail.com> | ||
| 251 | |||
| 252 | * emacs-lisp/cl.el (eql, floatp-safe, plusp, minusp, oddp) | ||
| 253 | (evenp, list*): | ||
| 254 | * emacs-lisp/cl-macs.el (macrolet, symbol-macrolet): | ||
| 255 | * emacs-lisp/cl-seq.el (subsetp, tree-equal): Doc fixes. | ||
| 256 | |||
| 257 | * net/tramp-smb.el (tramp-smb-open-connection): | ||
| 258 | Pass `tramp-chunksize' as fifth (required) argument. | ||
| 259 | |||
| 260 | 2005-05-16 Daniel Pfeiffer <occitan@esperanto.org> | ||
| 261 | |||
| 262 | * font-lock.el (lisp-font-lock-keywords-1): Set | ||
| 263 | `font-lock-negation-char-face' for [^...] char group. | ||
| 264 | (lisp-font-lock-keywords-2): Highlight regexp's \\( \\| \\). | ||
| 265 | |||
| 266 | * progmodes/make-mode.el (makefile-dependency-regex): Turn it into | ||
| 267 | a var, and refine it to mask one more level of nested vars. | ||
| 268 | (makefile-rule-action-regex): Turn it into a var, and refine it so | ||
| 269 | it recognizes backslashed continuation lines as belonging to the | ||
| 270 | same command. | ||
| 271 | (makefile-macroassign-regex): Refine it so it recognizes | ||
| 272 | backslashed continuation lines as belonging to the same command. | ||
| 273 | (makefile-var-use-regex): Don't look at the next char, because it | ||
| 274 | might be the same one to be skipped by the initial [^$], leading | ||
| 275 | to an overlooked variable use. | ||
| 276 | (makefile-make-font-lock-keywords): Remove two parameters, which | ||
| 277 | are now variables that some of the modes set locally. Handle | ||
| 278 | dependency and rule action matching through functions, because | ||
| 279 | regexps alone match too often. Dependency matching now comes | ||
| 280 | last, so it can check, whether a colon already matched something | ||
| 281 | else. | ||
| 282 | (makefile-mode): Inform that font-lock improves makefile parsing | ||
| 283 | capabilities. | ||
| 284 | (makefile-match-dependency, makefile-match-action): New functions. | ||
| 285 | |||
| 1 | 2005-05-16 Juanma Barranquero <lekktu@gmail.com> | 286 | 2005-05-16 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 287 | ||
| 288 | * emacs-lisp/cl-extra.el (equalp): Doc fix. | ||
| 289 | |||
| 290 | * align.el (align-regexp): | ||
| 291 | * ansi-color.el (ansi-color-get-face): | ||
| 292 | * array.el (array-reconfigure-rows, array-init-max-row) | ||
| 293 | (array-init-max-column, array-init-columns-per-line) | ||
| 294 | (array-init-field-width): | ||
| 295 | * dired-aux.el (dired-trample-file-versions): | ||
| 296 | * dired-x.el (dired-mark-sexp): | ||
| 297 | * ediff-diff.el (ediff-extract-diffs, ediff-get-diff3-group): | ||
| 298 | * edmacro.el (edmacro-finish-edit, edmacro-parse-keys): | ||
| 299 | * emerge.el (emerge-extract-diffs, emerge-get-diff3-group): | ||
| 300 | * faces.el (face-read-integer): | ||
| 301 | * files.el (backup-extract-version, insert-directory): | ||
| 302 | * hexl.el (hexl-insert-decimal-char): | ||
| 303 | * server.el (server-process-filter): | ||
| 304 | * shell.el (shell-extract-num): | ||
| 305 | * startup.el (command-line-1): | ||
| 306 | * term.el (term-command-hook): | ||
| 307 | * time-stamp.el (time-stamp, time-stamp-string-preprocess) | ||
| 308 | (time-stamp-do-number): | ||
| 309 | * time.el (display-time-update): | ||
| 310 | * timezone.el (timezone-parse-date, timezone-zone-to-minute) | ||
| 311 | (timezone-fix-time): | ||
| 312 | * vms-patch.el (vms-suspend-resume-hook): | ||
| 313 | * calendar/appt.el (appt-convert-time): | ||
| 314 | * calendar/cal-bahai.el (mark-bahai-diary-entries): | ||
| 315 | * calendar/cal-hebrew.el (mark-hebrew-diary-entries): | ||
| 316 | * calendar/cal-islam.el (mark-islamic-diary-entries): | ||
| 317 | * calendar/calendar.el (calendar-cursor-to-date) | ||
| 318 | (calendar-star-date): | ||
| 319 | * calendar/diary-lib.el (diary-attrtype-convert) | ||
| 320 | (mark-diary-entries, diary-entry-time): | ||
| 321 | * calendar/solar.el (solar-get-number): | ||
| 322 | * emacs-lisp/lisp-mnt.el (lm-last-modified-date): | ||
| 323 | * emacs-lisp/re-builder.el (reb-display-subexp): | ||
| 324 | * emulation/edt.el (edt-set-scroll-margins): | ||
| 325 | * emulation/tpu-extras.el (tpu-set-scroll-margins): | ||
| 326 | * emulation/vip.el (vip-get-ex-token, vip-get-ex-buffer) | ||
| 327 | (vip-get-ex-count): | ||
| 328 | * emulation/viper-ex.el (viper-get-ex-token) | ||
| 329 | (viper-get-ex-buffer, viper-get-ex-count, ex-next): | ||
| 330 | * international/fontset.el (fontset-plain-name): | ||
| 331 | * mail/feedmail.el (feedmail-look-at-queue-directory): | ||
| 332 | * mail/mailalias.el (mail-get-names): | ||
| 333 | * mail/rmail.el (rmail-convert-to-babyl-format): | ||
| 334 | * mail/rmailsum.el (rmail-make-basic-summary-line) | ||
| 335 | (rmail-summary-next-same-subject, rmail-summary-rmail-update) | ||
| 336 | (rmail-summary-goto-msg): | ||
| 337 | * mail/smtpmail.el (smtpmail-read-response): | ||
| 338 | * net/ange-ftp.el (ange-ftp-guess-hash-mark-size) | ||
| 339 | (ange-ftp-vms-add-file-entry): | ||
| 340 | * play/gametree.el (gametree-looking-at-ply) | ||
| 341 | (gametree-current-branch-score): | ||
| 342 | * progmodes/ada-xref.el (ada-prj-find-prj-file) | ||
| 343 | (ada-xref-find-in-modified-ali, ada-find-in-src-path): | ||
| 344 | * progmodes/cperl-mode.el (condition-case): | ||
| 345 | * progmodes/ebrowse.el (ebrowse-set-tree-indentation) | ||
| 346 | (ebrowse-set-member-buffer-column-width) | ||
| 347 | (ebrowse-select-1st-to-9nth): | ||
| 348 | * progmodes/etags.el (etags-snarf-tag): | ||
| 349 | * progmodes/flymake.el (flymake-parse-line): | ||
| 350 | * progmodes/idlw-shell.el (idlwave-shell-parse-line) | ||
| 351 | (idlwave-shell-filter-bp, idlwave-shell-goto-next-error) | ||
| 352 | (idlwave-shell-menu-def): | ||
| 353 | * progmodes/ps-mode.el (ps-run-goto-error): | ||
| 354 | * progmodes/vhdl-mode.el (vhdl-read-offset, vhdl-load-cache) | ||
| 355 | (vhdl-speedbar-contract-level): | ||
| 356 | * term/mac-win.el (x-handle-numeric-switch): | ||
| 357 | * term/sun-mouse.el (sun-get-frame-data): | ||
| 358 | * term/w32-win.el (x-handle-numeric-switch): | ||
| 359 | * term/x-win.el (x-handle-numeric-switch): | ||
| 360 | * textmodes/ispell.el (ispell-parse-output): | ||
| 361 | * textmodes/nroff-mode.el (nroff-outline-level): | ||
| 362 | * textmodes/reftex-cite.el (reftex-bib-sort-year) | ||
| 363 | (reftex-bib-sort-year-reverse, reftex-format-citation): | ||
| 364 | * textmodes/reftex-parse.el (reftex-init-section-numbers) | ||
| 365 | (reftex-section-number): | ||
| 366 | * textmodes/texinfmt.el (texinfo-paragraphindent): Replace | ||
| 367 | `string-to-int' by `string-to-number'. | ||
| 368 | |||
| 3 | * international/latexenc.el: Add page marker to force the "Local | 369 | * international/latexenc.el: Add page marker to force the "Local |
| 4 | Variables:" string out of the last page. | 370 | Variables:" string out of the last page. |
| 5 | 371 | ||
| @@ -1400,7 +1766,7 @@ | |||
| 1400 | 1766 | ||
| 1401 | 2005-04-15 Carsten Dominik <dominik@science.uva.nl> | 1767 | 2005-04-15 Carsten Dominik <dominik@science.uva.nl> |
| 1402 | 1768 | ||
| 1403 | * textmodes/org.el: (org-agenda-date-prompt): Rename from | 1769 | * textmodes/org.el (org-agenda-date-prompt): Rename from |
| 1404 | `org-agenda-date-today'. | 1770 | `org-agenda-date-today'. |
| 1405 | (org-evaluate-time-range): Insert at point instead of directly | 1771 | (org-evaluate-time-range): Insert at point instead of directly |
| 1406 | after time range. | 1772 | after time range. |
| @@ -1604,7 +1970,7 @@ | |||
| 1604 | to dnd-insert-text. | 1970 | to dnd-insert-text. |
| 1605 | (x-dnd-protocol-alist, x-dnd-open-file-other-window) | 1971 | (x-dnd-protocol-alist, x-dnd-open-file-other-window) |
| 1606 | (x-dnd-handle-one-url, x-dnd-get-local-file-uri) | 1972 | (x-dnd-handle-one-url, x-dnd-get-local-file-uri) |
| 1607 | (x-dnd-get-local-file-name, x-dnd-open-local-file) | 1973 | (x-dnd-get-local-file-name, x-dnd-open-local-file) |
| 1608 | (x-dnd-open-file, x-dnd-insert-text): Move to dnd.el (without x-). | 1974 | (x-dnd-open-file, x-dnd-insert-text): Move to dnd.el (without x-). |
| 1609 | 1975 | ||
| 1610 | * dnd.el (dnd-protocol-alist): New file with generic DND functions. | 1976 | * dnd.el (dnd-protocol-alist): New file with generic DND functions. |
| @@ -2651,7 +3017,7 @@ | |||
| 2651 | 3017 | ||
| 2652 | 2005-03-24 Jay Belanger <belanger@truman.edu> | 3018 | 2005-03-24 Jay Belanger <belanger@truman.edu> |
| 2653 | 3019 | ||
| 2654 | * calc/calc-embed.el (calc-embedded-mode-change): Save all | 3020 | * calc/calc-embed.el (calc-embedded-mode-change): Save all |
| 2655 | relevant mode settings in calc-embedded-original-modes when modes | 3021 | relevant mode settings in calc-embedded-original-modes when modes |
| 2656 | are permanently changed. | 3022 | are permanently changed. |
| 2657 | 3023 | ||
| @@ -4351,7 +4717,7 @@ | |||
| 4351 | (calc-set-language): Set math-expr-special-function-mapping. | 4717 | (calc-set-language): Set math-expr-special-function-mapping. |
| 4352 | 4718 | ||
| 4353 | * calc/calc-prog.el (calc-edit-user-syntax, calc-fix-token-name) | 4719 | * calc/calc-prog.el (calc-edit-user-syntax, calc-fix-token-name) |
| 4354 | (calc-write-parse-table-part): Add LaTeX support. | 4720 | (calc-write-parse-table-part): Add LaTeX support. |
| 4355 | 4721 | ||
| 4356 | * calc/calc.el (calc-language): Adjust docstring. | 4722 | * calc/calc.el (calc-language): Adjust docstring. |
| 4357 | (calc-set-mode-line): Add LaTeX support. | 4723 | (calc-set-mode-line): Add LaTeX support. |
| @@ -5326,7 +5692,7 @@ | |||
| 5326 | 5692 | ||
| 5327 | 2004-12-31 Jay Belanger <belanger@truman.edu> | 5693 | 2004-12-31 Jay Belanger <belanger@truman.edu> |
| 5328 | 5694 | ||
| 5329 | * calc/calc-store.el (calcVar-digit, calcVar-oper): Remove the need | 5695 | * calc/calc-store.el (calcVar-digit, calcVar-oper): Remove the need |
| 5330 | for "var-" at the beginning of the minibuffer. | 5696 | for "var-" at the beginning of the minibuffer. |
| 5331 | 5697 | ||
| 5332 | 2004-12-31 Richard M. Stallman <rms@gnu.org> | 5698 | 2004-12-31 Richard M. Stallman <rms@gnu.org> |
| @@ -6176,7 +6542,7 @@ | |||
| 6176 | * calendar/holidays.el (holiday-easter-etc): Make arguments | 6542 | * calendar/holidays.el (holiday-easter-etc): Make arguments |
| 6177 | optional for backwards compatibility. Doc fix. | 6543 | optional for backwards compatibility. Doc fix. |
| 6178 | Remove un-necessary local vars mandatory, output-list. | 6544 | Remove un-necessary local vars mandatory, output-list. |
| 6179 | (holiday-advent): Make arguments optional for backwards | 6545 | (holiday-advent): Make arguments optional for backwards |
| 6180 | compatibility. Doc fix. | 6546 | compatibility. Doc fix. |
| 6181 | 6547 | ||
| 6182 | 2004-12-06 Stefan Monnier <monnier@iro.umontreal.ca> | 6548 | 2004-12-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -7285,7 +7651,7 @@ | |||
| 7285 | disp-trail by declared variable. | 7651 | disp-trail by declared variable. |
| 7286 | 7652 | ||
| 7287 | * calc/calc-sel.el (calc-edit-disp-trail): Declare it. | 7653 | * calc/calc-sel.el (calc-edit-disp-trail): Declare it. |
| 7288 | (calc-finish-selection-edit): Replace variable disp-trail by | 7654 | (calc-finish-selection-edit): Replace variable disp-trail by |
| 7289 | declared variable. | 7655 | declared variable. |
| 7290 | (calc-selection-cache-entry): Move declaration to earlier in the file. | 7656 | (calc-selection-cache-entry): Move declaration to earlier in the file. |
| 7291 | (calc-selection-cache-num, calc-selection-cache-comp) | 7657 | (calc-selection-cache-num, calc-selection-cache-comp) |
| @@ -7301,14 +7667,14 @@ | |||
| 7301 | (calc-sel-reselect): New variable. | 7667 | (calc-sel-reselect): New variable. |
| 7302 | (calc-auto-selection, calc-enter-selection, calc-edit-selection) | 7668 | (calc-auto-selection, calc-enter-selection, calc-edit-selection) |
| 7303 | (calc-sel-evaluate, calc-sel-expand-formula, calc-sel-expand-formula) | 7669 | (calc-sel-evaluate, calc-sel-expand-formula, calc-sel-expand-formula) |
| 7304 | (calc-sel-mult-both-sides, calc-sel-add-both-sides): Replace variable | 7670 | (calc-sel-mult-both-sides, calc-sel-add-both-sides): Replace variable |
| 7305 | reselect with declared variable. | 7671 | reselect with declared variable. |
| 7306 | 7672 | ||
| 7307 | * calc/calc-rewr.el (math-regs, math-num-regs, math-prog-last) | 7673 | * calc/calc-rewr.el (math-regs, math-num-regs, math-prog-last) |
| 7308 | (math-bound-vars, math-conds, math-copy-neg, math-rhs) | 7674 | (math-bound-vars, math-conds, math-copy-neg, math-rhs) |
| 7309 | (math-pattern, math-remembering, math-aliased-vars, math-mt-many) | 7675 | (math-pattern, math-remembering, math-aliased-vars, math-mt-many) |
| 7310 | (math-import-list, math-rewrite-phase): Declare them. | 7676 | (math-import-list, math-rewrite-phase): Declare them. |
| 7311 | (math-rewrite): Use let* to declare variables. | 7677 | (math-rewrite): Use let* to declare variables. |
| 7312 | (calc-rewrite-selection): Make rules a local variable. | 7678 | (calc-rewrite-selection): Make rules a local variable. |
| 7313 | (calc-rewr-sel): New variable. | 7679 | (calc-rewr-sel): New variable. |
| 7314 | (calc-rewrite-selection, calc-locate-selection-marker) | 7680 | (calc-rewrite-selection, calc-locate-selection-marker) |
| @@ -7541,15 +7907,15 @@ | |||
| 7541 | 7907 | ||
| 7542 | 2004-11-15 Jay Belanger <belanger@truman.edu> | 7908 | 2004-11-15 Jay Belanger <belanger@truman.edu> |
| 7543 | 7909 | ||
| 7544 | * calc/calcalg2.el (math-integrate-by-parts): Remove unused | 7910 | * calc/calcalg2.el (math-integrate-by-parts): Remove unused |
| 7545 | variable var-thing. | 7911 | variable var-thing. |
| 7546 | (math-integ-depth, math-integ-level, math-integral-limit) | 7912 | (math-integ-depth, math-integ-level, math-integral-limit) |
| 7547 | (math-enable-subst, math-any-substs, math-integ-msg) | 7913 | (math-enable-subst, math-any-substs, math-integ-msg) |
| 7548 | (math-prev-parts-v, math-good-parts, math-max-integral-limit) | 7914 | (math-prev-parts-v, math-good-parts, math-max-integral-limit) |
| 7549 | (math-int-threshold, math-int-factors, math-double-roots) | 7915 | (math-int-threshold, math-int-factors, math-double-roots) |
| 7550 | (math-solve-simplifying, var-IntegLimit, math-solve-sign) | 7916 | (math-solve-simplifying, var-IntegLimit, math-solve-sign) |
| 7551 | (var-GenCount): Declare these variables. | 7917 | (var-GenCount): Declare these variables. |
| 7552 | (calcFunc-integ): Don't check if var-IntegLimit is bound. | 7918 | (calcFunc-integ): Don't check if var-IntegLimit is bound. |
| 7553 | (math-integral-cache, math-integral-cache-state): | 7919 | (math-integral-cache, math-integral-cache-state): |
| 7554 | Move declarations to earlier in the file. | 7920 | Move declarations to earlier in the file. |
| 7555 | (math-deriv-var, math-deriv-total, math-deriv-symb) | 7921 | (math-deriv-var, math-deriv-total, math-deriv-symb) |
| @@ -7557,7 +7923,7 @@ | |||
| 7557 | (math-so-far, math-integ-expr, math-expr-parts, calc-low) | 7923 | (math-so-far, math-integ-expr, math-expr-parts, calc-low) |
| 7558 | (calc-high, math-solve-var, math-solve-full, math-solve-vars) | 7924 | (calc-high, math-solve-var, math-solve-full, math-solve-vars) |
| 7559 | (math-try-solve-sign, math-solve-b, math-solve-system-vv) | 7925 | (math-try-solve-sign, math-solve-b, math-solve-system-vv) |
| 7560 | (math-solve-res): New variables | 7926 | (math-solve-res): New variables |
| 7561 | (math-derivative, calcFunc-deriv, calcFunc-tderiv) | 7927 | (math-derivative, calcFunc-deriv, calcFunc-tderiv) |
| 7562 | (math-integral, math-replace-integral-parts) | 7928 | (math-integral, math-replace-integral-parts) |
| 7563 | (math-integrate-by-parts, calc-dump-integral-cache) | 7929 | (math-integrate-by-parts, calc-dump-integral-cache) |
| @@ -7661,18 +8027,18 @@ | |||
| 7661 | 8027 | ||
| 7662 | 2004-11-12 Jay Belanger <belanger@truman.edu> | 8028 | 2004-11-12 Jay Belanger <belanger@truman.edu> |
| 7663 | 8029 | ||
| 7664 | * calc/calc-graph.el (calc-dumb-map): Declare it. | 8030 | * calc/calc-graph.el (calc-dumb-map): Declare it. |
| 7665 | (calc-graph-show-dumb): Check if calc-dumb-map is non-nil rather | 8031 | (calc-graph-show-dumb): Check if calc-dumb-map is non-nil rather |
| 7666 | than unbound. | 8032 | than unbound. |
| 7667 | (calc-graph-name): Made `end' a local variable. | 8033 | (calc-graph-name): Made `end' a local variable. |
| 7668 | (calc-graph-lookup): Made `varname' a local variable. | 8034 | (calc-graph-lookup): Made `varname' a local variable. |
| 7669 | (var-DUMMY, var-DUMMY2, var-PlotRejects, calc-gnuplot-trail-mark): | 8035 | (var-DUMMY, var-DUMMY2, var-PlotRejects, calc-gnuplot-trail-mark): |
| 7670 | Declare them. | 8036 | Declare them. |
| 7671 | (calc-graph-format-data): Don't check if var-PlotRejects is bound. | 8037 | (calc-graph-format-data): Don't check if var-PlotRejects is bound. |
| 7672 | (calc-graph-plot, calc-graph-compute-3d): Remove references to | 8038 | (calc-graph-plot, calc-graph-compute-3d): Remove references to |
| 7673 | the unused variable y3vec. | 8039 | the unused variable y3vec. |
| 7674 | (calc-graph-show-dumb): Remove reference to unused variable found-pt. | 8040 | (calc-graph-show-dumb): Remove reference to unused variable found-pt. |
| 7675 | (calc-graph-kill-hook, calc-graph-plot): Remove reference to | 8041 | (calc-graph-kill-hook, calc-graph-plot): Remove reference to |
| 7676 | calc-graph-prev-kill-hook. | 8042 | calc-graph-prev-kill-hook. |
| 7677 | (calc-graph-yvalue, calc-graph-yvec, calc-graph-numsteps) | 8043 | (calc-graph-yvalue, calc-graph-yvec, calc-graph-numsteps) |
| 7678 | (calc-graph-numsteps3, calc-graph-xvalue, calc-graph-xvec) | 8044 | (calc-graph-numsteps3, calc-graph-xvalue, calc-graph-xvec) |
| @@ -7685,7 +8051,7 @@ | |||
| 7685 | (calc-graph-y3step, calc-graph-y3step, calc-graph-zval) | 8051 | (calc-graph-y3step, calc-graph-y3step, calc-graph-zval) |
| 7686 | (calc-graph-stepcount, calc-graph-is-splot) | 8052 | (calc-graph-stepcount, calc-graph-is-splot) |
| 7687 | (calc-graph-surprise-splot, calc-graph-blank) | 8053 | (calc-graph-surprise-splot, calc-graph-blank) |
| 7688 | (calc-graph-non-blank, calc-graph-curve-num): New variables. | 8054 | (calc-graph-non-blank, calc-graph-curve-num): New variables. |
| 7689 | (calc-graph-plot, calc-graph-compute-2d, calc-graph-refine-2d) | 8055 | (calc-graph-plot, calc-graph-compute-2d, calc-graph-refine-2d) |
| 7690 | (calc-graph-recompute-2d, calc-graph-compute-3d) | 8056 | (calc-graph-recompute-2d, calc-graph-compute-3d) |
| 7691 | (calc-graph-format-data): Replace undeclared variables with the | 8057 | (calc-graph-format-data): Replace undeclared variables with the |
| @@ -7759,28 +8125,28 @@ | |||
| 7759 | 8125 | ||
| 7760 | 2004-11-11 Jay Belanger <belanger@truman.edu> | 8126 | 2004-11-11 Jay Belanger <belanger@truman.edu> |
| 7761 | 8127 | ||
| 7762 | * calc/calc-comb.el (math-prime-factors-finished): Declare it as | 8128 | * calc/calc-comb.el (math-prime-factors-finished): Declare it as |
| 7763 | a variable. | 8129 | a variable. |
| 7764 | (calcFunc-dfac): Replace unbound max by n. | 8130 | (calcFunc-dfac): Replace unbound max by n. |
| 7765 | (math-stirling-local-cache): New variable. | 8131 | (math-stirling-local-cache): New variable. |
| 7766 | (math-stirling-number, math-stirling-1, math-stirling-2): | 8132 | (math-stirling-number, math-stirling-1, math-stirling-2): |
| 7767 | Replace the variable `cache' by the declared variable | 8133 | Replace the variable `cache' by the declared variable |
| 7768 | math-stirling-local-cache. | 8134 | math-stirling-local-cache. |
| 7769 | (var-RandSeed): Declare it as a variable. | 8135 | (var-RandSeed): Declare it as a variable. |
| 7770 | (math-init-random-base, math-random-digit): Don't check to see if | 8136 | (math-init-random-base, math-random-digit): Don't check to see if |
| 7771 | var-RandSeed is bound. | 8137 | var-RandSeed is bound. |
| 7772 | (math-random-cache, math-gaussian-cache, calc-verbose-nextprime): | 8138 | (math-random-cache, math-gaussian-cache, calc-verbose-nextprime): |
| 7773 | Declare them instead of just setting them. | 8139 | Declare them instead of just setting them. |
| 7774 | (math-init-random-base): Made i a local variable. | 8140 | (math-init-random-base): Made i a local variable. |
| 7775 | (math-random-digit): Made math-random-last a local variable. | 8141 | (math-random-digit): Made math-random-last a local variable. |
| 7776 | (math-prime-test-cache): Move declaration to before it is used. | 8142 | (math-prime-test-cache): Move declaration to before it is used. |
| 7777 | (math-prime-test-cache-k, math-prime-test-cache-q) | 8143 | (math-prime-test-cache-k, math-prime-test-cache-q) |
| 7778 | (math-prime-test-cache-nm1, math-prime-factors-finished): | 8144 | (math-prime-test-cache-nm1, math-prime-factors-finished): |
| 7779 | Declare them as variables. | 8145 | Declare them as variables. |
| 7780 | 8146 | ||
| 7781 | 2004-11-11 Jay Belanger <belanger@truman.edu> | 8147 | 2004-11-11 Jay Belanger <belanger@truman.edu> |
| 7782 | 8148 | ||
| 7783 | * calc/calc-ext.el (math-defcache): Use defvar for the new | 8149 | * calc/calc-ext.el (math-defcache): Use defvar for the new |
| 7784 | variables it creates. | 8150 | variables it creates. |
| 7785 | 8151 | ||
| 7786 | 2004-11-11 Lars Hansen <larsh@math.ku.dk> | 8152 | 2004-11-11 Lars Hansen <larsh@math.ku.dk> |
| @@ -7796,45 +8162,45 @@ | |||
| 7796 | 8162 | ||
| 7797 | 2004-11-10 Jay Belanger <belanger@truman.edu> | 8163 | 2004-11-10 Jay Belanger <belanger@truman.edu> |
| 7798 | 8164 | ||
| 7799 | * calc/calc-aent.el (calc-do-quick-calc): Use kill-new to append | 8165 | * calc/calc-aent.el (calc-do-quick-calc): Use kill-new to append |
| 7800 | string to kill-ring. | 8166 | string to kill-ring. |
| 7801 | 8167 | ||
| 7802 | * calc/calc-aent.el (calc-alg-exp, math-toks) | 8168 | * calc/calc-aent.el (calc-alg-exp, math-toks) |
| 7803 | (math-exp-pos,math-exp-old-pos, math-exp-token) | 8169 | (math-exp-pos,math-exp-old-pos, math-exp-token) |
| 7804 | (math-exp-keep-spaces, math-exp-str): New variables. | 8170 | (math-exp-keep-spaces, math-exp-str): New variables. |
| 7805 | (calc-do-alg-entry, calcAlg-equals, calcAlg-edit) | 8171 | (calc-do-alg-entry, calcAlg-equals, calcAlg-edit) |
| 7806 | (calcAlg-enter): Use declared variable calc-alg-exp. | 8172 | (calcAlg-enter): Use declared variable calc-alg-exp. |
| 7807 | (math-build-parse-table, math-find-user-token): Use declared | 8173 | (math-build-parse-table, math-find-user-token): Use declared |
| 7808 | variable math-toks. | 8174 | variable math-toks. |
| 7809 | (math-read-exprs, math-read-token, calc-check-user-syntax) | 8175 | (math-read-exprs, math-read-token, calc-check-user-syntax) |
| 7810 | (calc-match-user-syntax, match-factor-after, math-read-factor): | 8176 | (calc-match-user-syntax, match-factor-after, math-read-factor): |
| 7811 | Use declared variables math-exp-pos math-exp-old-pos. | 8177 | Use declared variables math-exp-pos math-exp-old-pos. |
| 7812 | (math-read-exprs, math-read-token, math-read-expr-level) | 8178 | (math-read-exprs, math-read-token, math-read-expr-level) |
| 7813 | (calc-check-user-syntax, calc-match-user-syntax) | 8179 | (calc-check-user-syntax, calc-match-user-syntax) |
| 7814 | (match-factor-after, math-read-factor): Use declared variable | 8180 | (match-factor-after, math-read-factor): Use declared variable |
| 7815 | math-exp-token. | 8181 | math-exp-token. |
| 7816 | (math-read-exprs, math-read-expr-list, math-read-token) | 8182 | (math-read-exprs, math-read-expr-list, math-read-token) |
| 7817 | (math-read-factor): Use declared variable math-exp-keep-spaces. | 8183 | (math-read-factor): Use declared variable math-exp-keep-spaces. |
| 7818 | (math-read-exprs, math-read-token): Use declared variable | 8184 | (math-read-exprs, math-read-token): Use declared variable |
| 7819 | math-exp-str. | 8185 | math-exp-str. |
| 7820 | (calc-match-user-syntax): Make m a local variable. | 8186 | (calc-match-user-syntax): Make m a local variable. |
| 7821 | 8187 | ||
| 7822 | * calc/calc-ext.el (math-read-expr): Use declared variables | 8188 | * calc/calc-ext.el (math-read-expr): Use declared variables |
| 7823 | math-exp-pos, math-exp-old-pos, math-exp-str, math-exp-token, | 8189 | math-exp-pos, math-exp-old-pos, math-exp-str, math-exp-token, |
| 7824 | math-exp-keep-spaces. | 8190 | math-exp-keep-spaces. |
| 7825 | 8191 | ||
| 7826 | * calc/calc-forms.el (math-read-angle-bracket): Use declared | 8192 | * calc/calc-forms.el (math-read-angle-bracket): Use declared |
| 7827 | variables math-exp-pos, math-exp-str. | 8193 | variables math-exp-pos, math-exp-str. |
| 7828 | 8194 | ||
| 7829 | * calc/calc-lang.el (math-parse-tex-sum): Use declared variable | 8195 | * calc/calc-lang.el (math-parse-tex-sum): Use declared variable |
| 7830 | math-exp-old-pos. | 8196 | math-exp-old-pos. |
| 7831 | (math-parse-fortran-vector, math-parse-fortran-vector-end) | 8197 | (math-parse-fortran-vector, math-parse-fortran-vector-end) |
| 7832 | (math-parse-eqn-prime): Use declared variable math-exp-token. | 8198 | (math-parse-eqn-prime): Use declared variable math-exp-token. |
| 7833 | 8199 | ||
| 7834 | * calc/calc-vec.el (math-read-brackets, math-check-for-commas): | 8200 | * calc/calc-vec.el (math-read-brackets, math-check-for-commas): |
| 7835 | Use declared variable math-exp-pos. | 8201 | Use declared variable math-exp-pos. |
| 7836 | (math-check-for-commas): Use declared variable math-exp-str. | 8202 | (math-check-for-commas): Use declared variable math-exp-str. |
| 7837 | (math-read-brackets): Use declared variables math-exp-old-pos, | 8203 | (math-read-brackets): Use declared variables math-exp-old-pos, |
| 7838 | math-exp-keep-spaces. | 8204 | math-exp-keep-spaces. |
| 7839 | (math-read-brackets, math-read-vector, math-read-matrix): | 8205 | (math-read-brackets, math-read-vector, math-read-matrix): |
| 7840 | Use declared variable math-exp-token. | 8206 | Use declared variable math-exp-token. |
| @@ -7872,42 +8238,42 @@ | |||
| 7872 | 8238 | ||
| 7873 | 2004-11-09 Jay Belanger <belanger@truman.edu> | 8239 | 2004-11-09 Jay Belanger <belanger@truman.edu> |
| 7874 | 8240 | ||
| 7875 | * calc/calc-ext.el (calc-init-extensions): Remove old code. | 8241 | * calc/calc-ext.el (calc-init-extensions): Remove old code. |
| 7876 | 8242 | ||
| 7877 | * calc/calc-ext.el (math-expr-data, math-mt-many, math-mt-func) | 8243 | * calc/calc-ext.el (math-expr-data, math-mt-many, math-mt-func) |
| 7878 | (calc-z-prefix-buf, calc-z-prefix-msgs): New variables. | 8244 | (calc-z-prefix-buf, calc-z-prefix-msgs): New variables. |
| 7879 | (calc-z-prefix-help, calc-user-function-list): Use declared | 8245 | (calc-z-prefix-help, calc-user-function-list): Use declared |
| 7880 | variables calc-z-prefix-buf, calc-z-prefix-msgs. | 8246 | variables calc-z-prefix-buf, calc-z-prefix-msgs. |
| 7881 | (math-map-tree, math-map-tree-rec): Use declared variables | 8247 | (math-map-tree, math-map-tree-rec): Use declared variables |
| 7882 | math-mt-many, math-mt-func. | 8248 | math-mt-many, math-mt-func. |
| 7883 | (math-read-expression, math-read-string): Use declared variable | 8249 | (math-read-expression, math-read-string): Use declared variable |
| 7884 | math-expr-data. | 8250 | math-expr-data. |
| 7885 | 8251 | ||
| 7886 | * calc/calc-ext.el (math-normalize-nonstandard): Use declared | 8252 | * calc/calc-ext.el (math-normalize-nonstandard): Use declared |
| 7887 | variable math-normalize-a. | 8253 | variable math-normalize-a. |
| 7888 | 8254 | ||
| 7889 | * calc/calc.el (math-normalize-a): New variable. | 8255 | * calc/calc.el (math-normalize-a): New variable. |
| 7890 | (math-normalize): Use declared variable math-normalize-a. | 8256 | (math-normalize): Use declared variable math-normalize-a. |
| 7891 | 8257 | ||
| 7892 | * calc/calc-poly.el (math-expand-form): Use declared variable | 8258 | * calc/calc-poly.el (math-expand-form): Use declared variable |
| 7893 | math-mt-many. | 8259 | math-mt-many. |
| 7894 | 8260 | ||
| 7895 | * calc/calc-rewr.el (math-rewrite, math-rewrite-phase): | 8261 | * calc/calc-rewr.el (math-rewrite, math-rewrite-phase): |
| 7896 | Use declared variable math-mt-many. | 8262 | Use declared variable math-mt-many. |
| 7897 | (math-rewrite): Use declared variable math-mt-func. | 8263 | (math-rewrite): Use declared variable math-mt-func. |
| 7898 | 8264 | ||
| 7899 | * calc/calc-vec.el (math-read-brackets, math-read-vector) | 8265 | * calc/calc-vec.el (math-read-brackets, math-read-vector) |
| 7900 | (math-read-matrix): Use declared variable math-expr-data. | 8266 | (math-read-matrix): Use declared variable math-expr-data. |
| 7901 | 8267 | ||
| 7902 | * calc/calc-lang.el (math-parse-fortran-vector) | 8268 | * calc/calc-lang.el (math-parse-fortran-vector) |
| 7903 | (math-parse-fortran-vector-end, math-parse-tex-sum) | 8269 | (math-parse-fortran-vector-end, math-parse-tex-sum) |
| 7904 | (math-parse-eqn-matrix, math-parse-eqn-prime) | 8270 | (math-parse-eqn-matrix, math-parse-eqn-prime) |
| 7905 | (math-read-math-subscr): Use declared variable math-expr-data. | 8271 | (math-read-math-subscr): Use declared variable math-expr-data. |
| 7906 | 8272 | ||
| 7907 | * calc/calc-aent.el (math-read-exprs, math-read-expr-list) | 8273 | * calc/calc-aent.el (math-read-exprs, math-read-expr-list) |
| 7908 | (math-read-expr-level, math-read-token, calc-check-user-syntax) | 8274 | (math-read-expr-level, math-read-token, calc-check-user-syntax) |
| 7909 | (calc-match-user-syntax, math-read-if, math-factor-after) | 8275 | (calc-match-user-syntax, math-read-if, math-factor-after) |
| 7910 | (math-read-factor): Use declared variable math-expr-data. | 8276 | (math-read-factor): Use declared variable math-expr-data. |
| 7911 | 8277 | ||
| 7912 | 2004-11-09 Glenn Morris <gmorris@ast.cam.ac.uk> | 8278 | 2004-11-09 Glenn Morris <gmorris@ast.cam.ac.uk> |
| 7913 | 8279 | ||
| @@ -7940,14 +8306,14 @@ | |||
| 7940 | 2004-11-09 Jay Belanger <belanger@truman.edu> | 8306 | 2004-11-09 Jay Belanger <belanger@truman.edu> |
| 7941 | 8307 | ||
| 7942 | * calc/calc.el (calc-mode-hook, calc-trail-mode-hook) | 8308 | * calc/calc.el (calc-mode-hook, calc-trail-mode-hook) |
| 7943 | (calc-start-hook, calc-end-hook, calc-load-hook): New variables. | 8309 | (calc-start-hook, calc-end-hook, calc-load-hook): New variables. |
| 7944 | 8310 | ||
| 7945 | * calc/calc.el (calc, calc-trail-display, calc-mode): | 8311 | * calc/calc.el (calc, calc-trail-display, calc-mode): |
| 7946 | Remove obsolete sections. | 8312 | Remove obsolete sections. |
| 7947 | 8313 | ||
| 7948 | * calc/calc.el (calc-x-paste-text): Remove. | 8314 | * calc/calc.el (calc-x-paste-text): Remove. |
| 7949 | 8315 | ||
| 7950 | * calc/calc-ext.el (calc-init-extensions): Bind calc-yank to | 8316 | * calc/calc-ext.el (calc-init-extensions): Bind calc-yank to |
| 7951 | mouse-2. | 8317 | mouse-2. |
| 7952 | 8318 | ||
| 7953 | 2004-11-09 Nick Roberts <nickrob@snap.net.nz> | 8319 | 2004-11-09 Nick Roberts <nickrob@snap.net.nz> |
| @@ -7993,14 +8359,14 @@ | |||
| 7993 | 8359 | ||
| 7994 | 2004-11-08 Jay Belanger <belanger@truman.edu> | 8360 | 2004-11-08 Jay Belanger <belanger@truman.edu> |
| 7995 | 8361 | ||
| 7996 | * calc/calcalg2.el (math-do-integral-methods): Try linear then | 8362 | * calc/calcalg2.el (math-do-integral-methods): Try linear then |
| 7997 | non-linear substitutions. | 8363 | non-linear substitutions. |
| 7998 | 8364 | ||
| 7999 | 2004-11-08 Jay Belanger <belanger@truman.edu> | 8365 | 2004-11-08 Jay Belanger <belanger@truman.edu> |
| 8000 | 8366 | ||
| 8001 | * calc/calcalg2.el (math-linear-subst-tried): New variable. | 8367 | * calc/calcalg2.el (math-linear-subst-tried): New variable. |
| 8002 | (math-do-integral): Set `math-linear-subst-tried' to nil. | 8368 | (math-do-integral): Set `math-linear-subst-tried' to nil. |
| 8003 | (math-do-integral-methods): Use `math-linear-subst-tried' to | 8369 | (math-do-integral-methods): Use `math-linear-subst-tried' to |
| 8004 | determine what type of substitution to try. | 8370 | determine what type of substitution to try. |
| 8005 | (math-integ-try-linear-substituion): | 8371 | (math-integ-try-linear-substituion): |
| 8006 | Set `math-linear-subst-tried' to t. | 8372 | Set `math-linear-subst-tried' to t. |
| @@ -8604,7 +8970,7 @@ | |||
| 8604 | 2004-10-26 Jay Belanger <belanger@truman.edu> | 8970 | 2004-10-26 Jay Belanger <belanger@truman.edu> |
| 8605 | 8971 | ||
| 8606 | * calc/calc.el (calc,full-calc, calc-quit, calc-keypad) | 8972 | * calc/calc.el (calc,full-calc, calc-quit, calc-keypad) |
| 8607 | (full-calc-keypad, calc-trail-display): Use an extra argument | 8973 | (full-calc-keypad, calc-trail-display): Use an extra argument |
| 8608 | instead of `interactive-p'. | 8974 | instead of `interactive-p'. |
| 8609 | 8975 | ||
| 8610 | * calc/calc-misc.el (calc-other-window): Use an extra argument | 8976 | * calc/calc-misc.el (calc-other-window): Use an extra argument |
| @@ -8649,7 +9015,7 @@ | |||
| 8649 | 9015 | ||
| 8650 | 2004-10-25 Jay Belanger <belanger@truman.edu> | 9016 | 2004-10-25 Jay Belanger <belanger@truman.edu> |
| 8651 | 9017 | ||
| 8652 | * calc/calc-incom.el (calc-digit-dots): Inhibit read-only before | 9018 | * calc/calc-incom.el (calc-digit-dots): Inhibit read-only before |
| 8653 | erasing minibuffer. | 9019 | erasing minibuffer. |
| 8654 | 9020 | ||
| 8655 | 2004-10-25 Simon Josefsson <jas@extundo.com> | 9021 | 2004-10-25 Simon Josefsson <jas@extundo.com> |
| @@ -9640,7 +10006,7 @@ | |||
| 9640 | (calc-invocation-macro, calc-show-banner): Give these values as | 10006 | (calc-invocation-macro, calc-show-banner): Give these values as |
| 9641 | part of `calc-mode-var-list's initialization after the variables | 10007 | part of `calc-mode-var-list's initialization after the variables |
| 9642 | are declared with defvar. | 10008 | are declared with defvar. |
| 9643 | (calc-bug-address): Change email address to send bug reports to. | 10009 | (calc-bug-address): Change email address to send bug reports to. |
| 9644 | Change the maintainer address at the top. | 10010 | Change the maintainer address at the top. |
| 9645 | (calc-mode): Compare `calc-settings-file' to `user-init-file' rather | 10011 | (calc-mode): Compare `calc-settings-file' to `user-init-file' rather |
| 9646 | than "\\.emacs" to determine if it is the user-init-file. | 10012 | than "\\.emacs" to determine if it is the user-init-file. |
| @@ -15936,7 +16302,7 @@ | |||
| 15936 | 16302 | ||
| 15937 | 2004-02-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 16303 | 2004-02-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 15938 | 16304 | ||
| 15939 | * x-dnd.el (x-dnd-types-alist): Add COMPOUND_TEXT, FILE_NAME | 16305 | * x-dnd.el (x-dnd-types-alist): Add COMPOUND_TEXT, FILE_NAME |
| 15940 | handled by x-dnd-handle-file-name. | 16306 | handled by x-dnd-handle-file-name. |
| 15941 | (x-dnd-known-types): Add COMPOUND_TEXT. | 16307 | (x-dnd-known-types): Add COMPOUND_TEXT. |
| 15942 | (x-dnd-init-frame): Call x-dnd-init-motif-for-frame. | 16308 | (x-dnd-init-frame): Call x-dnd-init-motif-for-frame. |
diff --git a/lisp/add-log.el b/lisp/add-log.el index 7c5f8462f77..6dcbfca0c26 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -492,13 +492,13 @@ non-nil, otherwise in local time." | |||
| 492 | 492 | ||
| 493 | (if whoami | 493 | (if whoami |
| 494 | (progn | 494 | (progn |
| 495 | (setq full-name (read-input "Full name: " full-name)) | 495 | (setq full-name (read-string "Full name: " full-name)) |
| 496 | ;; Note that some sites have room and phone number fields in | 496 | ;; Note that some sites have room and phone number fields in |
| 497 | ;; full name which look silly when inserted. Rather than do | 497 | ;; full name which look silly when inserted. Rather than do |
| 498 | ;; anything about that here, let user give prefix argument so that | 498 | ;; anything about that here, let user give prefix argument so that |
| 499 | ;; s/he can edit the full name field in prompter if s/he wants. | 499 | ;; s/he can edit the full name field in prompter if s/he wants. |
| 500 | (setq mailing-address | 500 | (setq mailing-address |
| 501 | (read-input "Mailing address: " mailing-address)))) | 501 | (read-string "Mailing address: " mailing-address)))) |
| 502 | 502 | ||
| 503 | (unless (equal file-name buffer-file-name) | 503 | (unless (equal file-name buffer-file-name) |
| 504 | (if (or other-window (window-dedicated-p (selected-window))) | 504 | (if (or other-window (window-dedicated-p (selected-window))) |
diff --git a/lisp/align.el b/lisp/align.el index 5238a75807d..563e839f5fe 100644 --- a/lisp/align.el +++ b/lisp/align.el | |||
| @@ -938,10 +938,10 @@ region, call `align-regexp' and type in that regular expression." | |||
| 938 | (if current-prefix-arg | 938 | (if current-prefix-arg |
| 939 | (list (read-string "Complex align using regexp: " | 939 | (list (read-string "Complex align using regexp: " |
| 940 | "\\(\\s-*\\)") | 940 | "\\(\\s-*\\)") |
| 941 | (string-to-int | 941 | (string-to-number |
| 942 | (read-string | 942 | (read-string |
| 943 | "Parenthesis group to modify (justify if negative): " "1")) | 943 | "Parenthesis group to modify (justify if negative): " "1")) |
| 944 | (string-to-int | 944 | (string-to-number |
| 945 | (read-string "Amount of spacing (or column if negative): " | 945 | (read-string "Amount of spacing (or column if negative): " |
| 946 | (number-to-string align-default-spacing))) | 946 | (number-to-string align-default-spacing))) |
| 947 | (y-or-n-p "Repeat throughout line? ")) | 947 | (y-or-n-p "Repeat throughout line? ")) |
diff --git a/lisp/ansi-color.el b/lisp/ansi-color.el index e505f91e901..9b36a403b5d 100644 --- a/lisp/ansi-color.el +++ b/lisp/ansi-color.el | |||
| @@ -619,7 +619,7 @@ ESCAPE-SEQ is a SGR control sequences such as \\033[34m. The parameter | |||
| 619 | (while (string-match ansi-color-r escape-seq i) | 619 | (while (string-match ansi-color-r escape-seq i) |
| 620 | (setq i (match-end 0) | 620 | (setq i (match-end 0) |
| 621 | val (ansi-color-get-face-1 | 621 | val (ansi-color-get-face-1 |
| 622 | (string-to-int (match-string 0 escape-seq) 10))) | 622 | (string-to-number (match-string 0 escape-seq) 10))) |
| 623 | (cond ((not val)) | 623 | (cond ((not val)) |
| 624 | ((eq val 'default) | 624 | ((eq val 'default) |
| 625 | (setq f (list val))) | 625 | (setq f (list val))) |
diff --git a/lisp/array.el b/lisp/array.el index 3aa5d4bd319..f65f14ac550 100644 --- a/lisp/array.el +++ b/lisp/array.el | |||
| @@ -607,7 +607,7 @@ If optional ARG is given, copy through ARG rows up." | |||
| 607 | (let ((check t) | 607 | (let ((check t) |
| 608 | (len)) | 608 | (len)) |
| 609 | (while check | 609 | (while check |
| 610 | (setq array-init-field (read-input "Initial field value: ")) | 610 | (setq array-init-field (read-string "Initial field value: ")) |
| 611 | (setq len (length array-init-field)) | 611 | (setq len (length array-init-field)) |
| 612 | (if (/= len array-field-width) | 612 | (if (/= len array-field-width) |
| 613 | (if (y-or-n-p (format "Change field width to %d? " len)) | 613 | (if (y-or-n-p (format "Change field width to %d? " len)) |
| @@ -647,8 +647,8 @@ of array-rows-numbered." | |||
| 647 | (<= new-columns-per-line array-max-column)) | 647 | (<= new-columns-per-line array-max-column)) |
| 648 | (setq check nil) | 648 | (setq check nil) |
| 649 | (setq new-columns-per-line | 649 | (setq new-columns-per-line |
| 650 | (string-to-int | 650 | (string-to-number |
| 651 | (read-input | 651 | (read-string |
| 652 | (format "Columns per line (1 - %d): " array-max-column))))))) | 652 | (format "Columns per line (1 - %d): " array-max-column))))))) |
| 653 | ;; Check on new-rows-numbered. It has to be done this way | 653 | ;; Check on new-rows-numbered. It has to be done this way |
| 654 | ;; because interactive does not have y-or-n-p. | 654 | ;; because interactive does not have y-or-n-p. |
| @@ -927,22 +927,22 @@ Entering array mode calls the function `array-mode-hook'." | |||
| 927 | (defun array-init-max-row (&optional arg) | 927 | (defun array-init-max-row (&optional arg) |
| 928 | "Initialize the value of `array-max-row'." | 928 | "Initialize the value of `array-max-row'." |
| 929 | (setq array-max-row | 929 | (setq array-max-row |
| 930 | (or arg (string-to-int (read-input "Number of array rows: "))))) | 930 | (or arg (string-to-number (read-string "Number of array rows: "))))) |
| 931 | 931 | ||
| 932 | (defun array-init-max-column (&optional arg) | 932 | (defun array-init-max-column (&optional arg) |
| 933 | "Initialize the value of `array-max-column'." | 933 | "Initialize the value of `array-max-column'." |
| 934 | (setq array-max-column | 934 | (setq array-max-column |
| 935 | (or arg (string-to-int (read-input "Number of array columns: "))))) | 935 | (or arg (string-to-number (read-string "Number of array columns: "))))) |
| 936 | 936 | ||
| 937 | (defun array-init-columns-per-line (&optional arg) | 937 | (defun array-init-columns-per-line (&optional arg) |
| 938 | "Initialize the value of `array-columns-per-line'." | 938 | "Initialize the value of `array-columns-per-line'." |
| 939 | (setq array-columns-per-line | 939 | (setq array-columns-per-line |
| 940 | (or arg (string-to-int (read-input "Array columns per line: "))))) | 940 | (or arg (string-to-number (read-string "Array columns per line: "))))) |
| 941 | 941 | ||
| 942 | (defun array-init-field-width (&optional arg) | 942 | (defun array-init-field-width (&optional arg) |
| 943 | "Initialize the value of `array-field-width'." | 943 | "Initialize the value of `array-field-width'." |
| 944 | (setq array-field-width | 944 | (setq array-field-width |
| 945 | (or arg (string-to-int (read-input "Field width: "))))) | 945 | (or arg (string-to-number (read-string "Field width: "))))) |
| 946 | 946 | ||
| 947 | (defun array-init-rows-numbered (&optional arg) | 947 | (defun array-init-rows-numbered (&optional arg) |
| 948 | "Initialize the value of `array-rows-numbered'." | 948 | "Initialize the value of `array-rows-numbered'." |
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index 7d0ac885c2f..a968d14a0a9 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el | |||
| @@ -77,6 +77,7 @@ | |||
| 77 | (defface Buffer-menu-buffer-face | 77 | (defface Buffer-menu-buffer-face |
| 78 | '((t (:weight bold))) | 78 | '((t (:weight bold))) |
| 79 | "Face used to highlight buffer name." | 79 | "Face used to highlight buffer name." |
| 80 | :group 'Buffer-menu | ||
| 80 | :group 'font-lock-highlighting-faces) | 81 | :group 'font-lock-highlighting-faces) |
| 81 | 82 | ||
| 82 | (defcustom Buffer-menu-buffer+size-width 26 | 83 | (defcustom Buffer-menu-buffer+size-width 26 |
| @@ -754,7 +755,7 @@ For more information, see the function `buffer-menu'." | |||
| 754 | (int-to-string (nth 3 buffer)) | 755 | (int-to-string (nth 3 buffer)) |
| 755 | `(buffer-name ,(nth 2 buffer) | 756 | `(buffer-name ,(nth 2 buffer) |
| 756 | buffer ,(car buffer) | 757 | buffer ,(car buffer) |
| 757 | face Buffer-menu-buffer-face | 758 | font-lock-face Buffer-menu-buffer-face |
| 758 | mouse-face highlight | 759 | mouse-face highlight |
| 759 | help-echo "mouse-2: select this buffer")) | 760 | help-echo "mouse-2: select this buffer")) |
| 760 | " " | 761 | " " |
diff --git a/lisp/calc/calc-comb.el b/lisp/calc/calc-comb.el index c7bf225fe7c..b4b397c43f6 100644 --- a/lisp/calc/calc-comb.el +++ b/lisp/calc/calc-comb.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-comb.el --- combinatoric functions for Calc | 1 | ;;; calc-comb.el --- combinatoric functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-cplx.el b/lisp/calc/calc-cplx.el index 90d90e666bb..32d8a07ffc0 100644 --- a/lisp/calc/calc-cplx.el +++ b/lisp/calc/calc-cplx.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-cplx.el --- Complex number functions for Calc | 1 | ;;; calc-cplx.el --- Complex number functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index 7a604541944..adbdf7a96e2 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-ext.el --- various extension functions for Calc | 1 | ;;; calc-ext.el --- various extension functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-fin.el b/lisp/calc/calc-fin.el index 88af22746a0..c65e8341394 100644 --- a/lisp/calc/calc-fin.el +++ b/lisp/calc/calc-fin.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-fin.el --- financial functions for Calc | 1 | ;;; calc-fin.el --- financial functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-forms.el b/lisp/calc/calc-forms.el index 10e4793c7a5..ad2ef9dbbff 100644 --- a/lisp/calc/calc-forms.el +++ b/lisp/calc/calc-forms.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-forms.el --- data format conversion functions for Calc | 1 | ;;; calc-forms.el --- data format conversion functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004, 2005 | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: David Gillespie <daveg@synaptics.com> | 6 | ;; Author: David Gillespie <daveg@synaptics.com> |
diff --git a/lisp/calc/calc-funcs.el b/lisp/calc/calc-funcs.el index 9a0802f0a2b..7ae9f524c90 100644 --- a/lisp/calc/calc-funcs.el +++ b/lisp/calc/calc-funcs.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-funcs.el --- well-known functions for Calc | 1 | ;;; calc-funcs.el --- well-known functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el index 09bea69cf73..113cdcd33bc 100644 --- a/lisp/calc/calc-graph.el +++ b/lisp/calc/calc-graph.el | |||
| @@ -864,6 +864,7 @@ | |||
| 864 | "e" (int-to-string (nth 2 calc-graph-zval)))))) | 864 | "e" (int-to-string (nth 2 calc-graph-zval)))))) |
| 865 | (insert "\n")) | 865 | (insert "\n")) |
| 866 | (and (not (equal calc-graph-zval '(skip))) | 866 | (and (not (equal calc-graph-zval '(skip))) |
| 867 | (boundp 'var-PlotRejects) | ||
| 867 | (eq (car-safe var-PlotRejects) 'vec) | 868 | (eq (car-safe var-PlotRejects) 'vec) |
| 868 | (nconc var-PlotRejects | 869 | (nconc var-PlotRejects |
| 869 | (list (list 'vec | 870 | (list (list 'vec |
diff --git a/lisp/calc/calc-help.el b/lisp/calc/calc-help.el index da2b8434c17..84176b36eea 100644 --- a/lisp/calc/calc-help.el +++ b/lisp/calc/calc-help.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-help.el --- help display functions for Calc, | 1 | ;;; calc-help.el --- help display functions for Calc, |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2004, 2005 | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: David Gillespie <daveg@synaptics.com> | 6 | ;; Author: David Gillespie <daveg@synaptics.com> |
| @@ -526,7 +526,7 @@ C-w Describe how there is no warranty for Calc." | |||
| 526 | (interactive) | 526 | (interactive) |
| 527 | (calc-do-prefix-help | 527 | (calc-do-prefix-help |
| 528 | '("Store, inTo, Xchg, Unstore; Recall, 0-9; : (:=); = (=>)" | 528 | '("Store, inTo, Xchg, Unstore; Recall, 0-9; : (:=); = (=>)" |
| 529 | "Let; Copy; Declare; Insert, Perm; Edit" | 529 | "Let; Copy, K=copy constant; Declare; Insert, Perm; Edit" |
| 530 | "Negate, +, -, *, /, ^, &, |, [, ]; Map" | 530 | "Negate, +, -, *, /, ^, &, |, [, ]; Map" |
| 531 | "SHIFT + Decls, GenCount, TimeZone, Holidays; IntegLimit" | 531 | "SHIFT + Decls, GenCount, TimeZone, Holidays; IntegLimit" |
| 532 | "SHIFT + LineStyles, PointStyles, plotRejects; Units" | 532 | "SHIFT + LineStyles, PointStyles, plotRejects; Units" |
diff --git a/lisp/calc/calc-incom.el b/lisp/calc/calc-incom.el index 691380e18fe..3fdec5a4b06 100644 --- a/lisp/calc/calc-incom.el +++ b/lisp/calc/calc-incom.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-incom.el --- complex data type input functions for Calc | 1 | ;;; calc-incom.el --- complex data type input functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-keypd.el b/lisp/calc/calc-keypd.el index 2c2a0f0f4aa..ad1e4664661 100644 --- a/lisp/calc/calc-keypd.el +++ b/lisp/calc/calc-keypd.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-keypd.el --- mouse-capable keypad input for Calc | 1 | ;;; calc-keypd.el --- mouse-capable keypad input for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-macs.el b/lisp/calc/calc-macs.el index 8b532a49e98..1004a8f1f56 100644 --- a/lisp/calc/calc-macs.el +++ b/lisp/calc/calc-macs.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-macs.el --- important macros for Calc | 1 | ;;; calc-macs.el --- important macros for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-map.el b/lisp/calc/calc-map.el index 726a500c10a..e636dd565fa 100644 --- a/lisp/calc/calc-map.el +++ b/lisp/calc/calc-map.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-map.el --- higher-order functions for Calc | 1 | ;;; calc-map.el --- higher-order functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el index 3b2f95d9be8..e8bdfe2fa5a 100644 --- a/lisp/calc/calc-misc.el +++ b/lisp/calc/calc-misc.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-misc.el --- miscellaenous functions for Calc | 1 | ;;; calc-misc.el --- miscellaenous functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-mode.el b/lisp/calc/calc-mode.el index 1c5bd29e804..e0e2ccbd717 100644 --- a/lisp/calc/calc-mode.el +++ b/lisp/calc/calc-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-mode.el --- calculator modes for Calc | 1 | ;;; calc-mode.el --- calculator modes for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-mtx.el b/lisp/calc/calc-mtx.el index 6cac30a3bb7..ea79c98252e 100644 --- a/lisp/calc/calc-mtx.el +++ b/lisp/calc/calc-mtx.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-mtx.el --- matrix functions for Calc | 1 | ;;; calc-mtx.el --- matrix functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-poly.el b/lisp/calc/calc-poly.el index e887e77030e..89d8273d6d6 100644 --- a/lisp/calc/calc-poly.el +++ b/lisp/calc/calc-poly.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-poly.el --- polynomial functions for Calc | 1 | ;;; calc-poly.el --- polynomial functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
| @@ -692,12 +692,13 @@ | |||
| 692 | 692 | ||
| 693 | ;; Check if linear in math-fet-x. | 693 | ;; Check if linear in math-fet-x. |
| 694 | ((not (cdr (cdr p))) | 694 | ((not (cdr (cdr p))) |
| 695 | (math-add (math-factor-protect | 695 | (math-sort-terms |
| 696 | (math-sort-terms | 696 | (math-add (math-factor-protect |
| 697 | (math-factor-expr (car p)))) | 697 | (math-sort-terms |
| 698 | (math-mul math-fet-x (math-factor-protect | 698 | (math-factor-expr (car p)))) |
| 699 | (math-sort-terms | 699 | (math-mul math-fet-x (math-factor-protect |
| 700 | (math-factor-expr (nth 1 p))))))) | 700 | (math-sort-terms |
| 701 | (math-factor-expr (nth 1 p)))))))) | ||
| 701 | 702 | ||
| 702 | ;; If symbolic coefficients, use FactorRules. | 703 | ;; If symbolic coefficients, use FactorRules. |
| 703 | ((let ((pp p)) | 704 | ((let ((pp p)) |
diff --git a/lisp/calc/calc-rewr.el b/lisp/calc/calc-rewr.el index c520c4d390c..2afb16b7535 100644 --- a/lisp/calc/calc-rewr.el +++ b/lisp/calc/calc-rewr.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-rewr.el --- rewriting functions for Calc | 1 | ;;; calc-rewr.el --- rewriting functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-rules.el b/lisp/calc/calc-rules.el index 7a11cfa5012..14fb59ce376 100644 --- a/lisp/calc/calc-rules.el +++ b/lisp/calc/calc-rules.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-rules.el --- rules for simplifying algebraic expressions in Calc | 1 | ;;; calc-rules.el --- rules for simplifying algebraic expressions in Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-stat.el b/lisp/calc/calc-stat.el index 9fdd634027e..c1b8ebc307c 100644 --- a/lisp/calc/calc-stat.el +++ b/lisp/calc/calc-stat.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-stat.el --- statistical functions for Calc | 1 | ;;; calc-stat.el --- statistical functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-store.el b/lisp/calc/calc-store.el index fa61acb0f5f..35db6d71019 100644 --- a/lisp/calc/calc-store.el +++ b/lisp/calc/calc-store.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-store.el --- value storage functions for Calc | 1 | ;;; calc-store.el --- value storage functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-stuff.el b/lisp/calc/calc-stuff.el index 288ec70b00e..c6e8d8bbf27 100644 --- a/lisp/calc/calc-stuff.el +++ b/lisp/calc/calc-stuff.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-stuff.el --- miscellaneous functions for Calc | 1 | ;;; calc-stuff.el --- miscellaneous functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-trail.el b/lisp/calc/calc-trail.el index 4ecc9a06651..e86117585ff 100644 --- a/lisp/calc/calc-trail.el +++ b/lisp/calc/calc-trail.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-trail.el --- functions for manipulating the Calc "trail" | 1 | ;;; calc-trail.el --- functions for manipulating the Calc "trail" |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-undo.el b/lisp/calc/calc-undo.el index d946a1390d3..1837fe071f6 100644 --- a/lisp/calc/calc-undo.el +++ b/lisp/calc/calc-undo.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-undo.el --- undo functions for Calc | 1 | ;;; calc-undo.el --- undo functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc-vec.el b/lisp/calc/calc-vec.el index efe2e30ce71..1153eabed57 100644 --- a/lisp/calc/calc-vec.el +++ b/lisp/calc/calc-vec.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc-vec.el --- vector functions for Calc | 1 | ;;; calc-vec.el --- vector functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 617fc1ddc89..173785dc912 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calc.el --- the GNU Emacs calculator | 1 | ;;; calc.el --- the GNU Emacs calculator |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004, 2005 | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: David Gillespie <daveg@synaptics.com> | 6 | ;; Author: David Gillespie <daveg@synaptics.com> |
diff --git a/lisp/calc/calcalg3.el b/lisp/calc/calcalg3.el index bbba841c220..3fff729a012 100644 --- a/lisp/calc/calcalg3.el +++ b/lisp/calc/calcalg3.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calcalg3.el --- more algebraic functions for Calc | 1 | ;;; calcalg3.el --- more algebraic functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calc/calcsel2.el b/lisp/calc/calcsel2.el index 20020f57468..2a322b8b74b 100644 --- a/lisp/calc/calcsel2.el +++ b/lisp/calc/calcsel2.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; calcsel2.el --- selection functions for Calc | 1 | ;;; calcsel2.el --- selection functions for Calc |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: David Gillespie <daveg@synaptics.com> | 5 | ;; Author: David Gillespie <daveg@synaptics.com> |
| 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> | 6 | ;; Maintainer: Jay Belanger <belanger@truman.edu> |
diff --git a/lisp/calculator.el b/lisp/calculator.el index 76ff4053c7f..f11be4747b1 100644 --- a/lisp/calculator.el +++ b/lisp/calculator.el | |||
| @@ -105,15 +105,21 @@ at runtime." | |||
| 105 | "*Use digit grouping in radix output mode. | 105 | "*Use digit grouping in radix output mode. |
| 106 | If this is set, chunks of `calculator-radix-grouping-digits' characters | 106 | If this is set, chunks of `calculator-radix-grouping-digits' characters |
| 107 | will be separated by `calculator-radix-grouping-separator' when in radix | 107 | will be separated by `calculator-radix-grouping-separator' when in radix |
| 108 | output mode is active (determined by `calculator-output-radix').") | 108 | output mode is active (determined by `calculator-output-radix')." |
| 109 | :type 'boolean | ||
| 110 | :group 'calculator) | ||
| 109 | 111 | ||
| 110 | (defcustom calculator-radix-grouping-digits 4 | 112 | (defcustom calculator-radix-grouping-digits 4 |
| 111 | "*The number of digits used for grouping display in radix modes. | 113 | "*The number of digits used for grouping display in radix modes. |
| 112 | See `calculator-radix-grouping-mode'.") | 114 | See `calculator-radix-grouping-mode'." |
| 115 | :type 'integer | ||
| 116 | :group 'calculator) | ||
| 113 | 117 | ||
| 114 | (defcustom calculator-radix-grouping-separator "'" | 118 | (defcustom calculator-radix-grouping-separator "'" |
| 115 | "*The separator used in radix grouping display. | 119 | "*The separator used in radix grouping display. |
| 116 | See `calculator-radix-grouping-mode'.") | 120 | See `calculator-radix-grouping-mode'." |
| 121 | :type 'string | ||
| 122 | :group 'calculator) | ||
| 117 | 123 | ||
| 118 | (defcustom calculator-remove-zeros t | 124 | (defcustom calculator-remove-zeros t |
| 119 | "*Non-nil value means delete all redundant zero decimal digits. | 125 | "*Non-nil value means delete all redundant zero decimal digits. |
| @@ -140,7 +146,8 @@ of digits displayed). | |||
| 140 | 146 | ||
| 141 | An exception to the above is the case of the list (std C) where C is a | 147 | An exception to the above is the case of the list (std C) where C is a |
| 142 | character, in this case the `calculator-standard-displayer' function | 148 | character, in this case the `calculator-standard-displayer' function |
| 143 | will be used with this character for a format string.") | 149 | will be used with this character for a format string." |
| 150 | :group 'calculator) | ||
| 144 | 151 | ||
| 145 | (defcustom calculator-displayers | 152 | (defcustom calculator-displayers |
| 146 | '(((std ?n) "Standard display, decimal point or scientific") | 153 | '(((std ?n) "Standard display, decimal point or scientific") |
| @@ -169,7 +176,9 @@ floats, otherwise the Emacs reader will fail on them." | |||
| 169 | "*If non-nil, this is any value that can be used for | 176 | "*If non-nil, this is any value that can be used for |
| 170 | `calculator-displayer', to format a string before copying it with | 177 | `calculator-displayer', to format a string before copying it with |
| 171 | `calculator-copy'. If nil, then `calculator-displayer's normal value is | 178 | `calculator-copy'. If nil, then `calculator-displayer's normal value is |
| 172 | used.") | 179 | used." |
| 180 | :type 'boolean | ||
| 181 | :group 'calculator) | ||
| 173 | 182 | ||
| 174 | (defcustom calculator-2s-complement nil | 183 | (defcustom calculator-2s-complement nil |
| 175 | "*If non-nil, show negative numbers in 2s complement in radix modes. | 184 | "*If non-nil, show negative numbers in 2s complement in radix modes. |
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index d007e5b4546..c3f29e3d371 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el | |||
| @@ -633,11 +633,11 @@ hour and minute parts." | |||
| 633 | (min 0)) | 633 | (min 0)) |
| 634 | 634 | ||
| 635 | (string-match "[:.]\\([0-9][0-9]\\)" time2conv) | 635 | (string-match "[:.]\\([0-9][0-9]\\)" time2conv) |
| 636 | (setq min (string-to-int | 636 | (setq min (string-to-number |
| 637 | (match-string 1 time2conv))) | 637 | (match-string 1 time2conv))) |
| 638 | 638 | ||
| 639 | (string-match "[0-9]?[0-9][:.]" time2conv) | 639 | (string-match "[0-9]?[0-9][:.]" time2conv) |
| 640 | (setq hr (string-to-int | 640 | (setq hr (string-to-number |
| 641 | (match-string 0 time2conv))) | 641 | (match-string 0 time2conv))) |
| 642 | 642 | ||
| 643 | ;; convert the time appointment time into 24 hour time | 643 | ;; convert the time appointment time into 24 hour time |
diff --git a/lisp/calendar/cal-bahai.el b/lisp/calendar/cal-bahai.el index 2bcfaf648ec..7e6149d8e94 100644 --- a/lisp/calendar/cal-bahai.el +++ b/lisp/calendar/cal-bahai.el | |||
| @@ -340,13 +340,13 @@ nongregorian-diary-marking-hook." | |||
| 340 | (buffer-substring | 340 | (buffer-substring |
| 341 | (match-beginning m-name-pos) | 341 | (match-beginning m-name-pos) |
| 342 | (match-end m-name-pos)))) | 342 | (match-end m-name-pos)))) |
| 343 | (mm (string-to-int | 343 | (mm (string-to-number |
| 344 | (if m-pos | 344 | (if m-pos |
| 345 | (buffer-substring | 345 | (buffer-substring |
| 346 | (match-beginning m-pos) | 346 | (match-beginning m-pos) |
| 347 | (match-end m-pos)) | 347 | (match-end m-pos)) |
| 348 | ""))) | 348 | ""))) |
| 349 | (dd (string-to-int | 349 | (dd (string-to-number |
| 350 | (if d-pos | 350 | (if d-pos |
| 351 | (buffer-substring | 351 | (buffer-substring |
| 352 | (match-beginning d-pos) | 352 | (match-beginning d-pos) |
| @@ -365,14 +365,14 @@ nongregorian-diary-marking-hook." | |||
| 365 | (calendar-bahai-from-absolute | 365 | (calendar-bahai-from-absolute |
| 366 | (calendar-absolute-from-gregorian | 366 | (calendar-absolute-from-gregorian |
| 367 | (calendar-current-date))))) | 367 | (calendar-current-date))))) |
| 368 | (y (+ (string-to-int y-str) | 368 | (y (+ (string-to-number y-str) |
| 369 | (* 100 (/ current-y 100))))) | 369 | (* 100 (/ current-y 100))))) |
| 370 | (if (> (- y current-y) 50) | 370 | (if (> (- y current-y) 50) |
| 371 | (- y 100) | 371 | (- y 100) |
| 372 | (if (> (- current-y y) 50) | 372 | (if (> (- current-y y) 50) |
| 373 | (+ y 100) | 373 | (+ y 100) |
| 374 | y))) | 374 | y))) |
| 375 | (string-to-int y-str))))) | 375 | (string-to-number y-str))))) |
| 376 | (if dd-name | 376 | (if dd-name |
| 377 | (mark-calendar-days-named | 377 | (mark-calendar-days-named |
| 378 | (cdr (assoc-string (substring dd-name 0 3) | 378 | (cdr (assoc-string (substring dd-name 0 3) |
diff --git a/lisp/calendar/cal-hebrew.el b/lisp/calendar/cal-hebrew.el index f66b4966e57..8f9f7723d5d 100644 --- a/lisp/calendar/cal-hebrew.el +++ b/lisp/calendar/cal-hebrew.el | |||
| @@ -718,13 +718,13 @@ is provided for use as part of the nongregorian-diary-marking-hook." | |||
| 718 | (buffer-substring | 718 | (buffer-substring |
| 719 | (match-beginning m-name-pos) | 719 | (match-beginning m-name-pos) |
| 720 | (match-end m-name-pos)))) | 720 | (match-end m-name-pos)))) |
| 721 | (mm (string-to-int | 721 | (mm (string-to-number |
| 722 | (if m-pos | 722 | (if m-pos |
| 723 | (buffer-substring | 723 | (buffer-substring |
| 724 | (match-beginning m-pos) | 724 | (match-beginning m-pos) |
| 725 | (match-end m-pos)) | 725 | (match-end m-pos)) |
| 726 | ""))) | 726 | ""))) |
| 727 | (dd (string-to-int | 727 | (dd (string-to-number |
| 728 | (if d-pos | 728 | (if d-pos |
| 729 | (buffer-substring | 729 | (buffer-substring |
| 730 | (match-beginning d-pos) | 730 | (match-beginning d-pos) |
| @@ -743,14 +743,14 @@ is provided for use as part of the nongregorian-diary-marking-hook." | |||
| 743 | (calendar-hebrew-from-absolute | 743 | (calendar-hebrew-from-absolute |
| 744 | (calendar-absolute-from-gregorian | 744 | (calendar-absolute-from-gregorian |
| 745 | (calendar-current-date))))) | 745 | (calendar-current-date))))) |
| 746 | (y (+ (string-to-int y-str) | 746 | (y (+ (string-to-number y-str) |
| 747 | (* 100 (/ current-y 100))))) | 747 | (* 100 (/ current-y 100))))) |
| 748 | (if (> (- y current-y) 50) | 748 | (if (> (- y current-y) 50) |
| 749 | (- y 100) | 749 | (- y 100) |
| 750 | (if (> (- current-y y) 50) | 750 | (if (> (- current-y y) 50) |
| 751 | (+ y 100) | 751 | (+ y 100) |
| 752 | y))) | 752 | y))) |
| 753 | (string-to-int y-str))))) | 753 | (string-to-number y-str))))) |
| 754 | (if dd-name | 754 | (if dd-name |
| 755 | (mark-calendar-days-named | 755 | (mark-calendar-days-named |
| 756 | (cdr (assoc-string dd-name | 756 | (cdr (assoc-string dd-name |
diff --git a/lisp/calendar/cal-islam.el b/lisp/calendar/cal-islam.el index 1ac6f0677b1..786c71f24ce 100644 --- a/lisp/calendar/cal-islam.el +++ b/lisp/calendar/cal-islam.el | |||
| @@ -337,13 +337,13 @@ provided for use as part of the nongregorian-diary-marking-hook." | |||
| 337 | (buffer-substring | 337 | (buffer-substring |
| 338 | (match-beginning m-name-pos) | 338 | (match-beginning m-name-pos) |
| 339 | (match-end m-name-pos)))) | 339 | (match-end m-name-pos)))) |
| 340 | (mm (string-to-int | 340 | (mm (string-to-number |
| 341 | (if m-pos | 341 | (if m-pos |
| 342 | (buffer-substring | 342 | (buffer-substring |
| 343 | (match-beginning m-pos) | 343 | (match-beginning m-pos) |
| 344 | (match-end m-pos)) | 344 | (match-end m-pos)) |
| 345 | ""))) | 345 | ""))) |
| 346 | (dd (string-to-int | 346 | (dd (string-to-number |
| 347 | (if d-pos | 347 | (if d-pos |
| 348 | (buffer-substring | 348 | (buffer-substring |
| 349 | (match-beginning d-pos) | 349 | (match-beginning d-pos) |
| @@ -362,14 +362,14 @@ provided for use as part of the nongregorian-diary-marking-hook." | |||
| 362 | (calendar-islamic-from-absolute | 362 | (calendar-islamic-from-absolute |
| 363 | (calendar-absolute-from-gregorian | 363 | (calendar-absolute-from-gregorian |
| 364 | (calendar-current-date))))) | 364 | (calendar-current-date))))) |
| 365 | (y (+ (string-to-int y-str) | 365 | (y (+ (string-to-number y-str) |
| 366 | (* 100 (/ current-y 100))))) | 366 | (* 100 (/ current-y 100))))) |
| 367 | (if (> (- y current-y) 50) | 367 | (if (> (- y current-y) 50) |
| 368 | (- y 100) | 368 | (- y 100) |
| 369 | (if (> (- current-y y) 50) | 369 | (if (> (- current-y y) 50) |
| 370 | (+ y 100) | 370 | (+ y 100) |
| 371 | y))) | 371 | y))) |
| 372 | (string-to-int y-str))))) | 372 | (string-to-number y-str))))) |
| 373 | (if dd-name | 373 | (if dd-name |
| 374 | (mark-calendar-days-named | 374 | (mark-calendar-days-named |
| 375 | (cdr (assoc-string dd-name | 375 | (cdr (assoc-string dd-name |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 305ecc1e9bc..45754110319 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -2574,7 +2574,7 @@ ERROR is t, otherwise just returns nil." | |||
| 2574 | (if (not (looking-at " ")) | 2574 | (if (not (looking-at " ")) |
| 2575 | (re-search-backward "[^0-9]")) | 2575 | (re-search-backward "[^0-9]")) |
| 2576 | (list month | 2576 | (list month |
| 2577 | (string-to-int (buffer-substring (1+ (point)) (+ 4 (point)))) | 2577 | (string-to-number (buffer-substring (1+ (point)) (+ 4 (point)))) |
| 2578 | year)) | 2578 | year)) |
| 2579 | (if (looking-at "\\*") | 2579 | (if (looking-at "\\*") |
| 2580 | (save-excursion | 2580 | (save-excursion |
| @@ -2964,7 +2964,7 @@ calendar window has been prepared." | |||
| 2964 | (make-local-variable 'calendar-starred-day) | 2964 | (make-local-variable 'calendar-starred-day) |
| 2965 | (forward-char 1) | 2965 | (forward-char 1) |
| 2966 | (setq calendar-starred-day | 2966 | (setq calendar-starred-day |
| 2967 | (string-to-int | 2967 | (string-to-number |
| 2968 | (buffer-substring (point) (- (point) 2)))) | 2968 | (buffer-substring (point) (- (point) 2)))) |
| 2969 | (delete-char -2) | 2969 | (delete-char -2) |
| 2970 | (insert "**") | 2970 | (insert "**") |
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 1832e0cd0fb..312b8841cf9 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -205,7 +205,7 @@ Valid TYPEs are: string, symbol, int, stringtnil, tnil." | |||
| 205 | (let (ret) | 205 | (let (ret) |
| 206 | (setq ret (cond ((eq type 'string) attrvalue) | 206 | (setq ret (cond ((eq type 'string) attrvalue) |
| 207 | ((eq type 'symbol) (read attrvalue)) | 207 | ((eq type 'symbol) (read attrvalue)) |
| 208 | ((eq type 'int) (string-to-int attrvalue)) | 208 | ((eq type 'int) (string-to-number attrvalue)) |
| 209 | ((eq type 'stringtnil) | 209 | ((eq type 'stringtnil) |
| 210 | (cond ((string= "t" attrvalue) t) | 210 | (cond ((string= "t" attrvalue) t) |
| 211 | ((string= "nil" attrvalue) nil) | 211 | ((string= "nil" attrvalue) nil) |
| @@ -908,13 +908,13 @@ diary entries." | |||
| 908 | (buffer-substring-no-properties | 908 | (buffer-substring-no-properties |
| 909 | (match-beginning m-name-pos) | 909 | (match-beginning m-name-pos) |
| 910 | (match-end m-name-pos)))) | 910 | (match-end m-name-pos)))) |
| 911 | (mm (string-to-int | 911 | (mm (string-to-number |
| 912 | (if m-pos | 912 | (if m-pos |
| 913 | (buffer-substring-no-properties | 913 | (buffer-substring-no-properties |
| 914 | (match-beginning m-pos) | 914 | (match-beginning m-pos) |
| 915 | (match-end m-pos)) | 915 | (match-end m-pos)) |
| 916 | ""))) | 916 | ""))) |
| 917 | (dd (string-to-int | 917 | (dd (string-to-number |
| 918 | (if d-pos | 918 | (if d-pos |
| 919 | (buffer-substring-no-properties | 919 | (buffer-substring-no-properties |
| 920 | (match-beginning d-pos) | 920 | (match-beginning d-pos) |
| @@ -931,7 +931,7 @@ diary entries." | |||
| 931 | (let* ((current-y | 931 | (let* ((current-y |
| 932 | (extract-calendar-year | 932 | (extract-calendar-year |
| 933 | (calendar-current-date))) | 933 | (calendar-current-date))) |
| 934 | (y (+ (string-to-int y-str) | 934 | (y (+ (string-to-number y-str) |
| 935 | (* 100 | 935 | (* 100 |
| 936 | (/ current-y 100))))) | 936 | (/ current-y 100))))) |
| 937 | (if (> (- y current-y) 50) | 937 | (if (> (- y current-y) 50) |
| @@ -939,7 +939,7 @@ diary entries." | |||
| 939 | (if (> (- current-y y) 50) | 939 | (if (> (- current-y y) 50) |
| 940 | (+ y 100) | 940 | (+ y 100) |
| 941 | y))) | 941 | y))) |
| 942 | (string-to-int y-str)))) | 942 | (string-to-number y-str)))) |
| 943 | (save-excursion | 943 | (save-excursion |
| 944 | (setq entry (buffer-substring-no-properties | 944 | (setq entry (buffer-substring-no-properties |
| 945 | (point) (line-end-position)) | 945 | (point) (line-end-position)) |
| @@ -1149,22 +1149,22 @@ be used instead of a colon (:) to separate the hour and minute parts." | |||
| 1149 | (cond ((string-match ; Military time | 1149 | (cond ((string-match ; Military time |
| 1150 | "\\`[ \t\n\\^M]*\\([0-9]?[0-9]\\)[:.]?\\([0-9][0-9]\\)\\(\\>\\|[^ap]\\)" | 1150 | "\\`[ \t\n\\^M]*\\([0-9]?[0-9]\\)[:.]?\\([0-9][0-9]\\)\\(\\>\\|[^ap]\\)" |
| 1151 | s) | 1151 | s) |
| 1152 | (+ (* 100 (string-to-int | 1152 | (+ (* 100 (string-to-number |
| 1153 | (substring s (match-beginning 1) (match-end 1)))) | 1153 | (substring s (match-beginning 1) (match-end 1)))) |
| 1154 | (string-to-int (substring s (match-beginning 2) (match-end 2))))) | 1154 | (string-to-number (substring s (match-beginning 2) (match-end 2))))) |
| 1155 | ((string-match ; Hour only XXam or XXpm | 1155 | ((string-match ; Hour only XXam or XXpm |
| 1156 | "\\`[ \t\n\\^M]*\\([0-9]?[0-9]\\)\\([ap]\\)m\\>" s) | 1156 | "\\`[ \t\n\\^M]*\\([0-9]?[0-9]\\)\\([ap]\\)m\\>" s) |
| 1157 | (+ (* 100 (% (string-to-int | 1157 | (+ (* 100 (% (string-to-number |
| 1158 | (substring s (match-beginning 1) (match-end 1))) | 1158 | (substring s (match-beginning 1) (match-end 1))) |
| 1159 | 12)) | 1159 | 12)) |
| 1160 | (if (equal ?a (downcase (aref s (match-beginning 2)))) | 1160 | (if (equal ?a (downcase (aref s (match-beginning 2)))) |
| 1161 | 0 1200))) | 1161 | 0 1200))) |
| 1162 | ((string-match ; Hour and minute XX:XXam or XX:XXpm | 1162 | ((string-match ; Hour and minute XX:XXam or XX:XXpm |
| 1163 | "\\`[ \t\n\\^M]*\\([0-9]?[0-9]\\)[:.]\\([0-9][0-9]\\)\\([ap]\\)m\\>" s) | 1163 | "\\`[ \t\n\\^M]*\\([0-9]?[0-9]\\)[:.]\\([0-9][0-9]\\)\\([ap]\\)m\\>" s) |
| 1164 | (+ (* 100 (% (string-to-int | 1164 | (+ (* 100 (% (string-to-number |
| 1165 | (substring s (match-beginning 1) (match-end 1))) | 1165 | (substring s (match-beginning 1) (match-end 1))) |
| 1166 | 12)) | 1166 | 12)) |
| 1167 | (string-to-int (substring s (match-beginning 2) (match-end 2))) | 1167 | (string-to-number (substring s (match-beginning 2) (match-end 2))) |
| 1168 | (if (equal ?a (downcase (aref s (match-beginning 3)))) | 1168 | (if (equal ?a (downcase (aref s (match-beginning 3)))) |
| 1169 | 0 1200))) | 1169 | 0 1200))) |
| 1170 | (t diary-unknown-time)))) ; Unrecognizable | 1170 | (t diary-unknown-time)))) ; Unrecognizable |
diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el index e1c4950b24b..8401aeb9bfd 100644 --- a/lisp/calendar/solar.el +++ b/lisp/calendar/solar.el | |||
| @@ -227,7 +227,7 @@ Needed for polar areas, in order to know whether the day lasts 0 or 24 hours.") | |||
| 227 | Returns nil if nothing was entered." | 227 | Returns nil if nothing was entered." |
| 228 | (let ((x (read-string prompt ""))) | 228 | (let ((x (read-string prompt ""))) |
| 229 | (if (not (string-equal x "")) | 229 | (if (not (string-equal x "")) |
| 230 | (string-to-int x)))) | 230 | (string-to-number x)))) |
| 231 | 231 | ||
| 232 | ;; The condition-case stuff is needed to catch bogus arithmetic | 232 | ;; The condition-case stuff is needed to catch bogus arithmetic |
| 233 | ;; exceptions that occur on some machines (like Sparcs) | 233 | ;; exceptions that occur on some machines (like Sparcs) |
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 22e81db9210..5dea9892115 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el | |||
| @@ -282,7 +282,8 @@ A mode setting this variable should make it buffer local." | |||
| 282 | "If non-nil, a list of buffers which dabbrev should search. | 282 | "If non-nil, a list of buffers which dabbrev should search. |
| 283 | If this variable is non-nil, dabbrev will only look in these buffers. | 283 | If this variable is non-nil, dabbrev will only look in these buffers. |
| 284 | It will not even look in the current buffer if it is not a member of | 284 | It will not even look in the current buffer if it is not a member of |
| 285 | this list.") | 285 | this list." |
| 286 | :group 'dabbrev) | ||
| 286 | 287 | ||
| 287 | ;;---------------------------------------------------------------- | 288 | ;;---------------------------------------------------------------- |
| 288 | ;; Internal variables | 289 | ;; Internal variables |
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index d69685ac86f..c16738f6570 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el | |||
| @@ -70,7 +70,8 @@ | |||
| 70 | (defcustom diff-jump-to-old-file nil | 70 | (defcustom diff-jump-to-old-file nil |
| 71 | "*Non-nil means `diff-goto-source' jumps to the old file. | 71 | "*Non-nil means `diff-goto-source' jumps to the old file. |
| 72 | Else, it jumps to the new file." | 72 | Else, it jumps to the new file." |
| 73 | :type '(boolean)) | 73 | :type 'boolean |
| 74 | :group 'diff-mode) | ||
| 74 | 75 | ||
| 75 | (defcustom diff-update-on-the-fly t | 76 | (defcustom diff-update-on-the-fly t |
| 76 | "*Non-nil means hunk headers are kept up-to-date on-the-fly. | 77 | "*Non-nil means hunk headers are kept up-to-date on-the-fly. |
| @@ -79,17 +80,20 @@ need to be kept consistent with the actual diff. This can | |||
| 79 | either be done on the fly (but this sometimes interacts poorly with the | 80 | either be done on the fly (but this sometimes interacts poorly with the |
| 80 | undo mechanism) or whenever the file is written (can be slow | 81 | undo mechanism) or whenever the file is written (can be slow |
| 81 | when editing big diffs)." | 82 | when editing big diffs)." |
| 82 | :type '(boolean)) | 83 | :type 'boolean |
| 84 | :group 'diff-mode) | ||
| 83 | 85 | ||
| 84 | (defcustom diff-advance-after-apply-hunk t | 86 | (defcustom diff-advance-after-apply-hunk t |
| 85 | "*Non-nil means `diff-apply-hunk' will move to the next hunk after applying." | 87 | "*Non-nil means `diff-apply-hunk' will move to the next hunk after applying." |
| 86 | :type 'boolean) | 88 | :type 'boolean |
| 89 | :group 'diff-mode) | ||
| 87 | 90 | ||
| 88 | 91 | ||
| 89 | (defcustom diff-mode-hook nil | 92 | (defcustom diff-mode-hook nil |
| 90 | "Run after setting up the `diff-mode' major mode." | 93 | "Run after setting up the `diff-mode' major mode." |
| 91 | :type 'hook | 94 | :type 'hook |
| 92 | :options '(diff-delete-empty-files diff-make-unified)) | 95 | :options '(diff-delete-empty-files diff-make-unified) |
| 96 | :group 'diff-mode) | ||
| 93 | 97 | ||
| 94 | (defvar diff-outline-regexp | 98 | (defvar diff-outline-regexp |
| 95 | "\\([*+][*+][*+] [^0-9]\\|@@ ...\\|\\*\\*\\* [0-9].\\|--- [0-9]..\\)") | 99 | "\\([*+][*+][*+] [^0-9]\\|@@ ...\\|\\*\\*\\* [0-9].\\|--- [0-9]..\\)") |
| @@ -159,7 +163,8 @@ when editing big diffs)." | |||
| 159 | 163 | ||
| 160 | (defcustom diff-minor-mode-prefix "\C-c=" | 164 | (defcustom diff-minor-mode-prefix "\C-c=" |
| 161 | "Prefix key for `diff-minor-mode' commands." | 165 | "Prefix key for `diff-minor-mode' commands." |
| 162 | :type '(choice (string "\e") (string "C-c=") string)) | 166 | :type '(choice (string "\e") (string "C-c=") string) |
| 167 | :group 'diff-mode) | ||
| 163 | 168 | ||
| 164 | (easy-mmode-defmap diff-minor-mode-map | 169 | (easy-mmode-defmap diff-minor-mode-map |
| 165 | `((,diff-minor-mode-prefix . ,diff-mode-shared-map)) | 170 | `((,diff-minor-mode-prefix . ,diff-mode-shared-map)) |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 0ce006af241..eec3045b53a 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -428,7 +428,7 @@ with a prefix argument." | |||
| 428 | (setq base-version-list ; there was a base version to which | 428 | (setq base-version-list ; there was a base version to which |
| 429 | (assoc (substring fn 0 start-vn) ; this looks like a | 429 | (assoc (substring fn 0 start-vn) ; this looks like a |
| 430 | dired-file-version-alist)) ; subversion | 430 | dired-file-version-alist)) ; subversion |
| 431 | (not (memq (string-to-int (substring fn (+ 2 start-vn))) | 431 | (not (memq (string-to-number (substring fn (+ 2 start-vn))) |
| 432 | base-version-list)) ; this one doesn't make the cut | 432 | base-version-list)) ; this one doesn't make the cut |
| 433 | (progn (beginning-of-line) | 433 | (progn (beginning-of-line) |
| 434 | (delete-char 1) | 434 | (delete-char 1) |
| @@ -1135,23 +1135,29 @@ Special value `always' suppresses confirmation." | |||
| 1135 | 1135 | ||
| 1136 | (defun dired-copy-file-recursive (from to ok-flag &optional | 1136 | (defun dired-copy-file-recursive (from to ok-flag &optional |
| 1137 | preserve-time top recursive) | 1137 | preserve-time top recursive) |
| 1138 | (if (and recursive | 1138 | (let ((attrs (file-attributes from))) |
| 1139 | (eq t (car (file-attributes from))) ; A directory, no symbolic link. | 1139 | (if (and recursive |
| 1140 | (or (eq recursive 'always) | 1140 | (eq t (car attrs)) |
| 1141 | (yes-or-no-p (format "Recursive copies of %s " from)))) | 1141 | (or (eq recursive 'always) |
| 1142 | (let ((files (directory-files from nil dired-re-no-dot))) | 1142 | (yes-or-no-p (format "Recursive copies of %s " from)))) |
| 1143 | (if (eq recursive 'top) (setq recursive 'always)) ; Don't ask any more. | 1143 | ;; This is a directory. |
| 1144 | (if (file-exists-p to) | 1144 | (let ((files (directory-files from nil dired-re-no-dot))) |
| 1145 | (or top (dired-handle-overwrite to)) | 1145 | (if (eq recursive 'top) (setq recursive 'always)) ; Don't ask any more. |
| 1146 | (make-directory to)) | 1146 | (if (file-exists-p to) |
| 1147 | (while files | 1147 | (or top (dired-handle-overwrite to)) |
| 1148 | (dired-copy-file-recursive | 1148 | (make-directory to)) |
| 1149 | (expand-file-name (car files) from) | 1149 | (while files |
| 1150 | (expand-file-name (car files) to) | 1150 | (dired-copy-file-recursive |
| 1151 | ok-flag preserve-time nil recursive) | 1151 | (expand-file-name (car files) from) |
| 1152 | (setq files (cdr files)))) | 1152 | (expand-file-name (car files) to) |
| 1153 | (or top (dired-handle-overwrite to)) ; Just a file. | 1153 | ok-flag preserve-time nil recursive) |
| 1154 | (copy-file from to ok-flag dired-copy-preserve-time))) | 1154 | (setq files (cdr files)))) |
| 1155 | ;; Not a directory. | ||
| 1156 | (or top (dired-handle-overwrite to)) | ||
| 1157 | (if (stringp (car attrs)) | ||
| 1158 | ;; It is a symlink | ||
| 1159 | (make-symbolic-link (car attrs) to ok-flag) | ||
| 1160 | (copy-file from to ok-flag dired-copy-preserve-time))))) | ||
| 1155 | 1161 | ||
| 1156 | ;;;###autoload | 1162 | ;;;###autoload |
| 1157 | (defun dired-rename-file (file newname ok-if-already-exists) | 1163 | (defun dired-rename-file (file newname ok-if-already-exists) |
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 6b44b73b170..86c955650e8 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -1501,10 +1501,10 @@ to mark all zero length files." | |||
| 1501 | (if (looking-at dired-re-inode-size) | 1501 | (if (looking-at dired-re-inode-size) |
| 1502 | (progn | 1502 | (progn |
| 1503 | (goto-char (match-end 0)) | 1503 | (goto-char (match-end 0)) |
| 1504 | (setq inode (string-to-int (buffer-substring (match-beginning 1) | 1504 | (setq inode (string-to-number (buffer-substring (match-beginning 1) |
| 1505 | (match-end 1))) | 1505 | (match-end 1))) |
| 1506 | s (string-to-int (buffer-substring (match-beginning 2) | 1506 | s (string-to-number (buffer-substring (match-beginning 2) |
| 1507 | (match-end 2))))) | 1507 | (match-end 2))))) |
| 1508 | (setq inode nil | 1508 | (setq inode nil |
| 1509 | s nil)) | 1509 | s nil)) |
| 1510 | (setq mode (buffer-substring (point) (+ mode-len (point)))) | 1510 | (setq mode (buffer-substring (point) (+ mode-len (point)))) |
| @@ -1516,10 +1516,10 @@ to mark all zero length files." | |||
| 1516 | (re-search-forward dired-move-to-filename-regexp) | 1516 | (re-search-forward dired-move-to-filename-regexp) |
| 1517 | (goto-char (match-beginning 1)) | 1517 | (goto-char (match-beginning 1)) |
| 1518 | (forward-char -1) | 1518 | (forward-char -1) |
| 1519 | (setq size (string-to-int (buffer-substring (save-excursion | 1519 | (setq size (string-to-number (buffer-substring (save-excursion |
| 1520 | (backward-word 1) | 1520 | (backward-word 1) |
| 1521 | (setq pos (point))) | 1521 | (setq pos (point))) |
| 1522 | (point)))) | 1522 | (point)))) |
| 1523 | (goto-char pos) | 1523 | (goto-char pos) |
| 1524 | (backward-word 1) | 1524 | (backward-word 1) |
| 1525 | ;; if no gid is displayed, gid will be set to uid | 1525 | ;; if no gid is displayed, gid will be set to uid |
diff --git a/lisp/dired.el b/lisp/dired.el index 60a9a7d35c1..43f05dcf881 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1549,9 +1549,8 @@ Keybindings: | |||
| 1549 | (setq dired-switches-alist nil) | 1549 | (setq dired-switches-alist nil) |
| 1550 | (dired-sort-other dired-actual-switches t) | 1550 | (dired-sort-other dired-actual-switches t) |
| 1551 | (when (featurep 'dnd) | 1551 | (when (featurep 'dnd) |
| 1552 | (make-local-variable 'dnd-protocol-alist) | 1552 | (set (make-local-variable 'dnd-protocol-alist) |
| 1553 | (setq dnd-protocol-alist | 1553 | (append dired-dnd-protocol-alist dnd-protocol-alist))) |
| 1554 | (append dired-dnd-protocol-alist dnd-protocol-alist))) | ||
| 1555 | (run-mode-hooks 'dired-mode-hook)) | 1554 | (run-mode-hooks 'dired-mode-hook)) |
| 1556 | 1555 | ||
| 1557 | ;; Idiosyncratic dired commands that don't deal with marks. | 1556 | ;; Idiosyncratic dired commands that don't deal with marks. |
diff --git a/lisp/ediff-diff.el b/lisp/ediff-diff.el index c41d733aaca..4c13e6fc0e1 100644 --- a/lisp/ediff-diff.el +++ b/lisp/ediff-diff.el | |||
| @@ -393,20 +393,20 @@ one optional arguments, diff-number to refine.") | |||
| 393 | (ediff-with-current-buffer diff-buffer | 393 | (ediff-with-current-buffer diff-buffer |
| 394 | (goto-char (point-min)) | 394 | (goto-char (point-min)) |
| 395 | (while (re-search-forward ediff-match-diff-line nil t) | 395 | (while (re-search-forward ediff-match-diff-line nil t) |
| 396 | (let* ((a-begin (string-to-int (buffer-substring (match-beginning 1) | 396 | (let* ((a-begin (string-to-number (buffer-substring (match-beginning 1) |
| 397 | (match-end 1)))) | 397 | (match-end 1)))) |
| 398 | (a-end (let ((b (match-beginning 3)) | 398 | (a-end (let ((b (match-beginning 3)) |
| 399 | (e (match-end 3))) | 399 | (e (match-end 3))) |
| 400 | (if b | 400 | (if b |
| 401 | (string-to-int (buffer-substring b e)) | 401 | (string-to-number (buffer-substring b e)) |
| 402 | a-begin))) | 402 | a-begin))) |
| 403 | (diff-type (buffer-substring (match-beginning 4) (match-end 4))) | 403 | (diff-type (buffer-substring (match-beginning 4) (match-end 4))) |
| 404 | (b-begin (string-to-int (buffer-substring (match-beginning 5) | 404 | (b-begin (string-to-number (buffer-substring (match-beginning 5) |
| 405 | (match-end 5)))) | 405 | (match-end 5)))) |
| 406 | (b-end (let ((b (match-beginning 7)) | 406 | (b-end (let ((b (match-beginning 7)) |
| 407 | (e (match-end 7))) | 407 | (e (match-end 7))) |
| 408 | (if b | 408 | (if b |
| 409 | (string-to-int (buffer-substring b e)) | 409 | (string-to-number (buffer-substring b e)) |
| 410 | b-begin))) | 410 | b-begin))) |
| 411 | a-begin-pt a-end-pt b-begin-pt b-end-pt | 411 | a-begin-pt a-end-pt b-begin-pt b-end-pt |
| 412 | c-begin c-end c-begin-pt c-end-pt) | 412 | c-begin c-end c-begin-pt c-end-pt) |
| @@ -934,16 +934,16 @@ delimiter regions")) | |||
| 934 | ;; it is a "c" group | 934 | ;; it is a "c" group |
| 935 | (if (match-beginning 2) | 935 | (if (match-beginning 2) |
| 936 | ;; it has two numbers | 936 | ;; it has two numbers |
| 937 | (list (string-to-int | 937 | (list (string-to-number |
| 938 | (buffer-substring (match-beginning 1) (match-end 1))) | 938 | (buffer-substring (match-beginning 1) (match-end 1))) |
| 939 | (1+ (string-to-int | 939 | (1+ (string-to-number |
| 940 | (buffer-substring (match-beginning 3) (match-end 3))))) | 940 | (buffer-substring (match-beginning 3) (match-end 3))))) |
| 941 | ;; it has one number | 941 | ;; it has one number |
| 942 | (let ((x (string-to-int | 942 | (let ((x (string-to-number |
| 943 | (buffer-substring (match-beginning 1) (match-end 1))))) | 943 | (buffer-substring (match-beginning 1) (match-end 1))))) |
| 944 | (list x (1+ x)))) | 944 | (list x (1+ x)))) |
| 945 | ;; it is an "a" group | 945 | ;; it is an "a" group |
| 946 | (let ((x (1+ (string-to-int | 946 | (let ((x (1+ (string-to-number |
| 947 | (buffer-substring (match-beginning 1) (match-end 1)))))) | 947 | (buffer-substring (match-beginning 1) (match-end 1)))))) |
| 948 | (list x x))))) | 948 | (list x x))))) |
| 949 | 949 | ||
diff --git a/lisp/edmacro.el b/lisp/edmacro.el index 67be9f34a15..939e275f1b9 100644 --- a/lisp/edmacro.el +++ b/lisp/edmacro.el | |||
| @@ -280,7 +280,7 @@ or nil, use a compact 80-column format." | |||
| 280 | (let ((str (buffer-substring (match-beginning 1) | 280 | (let ((str (buffer-substring (match-beginning 1) |
| 281 | (match-end 1)))) | 281 | (match-end 1)))) |
| 282 | (unless (equal str "") | 282 | (unless (equal str "") |
| 283 | (setq mac-counter (string-to-int str)))) | 283 | (setq mac-counter (string-to-number str)))) |
| 284 | t) | 284 | t) |
| 285 | ((looking-at "Format:[ \t]*\"\\([^\n]*\\)\"[ \t]*$") | 285 | ((looking-at "Format:[ \t]*\"\\([^\n]*\\)\"[ \t]*$") |
| 286 | (when edmacro-store-hook | 286 | (when edmacro-store-hook |
| @@ -698,7 +698,7 @@ This function assumes that the events can be stored in a string." | |||
| 698 | (times 1)) | 698 | (times 1)) |
| 699 | (setq pos (match-end 0)) | 699 | (setq pos (match-end 0)) |
| 700 | (when (string-match "\\([0-9]+\\)\\*." word) | 700 | (when (string-match "\\([0-9]+\\)\\*." word) |
| 701 | (setq times (string-to-int (substring word 0 (match-end 1)))) | 701 | (setq times (string-to-number (substring word 0 (match-end 1)))) |
| 702 | (setq word (substring word (1+ (match-end 1))))) | 702 | (setq word (substring word (1+ (match-end 1))))) |
| 703 | (cond ((string-match "^<<.+>>$" word) | 703 | (cond ((string-match "^<<.+>>$" word) |
| 704 | (setq key (vconcat (if (eq (key-binding [?\M-x]) | 704 | (setq key (vconcat (if (eq (key-binding [?\M-x]) |
diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el index 8eb177dd9ca..6280af2fb72 100644 --- a/lisp/emacs-lisp/authors.el +++ b/lisp/emacs-lisp/authors.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; authors.el --- utility for maintaining Emacs' AUTHORS file -*-coding: iso-2022-7bit;-*- | 1 | ;;; authors.el --- utility for maintaining Emacs' AUTHORS file -*-coding: iso-2022-7bit;-*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2000, 2003 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000, 2003, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Gerd Moellmann <gerd@gnu.org> | 5 | ;; Author: Gerd Moellmann <gerd@gnu.org> |
| 6 | ;; Maintainer: Kim F. Storm <storm@cua.dk> | 6 | ;; Maintainer: Kim F. Storm <storm@cua.dk> |
| @@ -597,8 +597,7 @@ buffer *Authors Errors* containing references to unknown files." | |||
| 597 | (unless (file-exists-p (expand-file-name "src/emacs.c" root)) | 597 | (unless (file-exists-p (expand-file-name "src/emacs.c" root)) |
| 598 | (error "Not the root directory of Emacs: %s" root)) | 598 | (error "Not the root directory of Emacs: %s" root)) |
| 599 | (dolist (log logs) | 599 | (dolist (log logs) |
| 600 | (when (and (string-match "ChangeLog\\(.[0-9]+\\)?$" log) | 600 | (when (string-match "ChangeLog\\(.[0-9]+\\)?$" log) |
| 601 | (not (string-match "/lispref/" log))) | ||
| 602 | (message "Scanning %s..." log) | 601 | (message "Scanning %s..." log) |
| 603 | (authors-scan-change-log log table))) | 602 | (authors-scan-change-log log table))) |
| 604 | (let ((els (authors-process-lines "find" root "-name" "*.el"))) | 603 | (let ((els (authors-process-lines "find" root "-name" "*.el"))) |
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index 1472d576e49..7fc01901cfe 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el | |||
| @@ -175,8 +175,9 @@ If you think you need this, you're probably making a mistake somewhere." | |||
| 175 | ;;; byte-compile-macro-environment. | 175 | ;;; byte-compile-macro-environment. |
| 176 | 176 | ||
| 177 | (defmacro eval-when-compile (&rest body) | 177 | (defmacro eval-when-compile (&rest body) |
| 178 | "Like `progn', but evaluates the body at compile time. | 178 | "Like `progn', but evaluates the body at compile time if you're compiling. |
| 179 | The result of the body appears to the compiler as a quoted constant." | 179 | Thus, the result of the body appears to the compiler as a quoted constant. |
| 180 | In interpreted code, this is entirely equivalent to `progn'." | ||
| 180 | (declare (debug t) (indent 0)) | 181 | (declare (debug t) (indent 0)) |
| 181 | ;; Not necessary because we have it in b-c-initial-macro-environment | 182 | ;; Not necessary because we have it in b-c-initial-macro-environment |
| 182 | ;; (list 'quote (eval (cons 'progn body))) | 183 | ;; (list 'quote (eval (cons 'progn body))) |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 970a64d062b..ac6093a4660 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -2170,6 +2170,8 @@ list that represents a doc string reference. | |||
| 2170 | (put 'custom-declare-variable 'byte-hunk-handler | 2170 | (put 'custom-declare-variable 'byte-hunk-handler |
| 2171 | 'byte-compile-file-form-custom-declare-variable) | 2171 | 'byte-compile-file-form-custom-declare-variable) |
| 2172 | (defun byte-compile-file-form-custom-declare-variable (form) | 2172 | (defun byte-compile-file-form-custom-declare-variable (form) |
| 2173 | (when (memq 'callargs byte-compile-warnings) | ||
| 2174 | (byte-compile-nogroup-warn form)) | ||
| 2173 | (when (memq 'free-vars byte-compile-warnings) | 2175 | (when (memq 'free-vars byte-compile-warnings) |
| 2174 | (push (nth 1 (nth 1 form)) byte-compile-bound-variables)) | 2176 | (push (nth 1 (nth 1 form)) byte-compile-bound-variables)) |
| 2175 | (let ((tail (nthcdr 4 form))) | 2177 | (let ((tail (nthcdr 4 form))) |
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el index bfd21e27d05..727e45b1289 100644 --- a/lisp/emacs-lisp/cl-extra.el +++ b/lisp/emacs-lisp/cl-extra.el | |||
| @@ -61,7 +61,7 @@ TYPE is a Common Lisp type specifier." | |||
| 61 | ;;; Predicates. | 61 | ;;; Predicates. |
| 62 | 62 | ||
| 63 | (defun equalp (x y) | 63 | (defun equalp (x y) |
| 64 | "T if two Lisp objects have similar structures and contents. | 64 | "Return t if two Lisp objects have similar structures and contents. |
| 65 | This is like `equal', except that it accepts numerically equal | 65 | This is like `equal', except that it accepts numerically equal |
| 66 | numbers of different types (float vs. integer), and also compares | 66 | numbers of different types (float vs. integer), and also compares |
| 67 | strings case-insensitively." | 67 | strings case-insensitively." |
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index aae2fd9f3d8..a585c7e52e6 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el | |||
| @@ -1335,7 +1335,7 @@ Unlike `flet', this macro is fully compliant with the Common Lisp standard. | |||
| 1335 | ;; The following ought to have a better definition for use with newer | 1335 | ;; The following ought to have a better definition for use with newer |
| 1336 | ;; byte compilers. | 1336 | ;; byte compilers. |
| 1337 | (defmacro macrolet (bindings &rest body) | 1337 | (defmacro macrolet (bindings &rest body) |
| 1338 | "Make temporary macro defns. | 1338 | "Make temporary macro definitions. |
| 1339 | This is like `flet', but for macros instead of functions. | 1339 | This is like `flet', but for macros instead of functions. |
| 1340 | 1340 | ||
| 1341 | \(fn ((NAME ARGLIST BODY...) ...) FORM...)" | 1341 | \(fn ((NAME ARGLIST BODY...) ...) FORM...)" |
| @@ -1351,7 +1351,7 @@ This is like `flet', but for macros instead of functions. | |||
| 1351 | cl-macro-environment)))))) | 1351 | cl-macro-environment)))))) |
| 1352 | 1352 | ||
| 1353 | (defmacro symbol-macrolet (bindings &rest body) | 1353 | (defmacro symbol-macrolet (bindings &rest body) |
| 1354 | "Make symbol macro defns. | 1354 | "Make symbol macro definitions. |
| 1355 | Within the body FORMs, references to the variable NAME will be replaced | 1355 | Within the body FORMs, references to the variable NAME will be replaced |
| 1356 | by EXPANSION, and (setq NAME ...) will act like (setf EXPANSION ...). | 1356 | by EXPANSION, and (setq NAME ...) will act like (setf EXPANSION ...). |
| 1357 | 1357 | ||
diff --git a/lisp/emacs-lisp/cl-seq.el b/lisp/emacs-lisp/cl-seq.el index 93237f0206f..cb202700a00 100644 --- a/lisp/emacs-lisp/cl-seq.el +++ b/lisp/emacs-lisp/cl-seq.el | |||
| @@ -800,7 +800,7 @@ Keywords supported: :test :test-not :key" | |||
| 800 | (apply 'nset-difference cl-list2 cl-list1 cl-keys))))) | 800 | (apply 'nset-difference cl-list2 cl-list1 cl-keys))))) |
| 801 | 801 | ||
| 802 | (defun subsetp (cl-list1 cl-list2 &rest cl-keys) | 802 | (defun subsetp (cl-list1 cl-list2 &rest cl-keys) |
| 803 | "True if LIST1 is a subset of LIST2. | 803 | "Return true if LIST1 is a subset of LIST2. |
| 804 | I.e., if every element of LIST1 also appears in LIST2. | 804 | I.e., if every element of LIST1 also appears in LIST2. |
| 805 | Keywords supported: :test :test-not :key" | 805 | Keywords supported: :test :test-not :key" |
| 806 | (cond ((null cl-list1) t) ((null cl-list2) nil) | 806 | (cond ((null cl-list1) t) ((null cl-list2) nil) |
| @@ -888,7 +888,7 @@ Keywords supported: :test :test-not :key" | |||
| 888 | (setq cl-tree (cdr cl-tree)))))) | 888 | (setq cl-tree (cdr cl-tree)))))) |
| 889 | 889 | ||
| 890 | (defun tree-equal (cl-x cl-y &rest cl-keys) | 890 | (defun tree-equal (cl-x cl-y &rest cl-keys) |
| 891 | "T if trees X and Y have `eql' leaves. | 891 | "Return t if trees X and Y have `eql' leaves. |
| 892 | Atoms are compared by `eql'; cons cells are compared recursively. | 892 | Atoms are compared by `eql'; cons cells are compared recursively. |
| 893 | Keywords supported: :test :test-not :key" | 893 | Keywords supported: :test :test-not :key" |
| 894 | (cl-parsing-keywords (:test :test-not :key) () | 894 | (cl-parsing-keywords (:test :test-not :key) () |
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el index 2f6c799f528..11835629bd7 100644 --- a/lisp/emacs-lisp/cl.el +++ b/lisp/emacs-lisp/cl.el | |||
| @@ -115,7 +115,7 @@ a future Emacs interpreter will be able to use it.") | |||
| 115 | ;;; Predicates. | 115 | ;;; Predicates. |
| 116 | 116 | ||
| 117 | (defun eql (a b) ; See compiler macro in cl-macs.el | 117 | (defun eql (a b) ; See compiler macro in cl-macs.el |
| 118 | "T if the two args are the same Lisp object. | 118 | "Return t if the two args are the same Lisp object. |
| 119 | Floating-point numbers of equal value are `eql', but they may not be `eq'." | 119 | Floating-point numbers of equal value are `eql', but they may not be `eq'." |
| 120 | (if (numberp a) | 120 | (if (numberp a) |
| 121 | (equal a b) | 121 | (equal a b) |
| @@ -301,25 +301,25 @@ definitions to shadow the loaded ones for use in file byte-compilation." | |||
| 301 | ;;; Numbers. | 301 | ;;; Numbers. |
| 302 | 302 | ||
| 303 | (defun floatp-safe (x) | 303 | (defun floatp-safe (x) |
| 304 | "T if OBJECT is a floating point number. | 304 | "Return t if OBJECT is a floating point number. |
| 305 | On Emacs versions that lack floating-point support, this function | 305 | On Emacs versions that lack floating-point support, this function |
| 306 | always returns nil." | 306 | always returns nil." |
| 307 | (and (numberp x) (not (integerp x)))) | 307 | (and (numberp x) (not (integerp x)))) |
| 308 | 308 | ||
| 309 | (defun plusp (x) | 309 | (defun plusp (x) |
| 310 | "T if NUMBER is positive." | 310 | "Return t if NUMBER is positive." |
| 311 | (> x 0)) | 311 | (> x 0)) |
| 312 | 312 | ||
| 313 | (defun minusp (x) | 313 | (defun minusp (x) |
| 314 | "T if NUMBER is negative." | 314 | "Return t if NUMBER is negative." |
| 315 | (< x 0)) | 315 | (< x 0)) |
| 316 | 316 | ||
| 317 | (defun oddp (x) | 317 | (defun oddp (x) |
| 318 | "T if INTEGER is odd." | 318 | "Return t if INTEGER is odd." |
| 319 | (eq (logand x 1) 1)) | 319 | (eq (logand x 1) 1)) |
| 320 | 320 | ||
| 321 | (defun evenp (x) | 321 | (defun evenp (x) |
| 322 | "T if INTEGER is even." | 322 | "Return t if INTEGER is even." |
| 323 | (eq (logand x 1) 0)) | 323 | (eq (logand x 1) 0)) |
| 324 | 324 | ||
| 325 | (defvar *random-state* (vector 'cl-random-state-tag -1 30 (cl-random-time))) | 325 | (defvar *random-state* (vector 'cl-random-state-tag -1 30 (cl-random-time))) |
| @@ -503,7 +503,7 @@ SEQ, this is like `mapcar'. With several, it is like the Common Lisp | |||
| 503 | ;; x)) | 503 | ;; x)) |
| 504 | 504 | ||
| 505 | (defun list* (arg &rest rest) ; See compiler macro in cl-macs.el | 505 | (defun list* (arg &rest rest) ; See compiler macro in cl-macs.el |
| 506 | "Return a new list with specified args as elements, cons'd to last arg. | 506 | "Return a new list with specified args as elements, consed to last arg. |
| 507 | Thus, `(list* A B C D)' is equivalent to `(nconc (list A B C) D)', or to | 507 | Thus, `(list* A B C D)' is equivalent to `(nconc (list A B C) D)', or to |
| 508 | `(cons A (cons B (cons C D)))'." | 508 | `(cons A (cons B (cons C D)))'." |
| 509 | (cond ((not rest) arg) | 509 | (cond ((not rest) arg) |
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 30c76b8769a..c2e394bf15b 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el | |||
| @@ -185,25 +185,24 @@ Uses heuristic: year >= 50 means 19xx, < 50 means 20xx." | |||
| 185 | (widen) | 185 | (widen) |
| 186 | (goto-char (point-min)) | 186 | (goto-char (point-min)) |
| 187 | (if (re-search-forward copyright-regexp (+ (point) copyright-limit) t) | 187 | (if (re-search-forward copyright-regexp (+ (point) copyright-limit) t) |
| 188 | (let ((s (match-beginning 2)) (e (make-marker)) | 188 | (let ((s (match-beginning 2)) |
| 189 | (e (copy-marker (1+ (match-end 2)))) | ||
| 190 | (p (make-marker)) | ||
| 189 | last) | 191 | last) |
| 190 | (set-marker e (1+ (match-end 2))) | ||
| 191 | (goto-char s) | 192 | (goto-char s) |
| 192 | ;; Back up one character so that our search can match the first year. | 193 | (while (re-search-forward "[0-9]+" e t) |
| 193 | (backward-char 1) | 194 | (set-marker p (point)) |
| 194 | (while (and (< (point) (marker-position e)) | 195 | (goto-char (match-beginning 0)) |
| 195 | (re-search-forward "\\([^0-9]\\)\\([0-9]+\\)[^0-9]" | 196 | (let ((sep (char-before)) |
| 196 | (marker-position e) t)) | 197 | (year (string-to-number (match-string 0)))) |
| 197 | (let ((p (point)) | 198 | (when (and sep |
| 198 | (sep (match-string 1)) | 199 | (/= (char-syntax sep) ?\s) |
| 199 | (year (string-to-number (match-string 2)))) | 200 | (/= sep ?-)) |
| 200 | (goto-char (1+ (match-beginning 0))) | ||
| 201 | (unless (= (char-syntax (string-to-char sep)) ?\s) | ||
| 202 | (insert " ")) | 201 | (insert " ")) |
| 203 | (if (< year 100) | 202 | (when (< year 100) |
| 204 | (insert (if (>= year 50) "19" "20"))) | 203 | (insert (if (>= year 50) "19" "20")))) |
| 205 | (goto-char p) | 204 | (goto-char p) |
| 206 | (setq last p))) | 205 | (setq last p)) |
| 207 | (when last | 206 | (when last |
| 208 | (goto-char last) | 207 | (goto-char last) |
| 209 | ;; Don't mess up whitespace after the years. | 208 | ;; Don't mess up whitespace after the years. |
| @@ -211,12 +210,11 @@ Uses heuristic: year >= 50 means 19xx, < 50 means 20xx." | |||
| 211 | (save-restriction | 210 | (save-restriction |
| 212 | (narrow-to-region (point-min) (point)) | 211 | (narrow-to-region (point-min) (point)) |
| 213 | (let ((fill-prefix " ")) | 212 | (let ((fill-prefix " ")) |
| 214 | (fill-region s last))) | 213 | (fill-region s last)))) |
| 215 | ) | ||
| 216 | (set-marker e nil) | 214 | (set-marker e nil) |
| 215 | (set-marker p nil) | ||
| 217 | (copyright-update nil t)) | 216 | (copyright-update nil t)) |
| 218 | (message "No copyright message") | 217 | (message "No copyright message"))) |
| 219 | (goto-char (point-min)))) | ||
| 220 | 218 | ||
| 221 | ;;;###autoload | 219 | ;;;###autoload |
| 222 | (define-skeleton copyright | 220 | (define-skeleton copyright |
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index a02f7be7d13..0892af1bb35 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el | |||
| @@ -36,7 +36,6 @@ | |||
| 36 | ;; For each mode, easy-mmode defines the following: | 36 | ;; For each mode, easy-mmode defines the following: |
| 37 | ;; <mode> : The minor mode predicate. A buffer-local variable. | 37 | ;; <mode> : The minor mode predicate. A buffer-local variable. |
| 38 | ;; <mode>-map : The keymap possibly associated to <mode>. | 38 | ;; <mode>-map : The keymap possibly associated to <mode>. |
| 39 | ;; <mode>-hook : The hook run at the end of the toggle function. | ||
| 40 | ;; see `define-minor-mode' documentation | 39 | ;; see `define-minor-mode' documentation |
| 41 | ;; | 40 | ;; |
| 42 | ;; eval | 41 | ;; eval |
| @@ -90,7 +89,7 @@ replacing its case-insensitive matches with the literal string in LIGHTER." | |||
| 90 | (defmacro define-minor-mode (mode doc &optional init-value lighter keymap &rest body) | 89 | (defmacro define-minor-mode (mode doc &optional init-value lighter keymap &rest body) |
| 91 | "Define a new minor mode MODE. | 90 | "Define a new minor mode MODE. |
| 92 | This function defines the associated control variable MODE, keymap MODE-map, | 91 | This function defines the associated control variable MODE, keymap MODE-map, |
| 93 | toggle command MODE, and hook MODE-hook. | 92 | and toggle command MODE. |
| 94 | 93 | ||
| 95 | DOC is the documentation for the mode toggle command. | 94 | DOC is the documentation for the mode toggle command. |
| 96 | Optional INIT-VALUE is the initial value of the mode's variable. | 95 | Optional INIT-VALUE is the initial value of the mode's variable. |
| @@ -103,11 +102,11 @@ The above three arguments can be skipped if keyword arguments are | |||
| 103 | used (see below). | 102 | used (see below). |
| 104 | 103 | ||
| 105 | BODY contains code that will be executed each time the mode is (dis)activated. | 104 | BODY contains code that will be executed each time the mode is (dis)activated. |
| 106 | It will be executed after any toggling but before running the hooks. | 105 | It will be executed after any toggling but before running the hook variable |
| 107 | Before the actual body code, you can write | 106 | `mode-HOOK'. |
| 108 | keyword arguments (alternating keywords and values). | 107 | Before the actual body code, you can write keyword arguments (alternating |
| 109 | These following keyword arguments are supported (other keywords | 108 | keywords and values). These following keyword arguments are supported (other |
| 110 | will be passed to `defcustom' if the minor mode is global): | 109 | keywords will be passed to `defcustom' if the minor mode is global): |
| 111 | :group GROUP Custom group name to use in all generated `defcustom' forms. | 110 | :group GROUP Custom group name to use in all generated `defcustom' forms. |
| 112 | Defaults to MODE without the possible trailing \"-mode\". | 111 | Defaults to MODE without the possible trailing \"-mode\". |
| 113 | Don't use this default group name unless you have written a | 112 | Don't use this default group name unless you have written a |
| @@ -241,12 +240,6 @@ With zero or negative ARG turn mode off. | |||
| 241 | ;; up-to-here. | 240 | ;; up-to-here. |
| 242 | :autoload-end | 241 | :autoload-end |
| 243 | 242 | ||
| 244 | ;; The toggle's hook. | ||
| 245 | (defcustom ,hook nil | ||
| 246 | ,(format "Hook run at the end of function `%s'." mode-name) | ||
| 247 | ,@group | ||
| 248 | :type 'hook) | ||
| 249 | |||
| 250 | ;; Define the minor-mode keymap. | 243 | ;; Define the minor-mode keymap. |
| 251 | ,(unless (symbolp keymap) ;nil is also a symbol. | 244 | ,(unless (symbolp keymap) ;nil is also a symbol. |
| 252 | `(defvar ,keymap-sym | 245 | `(defvar ,keymap-sym |
| @@ -323,8 +316,8 @@ in which `%s' turns it on." | |||
| 323 | (with-current-buffer buf | 316 | (with-current-buffer buf |
| 324 | (if ,global-mode (,turn-on) (when ,mode (,mode -1)))))) | 317 | (if ,global-mode (,turn-on) (when ,mode (,mode -1)))))) |
| 325 | 318 | ||
| 326 | ;; Autoloading easy-mmode-define-global-mode | 319 | ;; Autoloading define-global-minor-mode autoloads everything |
| 327 | ;; autoloads everything up-to-here. | 320 | ;; up-to-here. |
| 328 | :autoload-end | 321 | :autoload-end |
| 329 | 322 | ||
| 330 | ;; List of buffers left to process. | 323 | ;; List of buffers left to process. |
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 1546d078aea..bf6b601ef7a 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -141,9 +141,9 @@ truncated to make more of the arglist or documentation string visible." | |||
| 141 | "Toggle ElDoc mode on or off. | 141 | "Toggle ElDoc mode on or off. |
| 142 | In ElDoc mode, the echo area displays information about a | 142 | In ElDoc mode, the echo area displays information about a |
| 143 | function or variable in the text where point is. If point is | 143 | function or variable in the text where point is. If point is |
| 144 | on a documented variable, it displays that variable's doc string. | 144 | on a documented variable, it displays the first line of that |
| 145 | Otherwise it displays the argument list of the function called | 145 | variable's doc string. Otherwise it displays the argument list |
| 146 | in the expression point is on. | 146 | of the function called in the expression point is on. |
| 147 | 147 | ||
| 148 | With prefix ARG, turn ElDoc mode on if and only if ARG is positive." | 148 | With prefix ARG, turn ElDoc mode on if and only if ARG is positive." |
| 149 | :group 'eldoc :lighter eldoc-minor-mode-string | 149 | :group 'eldoc :lighter eldoc-minor-mode-string |
diff --git a/lisp/emacs-lisp/lisp-mnt.el b/lisp/emacs-lisp/lisp-mnt.el index 701da1c4dec..a385a32935e 100644 --- a/lisp/emacs-lisp/lisp-mnt.el +++ b/lisp/emacs-lisp/lisp-mnt.el | |||
| @@ -418,7 +418,7 @@ ISO-DATE non-nil means return the date in ISO 8601 format." | |||
| 418 | (format "%s-%s-%s" yyyy mm dd) | 418 | (format "%s-%s-%s" yyyy mm dd) |
| 419 | (format "%s %s %s" | 419 | (format "%s %s %s" |
| 420 | dd | 420 | dd |
| 421 | (nth (string-to-int mm) | 421 | (nth (string-to-number mm) |
| 422 | '("" "Jan" "Feb" "Mar" "Apr" "May" "Jun" | 422 | '("" "Jan" "Feb" "Mar" "Apr" "May" "Jun" |
| 423 | "Jul" "Aug" "Sep" "Oct" "Nov" "Dec")) | 423 | "Jul" "Aug" "Sep" "Oct" "Nov" "Dec")) |
| 424 | yyyy)))))) | 424 | yyyy)))))) |
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index f9442bc0084..955bc4499bc 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; lisp.el --- Lisp editing commands for Emacs | 1 | ;;; lisp.el --- Lisp editing commands for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 86, 1994, 2000, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1986, 1994, 2000, 2004, 2005 |
| 4 | ;; Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| 6 | ;; Keywords: lisp, languages | 7 | ;; Keywords: lisp, languages |
| @@ -487,9 +488,9 @@ If region is active, insert enclosing characters at region boundaries." | |||
| 487 | More accurately, check the narrowed part of the buffer for unbalanced | 488 | More accurately, check the narrowed part of the buffer for unbalanced |
| 488 | expressions (\"sexps\") in general. This is done according to the | 489 | expressions (\"sexps\") in general. This is done according to the |
| 489 | current syntax table and will find unbalanced brackets or quotes as | 490 | current syntax table and will find unbalanced brackets or quotes as |
| 490 | appropriate. (See Info node `(emacs)Lists and Sexps'.) If imbalance | 491 | appropriate. (See Info node `(emacs)Parentheses'.) If imbalance is |
| 491 | is found, an error is signalled and point is left at the first | 492 | found, an error is signalled and point is left at the first unbalanced |
| 492 | unbalanced character." | 493 | character." |
| 493 | (interactive) | 494 | (interactive) |
| 494 | (condition-case data | 495 | (condition-case data |
| 495 | ;; Buffer can't have more than (point-max) sexps. | 496 | ;; Buffer can't have more than (point-max) sexps. |
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el index 1c8d12fef0e..a2aed39d00a 100644 --- a/lisp/emacs-lisp/re-builder.el +++ b/lisp/emacs-lisp/re-builder.el | |||
| @@ -557,7 +557,7 @@ optional fourth argument FORCE is non-nil." | |||
| 557 | (interactive) | 557 | (interactive) |
| 558 | 558 | ||
| 559 | (setq reb-subexp-displayed | 559 | (setq reb-subexp-displayed |
| 560 | (or subexp (string-to-int (format "%c" last-command-char)))) | 560 | (or subexp (string-to-number (format "%c" last-command-char)))) |
| 561 | (reb-update-modestring) | 561 | (reb-update-modestring) |
| 562 | (reb-do-update reb-subexp-displayed)) | 562 | (reb-do-update reb-subexp-displayed)) |
| 563 | 563 | ||
diff --git a/lisp/emacs-lisp/testcover.el b/lisp/emacs-lisp/testcover.el index 23e9a54b1bb..f77b1a00e2c 100644 --- a/lisp/emacs-lisp/testcover.el +++ b/lisp/emacs-lisp/testcover.el | |||
| @@ -147,7 +147,8 @@ call to one of the `testcover-1value-functions'." | |||
| 147 | (defcustom testcover-potentially-1value-functions | 147 | (defcustom testcover-potentially-1value-functions |
| 148 | '(add-hook and beep or remove-hook unless when) | 148 | '(add-hook and beep or remove-hook unless when) |
| 149 | "Functions that are potentially 1-valued. No brown splotch if actually | 149 | "Functions that are potentially 1-valued. No brown splotch if actually |
| 150 | 1-valued, no error if actually multi-valued.") | 150 | 1-valued, no error if actually multi-valued." |
| 151 | :group 'testcover) | ||
| 151 | 152 | ||
| 152 | (defface testcover-nohits-face | 153 | (defface testcover-nohits-face |
| 153 | '((t (:background "DeepPink2"))) | 154 | '((t (:background "DeepPink2"))) |
diff --git a/lisp/emerge.el b/lisp/emerge.el index f9821111e71..1f105163f46 100644 --- a/lisp/emerge.el +++ b/lisp/emerge.el | |||
| @@ -657,20 +657,20 @@ This is *not* a user option, since Emerge uses it for its own processing.") | |||
| 657 | diff-buffer | 657 | diff-buffer |
| 658 | (goto-char (point-min)) | 658 | (goto-char (point-min)) |
| 659 | (while (re-search-forward emerge-match-diff-line nil t) | 659 | (while (re-search-forward emerge-match-diff-line nil t) |
| 660 | (let* ((a-begin (string-to-int (buffer-substring (match-beginning 1) | 660 | (let* ((a-begin (string-to-number (buffer-substring (match-beginning 1) |
| 661 | (match-end 1)))) | 661 | (match-end 1)))) |
| 662 | (a-end (let ((b (match-beginning 3)) | 662 | (a-end (let ((b (match-beginning 3)) |
| 663 | (e (match-end 3))) | 663 | (e (match-end 3))) |
| 664 | (if b | 664 | (if b |
| 665 | (string-to-int (buffer-substring b e)) | 665 | (string-to-number (buffer-substring b e)) |
| 666 | a-begin))) | 666 | a-begin))) |
| 667 | (diff-type (buffer-substring (match-beginning 4) (match-end 4))) | 667 | (diff-type (buffer-substring (match-beginning 4) (match-end 4))) |
| 668 | (b-begin (string-to-int (buffer-substring (match-beginning 5) | 668 | (b-begin (string-to-number (buffer-substring (match-beginning 5) |
| 669 | (match-end 5)))) | 669 | (match-end 5)))) |
| 670 | (b-end (let ((b (match-beginning 7)) | 670 | (b-end (let ((b (match-beginning 7)) |
| 671 | (e (match-end 7))) | 671 | (e (match-end 7))) |
| 672 | (if b | 672 | (if b |
| 673 | (string-to-int (buffer-substring b e)) | 673 | (string-to-number (buffer-substring b e)) |
| 674 | b-begin)))) | 674 | b-begin)))) |
| 675 | ;; fix the beginning and end numbers, because diff is somewhat | 675 | ;; fix the beginning and end numbers, because diff is somewhat |
| 676 | ;; strange about how it numbers lines | 676 | ;; strange about how it numbers lines |
| @@ -862,16 +862,16 @@ This is *not* a user option, since Emerge uses it for its own processing.") | |||
| 862 | ;; it is a "c" group | 862 | ;; it is a "c" group |
| 863 | (if (match-beginning 2) | 863 | (if (match-beginning 2) |
| 864 | ;; it has two numbers | 864 | ;; it has two numbers |
| 865 | (list (string-to-int | 865 | (list (string-to-number |
| 866 | (buffer-substring (match-beginning 1) (match-end 1))) | 866 | (buffer-substring (match-beginning 1) (match-end 1))) |
| 867 | (1+ (string-to-int | 867 | (1+ (string-to-number |
| 868 | (buffer-substring (match-beginning 3) (match-end 3))))) | 868 | (buffer-substring (match-beginning 3) (match-end 3))))) |
| 869 | ;; it has one number | 869 | ;; it has one number |
| 870 | (let ((x (string-to-int | 870 | (let ((x (string-to-number |
| 871 | (buffer-substring (match-beginning 1) (match-end 1))))) | 871 | (buffer-substring (match-beginning 1) (match-end 1))))) |
| 872 | (list x (1+ x)))) | 872 | (list x (1+ x)))) |
| 873 | ;; it is an "a" group | 873 | ;; it is an "a" group |
| 874 | (let ((x (1+ (string-to-int | 874 | (let ((x (1+ (string-to-number |
| 875 | (buffer-substring (match-beginning 1) (match-end 1)))))) | 875 | (buffer-substring (match-beginning 1) (match-end 1)))))) |
| 876 | (list x x))))) | 876 | (list x x))))) |
| 877 | 877 | ||
diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el index 2ca819c0424..97706fdfab0 100644 --- a/lisp/emulation/crisp.el +++ b/lisp/emulation/crisp.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; crisp.el --- CRiSP/Brief Emacs emulator | 1 | ;;; crisp.el --- CRiSP/Brief Emacs emulator |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 1998, 1999, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Gary D. Foster <Gary.Foster@Corp.Sun.COM> | 5 | ;; Author: Gary D. Foster <Gary.Foster@Corp.Sun.COM> |
| 6 | ;; Keywords: emulations brief crisp | 6 | ;; Keywords: emulations brief crisp |
| @@ -386,10 +386,8 @@ With ARG, turn CRiSP mode on if ARG is positive, off otherwise." | |||
| 386 | minor-mode-map-alist)))) | 386 | minor-mode-map-alist)))) |
| 387 | 387 | ||
| 388 | ;; Interaction with other packages. | 388 | ;; Interaction with other packages. |
| 389 | (eval-after-load 'cua | 389 | (put 'crisp-home 'CUA 'move) |
| 390 | '(progn | 390 | (put 'crisp-end 'CUA 'move) |
| 391 | (add-to-list 'cua--standard-movement-commands 'crisp-home) | ||
| 392 | (add-to-list 'cua--standard-movement-commands 'crisp-end))) | ||
| 393 | 391 | ||
| 394 | (run-hooks 'crisp-load-hook) | 392 | (run-hooks 'crisp-load-hook) |
| 395 | (provide 'crisp) | 393 | (provide 'crisp) |
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el index e9679c66dd3..6ea6bfb7f3d 100644 --- a/lisp/emulation/cua-base.el +++ b/lisp/emulation/cua-base.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cua-base.el --- emulate CUA key bindings | 1 | ;;; cua-base.el --- emulate CUA key bindings |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 3 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2005 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Kim F. Storm <storm@cua.dk> | 6 | ;; Author: Kim F. Storm <storm@cua.dk> |
| @@ -159,13 +159,13 @@ | |||
| 159 | ;; left edge of a rectangle start in the middle of a TAB character. | 159 | ;; left edge of a rectangle start in the middle of a TAB character. |
| 160 | ;; Sounds strange? Try it! | 160 | ;; Sounds strange? Try it! |
| 161 | ;; | 161 | ;; |
| 162 | ;; To start a rectangle, use [S-return] and extend it using the normal | 162 | ;; To start a rectangle, use [C-return] and extend it using the normal |
| 163 | ;; movement keys (up, down, left, right, home, end, C-home, | 163 | ;; movement keys (up, down, left, right, home, end, C-home, |
| 164 | ;; C-end). Once the rectangle has the desired size, you can cut or | 164 | ;; C-end). Once the rectangle has the desired size, you can cut or |
| 165 | ;; copy it using C-x and C-c (or C-w and M-w), and you can | 165 | ;; copy it using C-x and C-c (or C-w and M-w), and you can |
| 166 | ;; subsequently insert it - as a rectangle - using C-v (or C-y). So | 166 | ;; subsequently insert it - as a rectangle - using C-v (or C-y). So |
| 167 | ;; the only new command you need to know to work with cua-mode | 167 | ;; the only new command you need to know to work with cua-mode |
| 168 | ;; rectangles is S-return! | 168 | ;; rectangles is C-return! |
| 169 | ;; | 169 | ;; |
| 170 | ;; Normally, when you paste a rectangle using C-v (C-y), each line of | 170 | ;; Normally, when you paste a rectangle using C-v (C-y), each line of |
| 171 | ;; the rectangle is inserted into the existing lines in the buffer. | 171 | ;; the rectangle is inserted into the existing lines in the buffer. |
| @@ -183,7 +183,7 @@ | |||
| 183 | ;; entire rectangle overlay (but not the contents) in the given | 183 | ;; entire rectangle overlay (but not the contents) in the given |
| 184 | ;; direction. | 184 | ;; direction. |
| 185 | ;; | 185 | ;; |
| 186 | ;; [S-return] cancels the rectangle | 186 | ;; [C-return] cancels the rectangle |
| 187 | ;; [C-space] activates the region bounded by the rectangle | 187 | ;; [C-space] activates the region bounded by the rectangle |
| 188 | 188 | ||
| 189 | ;; If you type a normal (self-inserting) character when the rectangle is | 189 | ;; If you type a normal (self-inserting) character when the rectangle is |
| @@ -194,7 +194,7 @@ | |||
| 194 | ;; bottom of the rectangle. So, for example, to comment out an entire | 194 | ;; bottom of the rectangle. So, for example, to comment out an entire |
| 195 | ;; paragraph like this one, just place the cursor on the first character | 195 | ;; paragraph like this one, just place the cursor on the first character |
| 196 | ;; of the first line, and enter the following: | 196 | ;; of the first line, and enter the following: |
| 197 | ;; S-return M-} ; ; <space> S-return | 197 | ;; C-return M-} ; ; <space> C-return |
| 198 | 198 | ||
| 199 | ;; cua-mode's rectangle support also includes all the normal rectangle | 199 | ;; cua-mode's rectangle support also includes all the normal rectangle |
| 200 | ;; functions with easy access: | 200 | ;; functions with easy access: |
| @@ -330,12 +330,12 @@ interpreted as a register number." | |||
| 330 | :group 'cua) | 330 | :group 'cua) |
| 331 | 331 | ||
| 332 | (defcustom cua-use-hyper-key nil | 332 | (defcustom cua-use-hyper-key nil |
| 333 | "*If non-nil, bind rectangle commands to H-? instead of M-?. | 333 | "*If non-nil, bind rectangle commands to H-... instead of M-.... |
| 334 | If set to 'also, toggle region command is also on S-return. | 334 | If set to 'also, toggle region command is also on C-return. |
| 335 | Must be set prior to enabling CUA." | 335 | Must be set prior to enabling CUA." |
| 336 | :type '(choice (const :tag "Meta key and S-return" nil) | 336 | :type '(choice (const :tag "Meta key and C-return" nil) |
| 337 | (const :tag "Hyper key only" only) | 337 | (const :tag "Hyper key only" only) |
| 338 | (const :tag "Hyper key and S-return" also)) | 338 | (const :tag "Hyper key and C-return" also)) |
| 339 | :group 'cua) | 339 | :group 'cua) |
| 340 | 340 | ||
| 341 | (defcustom cua-enable-region-auto-help nil | 341 | (defcustom cua-enable-region-auto-help nil |
| @@ -1235,7 +1235,7 @@ If ARG is the atom `-', scroll upward by nearly full screen." | |||
| 1235 | 1235 | ||
| 1236 | (defun cua--init-keymaps () | 1236 | (defun cua--init-keymaps () |
| 1237 | (unless (eq cua-use-hyper-key 'only) | 1237 | (unless (eq cua-use-hyper-key 'only) |
| 1238 | (define-key cua-global-keymap [(shift return)] 'cua-set-rectangle-mark)) | 1238 | (define-key cua-global-keymap [(control return)] 'cua-set-rectangle-mark)) |
| 1239 | (when cua-use-hyper-key | 1239 | (when cua-use-hyper-key |
| 1240 | (cua--M/H-key cua-global-keymap 'space 'cua-set-rectangle-mark) | 1240 | (cua--M/H-key cua-global-keymap 'space 'cua-set-rectangle-mark) |
| 1241 | (define-key cua-global-keymap [(hyper mouse-1)] 'cua-mouse-set-rectangle-mark)) | 1241 | (define-key cua-global-keymap [(hyper mouse-1)] 'cua-mouse-set-rectangle-mark)) |
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el index 5c24c2dc36f..932448079dd 100644 --- a/lisp/emulation/cua-rect.el +++ b/lisp/emulation/cua-rect.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cua-rect.el --- CUA unified rectangle support | 1 | ;;; cua-rect.el --- CUA unified rectangle support |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-2002, 2004, 2005 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-2002, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Kim F. Storm <storm@cua.dk> | 5 | ;; Author: Kim F. Storm <storm@cua.dk> |
| 6 | ;; Keywords: keyboard emulations convenience CUA | 6 | ;; Keywords: keyboard emulations convenience CUA |
| @@ -1403,8 +1403,8 @@ With prefix arg, indent to that column." | |||
| 1403 | 1403 | ||
| 1404 | (defun cua--init-rectangles () | 1404 | (defun cua--init-rectangles () |
| 1405 | (unless (eq cua-use-hyper-key 'only) | 1405 | (unless (eq cua-use-hyper-key 'only) |
| 1406 | (define-key cua--rectangle-keymap [(shift return)] 'cua-clear-rectangle-mark) | 1406 | (define-key cua--rectangle-keymap [(control return)] 'cua-clear-rectangle-mark) |
| 1407 | (define-key cua--region-keymap [(shift return)] 'cua-toggle-rectangle-mark)) | 1407 | (define-key cua--region-keymap [(control return)] 'cua-toggle-rectangle-mark)) |
| 1408 | (when cua-use-hyper-key | 1408 | (when cua-use-hyper-key |
| 1409 | (cua--rect-M/H-key 'space 'cua-clear-rectangle-mark) | 1409 | (cua--rect-M/H-key 'space 'cua-clear-rectangle-mark) |
| 1410 | (cua--M/H-key cua--region-keymap 'space 'cua-toggle-rectangle-mark)) | 1410 | (cua--M/H-key cua--region-keymap 'space 'cua-toggle-rectangle-mark)) |
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index ff0298e9a17..01f0af6f307 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -1256,16 +1256,16 @@ Argument BOTTOM is the bottom margin in number of lines or percent of window." | |||
| 1256 | ;; set top scroll margin | 1256 | ;; set top scroll margin |
| 1257 | (or (string= top "") | 1257 | (or (string= top "") |
| 1258 | (if (string= "%" (substring top -1)) | 1258 | (if (string= "%" (substring top -1)) |
| 1259 | (setq edt-top-scroll-margin (string-to-int top)) | 1259 | (setq edt-top-scroll-margin (string-to-number top)) |
| 1260 | (setq edt-top-scroll-margin | 1260 | (setq edt-top-scroll-margin |
| 1261 | (/ (1- (+ (* (string-to-int top) 100) (window-height))) | 1261 | (/ (1- (+ (* (string-to-number top) 100) (window-height))) |
| 1262 | (window-height))))) | 1262 | (window-height))))) |
| 1263 | ;; set bottom scroll margin | 1263 | ;; set bottom scroll margin |
| 1264 | (or (string= bottom "") | 1264 | (or (string= bottom "") |
| 1265 | (if (string= "%" (substring bottom -1)) | 1265 | (if (string= "%" (substring bottom -1)) |
| 1266 | (setq edt-bottom-scroll-margin (string-to-int bottom)) | 1266 | (setq edt-bottom-scroll-margin (string-to-number bottom)) |
| 1267 | (setq edt-bottom-scroll-margin | 1267 | (setq edt-bottom-scroll-margin |
| 1268 | (/ (1- (+ (* (string-to-int bottom) 100) (window-height))) | 1268 | (/ (1- (+ (* (string-to-number bottom) 100) (window-height))) |
| 1269 | (window-height))))) | 1269 | (window-height))))) |
| 1270 | ;; report scroll margin settings if running interactively | 1270 | ;; report scroll margin settings if running interactively |
| 1271 | (and (interactive-p) | 1271 | (and (interactive-p) |
diff --git a/lisp/emulation/pc-select.el b/lisp/emulation/pc-select.el index 188e335687c..1221fca5199 100644 --- a/lisp/emulation/pc-select.el +++ b/lisp/emulation/pc-select.el | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | ;;; (or MAC GUI or MS-windoze (bah)) look-and-feel | 2 | ;;; (or MAC GUI or MS-windoze (bah)) look-and-feel |
| 3 | ;;; including key bindings. | 3 | ;;; including key bindings. |
| 4 | 4 | ||
| 5 | ;; Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc. | 5 | ;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2005 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | ;; Author: Michael Staats <michael@thp.Uni-Duisburg.DE> | 7 | ;; Author: Michael Staats <michael@thp.Uni-Duisburg.DE> |
| 8 | ;; Keywords: convenience emulation | 8 | ;; Keywords: convenience emulation |
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el index f8f608b01d0..ec0eef05321 100644 --- a/lisp/emulation/tpu-edt.el +++ b/lisp/emulation/tpu-edt.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; tpu-edt.el --- Emacs emulating TPU emulating EDT | 1 | ;;; tpu-edt.el --- Emacs emulating TPU emulating EDT |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1994, 1995, 2000 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993, 1994, 1995, 2000, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Rob Riepel <riepel@networking.stanford.edu> | 5 | ;; Author: Rob Riepel <riepel@networking.stanford.edu> |
| 6 | ;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> | 6 | ;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> |
diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el index ced88ff3fdf..9c417dd3a40 100644 --- a/lisp/emulation/tpu-extras.el +++ b/lisp/emulation/tpu-extras.el | |||
| @@ -440,16 +440,16 @@ version that respects the bottom scroll margin." | |||
| 440 | ;; set top scroll margin | 440 | ;; set top scroll margin |
| 441 | (or (string= top "") | 441 | (or (string= top "") |
| 442 | (if (string= "%" (substring top -1)) | 442 | (if (string= "%" (substring top -1)) |
| 443 | (setq tpu-top-scroll-margin (string-to-int top)) | 443 | (setq tpu-top-scroll-margin (string-to-number top)) |
| 444 | (setq tpu-top-scroll-margin | 444 | (setq tpu-top-scroll-margin |
| 445 | (/ (1- (+ (* (string-to-int top) 100) (window-height))) | 445 | (/ (1- (+ (* (string-to-number top) 100) (window-height))) |
| 446 | (window-height))))) | 446 | (window-height))))) |
| 447 | ;; set bottom scroll margin | 447 | ;; set bottom scroll margin |
| 448 | (or (string= bottom "") | 448 | (or (string= bottom "") |
| 449 | (if (string= "%" (substring bottom -1)) | 449 | (if (string= "%" (substring bottom -1)) |
| 450 | (setq tpu-bottom-scroll-margin (string-to-int bottom)) | 450 | (setq tpu-bottom-scroll-margin (string-to-number bottom)) |
| 451 | (setq tpu-bottom-scroll-margin | 451 | (setq tpu-bottom-scroll-margin |
| 452 | (/ (1- (+ (* (string-to-int bottom) 100) (window-height))) | 452 | (/ (1- (+ (* (string-to-number bottom) 100) (window-height))) |
| 453 | (window-height))))) | 453 | (window-height))))) |
| 454 | ;; report scroll margin settings if running interactively | 454 | ;; report scroll margin settings if running interactively |
| 455 | (and (interactive-p) | 455 | (and (interactive-p) |
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index af878085ba8..19f08d54989 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -2177,7 +2177,7 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2177 | (cond ((string= ex-token-type "plus") "add-number") | 2177 | (cond ((string= ex-token-type "plus") "add-number") |
| 2178 | ((string= ex-token-type "minus") "sub-number") | 2178 | ((string= ex-token-type "minus") "sub-number") |
| 2179 | (t "abs-number"))) | 2179 | (t "abs-number"))) |
| 2180 | (setq ex-token (string-to-int (buffer-substring (point) (mark))))) | 2180 | (setq ex-token (string-to-number (buffer-substring (point) (mark))))) |
| 2181 | ((looking-at "\\$") | 2181 | ((looking-at "\\$") |
| 2182 | (forward-char 1) | 2182 | (forward-char 1) |
| 2183 | (setq ex-token-type "end")) | 2183 | (setq ex-token-type "end")) |
| @@ -2471,7 +2471,7 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2471 | (progn | 2471 | (progn |
| 2472 | (set-mark (point)) | 2472 | (set-mark (point)) |
| 2473 | (re-search-forward "[0-9][0-9]*") | 2473 | (re-search-forward "[0-9][0-9]*") |
| 2474 | (setq ex-count (string-to-int (buffer-substring (point) (mark)))) | 2474 | (setq ex-count (string-to-number (buffer-substring (point) (mark)))) |
| 2475 | (skip-chars-forward " \t"))) | 2475 | (skip-chars-forward " \t"))) |
| 2476 | (if (looking-at "[pl#]") | 2476 | (if (looking-at "[pl#]") |
| 2477 | (progn | 2477 | (progn |
| @@ -2496,7 +2496,7 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2496 | (progn | 2496 | (progn |
| 2497 | (set-mark (point)) | 2497 | (set-mark (point)) |
| 2498 | (re-search-forward "[0-9][0-9]*") | 2498 | (re-search-forward "[0-9][0-9]*") |
| 2499 | (setq ex-count (string-to-int (buffer-substring (point) (mark)))) | 2499 | (setq ex-count (string-to-number (buffer-substring (point) (mark)))) |
| 2500 | (skip-chars-forward " \t"))) | 2500 | (skip-chars-forward " \t"))) |
| 2501 | (if (looking-at "[pl#]") | 2501 | (if (looking-at "[pl#]") |
| 2502 | (progn | 2502 | (progn |
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 8023336b18b..4593d84c6fc 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-cmd.el --- Vi command support for Viper | 1 | ;;; viper-cmd.el --- Vi command support for Viper |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 98, 99, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 98, 99, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el index 90b006ffb65..7e8a5cbeb99 100644 --- a/lisp/emulation/viper-ex.el +++ b/lisp/emulation/viper-ex.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-ex.el --- functions implementing the Ex commands for Viper | 1 | ;;; viper-ex.el --- functions implementing the Ex commands for Viper |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 98, 2000, 01, 02, 04, 05 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 98, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
| @@ -434,7 +434,7 @@ reversed." | |||
| 434 | ((eq ex-token-type 'minus) 'sub-number) | 434 | ((eq ex-token-type 'minus) 'sub-number) |
| 435 | (t 'abs-number))) | 435 | (t 'abs-number))) |
| 436 | (setq ex-token | 436 | (setq ex-token |
| 437 | (string-to-int (buffer-substring (point) (mark t))))) | 437 | (string-to-number (buffer-substring (point) (mark t))))) |
| 438 | ((looking-at "\\$") | 438 | ((looking-at "\\$") |
| 439 | (forward-char 1) | 439 | (forward-char 1) |
| 440 | (setq ex-token-type 'end)) | 440 | (setq ex-token-type 'end)) |
| @@ -912,7 +912,7 @@ reversed." | |||
| 912 | (progn | 912 | (progn |
| 913 | (set-mark (point)) | 913 | (set-mark (point)) |
| 914 | (re-search-forward "[0-9][0-9]*") | 914 | (re-search-forward "[0-9][0-9]*") |
| 915 | (setq ex-count (string-to-int (buffer-substring (point) (mark t)))) | 915 | (setq ex-count (string-to-number (buffer-substring (point) (mark t)))) |
| 916 | (skip-chars-forward " \t"))) | 916 | (skip-chars-forward " \t"))) |
| 917 | (if (looking-at "[pl#]") | 917 | (if (looking-at "[pl#]") |
| 918 | (progn | 918 | (progn |
| @@ -938,7 +938,7 @@ reversed." | |||
| 938 | (progn | 938 | (progn |
| 939 | (set-mark (point)) | 939 | (set-mark (point)) |
| 940 | (re-search-forward "[0-9][0-9]*") | 940 | (re-search-forward "[0-9][0-9]*") |
| 941 | (setq ex-count (string-to-int (buffer-substring (point) (mark t)))) | 941 | (setq ex-count (string-to-number (buffer-substring (point) (mark t)))) |
| 942 | (skip-chars-forward " \t"))) | 942 | (skip-chars-forward " \t"))) |
| 943 | (if (looking-at "[pl#]") | 943 | (if (looking-at "[pl#]") |
| 944 | (progn | 944 | (progn |
| @@ -1490,7 +1490,7 @@ reversed." | |||
| 1490 | (progn | 1490 | (progn |
| 1491 | (ex-edit t) | 1491 | (ex-edit t) |
| 1492 | (throw 'ex-edit nil)) | 1492 | (throw 'ex-edit nil)) |
| 1493 | (setq count (string-to-int ex-file)) | 1493 | (setq count (string-to-number ex-file)) |
| 1494 | (if (= count 0) (setq count 1)) | 1494 | (if (= count 0) (setq count 1)) |
| 1495 | (if (< count 0) (error "Usage: `next <count>' (count >= 0)")))) | 1495 | (if (< count 0) (error "Usage: `next <count>' (count >= 0)")))) |
| 1496 | (setq count 1)) | 1496 | (setq count 1)) |
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el index e5074b95838..a74ca05b3df 100644 --- a/lisp/emulation/viper-keym.el +++ b/lisp/emulation/viper-keym.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-keym.el --- Viper keymaps | 1 | ;;; viper-keym.el --- Viper keymaps |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
diff --git a/lisp/emulation/viper-macs.el b/lisp/emulation/viper-macs.el index df0e37e7c25..9fd73efb9b9 100644 --- a/lisp/emulation/viper-macs.el +++ b/lisp/emulation/viper-macs.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-macs.el --- functions implementing keyboard macros for Viper | 1 | ;;; viper-macs.el --- functions implementing keyboard macros for Viper |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 527a04084e2..497e4a1e559 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-util.el --- Utilities used by viper.el | 1 | ;;; viper-util.el --- Utilities used by viper.el |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 99, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 99, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index be5a8e3467a..e3582f2165a 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; and a venomous VI PERil. | 3 | ;; and a venomous VI PERil. |
| 4 | ;; Viper Is also a Package for Emacs Rebels. | 4 | ;; Viper Is also a Package for Emacs Rebels. |
| 5 | 5 | ||
| 6 | ;; Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 05 Free Software Foundation, Inc. | 6 | ;; Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 7 | 7 | ||
| 8 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 8 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 9 | ;; Keywords: emulations | 9 | ;; Keywords: emulations |
diff --git a/lisp/faces.el b/lisp/faces.el index b6bc8e88f64..b1b9040dba7 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1014,7 +1014,7 @@ name of the attribute for prompting. Value is the new attribute value." | |||
| 1014 | ((member new-value '("unspecified-fg" "unspecified-bg")) | 1014 | ((member new-value '("unspecified-fg" "unspecified-bg")) |
| 1015 | new-value) | 1015 | new-value) |
| 1016 | (t | 1016 | (t |
| 1017 | (string-to-int new-value))))) | 1017 | (string-to-number new-value))))) |
| 1018 | 1018 | ||
| 1019 | 1019 | ||
| 1020 | (defun read-face-attribute (face attribute &optional frame) | 1020 | (defun read-face-attribute (face attribute &optional frame) |
| @@ -1184,6 +1184,7 @@ arg, prompt for a regular expression." | |||
| 1184 | (save-excursion | 1184 | (save-excursion |
| 1185 | (save-match-data | 1185 | (save-match-data |
| 1186 | (search-backward face-name) | 1186 | (search-backward face-name) |
| 1187 | (setq help-xref-stack-item `(list-faces-display ,regexp)) | ||
| 1187 | (help-xref-button 0 'help-customize-face face))) | 1188 | (help-xref-button 0 'help-customize-face face))) |
| 1188 | (let ((beg (point)) | 1189 | (let ((beg (point)) |
| 1189 | (line-beg (line-beginning-position))) | 1190 | (line-beg (line-beginning-position))) |
diff --git a/lisp/files.el b/lisp/files.el index da2090d7752..302cc793578 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2988,7 +2988,7 @@ Uses the free variable `backup-extract-version-start', whose value should be | |||
| 2988 | the index in the name where the version number begins." | 2988 | the index in the name where the version number begins." |
| 2989 | (if (and (string-match "[0-9]+~$" fn backup-extract-version-start) | 2989 | (if (and (string-match "[0-9]+~$" fn backup-extract-version-start) |
| 2990 | (= (match-beginning 0) backup-extract-version-start)) | 2990 | (= (match-beginning 0) backup-extract-version-start)) |
| 2991 | (string-to-int (substring fn backup-extract-version-start -1)) | 2991 | (string-to-number (substring fn backup-extract-version-start -1)) |
| 2992 | 0)) | 2992 | 0)) |
| 2993 | 2993 | ||
| 2994 | ;; I believe there is no need to alter this behavior for VMS; | 2994 | ;; I believe there is no need to alter this behavior for VMS; |
| @@ -4552,7 +4552,7 @@ normally equivalent short `-D' option is just passed on to | |||
| 4552 | (if (string-match "ls (.*utils) \\([0-9.]*\\)$" version-out) | 4552 | (if (string-match "ls (.*utils) \\([0-9.]*\\)$" version-out) |
| 4553 | (let* ((version (match-string 1 version-out)) | 4553 | (let* ((version (match-string 1 version-out)) |
| 4554 | (split (split-string version "[.]")) | 4554 | (split (split-string version "[.]")) |
| 4555 | (numbers (mapcar 'string-to-int split)) | 4555 | (numbers (mapcar 'string-to-number split)) |
| 4556 | (min '(5 2 1)) | 4556 | (min '(5 2 1)) |
| 4557 | comparison) | 4557 | comparison) |
| 4558 | (while (and (not comparison) (or numbers min)) | 4558 | (while (and (not comparison) (or numbers min)) |
diff --git a/lisp/finder.el b/lisp/finder.el index 7a886e5480f..fb327524793 100644 --- a/lisp/finder.el +++ b/lisp/finder.el | |||
| @@ -182,7 +182,7 @@ no arguments compiles from `load-path'." | |||
| 182 | ;;; End: | 182 | ;;; End: |
| 183 | ;;; " (file-name-nondirectory generated-finder-keywords-file) " ends here\n") | 183 | ;;; " (file-name-nondirectory generated-finder-keywords-file) " ends here\n") |
| 184 | (kill-buffer "*finder-scratch*") | 184 | (kill-buffer "*finder-scratch*") |
| 185 | (eval-current-buffer) ;; So we get the new keyword list immediately | 185 | (eval-buffer) ;; So we get the new keyword list immediately |
| 186 | (basic-save-buffer)))) | 186 | (basic-save-buffer)))) |
| 187 | 187 | ||
| 188 | (defun finder-compile-keywords-make-dist () | 188 | (defun finder-compile-keywords-make-dist () |
diff --git a/lisp/follow.el b/lisp/follow.el index 61517a68ff1..74dc12f8881 100644 --- a/lisp/follow.el +++ b/lisp/follow.el | |||
| @@ -394,7 +394,6 @@ Used by `follow-window-size-change'.") | |||
| 394 | "Anders Lindgren <andersl@andersl.com>" | 394 | "Anders Lindgren <andersl@andersl.com>" |
| 395 | "follow.el" | 395 | "follow.el" |
| 396 | '(post-command-hook | 396 | '(post-command-hook |
| 397 | post-command-idle-hook | ||
| 398 | pre-command-hook | 397 | pre-command-hook |
| 399 | window-size-change-functions | 398 | window-size-change-functions |
| 400 | window-scroll-functions | 399 | window-scroll-functions |
| @@ -683,9 +682,6 @@ Keys specific to Follow mode: | |||
| 683 | (set 'scroll-on-clipped-lines nil)) | 682 | (set 'scroll-on-clipped-lines nil)) |
| 684 | (force-mode-line-update) | 683 | (force-mode-line-update) |
| 685 | (add-hook 'post-command-hook 'follow-post-command-hook t) | 684 | (add-hook 'post-command-hook 'follow-post-command-hook t) |
| 686 | (if (boundp 'post-command-idle-hook) | ||
| 687 | (add-hook 'post-command-idle-hook | ||
| 688 | 'follow-avoid-tail-recenter t)) | ||
| 689 | (run-hooks 'follow-mode-hook)) | 685 | (run-hooks 'follow-mode-hook)) |
| 690 | 686 | ||
| 691 | ((and (not follow-mode) follow-mode-orig) ; Off | 687 | ((and (not follow-mode) follow-mode-orig) ; Off |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 444ca80f94c..86abc2a5f12 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -1967,109 +1967,112 @@ This function could be MATCHER in a MATCH-ANCHORED `font-lock-keywords' item." | |||
| 1967 | 1967 | ||
| 1968 | (defconst lisp-font-lock-keywords-1 | 1968 | (defconst lisp-font-lock-keywords-1 |
| 1969 | (eval-when-compile | 1969 | (eval-when-compile |
| 1970 | (list | 1970 | `(;; Definitions. |
| 1971 | ;; | 1971 | (,(concat "(\\(def\\(" |
| 1972 | ;; Definitions. | 1972 | ;; Function declarations. |
| 1973 | (list (concat "(\\(def\\(" | 1973 | "\\(advice\\|varalias\\|alias\\|generic\\|macro\\*?\\|method\\|" |
| 1974 | ;; Function declarations. | 1974 | "setf\\|subst\\*?\\|un\\*?\\|" |
| 1975 | "\\(advice\\|varalias\\|alias\\|generic\\|macro\\*?\\|method\\|" | 1975 | "ine-\\(condition\\|\\(?:derived\\|minor\\|generic\\)-mode\\|" |
| 1976 | "setf\\|subst\\*?\\|un\\*?\\|" | 1976 | "method-combination\\|setf-expander\\|skeleton\\|widget\\|" |
| 1977 | "ine-\\(condition\\|\\(?:derived\\|minor\\|generic\\)-mode\\|" | 1977 | "function\\|\\(compiler\\|modify\\|symbol\\)-macro\\)\\)\\|" |
| 1978 | "method-combination\\|setf-expander\\|skeleton\\|widget\\|" | 1978 | ;; Variable declarations. |
| 1979 | "function\\|\\(compiler\\|modify\\|symbol\\)-macro\\)\\)\\|" | 1979 | "\\(const\\(ant\\)?\\|custom\\|face\\|parameter\\|var\\)\\|" |
| 1980 | ;; Variable declarations. | 1980 | ;; Structure declarations. |
| 1981 | "\\(const\\(ant\\)?\\|custom\\|face\\|parameter\\|var\\)\\|" | 1981 | "\\(class\\|group\\|theme\\|package\\|struct\\|type\\)" |
| 1982 | ;; Structure declarations. | 1982 | "\\)\\)\\>" |
| 1983 | "\\(class\\|group\\|theme\\|package\\|struct\\|type\\)" | 1983 | ;; Any whitespace and defined object. |
| 1984 | "\\)\\)\\>" | 1984 | "[ \t'\(]*" |
| 1985 | ;; Any whitespace and defined object. | 1985 | "\\(setf[ \t]+\\sw+)\\|\\sw+\\)?") |
| 1986 | "[ \t'\(]*" | 1986 | (1 font-lock-keyword-face) |
| 1987 | "\\(setf[ \t]+\\sw+)\\|\\sw+\\)?") | 1987 | (9 (cond ((match-beginning 3) font-lock-function-name-face) |
| 1988 | '(1 font-lock-keyword-face) | 1988 | ((match-beginning 6) font-lock-variable-name-face) |
| 1989 | '(9 (cond ((match-beginning 3) font-lock-function-name-face) | 1989 | (t font-lock-type-face)) |
| 1990 | ((match-beginning 6) font-lock-variable-name-face) | 1990 | nil t)) |
| 1991 | (t font-lock-type-face)) | 1991 | ;; Emacs Lisp autoload cookies. |
| 1992 | nil t)) | 1992 | ("^;;;###\\(autoload\\)" 1 font-lock-warning-face prepend) |
| 1993 | ;; | 1993 | ;; Regexp negated char group. |
| 1994 | ;; Emacs Lisp autoload cookies. | 1994 | ("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend))) |
| 1995 | '("^;;;###\\(autoload\\)" 1 font-lock-warning-face prepend) | ||
| 1996 | )) | ||
| 1997 | "Subdued level highlighting for Lisp modes.") | 1995 | "Subdued level highlighting for Lisp modes.") |
| 1998 | 1996 | ||
| 1999 | (defconst lisp-font-lock-keywords-2 | 1997 | (defconst lisp-font-lock-keywords-2 |
| 2000 | (append lisp-font-lock-keywords-1 | 1998 | (append lisp-font-lock-keywords-1 |
| 2001 | (eval-when-compile | 1999 | (eval-when-compile |
| 2002 | (list | 2000 | `(;; Control structures. Emacs Lisp forms. |
| 2003 | ;; | 2001 | (,(concat |
| 2004 | ;; Control structures. Emacs Lisp forms. | 2002 | "(" (regexp-opt |
| 2005 | (cons (concat | 2003 | '("cond" "if" "while" "let" "let*" |
| 2006 | "(" (regexp-opt | 2004 | "prog" "progn" "progv" "prog1" "prog2" "prog*" |
| 2007 | '("cond" "if" "while" "let" "let*" | 2005 | "inline" "lambda" "save-restriction" "save-excursion" |
| 2008 | "prog" "progn" "progv" "prog1" "prog2" "prog*" | 2006 | "save-window-excursion" "save-selected-window" |
| 2009 | "inline" "lambda" "save-restriction" "save-excursion" | 2007 | "save-match-data" "save-current-buffer" "unwind-protect" |
| 2010 | "save-window-excursion" "save-selected-window" | 2008 | "condition-case" "track-mouse" |
| 2011 | "save-match-data" "save-current-buffer" "unwind-protect" | 2009 | "eval-after-load" "eval-and-compile" "eval-when-compile" |
| 2012 | "condition-case" "track-mouse" | 2010 | "eval-when" |
| 2013 | "eval-after-load" "eval-and-compile" "eval-when-compile" | 2011 | "with-category-table" |
| 2014 | "eval-when" | 2012 | "with-current-buffer" "with-electric-help" |
| 2015 | "with-category-table" | 2013 | "with-local-quit" "with-no-warnings" |
| 2016 | "with-current-buffer" "with-electric-help" | 2014 | "with-output-to-string" "with-output-to-temp-buffer" |
| 2017 | "with-local-quit" "with-no-warnings" | 2015 | "with-selected-window" "with-selected-frame" "with-syntax-table" |
| 2018 | "with-output-to-string" "with-output-to-temp-buffer" | 2016 | "with-temp-buffer" "with-temp-file" "with-temp-message" |
| 2019 | "with-selected-window" "with-selected-frame" "with-syntax-table" | 2017 | "with-timeout" "with-timeout-handler") t) |
| 2020 | "with-temp-buffer" "with-temp-file" "with-temp-message" | 2018 | "\\>") |
| 2021 | "with-timeout" "with-timeout-handler") t) | 2019 | . 1) |
| 2022 | "\\>") | 2020 | ;; Control structures. Common Lisp forms. |
| 2023 | 1) | 2021 | (,(concat |
| 2024 | ;; | 2022 | "(" (regexp-opt |
| 2025 | ;; Control structures. Common Lisp forms. | 2023 | '("when" "unless" "case" "ecase" "typecase" "etypecase" |
| 2026 | (cons (concat | 2024 | "ccase" "ctypecase" "handler-case" "handler-bind" |
| 2027 | "(" (regexp-opt | 2025 | "restart-bind" "restart-case" "in-package" |
| 2028 | '("when" "unless" "case" "ecase" "typecase" "etypecase" | 2026 | "break" "ignore-errors" |
| 2029 | "ccase" "ctypecase" "handler-case" "handler-bind" | 2027 | "loop" "do" "do*" "dotimes" "dolist" "the" "locally" |
| 2030 | "restart-bind" "restart-case" "in-package" | 2028 | "proclaim" "declaim" "declare" "symbol-macrolet" |
| 2031 | "break" "ignore-errors" | 2029 | "lexical-let" "lexical-let*" "flet" "labels" "compiler-let" |
| 2032 | "loop" "do" "do*" "dotimes" "dolist" "the" "locally" | 2030 | "destructuring-bind" "macrolet" "tagbody" "block" "go" |
| 2033 | "proclaim" "declaim" "declare" "symbol-macrolet" | 2031 | "multiple-value-bind" "multiple-value-prog1" |
| 2034 | "lexical-let" "lexical-let*" "flet" "labels" "compiler-let" | 2032 | "return" "return-from" |
| 2035 | "destructuring-bind" "macrolet" "tagbody" "block" "go" | 2033 | "with-accessors" "with-compilation-unit" |
| 2036 | "multiple-value-bind" "multiple-value-prog1" | 2034 | "with-condition-restarts" "with-hash-table-iterator" |
| 2037 | "return" "return-from" | 2035 | "with-input-from-string" "with-open-file" |
| 2038 | "with-accessors" "with-compilation-unit" | 2036 | "with-open-stream" "with-output-to-string" |
| 2039 | "with-condition-restarts" "with-hash-table-iterator" | 2037 | "with-package-iterator" "with-simple-restart" |
| 2040 | "with-input-from-string" "with-open-file" | 2038 | "with-slots" "with-standard-io-syntax") t) |
| 2041 | "with-open-stream" "with-output-to-string" | 2039 | "\\>") |
| 2042 | "with-package-iterator" "with-simple-restart" | 2040 | . 1) |
| 2043 | "with-slots" "with-standard-io-syntax") t) | 2041 | ;; Exit/Feature symbols as constants. |
| 2044 | "\\>") | 2042 | (,(concat "(\\(catch\\|throw\\|featurep\\|provide\\|require\\)\\>" |
| 2045 | 1) | 2043 | "[ \t']*\\(\\sw+\\)?") |
| 2046 | ;; | 2044 | (1 font-lock-keyword-face) |
| 2047 | ;; Exit/Feature symbols as constants. | 2045 | (2 font-lock-constant-face nil t)) |
| 2048 | (list (concat "(\\(catch\\|throw\\|featurep\\|provide\\|require\\)\\>" | 2046 | ;; Erroneous structures. |
| 2049 | "[ \t']*\\(\\sw+\\)?") | 2047 | ("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>" 1 font-lock-warning-face) |
| 2050 | '(1 font-lock-keyword-face) | 2048 | ;; Words inside \\[] tend to be for `substitute-command-keys'. |
| 2051 | '(2 font-lock-constant-face nil t)) | 2049 | ("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend) |
| 2052 | ;; | 2050 | ;; Words inside `' tend to be symbol names. |
| 2053 | ;; Erroneous structures. | 2051 | ("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend) |
| 2054 | '("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>" 1 font-lock-warning-face) | 2052 | ;; Constant values. |
| 2055 | ;; | 2053 | ("\\<:\\sw+\\>" 0 font-lock-builtin-face) |
| 2056 | ;; Words inside \\[] tend to be for `substitute-command-keys'. | 2054 | ;; ELisp and CLisp `&' keywords as types. |
| 2057 | '("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend) | 2055 | ("\\&\\sw+\\>" . font-lock-type-face) |
| 2058 | ;; | 2056 | ;; Make regexp grouping constructs bold, so they stand out, but only in strings. |
| 2059 | ;; Words inside `' tend to be symbol names. | 2057 | ((lambda (bound) |
| 2060 | '("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend) | 2058 | (if (re-search-forward "\\([\\][\\]\\)\\([(|)]\\)\\(\\?:\\)?" bound) |
| 2061 | ;; | 2059 | (let ((face (get-text-property (1- (point)) 'face))) |
| 2062 | ;; Constant values. | 2060 | (if (listp face) |
| 2063 | '("\\<:\\sw+\\>" 0 font-lock-builtin-face) | 2061 | (memq 'font-lock-string-face face) |
| 2064 | ;; | 2062 | (eq 'font-lock-string-face face))))) |
| 2065 | ;; ELisp and CLisp `&' keywords as types. | 2063 | (1 font-lock-comment-face prepend) ; Should we introduce a lowlight face for this? |
| 2066 | '("\\&\\sw+\\>" . font-lock-type-face) | 2064 | ; Ideally that would retain the color, dimmed 50%. |
| 2067 | ;; | 2065 | (2 'bold prepend) |
| 2066 | (3 font-lock-type-face prepend t)) | ||
| 2067 | ;; Underline innermost grouping, so that you can more easily see what belongs together. | ||
| 2068 | ;; 2005-05-12: Font-lock can go into an unbreakable endless loop on this -- something's broken. | ||
| 2069 | ;;("[\\][\\][(]\\(?:\\?:\\)?\\(\\(?:[^\\\"]+\\|[\\]\\(?:[^\\]\\|[\\][^(]\\)\\)+?\\)[\\][\\][)]" | ||
| 2070 | ;;1 'underline prepend) | ||
| 2068 | ;;; This is too general -- rms. | 2071 | ;;; This is too general -- rms. |
| 2069 | ;;; A user complained that he has functions whose names start with `do' | 2072 | ;;; A user complained that he has functions whose names start with `do' |
| 2070 | ;;; and that they get the wrong color. | 2073 | ;;; and that they get the wrong color. |
| 2071 | ;;; ;; CL `with-' and `do-' constructs | 2074 | ;;; ;; CL `with-' and `do-' constructs |
| 2072 | ;;; '("(\\(\\(do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)" 1 font-lock-keyword-face) | 2075 | ;;; ("(\\(\\(do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)" 1 font-lock-keyword-face) |
| 2073 | ))) | 2076 | ))) |
| 2074 | "Gaudy level highlighting for Lisp modes.") | 2077 | "Gaudy level highlighting for Lisp modes.") |
| 2075 | 2078 | ||
diff --git a/lisp/forms.el b/lisp/forms.el index aa0582c918a..61d2441a9ea 100644 --- a/lisp/forms.el +++ b/lisp/forms.el | |||
| @@ -63,7 +63,7 @@ | |||
| 63 | ;; Automatic mode switching is supported if you specify | 63 | ;; Automatic mode switching is supported if you specify |
| 64 | ;; "-*- forms -*-" in the first line of the control file. | 64 | ;; "-*- forms -*-" in the first line of the control file. |
| 65 | ;; | 65 | ;; |
| 66 | ;; The control file is visited, evaluated using `eval-current-buffer', | 66 | ;; The control file is visited, evaluated using `eval-buffer', |
| 67 | ;; and should set at least the following variables: | 67 | ;; and should set at least the following variables: |
| 68 | ;; | 68 | ;; |
| 69 | ;; forms-file [string] | 69 | ;; forms-file [string] |
| @@ -519,7 +519,7 @@ Commands: Equivalent keys in read-only mode: | |||
| 519 | (yes-or-no-p | 519 | (yes-or-no-p |
| 520 | (concat "Evaluate lisp code in buffer " | 520 | (concat "Evaluate lisp code in buffer " |
| 521 | (buffer-name) " to display forms "))) | 521 | (buffer-name) " to display forms "))) |
| 522 | (eval-current-buffer) | 522 | (eval-buffer) |
| 523 | (error "`enable-local-eval' inhibits buffer evaluation")) | 523 | (error "`enable-local-eval' inhibits buffer evaluation")) |
| 524 | 524 | ||
| 525 | ;; Check if the mandatory variables make sense. | 525 | ;; Check if the mandatory variables make sense. |
diff --git a/lisp/frame.el b/lisp/frame.el index 25cc5aa38c8..ec98089cc0e 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1278,7 +1278,7 @@ left untouched. FRAME nil or omitted means use the selected frame." | |||
| 1278 | This is done in the face `trailing-whitespace'." | 1278 | This is done in the face `trailing-whitespace'." |
| 1279 | :tag "Highlight trailing whitespace." | 1279 | :tag "Highlight trailing whitespace." |
| 1280 | :type 'boolean | 1280 | :type 'boolean |
| 1281 | :group 'font-lock) | 1281 | :group 'whitespace-faces) |
| 1282 | 1282 | ||
| 1283 | 1283 | ||
| 1284 | 1284 | ||
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index e0fb811f88b..9ba06d42397 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el | |||
| @@ -492,7 +492,7 @@ like an INI file. You can add this hook to `find-file-hook'." | |||
| 492 | "MD" "md" "Md" | 492 | "MD" "md" "Md" |
| 493 | "PATH" "path" "Path" | 493 | "PATH" "path" "Path" |
| 494 | "PAUSE" "pause" "Pause" | 494 | "PAUSE" "pause" "Pause" |
| 495 | "PROMPT" "prompt" "Prompt" | 495 | "PROMPT" "prompt" "Prompt" |
| 496 | "RD" "rd" "Rd" | 496 | "RD" "rd" "Rd" |
| 497 | "REN" "ren" "Ren" | 497 | "REN" "ren" "Ren" |
| 498 | "SET" "set" "Set" | 498 | "SET" "set" "Set" |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9f3a114adbe..14450ee3a14 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2005-05-16 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-art.el: Don't autoload mail-extract-address-components. | ||
| 4 | |||
| 5 | * gnus.el: Use eval-and-compile to autoload message-y-or-n-p. | ||
| 6 | |||
| 7 | * nndb.el: Don't declare the nndb back end two or more times; don't | ||
| 8 | autoload news-reply-mode, news-setup, cancel-timer and telnet. | ||
| 9 | |||
| 10 | * nntp.el: Autoload format-spec instead of format; use | ||
| 11 | eval-and-compile to evaluate autoload forms. | ||
| 12 | |||
| 13 | * spam-report.el (spam-report-process-queue): Use gnus-point-at-eol. | ||
| 14 | |||
| 1 | 2005-04-28 Katsumi Yamaoka <yamaoka@jpl.org> | 15 | 2005-04-28 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 16 | ||
| 3 | * gnus-art.el (article-date-ut): Support converting date in | 17 | * gnus-art.el (article-date-ut): Support converting date in |
| @@ -345,9 +359,6 @@ | |||
| 345 | 359 | ||
| 346 | * gnus-async.el: Ditto. | 360 | * gnus-async.el: Ditto. |
| 347 | 361 | ||
| 348 | * dgnushack.el: No need to ignore `run-with-idle-timer', XEmacs | ||
| 349 | has this function now. | ||
| 350 | |||
| 351 | 2005-03-16 Lute Kamstra <lute@gnu.org> | 362 | 2005-03-16 Lute Kamstra <lute@gnu.org> |
| 352 | 363 | ||
| 353 | * message.el (message-make-date): Require parse-time. | 364 | * message.el (message-make-date): Require parse-time. |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 55aaed15d90..b1a51d65edd 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -481,9 +481,6 @@ be fed to `format-time-string'." | |||
| 481 | :link '(custom-manual "(gnus)Article Date") | 481 | :link '(custom-manual "(gnus)Article Date") |
| 482 | :group 'gnus-article-washing) | 482 | :group 'gnus-article-washing) |
| 483 | 483 | ||
| 484 | (eval-and-compile | ||
| 485 | (autoload 'mail-extract-address-components "mail-extr")) | ||
| 486 | |||
| 487 | (defcustom gnus-save-all-headers t | 484 | (defcustom gnus-save-all-headers t |
| 488 | "*If non-nil, don't remove any headers before saving." | 485 | "*If non-nil, don't remove any headers before saving." |
| 489 | :group 'gnus-article-saving | 486 | :group 'gnus-article-saving |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 3112a07cb2e..98c41de45e5 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; gnus.el --- a newsreader for GNU Emacs | 1 | ;;; gnus.el --- a newsreader for GNU Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996, 1997, | 3 | ;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996, 1997, |
| 4 | ;; 1998, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | 4 | ;; 1998, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> | 6 | ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> |
| 7 | ;; Lars Magne Ingebrigtsen <larsi@gnus.org> | 7 | ;; Lars Magne Ingebrigtsen <larsi@gnus.org> |
| @@ -34,7 +34,6 @@ | |||
| 34 | (require 'wid-edit) | 34 | (require 'wid-edit) |
| 35 | (require 'mm-util) | 35 | (require 'mm-util) |
| 36 | (require 'nnheader) | 36 | (require 'nnheader) |
| 37 | (autoload 'message-y-or-n-p "message" nil nil 'macro) | ||
| 38 | 37 | ||
| 39 | (defgroup gnus nil | 38 | (defgroup gnus nil |
| 40 | "The coffee-brewing, all singing, all dancing, kitchen sink newsreader." | 39 | "The coffee-brewing, all singing, all dancing, kitchen sink newsreader." |
| @@ -3925,6 +3924,9 @@ If NEWSGROUP is nil, return the global kill file name instead." | |||
| 3925 | (setq valids (cdr valids))) | 3924 | (setq valids (cdr valids))) |
| 3926 | outs)) | 3925 | outs)) |
| 3927 | 3926 | ||
| 3927 | (eval-and-compile | ||
| 3928 | (autoload 'message-y-or-n-p "message" nil nil 'macro)) | ||
| 3929 | |||
| 3928 | (defun gnus-read-group (prompt &optional default) | 3930 | (defun gnus-read-group (prompt &optional default) |
| 3929 | "Prompt the user for a group name. | 3931 | "Prompt the user for a group name. |
| 3930 | Disallow invalid group names." | 3932 | Disallow invalid group names." |
diff --git a/lisp/gnus/nndb.el b/lisp/gnus/nndb.el index bd8523f11b2..6aaf57c81e1 100644 --- a/lisp/gnus/nndb.el +++ b/lisp/gnus/nndb.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; nndb.el --- nndb access for Gnus | 1 | ;;; nndb.el --- nndb access for Gnus |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1998, 2000, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 1998, 2000, 2003, 2004, 2005 |
| 4 | ;; Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> | 6 | ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> |
| 6 | ;; Kai Grossjohann <grossjohann@ls6.informatik.uni-dortmund.de> | 7 | ;; Kai Grossjohann <grossjohann@ls6.informatik.uni-dortmund.de> |
| @@ -50,7 +51,9 @@ | |||
| 50 | ;;- | 51 | ;;- |
| 51 | ;; Register nndb with known select methods. | 52 | ;; Register nndb with known select methods. |
| 52 | 53 | ||
| 53 | (gnus-declare-backend "nndb" 'mail 'respool 'address 'prompt-address) | 54 | (require 'gnus-start) |
| 55 | (unless (assoc "nndb" gnus-valid-select-methods) | ||
| 56 | (gnus-declare-backend "nndb" 'mail 'respool 'address 'prompt-address)) | ||
| 54 | 57 | ||
| 55 | ;;; Code: | 58 | ;;; Code: |
| 56 | 59 | ||
| @@ -59,14 +62,6 @@ | |||
| 59 | (require 'nntp) | 62 | (require 'nntp) |
| 60 | (eval-when-compile (require 'cl)) | 63 | (eval-when-compile (require 'cl)) |
| 61 | 64 | ||
| 62 | (eval-and-compile | ||
| 63 | (autoload 'news-setup "rnewspost") | ||
| 64 | (autoload 'news-reply-mode "rnewspost") | ||
| 65 | (autoload 'cancel-timer "timer") | ||
| 66 | (autoload 'telnet "telnet" nil t) | ||
| 67 | (autoload 'telnet-send-input "telnet" nil t) | ||
| 68 | (autoload 'gnus-declare-backend "gnus-start")) | ||
| 69 | |||
| 70 | ;; Declare nndb as derived from nntp | 65 | ;; Declare nndb as derived from nntp |
| 71 | 66 | ||
| 72 | (nnoo-declare nndb nntp) | 67 | (nnoo-declare nndb nntp) |
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 8a10600fcb8..ab85ad25931 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | ;;; nntp.el --- nntp access for Gnus | 1 | ;;; nntp.el --- nntp access for Gnus |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1987, 1988, 1989, 1990, 1992, 1993, 1994, 1995, 1996, | 3 | ;; Copyright (C) 1987, 1988, 1989, 1990, 1992, 1993, 1994, 1995, 1996, |
| 4 | ;; 1997, 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | 4 | ;; 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005 |
| 5 | ;; Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> | 7 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 7 | ;; Keywords: news | 8 | ;; Keywords: news |
| @@ -1147,9 +1148,10 @@ password contained in '~/.nntp-authinfo'." | |||
| 1147 | (defun nntp-open-network-stream (buffer) | 1148 | (defun nntp-open-network-stream (buffer) |
| 1148 | (open-network-stream "nntpd" buffer nntp-address nntp-port-number)) | 1149 | (open-network-stream "nntpd" buffer nntp-address nntp-port-number)) |
| 1149 | 1150 | ||
| 1150 | (autoload 'format-spec "format") | 1151 | (eval-and-compile |
| 1151 | (autoload 'format-spec-make "format") | 1152 | (autoload 'format-spec "format-spec") |
| 1152 | (autoload 'open-tls-stream "tls") | 1153 | (autoload 'format-spec-make "format-spec") |
| 1154 | (autoload 'open-tls-stream "tls")) | ||
| 1153 | 1155 | ||
| 1154 | (defun nntp-open-ssl-stream (buffer) | 1156 | (defun nntp-open-ssl-stream (buffer) |
| 1155 | (let* ((process-connection-type nil) | 1157 | (let* ((process-connection-type nil) |
diff --git a/lisp/gnus/spam-report.el b/lisp/gnus/spam-report.el index b8283ffaaa8..59119dc5438 100644 --- a/lisp/gnus/spam-report.el +++ b/lisp/gnus/spam-report.el | |||
| @@ -159,7 +159,7 @@ symbol `ask', query before flushing the queue file." | |||
| 159 | (goto-char (point-min)) | 159 | (goto-char (point-min)) |
| 160 | (while (and (not (eobp)) | 160 | (while (and (not (eobp)) |
| 161 | (re-search-forward | 161 | (re-search-forward |
| 162 | "http://\\([^/]+\\)\\(/.*\\) *$" (point-at-eol) t)) | 162 | "http://\\([^/]+\\)\\(/.*\\) *$" (gnus-point-at-eol) t)) |
| 163 | (funcall spam-report-url-ping-function (match-string 1) (match-string 2)) | 163 | (funcall spam-report-url-ping-function (match-string 1) (match-string 2)) |
| 164 | (forward-line 1)) | 164 | (forward-line 1)) |
| 165 | (if (or (eq keep nil) | 165 | (if (or (eq keep nil) |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 5e8fae01976..bbf929e3743 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -542,7 +542,9 @@ it is displayed along with the global value." | |||
| 542 | (terpri) | 542 | (terpri) |
| 543 | (let ((from (point))) | 543 | (let ((from (point))) |
| 544 | (pp val) | 544 | (pp val) |
| 545 | (help-xref-on-pp from (point)) | 545 | ;; Hyperlinks in variable's value are quite frequently |
| 546 | ;; inappropriate e.g C-h v <RET> features <RET> | ||
| 547 | ;; (help-xref-on-pp from (point)) | ||
| 546 | (if (< (point) (+ from 20)) | 548 | (if (< (point) (+ from 20)) |
| 547 | (delete-region (1- from) from))))) | 549 | (delete-region (1- from) from))))) |
| 548 | (terpri) | 550 | (terpri) |
| @@ -565,7 +567,8 @@ it is displayed along with the global value." | |||
| 565 | ;; sensible size before prettyprinting. -- fx | 567 | ;; sensible size before prettyprinting. -- fx |
| 566 | (let ((from (point))) | 568 | (let ((from (point))) |
| 567 | (pp val) | 569 | (pp val) |
| 568 | (help-xref-on-pp from (point)) | 570 | ;; See previous comment for this function. |
| 571 | ;; (help-xref-on-pp from (point)) | ||
| 569 | (if (< (point) (+ from 20)) | 572 | (if (< (point) (+ from 20)) |
| 570 | (delete-region (1- from) from)))))) | 573 | (delete-region (1- from) from)))))) |
| 571 | (terpri)) | 574 | (terpri)) |
diff --git a/lisp/hexl.el b/lisp/hexl.el index 99bbda91c6c..35674e1d10a 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el | |||
| @@ -874,7 +874,7 @@ Embedded whitespace, dashes, and periods in the string are ignored." | |||
| 874 | (defun hexl-insert-decimal-char (arg) | 874 | (defun hexl-insert-decimal-char (arg) |
| 875 | "Insert a character given by its decimal code ARG times at point." | 875 | "Insert a character given by its decimal code ARG times at point." |
| 876 | (interactive "p") | 876 | (interactive "p") |
| 877 | (let ((num (string-to-int (read-string "Decimal Number: ")))) | 877 | (let ((num (string-to-number (read-string "Decimal Number: ")))) |
| 878 | (if (< num 0) | 878 | (if (< num 0) |
| 879 | (error "Decimal number out of range") | 879 | (error "Decimal number out of range") |
| 880 | (hexl-insert-multibyte-char num arg)))) | 880 | (hexl-insert-multibyte-char num arg)))) |
diff --git a/lisp/ido.el b/lisp/ido.el index d7c0c8aa9ea..24b8ba34b75 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -2267,31 +2267,41 @@ If no merge has yet taken place, toggle automatic merging option." | |||
| 2267 | 2267 | ||
| 2268 | (defun ido-magic-forward-char () | 2268 | (defun ido-magic-forward-char () |
| 2269 | "Move forward in user input or perform magic action. | 2269 | "Move forward in user input or perform magic action. |
| 2270 | If no user input is present, perform magic actions: | 2270 | If no user input is present or at end of input, perform magic actions: |
| 2271 | C-x C-f C-f fallback to non-ido find-file. | 2271 | C-x C-b ... C-f switch to ido-find-file. |
| 2272 | C-x C-d C-f fallback to non-ido brief dired. | 2272 | C-x C-f ... C-f fallback to non-ido find-file. |
| 2273 | C-x d C-f fallback to non-ido dired." | 2273 | C-x C-d ... C-f fallback to non-ido brief dired. |
| 2274 | C-x d ... C-f fallback to non-ido dired." | ||
| 2274 | (interactive) | 2275 | (interactive) |
| 2275 | (cond | 2276 | (cond |
| 2276 | ((not (eobp)) | 2277 | ((not (eobp)) |
| 2277 | (forward-char 1)) | 2278 | (forward-char 1)) |
| 2278 | ((and (= (length ido-text) 0) | 2279 | ((memq ido-cur-item '(file dir)) |
| 2279 | (memq ido-cur-item '(file dir))) | 2280 | (ido-fallback-command)) |
| 2280 | (ido-fallback-command)))) | 2281 | (ido-context-switch-command |
| 2282 | (call-interactively ido-context-switch-command)) | ||
| 2283 | ((eq ido-cur-item 'buffer) | ||
| 2284 | (ido-enter-find-file)))) | ||
| 2281 | 2285 | ||
| 2282 | ;;; Magic C-b | 2286 | ;;; Magic C-b |
| 2283 | 2287 | ||
| 2284 | (defun ido-magic-backward-char () | 2288 | (defun ido-magic-backward-char () |
| 2285 | "Move backward in user input or perform magic action. | 2289 | "Move backward in user input or perform magic action. |
| 2286 | If no user input is present, perform magic actions: | 2290 | If no user input is present, or at start of input, perform magic actions: |
| 2291 | C-x C-f C-b switch to ido-switch-buffer. | ||
| 2292 | C-x C-d C-b switch to ido-switch-buffer. | ||
| 2293 | C-x d C-b switch to ido-switch-buffer. | ||
| 2287 | C-x C-b C-b fallback to non-ido switch-to-buffer." | 2294 | C-x C-b C-b fallback to non-ido switch-to-buffer." |
| 2288 | (interactive) | 2295 | (interactive) |
| 2289 | (cond | 2296 | (cond |
| 2290 | ((> (length ido-text) 0) | 2297 | ((> (point) (minibuffer-prompt-end)) |
| 2291 | (if (> (point) (minibuffer-prompt-end)) | 2298 | (forward-char -1)) |
| 2292 | (forward-char -1))) | ||
| 2293 | ((eq ido-cur-item 'buffer) | 2299 | ((eq ido-cur-item 'buffer) |
| 2294 | (ido-fallback-command)))) | 2300 | (ido-fallback-command)) |
| 2301 | (ido-context-switch-command | ||
| 2302 | (call-interactively ido-context-switch-command)) | ||
| 2303 | (t | ||
| 2304 | (ido-enter-switch-buffer)))) | ||
| 2295 | 2305 | ||
| 2296 | ;;; Magic C-d | 2306 | ;;; Magic C-d |
| 2297 | 2307 | ||
diff --git a/lisp/imenu.el b/lisp/imenu.el index 831550bd7a3..92e00282ea0 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -119,7 +119,8 @@ If t, always use a popup menu, | |||
| 119 | If `on-mouse' use a popup menu when `imenu' was invoked with the mouse." | 119 | If `on-mouse' use a popup menu when `imenu' was invoked with the mouse." |
| 120 | :type '(choice (const :tag "On Mouse" on-mouse) | 120 | :type '(choice (const :tag "On Mouse" on-mouse) |
| 121 | (const :tag "Never" nil) | 121 | (const :tag "Never" nil) |
| 122 | (other :tag "Always" t))) | 122 | (other :tag "Always" t)) |
| 123 | :group 'imenu) | ||
| 123 | 124 | ||
| 124 | (defcustom imenu-eager-completion-buffer | 125 | (defcustom imenu-eager-completion-buffer |
| 125 | (not (eq imenu-always-use-completion-buffer-p 'never)) | 126 | (not (eq imenu-always-use-completion-buffer-p 'never)) |
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index c67030ac067..863cc99c4db 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -492,7 +492,7 @@ with \"fontset\" in `<CHARSET_REGISTRY> field." | |||
| 492 | name) | 492 | name) |
| 493 | (if (not (string= "fontset" charset)) | 493 | (if (not (string= "fontset" charset)) |
| 494 | fontset | 494 | fontset |
| 495 | (if (> (string-to-int size) 0) | 495 | (if (> (string-to-number size) 0) |
| 496 | (setq name (format "%s: %s-dot" nickname size)) | 496 | (setq name (format "%s: %s-dot" nickname size)) |
| 497 | (setq name nickname)) | 497 | (setq name nickname)) |
| 498 | (cond ((string-match "^medium$" weight) | 498 | (cond ((string-match "^medium$" weight) |
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index 100eb6076db..b34e26f74d4 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el | |||
| @@ -137,8 +137,9 @@ The value of this variable is used when JIT Lock mode is turned on." | |||
| 137 | 137 | ||
| 138 | (defcustom jit-lock-context-time 0.5 | 138 | (defcustom jit-lock-context-time 0.5 |
| 139 | "Idle time after which text is contextually refontified, if applicable." | 139 | "Idle time after which text is contextually refontified, if applicable." |
| 140 | :type '(number :tag "seconds")) | 140 | :type '(number :tag "seconds") |
| 141 | 141 | :group 'jit-lock) | |
| 142 | |||
| 142 | (defcustom jit-lock-defer-time nil ;; 0.25 | 143 | (defcustom jit-lock-defer-time nil ;; 0.25 |
| 143 | "Idle time after which deferred fontification should take place. | 144 | "Idle time after which deferred fontification should take place. |
| 144 | If nil, fontification is not deferred." | 145 | If nil, fontification is not deferred." |
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index 3d1b1951421..7c7265ac8c9 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -1835,7 +1835,7 @@ the counts." | |||
| 1835 | (setq blobbet (file-name-nondirectory blobby)) | 1835 | (setq blobbet (file-name-nondirectory blobby)) |
| 1836 | (if (string-match "^[0-9][0-9][0-9]-" blobbet) | 1836 | (if (string-match "^[0-9][0-9][0-9]-" blobbet) |
| 1837 | (let ((water-mark)) | 1837 | (let ((water-mark)) |
| 1838 | (setq water-mark (string-to-int (substring blobbet 0 3))) | 1838 | (setq water-mark (string-to-number (substring blobbet 0 3))) |
| 1839 | (if (> water-mark high-water) (setq high-water water-mark)))) | 1839 | (if (> water-mark high-water) (setq high-water water-mark)))) |
| 1840 | (setq q-cnt (1+ q-cnt))) | 1840 | (setq q-cnt (1+ q-cnt))) |
| 1841 | (t (setq q-oth (1+ q-oth))) | 1841 | (t (setq q-oth (1+ q-oth))) |
diff --git a/lisp/mail/mailalias.el b/lisp/mail/mailalias.el index b520841db3d..88f166707c3 100644 --- a/lisp/mail/mailalias.el +++ b/lisp/mail/mailalias.el | |||
| @@ -449,7 +449,7 @@ PATTERN is the string we want to complete." | |||
| 449 | (add-to-list 'mail-local-names | 449 | (add-to-list 'mail-local-names |
| 450 | (cons (match-string 1) | 450 | (cons (match-string 1) |
| 451 | (user-full-name | 451 | (user-full-name |
| 452 | (string-to-int (match-string 2)))))) | 452 | (string-to-number (match-string 2)))))) |
| 453 | (beginning-of-line 2)) | 453 | (beginning-of-line 2)) |
| 454 | (kill-buffer (current-buffer)))) | 454 | (kill-buffer (current-buffer)))) |
| 455 | (if (or (eq mail-names t) | 455 | (if (or (eq mail-names t) |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 8ba9408a76f..c68bb80d80f 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -1990,7 +1990,7 @@ is non-nil if the user has supplied the password interactively. | |||
| 1990 | header-end t) | 1990 | header-end t) |
| 1991 | (let ((beg (point)) | 1991 | (let ((beg (point)) |
| 1992 | (eol (progn (end-of-line) (point)))) | 1992 | (eol (progn (end-of-line) (point)))) |
| 1993 | (string-to-int (buffer-substring beg eol))))))) | 1993 | (string-to-number (buffer-substring beg eol))))))) |
| 1994 | (and size | 1994 | (and size |
| 1995 | (if (and (natnump size) | 1995 | (if (and (natnump size) |
| 1996 | (<= (+ header-end size) (point-max)) | 1996 | (<= (+ header-end size) (point-max)) |
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index a49b47453d8..f551239907d 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -375,17 +375,17 @@ Setting this variable has an effect only before reading a mail." | |||
| 375 | (cond ((re-search-forward "\\([^0-9:]\\)\\([0-3]?[0-9]\\)\\([- \t_]+\\)\\([adfjmnos][aceopu][bcglnprtvy]\\)" | 375 | (cond ((re-search-forward "\\([^0-9:]\\)\\([0-3]?[0-9]\\)\\([- \t_]+\\)\\([adfjmnos][aceopu][bcglnprtvy]\\)" |
| 376 | (save-excursion (end-of-line) (point)) t) | 376 | (save-excursion (end-of-line) (point)) t) |
| 377 | (format "%2d-%3s" | 377 | (format "%2d-%3s" |
| 378 | (string-to-int (buffer-substring | 378 | (string-to-number (buffer-substring |
| 379 | (match-beginning 2) | 379 | (match-beginning 2) |
| 380 | (match-end 2))) | 380 | (match-end 2))) |
| 381 | (buffer-substring | 381 | (buffer-substring |
| 382 | (match-beginning 4) (match-end 4)))) | 382 | (match-beginning 4) (match-end 4)))) |
| 383 | ((re-search-forward "\\([^a-z]\\)\\([adfjmnos][acepou][bcglnprtvy]\\)\\([-a-z \t_]*\\)\\([0-9][0-9]?\\)" | 383 | ((re-search-forward "\\([^a-z]\\)\\([adfjmnos][acepou][bcglnprtvy]\\)\\([-a-z \t_]*\\)\\([0-9][0-9]?\\)" |
| 384 | (save-excursion (end-of-line) (point)) t) | 384 | (save-excursion (end-of-line) (point)) t) |
| 385 | (format "%2d-%3s" | 385 | (format "%2d-%3s" |
| 386 | (string-to-int (buffer-substring | 386 | (string-to-number (buffer-substring |
| 387 | (match-beginning 4) | 387 | (match-beginning 4) |
| 388 | (match-end 4))) | 388 | (match-end 4))) |
| 389 | (buffer-substring | 389 | (buffer-substring |
| 390 | (match-beginning 2) (match-end 2)))) | 390 | (match-beginning 2) (match-end 2)))) |
| 391 | ((re-search-forward "\\(19\\|20\\)\\([0-9][0-9]\\)-\\([01][0-9]\\)-\\([0-3][0-9]\\)" | 391 | ((re-search-forward "\\(19\\|20\\)\\([0-9][0-9]\\)-\\([01][0-9]\\)-\\([0-3][0-9]\\)" |
| @@ -580,7 +580,7 @@ If N is negative, go backwards." | |||
| 580 | ;; Advance thru summary. | 580 | ;; Advance thru summary. |
| 581 | (forward-line (if forward 1 -1)) | 581 | (forward-line (if forward 1 -1)) |
| 582 | ;; Get msg number of this line. | 582 | ;; Get msg number of this line. |
| 583 | (setq i (string-to-int | 583 | (setq i (string-to-number |
| 584 | (buffer-substring (point) | 584 | (buffer-substring (point) |
| 585 | (min (point-max) (+ 6 (point)))))) | 585 | (min (point-max) (+ 6 (point)))))) |
| 586 | ;; See if that msg has desired subject. | 586 | ;; See if that msg has desired subject. |
| @@ -791,10 +791,10 @@ Search, the `unseen' attribute is restored.") | |||
| 791 | (forward-line -1)) | 791 | (forward-line -1)) |
| 792 | (beginning-of-line) | 792 | (beginning-of-line) |
| 793 | (skip-chars-forward " ") | 793 | (skip-chars-forward " ") |
| 794 | (let ((msg-num (string-to-int (buffer-substring | 794 | (let ((msg-num (string-to-number (buffer-substring |
| 795 | (point) | 795 | (point) |
| 796 | (progn (skip-chars-forward "0-9") | 796 | (progn (skip-chars-forward "0-9") |
| 797 | (point)))))) | 797 | (point)))))) |
| 798 | ;; Always leave `unseen' removed | 798 | ;; Always leave `unseen' removed |
| 799 | ;; if we get out of isearch mode. | 799 | ;; if we get out of isearch mode. |
| 800 | ;; Don't let a subsequent isearch restore that `unseen'. | 800 | ;; Don't let a subsequent isearch restore that `unseen'. |
| @@ -1061,7 +1061,7 @@ If SKIP-RMAIL, don't do anything to the Rmail buffer." | |||
| 1061 | (buf rmail-buffer) | 1061 | (buf rmail-buffer) |
| 1062 | (cur (point)) | 1062 | (cur (point)) |
| 1063 | message-not-found | 1063 | message-not-found |
| 1064 | (curmsg (string-to-int | 1064 | (curmsg (string-to-number |
| 1065 | (buffer-substring (point) | 1065 | (buffer-substring (point) |
| 1066 | (min (point-max) (+ 6 (point)))))) | 1066 | (min (point-max) (+ 6 (point)))))) |
| 1067 | (total (save-excursion (set-buffer buf) rmail-total-messages))) | 1067 | (total (save-excursion (set-buffer buf) rmail-total-messages))) |
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 605af6cdbe7..3cf17f8968d 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el | |||
| @@ -822,7 +822,7 @@ This is relative to `smtpmail-queue-dir'.") | |||
| 822 | nil | 822 | nil |
| 823 | (setq response-continue nil) | 823 | (setq response-continue nil) |
| 824 | (setq return-value | 824 | (setq return-value |
| 825 | (cons (string-to-int | 825 | (cons (string-to-number |
| 826 | (buffer-substring begin end)) | 826 | (buffer-substring begin end)) |
| 827 | (nreverse response-strings))))) | 827 | (nreverse response-strings))))) |
| 828 | 828 | ||
diff --git a/lisp/mh-e/mh-acros.el b/lisp/mh-e/mh-acros.el index 16383304503..e4921b047df 100644 --- a/lisp/mh-e/mh-acros.el +++ b/lisp/mh-e/mh-acros.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-acros.el --- Macros used in MH-E | 1 | ;;; mh-acros.el --- Macros used in MH-E |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu> | 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-alias.el b/lisp/mh-e/mh-alias.el index 1356e2c8b95..7f2cd2f5266 100644 --- a/lisp/mh-e/mh-alias.el +++ b/lisp/mh-e/mh-alias.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; mh-alias.el --- MH-E mail alias completion and expansion | 1 | ;;; mh-alias.el --- MH-E mail alias completion and expansion |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 1994, 95, 96, 1997, | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | ;; 2001, 02, 03, 2004 Free Software Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Author: Peter S. Galbraith <psg@debian.org> | 5 | ;; Author: Peter S. Galbraith <psg@debian.org> |
| 7 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index cde52c65043..4f7e413d464 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; mh-comp.el --- MH-E functions for composing messages | 1 | ;;; mh-comp.el --- MH-E functions for composing messages |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 95, 1997, | 3 | ;; Copyright (C) 1993, 95, 1997, 2000, 2005 Free Software Foundation, Inc. |
| 4 | ;; 2000, 01, 02, 03, 2004 Free Software Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Author: Bill Wohler <wohler@newt.com> | 5 | ;; Author: Bill Wohler <wohler@newt.com> |
| 7 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-customize.el b/lisp/mh-e/mh-customize.el index c9a4b11702d..c5689afc13e 100644 --- a/lisp/mh-e/mh-customize.el +++ b/lisp/mh-e/mh-customize.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-customize.el --- MH-E customization | 1 | ;;; mh-customize.el --- MH-E customization |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Bill Wohler <wohler@newt.com> | 5 | ;; Author: Bill Wohler <wohler@newt.com> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index c2322624507..b5eea79ae1e 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; mh-e.el --- GNU Emacs interface to the MH mail system | 1 | ;;; mh-e.el --- GNU Emacs interface to the MH mail system |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 86, 87, 88, 90, 92, 93, 94, 95, 97, 1999, | 3 | ;; Copyright (C) 1985, 86, 87, 88, 90, 92, 93, 94, 95, 97, 1999, |
| 4 | ;; 2000, 01, 02, 03, 2004, 2005 Free Software Foundation, Inc. | 4 | ;; 2000, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Bill Wohler <wohler@newt.com> | 6 | ;; Author: Bill Wohler <wohler@newt.com> |
| 7 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 7 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el index ef745f4c06f..a632efc7856 100644 --- a/lisp/mh-e/mh-funcs.el +++ b/lisp/mh-e/mh-funcs.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-funcs.el --- MH-E functions not everyone will use right away | 1 | ;;; mh-funcs.el --- MH-E functions not everyone will use right away |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1995, 2001, 02, 03, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993, 1995, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Bill Wohler <wohler@newt.com> | 5 | ;; Author: Bill Wohler <wohler@newt.com> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-gnus.el b/lisp/mh-e/mh-gnus.el index b850c8fdc43..e4b4a5b0d54 100644 --- a/lisp/mh-e/mh-gnus.el +++ b/lisp/mh-e/mh-gnus.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-gnus.el --- Make MH-E compatible with installed version of Gnus. | 1 | ;;; mh-gnus.el --- Make MH-E compatible with installed version of Gnus. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu> | 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-identity.el b/lisp/mh-e/mh-identity.el index 4bb5f90cf18..7b44dae1d06 100644 --- a/lisp/mh-e/mh-identity.el +++ b/lisp/mh-e/mh-identity.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-identity.el --- Multiple identify support for MH-E. | 1 | ;;; mh-identity.el --- Multiple identify support for MH-E. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Peter S. Galbraith <psg@debian.org> | 5 | ;; Author: Peter S. Galbraith <psg@debian.org> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-inc.el b/lisp/mh-e/mh-inc.el index 682b8aa7c53..95341fa75f7 100644 --- a/lisp/mh-e/mh-inc.el +++ b/lisp/mh-e/mh-inc.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-inc.el --- MH-E `inc' and separate mail spool handling | 1 | ;;; mh-inc.el --- MH-E `inc' and separate mail spool handling |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Peter S. Galbraith <psg@debian.org> | 5 | ;; Author: Peter S. Galbraith <psg@debian.org> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-index.el b/lisp/mh-e/mh-index.el index 91eed420e2e..cde630236b0 100644 --- a/lisp/mh-e/mh-index.el +++ b/lisp/mh-e/mh-index.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-index -- MH-E interface to indexing programs | 1 | ;;; mh-index -- MH-E interface to indexing programs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu> | 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-init.el b/lisp/mh-e/mh-init.el index a975b882128..b97e9fcde65 100644 --- a/lisp/mh-e/mh-init.el +++ b/lisp/mh-e/mh-init.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-init.el --- MH-E initialization. | 1 | ;;; mh-init.el --- MH-E initialization. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Peter S. Galbraith <psg@debian.org> | 5 | ;; Author: Peter S. Galbraith <psg@debian.org> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-junk.el b/lisp/mh-e/mh-junk.el index 095a8c3c3fd..29005d47aa6 100644 --- a/lisp/mh-e/mh-junk.el +++ b/lisp/mh-e/mh-junk.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-junk.el --- Interface to anti-spam measures | 1 | ;;; mh-junk.el --- Interface to anti-spam measures |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu>, | 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu>, |
| 6 | ;; Bill Wohler <wohler@newt.com> | 6 | ;; Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-loaddefs.el b/lisp/mh-e/mh-loaddefs.el index fd989ffa3b9..4abe3b208ef 100644 --- a/lisp/mh-e/mh-loaddefs.el +++ b/lisp/mh-e/mh-loaddefs.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-loaddefs.el --- automatically extracted autoloads | 1 | ;;; mh-loaddefs.el --- automatically extracted autoloads |
| 2 | ;; | 2 | ;; |
| 3 | ;;; Copyright (C) 2003, 2004 Free Software Foundation, Inc. | 3 | ;;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | ;;; Author: Bill Wohler <wohler@newt.com> | 4 | ;;; Author: Bill Wohler <wohler@newt.com> |
| 5 | ;;; Keywords: mail | 5 | ;;; Keywords: mail |
| 6 | ;;; Commentary: | 6 | ;;; Commentary: |
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index bc870134779..d286069ba4b 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; mh-mime.el --- MH-E support for composing MIME messages | 1 | ;;; mh-mime.el --- MH-E support for composing MIME messages |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1995, 2001, 02, 03, 2004, 2005 | 3 | ;; Copyright (C) 1993, 1995, 2005 Free Software Foundation, Inc. |
| 4 | ;; Free Software Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Author: Bill Wohler <wohler@newt.com> | 5 | ;; Author: Bill Wohler <wohler@newt.com> |
| 7 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-pick.el b/lisp/mh-e/mh-pick.el index b92a98f26cc..7b0ae4bafdf 100644 --- a/lisp/mh-e/mh-pick.el +++ b/lisp/mh-e/mh-pick.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-pick.el --- make a search pattern and search for a message in MH-E | 1 | ;;; mh-pick.el --- make a search pattern and search for a message in MH-E |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1995, 2001, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993, 1995, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Bill Wohler <wohler@newt.com> | 5 | ;; Author: Bill Wohler <wohler@newt.com> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-print.el b/lisp/mh-e/mh-print.el index 7539e455919..9a7df0b8fd4 100644 --- a/lisp/mh-e/mh-print.el +++ b/lisp/mh-e/mh-print.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-print.el --- MH-E printing support | 1 | ;;; mh-print.el --- MH-E printing support |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Jeffrey C Honig <jch@honig.net> | 5 | ;; Author: Jeffrey C Honig <jch@honig.net> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-seq.el b/lisp/mh-e/mh-seq.el index 8d2369ed19a..d09e9805682 100644 --- a/lisp/mh-e/mh-seq.el +++ b/lisp/mh-e/mh-seq.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-seq.el --- MH-E sequences support | 1 | ;;; mh-seq.el --- MH-E sequences support |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1995, 2001, 02, 03, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993, 1995, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Bill Wohler <wohler@newt.com> | 5 | ;; Author: Bill Wohler <wohler@newt.com> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-speed.el b/lisp/mh-e/mh-speed.el index 2617a941de1..a20e6e0a410 100644 --- a/lisp/mh-e/mh-speed.el +++ b/lisp/mh-e/mh-speed.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; mh-speed.el --- Speedbar interface for MH-E. | 1 | ;;; mh-speed.el --- Speedbar interface for MH-E. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu> | 5 | ;; Author: Satyaki Das <satyaki@theforce.stanford.edu> |
| 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el index a57567a7bd3..a7ba9311403 100644 --- a/lisp/mh-e/mh-utils.el +++ b/lisp/mh-e/mh-utils.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; mh-utils.el --- MH-E code needed for both sending and reading | 1 | ;;; mh-utils.el --- MH-E code needed for both sending and reading |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 95, 1997, | 3 | ;; Copyright (C) 1993, 95, 1997, 2000, 01, 2005 Free Software Foundation, Inc. |
| 4 | ;; 2000, 01, 02, 03, 2004 Free Software Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Author: Bill Wohler <wohler@newt.com> | 5 | ;; Author: Bill Wohler <wohler@newt.com> |
| 7 | ;; Maintainer: Bill Wohler <wohler@newt.com> | 6 | ;; Maintainer: Bill Wohler <wohler@newt.com> |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 8b4ed89e7b0..7fd07ebccfb 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ange-ftp.el --- transparent FTP support for GNU Emacs | 1 | ;;; ange-ftp.el --- transparent FTP support for GNU Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1989,90,91,92,93,94,95,96,98, 2000, 2001 | 3 | ;; Copyright (C) 1989,90,91,92,93,94,95,96,98, 2000, 2001, 2005 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Andy Norman (ange@hplb.hpl.hp.com) | 6 | ;; Author: Andy Norman (ange@hplb.hpl.hp.com) |
| @@ -1646,7 +1646,7 @@ good, skip, fatal, or unknown." | |||
| 1646 | ;; if we gave an empty password to the USER command earlier | 1646 | ;; if we gave an empty password to the USER command earlier |
| 1647 | ;; then we should send a null password now. | 1647 | ;; then we should send a null password now. |
| 1648 | (if (string-match "Password: *$" ange-ftp-process-string) | 1648 | (if (string-match "Password: *$" ange-ftp-process-string) |
| 1649 | (send-string proc "\n")))) | 1649 | (process-send-string proc "\n")))) |
| 1650 | (while (and ange-ftp-process-busy | 1650 | (while (and ange-ftp-process-busy |
| 1651 | (string-match "\n" ange-ftp-process-string)) | 1651 | (string-match "\n" ange-ftp-process-string)) |
| 1652 | (let ((line (substring ange-ftp-process-string | 1652 | (let ((line (substring ange-ftp-process-string |
| @@ -1741,18 +1741,18 @@ good, skip, fatal, or unknown." | |||
| 1741 | ;; Replace STR by the result of the comint processing. | 1741 | ;; Replace STR by the result of the comint processing. |
| 1742 | (setq str (buffer-substring comint-last-output-start (process-mark proc)))) | 1742 | (setq str (buffer-substring comint-last-output-start (process-mark proc)))) |
| 1743 | (cond ((string-match "login: *$" str) | 1743 | (cond ((string-match "login: *$" str) |
| 1744 | (send-string proc | 1744 | (process-send-string proc |
| 1745 | (concat | 1745 | (concat |
| 1746 | (let ((ange-ftp-default-user t)) | 1746 | (let ((ange-ftp-default-user t)) |
| 1747 | (ange-ftp-get-user ange-ftp-gateway-host)) | 1747 | (ange-ftp-get-user ange-ftp-gateway-host)) |
| 1748 | "\n"))) | 1748 | "\n"))) |
| 1749 | ((string-match "Password: *$" str) | 1749 | ((string-match "Password: *$" str) |
| 1750 | (send-string proc | 1750 | (process-send-string proc |
| 1751 | (concat | 1751 | (concat |
| 1752 | (ange-ftp-get-passwd ange-ftp-gateway-host | 1752 | (ange-ftp-get-passwd ange-ftp-gateway-host |
| 1753 | (ange-ftp-get-user | 1753 | (ange-ftp-get-user |
| 1754 | ange-ftp-gateway-host)) | 1754 | ange-ftp-gateway-host)) |
| 1755 | "\n"))) | 1755 | "\n"))) |
| 1756 | ((string-match ange-ftp-gateway-fatal-msgs str) | 1756 | ((string-match ange-ftp-gateway-fatal-msgs str) |
| 1757 | (delete-process proc) | 1757 | (delete-process proc) |
| 1758 | (setq ange-ftp-gwp-running nil)) | 1758 | (setq ange-ftp-gwp-running nil)) |
| @@ -1835,7 +1835,7 @@ been queued with no result. CONT will still be called, however." | |||
| 1835 | (insert (substring cmd 0 (match-end 0)) " Turtle Power!\n") | 1835 | (insert (substring cmd 0 (match-end 0)) " Turtle Power!\n") |
| 1836 | (insert cmd))) | 1836 | (insert cmd))) |
| 1837 | (move-marker comint-last-input-end (point)) | 1837 | (move-marker comint-last-input-end (point)) |
| 1838 | (send-string proc cmd) | 1838 | (process-send-string proc cmd) |
| 1839 | (set-marker (process-mark proc) (point)) | 1839 | (set-marker (process-mark proc) (point)) |
| 1840 | (if nowait | 1840 | (if nowait |
| 1841 | nil | 1841 | nil |
| @@ -2109,7 +2109,7 @@ suffix of the form #PORT to specify a non-default port" | |||
| 2109 | (line (cdr status))) | 2109 | (line (cdr status))) |
| 2110 | (save-match-data | 2110 | (save-match-data |
| 2111 | (if (string-match ange-ftp-hash-mark-msgs line) | 2111 | (if (string-match ange-ftp-hash-mark-msgs line) |
| 2112 | (let ((size (string-to-int (match-string 1 line)))) | 2112 | (let ((size (string-to-number (match-string 1 line)))) |
| 2113 | (setq ange-ftp-ascii-hash-mark-size size | 2113 | (setq ange-ftp-ascii-hash-mark-size size |
| 2114 | ange-ftp-hash-mark-unit (ash size -4)) | 2114 | ange-ftp-hash-mark-unit (ash size -4)) |
| 2115 | 2115 | ||
| @@ -5082,7 +5082,7 @@ Other orders of $ and _ seem to all work just fine.") | |||
| 5082 | (and (string-match regexp name) | 5082 | (and (string-match regexp name) |
| 5083 | (setq version | 5083 | (setq version |
| 5084 | (max version | 5084 | (max version |
| 5085 | (string-to-int (match-string 1 name)))))) | 5085 | (string-to-number (match-string 1 name)))))) |
| 5086 | files) | 5086 | files) |
| 5087 | (setq version (1+ version)) | 5087 | (setq version (1+ version)) |
| 5088 | (puthash | 5088 | (puthash |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 9b5708d6503..5cd8701d1a5 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; browse-url.el --- pass a URL to a WWW browser | 1 | ;;; browse-url.el --- pass a URL to a WWW browser |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001, 2004, 2005 | 3 | ;; Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001, 2005 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Denis Howe <dbh@doc.ic.ac.uk> | 6 | ;; Author: Denis Howe <dbh@doc.ic.ac.uk> |
diff --git a/lisp/net/eudc.el b/lisp/net/eudc.el index 2e6b1625146..b279715329f 100644 --- a/lisp/net/eudc.el +++ b/lisp/net/eudc.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; eudc.el --- Emacs Unified Directory Client | 1 | ;;; eudc.el --- Emacs Unified Directory Client |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998, 1999, 2000, 2002, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Oscar Figueiredo <oscar@cpe.fr> | 5 | ;; Author: Oscar Figueiredo <oscar@cpe.fr> |
| 6 | ;; Maintainer: Pavel Janík <Pavel@Janik.cz> | 6 | ;; Maintainer: Pavel Janík <Pavel@Janik.cz> |
diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el index b0409df2b7c..2917fab0a7b 100644 --- a/lisp/net/ldap.el +++ b/lisp/net/ldap.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ldap.el --- client interface to LDAP for Emacs | 1 | ;;; ldap.el --- client interface to LDAP for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1998, 1999, 2000, 2002, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998, 1999, 2000, 2002, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Oscar Figueiredo <oscar@cpe.fr> | 5 | ;; Author: Oscar Figueiredo <oscar@cpe.fr> |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el index 203d19ce14e..c1c88dfc323 100644 --- a/lisp/net/net-utils.el +++ b/lisp/net/net-utils.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; net-utils.el --- network functions | 1 | ;;; net-utils.el --- network functions |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Peter Breton <pbreton@cs.umb.edu> | 5 | ;; Author: Peter Breton <pbreton@cs.umb.edu> |
| 6 | ;; Created: Sun Mar 16 1997 | 6 | ;; Created: Sun Mar 16 1997 |
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el index 40a1e4bfad3..ebf4dcd3618 100644 --- a/lisp/net/quickurl.el +++ b/lisp/net/quickurl.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; quickurl.el --- insert an URL based on text at point in buffer | 1 | ;;; quickurl.el --- insert an URL based on text at point in buffer |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999,2000,2001 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999,2000,2001,2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Dave Pearson <davep@davep.org> | 5 | ;; Author: Dave Pearson <davep@davep.org> |
| 6 | ;; Maintainer: Dave Pearson <davep@davep.org> | 6 | ;; Maintainer: Dave Pearson <davep@davep.org> |
diff --git a/lisp/net/rlogin.el b/lisp/net/rlogin.el index 67521ca2e73..3ad66166ece 100644 --- a/lisp/net/rlogin.el +++ b/lisp/net/rlogin.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; rlogin.el --- remote login interface | 1 | ;;; rlogin.el --- remote login interface |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1992, 93, 94, 95, 97, 1998, 2002 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992, 93, 94, 95, 97, 1998, 2002, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Noah Friedman | 5 | ;; Author: Noah Friedman |
| 6 | ;; Maintainer: Noah Friedman <friedman@splode.com> | 6 | ;; Maintainer: Noah Friedman <friedman@splode.com> |
diff --git a/lisp/net/snmp-mode.el b/lisp/net/snmp-mode.el index 9cbeee545b5..73fef1452a0 100644 --- a/lisp/net/snmp-mode.el +++ b/lisp/net/snmp-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; snmp-mode.el --- SNMP & SNMPv2 MIB major mode | 1 | ;;; snmp-mode.el --- SNMP & SNMPv2 MIB major mode |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995, 1998, 2002 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1995, 1998, 2002, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Paul D. Smith <psmith@BayNetworks.com> | 5 | ;; Author: Paul D. Smith <psmith@BayNetworks.com> |
| 6 | ;; Keywords: data | 6 | ;; Keywords: data |
diff --git a/lisp/net/telnet.el b/lisp/net/telnet.el index 40a28494774..94a7b325d0e 100644 --- a/lisp/net/telnet.el +++ b/lisp/net/telnet.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; telnet.el --- run a telnet session from within an Emacs buffer | 1 | ;;; telnet.el --- run a telnet session from within an Emacs buffer |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 88, 1992, 94, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 88, 1992, 94, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: William F. Schelter | 5 | ;; Author: William F. Schelter |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -91,19 +91,19 @@ rejecting one login and prompting again for a username and password.") | |||
| 91 | (defun telnet-interrupt-subjob () | 91 | (defun telnet-interrupt-subjob () |
| 92 | "Interrupt the program running through telnet on the remote host." | 92 | "Interrupt the program running through telnet on the remote host." |
| 93 | (interactive) | 93 | (interactive) |
| 94 | (send-string nil telnet-interrupt-string)) | 94 | (process-send-string nil telnet-interrupt-string)) |
| 95 | 95 | ||
| 96 | (defun telnet-c-z () | 96 | (defun telnet-c-z () |
| 97 | (interactive) | 97 | (interactive) |
| 98 | (send-string nil "\C-z")) | 98 | (process-send-string nil "\C-z")) |
| 99 | 99 | ||
| 100 | (defun send-process-next-char () | 100 | (defun send-process-next-char () |
| 101 | (interactive) | 101 | (interactive) |
| 102 | (send-string nil | 102 | (process-send-string nil |
| 103 | (char-to-string | 103 | (char-to-string |
| 104 | (let ((inhibit-quit t)) | 104 | (let ((inhibit-quit t)) |
| 105 | (prog1 (read-char) | 105 | (prog1 (read-char) |
| 106 | (setq quit-flag nil)))))) | 106 | (setq quit-flag nil)))))) |
| 107 | 107 | ||
| 108 | ; initialization on first load. | 108 | ; initialization on first load. |
| 109 | (if telnet-mode-map | 109 | (if telnet-mode-map |
| @@ -141,8 +141,8 @@ rejecting one login and prompting again for a username and password.") | |||
| 141 | ((string-match "passw" string) | 141 | ((string-match "passw" string) |
| 142 | (telnet-filter proc string) | 142 | (telnet-filter proc string) |
| 143 | (setq telnet-count 0) | 143 | (setq telnet-count 0) |
| 144 | (send-string proc (concat (comint-read-noecho "Password: " t) | 144 | (process-send-string proc (concat (comint-read-noecho "Password: " t) |
| 145 | telnet-new-line)) | 145 | telnet-new-line)) |
| 146 | (clear-this-command-keys)) | 146 | (clear-this-command-keys)) |
| 147 | (t (telnet-check-software-type-initialize string) | 147 | (t (telnet-check-software-type-initialize string) |
| 148 | (telnet-filter proc string) | 148 | (telnet-filter proc string) |
| @@ -231,9 +231,9 @@ Normally input is edited in Emacs and sent a line at a time." | |||
| 231 | ;; Don't send the `open' cmd till telnet is ready for it. | 231 | ;; Don't send the `open' cmd till telnet is ready for it. |
| 232 | (accept-process-output process) | 232 | (accept-process-output process) |
| 233 | (erase-buffer) | 233 | (erase-buffer) |
| 234 | (send-string process (concat "open " host | 234 | (process-send-string process (concat "open " host |
| 235 | (if port " " "") (or port "") | 235 | (if port " " "") (or port "") |
| 236 | "\n")) | 236 | "\n")) |
| 237 | (telnet-mode) | 237 | (telnet-mode) |
| 238 | (setq comint-input-sender 'telnet-simple-send) | 238 | (setq comint-input-sender 'telnet-simple-send) |
| 239 | (setq telnet-count telnet-initial-count)))) | 239 | (setq telnet-count telnet-initial-count)))) |
diff --git a/lisp/net/tls.el b/lisp/net/tls.el index fd747387100..2de9362ca07 100644 --- a/lisp/net/tls.el +++ b/lisp/net/tls.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; tls.el --- TLS/SSL support via wrapper around GnuTLS | 1 | ;;; tls.el --- TLS/SSL support via wrapper around GnuTLS |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996-1999, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1996-1999, 2003, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Simon Josefsson <simon@josefsson.org> | 5 | ;; Author: Simon Josefsson <simon@josefsson.org> |
| 6 | ;; Keywords: comm, tls, gnutls, ssl | 6 | ;; Keywords: comm, tls, gnutls, ssl |
diff --git a/lisp/net/tramp-ftp.el b/lisp/net/tramp-ftp.el index 3be891a49f8..496ee926d51 100644 --- a/lisp/net/tramp-ftp.el +++ b/lisp/net/tramp-ftp.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; tramp-ftp.el --- Tramp convenience functions for Ange-FTP and EFS -*- coding: iso-8859-1; -*- | 1 | ;;; tramp-ftp.el --- Tramp convenience functions for Ange-FTP and EFS -*- coding: iso-8859-1; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Albinus <Michael.Albinus@alcatel.de> | 5 | ;; Author: Michael Albinus <Michael.Albinus@alcatel.de> |
| 6 | ;; Keywords: comm, processes | 6 | ;; Keywords: comm, processes |
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el index ebdbc354ec4..c93bdfb8e61 100644 --- a/lisp/net/tramp-smb.el +++ b/lisp/net/tramp-smb.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; tramp-smb.el --- Tramp access functions for SMB servers -*- coding: iso-8859-1; -*- | 1 | ;;; tramp-smb.el --- Tramp access functions for SMB servers -*- coding: iso-8859-1; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Albinus <michael.albinus@gmx.de> | 5 | ;; Author: Michael Albinus <michael.albinus@gmx.de> |
| 6 | ;; Keywords: comm, processes | 6 | ;; Keywords: comm, processes |
| @@ -954,7 +954,7 @@ Domain names in USER and port numbers in HOST are acknowledged." | |||
| 954 | (when port (setq args (append args (list "-p" port)))) | 954 | (when port (setq args (append args (list "-p" port)))) |
| 955 | 955 | ||
| 956 | ; OK, let's go | 956 | ; OK, let's go |
| 957 | (tramp-pre-connection nil tramp-smb-method user host) | 957 | (tramp-pre-connection nil tramp-smb-method user host tramp-chunksize) |
| 958 | (tramp-message 7 "Opening connection for //%s@%s/%s..." | 958 | (tramp-message 7 "Opening connection for //%s@%s/%s..." |
| 959 | user host (or share "")) | 959 | user host (or share "")) |
| 960 | 960 | ||
diff --git a/lisp/net/tramp-util.el b/lisp/net/tramp-util.el index 1621c2c818e..eff8130b996 100644 --- a/lisp/net/tramp-util.el +++ b/lisp/net/tramp-util.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; -*- coding: iso-2022-7bit; -*- | 1 | ;;; -*- coding: iso-2022-7bit; -*- |
| 2 | ;;; tramp-util.el --- Misc utility functions to use with Tramp | 2 | ;;; tramp-util.el --- Misc utility functions to use with Tramp |
| 3 | 3 | ||
| 4 | ;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 4 | ;; Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: kai.grossjohann@gmx.net | 6 | ;; Author: kai.grossjohann@gmx.net |
| 7 | ;; Keywords: comm, extensions, processes | 7 | ;; Keywords: comm, extensions, processes |
diff --git a/lisp/net/tramp-uu.el b/lisp/net/tramp-uu.el index d18af101c48..09dfa7d04a5 100644 --- a/lisp/net/tramp-uu.el +++ b/lisp/net/tramp-uu.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; -*- coding: iso-2022-7bit; -*- | 1 | ;;; -*- coding: iso-2022-7bit; -*- |
| 2 | ;;; tramp-uu.el --- uuencode in Lisp | 2 | ;;; tramp-uu.el --- uuencode in Lisp |
| 3 | 3 | ||
| 4 | ;; Copyright (C) 2002, 2004 Free Software Foundation, Inc. | 4 | ;; Copyright (C) 2002, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> | 6 | ;; Author: Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
| 7 | ;; Keywords: comm, terminals | 7 | ;; Keywords: comm, terminals |
diff --git a/lisp/net/tramp-vc.el b/lisp/net/tramp-vc.el index c58d83504c2..9a281d9d40d 100644 --- a/lisp/net/tramp-vc.el +++ b/lisp/net/tramp-vc.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; tramp-vc.el --- Version control integration for TRAMP.el | 1 | ;;; tramp-vc.el --- Version control integration for TRAMP.el |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000, 2001, 2002, 2005 by Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Daniel Pittman <daniel@danann.net> | 5 | ;; Author: Daniel Pittman <daniel@danann.net> |
| 6 | ;; Keywords: comm, processes | 6 | ;; Keywords: comm, processes |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index c602a12aaa1..a5ee3c9bc04 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; -*- mode: Emacs-Lisp; coding: iso-2022-7bit; -*- | 1 | ;;; -*- mode: Emacs-Lisp; coding: iso-2022-7bit; -*- |
| 2 | ;;; tramp.el --- Transparent Remote Access, Multiple Protocol | 2 | ;;; tramp.el --- Transparent Remote Access, Multiple Protocol |
| 3 | 3 | ||
| 4 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 4 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: kai.grossjohann@gmx.net | 6 | ;; Author: kai.grossjohann@gmx.net |
| 7 | ;; Keywords: comm, processes | 7 | ;; Keywords: comm, processes |
diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el index fac6e2aed65..c8ef71eb9f3 100644 --- a/lisp/net/trampver.el +++ b/lisp/net/trampver.el | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | ;;; trampver.el --- Transparent Remote Access, Multiple Protocol | 2 | ;;; trampver.el --- Transparent Remote Access, Multiple Protocol |
| 3 | ;;; lisp/trampver.el. Generated from trampver.el.in by configure. | 3 | ;;; lisp/trampver.el. Generated from trampver.el.in by configure. |
| 4 | 4 | ||
| 5 | ;; Copyright (C) 2003 Free Software Foundation, Inc. | 5 | ;; Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | ;; Author: Kai.Grossjohann@CS.Uni-Dortmund.DE | 7 | ;; Author: Kai.Grossjohann@CS.Uni-Dortmund.DE |
| 8 | ;; Keywords: comm, processes | 8 | ;; Keywords: comm, processes |
diff --git a/lisp/net/webjump.el b/lisp/net/webjump.el index 0fc47fafa85..23c54d5a09f 100644 --- a/lisp/net/webjump.el +++ b/lisp/net/webjump.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; webjump.el --- programmable Web hotlist | 1 | ;;; webjump.el --- programmable Web hotlist |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Neil W. Van Dyke <nwv@acm.org> | 5 | ;; Author: Neil W. Van Dyke <nwv@acm.org> |
| 6 | ;; Created: 09-Aug-1996 | 6 | ;; Created: 09-Aug-1996 |
diff --git a/lisp/net/zone-mode.el b/lisp/net/zone-mode.el index 6b4d22f9b13..c7999616375 100644 --- a/lisp/net/zone-mode.el +++ b/lisp/net/zone-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; zone-mode.el --- major mode for editing DNS zone files | 1 | ;;; zone-mode.el --- major mode for editing DNS zone files |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1998 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: John Heidemann <johnh@isi.edu> | 5 | ;; Author: John Heidemann <johnh@isi.edu> |
| 6 | ;; Keywords: DNS, languages | 6 | ;; Keywords: DNS, languages |
diff --git a/lisp/newcomment.el b/lisp/newcomment.el index 5a7b7666e89..59044da6ef9 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el | |||
| @@ -90,7 +90,8 @@ Major modes should set this variable.") | |||
| 90 | 90 | ||
| 91 | (defcustom comment-fill-column nil | 91 | (defcustom comment-fill-column nil |
| 92 | "Column to use for `comment-indent'. If nil, use `fill-column' instead." | 92 | "Column to use for `comment-indent'. If nil, use `fill-column' instead." |
| 93 | :type '(choice (const nil) integer)) | 93 | :type '(choice (const nil) integer) |
| 94 | :group 'comment) | ||
| 94 | 95 | ||
| 95 | ;;;###autoload | 96 | ;;;###autoload |
| 96 | (defcustom comment-column 32 | 97 | (defcustom comment-column 32 |
| @@ -99,7 +100,8 @@ Each mode establishes a different default value for this variable; you | |||
| 99 | can set the value for a particular mode using that mode's hook. | 100 | can set the value for a particular mode using that mode's hook. |
| 100 | Comments might be indented to a value smaller than this in order | 101 | Comments might be indented to a value smaller than this in order |
| 101 | not to go beyond `comment-fill-column'." | 102 | not to go beyond `comment-fill-column'." |
| 102 | :type 'integer) | 103 | :type 'integer |
| 104 | :group 'comment) | ||
| 103 | (make-variable-buffer-local 'comment-column) | 105 | (make-variable-buffer-local 'comment-column) |
| 104 | 106 | ||
| 105 | ;;;###autoload | 107 | ;;;###autoload |
| @@ -201,7 +203,8 @@ INDENT specifies that the `comment-start' markers should not be put at the | |||
| 201 | See `comment-styles' for a list of available styles." | 203 | See `comment-styles' for a list of available styles." |
| 202 | :type (if (boundp 'comment-styles) | 204 | :type (if (boundp 'comment-styles) |
| 203 | `(choice ,@(mapcar (lambda (s) `(const ,(car s))) comment-styles)) | 205 | `(choice ,@(mapcar (lambda (s) `(const ,(car s))) comment-styles)) |
| 204 | 'symbol)) | 206 | 'symbol) |
| 207 | :group 'comment) | ||
| 205 | 208 | ||
| 206 | ;;;###autoload | 209 | ;;;###autoload |
| 207 | (defcustom comment-padding " " | 210 | (defcustom comment-padding " " |
| @@ -211,7 +214,8 @@ of the corresponding number of spaces. | |||
| 211 | 214 | ||
| 212 | Extra spacing between the comment characters and the comment text | 215 | Extra spacing between the comment characters and the comment text |
| 213 | makes the comment easier to read. Default is 1. nil means 0." | 216 | makes the comment easier to read. Default is 1. nil means 0." |
| 214 | :type '(choice string integer (const nil))) | 217 | :type '(choice string integer (const nil)) |
| 218 | :group 'comment) | ||
| 215 | 219 | ||
| 216 | ;;;###autoload | 220 | ;;;###autoload |
| 217 | (defcustom comment-multi-line nil | 221 | (defcustom comment-multi-line nil |
| @@ -222,7 +226,8 @@ customize this variable. | |||
| 222 | 226 | ||
| 223 | It also affects \\[indent-new-comment-line]. However, if you want this | 227 | It also affects \\[indent-new-comment-line]. However, if you want this |
| 224 | behavior for explicit filling, you might as well use \\[newline-and-indent]." | 228 | behavior for explicit filling, you might as well use \\[newline-and-indent]." |
| 225 | :type 'boolean) | 229 | :type 'boolean |
| 230 | :group 'comment) | ||
| 226 | 231 | ||
| 227 | (defcustom comment-empty-lines nil | 232 | (defcustom comment-empty-lines nil |
| 228 | "If nil, `comment-region' does not comment out empty lines. | 233 | "If nil, `comment-region' does not comment out empty lines. |
| @@ -231,7 +236,8 @@ if `eol' it only comments out empty lines if comments are | |||
| 231 | terminated by the end of line (i.e. `comment-end' is empty)." | 236 | terminated by the end of line (i.e. `comment-end' is empty)." |
| 232 | :type '(choice (const :tag "Never" nil) | 237 | :type '(choice (const :tag "Never" nil) |
| 233 | (const :tag "Always" t) | 238 | (const :tag "Always" t) |
| 234 | (const :tag "EOl-terminated" 'eol))) | 239 | (const :tag "EOl-terminated" 'eol)) |
| 240 | :group 'comment) | ||
| 235 | 241 | ||
| 236 | ;;;; | 242 | ;;;; |
| 237 | ;;;; Helpers | 243 | ;;;; Helpers |
| @@ -1091,7 +1097,8 @@ Else, call `comment-indent'." | |||
| 1091 | (defcustom comment-auto-fill-only-comments nil | 1097 | (defcustom comment-auto-fill-only-comments nil |
| 1092 | "Non-nil means to only auto-fill inside comments. | 1098 | "Non-nil means to only auto-fill inside comments. |
| 1093 | This has no effect in modes that do not define a comment syntax." | 1099 | This has no effect in modes that do not define a comment syntax." |
| 1094 | :type 'boolean) | 1100 | :type 'boolean |
| 1101 | :group 'comment) | ||
| 1095 | 1102 | ||
| 1096 | (defun comment-valid-prefix-p (prefix compos) | 1103 | (defun comment-valid-prefix-p (prefix compos) |
| 1097 | (or | 1104 | (or |
diff --git a/lisp/obsolete/rsz-mini.el b/lisp/obsolete/rsz-mini.el index d44a88df801..a90cb625dc5 100644 --- a/lisp/obsolete/rsz-mini.el +++ b/lisp/obsolete/rsz-mini.el | |||
| @@ -63,7 +63,8 @@ | |||
| 63 | 63 | ||
| 64 | ;;;###autoload | 64 | ;;;###autoload |
| 65 | (defcustom resize-minibuffer-frame-max-height nil | 65 | (defcustom resize-minibuffer-frame-max-height nil |
| 66 | "*This variable is obsolete.") | 66 | "*This variable is obsolete." |
| 67 | :group 'resize-minibuffer) | ||
| 67 | 68 | ||
| 68 | ;;;###autoload | 69 | ;;;###autoload |
| 69 | (defcustom resize-minibuffer-frame-exactly t | 70 | (defcustom resize-minibuffer-frame-exactly t |
diff --git a/lisp/play/gametree.el b/lisp/play/gametree.el index f79ded4955e..abab58d6018 100644 --- a/lisp/play/gametree.el +++ b/lisp/play/gametree.el | |||
| @@ -204,12 +204,12 @@ should be no leading white space." | |||
| 204 | gametree-half-ply-regexp "\\)")) | 204 | gametree-half-ply-regexp "\\)")) |
| 205 | (limit (save-excursion (beginning-of-line 1) (point)))) | 205 | (limit (save-excursion (beginning-of-line 1) (point)))) |
| 206 | (if (looking-at boundary) | 206 | (if (looking-at boundary) |
| 207 | (+ (* 2 (string-to-int (match-string 1))) | 207 | (+ (* 2 (string-to-number (match-string 1))) |
| 208 | (if (string-match gametree-half-ply-regexp (match-string 2)) 1 0)) | 208 | (if (string-match gametree-half-ply-regexp (match-string 2)) 1 0)) |
| 209 | (save-excursion | 209 | (save-excursion |
| 210 | (re-search-backward boundary limit) | 210 | (re-search-backward boundary limit) |
| 211 | (skip-chars-backward "0123456789") | 211 | (skip-chars-backward "0123456789") |
| 212 | (1+ (* 2 (string-to-int | 212 | (1+ (* 2 (string-to-number |
| 213 | (buffer-substring (point) (match-end 1)))))))))) | 213 | (buffer-substring (point) (match-end 1)))))))))) |
| 214 | 214 | ||
| 215 | (defun gametree-current-branch-ply () | 215 | (defun gametree-current-branch-ply () |
| @@ -345,7 +345,7 @@ This value is simply the outline heading level of the current line." | |||
| 345 | "Return score of current variation according to its score tag. | 345 | "Return score of current variation according to its score tag. |
| 346 | When no score tag is present, use the value of `gametree-default-score'." | 346 | When no score tag is present, use the value of `gametree-default-score'." |
| 347 | (if (looking-at gametree-score-regexp) | 347 | (if (looking-at gametree-score-regexp) |
| 348 | (string-to-int (match-string 3)) | 348 | (string-to-number (match-string 3)) |
| 349 | gametree-default-score)) | 349 | gametree-default-score)) |
| 350 | 350 | ||
| 351 | (defun gametree-compute-reduced-score () | 351 | (defun gametree-compute-reduced-score () |
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index e7eb0657eac..8dba21afe9b 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el | |||
| @@ -672,7 +672,7 @@ file. If none is set, return nil." | |||
| 672 | (not (integerp choice)) | 672 | (not (integerp choice)) |
| 673 | (< choice 1) | 673 | (< choice 1) |
| 674 | (> choice (length prj-files))) | 674 | (> choice (length prj-files))) |
| 675 | (setq choice (string-to-int | 675 | (setq choice (string-to-number |
| 676 | (read-from-minibuffer "Enter No. of your choice: ")))) | 676 | (read-from-minibuffer "Enter No. of your choice: ")))) |
| 677 | (set 'selected (nth (1- choice) prj-files)))) | 677 | (set 'selected (nth (1- choice) prj-files)))) |
| 678 | 678 | ||
| @@ -1800,7 +1800,7 @@ This function is disabled for operators, and only works for identifiers." | |||
| 1800 | (< choice 1) | 1800 | (< choice 1) |
| 1801 | (> choice len)) | 1801 | (> choice len)) |
| 1802 | (setq choice | 1802 | (setq choice |
| 1803 | (string-to-int | 1803 | (string-to-number |
| 1804 | (read-from-minibuffer "Enter No. of your choice: ")))) | 1804 | (read-from-minibuffer "Enter No. of your choice: ")))) |
| 1805 | ) | 1805 | ) |
| 1806 | (set-buffer ali-buffer) | 1806 | (set-buffer ali-buffer) |
| @@ -1988,7 +1988,7 @@ is using." | |||
| 1988 | (< choice 1) | 1988 | (< choice 1) |
| 1989 | (> choice (length list))) | 1989 | (> choice (length list))) |
| 1990 | (setq choice | 1990 | (setq choice |
| 1991 | (string-to-int | 1991 | (string-to-number |
| 1992 | (read-from-minibuffer "Enter No. of your choice: ")))) | 1992 | (read-from-minibuffer "Enter No. of your choice: ")))) |
| 1993 | ) | 1993 | ) |
| 1994 | (set 'choice (1- choice)) | 1994 | (set 'choice (1- choice)) |
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index 1a35fe41860..03587577f59 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el | |||
| @@ -785,6 +785,7 @@ bound to `antlr-language'. For example, with value | |||
| 785 | \((java-mode \. 2) (c++-mode \. 0)) | 785 | \((java-mode \. 2) (c++-mode \. 0)) |
| 786 | Java actions are fontified with level 2 and C++ actions are not | 786 | Java actions are fontified with level 2 and C++ actions are not |
| 787 | fontified at all." | 787 | fontified at all." |
| 788 | :group 'antlr | ||
| 788 | :type '(choice (const :tag "None" none) | 789 | :type '(choice (const :tag "None" none) |
| 789 | (const :tag "Inherit" inherit) | 790 | (const :tag "Inherit" inherit) |
| 790 | (const :tag "Default" nil) | 791 | (const :tag "Default" nil) |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index d08766f5a35..ad43228a100 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -119,6 +119,10 @@ nil means compute the name with `(concat \"*\" (downcase major-mode) \"*\")'.") | |||
| 119 | It is called with two arguments: the compilation buffer, and a string | 119 | It is called with two arguments: the compilation buffer, and a string |
| 120 | describing how the process finished.") | 120 | describing how the process finished.") |
| 121 | 121 | ||
| 122 | (make-obsolete-variable 'compilation-finish-function | ||
| 123 | "Use `compilation-finish-functions', but it works a little differently." | ||
| 124 | "22.1") | ||
| 125 | |||
| 122 | ;;;###autoload | 126 | ;;;###autoload |
| 123 | (defvar compilation-finish-functions nil | 127 | (defvar compilation-finish-functions nil |
| 124 | "Functions to call when a compilation process finishes. | 128 | "Functions to call when a compilation process finishes. |
| @@ -1592,7 +1596,8 @@ displays at the top of the window; there is no arrow." | |||
| 1592 | (beginning-of-line | 1596 | (beginning-of-line |
| 1593 | (- 1 compilation-context-lines)) | 1597 | (- 1 compilation-context-lines)) |
| 1594 | (point))) | 1598 | (point))) |
| 1595 | (if (left-fringe-p) | 1599 | ;; If there is no left fringe. |
| 1600 | (if (equal (car (window-fringes)) 0) | ||
| 1596 | (set-window-start w (save-excursion | 1601 | (set-window-start w (save-excursion |
| 1597 | (goto-char mk) | 1602 | (goto-char mk) |
| 1598 | (beginning-of-line 1) | 1603 | (beginning-of-line 1) |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index e32a43ede9e..436bc04d044 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -120,7 +120,7 @@ | |||
| 120 | ;; Probably will not work due to some save-excursion??? | 120 | ;; Probably will not work due to some save-excursion??? |
| 121 | ;; Or save-file-position? | 121 | ;; Or save-file-position? |
| 122 | ;; (message "Did I get to line %s?" (elt (, elt) 1)) | 122 | ;; (message "Did I get to line %s?" (elt (, elt) 1)) |
| 123 | `(goto-line (string-to-int (elt ,elt 1)))) | 123 | `(goto-line (string-to-number (elt ,elt 1)))) |
| 124 | ;;) | 124 | ;;) |
| 125 | (defmacro cperl-etags-goto-tag-location (elt) | 125 | (defmacro cperl-etags-goto-tag-location (elt) |
| 126 | `(etags-goto-tag-location ,elt)))) | 126 | `(etags-goto-tag-location ,elt)))) |
diff --git a/lisp/progmodes/delphi.el b/lisp/progmodes/delphi.el index 4ebbc549697..8d3ee554026 100644 --- a/lisp/progmodes/delphi.el +++ b/lisp/progmodes/delphi.el | |||
| @@ -1530,7 +1530,7 @@ before the indent, the point is moved to the indent." | |||
| 1530 | (save-selected-window | 1530 | (save-selected-window |
| 1531 | (switch-to-buffer-other-window to-buffer) | 1531 | (switch-to-buffer-other-window to-buffer) |
| 1532 | (goto-char (point-max)) | 1532 | (goto-char (point-max)) |
| 1533 | (set-window-dot (get-buffer-window to-buffer) (point)) | 1533 | (set-window-point (get-buffer-window to-buffer) (point)) |
| 1534 | (insert the-msg)))) | 1534 | (insert the-msg)))) |
| 1535 | 1535 | ||
| 1536 | ;; Debugging helpers: | 1536 | ;; Debugging helpers: |
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 457c00d9008..6dd15897e7b 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el | |||
| @@ -1448,10 +1448,10 @@ Pop to member buffer if no prefix ARG, to tree buffer otherwise." | |||
| 1448 | (defun ebrowse-set-tree-indentation () | 1448 | (defun ebrowse-set-tree-indentation () |
| 1449 | "Set the indentation width of the tree display." | 1449 | "Set the indentation width of the tree display." |
| 1450 | (interactive) | 1450 | (interactive) |
| 1451 | (let ((width (string-to-int (read-from-minibuffer | 1451 | (let ((width (string-to-number (read-from-minibuffer |
| 1452 | (concat "Indentation (" | 1452 | (concat "Indentation (" |
| 1453 | (int-to-string ebrowse--indentation) | 1453 | (int-to-string ebrowse--indentation) |
| 1454 | "): "))))) | 1454 | "): "))))) |
| 1455 | (when (plusp width) | 1455 | (when (plusp width) |
| 1456 | (setf ebrowse--indentation width) | 1456 | (setf ebrowse--indentation width) |
| 1457 | (ebrowse-redraw-tree)))) | 1457 | (ebrowse-redraw-tree)))) |
| @@ -2329,7 +2329,7 @@ With prefix ARG, switch to the tree buffer else pop to it." | |||
| 2329 | "Set the column width of the member display. | 2329 | "Set the column width of the member display. |
| 2330 | The new width is read from the minibuffer." | 2330 | The new width is read from the minibuffer." |
| 2331 | (interactive) | 2331 | (interactive) |
| 2332 | (let ((width (string-to-int | 2332 | (let ((width (string-to-number |
| 2333 | (read-from-minibuffer | 2333 | (read-from-minibuffer |
| 2334 | (concat "Column width (" | 2334 | (concat "Column width (" |
| 2335 | (int-to-string (if ebrowse--long-display-flag | 2335 | (int-to-string (if ebrowse--long-display-flag |
| @@ -4313,7 +4313,7 @@ NUMBER-OF-STATIC-VARIABLES:" | |||
| 4313 | "Select the nth entry in the list by the keys 1..9." | 4313 | "Select the nth entry in the list by the keys 1..9." |
| 4314 | (interactive) | 4314 | (interactive) |
| 4315 | (let* ((maxlin (count-lines (point-min) (point-max))) | 4315 | (let* ((maxlin (count-lines (point-min) (point-max))) |
| 4316 | (n (min maxlin (+ 2 (string-to-int (this-command-keys)))))) | 4316 | (n (min maxlin (+ 2 (string-to-number (this-command-keys)))))) |
| 4317 | (goto-line n) | 4317 | (goto-line n) |
| 4318 | (throw 'electric-buffer-menu-select (point)))) | 4318 | (throw 'electric-buffer-menu-select (point)))) |
| 4319 | 4319 | ||
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 0569d26db61..32ede0e1474 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1283,16 +1283,16 @@ where they were found." | |||
| 1283 | 1283 | ||
| 1284 | 1284 | ||
| 1285 | (if (looking-at "[0-9]") | 1285 | (if (looking-at "[0-9]") |
| 1286 | (setq line (string-to-int (buffer-substring | 1286 | (setq line (string-to-number (buffer-substring |
| 1287 | (point) | 1287 | (point) |
| 1288 | (progn (skip-chars-forward "0-9") | 1288 | (progn (skip-chars-forward "0-9") |
| 1289 | (point)))))) | 1289 | (point)))))) |
| 1290 | (search-forward ",") | 1290 | (search-forward ",") |
| 1291 | (if (looking-at "[0-9]") | 1291 | (if (looking-at "[0-9]") |
| 1292 | (setq startpos (string-to-int (buffer-substring | 1292 | (setq startpos (string-to-number (buffer-substring |
| 1293 | (point) | 1293 | (point) |
| 1294 | (progn (skip-chars-forward "0-9") | 1294 | (progn (skip-chars-forward "0-9") |
| 1295 | (point))))))) | 1295 | (point))))))) |
| 1296 | ;; Leave point on the next line of the tags file. | 1296 | ;; Leave point on the next line of the tags file. |
| 1297 | (forward-line 1) | 1297 | (forward-line 1) |
| 1298 | (cons tag-text (cons line startpos)))) | 1298 | (cons tag-text (cons line startpos)))) |
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index a2fa660bff0..5463ee3ffa9 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -1004,7 +1004,7 @@ Return its components if so, nil if no." | |||
| 1004 | (line-idx (nth 2 (car patterns)))) | 1004 | (line-idx (nth 2 (car patterns)))) |
| 1005 | 1005 | ||
| 1006 | (setq raw-file-name (if file-idx (match-string file-idx line) nil)) | 1006 | (setq raw-file-name (if file-idx (match-string file-idx line) nil)) |
| 1007 | (setq line-no (if line-idx (string-to-int (match-string line-idx line)) 0)) | 1007 | (setq line-no (if line-idx (string-to-number (match-string line-idx line)) 0)) |
| 1008 | (setq err-text (if (> (length (car patterns)) 4) | 1008 | (setq err-text (if (> (length (car patterns)) 4) |
| 1009 | (match-string (nth 4 (car patterns)) line) | 1009 | (match-string (nth 4 (car patterns)) line) |
| 1010 | (flymake-patch-err-text (substring line (match-end 0))))) | 1010 | (flymake-patch-err-text (substring line (match-end 0))))) |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index 221a6f4aebb..77244819f1b 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -45,7 +45,7 @@ | |||
| 45 | ;; | 45 | ;; |
| 46 | ;; INSTALLATION: | 46 | ;; INSTALLATION: |
| 47 | ;; ============= | 47 | ;; ============= |
| 48 | ;; | 48 | ;; |
| 49 | ;; Follow the instructions in the INSTALL file of the distribution. | 49 | ;; Follow the instructions in the INSTALL file of the distribution. |
| 50 | ;; In short, put this file on your load path and add the following | 50 | ;; In short, put this file on your load path and add the following |
| 51 | ;; lines to your .emacs file: | 51 | ;; lines to your .emacs file: |
| @@ -58,9 +58,9 @@ | |||
| 58 | ;; | 58 | ;; |
| 59 | ;; The newest version of this file can be found on the maintainers | 59 | ;; The newest version of this file can be found on the maintainers |
| 60 | ;; web site. | 60 | ;; web site. |
| 61 | ;; | 61 | ;; |
| 62 | ;; http://idlwave.org | 62 | ;; http://idlwave.org |
| 63 | ;; | 63 | ;; |
| 64 | ;; DOCUMENTATION | 64 | ;; DOCUMENTATION |
| 65 | ;; ============= | 65 | ;; ============= |
| 66 | ;; | 66 | ;; |
| @@ -77,7 +77,7 @@ | |||
| 77 | ;; it is a bug in XEmacs. | 77 | ;; it is a bug in XEmacs. |
| 78 | ;; The Debug menu in source buffers *does* display the bindings correctly. | 78 | ;; The Debug menu in source buffers *does* display the bindings correctly. |
| 79 | ;; | 79 | ;; |
| 80 | ;; | 80 | ;; |
| 81 | ;; CUSTOMIZATION VARIABLES | 81 | ;; CUSTOMIZATION VARIABLES |
| 82 | ;; ======================= | 82 | ;; ======================= |
| 83 | ;; | 83 | ;; |
| @@ -101,12 +101,12 @@ | |||
| 101 | (condition-case () (require 'custom) (error nil)) | 101 | (condition-case () (require 'custom) (error nil)) |
| 102 | (if (and (featurep 'custom) | 102 | (if (and (featurep 'custom) |
| 103 | (fboundp 'custom-declare-variable) | 103 | (fboundp 'custom-declare-variable) |
| 104 | (fboundp 'defface)) | 104 | (fboundp 'defface)) |
| 105 | ;; We've got what we needed | 105 | ;; We've got what we needed |
| 106 | (setq idlwave-shell-have-new-custom t) | 106 | (setq idlwave-shell-have-new-custom t) |
| 107 | ;; We have the old or no custom-library, hack around it! | 107 | ;; We have the old or no custom-library, hack around it! |
| 108 | (defmacro defgroup (&rest args) nil) | 108 | (defmacro defgroup (&rest args) nil) |
| 109 | (defmacro defcustom (var value doc &rest args) | 109 | (defmacro defcustom (var value doc &rest args) |
| 110 | `(defvar ,var ,value ,doc)))) | 110 | `(defvar ,var ,value ,doc)))) |
| 111 | 111 | ||
| 112 | ;;; Customizations: idlwave-shell group | 112 | ;;; Customizations: idlwave-shell group |
| @@ -118,10 +118,10 @@ | |||
| 118 | :group 'idlwave) | 118 | :group 'idlwave) |
| 119 | 119 | ||
| 120 | (defcustom idlwave-shell-prompt-pattern "^ ?IDL> " | 120 | (defcustom idlwave-shell-prompt-pattern "^ ?IDL> " |
| 121 | "*Regexp to match IDL prompt at beginning of a line. | 121 | "*Regexp to match IDL prompt at beginning of a line. |
| 122 | For example, \"^IDL> \" or \"^WAVE> \". | 122 | For example, \"^IDL> \" or \"^WAVE> \". |
| 123 | The \"^\" means beginning of line, and is required. | 123 | The \"^\" means beginning of line, and is required. |
| 124 | This variable is used to initialize `comint-prompt-regexp' in the | 124 | This variable is used to initialize `comint-prompt-regexp' in the |
| 125 | process buffer. | 125 | process buffer. |
| 126 | 126 | ||
| 127 | This is a fine thing to set in your `.emacs' file." | 127 | This is a fine thing to set in your `.emacs' file." |
| @@ -210,7 +210,7 @@ So by default setting a breakpoint will be on C-c C-d C-b." | |||
| 210 | :type 'boolean) | 210 | :type 'boolean) |
| 211 | 211 | ||
| 212 | (defcustom idlwave-shell-automatic-electric-debug 'breakpoint | 212 | (defcustom idlwave-shell-automatic-electric-debug 'breakpoint |
| 213 | "Enter the electric-debug minor mode automatically. | 213 | "Enter the electric-debug minor mode automatically. |
| 214 | This occurs at a breakpoint or any other halt. The mode is exited | 214 | This occurs at a breakpoint or any other halt. The mode is exited |
| 215 | upon return to the main level. Can be set to 'breakpoint to enter | 215 | upon return to the main level. Can be set to 'breakpoint to enter |
| 216 | electric debug mode only when breakpoints are tripped." | 216 | electric debug mode only when breakpoints are tripped." |
| @@ -295,7 +295,7 @@ The history is only saved if the variable `idlwave-shell-save-command-history' | |||
| 295 | is non-nil." | 295 | is non-nil." |
| 296 | :group 'idlwave-shell-command-setup | 296 | :group 'idlwave-shell-command-setup |
| 297 | :type 'file) | 297 | :type 'file) |
| 298 | 298 | ||
| 299 | (defcustom idlwave-shell-show-commands | 299 | (defcustom idlwave-shell-show-commands |
| 300 | '(run misc breakpoint) | 300 | '(run misc breakpoint) |
| 301 | "*A list of command types to show output from in the shell. | 301 | "*A list of command types to show output from in the shell. |
| @@ -306,12 +306,12 @@ the copious shell traffic to be displayed." | |||
| 306 | :type '(choice | 306 | :type '(choice |
| 307 | (const everything) | 307 | (const everything) |
| 308 | (set :tag "Checklist" :greedy t | 308 | (set :tag "Checklist" :greedy t |
| 309 | (const :tag "All .run and .compile commands" run) | 309 | (const :tag "All .run and .compile commands" run) |
| 310 | (const :tag "All breakpoint commands" breakpoint) | 310 | (const :tag "All breakpoint commands" breakpoint) |
| 311 | (const :tag "All debug and stepping commands" debug) | 311 | (const :tag "All debug and stepping commands" debug) |
| 312 | (const :tag "Close, window, retall, etc. commands" misc)))) | 312 | (const :tag "Close, window, retall, etc. commands" misc)))) |
| 313 | 313 | ||
| 314 | (defcustom idlwave-shell-examine-alist | 314 | (defcustom idlwave-shell-examine-alist |
| 315 | '(("Print" . "print,___") | 315 | '(("Print" . "print,___") |
| 316 | ("Help" . "help,___") | 316 | ("Help" . "help,___") |
| 317 | ("Structure Help" . "help,___,/STRUCTURE") | 317 | ("Structure Help" . "help,___,/STRUCTURE") |
| @@ -322,14 +322,14 @@ the copious shell traffic to be displayed." | |||
| 322 | ("Ptr Valid" . "print,ptr_valid(___)") | 322 | ("Ptr Valid" . "print,ptr_valid(___)") |
| 323 | ("Widget Valid" . "print,widget_info(___,/VALID)") | 323 | ("Widget Valid" . "print,widget_info(___,/VALID)") |
| 324 | ("Widget Geometry" . "help,widget_info(___,/GEOMETRY)")) | 324 | ("Widget Geometry" . "help,widget_info(___,/GEOMETRY)")) |
| 325 | "Alist of special examine commands for popup selection. | 325 | "Alist of special examine commands for popup selection. |
| 326 | The keys are used in the selection popup created by | 326 | The keys are used in the selection popup created by |
| 327 | `idlwave-shell-examine-select', and the corresponding value is sent as | 327 | `idlwave-shell-examine-select', and the corresponding value is sent as |
| 328 | a command to the shell, with special sequence `___' replaced by the | 328 | a command to the shell, with special sequence `___' replaced by the |
| 329 | expression being examined." | 329 | expression being examined." |
| 330 | :group 'idlwave-shell-command-setup | 330 | :group 'idlwave-shell-command-setup |
| 331 | :type '(repeat | 331 | :type '(repeat |
| 332 | (cons | 332 | (cons |
| 333 | (string :tag "Label ") | 333 | (string :tag "Label ") |
| 334 | (string :tag "Command")))) | 334 | (string :tag "Command")))) |
| 335 | 335 | ||
| @@ -340,7 +340,7 @@ expression being examined." | |||
| 340 | "*Non-nil mean, put output of examine commands in their own buffer." | 340 | "*Non-nil mean, put output of examine commands in their own buffer." |
| 341 | :group 'idlwave-shell-command-setup | 341 | :group 'idlwave-shell-command-setup |
| 342 | :type 'boolean) | 342 | :type 'boolean) |
| 343 | 343 | ||
| 344 | (defcustom idlwave-shell-comint-settings | 344 | (defcustom idlwave-shell-comint-settings |
| 345 | '((comint-scroll-to-bottom-on-input . t) | 345 | '((comint-scroll-to-bottom-on-input . t) |
| 346 | (comint-scroll-to-bottom-on-output . t) | 346 | (comint-scroll-to-bottom-on-output . t) |
| @@ -403,7 +403,7 @@ strings. Here is some example code which makes use of the default spells. | |||
| 403 | answer = GET_KBRD(1) | 403 | answer = GET_KBRD(1) |
| 404 | 404 | ||
| 405 | Since the IDLWAVE shell defines the system variable `!IDLWAVE_VERSION', | 405 | Since the IDLWAVE shell defines the system variable `!IDLWAVE_VERSION', |
| 406 | you could actually check if you are running under Emacs before printing | 406 | you could actually check if you are running under Emacs before printing |
| 407 | the magic strings. Here is a procedure which uses this. | 407 | the magic strings. Here is a procedure which uses this. |
| 408 | 408 | ||
| 409 | Usage: | 409 | Usage: |
| @@ -420,7 +420,7 @@ pro idlwave_char_input,on=on,off=off | |||
| 420 | if keyword_set(on) then print,'<chars>' $ | 420 | if keyword_set(on) then print,'<chars>' $ |
| 421 | else if keyword_set(off) then print,'</chars>' $ | 421 | else if keyword_set(off) then print,'</chars>' $ |
| 422 | else print,'<onechar>' | 422 | else print,'<onechar>' |
| 423 | endif | 423 | endif |
| 424 | end" | 424 | end" |
| 425 | :group 'idlwave-shell-command-setup | 425 | :group 'idlwave-shell-command-setup |
| 426 | :type '(list | 426 | :type '(list |
| @@ -478,10 +478,10 @@ line where IDL is stopped. See also `idlwave-shell-mark-stop-line'." | |||
| 478 | :group 'idlwave-shell-highlighting-and-faces | 478 | :group 'idlwave-shell-highlighting-and-faces |
| 479 | :type 'string) | 479 | :type 'string) |
| 480 | 480 | ||
| 481 | (defcustom idlwave-shell-electric-stop-line-face | 481 | (defcustom idlwave-shell-electric-stop-line-face |
| 482 | (prog1 | 482 | (prog1 |
| 483 | (copy-face 'modeline 'idlwave-shell-electric-stop-line-face) | 483 | (copy-face 'modeline 'idlwave-shell-electric-stop-line-face) |
| 484 | (set-face-background 'idlwave-shell-electric-stop-line-face | 484 | (set-face-background 'idlwave-shell-electric-stop-line-face |
| 485 | idlwave-shell-electric-stop-color) | 485 | idlwave-shell-electric-stop-color) |
| 486 | (condition-case nil | 486 | (condition-case nil |
| 487 | (set-face-foreground 'idlwave-shell-electric-stop-line-face nil) | 487 | (set-face-foreground 'idlwave-shell-electric-stop-line-face nil) |
| @@ -527,7 +527,7 @@ lines which have a breakpoint. See also `idlwave-shell-mark-breakpoints'." | |||
| 527 | ;; Just copy the underline face to be on the safe side. | 527 | ;; Just copy the underline face to be on the safe side. |
| 528 | (copy-face 'underline 'idlwave-shell-bp-face)) | 528 | (copy-face 'underline 'idlwave-shell-bp-face)) |
| 529 | 529 | ||
| 530 | (defcustom idlwave-shell-disabled-breakpoint-face | 530 | (defcustom idlwave-shell-disabled-breakpoint-face |
| 531 | 'idlwave-shell-disabled-bp-face | 531 | 'idlwave-shell-disabled-bp-face |
| 532 | "*The face for disabled breakpoint lines in the source code. | 532 | "*The face for disabled breakpoint lines in the source code. |
| 533 | Allows you to choose the font, color and other properties for | 533 | Allows you to choose the font, color and other properties for |
| @@ -580,18 +580,18 @@ before use by the shell.") | |||
| 580 | 580 | ||
| 581 | TYPE is either 'pro' or 'rinfo', and `idlwave-shell-temp-pro-file' or | 581 | TYPE is either 'pro' or 'rinfo', and `idlwave-shell-temp-pro-file' or |
| 582 | `idlwave-shell-temp-rinfo-save-file' is set (respectively)." | 582 | `idlwave-shell-temp-rinfo-save-file' is set (respectively)." |
| 583 | (cond | 583 | (cond |
| 584 | ((eq type 'rinfo) | 584 | ((eq type 'rinfo) |
| 585 | (or idlwave-shell-temp-rinfo-save-file | 585 | (or idlwave-shell-temp-rinfo-save-file |
| 586 | (setq idlwave-shell-temp-rinfo-save-file | 586 | (setq idlwave-shell-temp-rinfo-save-file |
| 587 | (idlwave-shell-make-temp-file idlwave-shell-temp-pro-prefix)))) | 587 | (idlwave-shell-make-temp-file idlwave-shell-temp-pro-prefix)))) |
| 588 | ((eq type 'pro) | 588 | ((eq type 'pro) |
| 589 | (or idlwave-shell-temp-pro-file | 589 | (or idlwave-shell-temp-pro-file |
| 590 | (setq idlwave-shell-temp-pro-file | 590 | (setq idlwave-shell-temp-pro-file |
| 591 | (idlwave-shell-make-temp-file idlwave-shell-temp-pro-prefix)))) | 591 | (idlwave-shell-make-temp-file idlwave-shell-temp-pro-prefix)))) |
| 592 | (t (error "Wrong argument (idlwave-shell-temp-file): %s" | 592 | (t (error "Wrong argument (idlwave-shell-temp-file): %s" |
| 593 | (symbol-name type))))) | 593 | (symbol-name type))))) |
| 594 | 594 | ||
| 595 | 595 | ||
| 596 | (defun idlwave-shell-make-temp-file (prefix) | 596 | (defun idlwave-shell-make-temp-file (prefix) |
| 597 | "Create a temporary file." | 597 | "Create a temporary file." |
| @@ -619,7 +619,7 @@ TYPE is either 'pro' or 'rinfo', and `idlwave-shell-temp-pro-file' or | |||
| 619 | 619 | ||
| 620 | 620 | ||
| 621 | (defvar idlwave-shell-dirstack-query "cd,current=___cur & print,___cur" | 621 | (defvar idlwave-shell-dirstack-query "cd,current=___cur & print,___cur" |
| 622 | "Command used by `idlwave-shell-resync-dirs' to query IDL for | 622 | "Command used by `idlwave-shell-resync-dirs' to query IDL for |
| 623 | the directory stack.") | 623 | the directory stack.") |
| 624 | 624 | ||
| 625 | (defvar idlwave-shell-path-query "print,'PATH:<'+transpose(expand_path(!PATH,/ARRAY))+'>' & print,'SYSDIR:<'+!dir+'>'" | 625 | (defvar idlwave-shell-path-query "print,'PATH:<'+transpose(expand_path(!PATH,/ARRAY))+'>' & print,'SYSDIR:<'+!dir+'>'" |
| @@ -627,7 +627,7 @@ the directory stack.") | |||
| 627 | "The command which gets !PATH and !DIR info from the shell.") | 627 | "The command which gets !PATH and !DIR info from the shell.") |
| 628 | 628 | ||
| 629 | (defvar idlwave-shell-mode-line-info nil | 629 | (defvar idlwave-shell-mode-line-info nil |
| 630 | "Additional info displayed in the mode line") | 630 | "Additional info displayed in the mode line") |
| 631 | 631 | ||
| 632 | (defvar idlwave-shell-default-directory nil | 632 | (defvar idlwave-shell-default-directory nil |
| 633 | "The default directory in the idlwave-shell buffer, of outside use.") | 633 | "The default directory in the idlwave-shell buffer, of outside use.") |
| @@ -678,7 +678,7 @@ the directory stack.") | |||
| 678 | window-system) ; Window systems always | 678 | window-system) ; Window systems always |
| 679 | (progn | 679 | (progn |
| 680 | (setq idlwave-shell-stop-line-overlay (make-overlay 1 1)) | 680 | (setq idlwave-shell-stop-line-overlay (make-overlay 1 1)) |
| 681 | (overlay-put idlwave-shell-stop-line-overlay | 681 | (overlay-put idlwave-shell-stop-line-overlay |
| 682 | 'face idlwave-shell-stop-line-face)))) | 682 | 'face idlwave-shell-stop-line-face)))) |
| 683 | 683 | ||
| 684 | (t | 684 | (t |
| @@ -686,7 +686,7 @@ the directory stack.") | |||
| 686 | (if window-system | 686 | (if window-system |
| 687 | (progn | 687 | (progn |
| 688 | (setq idlwave-shell-stop-line-overlay (make-overlay 1 1)) | 688 | (setq idlwave-shell-stop-line-overlay (make-overlay 1 1)) |
| 689 | (overlay-put idlwave-shell-stop-line-overlay | 689 | (overlay-put idlwave-shell-stop-line-overlay |
| 690 | 'face idlwave-shell-stop-line-face))))) | 690 | 'face idlwave-shell-stop-line-face))))) |
| 691 | 691 | ||
| 692 | ;; Now the expression and output overlays | 692 | ;; Now the expression and output overlays |
| @@ -747,7 +747,7 @@ with `*'s." | |||
| 747 | 747 | ||
| 748 | ;;; The following are the types of messages we attempt to catch to | 748 | ;;; The following are the types of messages we attempt to catch to |
| 749 | ;;; resync our idea of where IDL execution currently is. | 749 | ;;; resync our idea of where IDL execution currently is. |
| 750 | ;;; | 750 | ;;; |
| 751 | 751 | ||
| 752 | (defvar idlwave-shell-halt-frame nil | 752 | (defvar idlwave-shell-halt-frame nil |
| 753 | "The frame associated with halt/breakpoint messages.") | 753 | "The frame associated with halt/breakpoint messages.") |
| @@ -791,7 +791,7 @@ IDL has currently stepped.") | |||
| 791 | 791 | ||
| 792 | (defconst idlwave-shell-electric-debug-help | 792 | (defconst idlwave-shell-electric-debug-help |
| 793 | " ==> IDLWAVE Electric Debug Mode Help <== | 793 | " ==> IDLWAVE Electric Debug Mode Help <== |
| 794 | 794 | ||
| 795 | Break Point Setting and Clearing: | 795 | Break Point Setting and Clearing: |
| 796 | b Set breakpoint ([C-u b] for conditional, [C-n b] nth hit, etc.). | 796 | b Set breakpoint ([C-u b] for conditional, [C-n b] nth hit, etc.). |
| 797 | d Clear nearby breakpoint. | 797 | d Clear nearby breakpoint. |
| @@ -817,7 +817,7 @@ IDL has currently stepped.") | |||
| 817 | Examining Expressions (with prefix for examining the region): | 817 | Examining Expressions (with prefix for examining the region): |
| 818 | p Print expression near point or in region ([C-u p]). | 818 | p Print expression near point or in region ([C-u p]). |
| 819 | ? Help on expression near point or in region ([C-u ?]). | 819 | ? Help on expression near point or in region ([C-u ?]). |
| 820 | x Examine expression near point or in region ([C-u x]) with | 820 | x Examine expression near point or in region ([C-u x]) with |
| 821 | letter completion of the examine type. | 821 | letter completion of the examine type. |
| 822 | 822 | ||
| 823 | Miscellaneous: | 823 | Miscellaneous: |
| @@ -871,18 +871,18 @@ IDL has currently stepped.") | |||
| 871 | `\\[idlwave-routine-info]' displays information about an IDL routine near point, | 871 | `\\[idlwave-routine-info]' displays information about an IDL routine near point, |
| 872 | just like in `idlwave-mode'. The module used is the one at point or | 872 | just like in `idlwave-mode'. The module used is the one at point or |
| 873 | the one whose argument list is being edited. | 873 | the one whose argument list is being edited. |
| 874 | To update IDLWAVE's knowledge about compiled or edited modules, use | 874 | To update IDLWAVE's knowledge about compiled or edited modules, use |
| 875 | \\[idlwave-update-routine-info]. | 875 | \\[idlwave-update-routine-info]. |
| 876 | \\[idlwave-find-module] find the source of a module. | 876 | \\[idlwave-find-module] find the source of a module. |
| 877 | \\[idlwave-resolve] tells IDL to compile an unresolved module. | 877 | \\[idlwave-resolve] tells IDL to compile an unresolved module. |
| 878 | \\[idlwave-context-help] shows the online help on the item at | 878 | \\[idlwave-context-help] shows the online help on the item at |
| 879 | point, if online help has been installed. | 879 | point, if online help has been installed. |
| 880 | 880 | ||
| 881 | 881 | ||
| 882 | 4. Debugging | 882 | 4. Debugging |
| 883 | --------- | 883 | --------- |
| 884 | A complete set of commands for compiling and debugging IDL programs | 884 | A complete set of commands for compiling and debugging IDL programs |
| 885 | is available from the menu. Also keybindings starting with a | 885 | is available from the menu. Also keybindings starting with a |
| 886 | `C-c C-d' prefix are available for most commands in the *idl* buffer | 886 | `C-c C-d' prefix are available for most commands in the *idl* buffer |
| 887 | and also in source buffers. The best place to learn about the | 887 | and also in source buffers. The best place to learn about the |
| 888 | keybindings is again the menu. | 888 | keybindings is again the menu. |
| @@ -974,8 +974,8 @@ IDL has currently stepped.") | |||
| 974 | (idlwave-shell-display-line nil) | 974 | (idlwave-shell-display-line nil) |
| 975 | (setq idlwave-shell-calling-stack-index 0) | 975 | (setq idlwave-shell-calling-stack-index 0) |
| 976 | (setq idlwave-shell-only-prompt-pattern | 976 | (setq idlwave-shell-only-prompt-pattern |
| 977 | (concat "\\`[ \t\n]*" | 977 | (concat "\\`[ \t\n]*" |
| 978 | (substring idlwave-shell-prompt-pattern 1) | 978 | (substring idlwave-shell-prompt-pattern 1) |
| 979 | "[ \t\n]*\\'")) | 979 | "[ \t\n]*\\'")) |
| 980 | 980 | ||
| 981 | (when idlwave-shell-query-for-class | 981 | (when idlwave-shell-query-for-class |
| @@ -1010,14 +1010,14 @@ IDL has currently stepped.") | |||
| 1010 | (while (setq entry (pop list)) | 1010 | (while (setq entry (pop list)) |
| 1011 | (set (make-local-variable (car entry)) (cdr entry))))) | 1011 | (set (make-local-variable (car entry)) (cdr entry))))) |
| 1012 | 1012 | ||
| 1013 | 1013 | ||
| 1014 | (unless (memq 'comint-carriage-motion | 1014 | (unless (memq 'comint-carriage-motion |
| 1015 | (default-value 'comint-output-filter-functions)) | 1015 | (default-value 'comint-output-filter-functions)) |
| 1016 | ;; Strip those pesky ctrl-m's. | 1016 | ;; Strip those pesky ctrl-m's. |
| 1017 | (add-hook 'comint-output-filter-functions | 1017 | (add-hook 'comint-output-filter-functions |
| 1018 | (lambda (string) | 1018 | (lambda (string) |
| 1019 | (when (string-match "\r" string) | 1019 | (when (string-match "\r" string) |
| 1020 | (let ((pmark (process-mark (get-buffer-process | 1020 | (let ((pmark (process-mark (get-buffer-process |
| 1021 | (current-buffer))))) | 1021 | (current-buffer))))) |
| 1022 | (save-excursion | 1022 | (save-excursion |
| 1023 | ;; bare CR -> delete preceding line | 1023 | ;; bare CR -> delete preceding line |
| @@ -1059,8 +1059,8 @@ IDL has currently stepped.") | |||
| 1059 | (idlwave-shell-send-command idlwave-shell-initial-commands nil 'hide) | 1059 | (idlwave-shell-send-command idlwave-shell-initial-commands nil 'hide) |
| 1060 | ;; Turn off IDL's ^d interpreting, and define a system | 1060 | ;; Turn off IDL's ^d interpreting, and define a system |
| 1061 | ;; variable which knows the version of IDLWAVE | 1061 | ;; variable which knows the version of IDLWAVE |
| 1062 | (idlwave-shell-send-command | 1062 | (idlwave-shell-send-command |
| 1063 | (format "defsysv,'!idlwave_version','%s',1" | 1063 | (format "defsysv,'!idlwave_version','%s',1" |
| 1064 | idlwave-mode-version) | 1064 | idlwave-mode-version) |
| 1065 | nil 'hide) | 1065 | nil 'hide) |
| 1066 | ;; Get the paths if they weren't read in from file | 1066 | ;; Get the paths if they weren't read in from file |
| @@ -1081,7 +1081,7 @@ IDL has currently stepped.") | |||
| 1081 | (setq idlwave-system-directory sysdir) | 1081 | (setq idlwave-system-directory sysdir) |
| 1082 | (put 'idlwave-system-directory 'from-shell t)) | 1082 | (put 'idlwave-system-directory 'from-shell t)) |
| 1083 | ;; Preserve any existing flags | 1083 | ;; Preserve any existing flags |
| 1084 | (setq idlwave-path-alist | 1084 | (setq idlwave-path-alist |
| 1085 | (mapcar (lambda (x) | 1085 | (mapcar (lambda (x) |
| 1086 | (let ((old-entry (assoc x old-path-alist))) | 1086 | (let ((old-entry (assoc x old-path-alist))) |
| 1087 | (if old-entry | 1087 | (if old-entry |
| @@ -1089,7 +1089,7 @@ IDL has currently stepped.") | |||
| 1089 | (list x)))) | 1089 | (list x)))) |
| 1090 | dirs)) | 1090 | dirs)) |
| 1091 | (put 'idlwave-path-alist 'from-shell t) | 1091 | (put 'idlwave-path-alist 'from-shell t) |
| 1092 | (if idlwave-path-alist | 1092 | (if idlwave-path-alist |
| 1093 | (if (and idlwave-auto-write-paths | 1093 | (if (and idlwave-auto-write-paths |
| 1094 | (not idlwave-library-path) | 1094 | (not idlwave-library-path) |
| 1095 | (not no-write) ) | 1095 | (not no-write) ) |
| @@ -1125,8 +1125,8 @@ IDL has currently stepped.") | |||
| 1125 | (frame (selected-frame))) | 1125 | (frame (selected-frame))) |
| 1126 | (catch 'exit | 1126 | (catch 'exit |
| 1127 | (while flist | 1127 | (while flist |
| 1128 | (if (not (eq (car flist) | 1128 | (if (not (eq (car flist) |
| 1129 | idlwave-shell-idl-wframe)) | 1129 | idlwave-shell-idl-wframe)) |
| 1130 | (throw 'exit (car flist)) | 1130 | (throw 'exit (car flist)) |
| 1131 | (setq flist (cdr flist)))))) | 1131 | (setq flist (cdr flist)))))) |
| 1132 | (make-frame)) | 1132 | (make-frame)) |
| @@ -1144,9 +1144,9 @@ IDL has currently stepped.") | |||
| 1144 | ;; We do not have a source frame, so we use this one. | 1144 | ;; We do not have a source frame, so we use this one. |
| 1145 | (setq idlwave-shell-display-wframe (selected-frame))) | 1145 | (setq idlwave-shell-display-wframe (selected-frame))) |
| 1146 | ;; Return a new frame | 1146 | ;; Return a new frame |
| 1147 | (setq idlwave-shell-idl-wframe | 1147 | (setq idlwave-shell-idl-wframe |
| 1148 | (make-frame idlwave-shell-frame-parameters))))) | 1148 | (make-frame idlwave-shell-frame-parameters))))) |
| 1149 | 1149 | ||
| 1150 | ;;;###autoload | 1150 | ;;;###autoload |
| 1151 | (defun idlwave-shell (&optional arg quick) | 1151 | (defun idlwave-shell (&optional arg quick) |
| 1152 | "Run an inferior IDL, with I/O through buffer `(idlwave-shell-buffer)'. | 1152 | "Run an inferior IDL, with I/O through buffer `(idlwave-shell-buffer)'. |
| @@ -1173,14 +1173,14 @@ See also the variable `idlwave-shell-prompt-pattern'. | |||
| 1173 | (delete-other-windows)) | 1173 | (delete-other-windows)) |
| 1174 | (and idlwave-shell-use-dedicated-frame | 1174 | (and idlwave-shell-use-dedicated-frame |
| 1175 | (setq idlwave-shell-idl-wframe (selected-frame))) | 1175 | (setq idlwave-shell-idl-wframe (selected-frame))) |
| 1176 | (add-hook 'idlwave-shell-sentinel-hook | 1176 | (add-hook 'idlwave-shell-sentinel-hook |
| 1177 | 'save-buffers-kill-emacs t)) | 1177 | 'save-buffers-kill-emacs t)) |
| 1178 | 1178 | ||
| 1179 | ;; A non-nil arg means, we want a dedicated frame. This will last | 1179 | ;; A non-nil arg means, we want a dedicated frame. This will last |
| 1180 | ;; for the current editing session. | 1180 | ;; for the current editing session. |
| 1181 | (if arg (setq idlwave-shell-use-dedicated-frame t)) | 1181 | (if arg (setq idlwave-shell-use-dedicated-frame t)) |
| 1182 | (if (equal arg '(16)) (setq idlwave-shell-use-dedicated-frame nil)) | 1182 | (if (equal arg '(16)) (setq idlwave-shell-use-dedicated-frame nil)) |
| 1183 | 1183 | ||
| 1184 | ;; Check if the process still exists. If not, create it. | 1184 | ;; Check if the process still exists. If not, create it. |
| 1185 | (unless (comint-check-proc (idlwave-shell-buffer)) | 1185 | (unless (comint-check-proc (idlwave-shell-buffer)) |
| 1186 | (let* ((prg (or idlwave-shell-explicit-file-name "idl")) | 1186 | (let* ((prg (or idlwave-shell-explicit-file-name "idl")) |
| @@ -1207,9 +1207,9 @@ See also the variable `idlwave-shell-prompt-pattern'. | |||
| 1207 | (if (eq (selected-frame) (window-frame window)) | 1207 | (if (eq (selected-frame) (window-frame window)) |
| 1208 | (select-window window)))) | 1208 | (select-window window)))) |
| 1209 | ;; Save the paths at the end | 1209 | ;; Save the paths at the end |
| 1210 | (add-hook 'idlwave-shell-sentinel-hook | 1210 | (add-hook 'idlwave-shell-sentinel-hook |
| 1211 | (lambda () | 1211 | (lambda () |
| 1212 | (if (and | 1212 | (if (and |
| 1213 | idlwave-auto-write-paths | 1213 | idlwave-auto-write-paths |
| 1214 | idlwave-path-alist | 1214 | idlwave-path-alist |
| 1215 | (not idlwave-library-path) | 1215 | (not idlwave-library-path) |
| @@ -1240,7 +1240,7 @@ Return either nil or 'hide." | |||
| 1240 | (setq idlwave-shell-show-commands (list type)))) | 1240 | (setq idlwave-shell-show-commands (list type)))) |
| 1241 | 1241 | ||
| 1242 | 1242 | ||
| 1243 | (defun idlwave-shell-send-command (&optional cmd pcmd hide preempt | 1243 | (defun idlwave-shell-send-command (&optional cmd pcmd hide preempt |
| 1244 | show-if-error) | 1244 | show-if-error) |
| 1245 | "Send a command to IDL process. | 1245 | "Send a command to IDL process. |
| 1246 | 1246 | ||
| @@ -1261,18 +1261,18 @@ If optional fourth argument PREEMPT is non-nil CMD is put at front of | |||
| 1261 | `idlwave-shell-pending-commands'. If PREEMPT is 'wait, wait for all | 1261 | `idlwave-shell-pending-commands'. If PREEMPT is 'wait, wait for all |
| 1262 | output to complete and the next prompt to arrive before returning | 1262 | output to complete and the next prompt to arrive before returning |
| 1263 | \(useful if you need an answer now\). IDL is considered ready if the | 1263 | \(useful if you need an answer now\). IDL is considered ready if the |
| 1264 | prompt is present and if `idlwave-shell-ready' is non-nil. | 1264 | prompt is present and if `idlwave-shell-ready' is non-nil. |
| 1265 | 1265 | ||
| 1266 | If SHOW-IF-ERROR is non-nil, show the output it it contains an error | 1266 | If SHOW-IF-ERROR is non-nil, show the output it it contains an error |
| 1267 | message, independent of what HIDE is set to." | 1267 | message, independent of what HIDE is set to." |
| 1268 | 1268 | ||
| 1269 | ; (setq hide nil) ; FIXME: turn this on for debugging only | 1269 | ; (setq hide nil) ; FIXME: turn this on for debugging only |
| 1270 | ; (if (null cmd) | 1270 | ; (if (null cmd) |
| 1271 | ; (progn | 1271 | ; (progn |
| 1272 | ; (message "SENDING Pending commands: %s" | 1272 | ; (message "SENDING Pending commands: %s" |
| 1273 | ; (prin1-to-string idlwave-shell-pending-commands))) | 1273 | ; (prin1-to-string idlwave-shell-pending-commands))) |
| 1274 | ; (message "SENDING %s|||%s" cmd pcmd)) | 1274 | ; (message "SENDING %s|||%s" cmd pcmd)) |
| 1275 | (if (and (symbolp idlwave-shell-show-commands) | 1275 | (if (and (symbolp idlwave-shell-show-commands) |
| 1276 | (eq idlwave-shell-show-commands 'everything)) | 1276 | (eq idlwave-shell-show-commands 'everything)) |
| 1277 | (setq hide nil)) | 1277 | (setq hide nil)) |
| 1278 | (let ((save-buffer (current-buffer)) | 1278 | (let ((save-buffer (current-buffer)) |
| @@ -1300,7 +1300,7 @@ message, independent of what HIDE is set to." | |||
| 1300 | (append (list (list cmd pcmd hide show-if-error)) | 1300 | (append (list (list cmd pcmd hide show-if-error)) |
| 1301 | idlwave-shell-pending-commands) | 1301 | idlwave-shell-pending-commands) |
| 1302 | ;; Put at end. | 1302 | ;; Put at end. |
| 1303 | (append idlwave-shell-pending-commands | 1303 | (append idlwave-shell-pending-commands |
| 1304 | (list (list cmd pcmd hide show-if-error)))))) | 1304 | (list (list cmd pcmd hide show-if-error)))))) |
| 1305 | ;; Check if IDL ready | 1305 | ;; Check if IDL ready |
| 1306 | (let ((save-point (point-marker))) | 1306 | (let ((save-point (point-marker))) |
| @@ -1349,7 +1349,7 @@ message, independent of what HIDE is set to." | |||
| 1349 | (if (or (not (setq buf (get-buffer (idlwave-shell-buffer)))) | 1349 | (if (or (not (setq buf (get-buffer (idlwave-shell-buffer)))) |
| 1350 | (not (setq proc (get-buffer-process buf)))) | 1350 | (not (setq proc (get-buffer-process buf)))) |
| 1351 | (funcall errf "Shell is not running")) | 1351 | (funcall errf "Shell is not running")) |
| 1352 | (if (equal c ?\C-g) | 1352 | (if (equal c ?\C-g) |
| 1353 | (funcall errf "Abort") | 1353 | (funcall errf "Abort") |
| 1354 | (comint-send-string proc (char-to-string c))))) | 1354 | (comint-send-string proc (char-to-string c))))) |
| 1355 | 1355 | ||
| @@ -1390,7 +1390,7 @@ when the IDL prompt gets displayed again after the current IDL command." | |||
| 1390 | (if idlwave-shell-ready | 1390 | (if idlwave-shell-ready |
| 1391 | (funcall errf "No IDL program seems to be waiting for input")) | 1391 | (funcall errf "No IDL program seems to be waiting for input")) |
| 1392 | 1392 | ||
| 1393 | ;; OK, start the loop | 1393 | ;; OK, start the loop |
| 1394 | (message "Character mode on: Sending single chars (`C-g' to exit)") | 1394 | (message "Character mode on: Sending single chars (`C-g' to exit)") |
| 1395 | (message | 1395 | (message |
| 1396 | (catch 'exit | 1396 | (catch 'exit |
| @@ -1470,14 +1470,14 @@ error messages, etc." | |||
| 1470 | (setq output (substring output (string-match "\n" output))) | 1470 | (setq output (substring output (string-match "\n" output))) |
| 1471 | (while (string-match "\\(\n\\|\\`\\)%.*\\(\n .*\\)*" output) | 1471 | (while (string-match "\\(\n\\|\\`\\)%.*\\(\n .*\\)*" output) |
| 1472 | (setq output (replace-match "" nil t output))) | 1472 | (setq output (replace-match "" nil t output))) |
| 1473 | (unless | 1473 | (unless |
| 1474 | (string-match idlwave-shell-only-prompt-pattern output) | 1474 | (string-match idlwave-shell-only-prompt-pattern output) |
| 1475 | output)) | 1475 | output)) |
| 1476 | 1476 | ||
| 1477 | (defvar idlwave-shell-hidden-output-buffer " *idlwave-shell-hidden-output*" | 1477 | (defvar idlwave-shell-hidden-output-buffer " *idlwave-shell-hidden-output*" |
| 1478 | "Buffer containing hidden output from IDL commands.") | 1478 | "Buffer containing hidden output from IDL commands.") |
| 1479 | (defvar idlwave-shell-current-state nil) | 1479 | (defvar idlwave-shell-current-state nil) |
| 1480 | 1480 | ||
| 1481 | (defun idlwave-shell-filter (proc string) | 1481 | (defun idlwave-shell-filter (proc string) |
| 1482 | "Watch for IDL prompt and filter incoming text. | 1482 | "Watch for IDL prompt and filter incoming text. |
| 1483 | When the IDL prompt is received executes `idlwave-shell-post-command-hook' | 1483 | When the IDL prompt is received executes `idlwave-shell-post-command-hook' |
| @@ -1509,20 +1509,20 @@ and then calls `idlwave-shell-send-command' for any pending commands." | |||
| 1509 | (idlwave-shell-input-mode-magic | 1509 | (idlwave-shell-input-mode-magic |
| 1510 | (concat idlwave-shell-accumulation string))) | 1510 | (concat idlwave-shell-accumulation string))) |
| 1511 | (setq idlwave-shell-accumulation | 1511 | (setq idlwave-shell-accumulation |
| 1512 | (substring string | 1512 | (substring string |
| 1513 | (progn (string-match "\\(.*[\n\r]+\\)*" | 1513 | (progn (string-match "\\(.*[\n\r]+\\)*" |
| 1514 | string) | 1514 | string) |
| 1515 | (match-end 0))))) | 1515 | (match-end 0))))) |
| 1516 | (setq idlwave-shell-accumulation | 1516 | (setq idlwave-shell-accumulation |
| 1517 | (concat idlwave-shell-accumulation string))) | 1517 | (concat idlwave-shell-accumulation string))) |
| 1518 | 1518 | ||
| 1519 | 1519 | ||
| 1520 | ;;; Test/Debug code | 1520 | ;;; Test/Debug code |
| 1521 | ; (save-excursion (set-buffer | 1521 | ; (save-excursion (set-buffer |
| 1522 | ; (get-buffer-create "*idlwave-shell-output*")) | 1522 | ; (get-buffer-create "*idlwave-shell-output*")) |
| 1523 | ; (goto-char (point-max)) | 1523 | ; (goto-char (point-max)) |
| 1524 | ; (insert "\nSTRING===>\n" string "\n<====\n")) | 1524 | ; (insert "\nSTRING===>\n" string "\n<====\n")) |
| 1525 | 1525 | ||
| 1526 | ;; Check for prompt in current accumulating output | 1526 | ;; Check for prompt in current accumulating output |
| 1527 | (if (setq idlwave-shell-ready | 1527 | (if (setq idlwave-shell-ready |
| 1528 | (string-match idlwave-shell-prompt-pattern | 1528 | (string-match idlwave-shell-prompt-pattern |
| @@ -1558,16 +1558,16 @@ and then calls `idlwave-shell-send-command' for any pending commands." | |||
| 1558 | (if (and idlwave-shell-show-if-error | 1558 | (if (and idlwave-shell-show-if-error |
| 1559 | (eq idlwave-shell-current-state 'error)) | 1559 | (eq idlwave-shell-current-state 'error)) |
| 1560 | (idlwave-shell-comint-filter proc full-output) | 1560 | (idlwave-shell-comint-filter proc full-output) |
| 1561 | ;; If it's only *mostly* hidden, filter % lines, | 1561 | ;; If it's only *mostly* hidden, filter % lines, |
| 1562 | ;; and show anything that remains | 1562 | ;; and show anything that remains |
| 1563 | (if (eq idlwave-shell-hide-output 'mostly) | 1563 | (if (eq idlwave-shell-hide-output 'mostly) |
| 1564 | (let ((filtered | 1564 | (let ((filtered |
| 1565 | (idlwave-shell-filter-hidden-output | 1565 | (idlwave-shell-filter-hidden-output |
| 1566 | full-output))) | 1566 | full-output))) |
| 1567 | (if filtered | 1567 | (if filtered |
| 1568 | (idlwave-shell-comint-filter | 1568 | (idlwave-shell-comint-filter |
| 1569 | proc filtered)))))) | 1569 | proc filtered)))))) |
| 1570 | 1570 | ||
| 1571 | ;; Call the post-command hook | 1571 | ;; Call the post-command hook |
| 1572 | (if (listp idlwave-shell-post-command-hook) | 1572 | (if (listp idlwave-shell-post-command-hook) |
| 1573 | (progn | 1573 | (progn |
| @@ -1612,7 +1612,7 @@ and then calls `idlwave-shell-send-command' for any pending commands." | |||
| 1612 | (condition-case nil | 1612 | (condition-case nil |
| 1613 | (comint-write-input-ring) | 1613 | (comint-write-input-ring) |
| 1614 | (error nil))))) | 1614 | (error nil))))) |
| 1615 | 1615 | ||
| 1616 | (when (and (> (length (frame-list)) 1) | 1616 | (when (and (> (length (frame-list)) 1) |
| 1617 | (frame-live-p idlwave-shell-idl-wframe)) | 1617 | (frame-live-p idlwave-shell-idl-wframe)) |
| 1618 | (delete-frame idlwave-shell-idl-wframe) | 1618 | (delete-frame idlwave-shell-idl-wframe) |
| @@ -1636,8 +1636,8 @@ and then calls `idlwave-shell-send-command' for any pending commands." | |||
| 1636 | ;; in module and file names. I am not sure if it will be necessary to | 1636 | ;; in module and file names. I am not sure if it will be necessary to |
| 1637 | ;; change this. Currently it seems to work the way it is. | 1637 | ;; change this. Currently it seems to work the way it is. |
| 1638 | (defvar idlwave-shell-syntax-error | 1638 | (defvar idlwave-shell-syntax-error |
| 1639 | "^% Syntax error.\\s-*\n\\s-*At:\\s-*\\(.*\\),\\s-*Line\\s-*\\(.*\\)" | 1639 | "^% Syntax error.\\s-*\n\\s-*At:\\s-*\\(.*\\),\\s-*Line\\s-*\\(.*\\)" |
| 1640 | "A regular expression to match an IDL syntax error. | 1640 | "A regular expression to match an IDL syntax error. |
| 1641 | The 1st pair matches the file name, the second pair matches the line | 1641 | The 1st pair matches the file name, the second pair matches the line |
| 1642 | number.") | 1642 | number.") |
| 1643 | 1643 | ||
| @@ -1645,16 +1645,16 @@ number.") | |||
| 1645 | "^% .*\n\\s-*At:\\s-*\\(.*\\),\\s-*Line\\s-*\\(.*\\)" | 1645 | "^% .*\n\\s-*At:\\s-*\\(.*\\),\\s-*Line\\s-*\\(.*\\)" |
| 1646 | "A regular expression to match any IDL error.") | 1646 | "A regular expression to match any IDL error.") |
| 1647 | 1647 | ||
| 1648 | (defvar idlwave-shell-halting-error | 1648 | (defvar idlwave-shell-halting-error |
| 1649 | "^% .*\n\\([^%].*\n\\)*% Execution halted at:\\(\\s-*\\S-+\\s-*[0-9]+\\s-*.*\\)\n" | 1649 | "^% .*\n\\([^%].*\n\\)*% Execution halted at:\\(\\s-*\\S-+\\s-*[0-9]+\\s-*.*\\)\n" |
| 1650 | "A regular expression to match errors which halt execution.") | 1650 | "A regular expression to match errors which halt execution.") |
| 1651 | 1651 | ||
| 1652 | (defvar idlwave-shell-cant-continue-error | 1652 | (defvar idlwave-shell-cant-continue-error |
| 1653 | "^% Can't continue from this point.\n" | 1653 | "^% Can't continue from this point.\n" |
| 1654 | "A regular expression to match errors stepping errors.") | 1654 | "A regular expression to match errors stepping errors.") |
| 1655 | 1655 | ||
| 1656 | (defvar idlwave-shell-file-line-message | 1656 | (defvar idlwave-shell-file-line-message |
| 1657 | (concat | 1657 | (concat |
| 1658 | "\\(" ; program name group (1) | 1658 | "\\(" ; program name group (1) |
| 1659 | "\\$MAIN\\$\\|" ; main level routine | 1659 | "\\$MAIN\\$\\|" ; main level routine |
| 1660 | "\\<[a-zA-Z][a-zA-Z0-9_$:]*" ; start with a letter followed by [..] | 1660 | "\\<[a-zA-Z][a-zA-Z0-9_$:]*" ; start with a letter followed by [..] |
| @@ -1672,7 +1672,7 @@ number.") | |||
| 1672 | "\\)" ; end line number group (5) | 1672 | "\\)" ; end line number group (5) |
| 1673 | ) | 1673 | ) |
| 1674 | "*A regular expression to parse out the file name and line number. | 1674 | "*A regular expression to parse out the file name and line number. |
| 1675 | The 1st group should match the subroutine name. | 1675 | The 1st group should match the subroutine name. |
| 1676 | The 3rd group is the line number. | 1676 | The 3rd group is the line number. |
| 1677 | The 5th group is the file name. | 1677 | The 5th group is the file name. |
| 1678 | All parts may contain linebreaks surrounded by spaces. This is important | 1678 | All parts may contain linebreaks surrounded by spaces. This is important |
| @@ -1691,9 +1691,9 @@ the above." | |||
| 1691 | (cond | 1691 | (cond |
| 1692 | ;; Make sure we have output | 1692 | ;; Make sure we have output |
| 1693 | ((not idlwave-shell-command-output)) | 1693 | ((not idlwave-shell-command-output)) |
| 1694 | 1694 | ||
| 1695 | ;; First Priority: Syntax and other errors | 1695 | ;; First Priority: Syntax and other errors |
| 1696 | ((or | 1696 | ((or |
| 1697 | (string-match idlwave-shell-syntax-error | 1697 | (string-match idlwave-shell-syntax-error |
| 1698 | idlwave-shell-command-output) | 1698 | idlwave-shell-command-output) |
| 1699 | (string-match idlwave-shell-other-error | 1699 | (string-match idlwave-shell-other-error |
| @@ -1707,19 +1707,19 @@ the above." | |||
| 1707 | (setq idlwave-shell-error-last (point))) | 1707 | (setq idlwave-shell-error-last (point))) |
| 1708 | (setq idlwave-shell-current-state 'error) | 1708 | (setq idlwave-shell-current-state 'error) |
| 1709 | (idlwave-shell-goto-next-error)) | 1709 | (idlwave-shell-goto-next-error)) |
| 1710 | 1710 | ||
| 1711 | ;; Second Priority: Halting errors | 1711 | ;; Second Priority: Halting errors |
| 1712 | ((string-match idlwave-shell-halting-error | 1712 | ((string-match idlwave-shell-halting-error |
| 1713 | idlwave-shell-command-output) | 1713 | idlwave-shell-command-output) |
| 1714 | ;; Grab the file and line state info. | 1714 | ;; Grab the file and line state info. |
| 1715 | (setq idlwave-shell-calling-stack-index 0) | 1715 | (setq idlwave-shell-calling-stack-index 0) |
| 1716 | (setq idlwave-shell-halt-frame | 1716 | (setq idlwave-shell-halt-frame |
| 1717 | (idlwave-shell-parse-line | 1717 | (idlwave-shell-parse-line |
| 1718 | (substring idlwave-shell-command-output | 1718 | (substring idlwave-shell-command-output |
| 1719 | (match-beginning 2))) | 1719 | (match-beginning 2))) |
| 1720 | idlwave-shell-current-state 'error) | 1720 | idlwave-shell-current-state 'error) |
| 1721 | (idlwave-shell-display-line (idlwave-shell-pc-frame))) | 1721 | (idlwave-shell-display-line (idlwave-shell-pc-frame))) |
| 1722 | 1722 | ||
| 1723 | ;; Third Priority: Various types of innocuous HALT and | 1723 | ;; Third Priority: Various types of innocuous HALT and |
| 1724 | ;; TRACEBACK messages. | 1724 | ;; TRACEBACK messages. |
| 1725 | ((or (setq trace (string-match idlwave-shell-trace-message-re | 1725 | ((or (setq trace (string-match idlwave-shell-trace-message-re |
| @@ -1729,25 +1729,25 @@ the above." | |||
| 1729 | ;; Grab the file and line state info. | 1729 | ;; Grab the file and line state info. |
| 1730 | (setq idlwave-shell-calling-stack-index 0) | 1730 | (setq idlwave-shell-calling-stack-index 0) |
| 1731 | (setq idlwave-shell-halt-frame | 1731 | (setq idlwave-shell-halt-frame |
| 1732 | (idlwave-shell-parse-line | 1732 | (idlwave-shell-parse-line |
| 1733 | (substring idlwave-shell-command-output (match-end 0)))) | 1733 | (substring idlwave-shell-command-output (match-end 0)))) |
| 1734 | (setq idlwave-shell-current-state 'halt) | 1734 | (setq idlwave-shell-current-state 'halt) |
| 1735 | ;; Don't debug trace messages | 1735 | ;; Don't debug trace messages |
| 1736 | (idlwave-shell-display-line (idlwave-shell-pc-frame) nil | 1736 | (idlwave-shell-display-line (idlwave-shell-pc-frame) nil |
| 1737 | (if trace 'no-debug))) | 1737 | (if trace 'no-debug))) |
| 1738 | 1738 | ||
| 1739 | ;; Fourth Priority: Breakpoints | 1739 | ;; Fourth Priority: Breakpoints |
| 1740 | ((string-match idlwave-shell-break-message | 1740 | ((string-match idlwave-shell-break-message |
| 1741 | idlwave-shell-command-output) | 1741 | idlwave-shell-command-output) |
| 1742 | (setq idlwave-shell-calling-stack-index 0) | 1742 | (setq idlwave-shell-calling-stack-index 0) |
| 1743 | (setq idlwave-shell-halt-frame | 1743 | (setq idlwave-shell-halt-frame |
| 1744 | (idlwave-shell-parse-line | 1744 | (idlwave-shell-parse-line |
| 1745 | (substring idlwave-shell-command-output (match-end 0)))) | 1745 | (substring idlwave-shell-command-output (match-end 0)))) |
| 1746 | ;; We used to count hits on breakpoints | 1746 | ;; We used to count hits on breakpoints |
| 1747 | ;; this is no longer supported since IDL breakpoints | 1747 | ;; this is no longer supported since IDL breakpoints |
| 1748 | ;; have learned counting. | 1748 | ;; have learned counting. |
| 1749 | ;; Do breakpoint command processing | 1749 | ;; Do breakpoint command processing |
| 1750 | (let ((bp (assoc | 1750 | (let ((bp (assoc |
| 1751 | (list | 1751 | (list |
| 1752 | (nth 0 idlwave-shell-halt-frame) | 1752 | (nth 0 idlwave-shell-halt-frame) |
| 1753 | (nth 1 idlwave-shell-halt-frame)) | 1753 | (nth 1 idlwave-shell-halt-frame)) |
| @@ -1760,9 +1760,9 @@ the above." | |||
| 1760 | ;; A breakpoint that we did not know about - perhaps it was | 1760 | ;; A breakpoint that we did not know about - perhaps it was |
| 1761 | ;; set by the user... Let's update our list. | 1761 | ;; set by the user... Let's update our list. |
| 1762 | (idlwave-shell-bp-query))) | 1762 | (idlwave-shell-bp-query))) |
| 1763 | (setq idlwave-shell-current-state 'breakpoint) | 1763 | (setq idlwave-shell-current-state 'breakpoint) |
| 1764 | (idlwave-shell-display-line (idlwave-shell-pc-frame))) | 1764 | (idlwave-shell-display-line (idlwave-shell-pc-frame))) |
| 1765 | 1765 | ||
| 1766 | ;; Last Priority: Can't Step errors | 1766 | ;; Last Priority: Can't Step errors |
| 1767 | ((string-match idlwave-shell-cant-continue-error | 1767 | ((string-match idlwave-shell-cant-continue-error |
| 1768 | idlwave-shell-command-output) | 1768 | idlwave-shell-command-output) |
| @@ -1777,7 +1777,7 @@ We need to work hard here to remove the stupid line breaks inserted by | |||
| 1777 | IDL5. These line breaks can be right in the middle of procedure | 1777 | IDL5. These line breaks can be right in the middle of procedure |
| 1778 | or file names. | 1778 | or file names. |
| 1779 | It is very difficult to come up with a robust solution. This one seems | 1779 | It is very difficult to come up with a robust solution. This one seems |
| 1780 | to be pretty good though. | 1780 | to be pretty good though. |
| 1781 | 1781 | ||
| 1782 | Here is in what ways it improves over the previous solution: | 1782 | Here is in what ways it improves over the previous solution: |
| 1783 | 1783 | ||
| @@ -1802,7 +1802,7 @@ statements." | |||
| 1802 | (setq procedure (match-string 1 string) | 1802 | (setq procedure (match-string 1 string) |
| 1803 | number (match-string 3 string) | 1803 | number (match-string 3 string) |
| 1804 | file (match-string 5 string)) | 1804 | file (match-string 5 string)) |
| 1805 | 1805 | ||
| 1806 | ;; Repair the strings | 1806 | ;; Repair the strings |
| 1807 | (setq procedure (idlwave-shell-repair-string procedure)) | 1807 | (setq procedure (idlwave-shell-repair-string procedure)) |
| 1808 | (setq number (idlwave-shell-repair-string number)) | 1808 | (setq number (idlwave-shell-repair-string number)) |
| @@ -1811,7 +1811,7 @@ statements." | |||
| 1811 | ;; If we have a file, return the frame list | 1811 | ;; If we have a file, return the frame list |
| 1812 | (if file | 1812 | (if file |
| 1813 | (list (idlwave-shell-file-name file) | 1813 | (list (idlwave-shell-file-name file) |
| 1814 | (string-to-int number) | 1814 | (string-to-number number) |
| 1815 | procedure) | 1815 | procedure) |
| 1816 | ;; No success finding a file | 1816 | ;; No success finding a file |
| 1817 | nil)))) | 1817 | nil)))) |
| @@ -1828,7 +1828,7 @@ The last line of STRING may be garbage - we check which one makes a valid | |||
| 1828 | file name." | 1828 | file name." |
| 1829 | (let ((file1 "") (file2 "") (start 0)) | 1829 | (let ((file1 "") (file2 "") (start 0)) |
| 1830 | ;; We scan no further than to the next "^%" line | 1830 | ;; We scan no further than to the next "^%" line |
| 1831 | (if (string-match "^%" file) | 1831 | (if (string-match "^%" file) |
| 1832 | (setq file (substring file 0 (match-beginning 0)))) | 1832 | (setq file (substring file 0 (match-beginning 0)))) |
| 1833 | ;; Take out the line breaks | 1833 | ;; Take out the line breaks |
| 1834 | (while (string-match "[ \t]*\n[ \t]*" file start) | 1834 | (while (string-match "[ \t]*\n[ \t]*" file start) |
| @@ -1883,7 +1883,7 @@ file name." | |||
| 1883 | The size is given by `idlwave-shell-graphics-window-size'." | 1883 | The size is given by `idlwave-shell-graphics-window-size'." |
| 1884 | (interactive "P") | 1884 | (interactive "P") |
| 1885 | (let ((n (if n (prefix-numeric-value n) 0))) | 1885 | (let ((n (if n (prefix-numeric-value n) 0))) |
| 1886 | (idlwave-shell-send-command | 1886 | (idlwave-shell-send-command |
| 1887 | (apply 'format "window,%d,xs=%d,ys=%d" | 1887 | (apply 'format "window,%d,xs=%d,ys=%d" |
| 1888 | n idlwave-shell-graphics-window-size) | 1888 | n idlwave-shell-graphics-window-size) |
| 1889 | nil (idlwave-shell-hide-p 'misc) nil t))) | 1889 | nil (idlwave-shell-hide-p 'misc) nil t))) |
| @@ -1903,16 +1903,16 @@ directory." | |||
| 1903 | Also get rid of widget events in the queue." | 1903 | Also get rid of widget events in the queue." |
| 1904 | (interactive "P") | 1904 | (interactive "P") |
| 1905 | (save-selected-window | 1905 | (save-selected-window |
| 1906 | ;;if (widget_info(/MANAGED))[0] gt 0 then for i=0,n_elements(widget_info(/MANAGED))-1 do widget_control,(widget_info(/MANAGED))[i],/clear_events & | 1906 | ;;if (widget_info(/MANAGED))[0] gt 0 then for i=0,n_elements(widget_info(/MANAGED))-1 do widget_control,(widget_info(/MANAGED))[i],/clear_events & |
| 1907 | (idlwave-shell-send-command "retall" nil | 1907 | (idlwave-shell-send-command "retall" nil |
| 1908 | (if (idlwave-shell-hide-p 'misc) 'mostly) | 1908 | (if (idlwave-shell-hide-p 'misc) 'mostly) |
| 1909 | nil t) | 1909 | nil t) |
| 1910 | (idlwave-shell-display-line nil))) | 1910 | (idlwave-shell-display-line nil))) |
| 1911 | 1911 | ||
| 1912 | (defun idlwave-shell-closeall (&optional arg) | 1912 | (defun idlwave-shell-closeall (&optional arg) |
| 1913 | "Close all open files." | 1913 | "Close all open files." |
| 1914 | (interactive "P") | 1914 | (interactive "P") |
| 1915 | (idlwave-shell-send-command "close,/all" nil | 1915 | (idlwave-shell-send-command "close,/all" nil |
| 1916 | (idlwave-shell-hide-p 'misc) nil t)) | 1916 | (idlwave-shell-hide-p 'misc) nil t)) |
| 1917 | 1917 | ||
| 1918 | (defun idlwave-shell-quit (&optional arg) | 1918 | (defun idlwave-shell-quit (&optional arg) |
| @@ -1928,7 +1928,7 @@ With prefix ARG, exit without confirmation." | |||
| 1928 | 1928 | ||
| 1929 | (defun idlwave-shell-reset (&optional hidden) | 1929 | (defun idlwave-shell-reset (&optional hidden) |
| 1930 | "Reset IDL. Return to main level and destroy the leftover variables. | 1930 | "Reset IDL. Return to main level and destroy the leftover variables. |
| 1931 | This issues the following commands: | 1931 | This issues the following commands: |
| 1932 | RETALL | 1932 | RETALL |
| 1933 | WIDGET_CONTROL,/RESET | 1933 | WIDGET_CONTROL,/RESET |
| 1934 | CLOSE, /ALL | 1934 | CLOSE, /ALL |
| @@ -1978,14 +1978,14 @@ HEAP_GC, /VERBOSE" | |||
| 1978 | ;; Set dummy values and kill the text | 1978 | ;; Set dummy values and kill the text |
| 1979 | (setq sep "@" sep-re "@ *" text "") | 1979 | (setq sep "@" sep-re "@ *" text "") |
| 1980 | (if idlwave-idlwave_routine_info-compiled | 1980 | (if idlwave-idlwave_routine_info-compiled |
| 1981 | (message | 1981 | (message |
| 1982 | "Routine Info warning: No match for BEGIN line in \n>>>\n%s\n<<<\n" | 1982 | "Routine Info warning: No match for BEGIN line in \n>>>\n%s\n<<<\n" |
| 1983 | idlwave-shell-command-output))) | 1983 | idlwave-shell-command-output))) |
| 1984 | (if (string-match "^>>>END OF IDLWAVE ROUTINE INFO.*" text) | 1984 | (if (string-match "^>>>END OF IDLWAVE ROUTINE INFO.*" text) |
| 1985 | (setq text (substring text 0 (match-beginning 0))) | 1985 | (setq text (substring text 0 (match-beginning 0))) |
| 1986 | (if idlwave-idlwave_routine_info-compiled | 1986 | (if idlwave-idlwave_routine_info-compiled |
| 1987 | (message | 1987 | (message |
| 1988 | "Routine Info warning: No match for END line in \n>>>\n%s\n<<<\n" | 1988 | "Routine Info warning: No match for END line in \n>>>\n%s\n<<<\n" |
| 1989 | idlwave-shell-command-output))) | 1989 | idlwave-shell-command-output))) |
| 1990 | (if (string-match "\\S-" text) | 1990 | (if (string-match "\\S-" text) |
| 1991 | ;; Obviously, the pro worked. Make a note that we have it now. | 1991 | ;; Obviously, the pro worked. Make a note that we have it now. |
| @@ -2003,59 +2003,59 @@ HEAP_GC, /VERBOSE" | |||
| 2003 | key (nth 4 specs) | 2003 | key (nth 4 specs) |
| 2004 | keys (if (and (stringp key) | 2004 | keys (if (and (stringp key) |
| 2005 | (not (string-match "\\` *\\'" key))) | 2005 | (not (string-match "\\` *\\'" key))) |
| 2006 | (mapcar 'list | 2006 | (mapcar 'list |
| 2007 | (delete "" (idlwave-split-string key " +"))))) | 2007 | (delete "" (idlwave-split-string key " +"))))) |
| 2008 | (setq name (idlwave-sintern-routine-or-method name class t) | 2008 | (setq name (idlwave-sintern-routine-or-method name class t) |
| 2009 | class (idlwave-sintern-class class t) | 2009 | class (idlwave-sintern-class class t) |
| 2010 | file (if (equal file "") nil file) | 2010 | file (if (equal file "") nil file) |
| 2011 | keys (mapcar (lambda (x) | 2011 | keys (mapcar (lambda (x) |
| 2012 | (list (idlwave-sintern-keyword (car x) t))) keys)) | 2012 | (list (idlwave-sintern-keyword (car x) t))) keys)) |
| 2013 | 2013 | ||
| 2014 | ;; In the following ignore routines already defined in buffers, | 2014 | ;; In the following ignore routines already defined in buffers, |
| 2015 | ;; assuming that if the buffer stuff differs, it is a "new" | 2015 | ;; assuming that if the buffer stuff differs, it is a "new" |
| 2016 | ;; version, not yet compiled, and should take precedence. | 2016 | ;; version, not yet compiled, and should take precedence. |
| 2017 | ;; We could do the same for the library to avoid duplicates - | 2017 | ;; We could do the same for the library to avoid duplicates - |
| 2018 | ;; but I think frequently a user might have several versions of | 2018 | ;; but I think frequently a user might have several versions of |
| 2019 | ;; the same function in different programs, and in this case the | 2019 | ;; the same function in different programs, and in this case the |
| 2020 | ;; compiled one will be the best guess of all versions. | 2020 | ;; compiled one will be the best guess of all versions. |
| 2021 | ;; Therefore, we leave duplicates of library routines in. | 2021 | ;; Therefore, we leave duplicates of library routines in. |
| 2022 | (cond ((string= name "$MAIN$")) ; ignore this one | 2022 | (cond ((string= name "$MAIN$")) ; ignore this one |
| 2023 | ((and (string= type "PRO") | 2023 | ((and (string= type "PRO") |
| 2024 | ;; FIXME: is it OK to make the buffer routines dominate? | 2024 | ;; FIXME: is it OK to make the buffer routines dominate? |
| 2025 | (or t (null file) | 2025 | (or t (null file) |
| 2026 | (not (idlwave-rinfo-assq name 'pro class | 2026 | (not (idlwave-rinfo-assq name 'pro class |
| 2027 | idlwave-buffer-routines))) | 2027 | idlwave-buffer-routines))) |
| 2028 | ;; FIXME: is it OK to make the library routines dominate? | 2028 | ;; FIXME: is it OK to make the library routines dominate? |
| 2029 | ;;(not (idlwave-rinfo-assq name 'pro class | 2029 | ;;(not (idlwave-rinfo-assq name 'pro class |
| 2030 | ;; idlwave-library-routines)) | 2030 | ;; idlwave-library-routines)) |
| 2031 | ) | 2031 | ) |
| 2032 | (setq entry (list name 'pro class | 2032 | (setq entry (list name 'pro class |
| 2033 | (cons 'compiled | 2033 | (cons 'compiled |
| 2034 | (if file | 2034 | (if file |
| 2035 | (list | 2035 | (list |
| 2036 | (file-name-nondirectory file) | 2036 | (file-name-nondirectory file) |
| 2037 | (idlwave-sintern-dir | 2037 | (idlwave-sintern-dir |
| 2038 | (file-name-directory file))))) | 2038 | (file-name-directory file))))) |
| 2039 | cs (cons nil keys))) | 2039 | cs (cons nil keys))) |
| 2040 | (if file | 2040 | (if file |
| 2041 | (push entry idlwave-compiled-routines) | 2041 | (push entry idlwave-compiled-routines) |
| 2042 | (push entry idlwave-unresolved-routines))) | 2042 | (push entry idlwave-unresolved-routines))) |
| 2043 | 2043 | ||
| 2044 | ((and (string= type "FUN") | 2044 | ((and (string= type "FUN") |
| 2045 | ;; FIXME: is it OK to make the buffer routines dominate? | 2045 | ;; FIXME: is it OK to make the buffer routines dominate? |
| 2046 | (or t (not file) | 2046 | (or t (not file) |
| 2047 | (not (idlwave-rinfo-assq name 'fun class | 2047 | (not (idlwave-rinfo-assq name 'fun class |
| 2048 | idlwave-buffer-routines))) | 2048 | idlwave-buffer-routines))) |
| 2049 | ;; FIXME: is it OK to make the library routines dominate? | 2049 | ;; FIXME: is it OK to make the library routines dominate? |
| 2050 | ;; (not (idlwave-rinfo-assq name 'fun class | 2050 | ;; (not (idlwave-rinfo-assq name 'fun class |
| 2051 | ;; idlwave-library-routines)) | 2051 | ;; idlwave-library-routines)) |
| 2052 | ) | 2052 | ) |
| 2053 | (setq entry (list name 'fun class | 2053 | (setq entry (list name 'fun class |
| 2054 | (cons 'compiled | 2054 | (cons 'compiled |
| 2055 | (if file | 2055 | (if file |
| 2056 | (list | 2056 | (list |
| 2057 | (file-name-nondirectory file) | 2057 | (file-name-nondirectory file) |
| 2058 | (idlwave-sintern-dir | 2058 | (idlwave-sintern-dir |
| 2059 | (file-name-directory file))))) | 2059 | (file-name-directory file))))) |
| 2060 | cs (cons nil keys))) | 2060 | cs (cons nil keys))) |
| 2061 | (if file | 2061 | (if file |
| @@ -2072,7 +2072,7 @@ Change the default directory for the process buffer to concur." | |||
| 2072 | (set-buffer (idlwave-shell-buffer)) | 2072 | (set-buffer (idlwave-shell-buffer)) |
| 2073 | (if (string-match ",___cur[\n\r]\\(\\S-*\\) *[\n\r]" | 2073 | (if (string-match ",___cur[\n\r]\\(\\S-*\\) *[\n\r]" |
| 2074 | idlwave-shell-command-output) | 2074 | idlwave-shell-command-output) |
| 2075 | (let ((dir (substring idlwave-shell-command-output | 2075 | (let ((dir (substring idlwave-shell-command-output |
| 2076 | (match-beginning 1) (match-end 1)))) | 2076 | (match-beginning 1) (match-end 1)))) |
| 2077 | ; (message "Setting Emacs working dir to %s" dir) | 2077 | ; (message "Setting Emacs working dir to %s" dir) |
| 2078 | (setq idlwave-shell-default-directory dir) | 2078 | (setq idlwave-shell-default-directory dir) |
| @@ -2086,10 +2086,10 @@ Change the default directory for the process buffer to concur." | |||
| 2086 | expression) | 2086 | expression) |
| 2087 | (save-excursion | 2087 | (save-excursion |
| 2088 | (goto-char apos) | 2088 | (goto-char apos) |
| 2089 | (setq expression (buffer-substring | 2089 | (setq expression (buffer-substring |
| 2090 | (catch 'exit | 2090 | (catch 'exit |
| 2091 | (while t | 2091 | (while t |
| 2092 | (if (not (re-search-backward | 2092 | (if (not (re-search-backward |
| 2093 | "[^][.A-Za-z0-9_() ]" bos t)) | 2093 | "[^][.A-Za-z0-9_() ]" bos t)) |
| 2094 | (throw 'exit bos)) ;ran into bos | 2094 | (throw 'exit bos)) ;ran into bos |
| 2095 | (if (not (idlwave-is-pointer-dereference bol)) | 2095 | (if (not (idlwave-is-pointer-dereference bol)) |
| @@ -2117,7 +2117,7 @@ Change the default directory for the process buffer to concur." | |||
| 2117 | idlwave-shell-command-output)) | 2117 | idlwave-shell-command-output)) |
| 2118 | (string-match (concat match "\\([A-Za-z_0-9]+\\)") | 2118 | (string-match (concat match "\\([A-Za-z_0-9]+\\)") |
| 2119 | idlwave-shell-command-output)) | 2119 | idlwave-shell-command-output)) |
| 2120 | (setq idlwave-shell-get-object-class | 2120 | (setq idlwave-shell-get-object-class |
| 2121 | (match-string 1 idlwave-shell-command-output))))) | 2121 | (match-string 1 idlwave-shell-command-output))))) |
| 2122 | 2122 | ||
| 2123 | (defvar idlwave-sint-sysvars nil) | 2123 | (defvar idlwave-sint-sysvars nil) |
| @@ -2131,7 +2131,7 @@ keywords." | |||
| 2131 | (interactive "P") | 2131 | (interactive "P") |
| 2132 | (let (exec-cmd) | 2132 | (let (exec-cmd) |
| 2133 | (cond | 2133 | (cond |
| 2134 | ((and | 2134 | ((and |
| 2135 | (setq exec-cmd (idlwave-shell-executive-command)) | 2135 | (setq exec-cmd (idlwave-shell-executive-command)) |
| 2136 | (cdr exec-cmd) | 2136 | (cdr exec-cmd) |
| 2137 | (member (upcase (cdr exec-cmd)) | 2137 | (member (upcase (cdr exec-cmd)) |
| @@ -2141,7 +2141,7 @@ keywords." | |||
| 2141 | (idlwave-shell-complete-filename)) | 2141 | (idlwave-shell-complete-filename)) |
| 2142 | 2142 | ||
| 2143 | ((car-safe exec-cmd) | 2143 | ((car-safe exec-cmd) |
| 2144 | (setq idlwave-completion-help-info | 2144 | (setq idlwave-completion-help-info |
| 2145 | '(idlwave-shell-complete-execcomm-help)) | 2145 | '(idlwave-shell-complete-execcomm-help)) |
| 2146 | (idlwave-complete-in-buffer 'execcomm 'execcomm | 2146 | (idlwave-complete-in-buffer 'execcomm 'execcomm |
| 2147 | idlwave-executive-commands-alist nil | 2147 | idlwave-executive-commands-alist nil |
| @@ -2160,7 +2160,7 @@ keywords." | |||
| 2160 | (let ((case-fold-search t)) | 2160 | (let ((case-fold-search t)) |
| 2161 | (not (looking-at ".*obj_new"))))) | 2161 | (not (looking-at ".*obj_new"))))) |
| 2162 | (idlwave-shell-complete-filename)) | 2162 | (idlwave-shell-complete-filename)) |
| 2163 | 2163 | ||
| 2164 | (t | 2164 | (t |
| 2165 | ;; Default completion of modules and keywords | 2165 | ;; Default completion of modules and keywords |
| 2166 | (idlwave-complete arg))))) | 2166 | (idlwave-complete arg))))) |
| @@ -2182,7 +2182,7 @@ keywords." | |||
| 2182 | We assume that we are after a file name when completing one of the | 2182 | We assume that we are after a file name when completing one of the |
| 2183 | args of an executive .run, .rnew or .compile." | 2183 | args of an executive .run, .rnew or .compile." |
| 2184 | ;; CWD might have changed, resync, to set default directory | 2184 | ;; CWD might have changed, resync, to set default directory |
| 2185 | (idlwave-shell-resync-dirs) | 2185 | (idlwave-shell-resync-dirs) |
| 2186 | (let ((comint-file-name-chars idlwave-shell-file-name-chars)) | 2186 | (let ((comint-file-name-chars idlwave-shell-file-name-chars)) |
| 2187 | (comint-dynamic-complete-as-filename))) | 2187 | (comint-dynamic-complete-as-filename))) |
| 2188 | 2188 | ||
| @@ -2223,7 +2223,7 @@ args of an executive .run, .rnew or .compile." | |||
| 2223 | 2223 | ||
| 2224 | (defun idlwave-shell-redisplay (&optional hide) | 2224 | (defun idlwave-shell-redisplay (&optional hide) |
| 2225 | "Tries to resync the display with where execution has stopped. | 2225 | "Tries to resync the display with where execution has stopped. |
| 2226 | Issues a \"help,/trace\" command followed by a call to | 2226 | Issues a \"help,/trace\" command followed by a call to |
| 2227 | `idlwave-shell-display-line'. Also updates the breakpoint | 2227 | `idlwave-shell-display-line'. Also updates the breakpoint |
| 2228 | overlays." | 2228 | overlays." |
| 2229 | (interactive) | 2229 | (interactive) |
| @@ -2236,7 +2236,7 @@ overlays." | |||
| 2236 | (idlwave-shell-bp-query)) | 2236 | (idlwave-shell-bp-query)) |
| 2237 | 2237 | ||
| 2238 | (defun idlwave-shell-display-level-in-calling-stack (&optional hide) | 2238 | (defun idlwave-shell-display-level-in-calling-stack (&optional hide) |
| 2239 | (idlwave-shell-send-command | 2239 | (idlwave-shell-send-command |
| 2240 | "help,/trace" | 2240 | "help,/trace" |
| 2241 | `(progn | 2241 | `(progn |
| 2242 | ;; scanning for the state will reset the stack level - restore it | 2242 | ;; scanning for the state will reset the stack level - restore it |
| @@ -2267,14 +2267,14 @@ overlays." | |||
| 2267 | (setq idlwave-shell-calling-stack-index nmin | 2267 | (setq idlwave-shell-calling-stack-index nmin |
| 2268 | message (format "%d is the current calling stack level - can't go further down" | 2268 | message (format "%d is the current calling stack level - can't go further down" |
| 2269 | (- nmin))))) | 2269 | (- nmin))))) |
| 2270 | (setq idlwave-shell-calling-stack-routine | 2270 | (setq idlwave-shell-calling-stack-routine |
| 2271 | (nth 2 (nth idlwave-shell-calling-stack-index stack))) | 2271 | (nth 2 (nth idlwave-shell-calling-stack-index stack))) |
| 2272 | 2272 | ||
| 2273 | ;; only edebug if in that mode already | 2273 | ;; only edebug if in that mode already |
| 2274 | (idlwave-shell-display-line | 2274 | (idlwave-shell-display-line |
| 2275 | (nth idlwave-shell-calling-stack-index stack) nil | 2275 | (nth idlwave-shell-calling-stack-index stack) nil |
| 2276 | (unless idlwave-shell-electric-debug-mode 'no-debug)) | 2276 | (unless idlwave-shell-electric-debug-mode 'no-debug)) |
| 2277 | (message (or message | 2277 | (message (or message |
| 2278 | (format "In routine %s (stack level %d)" | 2278 | (format "In routine %s (stack level %d)" |
| 2279 | idlwave-shell-calling-stack-routine | 2279 | idlwave-shell-calling-stack-routine |
| 2280 | (- idlwave-shell-calling-stack-index)))))) | 2280 | (- idlwave-shell-calling-stack-index)))))) |
| @@ -2305,7 +2305,7 @@ used. Does nothing if the resulting frame is nil." | |||
| 2305 | (defun idlwave-shell-pc-frame () | 2305 | (defun idlwave-shell-pc-frame () |
| 2306 | "Returns the frame for IDL execution." | 2306 | "Returns the frame for IDL execution." |
| 2307 | (and idlwave-shell-halt-frame | 2307 | (and idlwave-shell-halt-frame |
| 2308 | (list (nth 0 idlwave-shell-halt-frame) | 2308 | (list (nth 0 idlwave-shell-halt-frame) |
| 2309 | (nth 1 idlwave-shell-halt-frame) | 2309 | (nth 1 idlwave-shell-halt-frame) |
| 2310 | (nth 2 idlwave-shell-halt-frame)))) | 2310 | (nth 2 idlwave-shell-halt-frame)))) |
| 2311 | 2311 | ||
| @@ -2323,7 +2323,7 @@ column in the line. If NO-DEBUG is non-nil, do *not* toggle the electric | |||
| 2323 | debug mode." | 2323 | debug mode." |
| 2324 | (if (not frame) | 2324 | (if (not frame) |
| 2325 | ;; Remove stop-line overlay from old position | 2325 | ;; Remove stop-line overlay from old position |
| 2326 | (progn | 2326 | (progn |
| 2327 | (setq overlay-arrow-string nil) | 2327 | (setq overlay-arrow-string nil) |
| 2328 | (setq idlwave-shell-mode-line-info nil) | 2328 | (setq idlwave-shell-mode-line-info nil) |
| 2329 | (setq idlwave-shell-is-stopped nil) | 2329 | (setq idlwave-shell-is-stopped nil) |
| @@ -2340,10 +2340,10 @@ debug mode." | |||
| 2340 | ;;; | 2340 | ;;; |
| 2341 | ;;; buffer : the buffer to display a line in. | 2341 | ;;; buffer : the buffer to display a line in. |
| 2342 | ;;; select-shell: current buffer is the shell. | 2342 | ;;; select-shell: current buffer is the shell. |
| 2343 | ;;; | 2343 | ;;; |
| 2344 | (setq idlwave-shell-mode-line-info | 2344 | (setq idlwave-shell-mode-line-info |
| 2345 | (if (nth 2 frame) | 2345 | (if (nth 2 frame) |
| 2346 | (format "[%d:%s]" | 2346 | (format "[%d:%s]" |
| 2347 | (- idlwave-shell-calling-stack-index) | 2347 | (- idlwave-shell-calling-stack-index) |
| 2348 | (nth 2 frame)))) | 2348 | (nth 2 frame)))) |
| 2349 | (let* ((buffer (idlwave-find-file-noselect (car frame) 'shell)) | 2349 | (let* ((buffer (idlwave-find-file-noselect (car frame) 'shell)) |
| @@ -2367,7 +2367,7 @@ debug mode." | |||
| 2367 | (forward-line 0) | 2367 | (forward-line 0) |
| 2368 | (setq pos (point)) | 2368 | (setq pos (point)) |
| 2369 | (setq idlwave-shell-is-stopped t) | 2369 | (setq idlwave-shell-is-stopped t) |
| 2370 | 2370 | ||
| 2371 | (if idlwave-shell-stop-line-overlay | 2371 | (if idlwave-shell-stop-line-overlay |
| 2372 | ;; Move overlay | 2372 | ;; Move overlay |
| 2373 | (move-overlay idlwave-shell-stop-line-overlay | 2373 | (move-overlay idlwave-shell-stop-line-overlay |
| @@ -2389,12 +2389,12 @@ debug mode." | |||
| 2389 | ;; If we have the column of the error, move the cursor there. | 2389 | ;; If we have the column of the error, move the cursor there. |
| 2390 | (if col (move-to-column col)) | 2390 | (if col (move-to-column col)) |
| 2391 | (setq pos (point)) | 2391 | (setq pos (point)) |
| 2392 | 2392 | ||
| 2393 | ;; Enter electric debug mode, if not prohibited and not in | 2393 | ;; Enter electric debug mode, if not prohibited and not in |
| 2394 | ;; it already | 2394 | ;; it already |
| 2395 | (when (and (or | 2395 | (when (and (or |
| 2396 | (eq idlwave-shell-automatic-electric-debug t) | 2396 | (eq idlwave-shell-automatic-electric-debug t) |
| 2397 | (and | 2397 | (and |
| 2398 | (eq idlwave-shell-automatic-electric-debug 'breakpoint) | 2398 | (eq idlwave-shell-automatic-electric-debug 'breakpoint) |
| 2399 | (not (eq idlwave-shell-current-state 'error)))) | 2399 | (not (eq idlwave-shell-current-state 'error)))) |
| 2400 | (not no-debug) | 2400 | (not no-debug) |
| @@ -2402,14 +2402,14 @@ debug mode." | |||
| 2402 | (not idlwave-shell-electric-debug-mode)) | 2402 | (not idlwave-shell-electric-debug-mode)) |
| 2403 | (idlwave-shell-electric-debug-mode) | 2403 | (idlwave-shell-electric-debug-mode) |
| 2404 | (setq electric t))) | 2404 | (setq electric t))) |
| 2405 | 2405 | ||
| 2406 | ;; Make sure pos is really displayed in the window. | 2406 | ;; Make sure pos is really displayed in the window. |
| 2407 | (set-window-point window pos) | 2407 | (set-window-point window pos) |
| 2408 | 2408 | ||
| 2409 | ;; If we came from the shell, go back there. Otherwise select | 2409 | ;; If we came from the shell, go back there. Otherwise select |
| 2410 | ;; the window where the error is displayed. | 2410 | ;; the window where the error is displayed. |
| 2411 | (if (or (and idlwave-shell-electric-zap-to-file electric) | 2411 | (if (or (and idlwave-shell-electric-zap-to-file electric) |
| 2412 | (and (equal (buffer-name) (idlwave-shell-buffer)) | 2412 | (and (equal (buffer-name) (idlwave-shell-buffer)) |
| 2413 | (not select-shell))) | 2413 | (not select-shell))) |
| 2414 | (select-window window)))))) | 2414 | (select-window window)))))) |
| 2415 | 2415 | ||
| @@ -2419,35 +2419,35 @@ debug mode." | |||
| 2419 | (interactive "p") | 2419 | (interactive "p") |
| 2420 | (or (not arg) (< arg 1) | 2420 | (or (not arg) (< arg 1) |
| 2421 | (setq arg 1)) | 2421 | (setq arg 1)) |
| 2422 | (idlwave-shell-send-command | 2422 | (idlwave-shell-send-command |
| 2423 | (concat ".s " (if (integerp arg) (int-to-string arg) arg)) | 2423 | (concat ".s " (if (integerp arg) (int-to-string arg) arg)) |
| 2424 | nil (if (idlwave-shell-hide-p 'debug) 'mostly) nil t)) | 2424 | nil (if (idlwave-shell-hide-p 'debug) 'mostly) nil t)) |
| 2425 | 2425 | ||
| 2426 | (defun idlwave-shell-stepover (arg) | 2426 | (defun idlwave-shell-stepover (arg) |
| 2427 | "Stepover one source line. | 2427 | "Stepover one source line. |
| 2428 | If given prefix argument ARG, step ARG source lines. | 2428 | If given prefix argument ARG, step ARG source lines. |
| 2429 | Uses IDL's stepover executive command which does not enter called functions." | 2429 | Uses IDL's stepover executive command which does not enter called functions." |
| 2430 | (interactive "p") | 2430 | (interactive "p") |
| 2431 | (or (not arg) (< arg 1) | 2431 | (or (not arg) (< arg 1) |
| 2432 | (setq arg 1)) | 2432 | (setq arg 1)) |
| 2433 | (idlwave-shell-send-command | 2433 | (idlwave-shell-send-command |
| 2434 | (concat ".so " (if (integerp arg) (int-to-string arg) arg)) | 2434 | (concat ".so " (if (integerp arg) (int-to-string arg) arg)) |
| 2435 | nil (if (idlwave-shell-hide-p 'debug) 'mostly) nil t)) | 2435 | nil (if (idlwave-shell-hide-p 'debug) 'mostly) nil t)) |
| 2436 | 2436 | ||
| 2437 | (defun idlwave-shell-break-here (&optional count cmd condition no-show) | 2437 | (defun idlwave-shell-break-here (&optional count cmd condition no-show) |
| 2438 | "Set breakpoint at current line. | 2438 | "Set breakpoint at current line. |
| 2439 | 2439 | ||
| 2440 | If Count is nil then an ordinary breakpoint is set. We treat a count | 2440 | If Count is nil then an ordinary breakpoint is set. We treat a count |
| 2441 | of 1 as a temporary breakpoint using the ONCE keyword. Counts greater | 2441 | of 1 as a temporary breakpoint using the ONCE keyword. Counts greater |
| 2442 | than 1 use the IDL AFTER=count keyword to break only after reaching | 2442 | than 1 use the IDL AFTER=count keyword to break only after reaching |
| 2443 | the statement count times. | 2443 | the statement count times. |
| 2444 | 2444 | ||
| 2445 | Optional argument CMD is a list or function to evaluate upon reaching | 2445 | Optional argument CMD is a list or function to evaluate upon reaching |
| 2446 | the breakpoint." | 2446 | the breakpoint." |
| 2447 | 2447 | ||
| 2448 | (interactive "P") | 2448 | (interactive "P") |
| 2449 | (when (listp count) | 2449 | (when (listp count) |
| 2450 | (if (equal (car count) 4) | 2450 | (if (equal (car count) 4) |
| 2451 | (setq condition (read-string "Break Condition: "))) | 2451 | (setq condition (read-string "Break Condition: "))) |
| 2452 | (setq count nil)) | 2452 | (setq count nil)) |
| 2453 | (idlwave-shell-set-bp | 2453 | (idlwave-shell-set-bp |
| @@ -2470,7 +2470,7 @@ the problem with not being able to set the breakpoint." | |||
| 2470 | (progn | 2470 | (progn |
| 2471 | (if (progn | 2471 | (if (progn |
| 2472 | (beep) | 2472 | (beep) |
| 2473 | (y-or-n-p | 2473 | (y-or-n-p |
| 2474 | (concat "Okay to recompile file " | 2474 | (concat "Okay to recompile file " |
| 2475 | (idlwave-shell-bp-get bp 'file) " "))) | 2475 | (idlwave-shell-bp-get bp 'file) " "))) |
| 2476 | ;; Recompile | 2476 | ;; Recompile |
| @@ -2478,7 +2478,7 @@ the problem with not being able to set the breakpoint." | |||
| 2478 | ;; Clean up before retrying | 2478 | ;; Clean up before retrying |
| 2479 | (idlwave-shell-command-failure) | 2479 | (idlwave-shell-command-failure) |
| 2480 | (idlwave-shell-send-command | 2480 | (idlwave-shell-send-command |
| 2481 | (concat ".run " (idlwave-shell-bp-get bp 'file)) nil | 2481 | (concat ".run " (idlwave-shell-bp-get bp 'file)) nil |
| 2482 | (if (idlwave-shell-hide-p 'run) 'mostly) nil t) | 2482 | (if (idlwave-shell-hide-p 'run) 'mostly) nil t) |
| 2483 | ;; Try setting breakpoint again | 2483 | ;; Try setting breakpoint again |
| 2484 | (idlwave-shell-set-bp bp)) | 2484 | (idlwave-shell-set-bp bp)) |
| @@ -2502,9 +2502,9 @@ breakpoint can not be set." | |||
| 2502 | (defun idlwave-shell-cont (&optional no-show) | 2502 | (defun idlwave-shell-cont (&optional no-show) |
| 2503 | "Continue executing." | 2503 | "Continue executing." |
| 2504 | (interactive) | 2504 | (interactive) |
| 2505 | (idlwave-shell-send-command ".c" (unless no-show | 2505 | (idlwave-shell-send-command ".c" (unless no-show |
| 2506 | '(idlwave-shell-redisplay 'hide)) | 2506 | '(idlwave-shell-redisplay 'hide)) |
| 2507 | (if (idlwave-shell-hide-p 'debug) 'mostly) | 2507 | (if (idlwave-shell-hide-p 'debug) 'mostly) |
| 2508 | nil t)) | 2508 | nil t)) |
| 2509 | 2509 | ||
| 2510 | (defun idlwave-shell-go () | 2510 | (defun idlwave-shell-go () |
| @@ -2585,7 +2585,7 @@ at a breakpoint." | |||
| 2585 | ((eq force 'enable) (setq disabled t))) | 2585 | ((eq force 'enable) (setq disabled t))) |
| 2586 | (when bp | 2586 | (when bp |
| 2587 | (setf (nth 3 (cdr (cdr bp))) (not disabled)) | 2587 | (setf (nth 3 (cdr (cdr bp))) (not disabled)) |
| 2588 | (idlwave-shell-send-command | 2588 | (idlwave-shell-send-command |
| 2589 | (concat "breakpoint," | 2589 | (concat "breakpoint," |
| 2590 | (if disabled "/enable," "/disable,") | 2590 | (if disabled "/enable," "/disable,") |
| 2591 | (int-to-string (idlwave-shell-bp-get bp))) | 2591 | (int-to-string (idlwave-shell-bp-get bp))) |
| @@ -2599,13 +2599,13 @@ If ENABLE is non-nil, enable them instead." | |||
| 2599 | (while bpl | 2599 | (while bpl |
| 2600 | (setq disabled (idlwave-shell-bp-get (car bpl) 'disabled)) | 2600 | (setq disabled (idlwave-shell-bp-get (car bpl) 'disabled)) |
| 2601 | (when (idlwave-xor (not disabled) (eq enable 'enable)) | 2601 | (when (idlwave-xor (not disabled) (eq enable 'enable)) |
| 2602 | (idlwave-shell-toggle-enable-current-bp | 2602 | (idlwave-shell-toggle-enable-current-bp |
| 2603 | (car bpl) (if (eq enable 'enable) 'enable 'disable) no-update) | 2603 | (car bpl) (if (eq enable 'enable) 'enable 'disable) no-update) |
| 2604 | (push (car bpl) modified)) | 2604 | (push (car bpl) modified)) |
| 2605 | (setq bpl (cdr bpl))) | 2605 | (setq bpl (cdr bpl))) |
| 2606 | (unless no-update (idlwave-shell-bp-query)) | 2606 | (unless no-update (idlwave-shell-bp-query)) |
| 2607 | modified)) | 2607 | modified)) |
| 2608 | 2608 | ||
| 2609 | (defun idlwave-shell-to-here () | 2609 | (defun idlwave-shell-to-here () |
| 2610 | "Set a breakpoint with count 1 then continue." | 2610 | "Set a breakpoint with count 1 then continue." |
| 2611 | (interactive) | 2611 | (interactive) |
| @@ -2643,7 +2643,7 @@ in the current routine." | |||
| 2643 | (defun idlwave-shell-set-bp-in-module (module) | 2643 | (defun idlwave-shell-set-bp-in-module (module) |
| 2644 | "Set breakpoint in module. Assumes that `idlwave-shell-sources-alist' | 2644 | "Set breakpoint in module. Assumes that `idlwave-shell-sources-alist' |
| 2645 | contains an entry for that module." | 2645 | contains an entry for that module." |
| 2646 | (let ((source-file (car-safe | 2646 | (let ((source-file (car-safe |
| 2647 | (cdr-safe | 2647 | (cdr-safe |
| 2648 | (assoc (upcase module) | 2648 | (assoc (upcase module) |
| 2649 | idlwave-shell-sources-alist)))) | 2649 | idlwave-shell-sources-alist)))) |
| @@ -2662,7 +2662,7 @@ contains an entry for that module." | |||
| 2662 | (save-excursion | 2662 | (save-excursion |
| 2663 | (goto-char (point-min)) | 2663 | (goto-char (point-min)) |
| 2664 | (let ((case-fold-search t)) | 2664 | (let ((case-fold-search t)) |
| 2665 | (if (re-search-forward | 2665 | (if (re-search-forward |
| 2666 | (concat "^[ \t]*\\(pro\\|function\\)[ \t]+" | 2666 | (concat "^[ \t]*\\(pro\\|function\\)[ \t]+" |
| 2667 | (downcase module) | 2667 | (downcase module) |
| 2668 | "[ \t\n,]") nil t) | 2668 | "[ \t\n,]") nil t) |
| @@ -2704,7 +2704,7 @@ Sets a breakpoint with count 1 at end of block, then continues." | |||
| 2704 | "Attempt to run until this procedure exits. | 2704 | "Attempt to run until this procedure exits. |
| 2705 | Runs to the last statement and then steps 1 statement. Use the .out command." | 2705 | Runs to the last statement and then steps 1 statement. Use the .out command." |
| 2706 | (interactive) | 2706 | (interactive) |
| 2707 | (idlwave-shell-send-command ".o" nil | 2707 | (idlwave-shell-send-command ".o" nil |
| 2708 | (if (idlwave-shell-hide-p 'debug) 'mostly) | 2708 | (if (idlwave-shell-hide-p 'debug) 'mostly) |
| 2709 | nil t)) | 2709 | nil t)) |
| 2710 | 2710 | ||
| @@ -2751,7 +2751,7 @@ Runs to the last statement and then steps 1 statement. Use the .out command." | |||
| 2751 | (interactive "e") | 2751 | (interactive "e") |
| 2752 | (let ((transient-mark-mode t) | 2752 | (let ((transient-mark-mode t) |
| 2753 | (zmacs-regions t) | 2753 | (zmacs-regions t) |
| 2754 | (tracker (if (featurep 'xemacs) | 2754 | (tracker (if (featurep 'xemacs) |
| 2755 | (if (fboundp 'default-mouse-track-event-is-with-button) | 2755 | (if (fboundp 'default-mouse-track-event-is-with-button) |
| 2756 | 'idlwave-xemacs-hack-mouse-track | 2756 | 'idlwave-xemacs-hack-mouse-track |
| 2757 | 'mouse-track) | 2757 | 'mouse-track) |
| @@ -2769,7 +2769,7 @@ Runs to the last statement and then steps 1 statement. Use the .out command." | |||
| 2769 | (let ((oldfunc (symbol-function 'default-mouse-track-event-is-with-button))) | 2769 | (let ((oldfunc (symbol-function 'default-mouse-track-event-is-with-button))) |
| 2770 | (unwind-protect | 2770 | (unwind-protect |
| 2771 | (progn | 2771 | (progn |
| 2772 | (fset 'default-mouse-track-event-is-with-button | 2772 | (fset 'default-mouse-track-event-is-with-button |
| 2773 | 'idlwave-default-mouse-track-event-is-with-button) | 2773 | 'idlwave-default-mouse-track-event-is-with-button) |
| 2774 | (mouse-track event)) | 2774 | (mouse-track event)) |
| 2775 | (fset 'default-mouse-track-event-is-with-button oldfunc)))) | 2775 | (fset 'default-mouse-track-event-is-with-button oldfunc)))) |
| @@ -2801,7 +2801,7 @@ Runs to the last statement and then steps 1 statement. Use the .out command." | |||
| 2801 | (defvar idlwave-shell-examine-completion-list nil) | 2801 | (defvar idlwave-shell-examine-completion-list nil) |
| 2802 | 2802 | ||
| 2803 | (defun idlwave-shell-print (arg &optional help ev complete-help-type) | 2803 | (defun idlwave-shell-print (arg &optional help ev complete-help-type) |
| 2804 | "Print current expression. | 2804 | "Print current expression. |
| 2805 | 2805 | ||
| 2806 | With HELP non-nil, show help on expression. If HELP is a string, | 2806 | With HELP non-nil, show help on expression. If HELP is a string, |
| 2807 | the expression will be put in place of ___, e.g.: | 2807 | the expression will be put in place of ___, e.g.: |
| @@ -2834,11 +2834,11 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 2834 | (save-excursion | 2834 | (save-excursion |
| 2835 | (let* ((process (get-buffer-process (current-buffer))) | 2835 | (let* ((process (get-buffer-process (current-buffer))) |
| 2836 | (process-mark (if process (process-mark process))) | 2836 | (process-mark (if process (process-mark process))) |
| 2837 | (stack-label | 2837 | (stack-label |
| 2838 | (if (and (integerp idlwave-shell-calling-stack-index) | 2838 | (if (and (integerp idlwave-shell-calling-stack-index) |
| 2839 | (> idlwave-shell-calling-stack-index 0)) | 2839 | (> idlwave-shell-calling-stack-index 0)) |
| 2840 | (format " [-%d:%s]" | 2840 | (format " [-%d:%s]" |
| 2841 | idlwave-shell-calling-stack-index | 2841 | idlwave-shell-calling-stack-index |
| 2842 | idlwave-shell-calling-stack-routine))) | 2842 | idlwave-shell-calling-stack-routine))) |
| 2843 | expr beg end cmd examine-hook) | 2843 | expr beg end cmd examine-hook) |
| 2844 | (cond | 2844 | (cond |
| @@ -2868,7 +2868,7 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 2868 | ;; an array | 2868 | ;; an array |
| 2869 | (forward-sexp)) | 2869 | (forward-sexp)) |
| 2870 | (setq end (point))))) | 2870 | (setq end (point))))) |
| 2871 | 2871 | ||
| 2872 | ;; Get expression, but first move the begin mark if a | 2872 | ;; Get expression, but first move the begin mark if a |
| 2873 | ;; process-mark is inside the region, to keep the overlay from | 2873 | ;; process-mark is inside the region, to keep the overlay from |
| 2874 | ;; wandering in the Shell. | 2874 | ;; wandering in the Shell. |
| @@ -2879,17 +2879,17 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 2879 | 2879 | ||
| 2880 | ;; Show the overlay(s) and attach any necessary hooks and filters | 2880 | ;; Show the overlay(s) and attach any necessary hooks and filters |
| 2881 | (when (and beg end idlwave-shell-expression-overlay) | 2881 | (when (and beg end idlwave-shell-expression-overlay) |
| 2882 | (move-overlay idlwave-shell-expression-overlay beg end | 2882 | (move-overlay idlwave-shell-expression-overlay beg end |
| 2883 | (current-buffer)) | 2883 | (current-buffer)) |
| 2884 | (add-hook 'pre-command-hook | 2884 | (add-hook 'pre-command-hook |
| 2885 | 'idlwave-shell-delete-expression-overlay)) | 2885 | 'idlwave-shell-delete-expression-overlay)) |
| 2886 | (setq examine-hook | 2886 | (setq examine-hook |
| 2887 | (if idlwave-shell-separate-examine-output | 2887 | (if idlwave-shell-separate-examine-output |
| 2888 | 'idlwave-shell-examine-display | 2888 | 'idlwave-shell-examine-display |
| 2889 | 'idlwave-shell-examine-highlight)) | 2889 | 'idlwave-shell-examine-highlight)) |
| 2890 | (add-hook 'pre-command-hook | 2890 | (add-hook 'pre-command-hook |
| 2891 | 'idlwave-shell-delete-output-overlay) | 2891 | 'idlwave-shell-delete-output-overlay) |
| 2892 | 2892 | ||
| 2893 | ;; Remove empty or comment-only lines | 2893 | ;; Remove empty or comment-only lines |
| 2894 | (while (string-match "\n[ \t]*\\(;.*\\)?\r*\n" expr) | 2894 | (while (string-match "\n[ \t]*\\(;.*\\)?\r*\n" expr) |
| 2895 | (setq expr (replace-match "\n" t t expr))) | 2895 | (setq expr (replace-match "\n" t t expr))) |
| @@ -2899,41 +2899,41 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 2899 | ;; Remove final newline | 2899 | ;; Remove final newline |
| 2900 | (if (string-match "\n[ \t\r]*\\'" expr) | 2900 | (if (string-match "\n[ \t\r]*\\'" expr) |
| 2901 | (setq expr (replace-match "" t t expr))) | 2901 | (setq expr (replace-match "" t t expr))) |
| 2902 | 2902 | ||
| 2903 | (catch 'exit | 2903 | (catch 'exit |
| 2904 | ;; Pop-up or complete on the examine selection list, if appropriate | 2904 | ;; Pop-up or complete on the examine selection list, if appropriate |
| 2905 | (if (or | 2905 | (if (or |
| 2906 | complete-help-type | 2906 | complete-help-type |
| 2907 | (and ev idlwave-shell-examine-alist) | 2907 | (and ev idlwave-shell-examine-alist) |
| 2908 | (consp help)) | 2908 | (consp help)) |
| 2909 | (let ((help-cons | 2909 | (let ((help-cons |
| 2910 | (if (consp help) help | 2910 | (if (consp help) help |
| 2911 | (assoc | 2911 | (assoc |
| 2912 | ;; A cons from either a pop-up or mini-buffer completion | 2912 | ;; A cons from either a pop-up or mini-buffer completion |
| 2913 | (if complete-help-type | 2913 | (if complete-help-type |
| 2914 | (idlwave-one-key-select 'idlwave-shell-examine-alist | 2914 | (idlwave-one-key-select 'idlwave-shell-examine-alist |
| 2915 | "Examine with: " 1.5) | 2915 | "Examine with: " 1.5) |
| 2916 | ;; (idlwave-completing-read | 2916 | ;; (idlwave-completing-read |
| 2917 | ;; "Examine with: " | 2917 | ;; "Examine with: " |
| 2918 | ;; idlwave-shell-examine-alist nil nil nil | 2918 | ;; idlwave-shell-examine-alist nil nil nil |
| 2919 | ;; 'idlwave-shell-examine-completion-list | 2919 | ;; 'idlwave-shell-examine-completion-list |
| 2920 | ;; "Print") | 2920 | ;; "Print") |
| 2921 | (idlwave-popup-select | 2921 | (idlwave-popup-select |
| 2922 | ev | 2922 | ev |
| 2923 | (mapcar 'car idlwave-shell-examine-alist) | 2923 | (mapcar 'car idlwave-shell-examine-alist) |
| 2924 | "Examine with")) | 2924 | "Examine with")) |
| 2925 | idlwave-shell-examine-alist)))) | 2925 | idlwave-shell-examine-alist)))) |
| 2926 | (setq help (cdr help-cons)) | 2926 | (setq help (cdr help-cons)) |
| 2927 | (if (null help) (throw 'exit nil)) | 2927 | (if (null help) (throw 'exit nil)) |
| 2928 | (if idlwave-shell-separate-examine-output | 2928 | (if idlwave-shell-separate-examine-output |
| 2929 | (setq idlwave-shell-examine-label | 2929 | (setq idlwave-shell-examine-label |
| 2930 | (concat | 2930 | (concat |
| 2931 | (format "==>%s<==\n%s:" expr (car help-cons)) | 2931 | (format "==>%s<==\n%s:" expr (car help-cons)) |
| 2932 | stack-label "\n")))) | 2932 | stack-label "\n")))) |
| 2933 | ;; The regular help label (no popups, cons cells, etc.) | 2933 | ;; The regular help label (no popups, cons cells, etc.) |
| 2934 | (setq idlwave-shell-examine-label | 2934 | (setq idlwave-shell-examine-label |
| 2935 | (concat | 2935 | (concat |
| 2936 | (format "==>%s<==\n%s:" expr | 2936 | (format "==>%s<==\n%s:" expr |
| 2937 | (cond ((null help) "print") | 2937 | (cond ((null help) "print") |
| 2938 | ((stringp help) help) | 2938 | ((stringp help) help) |
| 2939 | (t (symbol-name help)))) | 2939 | (t (symbol-name help)))) |
| @@ -2946,9 +2946,9 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 2946 | idlwave-shell-calling-stack-index))) | 2946 | idlwave-shell-calling-stack-index))) |
| 2947 | (setq cmd (idlwave-shell-help-statement help expr)) | 2947 | (setq cmd (idlwave-shell-help-statement help expr)) |
| 2948 | ;;(idlwave-shell-recenter-shell-window) | 2948 | ;;(idlwave-shell-recenter-shell-window) |
| 2949 | (idlwave-shell-send-command | 2949 | (idlwave-shell-send-command |
| 2950 | cmd | 2950 | cmd |
| 2951 | examine-hook | 2951 | examine-hook |
| 2952 | (if idlwave-shell-separate-examine-output 'hide)))))) | 2952 | (if idlwave-shell-separate-examine-output 'hide)))))) |
| 2953 | 2953 | ||
| 2954 | (defvar idlwave-shell-examine-window-alist nil | 2954 | (defvar idlwave-shell-examine-window-alist nil |
| @@ -2975,9 +2975,9 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 2975 | (let* ((end (or | 2975 | (let* ((end (or |
| 2976 | (re-search-backward idlwave-shell-prompt-pattern nil t) | 2976 | (re-search-backward idlwave-shell-prompt-pattern nil t) |
| 2977 | (point-max))) | 2977 | (point-max))) |
| 2978 | (beg (progn | 2978 | (beg (progn |
| 2979 | (goto-char | 2979 | (goto-char |
| 2980 | (or (progn (if (re-search-backward | 2980 | (or (progn (if (re-search-backward |
| 2981 | idlwave-shell-prompt-pattern nil t) | 2981 | idlwave-shell-prompt-pattern nil t) |
| 2982 | (match-end 0))) | 2982 | (match-end 0))) |
| 2983 | (point-min))) | 2983 | (point-min))) |
| @@ -2994,21 +2994,21 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 2994 | (setq buffer-read-only t) | 2994 | (setq buffer-read-only t) |
| 2995 | (move-overlay idlwave-shell-output-overlay cur-beg cur-end | 2995 | (move-overlay idlwave-shell-output-overlay cur-beg cur-end |
| 2996 | (current-buffer)) | 2996 | (current-buffer)) |
| 2997 | 2997 | ||
| 2998 | ;; Look for the examine buffer in all windows. If one is | 2998 | ;; Look for the examine buffer in all windows. If one is |
| 2999 | ;; found in a frame all by itself, use that, otherwise, switch | 2999 | ;; found in a frame all by itself, use that, otherwise, switch |
| 3000 | ;; to or create an examine window in this frame, and resize if | 3000 | ;; to or create an examine window in this frame, and resize if |
| 3001 | ;; it's a newly created window | 3001 | ;; it's a newly created window |
| 3002 | (let* ((winlist (get-buffer-window-list "*Examine*" nil 'visible))) | 3002 | (let* ((winlist (get-buffer-window-list "*Examine*" nil 'visible))) |
| 3003 | (setq win (idlwave-display-buffer | 3003 | (setq win (idlwave-display-buffer |
| 3004 | "*Examine*" | 3004 | "*Examine*" |
| 3005 | nil | 3005 | nil |
| 3006 | (let ((list winlist) thiswin) | 3006 | (let ((list winlist) thiswin) |
| 3007 | (catch 'exit | 3007 | (catch 'exit |
| 3008 | (save-selected-window | 3008 | (save-selected-window |
| 3009 | (while (setq thiswin (pop list)) | 3009 | (while (setq thiswin (pop list)) |
| 3010 | (select-window thiswin) | 3010 | (select-window thiswin) |
| 3011 | (if (one-window-p) | 3011 | (if (one-window-p) |
| 3012 | (throw 'exit (window-frame thiswin))))))))) | 3012 | (throw 'exit (window-frame thiswin))))))))) |
| 3013 | (set-window-start win (point-min)) ; Ensure the point is visible. | 3013 | (set-window-start win (point-min)) ; Ensure the point is visible. |
| 3014 | (save-selected-window | 3014 | (save-selected-window |
| @@ -3029,7 +3029,7 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 3029 | ;; And add the new value. | 3029 | ;; And add the new value. |
| 3030 | (if (setq elt (assoc win idlwave-shell-examine-window-alist)) | 3030 | (if (setq elt (assoc win idlwave-shell-examine-window-alist)) |
| 3031 | (setcdr elt (window-height)) | 3031 | (setcdr elt (window-height)) |
| 3032 | (add-to-list 'idlwave-shell-examine-window-alist | 3032 | (add-to-list 'idlwave-shell-examine-window-alist |
| 3033 | (cons win (window-height))))))))) | 3033 | (cons win (window-height))))))))) |
| 3034 | ;; Recenter for maximum output, after widened | 3034 | ;; Recenter for maximum output, after widened |
| 3035 | (save-selected-window | 3035 | (save-selected-window |
| @@ -3047,7 +3047,7 @@ idlw-shell-examine-alist via mini-buffer shortcut key." | |||
| 3047 | 3047 | ||
| 3048 | (defun idlwave-shell-examine-display-clear () | 3048 | (defun idlwave-shell-examine-display-clear () |
| 3049 | (interactive) | 3049 | (interactive) |
| 3050 | (save-excursion | 3050 | (save-excursion |
| 3051 | (let ((buf (get-buffer "*Examine*"))) | 3051 | (let ((buf (get-buffer "*Examine*"))) |
| 3052 | (when (bufferp buf) | 3052 | (when (bufferp buf) |
| 3053 | (set-buffer buf) | 3053 | (set-buffer buf) |
| @@ -3075,7 +3075,7 @@ versions of IDL." | |||
| 3075 | ;; break. We will look for identifiers and exclude cases where we | 3075 | ;; break. We will look for identifiers and exclude cases where we |
| 3076 | ;; know it is not a variable. To distinguish array references from | 3076 | ;; know it is not a variable. To distinguish array references from |
| 3077 | ;; function calls, we require that arrays use [] instead of () | 3077 | ;; function calls, we require that arrays use [] instead of () |
| 3078 | 3078 | ||
| 3079 | (while (string-match | 3079 | (while (string-match |
| 3080 | "\\(\\`\\|[^a-zA-Z0-9$_][ \t]*\\)\\([a-zA-Z][a-zA-Z0-9$_]*\\)\\([ \t]*[^a-zA-Z0-9$_]\\|\\'\\)" expr start) | 3080 | "\\(\\`\\|[^a-zA-Z0-9$_][ \t]*\\)\\([a-zA-Z][a-zA-Z0-9$_]*\\)\\([ \t]*[^a-zA-Z0-9$_]\\|\\'\\)" expr start) |
| 3081 | (setq var (match-string 2 expr) | 3081 | (setq var (match-string 2 expr) |
| @@ -3091,7 +3091,7 @@ versions of IDL." | |||
| 3091 | ((string-match "->[ \t]*\\'" pre)) ;; a method | 3091 | ((string-match "->[ \t]*\\'" pre)) ;; a method |
| 3092 | ((string-match "\\.\\'" pre)) ;; structure member | 3092 | ((string-match "\\.\\'" pre)) ;; structure member |
| 3093 | ((and (string-match "\\([\"\']\\)[^\1]*$" pre) | 3093 | ((and (string-match "\\([\"\']\\)[^\1]*$" pre) |
| 3094 | (string-match (concat "^[^" (match-string 1 pre) "]*" | 3094 | (string-match (concat "^[^" (match-string 1 pre) "]*" |
| 3095 | (match-string 1 pre)) post))) | 3095 | (match-string 1 pre)) post))) |
| 3096 | (t ;; seems to be a variable - replace its name in the | 3096 | (t ;; seems to be a variable - replace its name in the |
| 3097 | ;; expression with the fetch. | 3097 | ;; expression with the fetch. |
| @@ -3109,13 +3109,13 @@ to insert expression in place of the marker ___, e.g.: print, | |||
| 3109 | size(___,/DIMENSIONS)" | 3109 | size(___,/DIMENSIONS)" |
| 3110 | (cond | 3110 | (cond |
| 3111 | ((null help) (concat "print, " expr)) | 3111 | ((null help) (concat "print, " expr)) |
| 3112 | ((stringp help) | 3112 | ((stringp help) |
| 3113 | (if (string-match "\\(^\\|[^_]\\)\\(___\\)\\([^_]\\|$\\)" help) | 3113 | (if (string-match "\\(^\\|[^_]\\)\\(___\\)\\([^_]\\|$\\)" help) |
| 3114 | (concat (substring help 0 (match-beginning 2)) | 3114 | (concat (substring help 0 (match-beginning 2)) |
| 3115 | expr | 3115 | expr |
| 3116 | (substring help (match-end 2))))) | 3116 | (substring help (match-end 2))))) |
| 3117 | (t (concat "help, " expr)))) | 3117 | (t (concat "help, " expr)))) |
| 3118 | 3118 | ||
| 3119 | 3119 | ||
| 3120 | (defun idlwave-shell-examine-highlight () | 3120 | (defun idlwave-shell-examine-highlight () |
| 3121 | "Highlight the most recent IDL output." | 3121 | "Highlight the most recent IDL output." |
| @@ -3123,7 +3123,7 @@ size(___,/DIMENSIONS)" | |||
| 3123 | (process (get-buffer-process buffer)) | 3123 | (process (get-buffer-process buffer)) |
| 3124 | (process-mark (if process (process-mark process))) | 3124 | (process-mark (if process (process-mark process))) |
| 3125 | output-begin output-end) | 3125 | output-begin output-end) |
| 3126 | (save-excursion | 3126 | (save-excursion |
| 3127 | (set-buffer buffer) | 3127 | (set-buffer buffer) |
| 3128 | (goto-char process-mark) | 3128 | (goto-char process-mark) |
| 3129 | (beginning-of-line) | 3129 | (beginning-of-line) |
| @@ -3131,12 +3131,12 @@ size(___,/DIMENSIONS)" | |||
| 3131 | (re-search-backward idlwave-shell-prompt-pattern nil t) | 3131 | (re-search-backward idlwave-shell-prompt-pattern nil t) |
| 3132 | (beginning-of-line 2) | 3132 | (beginning-of-line 2) |
| 3133 | (setq output-begin (point))) | 3133 | (setq output-begin (point))) |
| 3134 | 3134 | ||
| 3135 | ;; First make sure the shell window is visible | 3135 | ;; First make sure the shell window is visible |
| 3136 | (idlwave-display-buffer (idlwave-shell-buffer) | 3136 | (idlwave-display-buffer (idlwave-shell-buffer) |
| 3137 | nil (idlwave-shell-shell-frame)) | 3137 | nil (idlwave-shell-shell-frame)) |
| 3138 | (if (and idlwave-shell-output-overlay process-mark) | 3138 | (if (and idlwave-shell-output-overlay process-mark) |
| 3139 | (move-overlay idlwave-shell-output-overlay | 3139 | (move-overlay idlwave-shell-output-overlay |
| 3140 | output-begin output-end buffer)))) | 3140 | output-begin output-end buffer)))) |
| 3141 | 3141 | ||
| 3142 | (defun idlwave-shell-delete-output-overlay () | 3142 | (defun idlwave-shell-delete-output-overlay () |
| @@ -3147,7 +3147,7 @@ size(___,/DIMENSIONS)" | |||
| 3147 | (delete-overlay idlwave-shell-output-overlay)) | 3147 | (delete-overlay idlwave-shell-output-overlay)) |
| 3148 | (error nil)) | 3148 | (error nil)) |
| 3149 | (remove-hook 'pre-command-hook 'idlwave-shell-delete-output-overlay))) | 3149 | (remove-hook 'pre-command-hook 'idlwave-shell-delete-output-overlay))) |
| 3150 | 3150 | ||
| 3151 | (defun idlwave-shell-delete-expression-overlay () | 3151 | (defun idlwave-shell-delete-expression-overlay () |
| 3152 | (unless (or (eq this-command 'idlwave-shell-mouse-nop) | 3152 | (unless (or (eq this-command 'idlwave-shell-mouse-nop) |
| 3153 | (eq this-command 'handle-switch-frame)) | 3153 | (eq this-command 'handle-switch-frame)) |
| @@ -3176,7 +3176,7 @@ contains four items: | |||
| 3176 | count - number of times to execute breakpoint. When count reaches 0 | 3176 | count - number of times to execute breakpoint. When count reaches 0 |
| 3177 | the breakpoint is cleared and removed from the alist. | 3177 | the breakpoint is cleared and removed from the alist. |
| 3178 | 3178 | ||
| 3179 | command - command to execute when breakpoint is reached, either a | 3179 | command - command to execute when breakpoint is reached, either a |
| 3180 | lisp function to be called with `funcall' with no arguments or a | 3180 | lisp function to be called with `funcall' with no arguments or a |
| 3181 | list to be evaluated with `eval'. | 3181 | list to be evaluated with `eval'. |
| 3182 | 3182 | ||
| @@ -3209,11 +3209,11 @@ If there is a prefix argument, display IDL process." | |||
| 3209 | (insert "\nend\n")) | 3209 | (insert "\nend\n")) |
| 3210 | (save-buffer 0))) | 3210 | (save-buffer 0))) |
| 3211 | (idlwave-shell-send-command (concat ".run " idlwave-shell-temp-pro-file) | 3211 | (idlwave-shell-send-command (concat ".run " idlwave-shell-temp-pro-file) |
| 3212 | nil | 3212 | nil |
| 3213 | (if (idlwave-shell-hide-p 'run) 'mostly) | 3213 | (if (idlwave-shell-hide-p 'run) 'mostly) |
| 3214 | nil t) | 3214 | nil t) |
| 3215 | (if n | 3215 | (if n |
| 3216 | (idlwave-display-buffer (idlwave-shell-buffer) | 3216 | (idlwave-display-buffer (idlwave-shell-buffer) |
| 3217 | nil (idlwave-shell-shell-frame)))) | 3217 | nil (idlwave-shell-shell-frame)))) |
| 3218 | 3218 | ||
| 3219 | (defun idlwave-shell-evaluate-region (beg end &optional n) | 3219 | (defun idlwave-shell-evaluate-region (beg end &optional n) |
| @@ -3224,7 +3224,7 @@ Does not work for a region with multiline blocks - use | |||
| 3224 | (interactive "r\nP") | 3224 | (interactive "r\nP") |
| 3225 | (idlwave-shell-send-command (buffer-substring beg end)) | 3225 | (idlwave-shell-send-command (buffer-substring beg end)) |
| 3226 | (if n | 3226 | (if n |
| 3227 | (idlwave-display-buffer (idlwave-shell-buffer) | 3227 | (idlwave-display-buffer (idlwave-shell-buffer) |
| 3228 | nil (idlwave-shell-shell-frame)))) | 3228 | nil (idlwave-shell-shell-frame)))) |
| 3229 | 3229 | ||
| 3230 | (defun idlwave-shell-delete-temp-files () | 3230 | (defun idlwave-shell-delete-temp-files () |
| @@ -3279,7 +3279,7 @@ Queries IDL using the string in `idlwave-shell-bp-query'." | |||
| 3279 | 'hide)) | 3279 | 'hide)) |
| 3280 | 3280 | ||
| 3281 | (defun idlwave-shell-bp-get (bp &optional item) | 3281 | (defun idlwave-shell-bp-get (bp &optional item) |
| 3282 | "Get a value for a breakpoint. | 3282 | "Get a value for a breakpoint. |
| 3283 | BP has the form of elements in idlwave-shell-bp-alist. Optional | 3283 | BP has the form of elements in idlwave-shell-bp-alist. Optional |
| 3284 | second arg ITEM is the particular value to retrieve. ITEM can be | 3284 | second arg ITEM is the particular value to retrieve. ITEM can be |
| 3285 | 'file, 'line, 'index, 'module, 'count, 'cmd, 'condition, 'disabled or | 3285 | 'file, 'line, 'index, 'module, 'count, 'cmd, 'condition, 'disabled or |
| @@ -3314,8 +3314,8 @@ breakpoint overlays." | |||
| 3314 | ;; Searching the breakpoints | 3314 | ;; Searching the breakpoints |
| 3315 | ;; In IDL 5.5, the breakpoint reporting format changed. | 3315 | ;; In IDL 5.5, the breakpoint reporting format changed. |
| 3316 | (bp-re54 "^[ \t]*\\([0-9]+\\)[ \t]+\\(\\S-+\\)?[ \t]+\\([0-9]+\\)[ \t]+\\(\\S-+\\)") | 3316 | (bp-re54 "^[ \t]*\\([0-9]+\\)[ \t]+\\(\\S-+\\)?[ \t]+\\([0-9]+\\)[ \t]+\\(\\S-+\\)") |
| 3317 | (bp-re55 | 3317 | (bp-re55 |
| 3318 | (concat | 3318 | (concat |
| 3319 | "^\\s-*\\([0-9]+\\)" ; 1 index | 3319 | "^\\s-*\\([0-9]+\\)" ; 1 index |
| 3320 | "\\s-+\\([0-9]+\\)" ; 2 line number | 3320 | "\\s-+\\([0-9]+\\)" ; 2 line number |
| 3321 | "\\s-+\\(Uncompiled\\|" ; 3-6 either uncompiled or routine name | 3321 | "\\s-+\\(Uncompiled\\|" ; 3-6 either uncompiled or routine name |
| @@ -3330,27 +3330,27 @@ breakpoint overlays." | |||
| 3330 | bp-re indmap) | 3330 | bp-re indmap) |
| 3331 | (setq idlwave-shell-bp-alist (list nil)) | 3331 | (setq idlwave-shell-bp-alist (list nil)) |
| 3332 | ;; Search for either header type, and set the correct regexp | 3332 | ;; Search for either header type, and set the correct regexp |
| 3333 | (when (or | 3333 | (when (or |
| 3334 | (if (re-search-forward "^\\s-*Index.*\n\\s-*-" nil t) | 3334 | (if (re-search-forward "^\\s-*Index.*\n\\s-*-" nil t) |
| 3335 | (setq bp-re bp-re54 ; versions <= 5.4 | 3335 | (setq bp-re bp-re54 ; versions <= 5.4 |
| 3336 | indmap '(1 2 3 4))) ;index module line file | 3336 | indmap '(1 2 3 4))) ;index module line file |
| 3337 | (if (re-search-forward | 3337 | (if (re-search-forward |
| 3338 | "^\\s-*Index\\s-*Line\\s-*Attributes\\s-*File" nil t) | 3338 | "^\\s-*Index\\s-*Line\\s-*Attributes\\s-*File" nil t) |
| 3339 | (setq bp-re bp-re55 ; versions >= 5.5 | 3339 | (setq bp-re bp-re55 ; versions >= 5.5 |
| 3340 | indmap '(1 6 2 16)))) ; index module line file | 3340 | indmap '(1 6 2 16)))) ; index module line file |
| 3341 | ;; There seems to be a breakpoint listing here, parse breakpoint lines. | 3341 | ;; There seems to be a breakpoint listing here, parse breakpoint lines. |
| 3342 | (while (re-search-forward bp-re nil t) | 3342 | (while (re-search-forward bp-re nil t) |
| 3343 | (setq index (string-to-int (match-string (nth 0 indmap))) | 3343 | (setq index (string-to-number (match-string (nth 0 indmap))) |
| 3344 | module (match-string (nth 1 indmap)) | 3344 | module (match-string (nth 1 indmap)) |
| 3345 | line (string-to-int (match-string (nth 2 indmap))) | 3345 | line (string-to-number (match-string (nth 2 indmap))) |
| 3346 | file (idlwave-shell-file-name (match-string (nth 3 indmap)))) | 3346 | file (idlwave-shell-file-name (match-string (nth 3 indmap)))) |
| 3347 | (if (eq bp-re bp-re55) | 3347 | (if (eq bp-re bp-re55) |
| 3348 | (setq count (if (match-string 10) 1 | 3348 | (setq count (if (match-string 10) 1 |
| 3349 | (if (match-string 8) | 3349 | (if (match-string 8) |
| 3350 | (string-to-int (match-string 8)))) | 3350 | (string-to-number (match-string 8)))) |
| 3351 | condition (match-string 13) | 3351 | condition (match-string 13) |
| 3352 | disabled (not (null (match-string 15))))) | 3352 | disabled (not (null (match-string 15))))) |
| 3353 | 3353 | ||
| 3354 | ;; Add the breakpoint info to the list | 3354 | ;; Add the breakpoint info to the list |
| 3355 | (nconc idlwave-shell-bp-alist | 3355 | (nconc idlwave-shell-bp-alist |
| 3356 | (list (cons (list file line) | 3356 | (list (cons (list file line) |
| @@ -3360,7 +3360,7 @@ breakpoint overlays." | |||
| 3360 | count nil condition disabled)))))) | 3360 | count nil condition disabled)))))) |
| 3361 | (setq idlwave-shell-bp-alist (cdr idlwave-shell-bp-alist)) | 3361 | (setq idlwave-shell-bp-alist (cdr idlwave-shell-bp-alist)) |
| 3362 | ;; Update breakpoint data | 3362 | ;; Update breakpoint data |
| 3363 | (if (eq bp-re bp-re54) | 3363 | (if (eq bp-re bp-re54) |
| 3364 | (mapcar 'idlwave-shell-update-bp old-bp-alist) | 3364 | (mapcar 'idlwave-shell-update-bp old-bp-alist) |
| 3365 | (mapcar 'idlwave-shell-update-bp-command-only old-bp-alist)))) | 3365 | (mapcar 'idlwave-shell-update-bp-command-only old-bp-alist)))) |
| 3366 | ;; Update the breakpoint overlays | 3366 | ;; Update the breakpoint overlays |
| @@ -3375,8 +3375,8 @@ breakpoint overlays." | |||
| 3375 | "Update BP data in breakpoint list. | 3375 | "Update BP data in breakpoint list. |
| 3376 | If BP frame is in `idlwave-shell-bp-alist' updates the breakpoint data." | 3376 | If BP frame is in `idlwave-shell-bp-alist' updates the breakpoint data." |
| 3377 | (let ((match (assoc (car bp) idlwave-shell-bp-alist))) | 3377 | (let ((match (assoc (car bp) idlwave-shell-bp-alist))) |
| 3378 | (if match | 3378 | (if match |
| 3379 | (if command-only | 3379 | (if command-only |
| 3380 | (setf (nth 1 (cdr (cdr match))) (nth 1 (cdr (cdr match)))) | 3380 | (setf (nth 1 (cdr (cdr match))) (nth 1 (cdr (cdr match)))) |
| 3381 | (setcdr (cdr match) (cdr (cdr bp))))))) | 3381 | (setcdr (cdr match) (cdr (cdr bp))))))) |
| 3382 | 3382 | ||
| @@ -3401,7 +3401,7 @@ Otherwise return the filename in bp." | |||
| 3401 | (let* | 3401 | (let* |
| 3402 | ((bp-file (idlwave-shell-bp-get bp 'file)) | 3402 | ((bp-file (idlwave-shell-bp-get bp 'file)) |
| 3403 | (bp-module (idlwave-shell-bp-get bp 'module)) | 3403 | (bp-module (idlwave-shell-bp-get bp 'module)) |
| 3404 | (internal-file-list | 3404 | (internal-file-list |
| 3405 | (cdr (assoc bp-module idlwave-shell-sources-alist)))) | 3405 | (cdr (assoc bp-module idlwave-shell-sources-alist)))) |
| 3406 | (if (and internal-file-list | 3406 | (if (and internal-file-list |
| 3407 | (equal bp-file (nth 0 internal-file-list))) | 3407 | (equal bp-file (nth 0 internal-file-list))) |
| @@ -3409,14 +3409,14 @@ Otherwise return the filename in bp." | |||
| 3409 | bp-file))) | 3409 | bp-file))) |
| 3410 | 3410 | ||
| 3411 | (defun idlwave-shell-set-bp (bp &optional no-show) | 3411 | (defun idlwave-shell-set-bp (bp &optional no-show) |
| 3412 | "Try to set a breakpoint BP. | 3412 | "Try to set a breakpoint BP. |
| 3413 | The breakpoint will be placed at the beginning of the statement on the | 3413 | The breakpoint will be placed at the beginning of the statement on the |
| 3414 | line specified by BP or at the next IDL statement if that line is not | 3414 | line specified by BP or at the next IDL statement if that line is not |
| 3415 | a statement. Determines IDL's internal representation for the | 3415 | a statement. Determines IDL's internal representation for the |
| 3416 | breakpoint, which may have occurred at a different line than | 3416 | breakpoint, which may have occurred at a different line than |
| 3417 | specified. If NO-SHOW is non-nil, don't do any updating." | 3417 | specified. If NO-SHOW is non-nil, don't do any updating." |
| 3418 | ;; Get and save the old breakpoints | 3418 | ;; Get and save the old breakpoints |
| 3419 | (idlwave-shell-send-command | 3419 | (idlwave-shell-send-command |
| 3420 | idlwave-shell-bp-query | 3420 | idlwave-shell-bp-query |
| 3421 | `(progn | 3421 | `(progn |
| 3422 | (idlwave-shell-filter-bp (quote ,no-show)) | 3422 | (idlwave-shell-filter-bp (quote ,no-show)) |
| @@ -3434,7 +3434,7 @@ specified. If NO-SHOW is non-nil, don't do any updating." | |||
| 3434 | (defun idlwave-shell-set-bp2 (bp &optional no-show) | 3434 | (defun idlwave-shell-set-bp2 (bp &optional no-show) |
| 3435 | "Use results of breakpoint and sources query to set bp. | 3435 | "Use results of breakpoint and sources query to set bp. |
| 3436 | Use the count argument with IDLs breakpoint command. | 3436 | Use the count argument with IDLs breakpoint command. |
| 3437 | We treat a count of 1 as a temporary breakpoint. | 3437 | We treat a count of 1 as a temporary breakpoint. |
| 3438 | Counts greater than 1 use the IDL AFTER=count keyword to break | 3438 | Counts greater than 1 use the IDL AFTER=count keyword to break |
| 3439 | only after reaching the statement count times." | 3439 | only after reaching the statement count times." |
| 3440 | (let* | 3440 | (let* |
| @@ -3446,11 +3446,11 @@ only after reaching the statement count times." | |||
| 3446 | ((> arg 1) | 3446 | ((> arg 1) |
| 3447 | (format ",after=%d" arg)))) | 3447 | (format ",after=%d" arg)))) |
| 3448 | (condition (idlwave-shell-bp-get bp 'condition)) | 3448 | (condition (idlwave-shell-bp-get bp 'condition)) |
| 3449 | (key (concat key | 3449 | (key (concat key |
| 3450 | (if condition (concat ",CONDITION=\"" condition "\"")))) | 3450 | (if condition (concat ",CONDITION=\"" condition "\"")))) |
| 3451 | (line (idlwave-shell-bp-get bp 'line))) | 3451 | (line (idlwave-shell-bp-get bp 'line))) |
| 3452 | (idlwave-shell-send-command | 3452 | (idlwave-shell-send-command |
| 3453 | (concat "breakpoint,'" | 3453 | (concat "breakpoint,'" |
| 3454 | (idlwave-shell-sources-bp bp) "'," | 3454 | (idlwave-shell-sources-bp bp) "'," |
| 3455 | (if (integerp line) (setq line (int-to-string line))) | 3455 | (if (integerp line) (setq line (int-to-string line))) |
| 3456 | key) | 3456 | key) |
| @@ -3534,14 +3534,14 @@ Existing overlays are recycled, in order to minimize consumption." | |||
| 3534 | ov ov-list bp buf old-buffers win) | 3534 | ov ov-list bp buf old-buffers win) |
| 3535 | 3535 | ||
| 3536 | ;; Delete the old overlays from their buffers | 3536 | ;; Delete the old overlays from their buffers |
| 3537 | (if ov-alist | 3537 | (if ov-alist |
| 3538 | (while (setq ov-list (pop ov-alist)) | 3538 | (while (setq ov-list (pop ov-alist)) |
| 3539 | (while (setq ov (pop (cdr ov-list))) | 3539 | (while (setq ov (pop (cdr ov-list))) |
| 3540 | (add-to-list 'old-buffers (overlay-buffer ov)) | 3540 | (add-to-list 'old-buffers (overlay-buffer ov)) |
| 3541 | (delete-overlay ov)))) | 3541 | (delete-overlay ov)))) |
| 3542 | 3542 | ||
| 3543 | (setq ov-alist idlwave-shell-bp-overlays | 3543 | (setq ov-alist idlwave-shell-bp-overlays |
| 3544 | idlwave-shell-bp-overlays | 3544 | idlwave-shell-bp-overlays |
| 3545 | (if idlwave-shell-bp-glyph | 3545 | (if idlwave-shell-bp-glyph |
| 3546 | (mapcar 'list (mapcar 'car idlwave-shell-bp-glyph)) | 3546 | (mapcar 'list (mapcar 'car idlwave-shell-bp-glyph)) |
| 3547 | (list (list 'bp)))) | 3547 | (list (list 'bp)))) |
| @@ -3565,7 +3565,7 @@ Existing overlays are recycled, in order to minimize consumption." | |||
| 3565 | (t 'bp-n))) | 3565 | (t 'bp-n))) |
| 3566 | (t 'bp)) | 3566 | (t 'bp)) |
| 3567 | 'bp)) | 3567 | 'bp)) |
| 3568 | (help-list | 3568 | (help-list |
| 3569 | (delq nil | 3569 | (delq nil |
| 3570 | (list | 3570 | (list |
| 3571 | (if count | 3571 | (if count |
| @@ -3573,7 +3573,7 @@ Existing overlays are recycled, in order to minimize consumption." | |||
| 3573 | (if condition | 3573 | (if condition |
| 3574 | (concat "condition: " condition)) | 3574 | (concat "condition: " condition)) |
| 3575 | (if disabled "disabled")))) | 3575 | (if disabled "disabled")))) |
| 3576 | (help-text (if help-list | 3576 | (help-text (if help-list |
| 3577 | (mapconcat 'identity help-list ","))) | 3577 | (mapconcat 'identity help-list ","))) |
| 3578 | (full-type (if disabled | 3578 | (full-type (if disabled |
| 3579 | (intern (concat (symbol-name type) | 3579 | (intern (concat (symbol-name type) |
| @@ -3582,7 +3582,7 @@ Existing overlays are recycled, in order to minimize consumption." | |||
| 3582 | (ov-existing (assq full-type ov-alist)) | 3582 | (ov-existing (assq full-type ov-alist)) |
| 3583 | (ov (or (and (cdr ov-existing) | 3583 | (ov (or (and (cdr ov-existing) |
| 3584 | (pop (cdr ov-existing))) | 3584 | (pop (cdr ov-existing))) |
| 3585 | (idlwave-shell-make-new-bp-overlay | 3585 | (idlwave-shell-make-new-bp-overlay |
| 3586 | type disabled help-text))) | 3586 | type disabled help-text))) |
| 3587 | match) | 3587 | match) |
| 3588 | (move-overlay ov beg end) | 3588 | (move-overlay ov beg end) |
| @@ -3592,7 +3592,7 @@ Existing overlays are recycled, in order to minimize consumption." | |||
| 3592 | (list (list full-type ov))))) | 3592 | (list (list full-type ov))))) |
| 3593 | ;; Take care of margins if using a glyph | 3593 | ;; Take care of margins if using a glyph |
| 3594 | (when use-glyph | 3594 | (when use-glyph |
| 3595 | (if old-buffers | 3595 | (if old-buffers |
| 3596 | (setq old-buffers (delq (current-buffer) old-buffers))) | 3596 | (setq old-buffers (delq (current-buffer) old-buffers))) |
| 3597 | (if (fboundp 'set-specifier) ;; XEmacs | 3597 | (if (fboundp 'set-specifier) ;; XEmacs |
| 3598 | (set-specifier left-margin-width (cons (current-buffer) 2)) | 3598 | (set-specifier left-margin-width (cons (current-buffer) 2)) |
| @@ -3610,7 +3610,7 @@ Existing overlays are recycled, in order to minimize consumption." | |||
| 3610 | 3610 | ||
| 3611 | 3611 | ||
| 3612 | (defun idlwave-shell-make-new-bp-overlay (&optional type disabled help) | 3612 | (defun idlwave-shell-make-new-bp-overlay (&optional type disabled help) |
| 3613 | "Make a new overlay for highlighting breakpoints. | 3613 | "Make a new overlay for highlighting breakpoints. |
| 3614 | 3614 | ||
| 3615 | This stuff is strongly dependant upon the version of Emacs. If TYPE | 3615 | This stuff is strongly dependant upon the version of Emacs. If TYPE |
| 3616 | is passed, make an overlay of that type ('bp or 'bp-cond, currently | 3616 | is passed, make an overlay of that type ('bp or 'bp-cond, currently |
| @@ -3620,17 +3620,17 @@ text popup." | |||
| 3620 | (use-glyph (and (memq idlwave-shell-mark-breakpoints '(t glyph)) | 3620 | (use-glyph (and (memq idlwave-shell-mark-breakpoints '(t glyph)) |
| 3621 | idlwave-shell-bp-glyph)) | 3621 | idlwave-shell-bp-glyph)) |
| 3622 | (type (or type 'bp)) | 3622 | (type (or type 'bp)) |
| 3623 | (face (if disabled | 3623 | (face (if disabled |
| 3624 | idlwave-shell-disabled-breakpoint-face | 3624 | idlwave-shell-disabled-breakpoint-face |
| 3625 | idlwave-shell-breakpoint-face))) | 3625 | idlwave-shell-breakpoint-face))) |
| 3626 | (if (featurep 'xemacs) | 3626 | (if (featurep 'xemacs) |
| 3627 | ;; This is XEmacs | 3627 | ;; This is XEmacs |
| 3628 | (progn | 3628 | (progn |
| 3629 | (cond | 3629 | (cond |
| 3630 | ;; tty's cannot display glyphs | 3630 | ;; tty's cannot display glyphs |
| 3631 | ((eq (console-type) 'tty) | 3631 | ((eq (console-type) 'tty) |
| 3632 | (set-extent-property ov 'face face)) | 3632 | (set-extent-property ov 'face face)) |
| 3633 | 3633 | ||
| 3634 | ;; use the glyph | 3634 | ;; use the glyph |
| 3635 | (use-glyph | 3635 | (use-glyph |
| 3636 | (let ((glyph (cdr (assq type idlwave-shell-bp-glyph)))) | 3636 | (let ((glyph (cdr (assq type idlwave-shell-bp-glyph)))) |
| @@ -3651,13 +3651,13 @@ text popup." | |||
| 3651 | (if use-glyph | 3651 | (if use-glyph |
| 3652 | (let ((image-props (cdr (assq type idlwave-shell-bp-glyph))) | 3652 | (let ((image-props (cdr (assq type idlwave-shell-bp-glyph))) |
| 3653 | string) | 3653 | string) |
| 3654 | 3654 | ||
| 3655 | (if disabled (setq image-props | 3655 | (if disabled (setq image-props |
| 3656 | (append image-props | 3656 | (append image-props |
| 3657 | (list :conversion 'disabled)))) | 3657 | (list :conversion 'disabled)))) |
| 3658 | (setq string | 3658 | (setq string |
| 3659 | (propertize "@" | 3659 | (propertize "@" |
| 3660 | 'display | 3660 | 'display |
| 3661 | (list (list 'margin 'left-margin) | 3661 | (list (list 'margin 'left-margin) |
| 3662 | image-props) | 3662 | image-props) |
| 3663 | 'mouse-face 'highlight | 3663 | 'mouse-face 'highlight |
| @@ -3685,14 +3685,14 @@ text popup." | |||
| 3685 | Also with prefix arg, ask for the command. You can also use the command | 3685 | Also with prefix arg, ask for the command. You can also use the command |
| 3686 | `idlwave-shell-edit-default-command-line' to edit the line." | 3686 | `idlwave-shell-edit-default-command-line' to edit the line." |
| 3687 | (interactive "P") | 3687 | (interactive "P") |
| 3688 | (cond | 3688 | (cond |
| 3689 | ((equal arg '(16)) | 3689 | ((equal arg '(16)) |
| 3690 | (setq idlwave-shell-command-line-to-execute nil)) | 3690 | (setq idlwave-shell-command-line-to-execute nil)) |
| 3691 | ((equal arg '(4)) | 3691 | ((equal arg '(4)) |
| 3692 | (setq idlwave-shell-command-line-to-execute | 3692 | (setq idlwave-shell-command-line-to-execute |
| 3693 | (read-string "IDL> " idlwave-shell-command-line-to-execute)))) | 3693 | (read-string "IDL> " idlwave-shell-command-line-to-execute)))) |
| 3694 | (idlwave-shell-reset 'hidden) | 3694 | (idlwave-shell-reset 'hidden) |
| 3695 | (idlwave-shell-send-command | 3695 | (idlwave-shell-send-command |
| 3696 | (or idlwave-shell-command-line-to-execute | 3696 | (or idlwave-shell-command-line-to-execute |
| 3697 | (with-current-buffer (idlwave-shell-buffer) | 3697 | (with-current-buffer (idlwave-shell-buffer) |
| 3698 | (ring-ref comint-input-ring 0))) | 3698 | (ring-ref comint-input-ring 0))) |
| @@ -3702,7 +3702,7 @@ Also with prefix arg, ask for the command. You can also use the command | |||
| 3702 | "Save file and run it in IDL. | 3702 | "Save file and run it in IDL. |
| 3703 | Runs `save-buffer' and sends a '.RUN' command for the associated file to IDL. | 3703 | Runs `save-buffer' and sends a '.RUN' command for the associated file to IDL. |
| 3704 | When called from the shell buffer, re-run the file which was last handled by | 3704 | When called from the shell buffer, re-run the file which was last handled by |
| 3705 | one of the save-and-.. commands." | 3705 | one of the save-and-.. commands." |
| 3706 | (interactive) | 3706 | (interactive) |
| 3707 | (idlwave-shell-save-and-action 'run)) | 3707 | (idlwave-shell-save-and-action 'run)) |
| 3708 | 3708 | ||
| @@ -3718,7 +3718,7 @@ one of the save-and-.. commands." | |||
| 3718 | "Save file and batch it in IDL. | 3718 | "Save file and batch it in IDL. |
| 3719 | Runs `save-buffer' and sends a '@file' command for the associated file to IDL. | 3719 | Runs `save-buffer' and sends a '@file' command for the associated file to IDL. |
| 3720 | When called from the shell buffer, re-batch the file which was last handled by | 3720 | When called from the shell buffer, re-batch the file which was last handled by |
| 3721 | one of the save-and-.. commands." | 3721 | one of the save-and-.. commands." |
| 3722 | (interactive) | 3722 | (interactive) |
| 3723 | (idlwave-shell-save-and-action 'batch)) | 3723 | (idlwave-shell-save-and-action 'batch)) |
| 3724 | 3724 | ||
| @@ -3758,7 +3758,7 @@ handled by this command." | |||
| 3758 | 'idlwave-shell-maybe-update-routine-info | 3758 | 'idlwave-shell-maybe-update-routine-info |
| 3759 | (if (idlwave-shell-hide-p 'run) 'mostly) nil t) | 3759 | (if (idlwave-shell-hide-p 'run) 'mostly) nil t) |
| 3760 | (idlwave-shell-bp-query)) | 3760 | (idlwave-shell-bp-query)) |
| 3761 | (let ((msg (format "No such file %s" | 3761 | (let ((msg (format "No such file %s" |
| 3762 | idlwave-shell-last-save-and-action-file))) | 3762 | idlwave-shell-last-save-and-action-file))) |
| 3763 | (setq idlwave-shell-last-save-and-action-file nil) | 3763 | (setq idlwave-shell-last-save-and-action-file nil) |
| 3764 | (error msg)))) | 3764 | (error msg)))) |
| @@ -3791,7 +3791,7 @@ Queries IDL using the string in `idlwave-shell-sources-query'." | |||
| 3791 | 3791 | ||
| 3792 | (defun idlwave-shell-sources-filter () | 3792 | (defun idlwave-shell-sources-filter () |
| 3793 | "Get source files from `idlwave-shell-sources-query' output. | 3793 | "Get source files from `idlwave-shell-sources-query' output. |
| 3794 | Create `idlwave-shell-sources-alist' consisting of | 3794 | Create `idlwave-shell-sources-alist' consisting of |
| 3795 | list elements of the form: | 3795 | list elements of the form: |
| 3796 | (module name . (source-file-truename idlwave-internal-filename))." | 3796 | (module name . (source-file-truename idlwave-internal-filename))." |
| 3797 | (save-excursion | 3797 | (save-excursion |
| @@ -3876,9 +3876,9 @@ list elements of the form: | |||
| 3876 | (list | 3876 | (list |
| 3877 | (save-match-data | 3877 | (save-match-data |
| 3878 | (idlwave-shell-file-name | 3878 | (idlwave-shell-file-name |
| 3879 | (buffer-substring (match-beginning 1 ) | 3879 | (buffer-substring (match-beginning 1 ) |
| 3880 | (match-end 1)))) | 3880 | (match-end 1)))) |
| 3881 | (string-to-int | 3881 | (string-to-number |
| 3882 | (buffer-substring (match-beginning 2) | 3882 | (buffer-substring (match-beginning 2) |
| 3883 | (match-end 2))))) | 3883 | (match-end 2))))) |
| 3884 | ;; Try to find the column of the error | 3884 | ;; Try to find the column of the error |
| @@ -3943,13 +3943,13 @@ Otherwise, just expand the file name." | |||
| 3943 | 3943 | ||
| 3944 | ;; The mouse bindings for PRINT and HELP | 3944 | ;; The mouse bindings for PRINT and HELP |
| 3945 | (idlwave-shell-define-key-both | 3945 | (idlwave-shell-define-key-both |
| 3946 | (if (featurep 'xemacs) | 3946 | (if (featurep 'xemacs) |
| 3947 | [(shift button2)] | 3947 | [(shift button2)] |
| 3948 | [(shift down-mouse-2)]) | 3948 | [(shift down-mouse-2)]) |
| 3949 | 'idlwave-shell-mouse-print) | 3949 | 'idlwave-shell-mouse-print) |
| 3950 | (idlwave-shell-define-key-both | 3950 | (idlwave-shell-define-key-both |
| 3951 | (if (featurep 'xemacs) | 3951 | (if (featurep 'xemacs) |
| 3952 | [(control meta button2)] | 3952 | [(control meta button2)] |
| 3953 | [(control meta down-mouse-2)]) | 3953 | [(control meta down-mouse-2)]) |
| 3954 | 'idlwave-shell-mouse-help) | 3954 | 'idlwave-shell-mouse-help) |
| 3955 | (idlwave-shell-define-key-both | 3955 | (idlwave-shell-define-key-both |
| @@ -3958,14 +3958,14 @@ Otherwise, just expand the file name." | |||
| 3958 | [(control shift down-mouse-2)]) | 3958 | [(control shift down-mouse-2)]) |
| 3959 | 'idlwave-shell-examine-select) | 3959 | 'idlwave-shell-examine-select) |
| 3960 | ;; Add this one from the idlwave-mode-map | 3960 | ;; Add this one from the idlwave-mode-map |
| 3961 | (define-key idlwave-shell-mode-map | 3961 | (define-key idlwave-shell-mode-map |
| 3962 | (if (featurep 'xemacs) | 3962 | (if (featurep 'xemacs) |
| 3963 | [(shift button3)] | 3963 | [(shift button3)] |
| 3964 | [(shift mouse-3)]) | 3964 | [(shift mouse-3)]) |
| 3965 | 'idlwave-mouse-context-help) | 3965 | 'idlwave-mouse-context-help) |
| 3966 | 3966 | ||
| 3967 | ;; For Emacs, we need to turn off the button release events. | 3967 | ;; For Emacs, we need to turn off the button release events. |
| 3968 | (defun idlwave-shell-mouse-nop (event) | 3968 | (defun idlwave-shell-mouse-nop (event) |
| 3969 | (interactive "e")) | 3969 | (interactive "e")) |
| 3970 | (unless (featurep 'xemacs) | 3970 | (unless (featurep 'xemacs) |
| 3971 | (idlwave-shell-define-key-both | 3971 | (idlwave-shell-define-key-both |
| @@ -3975,7 +3975,7 @@ Otherwise, just expand the file name." | |||
| 3975 | (idlwave-shell-define-key-both | 3975 | (idlwave-shell-define-key-both |
| 3976 | [(control meta mouse-2)] 'idlwave-shell-mouse-nop)) | 3976 | [(control meta mouse-2)] 'idlwave-shell-mouse-nop)) |
| 3977 | 3977 | ||
| 3978 | 3978 | ||
| 3979 | ;; The following set of bindings is used to bind the debugging keys. | 3979 | ;; The following set of bindings is used to bind the debugging keys. |
| 3980 | ;; If `idlwave-shell-activate-prefix-keybindings' is non-nil, the | 3980 | ;; If `idlwave-shell-activate-prefix-keybindings' is non-nil, the |
| 3981 | ;; first key in the list gets bound the C-c C-d prefix map. If | 3981 | ;; first key in the list gets bound the C-c C-d prefix map. If |
| @@ -3984,10 +3984,10 @@ Otherwise, just expand the file name." | |||
| 3984 | ;; `idlwave-mode-map' and `idlwave-shell-mode-map'. The next list | 3984 | ;; `idlwave-mode-map' and `idlwave-shell-mode-map'. The next list |
| 3985 | ;; item, if non-nil, means to bind this as a single key in the | 3985 | ;; item, if non-nil, means to bind this as a single key in the |
| 3986 | ;; electric-debug-mode-map. | 3986 | ;; electric-debug-mode-map. |
| 3987 | ;; | 3987 | ;; |
| 3988 | ;; [C-c C-d]-binding debug-modifier-key command bind-electric-debug buf-only | 3988 | ;; [C-c C-d]-binding debug-modifier-key command bind-electric-debug buf-only |
| 3989 | ;; Used keys: abcdef hijklmnopqrstuvwxyz | 3989 | ;; Used keys: abcdef hijklmnopqrstuvwxyz |
| 3990 | ;; Unused keys: g | 3990 | ;; Unused keys: g |
| 3991 | (let* ((specs | 3991 | (let* ((specs |
| 3992 | '(([(control ?b)] ?b idlwave-shell-break-here t t) | 3992 | '(([(control ?b)] ?b idlwave-shell-break-here t t) |
| 3993 | ([(control ?i)] ?i idlwave-shell-break-in t t) | 3993 | ([(control ?i)] ?i idlwave-shell-break-in t t) |
| @@ -4037,10 +4037,10 @@ Otherwise, just expand the file name." | |||
| 4037 | electric (nth 3 s) | 4037 | electric (nth 3 s) |
| 4038 | only-buffer (nth 4 s) | 4038 | only-buffer (nth 4 s) |
| 4039 | cannotshift (and shift (char-valid-p c2) (eq c2 (upcase c2)))) | 4039 | cannotshift (and shift (char-valid-p c2) (eq c2 (upcase c2)))) |
| 4040 | 4040 | ||
| 4041 | ;; The regular prefix keymap. | 4041 | ;; The regular prefix keymap. |
| 4042 | (when (and idlwave-shell-activate-prefix-keybindings k1) | 4042 | (when (and idlwave-shell-activate-prefix-keybindings k1) |
| 4043 | (unless only-buffer | 4043 | (unless only-buffer |
| 4044 | (define-key idlwave-shell-mode-prefix-map k1 cmd)) | 4044 | (define-key idlwave-shell-mode-prefix-map k1 cmd)) |
| 4045 | (define-key idlwave-mode-prefix-map k1 cmd)) | 4045 | (define-key idlwave-mode-prefix-map k1 cmd)) |
| 4046 | ;; The debug modifier map | 4046 | ;; The debug modifier map |
| @@ -4054,24 +4054,24 @@ Otherwise, just expand the file name." | |||
| 4054 | (unless only-buffer (define-key idlwave-shell-mode-map k2 cmd)))) | 4054 | (unless only-buffer (define-key idlwave-shell-mode-map k2 cmd)))) |
| 4055 | ;; The electric debug single-keystroke map | 4055 | ;; The electric debug single-keystroke map |
| 4056 | (if (and electric (char-or-string-p c2)) | 4056 | (if (and electric (char-or-string-p c2)) |
| 4057 | (define-key idlwave-shell-electric-debug-mode-map (char-to-string c2) | 4057 | (define-key idlwave-shell-electric-debug-mode-map (char-to-string c2) |
| 4058 | cmd)))) | 4058 | cmd)))) |
| 4059 | 4059 | ||
| 4060 | ;; A few extras in the electric debug map | 4060 | ;; A few extras in the electric debug map |
| 4061 | (define-key idlwave-shell-electric-debug-mode-map " " 'idlwave-shell-step) | 4061 | (define-key idlwave-shell-electric-debug-mode-map " " 'idlwave-shell-step) |
| 4062 | (define-key idlwave-shell-electric-debug-mode-map "+" 'idlwave-shell-stack-up) | 4062 | (define-key idlwave-shell-electric-debug-mode-map "+" 'idlwave-shell-stack-up) |
| 4063 | (define-key idlwave-shell-electric-debug-mode-map "=" 'idlwave-shell-stack-up) | 4063 | (define-key idlwave-shell-electric-debug-mode-map "=" 'idlwave-shell-stack-up) |
| 4064 | (define-key idlwave-shell-electric-debug-mode-map "-" | 4064 | (define-key idlwave-shell-electric-debug-mode-map "-" |
| 4065 | 'idlwave-shell-stack-down) | 4065 | 'idlwave-shell-stack-down) |
| 4066 | (define-key idlwave-shell-electric-debug-mode-map "_" | 4066 | (define-key idlwave-shell-electric-debug-mode-map "_" |
| 4067 | 'idlwave-shell-stack-down) | 4067 | 'idlwave-shell-stack-down) |
| 4068 | (define-key idlwave-shell-electric-debug-mode-map "q" 'idlwave-shell-retall) | 4068 | (define-key idlwave-shell-electric-debug-mode-map "q" 'idlwave-shell-retall) |
| 4069 | (define-key idlwave-shell-electric-debug-mode-map "t" | 4069 | (define-key idlwave-shell-electric-debug-mode-map "t" |
| 4070 | '(lambda () (interactive) (idlwave-shell-send-command "help,/TRACE"))) | 4070 | '(lambda () (interactive) (idlwave-shell-send-command "help,/TRACE"))) |
| 4071 | (define-key idlwave-shell-electric-debug-mode-map [(control ??)] | 4071 | (define-key idlwave-shell-electric-debug-mode-map [(control ??)] |
| 4072 | 'idlwave-shell-electric-debug-help) | 4072 | 'idlwave-shell-electric-debug-help) |
| 4073 | (define-key idlwave-shell-electric-debug-mode-map "x" | 4073 | (define-key idlwave-shell-electric-debug-mode-map "x" |
| 4074 | '(lambda (arg) (interactive "P") | 4074 | '(lambda (arg) (interactive "P") |
| 4075 | (idlwave-shell-print arg nil nil t))) | 4075 | (idlwave-shell-print arg nil nil t))) |
| 4076 | 4076 | ||
| 4077 | 4077 | ||
| @@ -4092,12 +4092,12 @@ Otherwise, just expand the file name." | |||
| 4092 | (setq idlwave-shell-suppress-electric-debug nil)) | 4092 | (setq idlwave-shell-suppress-electric-debug nil)) |
| 4093 | (idlwave-shell-electric-debug-mode)) | 4093 | (idlwave-shell-electric-debug-mode)) |
| 4094 | 4094 | ||
| 4095 | (defvar idlwave-shell-electric-debug-read-only) | 4095 | (defvar idlwave-shell-electric-debug-read-only) |
| 4096 | (defvar idlwave-shell-electric-debug-buffers nil) | 4096 | (defvar idlwave-shell-electric-debug-buffers nil) |
| 4097 | 4097 | ||
| 4098 | (easy-mmode-define-minor-mode idlwave-shell-electric-debug-mode | 4098 | (easy-mmode-define-minor-mode idlwave-shell-electric-debug-mode |
| 4099 | "Toggle Electric Debug mode. | 4099 | "Toggle Electric Debug mode. |
| 4100 | With no argument, this command toggles the mode. | 4100 | With no argument, this command toggles the mode. |
| 4101 | Non-null prefix argument turns on the mode. | 4101 | Non-null prefix argument turns on the mode. |
| 4102 | Null prefix argument turns off the mode. | 4102 | Null prefix argument turns off the mode. |
| 4103 | 4103 | ||
| @@ -4107,7 +4107,7 @@ nil | |||
| 4107 | " *Debugging*" | 4107 | " *Debugging*" |
| 4108 | idlwave-shell-electric-debug-mode-map) | 4108 | idlwave-shell-electric-debug-mode-map) |
| 4109 | 4109 | ||
| 4110 | (add-hook | 4110 | (add-hook |
| 4111 | 'idlwave-shell-electric-debug-mode-on-hook | 4111 | 'idlwave-shell-electric-debug-mode-on-hook |
| 4112 | (lambda () | 4112 | (lambda () |
| 4113 | (set (make-local-variable 'idlwave-shell-electric-debug-read-only) | 4113 | (set (make-local-variable 'idlwave-shell-electric-debug-read-only) |
| @@ -4115,13 +4115,13 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4115 | (setq buffer-read-only t) | 4115 | (setq buffer-read-only t) |
| 4116 | (add-to-list 'idlwave-shell-electric-debug-buffers (current-buffer)) | 4116 | (add-to-list 'idlwave-shell-electric-debug-buffers (current-buffer)) |
| 4117 | (if idlwave-shell-stop-line-overlay | 4117 | (if idlwave-shell-stop-line-overlay |
| 4118 | (overlay-put idlwave-shell-stop-line-overlay 'face | 4118 | (overlay-put idlwave-shell-stop-line-overlay 'face |
| 4119 | idlwave-shell-electric-stop-line-face)) | 4119 | idlwave-shell-electric-stop-line-face)) |
| 4120 | (if (facep 'fringe) | 4120 | (if (facep 'fringe) |
| 4121 | (set-face-foreground 'fringe idlwave-shell-electric-stop-color | 4121 | (set-face-foreground 'fringe idlwave-shell-electric-stop-color |
| 4122 | (selected-frame))))) | 4122 | (selected-frame))))) |
| 4123 | 4123 | ||
| 4124 | (add-hook | 4124 | (add-hook |
| 4125 | 'idlwave-shell-electric-debug-mode-off-hook | 4125 | 'idlwave-shell-electric-debug-mode-off-hook |
| 4126 | (lambda () | 4126 | (lambda () |
| 4127 | ;; Return to previous read-only state | 4127 | ;; Return to previous read-only state |
| @@ -4130,7 +4130,7 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4130 | (setq idlwave-shell-electric-debug-buffers | 4130 | (setq idlwave-shell-electric-debug-buffers |
| 4131 | (delq (current-buffer) idlwave-shell-electric-debug-buffers)) | 4131 | (delq (current-buffer) idlwave-shell-electric-debug-buffers)) |
| 4132 | (if idlwave-shell-stop-line-overlay | 4132 | (if idlwave-shell-stop-line-overlay |
| 4133 | (overlay-put idlwave-shell-stop-line-overlay 'face | 4133 | (overlay-put idlwave-shell-stop-line-overlay 'face |
| 4134 | idlwave-shell-stop-line-face) | 4134 | idlwave-shell-stop-line-face) |
| 4135 | (if (facep 'fringe) | 4135 | (if (facep 'fringe) |
| 4136 | (set-face-foreground 'fringe (face-foreground 'default)))))) | 4136 | (set-face-foreground 'fringe (face-foreground 'default)))))) |
| @@ -4161,7 +4161,7 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4161 | ;; Show the help text | 4161 | ;; Show the help text |
| 4162 | (defun idlwave-shell-electric-debug-help () | 4162 | (defun idlwave-shell-electric-debug-help () |
| 4163 | (interactive) | 4163 | (interactive) |
| 4164 | (with-output-to-temp-buffer "*IDLWAVE Electric Debug Help*" | 4164 | (with-output-to-temp-buffer "*IDLWAVE Electric Debug Help*" |
| 4165 | (princ idlwave-shell-electric-debug-help)) | 4165 | (princ idlwave-shell-electric-debug-help)) |
| 4166 | (let* ((current-window (selected-window)) | 4166 | (let* ((current-window (selected-window)) |
| 4167 | (window (get-buffer-window "*IDLWAVE Electric Debug Help*")) | 4167 | (window (get-buffer-window "*IDLWAVE Electric Debug Help*")) |
| @@ -4176,7 +4176,7 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4176 | `("Debug" | 4176 | `("Debug" |
| 4177 | ["Electric Debug Mode" | 4177 | ["Electric Debug Mode" |
| 4178 | idlwave-shell-electric-debug-mode | 4178 | idlwave-shell-electric-debug-mode |
| 4179 | :style toggle :selected idlwave-shell-electric-debug-mode | 4179 | :style toggle :selected idlwave-shell-electric-debug-mode |
| 4180 | :included (eq major-mode 'idlwave-mode) :keys "C-c C-d C-v"] | 4180 | :included (eq major-mode 'idlwave-mode) :keys "C-c C-d C-v"] |
| 4181 | "--" | 4181 | "--" |
| 4182 | ("Compile & Run" | 4182 | ("Compile & Run" |
| @@ -4192,35 +4192,35 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4192 | "--" | 4192 | "--" |
| 4193 | ["Goto Next Error" idlwave-shell-goto-next-error t] | 4193 | ["Goto Next Error" idlwave-shell-goto-next-error t] |
| 4194 | "--" | 4194 | "--" |
| 4195 | ["Compile and Run Region" idlwave-shell-run-region | 4195 | ["Compile and Run Region" idlwave-shell-run-region |
| 4196 | (eq major-mode 'idlwave-mode)] | 4196 | (eq major-mode 'idlwave-mode)] |
| 4197 | ["Evaluate Region" idlwave-shell-evaluate-region | 4197 | ["Evaluate Region" idlwave-shell-evaluate-region |
| 4198 | (eq major-mode 'idlwave-mode)] | 4198 | (eq major-mode 'idlwave-mode)] |
| 4199 | "--" | 4199 | "--" |
| 4200 | ["Execute Default Cmd" idlwave-shell-execute-default-command-line t] | 4200 | ["Execute Default Cmd" idlwave-shell-execute-default-command-line t] |
| 4201 | ["Edit Default Cmd" idlwave-shell-edit-default-command-line t]) | 4201 | ["Edit Default Cmd" idlwave-shell-edit-default-command-line t]) |
| 4202 | ("Breakpoints" | 4202 | ("Breakpoints" |
| 4203 | ["Set Breakpoint" idlwave-shell-break-here | 4203 | ["Set Breakpoint" idlwave-shell-break-here |
| 4204 | :keys "C-c C-d C-c" :active (eq major-mode 'idlwave-mode)] | 4204 | :keys "C-c C-d C-c" :active (eq major-mode 'idlwave-mode)] |
| 4205 | ("Set Special Breakpoint" | 4205 | ("Set Special Breakpoint" |
| 4206 | ["Set After Count Breakpoint" | 4206 | ["Set After Count Breakpoint" |
| 4207 | (progn | 4207 | (progn |
| 4208 | (let ((count (string-to-int (read-string "Break after count: ")))) | 4208 | (let ((count (string-to-number (read-string "Break after count: ")))) |
| 4209 | (if (integerp count) (idlwave-shell-break-here count)))) | 4209 | (if (integerp count) (idlwave-shell-break-here count)))) |
| 4210 | :active (eq major-mode 'idlwave-mode)] | 4210 | :active (eq major-mode 'idlwave-mode)] |
| 4211 | ["Set Condition Breakpoint" | 4211 | ["Set Condition Breakpoint" |
| 4212 | (idlwave-shell-break-here '(4)) | 4212 | (idlwave-shell-break-here '(4)) |
| 4213 | :active (eq major-mode 'idlwave-mode)]) | 4213 | :active (eq major-mode 'idlwave-mode)]) |
| 4214 | ["Break in Module" idlwave-shell-break-in | 4214 | ["Break in Module" idlwave-shell-break-in |
| 4215 | :keys "C-c C-d C-i" :active (eq major-mode 'idlwave-mode)] | 4215 | :keys "C-c C-d C-i" :active (eq major-mode 'idlwave-mode)] |
| 4216 | ["Break in this Module" idlwave-shell-break-this-module | 4216 | ["Break in this Module" idlwave-shell-break-this-module |
| 4217 | :keys "C-c C-d C-j" :active (eq major-mode 'idlwave-mode)] | 4217 | :keys "C-c C-d C-j" :active (eq major-mode 'idlwave-mode)] |
| 4218 | ["Clear Breakpoint" idlwave-shell-clear-current-bp t] | 4218 | ["Clear Breakpoint" idlwave-shell-clear-current-bp t] |
| 4219 | ["Clear All Breakpoints" idlwave-shell-clear-all-bp t] | 4219 | ["Clear All Breakpoints" idlwave-shell-clear-all-bp t] |
| 4220 | ["Disable/Enable Breakpoint" idlwave-shell-toggle-enable-current-bp t] | 4220 | ["Disable/Enable Breakpoint" idlwave-shell-toggle-enable-current-bp t] |
| 4221 | ["Goto Previous Breakpoint" idlwave-shell-goto-previous-bp | 4221 | ["Goto Previous Breakpoint" idlwave-shell-goto-previous-bp |
| 4222 | :keys "C-c C-d [" :active (eq major-mode 'idlwave-mode)] | 4222 | :keys "C-c C-d [" :active (eq major-mode 'idlwave-mode)] |
| 4223 | ["Goto Next Breakpoint" idlwave-shell-goto-next-bp | 4223 | ["Goto Next Breakpoint" idlwave-shell-goto-next-bp |
| 4224 | :keys "C-c C-d ]" :active (eq major-mode 'idlwave-mode)] | 4224 | :keys "C-c C-d ]" :active (eq major-mode 'idlwave-mode)] |
| 4225 | ["List All Breakpoints" idlwave-shell-list-all-bp t] | 4225 | ["List All Breakpoints" idlwave-shell-list-all-bp t] |
| 4226 | ["Resync Breakpoints" idlwave-shell-bp-query t]) | 4226 | ["Resync Breakpoints" idlwave-shell-bp-query t]) |
| @@ -4252,38 +4252,38 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4252 | ["Redisplay and Sync" idlwave-shell-redisplay t]) | 4252 | ["Redisplay and Sync" idlwave-shell-redisplay t]) |
| 4253 | ("Show Commands" | 4253 | ("Show Commands" |
| 4254 | ["Everything" (if (eq idlwave-shell-show-commands 'everything) | 4254 | ["Everything" (if (eq idlwave-shell-show-commands 'everything) |
| 4255 | (progn | 4255 | (progn |
| 4256 | (setq idlwave-shell-show-commands | 4256 | (setq idlwave-shell-show-commands |
| 4257 | (get 'idlwave-shell-show-commands 'last-val)) | 4257 | (get 'idlwave-shell-show-commands 'last-val)) |
| 4258 | (put 'idlwave-shell-show-commands 'last-val nil)) | 4258 | (put 'idlwave-shell-show-commands 'last-val nil)) |
| 4259 | (put 'idlwave-shell-show-commands 'last-val | 4259 | (put 'idlwave-shell-show-commands 'last-val |
| 4260 | idlwave-shell-show-commands) | 4260 | idlwave-shell-show-commands) |
| 4261 | (setq idlwave-shell-show-commands 'everything)) | 4261 | (setq idlwave-shell-show-commands 'everything)) |
| 4262 | :style toggle :selected (and (not (listp idlwave-shell-show-commands)) | 4262 | :style toggle :selected (and (not (listp idlwave-shell-show-commands)) |
| 4263 | (eq idlwave-shell-show-commands | 4263 | (eq idlwave-shell-show-commands |
| 4264 | 'everything))] | 4264 | 'everything))] |
| 4265 | "--" | 4265 | "--" |
| 4266 | ["Compiling Commands" (idlwave-shell-add-or-remove-show 'run) | 4266 | ["Compiling Commands" (idlwave-shell-add-or-remove-show 'run) |
| 4267 | :style toggle | 4267 | :style toggle |
| 4268 | :selected (not (idlwave-shell-hide-p | 4268 | :selected (not (idlwave-shell-hide-p |
| 4269 | 'run | 4269 | 'run |
| 4270 | (get 'idlwave-shell-show-commands 'last-val))) | 4270 | (get 'idlwave-shell-show-commands 'last-val))) |
| 4271 | :active (not (eq idlwave-shell-show-commands 'everything))] | 4271 | :active (not (eq idlwave-shell-show-commands 'everything))] |
| 4272 | ["Breakpoint Commands" (idlwave-shell-add-or-remove-show 'breakpoint) | 4272 | ["Breakpoint Commands" (idlwave-shell-add-or-remove-show 'breakpoint) |
| 4273 | :style toggle | 4273 | :style toggle |
| 4274 | :selected (not (idlwave-shell-hide-p | 4274 | :selected (not (idlwave-shell-hide-p |
| 4275 | 'breakpoint | 4275 | 'breakpoint |
| 4276 | (get 'idlwave-shell-show-commands 'last-val))) | 4276 | (get 'idlwave-shell-show-commands 'last-val))) |
| 4277 | :active (not (eq idlwave-shell-show-commands 'everything))] | 4277 | :active (not (eq idlwave-shell-show-commands 'everything))] |
| 4278 | ["Debug Commands" (idlwave-shell-add-or-remove-show 'debug) | 4278 | ["Debug Commands" (idlwave-shell-add-or-remove-show 'debug) |
| 4279 | :style toggle | 4279 | :style toggle |
| 4280 | :selected (not (idlwave-shell-hide-p | 4280 | :selected (not (idlwave-shell-hide-p |
| 4281 | 'debug | 4281 | 'debug |
| 4282 | (get 'idlwave-shell-show-commands 'last-val))) | 4282 | (get 'idlwave-shell-show-commands 'last-val))) |
| 4283 | :active (not (eq idlwave-shell-show-commands 'everything))] | 4283 | :active (not (eq idlwave-shell-show-commands 'everything))] |
| 4284 | ["Miscellaneous Commands" (idlwave-shell-add-or-remove-show 'misc) | 4284 | ["Miscellaneous Commands" (idlwave-shell-add-or-remove-show 'misc) |
| 4285 | :style toggle | 4285 | :style toggle |
| 4286 | :selected (not (idlwave-shell-hide-p | 4286 | :selected (not (idlwave-shell-hide-p |
| 4287 | 'misc | 4287 | 'misc |
| 4288 | (get 'idlwave-shell-show-commands 'last-val))) | 4288 | (get 'idlwave-shell-show-commands 'last-val))) |
| 4289 | :active (not (eq idlwave-shell-show-commands 'everything))]) | 4289 | :active (not (eq idlwave-shell-show-commands 'everything))]) |
| @@ -4297,7 +4297,7 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4297 | :style toggle :selected idlwave-shell-use-input-mode-magic]) | 4297 | :style toggle :selected idlwave-shell-use-input-mode-magic]) |
| 4298 | "--" | 4298 | "--" |
| 4299 | ["Update Working Dir" idlwave-shell-resync-dirs t] | 4299 | ["Update Working Dir" idlwave-shell-resync-dirs t] |
| 4300 | ["Save Path Info" | 4300 | ["Save Path Info" |
| 4301 | (idlwave-shell-send-command idlwave-shell-path-query | 4301 | (idlwave-shell-send-command idlwave-shell-path-query |
| 4302 | 'idlwave-shell-get-path-info | 4302 | 'idlwave-shell-get-path-info |
| 4303 | 'hide) | 4303 | 'hide) |
| @@ -4309,7 +4309,7 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4309 | 4309 | ||
| 4310 | (if (or (featurep 'easymenu) (load "easymenu" t)) | 4310 | (if (or (featurep 'easymenu) (load "easymenu" t)) |
| 4311 | (progn | 4311 | (progn |
| 4312 | (easy-menu-define | 4312 | (easy-menu-define |
| 4313 | idlwave-mode-debug-menu idlwave-mode-map "IDL debugging menus" | 4313 | idlwave-mode-debug-menu idlwave-mode-map "IDL debugging menus" |
| 4314 | idlwave-shell-menu-def) | 4314 | idlwave-shell-menu-def) |
| 4315 | (easy-menu-define | 4315 | (easy-menu-define |
| @@ -4329,7 +4329,7 @@ idlwave-shell-electric-debug-mode-map) | |||
| 4329 | (defvar idlwave-shell-bp-glyph nil | 4329 | (defvar idlwave-shell-bp-glyph nil |
| 4330 | "The glyphs to mark breakpoint lines in the source code.") | 4330 | "The glyphs to mark breakpoint lines in the source code.") |
| 4331 | 4331 | ||
| 4332 | (let ((image-alist | 4332 | (let ((image-alist |
| 4333 | '((bp . "/* XPM */ | 4333 | '((bp . "/* XPM */ |
| 4334 | static char * file[] = { | 4334 | static char * file[] = { |
| 4335 | \"14 12 3 1\", | 4335 | \"14 12 3 1\", |
| @@ -4462,7 +4462,7 @@ static char * file[] = { | |||
| 4462 | \" .XXXX. \", | 4462 | \" .XXXX. \", |
| 4463 | \" .... \", | 4463 | \" .... \", |
| 4464 | \" \"};"))) im-cons im) | 4464 | \" \"};"))) im-cons im) |
| 4465 | 4465 | ||
| 4466 | (while (setq im-cons (pop image-alist)) | 4466 | (while (setq im-cons (pop image-alist)) |
| 4467 | (setq im (cond ((and (featurep 'xemacs) | 4467 | (setq im (cond ((and (featurep 'xemacs) |
| 4468 | (featurep 'xpm)) | 4468 | (featurep 'xpm)) |
| @@ -4475,7 +4475,7 @@ static char * file[] = { | |||
| 4475 | ((and (not (featurep 'xemacs)) | 4475 | ((and (not (featurep 'xemacs)) |
| 4476 | (fboundp 'image-type-available-p) | 4476 | (fboundp 'image-type-available-p) |
| 4477 | (image-type-available-p 'xpm)) | 4477 | (image-type-available-p 'xpm)) |
| 4478 | (list 'image :type 'xpm :data (cdr im-cons) | 4478 | (list 'image :type 'xpm :data (cdr im-cons) |
| 4479 | :ascent 'center)) | 4479 | :ascent 'center)) |
| 4480 | (t nil))) | 4480 | (t nil))) |
| 4481 | (if im (push (cons (car im-cons) im) idlwave-shell-bp-glyph)))) | 4481 | (if im (push (cons (car im-cons) im) idlwave-shell-bp-glyph)))) |
| @@ -4485,7 +4485,7 @@ static char * file[] = { | |||
| 4485 | 4485 | ||
| 4486 | ;;; Load the toolbar when wanted by the user. | 4486 | ;;; Load the toolbar when wanted by the user. |
| 4487 | 4487 | ||
| 4488 | (autoload 'idlwave-toolbar-toggle "idlw-toolbar" | 4488 | (autoload 'idlwave-toolbar-toggle "idlw-toolbar" |
| 4489 | "Toggle the IDLWAVE toolbar") | 4489 | "Toggle the IDLWAVE toolbar") |
| 4490 | (autoload 'idlwave-toolbar-add-everywhere "idlw-toolbar" | 4490 | (autoload 'idlwave-toolbar-add-everywhere "idlw-toolbar" |
| 4491 | "Add IDLWAVE toolbar") | 4491 | "Add IDLWAVE toolbar") |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index bc30bfdfc56..86002768757 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -257,26 +257,27 @@ not be enclosed in { } or ( )." | |||
| 257 | ;; Note that the first big subexpression is used by font lock. Note | 257 | ;; Note that the first big subexpression is used by font lock. Note |
| 258 | ;; that if you change this regexp you might have to fix the imenu | 258 | ;; that if you change this regexp you might have to fix the imenu |
| 259 | ;; index in makefile-imenu-generic-expression. | 259 | ;; index in makefile-imenu-generic-expression. |
| 260 | (defconst makefile-dependency-regex | 260 | (defvar makefile-dependency-regex |
| 261 | ;; Allow for one nested level $($(var:a=b):c=d) | 261 | ;; Allow for two nested levels $(v1:$(v2:$(v3:a=b)=c)=d) |
| 262 | ;; Scan non-$ constructs char by char, so we don't miss a $ while allowing $$. | 262 | "^ *\\(\\(?: *\\$\\(?:[({]\\(?:\\$\\(?:[({]\\(?:\\$\\(?:[^({]\\|.[^\n$#})]+?[})]\\)\\|[^\n$#)}]\\)+?[})]\\|[^({]\\)\\|[^\n$#)}]\\)+?[})]\\|[^({]\\)\\| *[^ \n$#:=]+\\)+?\\)[ \t]*\\(:\\)\\(?:[ \t]*$\\|[^=\n]\\(?:[^#\n]*?;[ \t]*\\(.+\\)\\)?\\)" |
| 263 | ;; Since we must allow space between targets, I then don't know how to evite a command starting with :. | ||
| 264 | "^ *\\(\\(?:\\$[({]\\(?:\\$[({][^ \t\n#})]+?[})]\\|[^\n#]\\)+?[})]\\|[^\n#:=]\\)+?\\)[ \t]*:\\(?:[ \t]*$\\|[^=\n].*$\\)" | ||
| 265 | "Regex used to find dependency lines in a makefile.") | 263 | "Regex used to find dependency lines in a makefile.") |
| 266 | 264 | ||
| 267 | (defconst makefile-rule-action-regex | 265 | (defvar makefile-dependency-skip "^:" |
| 268 | "^\t[ \t]*\\([-@]*\\)[ \t]*\\(.+\\)" | 266 | "Characters to skip to find a line that might be a dependency.") |
| 267 | |||
| 268 | (defvar makefile-rule-action-regex | ||
| 269 | "^\t[ \t]*\\([-@]*\\)[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)" | ||
| 269 | "Regex used to highlight rule action lines in font lock mode.") | 270 | "Regex used to highlight rule action lines in font lock mode.") |
| 270 | 271 | ||
| 271 | ;; Note that the first and second subexpression is used by font lock. Note | 272 | ;; Note that the first and second subexpression is used by font lock. Note |
| 272 | ;; that if you change this regexp you might have to fix the imenu index in | 273 | ;; that if you change this regexp you might have to fix the imenu index in |
| 273 | ;; makefile-imenu-generic-expression. | 274 | ;; makefile-imenu-generic-expression. |
| 274 | (defconst makefile-macroassign-regex | 275 | (defconst makefile-macroassign-regex |
| 275 | "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ \t]*\\(.*\\)\\|[*:+]?[:?]?=\\)" | 276 | "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\)" |
| 276 | "Regex used to find macro assignment lines in a makefile.") | 277 | "Regex used to find macro assignment lines in a makefile.") |
| 277 | 278 | ||
| 278 | (defconst makefile-var-use-regex | 279 | (defconst makefile-var-use-regex |
| 279 | "[^$]\\$[({]\\([-a-zA-Z0-9_.]+\\|[@%<?^+*][FD]?\\)[}):]" | 280 | "[^$]\\$[({]\\([-a-zA-Z0-9_.]+\\|[@%<?^+*][FD]?\\)" |
| 280 | "Regex used to find $(macro) uses in a makefile.") | 281 | "Regex used to find $(macro) uses in a makefile.") |
| 281 | 282 | ||
| 282 | (defconst makefile-ignored-files-in-pickup-regex | 283 | (defconst makefile-ignored-files-in-pickup-regex |
| @@ -323,20 +324,19 @@ not be enclosed in { } or ( )." | |||
| 323 | ".endif" ".for" ".if" ".ifdef" ".ifmake" ".ifndef" ".ifnmake" ".undef") | 324 | ".endif" ".for" ".if" ".ifdef" ".ifmake" ".ifndef" ".ifnmake" ".undef") |
| 324 | "List of keywords understood by BSD make.") | 325 | "List of keywords understood by BSD make.") |
| 325 | 326 | ||
| 326 | (defun makefile-make-font-lock-keywords (dependency action var keywords space | 327 | (defun makefile-make-font-lock-keywords (var keywords space |
| 327 | &optional negation | 328 | &optional negation |
| 328 | &rest font-lock-keywords) | 329 | &rest font-lock-keywords) |
| 329 | `(;; Do macro assignments. These get the "variable-name" face. | 330 | `(;; Do macro assignments. These get the "variable-name" face. |
| 330 | (,makefile-macroassign-regex | 331 | (,makefile-macroassign-regex |
| 331 | (1 font-lock-variable-name-face) | 332 | (1 font-lock-variable-name-face) |
| 332 | ;; This is for after != | 333 | ;; This is for after != |
| 333 | (2 'makefile-shell-face prepend t)) | 334 | (2 'makefile-shell-face prepend t) |
| 334 | 335 | ;; This is for after normal assignment | |
| 335 | ;; Do dependencies. | 336 | (3 'font-lock-string-face prepend t)) |
| 336 | (,dependency 1 'makefile-targets-face prepend) | ||
| 337 | 337 | ||
| 338 | ;; Rule actions. | 338 | ;; Rule actions. |
| 339 | (,action | 339 | (makefile-match-action |
| 340 | (1 font-lock-type-face) | 340 | (1 font-lock-type-face) |
| 341 | (2 'makefile-shell-face prepend) | 341 | (2 'makefile-shell-face prepend) |
| 342 | ;; Only makepp has builtin commands. | 342 | ;; Only makepp has builtin commands. |
| @@ -353,15 +353,14 @@ not be enclosed in { } or ( )." | |||
| 353 | 1 'makefile-targets-face prepend) | 353 | 1 'makefile-targets-face prepend) |
| 354 | 354 | ||
| 355 | ;; Fontify conditionals and includes. | 355 | ;; Fontify conditionals and includes. |
| 356 | ;; Note that plain `if' is an automake conditional, and not a bug. | ||
| 357 | (,(concat "^\\(?: [ \t]*\\)?" | 356 | (,(concat "^\\(?: [ \t]*\\)?" |
| 358 | (regexp-opt keywords t) | 357 | (regexp-opt keywords t) |
| 359 | "\\>[ \t]*\\([^: \t\n#]*\\)") | 358 | "\\>[ \t]*\\([^: \t\n#]*\\)") |
| 360 | (1 font-lock-keyword-face) (2 font-lock-variable-name-face)) | 359 | (1 font-lock-keyword-face) (2 font-lock-variable-name-face)) |
| 361 | 360 | ||
| 362 | ,(if negation | 361 | ,@(if negation |
| 363 | `(,negation (1 font-lock-negation-char-face prepend) | 362 | `((,negation (1 font-lock-negation-char-face prepend) |
| 364 | (2 font-lock-negation-char-face prepend t))) | 363 | (2 font-lock-negation-char-face prepend t)))) |
| 365 | 364 | ||
| 366 | ,@(if space | 365 | ,@(if space |
| 367 | '(;; Highlight lines that contain just whitespace. | 366 | '(;; Highlight lines that contain just whitespace. |
| @@ -376,28 +375,27 @@ not be enclosed in { } or ( )." | |||
| 376 | ;; They can make a tab fail to be effective. | 375 | ;; They can make a tab fail to be effective. |
| 377 | ("^\\( +\\)\t" 1 makefile-space-face))) | 376 | ("^\\( +\\)\t" 1 makefile-space-face))) |
| 378 | 377 | ||
| 379 | ,@font-lock-keywords)) | 378 | ,@font-lock-keywords |
| 379 | |||
| 380 | ;; Do dependencies. | ||
| 381 | (makefile-match-dependency | ||
| 382 | (1 'makefile-targets-face prepend) | ||
| 383 | (3 'makefile-shell-face prepend t)))) | ||
| 380 | 384 | ||
| 381 | (defconst makefile-font-lock-keywords | 385 | (defconst makefile-font-lock-keywords |
| 382 | (makefile-make-font-lock-keywords | 386 | (makefile-make-font-lock-keywords |
| 383 | makefile-dependency-regex | ||
| 384 | makefile-rule-action-regex | ||
| 385 | makefile-var-use-regex | 387 | makefile-var-use-regex |
| 386 | makefile-statements | 388 | makefile-statements |
| 387 | t)) | 389 | t)) |
| 388 | 390 | ||
| 389 | (defconst makefile-automake-font-lock-keywords | 391 | (defconst makefile-automake-font-lock-keywords |
| 390 | (makefile-make-font-lock-keywords | 392 | (makefile-make-font-lock-keywords |
| 391 | makefile-dependency-regex | ||
| 392 | makefile-rule-action-regex | ||
| 393 | makefile-var-use-regex | 393 | makefile-var-use-regex |
| 394 | makefile-automake-statements | 394 | makefile-automake-statements |
| 395 | t)) | 395 | t)) |
| 396 | 396 | ||
| 397 | (defconst makefile-gmake-font-lock-keywords | 397 | (defconst makefile-gmake-font-lock-keywords |
| 398 | (makefile-make-font-lock-keywords | 398 | (makefile-make-font-lock-keywords |
| 399 | makefile-dependency-regex | ||
| 400 | makefile-rule-action-regex | ||
| 401 | makefile-var-use-regex | 399 | makefile-var-use-regex |
| 402 | makefile-gmake-statements | 400 | makefile-gmake-statements |
| 403 | t | 401 | t |
| @@ -407,8 +405,8 @@ not be enclosed in { } or ( )." | |||
| 407 | 1 'makefile-targets-face prepend) | 405 | 1 'makefile-targets-face prepend) |
| 408 | 406 | ||
| 409 | ;; $(function ...) ${function ...} | 407 | ;; $(function ...) ${function ...} |
| 410 | '("[^$]\\$[({]\\(\\S +\\s \\)" | 408 | '("[^$]\\$[({]\\([-a-zA-Z0-9_.]+\\s \\)" |
| 411 | 1 font-lock-function-name-face) | 409 | 1 font-lock-function-name-face prepend) |
| 412 | 410 | ||
| 413 | ;; $(shell ...) ${shell ...} | 411 | ;; $(shell ...) ${shell ...} |
| 414 | '("[^$]\\$\\([({]\\)shell[ \t]+" | 412 | '("[^$]\\$\\([({]\\)shell[ \t]+" |
| @@ -417,24 +415,23 @@ not be enclosed in { } or ( )." | |||
| 417 | 415 | ||
| 418 | (defconst makefile-makepp-font-lock-keywords | 416 | (defconst makefile-makepp-font-lock-keywords |
| 419 | (makefile-make-font-lock-keywords | 417 | (makefile-make-font-lock-keywords |
| 420 | makefile-dependency-regex | ||
| 421 | ;; Don't care about initial tab, but I don't know how to font-lock correctly without. | ||
| 422 | "^\t[ \t]*\\(\\(?:[ \t]*noecho\\>\\|[ \t]*ignore[-_]error\\>\\|[ \t]*[-@]+\\)*\\)[ \t]*\\(\\(&\\S +\\)?.+\\)" | ||
| 423 | makefile-var-use-regex | 418 | makefile-var-use-regex |
| 424 | makefile-makepp-statements | 419 | makefile-makepp-statements |
| 425 | nil | 420 | nil |
| 426 | "^\\(?: [ \t]*\\)?\\(?:and[ \t]+\\|else[ \t]+\\|or[ \t]+\\)?if\\(n\\)\\(?:def\\|eq\\|sys\\)\\>" | 421 | "^\\(?: [ \t]*\\)?\\(?:and[ \t]+\\|else[ \t]+\\|or[ \t]+\\)?if\\(n\\)\\(?:def\\|eq\\|sys\\)\\>" |
| 427 | 422 | ||
| 428 | '("[^$]\\(\\$[({]\\(?:target\\|output\\)s?[})]\\)" | 423 | '("[^$]\\(\\$[({]\\(?:target\\|output\\)s?\\_>.*?[})]\\)" |
| 429 | 1 'makefile-targets-face prepend) | 424 | 1 'makefile-targets-face prepend) |
| 430 | 425 | ||
| 431 | ;; Colon modifier keywords. | 426 | ;; Colon modifier keywords. |
| 432 | '(":\\s *\\(build_c\\(?:ache\\|heck\\)\\|env\\(?:ironment\\)?\\|foreach\\|signature\\|scanner\\|quickscan\\|smartscan\\)\\>" | 427 | '("\\(:\\s *\\)\\(build_c\\(?:ache\\|heck\\)\\|env\\(?:ironment\\)?\\|foreach\\|signature\\|scanner\\|quickscan\\|smartscan\\)\\>\\([^:\n]*\\)" |
| 433 | 1 font-lock-keyword-face t) | 428 | (1 font-lock-type-face t) |
| 429 | (2 font-lock-keyword-face t) | ||
| 430 | (3 font-lock-variable-name-face t)) | ||
| 434 | 431 | ||
| 435 | ;; $(function ...) $((function ...)) ${function ...} ${{function ...}} | 432 | ;; $(function ...) $((function ...)) ${function ...} ${{function ...}} |
| 436 | '("[^$]\\$\\(((?\\|{{?\\)\\(\\S +\\s \\)" | 433 | '("[^$]\\$\\(?:((?\\|{{?\\)\\([-a-zA-Z0-9_.]+\\s \\)" |
| 437 | 2 font-lock-function-name-face) | 434 | 1 font-lock-function-name-face prepend) |
| 438 | 435 | ||
| 439 | ;; $(shell ...) $((shell ...)) ${shell ...} ${{shell ...}} | 436 | ;; $(shell ...) $((shell ...)) ${shell ...} ${{shell ...}} |
| 440 | '("[^$]\\$\\(((?\\|{{?\\)shell\\(?:[-_]\\(?:global[-_]\\)?once\\)?[ \t]+" | 437 | '("[^$]\\$\\(((?\\|{{?\\)shell\\(?:[-_]\\(?:global[-_]\\)?once\\)?[ \t]+" |
| @@ -466,11 +463,9 @@ not be enclosed in { } or ( )." | |||
| 466 | '("perl[-_]begin\\s *\\(?:\\s #.*\\)?\n\\(\\(?:.*\n\\)+?\\)\\s *perl[-_]end\\>" | 463 | '("perl[-_]begin\\s *\\(?:\\s #.*\\)?\n\\(\\(?:.*\n\\)+?\\)\\s *perl[-_]end\\>" |
| 467 | 1 'makefile-makepp-perl-face t))) | 464 | 1 'makefile-makepp-perl-face t))) |
| 468 | 465 | ||
| 469 | ;; A lot more could be done for variables here: | ||
| 470 | (defconst makefile-bsdmake-font-lock-keywords | 466 | (defconst makefile-bsdmake-font-lock-keywords |
| 471 | (makefile-make-font-lock-keywords | 467 | (makefile-make-font-lock-keywords |
| 472 | "^ *\\(\\(?:\\$[({]\\(?:\\$[({][^\n#})]+?[})]\\|[^\n#]\\)+?[})]\\|[^\n#:=]\\)+?\\)[ \t]*[:!]\\(?:[ \t]*$\\|[^=\n].*$\\)" | 468 | ;; A lot more could be done for variables here: |
| 473 | "^\t[ \t]*\\([-+@]*\\)[ \t]*\\(.+\\)" | ||
| 474 | makefile-var-use-regex | 469 | makefile-var-use-regex |
| 475 | makefile-bsdmake-statements | 470 | makefile-bsdmake-statements |
| 476 | t | 471 | t |
| @@ -489,9 +484,8 @@ not be enclosed in { } or ( )." | |||
| 489 | ("\\\\\n" 0 "."))) | 484 | ("\\\\\n" 0 "."))) |
| 490 | 485 | ||
| 491 | (defvar makefile-imenu-generic-expression | 486 | (defvar makefile-imenu-generic-expression |
| 492 | (list | 487 | `(("Dependencies" ,makefile-dependency-regex 1) |
| 493 | (list "Dependencies" makefile-dependency-regex 1) | 488 | ("Macro Assignment" ,makefile-macroassign-regex 1)) |
| 494 | (list "Macro Assignment" makefile-macroassign-regex 1)) | ||
| 495 | "Imenu generic expression for Makefile mode. See `imenu-generic-expression'.") | 489 | "Imenu generic expression for Makefile mode. See `imenu-generic-expression'.") |
| 496 | 490 | ||
| 497 | ;;; ------------------------------------------------------------ | 491 | ;;; ------------------------------------------------------------ |
| @@ -695,6 +689,11 @@ last should be correctly chosen based on the file name, except if | |||
| 695 | it is *.mk. This function ends by invoking the function(s) | 689 | it is *.mk. This function ends by invoking the function(s) |
| 696 | `makefile-mode-hook'. | 690 | `makefile-mode-hook'. |
| 697 | 691 | ||
| 692 | It is strongly recommended to use `font-lock-mode', because that | ||
| 693 | provides additional parsing information. This is used for | ||
| 694 | example to see that a rule action `echo foo: bar' is a not rule | ||
| 695 | dependency, despite the colon. | ||
| 696 | |||
| 698 | \\{makefile-mode-map} | 697 | \\{makefile-mode-map} |
| 699 | 698 | ||
| 700 | In the browser, use the following keys: | 699 | In the browser, use the following keys: |
| @@ -789,7 +788,8 @@ Makefile mode can be configured by modifying the following variables: | |||
| 789 | nil nil | 788 | nil nil |
| 790 | ((?$ . ".")) | 789 | ((?$ . ".")) |
| 791 | backward-paragraph | 790 | backward-paragraph |
| 792 | (font-lock-syntactic-keywords . makefile-font-lock-syntactic-keywords))) | 791 | (font-lock-syntactic-keywords . makefile-font-lock-syntactic-keywords) |
| 792 | (font-lock-support-mode))) ; JIT breaks on long series of continuation lines. | ||
| 793 | 793 | ||
| 794 | ;; Add-log. | 794 | ;; Add-log. |
| 795 | (make-local-variable 'add-log-current-defun-function) | 795 | (make-local-variable 'add-log-current-defun-function) |
| @@ -831,7 +831,7 @@ Makefile mode can be configured by modifying the following variables: | |||
| 831 | 831 | ||
| 832 | ;; Real TABs are important in makefiles | 832 | ;; Real TABs are important in makefiles |
| 833 | (setq indent-tabs-mode t) | 833 | (setq indent-tabs-mode t) |
| 834 | (run-hooks 'makefile-mode-hook)) | 834 | (run-mode-hooks 'makefile-mode-hook)) |
| 835 | 835 | ||
| 836 | ;; These should do more than just differentiate font-lock. | 836 | ;; These should do more than just differentiate font-lock. |
| 837 | ;;;###autoload | 837 | ;;;###autoload |
| @@ -849,14 +849,27 @@ Makefile mode can be configured by modifying the following variables: | |||
| 849 | ;;;###autoload | 849 | ;;;###autoload |
| 850 | (define-derived-mode makefile-makepp-mode makefile-mode "Makeppfile" | 850 | (define-derived-mode makefile-makepp-mode makefile-mode "Makeppfile" |
| 851 | "An adapted `makefile-mode' that knows about makepp." | 851 | "An adapted `makefile-mode' that knows about makepp." |
| 852 | (set (make-local-variable 'makefile-rule-action-regex) | ||
| 853 | ;; Don't care about initial tab, but I don't know how to font-lock correctly without. | ||
| 854 | "^\t[ \t]*\\(\\(?:\\(?:noecho\\|ignore[-_]error\\|[-@]+\\)[ \t]*\\)*\\)\\(\\(&\\S +\\)?\\(?:.+\\\\\n\\)*.+\\)") | ||
| 855 | |||
| 852 | (setq font-lock-defaults | 856 | (setq font-lock-defaults |
| 853 | `(makefile-makepp-font-lock-keywords ,@(cdr font-lock-defaults)))) | 857 | `(makefile-makepp-font-lock-keywords ,@(cdr font-lock-defaults)))) |
| 854 | 858 | ||
| 855 | ;;;###autoload | 859 | ;;;###autoload |
| 856 | (define-derived-mode makefile-bsdmake-mode makefile-mode "BSDmakefile" | 860 | (define-derived-mode makefile-bsdmake-mode makefile-mode "BSDmakefile" |
| 857 | "An adapted `makefile-mode' that knows about BSD make." | 861 | "An adapted `makefile-mode' that knows about BSD make." |
| 862 | (set (make-local-variable 'makefile-dependency-regex) | ||
| 863 | ;; Identical to default, except allows `!' instead of `:'. | ||
| 864 | "^ *\\(\\(?: *\\$\\(?:[({]\\(?:\\$\\(?:[({]\\(?:\\$\\(?:[^({]\\|.[^\n$#})]+?[})]\\)\\|[^\n$#)}]\\)+?[})]\\|[^({]\\)\\|[^\n$#)}]\\)+?[})]\\|[^({]\\)\\| *[^ \n$#:=]+\\)+?\\)[ \t]*\\([:!]\\)\\(?:[ \t]*$\\|[^=\n]\\(?:[^#\n]*?;[ \t]*\\(.+\\)\\)?\\)") | ||
| 865 | (set (make-local-variable 'makefile-dependency-skip) "^:!") | ||
| 866 | (set (make-local-variable 'makefile-rule-action-regex) | ||
| 867 | "^\t[ \t]*\\([-+@]*\\)[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)") | ||
| 858 | (setq font-lock-defaults | 868 | (setq font-lock-defaults |
| 859 | `(makefile-bsdmake-font-lock-keywords ,@(cdr font-lock-defaults)))) | 869 | `(makefile-bsdmake-font-lock-keywords ,@(cdr font-lock-defaults)) |
| 870 | imenu-generic-expression | ||
| 871 | `(("Dependencies" ,makefile-dependency-regex 1) | ||
| 872 | ,@(cdr imenu-generic-expression)))) | ||
| 860 | 873 | ||
| 861 | 874 | ||
| 862 | 875 | ||
| @@ -867,18 +880,27 @@ Makefile mode can be configured by modifying the following variables: | |||
| 867 | (interactive) | 880 | (interactive) |
| 868 | (let ((here (point))) | 881 | (let ((here (point))) |
| 869 | (end-of-line) | 882 | (end-of-line) |
| 870 | (if (re-search-forward makefile-dependency-regex (point-max) t) | 883 | (if (makefile-match-dependency nil) |
| 871 | (progn (beginning-of-line) t) ; indicate success | 884 | (progn (beginning-of-line) t) ; indicate success |
| 872 | (goto-char here) nil))) | 885 | (goto-char here) nil))) |
| 873 | 886 | ||
| 874 | (defun makefile-previous-dependency () | 887 | (defun makefile-previous-dependency () |
| 875 | "Move point to the beginning of the previous dependency line." | 888 | "Move point to the beginning of the previous dependency line." |
| 876 | (interactive) | 889 | (interactive) |
| 877 | (let ((here (point))) | 890 | (let ((pt (point))) |
| 878 | (beginning-of-line) | 891 | (beginning-of-line) |
| 879 | (if (re-search-backward makefile-dependency-regex (point-min) t) | 892 | ;; makefile-match-dependency done backwards: |
| 880 | (progn (beginning-of-line) t) ; indicate success | 893 | (catch 'found |
| 881 | (goto-char here) nil))) | 894 | (while (progn (skip-chars-backward makefile-dependency-skip) |
| 895 | (not (bobp))) | ||
| 896 | (or (prog1 (eq (char-after) ?=) | ||
| 897 | (backward-char)) | ||
| 898 | (get-text-property (point) 'face) | ||
| 899 | (beginning-of-line) | ||
| 900 | (if (looking-at makefile-dependency-regex) | ||
| 901 | (throw 'found t)))) | ||
| 902 | (goto-char pt) | ||
| 903 | nil))) | ||
| 882 | 904 | ||
| 883 | 905 | ||
| 884 | 906 | ||
| @@ -976,74 +998,56 @@ Anywhere else just self-inserts." | |||
| 976 | (defun makefile-pickup-targets () | 998 | (defun makefile-pickup-targets () |
| 977 | "Notice names of all target definitions in Makefile." | 999 | "Notice names of all target definitions in Makefile." |
| 978 | (interactive) | 1000 | (interactive) |
| 979 | (if (not makefile-need-target-pickup) | 1001 | (when makefile-need-target-pickup |
| 980 | nil | 1002 | (setq makefile-need-target-pickup nil |
| 981 | (setq makefile-need-target-pickup nil) | 1003 | makefile-target-table nil |
| 982 | (setq makefile-target-table nil) | 1004 | makefile-has-prereqs nil) |
| 983 | (setq makefile-has-prereqs nil) | ||
| 984 | (save-excursion | 1005 | (save-excursion |
| 985 | (goto-char (point-min)) | 1006 | (goto-char (point-min)) |
| 986 | (while (re-search-forward makefile-dependency-regex nil t) | 1007 | (while (makefile-match-dependency nil) |
| 987 | (makefile-add-this-line-targets))) | 1008 | (goto-char (match-beginning 1)) |
| 988 | (message "Read targets OK."))) | 1009 | (while (let ((target-name |
| 989 | 1010 | (buffer-substring-no-properties (point) | |
| 990 | (defun makefile-add-this-line-targets () | 1011 | (progn |
| 991 | (save-excursion | 1012 | (skip-chars-forward "^ \t:#") |
| 992 | (beginning-of-line) | 1013 | (point)))) |
| 993 | (let ((done-with-line nil) | ||
| 994 | (line-number (1+ (count-lines (point-min) (point))))) | ||
| 995 | (while (not done-with-line) | ||
| 996 | (skip-chars-forward " \t") | ||
| 997 | (if (not (setq done-with-line (or (eolp) | ||
| 998 | (char-equal (char-after (point)) ?:)))) | ||
| 999 | (progn | ||
| 1000 | (let* ((start-of-target-name (point)) | ||
| 1001 | (target-name | ||
| 1002 | (progn | ||
| 1003 | (skip-chars-forward "^ \t:#") | ||
| 1004 | (buffer-substring start-of-target-name (point)))) | ||
| 1005 | (has-prereqs | 1014 | (has-prereqs |
| 1006 | (not (looking-at ":[ \t]*$")))) | 1015 | (not (looking-at ":[ \t]*$")))) |
| 1007 | (if (makefile-remember-target target-name has-prereqs) | 1016 | (if (makefile-remember-target target-name has-prereqs) |
| 1008 | (message "Picked up target \"%s\" from line %d" | 1017 | (message "Picked up target \"%s\" from line %d" |
| 1009 | target-name line-number))))))))) | 1018 | target-name (line-number-at-pos))) |
| 1019 | (skip-chars-forward " \t") | ||
| 1020 | (not (or (eolp) (eq (char-after) ?:))))) | ||
| 1021 | (forward-line))) | ||
| 1022 | (message "Read targets OK."))) | ||
| 1010 | 1023 | ||
| 1011 | (defun makefile-pickup-macros () | 1024 | (defun makefile-pickup-macros () |
| 1012 | "Notice names of all macro definitions in Makefile." | 1025 | "Notice names of all macro definitions in Makefile." |
| 1013 | (interactive) | 1026 | (interactive) |
| 1014 | (if (not makefile-need-macro-pickup) | 1027 | (when makefile-need-macro-pickup |
| 1015 | nil | 1028 | (setq makefile-need-macro-pickup nil |
| 1016 | (setq makefile-need-macro-pickup nil) | 1029 | makefile-macro-table nil) |
| 1017 | (setq makefile-macro-table nil) | ||
| 1018 | (save-excursion | 1030 | (save-excursion |
| 1019 | (goto-char (point-min)) | 1031 | (goto-char (point-min)) |
| 1020 | (while (re-search-forward makefile-macroassign-regex nil t) | 1032 | (while (re-search-forward makefile-macroassign-regex nil t) |
| 1021 | (makefile-add-this-line-macro) | 1033 | (goto-char (match-beginning 1)) |
| 1022 | (forward-line 1))) | 1034 | (let ((macro-name (buffer-substring-no-properties (point) |
| 1035 | (progn | ||
| 1036 | (skip-chars-forward "^ \t:#=*") | ||
| 1037 | (point))))) | ||
| 1038 | (if (makefile-remember-macro macro-name) | ||
| 1039 | (message "Picked up macro \"%s\" from line %d" | ||
| 1040 | macro-name (line-number-at-pos)))) | ||
| 1041 | (forward-line))) | ||
| 1023 | (message "Read macros OK."))) | 1042 | (message "Read macros OK."))) |
| 1024 | 1043 | ||
| 1025 | (defun makefile-add-this-line-macro () | ||
| 1026 | (save-excursion | ||
| 1027 | (beginning-of-line) | ||
| 1028 | (skip-chars-forward " \t") | ||
| 1029 | (unless (eolp) | ||
| 1030 | (let* ((start-of-macro-name (point)) | ||
| 1031 | (line-number (1+ (count-lines (point-min) (point)))) | ||
| 1032 | (macro-name (progn | ||
| 1033 | (skip-chars-forward "^ \t:#=*") | ||
| 1034 | (buffer-substring start-of-macro-name (point))))) | ||
| 1035 | (if (makefile-remember-macro macro-name) | ||
| 1036 | (message "Picked up macro \"%s\" from line %d" | ||
| 1037 | macro-name line-number)))))) | ||
| 1038 | |||
| 1039 | (defun makefile-pickup-everything (arg) | 1044 | (defun makefile-pickup-everything (arg) |
| 1040 | "Notice names of all macros and targets in Makefile. | 1045 | "Notice names of all macros and targets in Makefile. |
| 1041 | Prefix arg means force pickups to be redone." | 1046 | Prefix arg means force pickups to be redone." |
| 1042 | (interactive "P") | 1047 | (interactive "P") |
| 1043 | (if arg | 1048 | (if arg |
| 1044 | (progn | 1049 | (setq makefile-need-target-pickup t |
| 1045 | (setq makefile-need-target-pickup t) | 1050 | makefile-need-macro-pickup t)) |
| 1046 | (setq makefile-need-macro-pickup t))) | ||
| 1047 | (makefile-pickup-macros) | 1051 | (makefile-pickup-macros) |
| 1048 | (makefile-pickup-targets) | 1052 | (makefile-pickup-targets) |
| 1049 | (if makefile-pickup-everything-picks-up-filenames-p | 1053 | (if makefile-pickup-everything-picks-up-filenames-p |
| @@ -1054,17 +1058,12 @@ Prefix arg means force pickups to be redone." | |||
| 1054 | Checks each filename against `makefile-ignored-files-in-pickup-regex' | 1058 | Checks each filename against `makefile-ignored-files-in-pickup-regex' |
| 1055 | and adds all qualifying names to the list of known targets." | 1059 | and adds all qualifying names to the list of known targets." |
| 1056 | (interactive) | 1060 | (interactive) |
| 1057 | (let* ((dir (file-name-directory (buffer-file-name))) | 1061 | (mapc (lambda (name) |
| 1058 | (raw-filename-list (if dir | 1062 | (or (file-directory-p name) |
| 1059 | (file-name-all-completions "" dir) | 1063 | (string-match makefile-ignored-files-in-pickup-regex name) |
| 1060 | (file-name-all-completions "" "")))) | 1064 | (if (makefile-remember-target name) |
| 1061 | (mapcar (lambda (name) | 1065 | (message "Picked up file \"%s\" as target" name)))) |
| 1062 | (if (and (not (file-directory-p name)) | 1066 | (file-name-all-completions "" (or (file-name-directory (buffer-file-name)) "")))) |
| 1063 | (not (string-match makefile-ignored-files-in-pickup-regex | ||
| 1064 | name))) | ||
| 1065 | (if (makefile-remember-target name) | ||
| 1066 | (message "Picked up file \"%s\" as target" name)))) | ||
| 1067 | raw-filename-list))) | ||
| 1068 | 1067 | ||
| 1069 | 1068 | ||
| 1070 | 1069 | ||
| @@ -1676,6 +1675,31 @@ The anchor must have matched the opening parens in the first group." | |||
| 1676 | ((string= s "{{") "\\(.*?\\)[ \t]*}}"))) | 1675 | ((string= s "{{") "\\(.*?\\)[ \t]*}}"))) |
| 1677 | (if s (looking-at s)))) | 1676 | (if s (looking-at s)))) |
| 1678 | 1677 | ||
| 1678 | (defun makefile-match-dependency (bound) | ||
| 1679 | "Search for `makefile-dependency-regex' up to BOUND. | ||
| 1680 | Checks that the colon has not already been fontified, else we | ||
| 1681 | matched in a rule action." | ||
| 1682 | (catch 'found | ||
| 1683 | (let ((pt (point))) | ||
| 1684 | (while (progn (skip-chars-forward makefile-dependency-skip bound) | ||
| 1685 | (not (eobp))) | ||
| 1686 | (forward-char) | ||
| 1687 | (or (eq (char-after) ?=) | ||
| 1688 | (get-text-property (1- (point)) 'face) | ||
| 1689 | (when (save-excursion | ||
| 1690 | (beginning-of-line) | ||
| 1691 | (looking-at makefile-dependency-regex)) | ||
| 1692 | (end-of-line) | ||
| 1693 | (throw 'found (point))))) | ||
| 1694 | (goto-char pt)) | ||
| 1695 | nil)) | ||
| 1696 | |||
| 1697 | (defun makefile-match-action (bound) | ||
| 1698 | (catch 'found | ||
| 1699 | (while (re-search-forward makefile-rule-action-regex bound t) | ||
| 1700 | (or (eq ?\\ (char-after (- (match-beginning 0) 2))) | ||
| 1701 | (throw 'found t))))) | ||
| 1702 | |||
| 1679 | (defun makefile-do-macro-insertion (macro-name) | 1703 | (defun makefile-do-macro-insertion (macro-name) |
| 1680 | "Insert a macro reference." | 1704 | "Insert a macro reference." |
| 1681 | (if (not (zerop (length macro-name))) | 1705 | (if (not (zerop (length macro-name))) |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 6fcd16e97c6..c97ca1bfa9d 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el | |||
| @@ -376,33 +376,41 @@ The expansion is entirely correct because it uses the C preprocessor." | |||
| 376 | 376 | ||
| 377 | (defcustom perl-indent-level 4 | 377 | (defcustom perl-indent-level 4 |
| 378 | "*Indentation of Perl statements with respect to containing block." | 378 | "*Indentation of Perl statements with respect to containing block." |
| 379 | :type 'integer) | 379 | :type 'integer |
| 380 | :group 'perl) | ||
| 380 | (defcustom perl-continued-statement-offset 4 | 381 | (defcustom perl-continued-statement-offset 4 |
| 381 | "*Extra indent for lines not starting new statements." | 382 | "*Extra indent for lines not starting new statements." |
| 382 | :type 'integer) | 383 | :type 'integer |
| 384 | :group 'perl) | ||
| 383 | (defcustom perl-continued-brace-offset -4 | 385 | (defcustom perl-continued-brace-offset -4 |
| 384 | "*Extra indent for substatements that start with open-braces. | 386 | "*Extra indent for substatements that start with open-braces. |
| 385 | This is in addition to `perl-continued-statement-offset'." | 387 | This is in addition to `perl-continued-statement-offset'." |
| 386 | :type 'integer) | 388 | :type 'integer |
| 389 | :group 'perl) | ||
| 387 | (defcustom perl-brace-offset 0 | 390 | (defcustom perl-brace-offset 0 |
| 388 | "*Extra indentation for braces, compared with other text in same context." | 391 | "*Extra indentation for braces, compared with other text in same context." |
| 389 | :type 'integer) | 392 | :type 'integer |
| 393 | :group 'perl) | ||
| 390 | (defcustom perl-brace-imaginary-offset 0 | 394 | (defcustom perl-brace-imaginary-offset 0 |
| 391 | "*Imagined indentation of an open brace that actually follows a statement." | 395 | "*Imagined indentation of an open brace that actually follows a statement." |
| 392 | :type 'integer) | 396 | :type 'integer |
| 397 | :group 'perl) | ||
| 393 | (defcustom perl-label-offset -2 | 398 | (defcustom perl-label-offset -2 |
| 394 | "*Offset of Perl label lines relative to usual indentation." | 399 | "*Offset of Perl label lines relative to usual indentation." |
| 395 | :type 'integer) | 400 | :type 'integer |
| 401 | :group 'perl) | ||
| 396 | (defcustom perl-indent-continued-arguments nil | 402 | (defcustom perl-indent-continued-arguments nil |
| 397 | "*If non-nil offset of argument lines relative to usual indentation. | 403 | "*If non-nil offset of argument lines relative to usual indentation. |
| 398 | If nil, continued arguments are aligned with the first argument." | 404 | If nil, continued arguments are aligned with the first argument." |
| 399 | :type '(choice integer (const nil))) | 405 | :type '(choice integer (const nil)) |
| 406 | :group 'perl) | ||
| 400 | 407 | ||
| 401 | (defcustom perl-tab-always-indent tab-always-indent | 408 | (defcustom perl-tab-always-indent tab-always-indent |
| 402 | "Non-nil means TAB in Perl mode always indents the current line. | 409 | "Non-nil means TAB in Perl mode always indents the current line. |
| 403 | Otherwise it inserts a tab character if you type it past the first | 410 | Otherwise it inserts a tab character if you type it past the first |
| 404 | nonwhite character on the line." | 411 | nonwhite character on the line." |
| 405 | :type 'boolean) | 412 | :type 'boolean |
| 413 | :group 'perl) | ||
| 406 | 414 | ||
| 407 | ;; I changed the default to nil for consistency with general Emacs | 415 | ;; I changed the default to nil for consistency with general Emacs |
| 408 | ;; conventions -- rms. | 416 | ;; conventions -- rms. |
| @@ -411,11 +419,13 @@ nonwhite character on the line." | |||
| 411 | For lines which don't need indenting, TAB either indents an | 419 | For lines which don't need indenting, TAB either indents an |
| 412 | existing comment, moves to end-of-line, or if at end-of-line already, | 420 | existing comment, moves to end-of-line, or if at end-of-line already, |
| 413 | create a new comment." | 421 | create a new comment." |
| 414 | :type 'boolean) | 422 | :type 'boolean |
| 423 | :group 'perl) | ||
| 415 | 424 | ||
| 416 | (defcustom perl-nochange ";?#\\|\f\\|\\s(\\|\\(\\w\\|\\s_\\)+:[^:]" | 425 | (defcustom perl-nochange ";?#\\|\f\\|\\s(\\|\\(\\w\\|\\s_\\)+:[^:]" |
| 417 | "*Lines starting with this regular expression are not auto-indented." | 426 | "*Lines starting with this regular expression are not auto-indented." |
| 418 | :type 'regexp) | 427 | :type 'regexp |
| 428 | :group 'perl) | ||
| 419 | 429 | ||
| 420 | ;; Outline support | 430 | ;; Outline support |
| 421 | 431 | ||
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 25bc337a7b2..73450dec61a 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -234,8 +234,8 @@ Entry to this mode calls the value of `prolog-mode-hook' with no arguments, | |||
| 234 | if that value is non-nil. Likewise with the value of `comint-mode-hook'. | 234 | if that value is non-nil. Likewise with the value of `comint-mode-hook'. |
| 235 | `prolog-mode-hook' is called after `comint-mode-hook'. | 235 | `prolog-mode-hook' is called after `comint-mode-hook'. |
| 236 | 236 | ||
| 237 | You can send text to the inferior Prolog from other buffers | 237 | You can send text to the inferior Prolog from other buffers using the commands |
| 238 | using the commands `send-region', `send-string' and \\[prolog-consult-region]. | 238 | `process-send-region', `process-send-string' and \\[prolog-consult-region]. |
| 239 | 239 | ||
| 240 | Commands: | 240 | Commands: |
| 241 | Tab indents for Prolog; with argument, shifts rest | 241 | Tab indents for Prolog; with argument, shifts rest |
| @@ -265,12 +265,12 @@ If COMPILE (prefix arg) is not nil, use compile mode rather than consult mode." | |||
| 265 | (interactive "P\nr") | 265 | (interactive "P\nr") |
| 266 | (save-excursion | 266 | (save-excursion |
| 267 | (if compile | 267 | (if compile |
| 268 | (send-string "prolog" prolog-compile-string) | 268 | (process-send-string "prolog" prolog-compile-string) |
| 269 | (send-string "prolog" prolog-consult-string)) | 269 | (process-send-string "prolog" prolog-consult-string)) |
| 270 | (send-region "prolog" beg end) | 270 | (process-send-region "prolog" beg end) |
| 271 | (send-string "prolog" "\n") ;May be unnecessary | 271 | (process-send-string "prolog" "\n") ;May be unnecessary |
| 272 | (if prolog-eof-string | 272 | (if prolog-eof-string |
| 273 | (send-string "prolog" prolog-eof-string) | 273 | (process-send-string "prolog" prolog-eof-string) |
| 274 | (process-send-eof "prolog")))) ;Send eof to prolog process. | 274 | (process-send-eof "prolog")))) ;Send eof to prolog process. |
| 275 | 275 | ||
| 276 | (defun prolog-consult-region-and-go (compile beg end) | 276 | (defun prolog-consult-region-and-go (compile beg end) |
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el index b3495c74491..2d8f1d80aae 100644 --- a/lisp/progmodes/ps-mode.el +++ b/lisp/progmodes/ps-mode.el | |||
| @@ -1173,7 +1173,7 @@ Use line numbers if `ps-run-error-line-numbers' is not nil" | |||
| 1173 | (let (i) | 1173 | (let (i) |
| 1174 | (setq | 1174 | (setq |
| 1175 | i | 1175 | i |
| 1176 | (string-to-int | 1176 | (string-to-number |
| 1177 | (buffer-substring (match-beginning 0) (match-end 0)))) | 1177 | (buffer-substring (match-beginning 0) (match-end 0)))) |
| 1178 | (goto-char p) | 1178 | (goto-char p) |
| 1179 | (pop-to-buffer ps-run-parent) | 1179 | (pop-to-buffer ps-run-parent) |
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 95cfbb15196..a3447befa20 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el | |||
| @@ -123,15 +123,18 @@ | |||
| 123 | 123 | ||
| 124 | (defcustom tcl-indent-level 4 | 124 | (defcustom tcl-indent-level 4 |
| 125 | "*Indentation of Tcl statements with respect to containing block." | 125 | "*Indentation of Tcl statements with respect to containing block." |
| 126 | :type 'integer) | 126 | :type 'integer |
| 127 | :group 'tcl) | ||
| 127 | 128 | ||
| 128 | (defcustom tcl-continued-indent-level 4 | 129 | (defcustom tcl-continued-indent-level 4 |
| 129 | "*Indentation of continuation line relative to first line of command." | 130 | "*Indentation of continuation line relative to first line of command." |
| 130 | :type 'integer) | 131 | :type 'integer |
| 132 | :group 'tcl) | ||
| 131 | 133 | ||
| 132 | (defcustom tcl-auto-newline nil | 134 | (defcustom tcl-auto-newline nil |
| 133 | "*Non-nil means automatically newline before and after braces you insert." | 135 | "*Non-nil means automatically newline before and after braces you insert." |
| 134 | :type 'boolean) | 136 | :type 'boolean |
| 137 | :group 'tcl) | ||
| 135 | 138 | ||
| 136 | (defcustom tcl-tab-always-indent tab-always-indent | 139 | (defcustom tcl-tab-always-indent tab-always-indent |
| 137 | "*Control effect of TAB key. | 140 | "*Control effect of TAB key. |
| @@ -149,7 +152,8 @@ to take place: | |||
| 149 | 6. Move backward to start of comment, indenting if necessary." | 152 | 6. Move backward to start of comment, indenting if necessary." |
| 150 | :type '(choice (const :tag "Always" t) | 153 | :type '(choice (const :tag "Always" t) |
| 151 | (const :tag "Beginning only" nil) | 154 | (const :tag "Beginning only" nil) |
| 152 | (const :tag "Maybe move or make or delete comment" 'tcl))) | 155 | (const :tag "Maybe move or make or delete comment" 'tcl)) |
| 156 | :group 'tcl) | ||
| 153 | 157 | ||
| 154 | 158 | ||
| 155 | (defcustom tcl-electric-hash-style nil ;; 'smart | 159 | (defcustom tcl-electric-hash-style nil ;; 'smart |
| @@ -160,23 +164,28 @@ meaning that the choice between `backslash' and `quote' should be | |||
| 160 | made depending on the number of hashes inserted; or nil, meaning that | 164 | made depending on the number of hashes inserted; or nil, meaning that |
| 161 | no quoting should be done. Any other value for this variable is | 165 | no quoting should be done. Any other value for this variable is |
| 162 | taken to mean `smart'. The default is nil." | 166 | taken to mean `smart'. The default is nil." |
| 163 | :type '(choice (const backslash) (const quote) (const smart) (const nil))) | 167 | :type '(choice (const backslash) (const quote) (const smart) (const nil)) |
| 168 | :group 'tcl) | ||
| 164 | 169 | ||
| 165 | (defcustom tcl-help-directory-list nil | 170 | (defcustom tcl-help-directory-list nil |
| 166 | "*List of topmost directories containing TclX help files." | 171 | "*List of topmost directories containing TclX help files." |
| 167 | :type '(repeat directory)) | 172 | :type '(repeat directory) |
| 173 | :group 'tcl) | ||
| 168 | 174 | ||
| 169 | (defcustom tcl-use-smart-word-finder t | 175 | (defcustom tcl-use-smart-word-finder t |
| 170 | "*If not nil, use smart way to find current word, for Tcl help feature." | 176 | "*If not nil, use smart way to find current word, for Tcl help feature." |
| 171 | :type 'boolean) | 177 | :type 'boolean |
| 178 | :group 'tcl) | ||
| 172 | 179 | ||
| 173 | (defcustom tcl-application "wish" | 180 | (defcustom tcl-application "wish" |
| 174 | "*Name of Tcl program to run in inferior Tcl mode." | 181 | "*Name of Tcl program to run in inferior Tcl mode." |
| 175 | :type 'string) | 182 | :type 'string |
| 183 | :group 'tcl) | ||
| 176 | 184 | ||
| 177 | (defcustom tcl-command-switches nil | 185 | (defcustom tcl-command-switches nil |
| 178 | "*List of switches to supply to the `tcl-application' program." | 186 | "*List of switches to supply to the `tcl-application' program." |
| 179 | :type '(repeat string)) | 187 | :type '(repeat string) |
| 188 | :group 'tcl) | ||
| 180 | 189 | ||
| 181 | (defcustom tcl-prompt-regexp "^\\(% \\|\\)" | 190 | (defcustom tcl-prompt-regexp "^\\(% \\|\\)" |
| 182 | "*If not nil, a regexp that will match the prompt in the inferior process. | 191 | "*If not nil, a regexp that will match the prompt in the inferior process. |
| @@ -184,7 +193,8 @@ If nil, the prompt is the name of the application with \">\" appended. | |||
| 184 | 193 | ||
| 185 | The default is \"^\\(% \\|\\)\", which will match the default primary | 194 | The default is \"^\\(% \\|\\)\", which will match the default primary |
| 186 | and secondary prompts for tclsh and wish." | 195 | and secondary prompts for tclsh and wish." |
| 187 | :type 'regexp) | 196 | :type 'regexp |
| 197 | :group 'tcl) | ||
| 188 | 198 | ||
| 189 | (defcustom inferior-tcl-source-command "source %s\n" | 199 | (defcustom inferior-tcl-source-command "source %s\n" |
| 190 | "*Format-string for building a Tcl command to load a file. | 200 | "*Format-string for building a Tcl command to load a file. |
| @@ -192,7 +202,8 @@ This format string should use `%s' to substitute a file name | |||
| 192 | and should result in a Tcl expression that will command the | 202 | and should result in a Tcl expression that will command the |
| 193 | inferior Tcl to load that file. The filename will be appropriately | 203 | inferior Tcl to load that file. The filename will be appropriately |
| 194 | quoted for Tcl." | 204 | quoted for Tcl." |
| 195 | :type 'string) | 205 | :type 'string |
| 206 | :group 'tcl) | ||
| 196 | 207 | ||
| 197 | (defface tcl-escaped-newline '((t :inherit font-lock-string-face)) | 208 | (defface tcl-escaped-newline '((t :inherit font-lock-string-face)) |
| 198 | "Face used for (non-escaped) backslash at end of a line in Tcl mode." | 209 | "Face used for (non-escaped) backslash at end of a line in Tcl mode." |
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 9f0e63e80a6..12f04895f98 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -5082,7 +5082,7 @@ Return a valid value only." | |||
| 5082 | ((string-equal "++" input) '++) | 5082 | ((string-equal "++" input) '++) |
| 5083 | ((string-equal "--" input) '--) | 5083 | ((string-equal "--" input) '--) |
| 5084 | ((string-match "^-?[0-9]+$" input) | 5084 | ((string-match "^-?[0-9]+$" input) |
| 5085 | (string-to-int input)) | 5085 | (string-to-number input)) |
| 5086 | ((fboundp (setq interned (intern input))) | 5086 | ((fboundp (setq interned (intern input))) |
| 5087 | interned) | 5087 | interned) |
| 5088 | ((boundp interned) interned) | 5088 | ((boundp interned) interned) |
| @@ -13701,10 +13701,10 @@ entity ENT-KEY." | |||
| 13701 | (condition-case () | 13701 | (condition-case () |
| 13702 | (progn (load-file file-dir-name) | 13702 | (progn (load-file file-dir-name) |
| 13703 | (string< (mapconcat | 13703 | (string< (mapconcat |
| 13704 | (lambda (a) (format "%3d" (string-to-int a))) | 13704 | (lambda (a) (format "%3d" (string-to-number a))) |
| 13705 | (split-string "3.31.14" "\\.") "") | 13705 | (split-string "3.31.14" "\\.") "") |
| 13706 | (mapconcat | 13706 | (mapconcat |
| 13707 | (lambda (a) (format "%3d" (string-to-int a))) | 13707 | (lambda (a) (format "%3d" (string-to-number a))) |
| 13708 | (split-string vhdl-cache-version "\\.") ""))) | 13708 | (split-string vhdl-cache-version "\\.") ""))) |
| 13709 | (error (progn (vhdl-warning (format "ERROR: Corrupted cache file: \"%s\"" file-dir-name)) | 13709 | (error (progn (vhdl-warning (format "ERROR: Corrupted cache file: \"%s\"" file-dir-name)) |
| 13710 | nil)))))) | 13710 | nil)))))) |
| @@ -14075,7 +14075,7 @@ otherwise use cached data." | |||
| 14075 | (beginning-of-line) (looking-at "^\\([0-9]+\\):")) | 14075 | (beginning-of-line) (looking-at "^\\([0-9]+\\):")) |
| 14076 | (re-search-backward | 14076 | (re-search-backward |
| 14077 | (format "^[0-%d]:\\s-*[[{<]-" | 14077 | (format "^[0-%d]:\\s-*[[{<]-" |
| 14078 | (max (1- (string-to-int (match-string 1))) 0)) nil t))) | 14078 | (max (1- (string-to-number (match-string 1))) 0)) nil t))) |
| 14079 | (goto-char (match-end 0)) | 14079 | (goto-char (match-end 0)) |
| 14080 | (speedbar-do-function-pointer) | 14080 | (speedbar-do-function-pointer) |
| 14081 | (speedbar-center-buffer-smartly))) | 14081 | (speedbar-center-buffer-smartly))) |
diff --git a/lisp/replace.el b/lisp/replace.el index 1cef7ecc52a..c9c70b59de5 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -1288,14 +1288,14 @@ passed in. If LITERAL is set, no checking is done, anyway." | |||
| 1288 | (while (string-match "\\(\\`\\|[^\\]\\)\\(\\\\\\\\\\)*\\(\\\\\\?\\)" | 1288 | (while (string-match "\\(\\`\\|[^\\]\\)\\(\\\\\\\\\\)*\\(\\\\\\?\\)" |
| 1289 | newtext) | 1289 | newtext) |
| 1290 | (setq newtext | 1290 | (setq newtext |
| 1291 | (read-input "Edit replacement string: " | 1291 | (read-string "Edit replacement string: " |
| 1292 | (prog1 | 1292 | (prog1 |
| 1293 | (cons | 1293 | (cons |
| 1294 | (replace-match "" t t newtext 3) | 1294 | (replace-match "" t t newtext 3) |
| 1295 | (1+ (match-beginning 3))) | 1295 | (1+ (match-beginning 3))) |
| 1296 | (setq match-data | 1296 | (setq match-data |
| 1297 | (replace-match-data | 1297 | (replace-match-data |
| 1298 | nil match-data match-data)))) | 1298 | nil match-data match-data)))) |
| 1299 | noedit nil))) | 1299 | noedit nil))) |
| 1300 | (set-match-data match-data) | 1300 | (set-match-data match-data) |
| 1301 | (replace-match newtext fixedcase literal) | 1301 | (replace-match newtext fixedcase literal) |
| @@ -1571,8 +1571,8 @@ make, or the user didn't cancel the call." | |||
| 1571 | nil real-match-data | 1571 | nil real-match-data |
| 1572 | real-match-data) | 1572 | real-match-data) |
| 1573 | next-replacement | 1573 | next-replacement |
| 1574 | (read-input "Edit replacement string: " | 1574 | (read-string "Edit replacement string: " |
| 1575 | next-replacement) | 1575 | next-replacement) |
| 1576 | noedit nil) | 1576 | noedit nil) |
| 1577 | (if replaced | 1577 | (if replaced |
| 1578 | (set-match-data real-match-data) | 1578 | (set-match-data real-match-data) |
diff --git a/lisp/reveal.el b/lisp/reveal.el index 97411fc1669..c08f9b604cb 100644 --- a/lisp/reveal.el +++ b/lisp/reveal.el | |||
| @@ -54,7 +54,8 @@ | |||
| 54 | 54 | ||
| 55 | (defcustom reveal-around-mark t | 55 | (defcustom reveal-around-mark t |
| 56 | "Reveal text around the mark, if active." | 56 | "Reveal text around the mark, if active." |
| 57 | :type 'boolean) | 57 | :type 'boolean |
| 58 | :group 'reveal) | ||
| 58 | 59 | ||
| 59 | (defvar reveal-open-spots nil) | 60 | (defvar reveal-open-spots nil) |
| 60 | (make-variable-buffer-local 'reveal-open-spots) | 61 | (make-variable-buffer-local 'reveal-open-spots) |
diff --git a/lisp/server.el b/lisp/server.el index ef58306a9a5..f3f04d26fd5 100644 --- a/lisp/server.el +++ b/lisp/server.el | |||
| @@ -672,12 +672,12 @@ The following commands are accepted by the client: | |||
| 672 | ;; -position LINE: Go to the given line in the next file. | 672 | ;; -position LINE: Go to the given line in the next file. |
| 673 | ((and (equal "-position" arg) (string-match "\\(\\+[0-9]+\\) " request)) | 673 | ((and (equal "-position" arg) (string-match "\\(\\+[0-9]+\\) " request)) |
| 674 | (setq request (substring request (match-end 0)) | 674 | (setq request (substring request (match-end 0)) |
| 675 | lineno (string-to-int (substring (match-string 1 request) 1)))) | 675 | lineno (string-to-number (substring (match-string 1 request) 1)))) |
| 676 | 676 | ||
| 677 | ;; -position LINE:COLUMN: Set point to the given position in the next file. | 677 | ;; -position LINE:COLUMN: Set point to the given position in the next file. |
| 678 | ((and (equal "-position" arg) (string-match "\\+\\([0-9]+\\):\\([0-9]+\\) " request)) | 678 | ((and (equal "-position" arg) (string-match "\\+\\([0-9]+\\):\\([0-9]+\\) " request)) |
| 679 | (setq lineno (string-to-int (match-string 1 request)) | 679 | (setq lineno (string-to-number (match-string 1 request)) |
| 680 | columnno (string-to-int (match-string 2 request)) | 680 | columnno (string-to-number (match-string 2 request)) |
| 681 | request (substring request (match-end 0)))) | 681 | request (substring request (match-end 0)))) |
| 682 | 682 | ||
| 683 | ;; -file FILENAME: Load the given file. | 683 | ;; -file FILENAME: Load the given file. |
diff --git a/lisp/shadowfile.el b/lisp/shadowfile.el index b3149500ae5..653c1e7f042 100644 --- a/lisp/shadowfile.el +++ b/lisp/shadowfile.el | |||
| @@ -675,7 +675,7 @@ Returns t unless files were locked; then returns nil." | |||
| 675 | (message "Data recovered from %s." | 675 | (message "Data recovered from %s." |
| 676 | (car (insert-file-contents (make-auto-save-file-name)))) | 676 | (car (insert-file-contents (make-auto-save-file-name)))) |
| 677 | (sit-for 1)) | 677 | (sit-for 1)) |
| 678 | (eval-current-buffer)) | 678 | (eval-buffer)) |
| 679 | (when shadow-todo-file | 679 | (when shadow-todo-file |
| 680 | (set-buffer (setq shadow-todo-buffer | 680 | (set-buffer (setq shadow-todo-buffer |
| 681 | (find-file-noselect shadow-todo-file))) | 681 | (find-file-noselect shadow-todo-file))) |
| @@ -686,7 +686,7 @@ Returns t unless files were locked; then returns nil." | |||
| 686 | (message "Data recovered from %s." | 686 | (message "Data recovered from %s." |
| 687 | (car (insert-file-contents (make-auto-save-file-name)))) | 687 | (car (insert-file-contents (make-auto-save-file-name)))) |
| 688 | (sit-for 1)) | 688 | (sit-for 1)) |
| 689 | (eval-current-buffer nil)) | 689 | (eval-buffer nil)) |
| 690 | (shadow-invalidate-hashtable)) | 690 | (shadow-invalidate-hashtable)) |
| 691 | t)) | 691 | t)) |
| 692 | 692 | ||
diff --git a/lisp/shell.el b/lisp/shell.el index 354ed88f80f..fd5e6c25032 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -759,7 +759,7 @@ Environment variables are expanded, see function `substitute-in-file-name'." | |||
| 759 | ;; If STR is of the form +n, for n>0, return n. Otherwise, nil. | 759 | ;; If STR is of the form +n, for n>0, return n. Otherwise, nil. |
| 760 | (defun shell-extract-num (str) | 760 | (defun shell-extract-num (str) |
| 761 | (and (string-match "^\\+[1-9][0-9]*$" str) | 761 | (and (string-match "^\\+[1-9][0-9]*$" str) |
| 762 | (string-to-int str))) | 762 | (string-to-number str))) |
| 763 | 763 | ||
| 764 | 764 | ||
| 765 | (defun shell-dirtrack-mode () | 765 | (defun shell-dirtrack-mode () |
diff --git a/lisp/startup.el b/lisp/startup.el index 0439c59e6e9..8ad19623b3b 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1635,11 +1635,11 @@ normal otherwise." | |||
| 1635 | (kill-emacs t)) | 1635 | (kill-emacs t)) |
| 1636 | 1636 | ||
| 1637 | ((string-match "^\\+[0-9]+\\'" argi) | 1637 | ((string-match "^\\+[0-9]+\\'" argi) |
| 1638 | (setq line (string-to-int argi))) | 1638 | (setq line (string-to-number argi))) |
| 1639 | 1639 | ||
| 1640 | ((string-match "^\\+\\([0-9]+\\):\\([0-9]+\\)\\'" argi) | 1640 | ((string-match "^\\+\\([0-9]+\\):\\([0-9]+\\)\\'" argi) |
| 1641 | (setq line (string-to-int (match-string 1 argi)) | 1641 | (setq line (string-to-number (match-string 1 argi)) |
| 1642 | column (string-to-int (match-string 2 argi)))) | 1642 | column (string-to-number (match-string 2 argi)))) |
| 1643 | 1643 | ||
| 1644 | ((setq tem (assoc argi command-line-x-option-alist)) | 1644 | ((setq tem (assoc argi command-line-x-option-alist)) |
| 1645 | ;; Ignore X-windows options and their args if not using X. | 1645 | ;; Ignore X-windows options and their args if not using X. |
diff --git a/lisp/subr.el b/lisp/subr.el index d3b6cfe9f76..926d0f3ae48 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -603,8 +603,13 @@ in the current Emacs session, then this function may return nil." | |||
| 603 | (setq event (car event))) | 603 | (setq event (car event))) |
| 604 | (if (symbolp event) | 604 | (if (symbolp event) |
| 605 | (car (get event 'event-symbol-elements)) | 605 | (car (get event 'event-symbol-elements)) |
| 606 | (let ((base (logand event (1- ?\A-\^@)))) | 606 | (let* ((base (logand event (1- ?\A-\^@))) |
| 607 | (downcase (if (< base 32) (logior base 64) base))))) | 607 | (uncontrolled (if (< base 32) (logior base 64) base))) |
| 608 | ;; There are some numbers that are invalid characters and | ||
| 609 | ;; cause `downcase' to get an error. | ||
| 610 | (condition-case () | ||
| 611 | (downcase uncontrolled) | ||
| 612 | (error uncontrolled))))) | ||
| 608 | 613 | ||
| 609 | (defsubst mouse-movement-p (object) | 614 | (defsubst mouse-movement-p (object) |
| 610 | "Return non-nil if OBJECT is a mouse movement event." | 615 | "Return non-nil if OBJECT is a mouse movement event." |
| @@ -753,16 +758,14 @@ and `event-end' functions." | |||
| 753 | 758 | ||
| 754 | ;;;; Obsolescent names for functions. | 759 | ;;;; Obsolescent names for functions. |
| 755 | 760 | ||
| 756 | (defalias 'window-dot 'window-point) | 761 | (define-obsolete-function-alias 'window-dot 'window-point "22.1") |
| 757 | (defalias 'set-window-dot 'set-window-point) | 762 | (define-obsolete-function-alias 'set-window-dot 'set-window-point "22.1") |
| 758 | (defalias 'read-input 'read-string) | 763 | (define-obsolete-function-alias 'read-input 'read-string "22.1") |
| 759 | (defalias 'send-string 'process-send-string) | 764 | (define-obsolete-function-alias 'show-buffer 'set-window-buffer "22.1") |
| 760 | (defalias 'send-region 'process-send-region) | 765 | (define-obsolete-function-alias 'eval-current-buffer 'eval-buffer "22.1") |
| 761 | (defalias 'show-buffer 'set-window-buffer) | 766 | (define-obsolete-function-alias 'string-to-int 'string-to-number "22.1") |
| 762 | (defalias 'eval-current-buffer 'eval-buffer) | ||
| 763 | 767 | ||
| 764 | (make-obsolete 'char-bytes "now always returns 1." "20.4") | 768 | (make-obsolete 'char-bytes "now always returns 1." "20.4") |
| 765 | (make-obsolete 'baud-rate "use the `baud-rate' variable instead." "before 19.15") | ||
| 766 | 769 | ||
| 767 | (defun insert-string (&rest args) | 770 | (defun insert-string (&rest args) |
| 768 | "Mocklisp-compatibility insert function. | 771 | "Mocklisp-compatibility insert function. |
| @@ -771,6 +774,7 @@ is converted into a string by expressing it in decimal." | |||
| 771 | (dolist (el args) | 774 | (dolist (el args) |
| 772 | (insert (if (integerp el) (number-to-string el) el)))) | 775 | (insert (if (integerp el) (number-to-string el) el)))) |
| 773 | (make-obsolete 'insert-string 'insert "22.1") | 776 | (make-obsolete 'insert-string 'insert "22.1") |
| 777 | |||
| 774 | (defun makehash (&optional test) (make-hash-table :test (or test 'eql))) | 778 | (defun makehash (&optional test) (make-hash-table :test (or test 'eql))) |
| 775 | (make-obsolete 'makehash 'make-hash-table "22.1") | 779 | (make-obsolete 'makehash 'make-hash-table "22.1") |
| 776 | 780 | ||
| @@ -778,6 +782,7 @@ is converted into a string by expressing it in decimal." | |||
| 778 | (defun baud-rate () | 782 | (defun baud-rate () |
| 779 | "Return the value of the `baud-rate' variable." | 783 | "Return the value of the `baud-rate' variable." |
| 780 | baud-rate) | 784 | baud-rate) |
| 785 | (make-obsolete 'baud-rate "use the `baud-rate' variable instead." "before 19.15") | ||
| 781 | 786 | ||
| 782 | 787 | ||
| 783 | ;;;; Obsolescence declarations for variables, and aliases. | 788 | ;;;; Obsolescence declarations for variables, and aliases. |
| @@ -787,10 +792,6 @@ is converted into a string by expressing it in decimal." | |||
| 787 | (make-obsolete-variable 'unread-command-char | 792 | (make-obsolete-variable 'unread-command-char |
| 788 | "use `unread-command-events' instead. That variable is a list of events to reread, so it now uses nil to mean `no event', instead of -1." | 793 | "use `unread-command-events' instead. That variable is a list of events to reread, so it now uses nil to mean `no event', instead of -1." |
| 789 | "before 19.15") | 794 | "before 19.15") |
| 790 | (make-obsolete-variable 'post-command-idle-hook | ||
| 791 | "use timers instead, with `run-with-idle-timer'." "before 19.34") | ||
| 792 | (make-obsolete-variable 'post-command-idle-delay | ||
| 793 | "use timers instead, with `run-with-idle-timer'." "before 19.34") | ||
| 794 | 795 | ||
| 795 | ;; Lisp manual only updated in 22.1. | 796 | ;; Lisp manual only updated in 22.1. |
| 796 | (define-obsolete-variable-alias 'executing-macro 'executing-kbd-macro | 797 | (define-obsolete-variable-alias 'executing-macro 'executing-kbd-macro |
| @@ -805,6 +806,8 @@ is converted into a string by expressing it in decimal." | |||
| 805 | 806 | ||
| 806 | ;;;; Alternate names for functions - these are not being phased out. | 807 | ;;;; Alternate names for functions - these are not being phased out. |
| 807 | 808 | ||
| 809 | (defalias 'send-string 'process-send-string) | ||
| 810 | (defalias 'send-region 'process-send-region) | ||
| 808 | (defalias 'string= 'string-equal) | 811 | (defalias 'string= 'string-equal) |
| 809 | (defalias 'string< 'string-lessp) | 812 | (defalias 'string< 'string-lessp) |
| 810 | (defalias 'move-marker 'set-marker) | 813 | (defalias 'move-marker 'set-marker) |
| @@ -822,9 +825,6 @@ is converted into a string by expressing it in decimal." | |||
| 822 | (defalias 'point-at-eol 'line-end-position) | 825 | (defalias 'point-at-eol 'line-end-position) |
| 823 | (defalias 'point-at-bol 'line-beginning-position) | 826 | (defalias 'point-at-bol 'line-beginning-position) |
| 824 | 827 | ||
| 825 | ;;; Should this be an obsolete name? If you decide it should, you get | ||
| 826 | ;;; to go through all the sources and change them. | ||
| 827 | (define-obsolete-function-alias 'string-to-int 'string-to-number) | ||
| 828 | 828 | ||
| 829 | ;;;; Hook manipulation functions. | 829 | ;;;; Hook manipulation functions. |
| 830 | 830 | ||
| @@ -2306,9 +2306,6 @@ configuration." | |||
| 2306 | (and (consp object) | 2306 | (and (consp object) |
| 2307 | (eq (car object) 'frame-configuration))) | 2307 | (eq (car object) 'frame-configuration))) |
| 2308 | 2308 | ||
| 2309 | (defsubst left-fringe-p () | ||
| 2310 | (equal (car (window-fringes)) 0)) | ||
| 2311 | |||
| 2312 | (defun functionp (object) | 2309 | (defun functionp (object) |
| 2313 | "Non-nil if OBJECT is any kind of function or a special form. | 2310 | "Non-nil if OBJECT is any kind of function or a special form. |
| 2314 | Also non-nil if OBJECT is a symbol and its function definition is | 2311 | Also non-nil if OBJECT is a symbol and its function definition is |
diff --git a/lisp/term.el b/lisp/term.el index 473fafd558a..2b89b83fb04 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -3339,7 +3339,7 @@ The top-most line is line 0." | |||
| 3339 | (second-colon | 3339 | (second-colon |
| 3340 | (string-match ":" string (1+ first-colon))) | 3340 | (string-match ":" string (1+ first-colon))) |
| 3341 | (filename (substring string 1 first-colon)) | 3341 | (filename (substring string 1 first-colon)) |
| 3342 | (fileline (string-to-int | 3342 | (fileline (string-to-number |
| 3343 | (substring string (1+ first-colon) second-colon)))) | 3343 | (substring string (1+ first-colon) second-colon)))) |
| 3344 | (setq term-pending-frame (cons filename fileline)))) | 3344 | (setq term-pending-frame (cons filename fileline)))) |
| 3345 | ((= (aref string 0) ?/) | 3345 | ((= (aref string 0) ?/) |
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index 366668c66f3..a27a4c6395c 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el | |||
| @@ -106,7 +106,7 @@ | |||
| 106 | (let ((param (nth 3 aelt))) | 106 | (let ((param (nth 3 aelt))) |
| 107 | (setq default-frame-alist | 107 | (setq default-frame-alist |
| 108 | (cons (cons param | 108 | (cons (cons param |
| 109 | (string-to-int (car x-invocation-args))) | 109 | (string-to-number (car x-invocation-args))) |
| 110 | default-frame-alist) | 110 | default-frame-alist) |
| 111 | x-invocation-args | 111 | x-invocation-args |
| 112 | (cdr x-invocation-args)))))) | 112 | (cdr x-invocation-args)))))) |
diff --git a/lisp/term/sun-mouse.el b/lisp/term/sun-mouse.el index 8d9bfb67cf7..cee02919a66 100644 --- a/lisp/term/sun-mouse.el +++ b/lisp/term/sun-mouse.el | |||
| @@ -615,7 +615,7 @@ CODE values: 13 = Tool-Position, 14 = Size-in-Pixels, 18 = Size-in-Chars." | |||
| 615 | (setq str (substring str (match-end 0))) | 615 | (setq str (substring str (match-end 0))) |
| 616 | (string-match ";[0-9]*" str) | 616 | (string-match ";[0-9]*" str) |
| 617 | (setq x (substring str (1+ (match-beginning 0)) (match-end 0))) | 617 | (setq x (substring str (1+ (match-beginning 0)) (match-end 0))) |
| 618 | (cons (string-to-int y) (string-to-int x)))) | 618 | (cons (string-to-number y) (string-to-number x)))) |
| 619 | 619 | ||
| 620 | (defun sm::font-size () | 620 | (defun sm::font-size () |
| 621 | "Returns font size in pixels: (cons Ysize Xsize)" | 621 | "Returns font size in pixels: (cons Ysize Xsize)" |
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index f99eff9ef1a..76644fc2d63 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -146,7 +146,7 @@ the last file dropped is selected." | |||
| 146 | "Handle SWITCH of the form \"-switch n\"." | 146 | "Handle SWITCH of the form \"-switch n\"." |
| 147 | (let ((aelt (assoc switch command-line-x-option-alist))) | 147 | (let ((aelt (assoc switch command-line-x-option-alist))) |
| 148 | (if aelt | 148 | (if aelt |
| 149 | (push (cons (nth 3 aelt) (string-to-int (pop x-invocation-args))) | 149 | (push (cons (nth 3 aelt) (string-to-number (pop x-invocation-args))) |
| 150 | default-frame-alist)))) | 150 | default-frame-alist)))) |
| 151 | 151 | ||
| 152 | ;; Handle options that apply to initial frame only | 152 | ;; Handle options that apply to initial frame only |
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index b6d5bdc8b49..5d2cb1afad2 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -112,7 +112,7 @@ | |||
| 112 | (let ((param (nth 3 aelt))) | 112 | (let ((param (nth 3 aelt))) |
| 113 | (setq default-frame-alist | 113 | (setq default-frame-alist |
| 114 | (cons (cons param | 114 | (cons (cons param |
| 115 | (string-to-int (car x-invocation-args))) | 115 | (string-to-number (car x-invocation-args))) |
| 116 | default-frame-alist) | 116 | default-frame-alist) |
| 117 | x-invocation-args | 117 | x-invocation-args |
| 118 | (cdr x-invocation-args)))))) | 118 | (cdr x-invocation-args)))))) |
diff --git a/lisp/terminal.el b/lisp/terminal.el index d33ba914cd3..b84b1b6ed00 100644 --- a/lisp/terminal.el +++ b/lisp/terminal.el | |||
| @@ -489,7 +489,7 @@ lets you type a terminal emulator command." | |||
| 489 | (progn | 489 | (progn |
| 490 | (and terminal-more-processing (null (cdr te-pending-output)) | 490 | (and terminal-more-processing (null (cdr te-pending-output)) |
| 491 | (te-set-more-count nil)) | 491 | (te-set-more-count nil)) |
| 492 | (send-string te-process (make-string 1 last-input-char)) | 492 | (process-send-string te-process (make-string 1 last-input-char)) |
| 493 | (te-process-output t)) | 493 | (te-process-output t)) |
| 494 | (message "Function key `%s' ignored" | 494 | (message "Function key `%s' ignored" |
| 495 | (single-key-description last-input-char)))))) | 495 | (single-key-description last-input-char)))))) |
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index c41145befc8..1615da60910 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -61,7 +61,8 @@ If the function returns nil, then `fill-paragraph' does its normal work.") | |||
| 61 | Kinsoku processing is designed to prevent certain characters from being | 61 | Kinsoku processing is designed to prevent certain characters from being |
| 62 | placed at the beginning or end of a line by filling. | 62 | placed at the beginning or end of a line by filling. |
| 63 | See the documentation of `kinsoku' for more information." | 63 | See the documentation of `kinsoku' for more information." |
| 64 | :type 'boolean) | 64 | :type 'boolean |
| 65 | :group 'fill) | ||
| 65 | 66 | ||
| 66 | (defun set-fill-prefix () | 67 | (defun set-fill-prefix () |
| 67 | "Set the fill prefix to the current line up to point. | 68 | "Set the fill prefix to the current line up to point. |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index c8926776400..1de27265b08 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -2296,9 +2296,9 @@ Optional third arg SHIFT is an offset to apply based on previous corrections." | |||
| 2296 | (setq output (substring output (match-end 0))) ; skip over misspelling | 2296 | (setq output (substring output (match-end 0))) ; skip over misspelling |
| 2297 | (if (eq type ?#) | 2297 | (if (eq type ?#) |
| 2298 | (setq count 0) ; no misses for type # | 2298 | (setq count 0) ; no misses for type # |
| 2299 | (setq count (string-to-int output) ; get number of misses. | 2299 | (setq count (string-to-number output) ; get number of misses. |
| 2300 | output (substring output (1+ (string-match " " output 1))))) | 2300 | output (substring output (1+ (string-match " " output 1))))) |
| 2301 | (setq offset (string-to-int output)) | 2301 | (setq offset (string-to-number output)) |
| 2302 | (if (eq type ?#) ; No miss or guess list. | 2302 | (if (eq type ?#) ; No miss or guess list. |
| 2303 | (setq output nil) | 2303 | (setq output nil) |
| 2304 | (setq output (substring output (1+ (string-match " " output 1))))) | 2304 | (setq output (substring output (1+ (string-match " " output 1))))) |
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el index c0638804ffa..9c5addb85fa 100644 --- a/lisp/textmodes/nroff-mode.el +++ b/lisp/textmodes/nroff-mode.el | |||
| @@ -134,7 +134,7 @@ closing requests for requests that are used in matched pairs." | |||
| 134 | (save-excursion | 134 | (save-excursion |
| 135 | (looking-at outline-regexp) | 135 | (looking-at outline-regexp) |
| 136 | (skip-chars-forward ".H ") | 136 | (skip-chars-forward ".H ") |
| 137 | (string-to-int (buffer-substring (point) (+ 1 (point)))))) | 137 | (string-to-number (buffer-substring (point) (+ 1 (point)))))) |
| 138 | 138 | ||
| 139 | ;;; Compute how much to indent a comment in nroff/troff source. | 139 | ;;; Compute how much to indent a comment in nroff/troff source. |
| 140 | ;;; By mit-erl!gildea April 86 | 140 | ;;; By mit-erl!gildea April 86 |
diff --git a/lisp/textmodes/reftex-auc.el b/lisp/textmodes/reftex-auc.el index 93cd0757b4e..821eb7feca2 100644 --- a/lisp/textmodes/reftex-auc.el +++ b/lisp/textmodes/reftex-auc.el | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | ;;; reftex-auc.el --- RefTeX's interface to AUCTeX | 1 | ;;; reftex-auc.el --- RefTeX's interface to AUCTeX |
| 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. | 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 |
| 3 | ;; Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 5 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 6 | 7 | ||
| 7 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 8 | 9 | ||
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el index f12d01716fe..90ab8b7a3af 100644 --- a/lisp/textmodes/reftex-cite.el +++ b/lisp/textmodes/reftex-cite.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 6 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | 9 | ||
| @@ -312,12 +312,12 @@ | |||
| 312 | (not (stringp (car al1)))))) | 312 | (not (stringp (car al1)))))) |
| 313 | 313 | ||
| 314 | (defun reftex-bib-sort-year (e1 e2) | 314 | (defun reftex-bib-sort-year (e1 e2) |
| 315 | (< (string-to-int (or (cdr (assoc "year" e1)) "0")) | 315 | (< (string-to-number (or (cdr (assoc "year" e1)) "0")) |
| 316 | (string-to-int (or (cdr (assoc "year" e2)) "0")))) | 316 | (string-to-number (or (cdr (assoc "year" e2)) "0")))) |
| 317 | 317 | ||
| 318 | (defun reftex-bib-sort-year-reverse (e1 e2) | 318 | (defun reftex-bib-sort-year-reverse (e1 e2) |
| 319 | (> (string-to-int (or (cdr (assoc "year" e1)) "0")) | 319 | (> (string-to-number (or (cdr (assoc "year" e1)) "0")) |
| 320 | (string-to-int (or (cdr (assoc "year" e2)) "0")))) | 320 | (string-to-number (or (cdr (assoc "year" e2)) "0")))) |
| 321 | 321 | ||
| 322 | (defun reftex-get-crossref-alist (entry) | 322 | (defun reftex-get-crossref-alist (entry) |
| 323 | ;; return the alist from a crossref entry | 323 | ;; return the alist from a crossref entry |
| @@ -681,7 +681,7 @@ While entering the regexp, completion on knows citation keys is possible. | |||
| 681 | ;; Should we cleanup empty optional arguments? | 681 | ;; Should we cleanup empty optional arguments? |
| 682 | ;; if the first is empty, it can be removed. If the second is empty, | 682 | ;; if the first is empty, it can be removed. If the second is empty, |
| 683 | ;; it has to go. If there is only a single arg and empty, it can go | 683 | ;; it has to go. If there is only a single arg and empty, it can go |
| 684 | ;; as well. | 684 | ;; as well. |
| 685 | (when reftex-cite-cleanup-optional-args | 685 | (when reftex-cite-cleanup-optional-args |
| 686 | (cond | 686 | (cond |
| 687 | ((string-match "\\([a-zA-Z0-9]\\)\\[\\]{" string) | 687 | ((string-match "\\([a-zA-Z0-9]\\)\\[\\]{" string) |
| @@ -988,7 +988,7 @@ While entering the regexp, completion on knows citation keys is possible. | |||
| 988 | (while (string-match | 988 | (while (string-match |
| 989 | "\\(\\`\\|[^%]\\)\\(\\(%\\([0-9]*\\)\\([a-zA-Z]\\)\\)[.,;: ]*\\)" | 989 | "\\(\\`\\|[^%]\\)\\(\\(%\\([0-9]*\\)\\([a-zA-Z]\\)\\)[.,;: ]*\\)" |
| 990 | format) | 990 | format) |
| 991 | (let ((n (string-to-int (match-string 4 format))) | 991 | (let ((n (string-to-number (match-string 4 format))) |
| 992 | (l (string-to-char (match-string 5 format))) | 992 | (l (string-to-char (match-string 5 format))) |
| 993 | rpl b e) | 993 | rpl b e) |
| 994 | (save-match-data | 994 | (save-match-data |
diff --git a/lisp/textmodes/reftex-dcr.el b/lisp/textmodes/reftex-dcr.el index e832465cf17..b73c62a9a0a 100644 --- a/lisp/textmodes/reftex-dcr.el +++ b/lisp/textmodes/reftex-dcr.el | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | ;;; reftex-dcr.el --- viewing cross references and citations with RefTeX | 1 | ;;; reftex-dcr.el --- viewing cross references and citations with RefTeX |
| 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. | 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 |
| 3 | ;; Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 5 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 6 | ;; | 7 | ;; |
| 7 | 8 | ||
| 8 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
diff --git a/lisp/textmodes/reftex-global.el b/lisp/textmodes/reftex-global.el index d3ef2dcb788..76c03c13188 100644 --- a/lisp/textmodes/reftex-global.el +++ b/lisp/textmodes/reftex-global.el | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | ;;; reftex-global.el --- operations on entire documents with RefTeX | 1 | ;;; reftex-global.el --- operations on entire documents with RefTeX |
| 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. | 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 |
| 3 | ;; Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 5 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 6 | 7 | ||
| 7 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 8 | 9 | ||
| @@ -416,10 +417,6 @@ Also checks if buffers visiting the files are in read-only mode." | |||
| 416 | (find-file (car flist)))))) | 417 | (find-file (car flist)))))) |
| 417 | 418 | ||
| 418 | ;;;###autoload | 419 | ;;;###autoload |
| 419 | (defvar reftex-isearch-minor-mode nil) | ||
| 420 | (make-variable-buffer-local 'reftex-isearch-minor-mode) | ||
| 421 | |||
| 422 | ;;;###autoload | ||
| 423 | (defun reftex-isearch-minor-mode (&optional arg) | 420 | (defun reftex-isearch-minor-mode (&optional arg) |
| 424 | "When on, isearch searches the whole document, not only the current file. | 421 | "When on, isearch searches the whole document, not only the current file. |
| 425 | This minor mode allows isearch to search through all the files of | 422 | This minor mode allows isearch to search through all the files of |
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index 8fada9c4930..ff2ea70a011 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 6 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | 9 | ||
diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el index ce1e3d77d72..0046c1b34b8 100644 --- a/lisp/textmodes/reftex-parse.el +++ b/lisp/textmodes/reftex-parse.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 6 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 7 | ;; | 7 | ;; |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| @@ -999,7 +999,7 @@ of master file." | |||
| 999 | (if (string-match "\\`[A-Z]\\'" number-string) | 999 | (if (string-match "\\`[A-Z]\\'" number-string) |
| 1000 | (aset reftex-section-numbers i | 1000 | (aset reftex-section-numbers i |
| 1001 | (- (string-to-char number-string) ?A -1)) | 1001 | (- (string-to-char number-string) ?A -1)) |
| 1002 | (aset reftex-section-numbers i (string-to-int number-string))) | 1002 | (aset reftex-section-numbers i (string-to-number number-string))) |
| 1003 | (pop numbers)) | 1003 | (pop numbers)) |
| 1004 | (decf i))) | 1004 | (decf i))) |
| 1005 | (put 'reftex-section-numbers 'appendix appendix)) | 1005 | (put 'reftex-section-numbers 'appendix appendix)) |
| @@ -1045,7 +1045,7 @@ of master file." | |||
| 1045 | (setq string | 1045 | (setq string |
| 1046 | (concat | 1046 | (concat |
| 1047 | (char-to-string | 1047 | (char-to-string |
| 1048 | (1- (+ ?A (string-to-int (match-string 0 string))))) | 1048 | (1- (+ ?A (string-to-number (match-string 0 string))))) |
| 1049 | (substring string (match-end 0)))))) | 1049 | (substring string (match-end 0)))))) |
| 1050 | (if star | 1050 | (if star |
| 1051 | (concat (make-string (1- (length string)) ?\ ) "*") | 1051 | (concat (make-string (1- (length string)) ?\ ) "*") |
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el index 6afbb77767c..be6f95d6ebc 100644 --- a/lisp/textmodes/reftex-ref.el +++ b/lisp/textmodes/reftex-ref.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 6 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | 9 | ||
| @@ -29,6 +29,7 @@ | |||
| 29 | (eval-when-compile (require 'cl)) | 29 | (eval-when-compile (require 'cl)) |
| 30 | (provide 'reftex-ref) | 30 | (provide 'reftex-ref) |
| 31 | (require 'reftex) | 31 | (require 'reftex) |
| 32 | (require 'reftex-parse) | ||
| 32 | ;;; | 33 | ;;; |
| 33 | 34 | ||
| 34 | (defun reftex-label-location (&optional bound) | 35 | (defun reftex-label-location (&optional bound) |
| @@ -200,13 +201,13 @@ This function is controlled by the settings of reftex-insert-label-flags." | |||
| 200 | force-prompt) | 201 | force-prompt) |
| 201 | 202 | ||
| 202 | (while (not valid) | 203 | (while (not valid) |
| 203 | ;; iterate until we get a legal label | 204 | ;; iterate until we get a valid label |
| 204 | 205 | ||
| 205 | (setq label (read-string | 206 | (setq label (read-string |
| 206 | (if naked "Naked Label: " "Label: ") | 207 | (if naked "Naked Label: " "Label: ") |
| 207 | default)) | 208 | default)) |
| 208 | 209 | ||
| 209 | ;; Lets make sure that this is a legal label | 210 | ;; Lets make sure that this is a valid label |
| 210 | (cond | 211 | (cond |
| 211 | 212 | ||
| 212 | ((string-match (concat "\\`\\(" (regexp-quote prefix) | 213 | ((string-match (concat "\\`\\(" (regexp-quote prefix) |
diff --git a/lisp/textmodes/reftex-sel.el b/lisp/textmodes/reftex-sel.el index 8b0ebb2ca2b..eb8c3035c90 100644 --- a/lisp/textmodes/reftex-sel.el +++ b/lisp/textmodes/reftex-sel.el | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | ;;; reftex-sel.el --- the selection modes for RefTeX | 1 | ;;; reftex-sel.el --- the selection modes for RefTeX |
| 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. | 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 |
| 3 | ;; Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 5 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 6 | 7 | ||
| 7 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 8 | 9 | ||
| @@ -418,7 +419,7 @@ During a selection process, these are the local bindings. | |||
| 418 | (remove-hook 'post-command-hook | 419 | (remove-hook 'post-command-hook |
| 419 | 'reftex-select-post-command-hook t)) | 420 | 'reftex-select-post-command-hook t)) |
| 420 | ;; Kill the mark overlays | 421 | ;; Kill the mark overlays |
| 421 | (mapcar (lambda (c) (delete-overlay (nth 1 c))) | 422 | (mapcar (lambda (c) (reftex-delete-overlay (nth 1 c))) |
| 422 | reftex-select-marked))))) | 423 | reftex-select-marked))))) |
| 423 | 424 | ||
| 424 | (set (make-local-variable 'reftex-last-line) | 425 | (set (make-local-variable 'reftex-last-line) |
| @@ -604,14 +605,14 @@ Useful for large TOC's." | |||
| 604 | (setq boe (or (previous-single-property-change (1+ (point)) :data) | 605 | (setq boe (or (previous-single-property-change (1+ (point)) :data) |
| 605 | (point-min)) | 606 | (point-min)) |
| 606 | eoe (or (next-single-property-change (point) :data) (point-max))) | 607 | eoe (or (next-single-property-change (point) :data) (point-max))) |
| 607 | (setq ovl (make-overlay boe eoe)) | 608 | (setq ovl (reftex-make-overlay boe eoe)) |
| 608 | (push (list data ovl separator) reftex-select-marked) | 609 | (push (list data ovl separator) reftex-select-marked) |
| 609 | (overlay-put ovl 'face reftex-select-mark-face) | 610 | (reftex-overlay-put ovl 'face reftex-select-mark-face) |
| 610 | (overlay-put ovl 'before-string | 611 | (reftex-overlay-put ovl 'before-string |
| 611 | (if separator | 612 | (if separator |
| 612 | (format "*%c%d* " separator | 613 | (format "*%c%d* " separator |
| 613 | (length reftex-select-marked)) | 614 | (length reftex-select-marked)) |
| 614 | (format "*%d* " (length reftex-select-marked)))) | 615 | (format "*%d* " (length reftex-select-marked)))) |
| 615 | (message "Entry has mark no. %d" (length reftex-select-marked)))) | 616 | (message "Entry has mark no. %d" (length reftex-select-marked)))) |
| 616 | 617 | ||
| 617 | (defun reftex-select-mark-comma () | 618 | (defun reftex-select-mark-comma () |
| @@ -637,19 +638,16 @@ Useful for large TOC's." | |||
| 637 | sep) | 638 | sep) |
| 638 | (unless cell | 639 | (unless cell |
| 639 | (error "No marked entry at point")) | 640 | (error "No marked entry at point")) |
| 640 | (and ovl (delete-overlay ovl)) | 641 | (and ovl (reftex-delete-overlay ovl)) |
| 641 | (setq reftex-select-marked (delq cell reftex-select-marked)) | 642 | (setq reftex-select-marked (delq cell reftex-select-marked)) |
| 642 | (if (featurep 'xemacs) | 643 | (setq cnt (1+ (length reftex-select-marked))) |
| 643 | ;; before-string property is broken in Emacs | 644 | (mapcar (lambda (c) |
| 644 | (progn | 645 | (setq sep (nth 2 c)) |
| 645 | (setq cnt (1+ (length reftex-select-marked))) | 646 | (reftex-overlay-put (nth 1 c) 'before-string |
| 646 | (mapcar (lambda (c) | 647 | (if sep |
| 647 | (setq sep (nth 2 c)) | 648 | (format "*%c%d* " sep (decf cnt)) |
| 648 | (overlay-put (nth 1 c) 'before-string | 649 | (format "*%d* " (decf cnt))))) |
| 649 | (if sep | 650 | reftex-select-marked) |
| 650 | (format "*%c%d* " sep (decf cnt)) | ||
| 651 | (format "*%d* " (decf cnt))))) | ||
| 652 | reftex-select-marked))) | ||
| 653 | (message "Entry no longer marked"))) | 651 | (message "Entry no longer marked"))) |
| 654 | 652 | ||
| 655 | (defun reftex-select-help () | 653 | (defun reftex-select-help () |
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index ed9746f8a69..8ad811391c7 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | ;;; reftex-toc.el --- RefTeX's table of contents mode | 1 | ;;; reftex-toc.el --- RefTeX's table of contents mode |
| 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. | 2 | ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005 |
| 3 | ;; Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 5 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 6 | 7 | ||
| 7 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 8 | 9 | ||
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index b2ca7bed250..b9748b31df2 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 6 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 9 | 9 | ||
| @@ -155,6 +155,21 @@ distribution. Mixed-case symbols are convenience aliases.") | |||
| 155 | (?f . "\\fullcite{%l}") | 155 | (?f . "\\fullcite{%l}") |
| 156 | (?F . "\\fullocite{%l}") | 156 | (?F . "\\fullocite{%l}") |
| 157 | (?n . "\\nocite{%l}"))) | 157 | (?n . "\\nocite{%l}"))) |
| 158 | (jurabib "The Jurabib package" | ||
| 159 | ((?\C-m . "\\cite{%l}") | ||
| 160 | (?c . "\\cite[][]{%l}") | ||
| 161 | (?t . "\\citet{%l}") | ||
| 162 | (?p . "\\citep{%l}") | ||
| 163 | (?e . "\\citep[e.g.][]{%l}") | ||
| 164 | (?s . "\\citep[see][]{%l}") | ||
| 165 | (?u . "\\fullcite{%l}") | ||
| 166 | (?i . "\\citetitle{%l}") | ||
| 167 | (?a . "\\citeauthor{%l}") | ||
| 168 | (?e . "\\citefield{}{%l}") | ||
| 169 | (?y . "\\citeyear{%l}") | ||
| 170 | (?f . "\\footcite{%l}") | ||
| 171 | (?F . "\\footcite[][]{%l}") | ||
| 172 | (?l . "\\footfullcite{%l}"))) | ||
| 158 | (bibentry "The Bibentry package" | 173 | (bibentry "The Bibentry package" |
| 159 | "\\bibentry{%l}") | 174 | "\\bibentry{%l}") |
| 160 | (harvard "The Harvard package" | 175 | (harvard "The Harvard package" |
| @@ -639,7 +654,7 @@ or macro." | |||
| 639 | "Non-nil means, trust the label prefix when determining label type. | 654 | "Non-nil means, trust the label prefix when determining label type. |
| 640 | It is customary to use special label prefixes to distinguish different label | 655 | It is customary to use special label prefixes to distinguish different label |
| 641 | types. The label prefixes have no syntactic meaning in LaTeX (unless | 656 | types. The label prefixes have no syntactic meaning in LaTeX (unless |
| 642 | special packages like fancyref) are being used. RefTeX can and by | 657 | special packages like fancyref are being used). RefTeX can and by |
| 643 | default does parse around each label to detect the correct label type, | 658 | default does parse around each label to detect the correct label type, |
| 644 | but this process can be slow when a document contains thousands of | 659 | but this process can be slow when a document contains thousands of |
| 645 | labels. If you use label prefixes consistently, you may speed up | 660 | labels. If you use label prefixes consistently, you may speed up |
| @@ -1373,7 +1388,9 @@ Inserting indexing commands in a line makes the line longer - often | |||
| 1373 | so long that it does not fit onto the screen. When this variable is | 1388 | so long that it does not fit onto the screen. When this variable is |
| 1374 | non-nil, newlines will be added as necessary before and/or after the | 1389 | non-nil, newlines will be added as necessary before and/or after the |
| 1375 | indexing command to keep lines short. However, the matched text | 1390 | indexing command to keep lines short. However, the matched text |
| 1376 | phrase and its index command will always end up on a single line.") | 1391 | phrase and its index command will always end up on a single line." |
| 1392 | :group 'reftex-index-support | ||
| 1393 | :type 'boolean) | ||
| 1377 | 1394 | ||
| 1378 | (defcustom reftex-index-phrases-sort-prefers-entry nil | 1395 | (defcustom reftex-index-phrases-sort-prefers-entry nil |
| 1379 | "*Non-nil means when sorting phrase lines, the explicit index entry is used. | 1396 | "*Non-nil means when sorting phrase lines, the explicit index entry is used. |
| @@ -1529,7 +1546,7 @@ TYPE: File type like \"bib\" or \"tex\". | |||
| 1529 | DEF-EXT: The default extension for that file type, like \".tex\" or \".bib\". | 1546 | DEF-EXT: The default extension for that file type, like \".tex\" or \".bib\". |
| 1530 | OTHER-EXT: Any number of other valid extensions for this file type. | 1547 | OTHER-EXT: Any number of other valid extensions for this file type. |
| 1531 | 1548 | ||
| 1532 | When a files is searched and it does not have any of the valid extensions, | 1549 | When a files is searched and it does not have any of the legal extensions, |
| 1533 | we try the default extension first, and then the naked file name. | 1550 | we try the default extension first, and then the naked file name. |
| 1534 | 1551 | ||
| 1535 | If you are using AUCTeX, you also need to add new extensions to | 1552 | If you are using AUCTeX, you also need to add new extensions to |
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 865217dab08..f8b4cba65ae 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@science.uva.nl> |
| 6 | ;; Version: 4.26 | 6 | ;; Version: 4.28 |
| 7 | ;; Keywords: tex | 7 | ;; Keywords: tex |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| @@ -301,7 +301,7 @@ | |||
| 301 | ;;; Define the formal stuff for a minor mode named RefTeX. | 301 | ;;; Define the formal stuff for a minor mode named RefTeX. |
| 302 | ;;; | 302 | ;;; |
| 303 | 303 | ||
| 304 | (defconst reftex-version "RefTeX version 4.26" | 304 | (defconst reftex-version "RefTeX version 4.28" |
| 305 | "Version string for RefTeX.") | 305 | "Version string for RefTeX.") |
| 306 | 306 | ||
| 307 | (defvar reftex-mode nil | 307 | (defvar reftex-mode nil |
| @@ -1501,7 +1501,7 @@ When DIE is non-nil, throw an error if file not found." | |||
| 1501 | (when (null (get pathvar 'status)) | 1501 | (when (null (get pathvar 'status)) |
| 1502 | ;; Get basic path | 1502 | ;; Get basic path |
| 1503 | (set pathvar | 1503 | (set pathvar |
| 1504 | (reftex-uniq | 1504 | (reftex-uniquify |
| 1505 | (reftex-parse-colon-path | 1505 | (reftex-parse-colon-path |
| 1506 | (mapconcat | 1506 | (mapconcat |
| 1507 | (lambda(x) | 1507 | (lambda(x) |
| @@ -1606,15 +1606,6 @@ When DIE is non-nil, throw an error if file not found." | |||
| 1606 | (push dir path1))) | 1606 | (push dir path1))) |
| 1607 | path1)) | 1607 | path1)) |
| 1608 | 1608 | ||
| 1609 | (defun reftex-uniq (list) | ||
| 1610 | (let (new) | ||
| 1611 | (while list | ||
| 1612 | (or (member (car list) new) | ||
| 1613 | (push (car list) new)) | ||
| 1614 | (pop list)) | ||
| 1615 | (nreverse new))) | ||
| 1616 | |||
| 1617 | |||
| 1618 | ;;; ========================================================================= | 1609 | ;;; ========================================================================= |
| 1619 | ;;; | 1610 | ;;; |
| 1620 | ;;; Parser functions | 1611 | ;;; Parser functions |
| @@ -2145,7 +2136,7 @@ Works on both Emacs and XEmacs." | |||
| 2145 | (nreverse rtn))) | 2136 | (nreverse rtn))) |
| 2146 | 2137 | ||
| 2147 | (defun reftex-uniquify (list) | 2138 | (defun reftex-uniquify (list) |
| 2148 | ;; Return a list of all elements in LIST, but each only once | 2139 | ;; Return a list of all elements in LIST, but each only once, keeping order |
| 2149 | (let (new elm) | 2140 | (let (new elm) |
| 2150 | (while list | 2141 | (while list |
| 2151 | (setq elm (pop list)) | 2142 | (setq elm (pop list)) |
| @@ -2342,31 +2333,40 @@ IGNORE-WORDS List of words which should be removed from the string." | |||
| 2342 | (if (find-face face) (throw 'exit face)) | 2333 | (if (find-face face) (throw 'exit face)) |
| 2343 | (if (facep face) (throw 'exit face))))))) | 2334 | (if (facep face) (throw 'exit face))))))) |
| 2344 | 2335 | ||
| 2345 | ;; Highlighting uses overlays. For XEmacs, we need the emulation. | 2336 | ;; Highlighting uses overlays. For XEmacs, we use extends. |
| 2346 | (if (featurep 'xemacs) (require 'overlay)) | 2337 | (if (featurep 'xemacs) |
| 2338 | (progn | ||
| 2339 | (defalias 'reftex-make-overlay 'make-extent) | ||
| 2340 | (defalias 'reftex-overlay-put 'set-extent-property) | ||
| 2341 | (defalias 'reftex-move-overlay 'set-extent-endpoints) | ||
| 2342 | (defalias 'reftex-delete-overlay 'detach-extent)) | ||
| 2343 | (defalias 'reftex-make-overlay 'make-overlay) | ||
| 2344 | (defalias 'reftex-overlay-put 'overlay-put) | ||
| 2345 | (defalias 'reftex-move-overlay 'move-overlay) | ||
| 2346 | (defalias 'reftex-delete-overlay 'delete-overlay)) | ||
| 2347 | 2347 | ||
| 2348 | ;; We keep a vector with several different overlays to do our highlighting. | 2348 | ;; We keep a vector with several different overlays to do our highlighting. |
| 2349 | (defvar reftex-highlight-overlays [nil nil nil]) | 2349 | (defvar reftex-highlight-overlays [nil nil nil]) |
| 2350 | 2350 | ||
| 2351 | ;; Initialize the overlays | 2351 | ;; Initialize the overlays |
| 2352 | (aset reftex-highlight-overlays 0 (make-overlay 1 1)) | 2352 | (aset reftex-highlight-overlays 0 (reftex-make-overlay 1 1)) |
| 2353 | (overlay-put (aref reftex-highlight-overlays 0) | 2353 | (reftex-overlay-put (aref reftex-highlight-overlays 0) |
| 2354 | 'face 'highlight) | 2354 | 'face 'highlight) |
| 2355 | (aset reftex-highlight-overlays 1 (make-overlay 1 1)) | 2355 | (aset reftex-highlight-overlays 1 (reftex-make-overlay 1 1)) |
| 2356 | (overlay-put (aref reftex-highlight-overlays 1) | 2356 | (reftex-overlay-put (aref reftex-highlight-overlays 1) |
| 2357 | 'face reftex-cursor-selected-face) | 2357 | 'face reftex-cursor-selected-face) |
| 2358 | (aset reftex-highlight-overlays 2 (make-overlay 1 1)) | 2358 | (aset reftex-highlight-overlays 2 (reftex-make-overlay 1 1)) |
| 2359 | (overlay-put (aref reftex-highlight-overlays 2) | 2359 | (reftex-overlay-put (aref reftex-highlight-overlays 2) |
| 2360 | 'face reftex-cursor-selected-face) | 2360 | 'face reftex-cursor-selected-face) |
| 2361 | 2361 | ||
| 2362 | ;; Two functions for activating and deactivation highlight overlays | 2362 | ;; Two functions for activating and deactivation highlight overlays |
| 2363 | (defun reftex-highlight (index begin end &optional buffer) | 2363 | (defun reftex-highlight (index begin end &optional buffer) |
| 2364 | "Highlight a region with overlay INDEX." | 2364 | "Highlight a region with overlay INDEX." |
| 2365 | (move-overlay (aref reftex-highlight-overlays index) | 2365 | (reftex-move-overlay (aref reftex-highlight-overlays index) |
| 2366 | begin end (or buffer (current-buffer)))) | 2366 | begin end (or buffer (current-buffer)))) |
| 2367 | (defun reftex-unhighlight (index) | 2367 | (defun reftex-unhighlight (index) |
| 2368 | "Detach overlay INDEX." | 2368 | "Detach overlay INDEX." |
| 2369 | (delete-overlay (aref reftex-highlight-overlays index))) | 2369 | (reftex-delete-overlay (aref reftex-highlight-overlays index))) |
| 2370 | 2370 | ||
| 2371 | (defun reftex-highlight-shall-die () | 2371 | (defun reftex-highlight-shall-die () |
| 2372 | ;; Function used in pre-command-hook to remove highlights. | 2372 | ;; Function used in pre-command-hook to remove highlights. |
| @@ -2424,6 +2424,9 @@ IGNORE-WORDS List of words which should be removed from the string." | |||
| 2424 | 2424 | ||
| 2425 | ;; Define a menu for the menu bar if Emacs is running under X | 2425 | ;; Define a menu for the menu bar if Emacs is running under X |
| 2426 | 2426 | ||
| 2427 | (defvar reftex-isearch-minor-mode nil) | ||
| 2428 | (make-variable-buffer-local 'reftex-isearch-minor-mode) | ||
| 2429 | |||
| 2427 | (require 'easymenu) | 2430 | (require 'easymenu) |
| 2428 | 2431 | ||
| 2429 | (easy-menu-define reftex-mode-menu reftex-mode-map | 2432 | (easy-menu-define reftex-mode-menu reftex-mode-map |
diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el index c6289819c88..6afaae83703 100644 --- a/lisp/textmodes/spell.el +++ b/lisp/textmodes/spell.el | |||
| @@ -128,9 +128,9 @@ for example, \"word\"." | |||
| 128 | (forward-char 1) | 128 | (forward-char 1) |
| 129 | (delete-region (point-min) (point)) | 129 | (delete-region (point-min) (point)) |
| 130 | (setq newword | 130 | (setq newword |
| 131 | (read-input (concat "`" word | 131 | (read-string (concat "`" word |
| 132 | "' not recognized; edit a replacement: ") | 132 | "' not recognized; edit a replacement: ") |
| 133 | word)) | 133 | word)) |
| 134 | (flush-lines (concat "^" (regexp-quote word) "$"))) | 134 | (flush-lines (concat "^" (regexp-quote word) "$"))) |
| 135 | (if (not (equal word newword)) | 135 | (if (not (equal word newword)) |
| 136 | (progn | 136 | (progn |
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index a85e968d3ee..118ca3bb3fa 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el | |||
| @@ -842,7 +842,8 @@ simply by any key input." | |||
| 842 | :group 'table-hooks) | 842 | :group 'table-hooks) |
| 843 | 843 | ||
| 844 | (defcustom table-yank-handler '(nil nil t nil) | 844 | (defcustom table-yank-handler '(nil nil t nil) |
| 845 | "*yank-handler for table.") | 845 | "*yank-handler for table." |
| 846 | :group 'table) | ||
| 846 | 847 | ||
| 847 | (setplist 'table-disable-incompatibility-warning nil) | 848 | (setplist 'table-disable-incompatibility-warning nil) |
| 848 | 849 | ||
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index e478169c250..ad029266f3b 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -2807,7 +2807,7 @@ Default is to leave the number of spaces as is." | |||
| 2807 | (let ((arg (texinfo-parse-arg-discard))) | 2807 | (let ((arg (texinfo-parse-arg-discard))) |
| 2808 | (if (string= "asis" arg) | 2808 | (if (string= "asis" arg) |
| 2809 | (setq texinfo-paragraph-indent "asis") | 2809 | (setq texinfo-paragraph-indent "asis") |
| 2810 | (setq texinfo-paragraph-indent (string-to-int arg))))) | 2810 | (setq texinfo-paragraph-indent (string-to-number arg))))) |
| 2811 | 2811 | ||
| 2812 | (put 'refill 'texinfo-format 'texinfo-format-refill) | 2812 | (put 'refill 'texinfo-format 'texinfo-format-refill) |
| 2813 | (defun texinfo-format-refill () | 2813 | (defun texinfo-format-refill () |
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el index f574144f4b0..4cba3b5f456 100644 --- a/lisp/time-stamp.el +++ b/lisp/time-stamp.el | |||
| @@ -270,7 +270,7 @@ template." | |||
| 270 | (string-match "\\`\\(\\(-?[0-9]+\\)/\\)?\\([^%]+\\)?\\(\\(%[-.,:@+_ #^()0-9]*[A-Za-z%][^%]*\\)*%[-.,:@+_ #^()0-9]*[A-Za-z%]\\)?\\([^%]+\\)?\\'" time-stamp-pattern) | 270 | (string-match "\\`\\(\\(-?[0-9]+\\)/\\)?\\([^%]+\\)?\\(\\(%[-.,:@+_ #^()0-9]*[A-Za-z%][^%]*\\)*%[-.,:@+_ #^()0-9]*[A-Za-z%]\\)?\\([^%]+\\)?\\'" time-stamp-pattern) |
| 271 | (and (match-beginning 2) | 271 | (and (match-beginning 2) |
| 272 | (setq line-limit | 272 | (setq line-limit |
| 273 | (string-to-int (match-string 2 time-stamp-pattern)))) | 273 | (string-to-number (match-string 2 time-stamp-pattern)))) |
| 274 | (and (match-beginning 3) | 274 | (and (match-beginning 3) |
| 275 | (setq ts-start (match-string 3 time-stamp-pattern))) | 275 | (setq ts-start (match-string 3 time-stamp-pattern))) |
| 276 | (and (match-beginning 4) | 276 | (and (match-beginning 4) |
| @@ -558,9 +558,9 @@ and all `time-stamp-format' compatibility." | |||
| 558 | ((eq cur-char ?y) ;year | 558 | ((eq cur-char ?y) ;year |
| 559 | (or alt-form (not (string-equal field-width "")) | 559 | (or alt-form (not (string-equal field-width "")) |
| 560 | (time-stamp-conv-warn "%y" "%:y")) | 560 | (time-stamp-conv-warn "%y" "%:y")) |
| 561 | (string-to-int (format-time-string "%Y" time))) | 561 | (string-to-number (format-time-string "%Y" time))) |
| 562 | ((eq cur-char ?Y) ;4-digit year, new style | 562 | ((eq cur-char ?Y) ;4-digit year, new style |
| 563 | (string-to-int (format-time-string "%Y" time))) | 563 | (string-to-number (format-time-string "%Y" time))) |
| 564 | ((eq cur-char ?z) ;time zone lower case | 564 | ((eq cur-char ?z) ;time zone lower case |
| 565 | (if change-case | 565 | (if change-case |
| 566 | "" ;discourage %z variations | 566 | "" ;discourage %z variations |
| @@ -597,7 +597,7 @@ and all `time-stamp-format' compatibility." | |||
| 597 | (let* ((initial-length (length padded-result)) | 597 | (let* ((initial-length (length padded-result)) |
| 598 | (desired-length (if (string-equal field-width "") | 598 | (desired-length (if (string-equal field-width "") |
| 599 | initial-length | 599 | initial-length |
| 600 | (string-to-int field-width)))) | 600 | (string-to-number field-width)))) |
| 601 | (if (> initial-length desired-length) | 601 | (if (> initial-length desired-length) |
| 602 | ;; truncate strings on right, years on left | 602 | ;; truncate strings on right, years on left |
| 603 | (if (stringp field-result) | 603 | (if (stringp field-result) |
| @@ -621,7 +621,7 @@ width specification or \"\". TIME is the time to convert." | |||
| 621 | (format "%%:%c" format-char))) | 621 | (format "%%:%c" format-char))) |
| 622 | (if (and alt-form (not (string-equal field-width ""))) | 622 | (if (and alt-form (not (string-equal field-width ""))) |
| 623 | "" ;discourage "%:2d" and the like | 623 | "" ;discourage "%:2d" and the like |
| 624 | (string-to-int (format-time-string format-string time))))) | 624 | (string-to-number (format-time-string format-string time))))) |
| 625 | 625 | ||
| 626 | (defvar time-stamp-conversion-warn t | 626 | (defvar time-stamp-conversion-warn t |
| 627 | "Warn about soon-to-be-unsupported forms in `time-stamp-format'. | 627 | "Warn about soon-to-be-unsupported forms in `time-stamp-format'. |
diff --git a/lisp/time.el b/lisp/time.el index 850843402ca..ddf0d932733 100644 --- a/lisp/time.el +++ b/lisp/time.el | |||
| @@ -331,7 +331,7 @@ update which can wait for the next redisplay." | |||
| 331 | ;; Record that mail file is accessible. | 331 | ;; Record that mail file is accessible. |
| 332 | (setq display-time-server-down-time nil))))))) | 332 | (setq display-time-server-down-time nil))))))) |
| 333 | (24-hours (substring time 11 13)) | 333 | (24-hours (substring time 11 13)) |
| 334 | (hour (string-to-int 24-hours)) | 334 | (hour (string-to-number 24-hours)) |
| 335 | (12-hours (int-to-string (1+ (% (+ hour 11) 12)))) | 335 | (12-hours (int-to-string (1+ (% (+ hour 11) 12)))) |
| 336 | (am-pm (if (>= hour 12) "pm" "am")) | 336 | (am-pm (if (>= hour 12) "pm" "am")) |
| 337 | (minutes (substring time 14 16)) | 337 | (minutes (substring time 14 16)) |
diff --git a/lisp/timezone.el b/lisp/timezone.el index bad269d9cbc..62c8f86f79b 100644 --- a/lisp/timezone.el +++ b/lisp/timezone.el | |||
| @@ -205,7 +205,7 @@ Understands the following styles: | |||
| 205 | ;; Unix Epoch, so are 2000+. Three-digit years are assumed to | 205 | ;; Unix Epoch, so are 2000+. Three-digit years are assumed to |
| 206 | ;; be relative to 1900. | 206 | ;; be relative to 1900. |
| 207 | (if (< (length year) 4) | 207 | (if (< (length year) 4) |
| 208 | (let ((y (string-to-int year))) | 208 | (let ((y (string-to-number year))) |
| 209 | (if (< y 69) | 209 | (if (< y 69) |
| 210 | (setq y (+ y 100))) | 210 | (setq y (+ y 100))) |
| 211 | (setq year (int-to-string (+ 1900 y))))) | 211 | (setq year (int-to-string (+ 1900 y))))) |
| @@ -271,7 +271,7 @@ or an integer of the form +-HHMM, or a time zone name." | |||
| 271 | ;; +900 | 271 | ;; +900 |
| 272 | timezone)) | 272 | timezone)) |
| 273 | (if (stringp timezone) | 273 | (if (stringp timezone) |
| 274 | (setq timezone (string-to-int timezone))) | 274 | (setq timezone (string-to-number timezone))) |
| 275 | ;; Taking account of minute in timezone. | 275 | ;; Taking account of minute in timezone. |
| 276 | ;; HHMM -> MM | 276 | ;; HHMM -> MM |
| 277 | (let* ((abszone (abs timezone)) | 277 | (let* ((abszone (abs timezone)) |
| @@ -314,7 +314,7 @@ Gregorian date Sunday, December 31, 1 BC." | |||
| 314 | If LOCAL is nil, it is assumed to be GMT. | 314 | If LOCAL is nil, it is assumed to be GMT. |
| 315 | If TIMEZONE is nil, use the local time zone." | 315 | If TIMEZONE is nil, use the local time zone." |
| 316 | (let* ((date (timezone-parse-date date)) | 316 | (let* ((date (timezone-parse-date date)) |
| 317 | (year (string-to-int (aref date 0))) | 317 | (year (string-to-number (aref date 0))) |
| 318 | (year (cond ((< year 69) | 318 | (year (cond ((< year 69) |
| 319 | (+ year 2000)) | 319 | (+ year 2000)) |
| 320 | ((< year 100) | 320 | ((< year 100) |
| @@ -322,12 +322,12 @@ If TIMEZONE is nil, use the local time zone." | |||
| 322 | ((< year 1000) ; possible 3-digit years. | 322 | ((< year 1000) ; possible 3-digit years. |
| 323 | (+ year 1900)) | 323 | (+ year 1900)) |
| 324 | (t year))) | 324 | (t year))) |
| 325 | (month (string-to-int (aref date 1))) | 325 | (month (string-to-number (aref date 1))) |
| 326 | (day (string-to-int (aref date 2))) | 326 | (day (string-to-number (aref date 2))) |
| 327 | (time (timezone-parse-time (aref date 3))) | 327 | (time (timezone-parse-time (aref date 3))) |
| 328 | (hour (string-to-int (aref time 0))) | 328 | (hour (string-to-number (aref time 0))) |
| 329 | (minute (string-to-int (aref time 1))) | 329 | (minute (string-to-number (aref time 1))) |
| 330 | (second (string-to-int (aref time 2))) | 330 | (second (string-to-number (aref time 2))) |
| 331 | (local (or (aref date 4) local)) ;Use original if defined | 331 | (local (or (aref date 4) local)) ;Use original if defined |
| 332 | (timezone | 332 | (timezone |
| 333 | (or timezone | 333 | (or timezone |
diff --git a/lisp/toolbar/tool-bar.el b/lisp/toolbar/tool-bar.el index f22d84cafaf..5f2e3afd46c 100644 --- a/lisp/toolbar/tool-bar.el +++ b/lisp/toolbar/tool-bar.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; tool-bar.el --- setting up the tool bar | 1 | ;;; tool-bar.el --- setting up the tool bar |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000, 2001, 2002, 2005 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |
| 5 | ;; Author: Dave Love <fx@gnu.org> | 5 | ;; Author: Dave Love <fx@gnu.org> |
| 6 | ;; Keywords: mouse frames | 6 | ;; Keywords: mouse frames |
diff --git a/lisp/uniquify.el b/lisp/uniquify.el index ea9094da78a..792a81f3221 100644 --- a/lisp/uniquify.el +++ b/lisp/uniquify.el | |||
| @@ -110,17 +110,20 @@ would have the following buffer names in the various styles: | |||
| 110 | (const post-forward) | 110 | (const post-forward) |
| 111 | (const post-forward-angle-brackets) | 111 | (const post-forward-angle-brackets) |
| 112 | (const :tag "standard Emacs behavior (nil)" nil)) | 112 | (const :tag "standard Emacs behavior (nil)" nil)) |
| 113 | :require 'uniquify) | 113 | :require 'uniquify |
| 114 | :group 'uniquify) | ||
| 114 | 115 | ||
| 115 | (defcustom uniquify-after-kill-buffer-p t | 116 | (defcustom uniquify-after-kill-buffer-p t |
| 116 | "If non-nil, rerationalize buffer names after a buffer has been killed." | 117 | "If non-nil, rerationalize buffer names after a buffer has been killed." |
| 117 | :type 'boolean) | 118 | :type 'boolean |
| 119 | :group 'uniquify) | ||
| 118 | 120 | ||
| 119 | (defcustom uniquify-ask-about-buffer-names-p nil | 121 | (defcustom uniquify-ask-about-buffer-names-p nil |
| 120 | "*If non-nil, permit user to choose names for buffers with same base file. | 122 | "*If non-nil, permit user to choose names for buffers with same base file. |
| 121 | If the user chooses to name a buffer, uniquification is preempted and no | 123 | If the user chooses to name a buffer, uniquification is preempted and no |
| 122 | other buffer names are changed." | 124 | other buffer names are changed." |
| 123 | :type 'boolean) | 125 | :type 'boolean |
| 126 | :group 'uniquify) | ||
| 124 | 127 | ||
| 125 | ;; The default value matches certain Gnus buffers. | 128 | ;; The default value matches certain Gnus buffers. |
| 126 | (defcustom uniquify-ignore-buffers-re nil | 129 | (defcustom uniquify-ignore-buffers-re nil |
| @@ -128,11 +131,13 @@ other buffer names are changed." | |||
| 128 | For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify rename | 131 | For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify rename |
| 129 | draft buffers even if `uniquify-after-kill-buffer-p' is non-nil and the | 132 | draft buffers even if `uniquify-after-kill-buffer-p' is non-nil and the |
| 130 | visited file name isn't the same as that of the buffer." | 133 | visited file name isn't the same as that of the buffer." |
| 131 | :type '(choice (const :tag "Uniquify all buffers" nil) regexp)) | 134 | :type '(choice (const :tag "Uniquify all buffers" nil) regexp) |
| 135 | :group 'uniquify) | ||
| 132 | 136 | ||
| 133 | (defcustom uniquify-min-dir-content 0 | 137 | (defcustom uniquify-min-dir-content 0 |
| 134 | "*Minimum number of directory name components included in buffer name." | 138 | "*Minimum number of directory name components included in buffer name." |
| 135 | :type 'integer) | 139 | :type 'integer |
| 140 | :group 'uniquify) | ||
| 136 | 141 | ||
| 137 | (defcustom uniquify-separator nil | 142 | (defcustom uniquify-separator nil |
| 138 | "*String separator for buffer name components. | 143 | "*String separator for buffer name components. |
| @@ -140,14 +145,16 @@ When `uniquify-buffer-name-style' is `post-forward', separates | |||
| 140 | base file name from directory part in buffer names (default \"|\"). | 145 | base file name from directory part in buffer names (default \"|\"). |
| 141 | When `uniquify-buffer-name-style' is `reverse', separates all | 146 | When `uniquify-buffer-name-style' is `reverse', separates all |
| 142 | file name components (default \"\\\")." | 147 | file name components (default \"\\\")." |
| 143 | :type '(choice (const nil) string)) | 148 | :type '(choice (const nil) string) |
| 149 | :group 'uniquify) | ||
| 144 | 150 | ||
| 145 | (defcustom uniquify-trailing-separator-p nil | 151 | (defcustom uniquify-trailing-separator-p nil |
| 146 | "*If non-nil, add a file name separator to dired buffer names. | 152 | "*If non-nil, add a file name separator to dired buffer names. |
| 147 | If `uniquify-buffer-name-style' is `forward', add the separator at the end; | 153 | If `uniquify-buffer-name-style' is `forward', add the separator at the end; |
| 148 | if it is `reverse', add the separator at the beginning; otherwise, this | 154 | if it is `reverse', add the separator at the beginning; otherwise, this |
| 149 | variable is ignored." | 155 | variable is ignored." |
| 150 | :type 'boolean) | 156 | :type 'boolean |
| 157 | :group 'uniquify) | ||
| 151 | 158 | ||
| 152 | (defcustom uniquify-strip-common-suffix | 159 | (defcustom uniquify-strip-common-suffix |
| 153 | ;; Using it when uniquify-min-dir-content>0 doesn't make much sense. | 160 | ;; Using it when uniquify-min-dir-content>0 doesn't make much sense. |
| @@ -156,7 +163,8 @@ variable is ignored." | |||
| 156 | E.g. if you open /a1/b/c/d and /a2/b/c/d, the buffer names will say | 163 | E.g. if you open /a1/b/c/d and /a2/b/c/d, the buffer names will say |
| 157 | \"d|a1\" and \"d|a2\" instead of \"d|a1/b/c\" and \"d|a2/b/c\". | 164 | \"d|a1\" and \"d|a2\" instead of \"d|a1/b/c\" and \"d|a2/b/c\". |
| 158 | This can be handy when you have deep parallel hierarchies." | 165 | This can be handy when you have deep parallel hierarchies." |
| 159 | :type 'boolean) | 166 | :type 'boolean |
| 167 | :group 'uniquify) | ||
| 160 | 168 | ||
| 161 | (defvar uniquify-list-buffers-directory-modes '(dired-mode cvs-mode) | 169 | (defvar uniquify-list-buffers-directory-modes '(dired-mode cvs-mode) |
| 162 | "List of modes for which uniquify should obey `list-buffers-directory'. | 170 | "List of modes for which uniquify should obey `list-buffers-directory'. |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index a023bdf18c7..546af477106 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2005-05-19 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * url-cookie.el (url-cookie-multiple-line): | ||
| 4 | Specify group and type in defcustom. | ||
| 5 | |||
| 6 | 2005-05-06 Juanma Barranquero <lekktu@gmail.com> | ||
| 7 | |||
| 8 | * url-auth.el (url-register-auth-scheme): | ||
| 9 | * url-cookie.el (url-cookie-expired-p): | ||
| 10 | * url-dav.el (url-dav-process-date-property) | ||
| 11 | (url-dav-process-boolean-property, url-dav-process-DAV:status): | ||
| 12 | * url-http.el (url-http-chunked-encoding-after-change-function) | ||
| 13 | (url-http-wait-for-headers-change-function): | ||
| 14 | * url-ns.el (isInNet): | ||
| 15 | * url-parse.el (url-generic-parse-url): | ||
| 16 | * url-util.el (url-get-normalized-date): Replace `string-to-int' | ||
| 17 | by `string-to-number'. | ||
| 18 | |||
| 1 | 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca> | 19 | 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 20 | ||
| 3 | * url.el (url-retrieve-synchronously): Work around the fact that | 21 | * url.el (url-retrieve-synchronously): Work around the fact that |
diff --git a/lisp/url/url-auth.el b/lisp/url/url-auth.el index 260315c5d54..ea208ccadea 100644 --- a/lisp/url/url-auth.el +++ b/lisp/url/url-auth.el | |||
| @@ -293,7 +293,7 @@ RATING a rating between 1 and 10 of the strength of the authentication. | |||
| 293 | (function (or function (intern (concat "url-" type "-auth")))) | 293 | (function (or function (intern (concat "url-" type "-auth")))) |
| 294 | (rating (cond | 294 | (rating (cond |
| 295 | ((null rating) 2) | 295 | ((null rating) 2) |
| 296 | ((stringp rating) (string-to-int rating)) | 296 | ((stringp rating) (string-to-number rating)) |
| 297 | (t rating))) | 297 | (t rating))) |
| 298 | (node (assoc type url-registered-auth-schemes))) | 298 | (node (assoc type url-registered-auth-schemes))) |
| 299 | (if (not (fboundp function)) | 299 | (if (not (fboundp function)) |
diff --git a/lisp/url/url-cookie.el b/lisp/url/url-cookie.el index 9f7db867597..328e60b63bc 100644 --- a/lisp/url/url-cookie.el +++ b/lisp/url/url-cookie.el | |||
| @@ -87,7 +87,9 @@ | |||
| 87 | "*If nil, HTTP requests put all cookies for the server on one line. | 87 | "*If nil, HTTP requests put all cookies for the server on one line. |
| 88 | Some web servers, such as http://www.hotmail.com/, only accept cookies | 88 | Some web servers, such as http://www.hotmail.com/, only accept cookies |
| 89 | when they are on one line. This is broken behaviour, but just try | 89 | when they are on one line. This is broken behaviour, but just try |
| 90 | telling Microsoft that.") | 90 | telling Microsoft that." |
| 91 | :type 'boolean | ||
| 92 | :group 'url-cookie) | ||
| 91 | 93 | ||
| 92 | (defvar url-cookies-changed-since-last-save nil | 94 | (defvar url-cookies-changed-since-last-save nil |
| 93 | "Whether the cookies list has changed since the last save operation.") | 95 | "Whether the cookies list has changed since the last save operation.") |
| @@ -208,13 +210,13 @@ telling Microsoft that.") | |||
| 208 | (cur-date (and exp (timezone-parse-date (current-time-string)))) | 210 | (cur-date (and exp (timezone-parse-date (current-time-string)))) |
| 209 | (exp-date (and exp (timezone-parse-date exp))) | 211 | (exp-date (and exp (timezone-parse-date exp))) |
| 210 | (cur-greg (and cur-date (timezone-absolute-from-gregorian | 212 | (cur-greg (and cur-date (timezone-absolute-from-gregorian |
| 211 | (string-to-int (aref cur-date 1)) | 213 | (string-to-number (aref cur-date 1)) |
| 212 | (string-to-int (aref cur-date 2)) | 214 | (string-to-number (aref cur-date 2)) |
| 213 | (string-to-int (aref cur-date 0))))) | 215 | (string-to-number (aref cur-date 0))))) |
| 214 | (exp-greg (and exp (timezone-absolute-from-gregorian | 216 | (exp-greg (and exp (timezone-absolute-from-gregorian |
| 215 | (string-to-int (aref exp-date 1)) | 217 | (string-to-number (aref exp-date 1)) |
| 216 | (string-to-int (aref exp-date 2)) | 218 | (string-to-number (aref exp-date 2)) |
| 217 | (string-to-int (aref exp-date 0))))) | 219 | (string-to-number (aref exp-date 0))))) |
| 218 | (diff-in-days (and exp (- cur-greg exp-greg))) | 220 | (diff-in-days (and exp (- cur-greg exp-greg))) |
| 219 | ) | 221 | ) |
| 220 | (cond | 222 | (cond |
| @@ -224,12 +226,12 @@ telling Microsoft that.") | |||
| 224 | (t ; Expires sometime today, check times | 226 | (t ; Expires sometime today, check times |
| 225 | (let* ((cur-time (timezone-parse-time (aref cur-date 3))) | 227 | (let* ((cur-time (timezone-parse-time (aref cur-date 3))) |
| 226 | (exp-time (timezone-parse-time (aref exp-date 3))) | 228 | (exp-time (timezone-parse-time (aref exp-date 3))) |
| 227 | (cur-norm (+ (* 360 (string-to-int (aref cur-time 2))) | 229 | (cur-norm (+ (* 360 (string-to-number (aref cur-time 2))) |
| 228 | (* 60 (string-to-int (aref cur-time 1))) | 230 | (* 60 (string-to-number (aref cur-time 1))) |
| 229 | (* 1 (string-to-int (aref cur-time 0))))) | 231 | (* 1 (string-to-number (aref cur-time 0))))) |
| 230 | (exp-norm (+ (* 360 (string-to-int (aref exp-time 2))) | 232 | (exp-norm (+ (* 360 (string-to-number (aref exp-time 2))) |
| 231 | (* 60 (string-to-int (aref exp-time 1))) | 233 | (* 60 (string-to-number (aref exp-time 1))) |
| 232 | (* 1 (string-to-int (aref exp-time 0)))))) | 234 | (* 1 (string-to-number (aref exp-time 0)))))) |
| 233 | (> (- cur-norm exp-norm) 1)))))) | 235 | (> (- cur-norm exp-norm) 1)))))) |
| 234 | 236 | ||
| 235 | ;;;###autoload | 237 | ;;;###autoload |
diff --git a/lisp/url/url-dav.el b/lisp/url/url-dav.el index d6c5ffffa43..a0f1ae1ebe7 100644 --- a/lisp/url/url-dav.el +++ b/lisp/url/url-dav.el | |||
| @@ -121,17 +121,17 @@ | |||
| 121 | 121 | ||
| 122 | ;; Nobody else handles iso8601 correctly, lets do it ourselves. | 122 | ;; Nobody else handles iso8601 correctly, lets do it ourselves. |
| 123 | (when (string-match date-re date-string re-start) | 123 | (when (string-match date-re date-string re-start) |
| 124 | (setq year (string-to-int (match-string 1 date-string)) | 124 | (setq year (string-to-number (match-string 1 date-string)) |
| 125 | month (string-to-int (match-string 2 date-string)) | 125 | month (string-to-number (match-string 2 date-string)) |
| 126 | day (string-to-int (match-string 3 date-string)) | 126 | day (string-to-number (match-string 3 date-string)) |
| 127 | re-start (match-end 0)) | 127 | re-start (match-end 0)) |
| 128 | (when (string-match time-re date-string re-start) | 128 | (when (string-match time-re date-string re-start) |
| 129 | (setq hour (string-to-int (match-string 1 date-string)) | 129 | (setq hour (string-to-number (match-string 1 date-string)) |
| 130 | minute (string-to-int (match-string 2 date-string)) | 130 | minute (string-to-number (match-string 2 date-string)) |
| 131 | seconds (string-to-int (match-string 3 date-string)) | 131 | seconds (string-to-number (match-string 3 date-string)) |
| 132 | fractional-seconds (string-to-int (or | 132 | fractional-seconds (string-to-number (or |
| 133 | (match-string 4 date-string) | 133 | (match-string 4 date-string) |
| 134 | "0")) | 134 | "0")) |
| 135 | re-start (match-end 0)) | 135 | re-start (match-end 0)) |
| 136 | (when (string-match tz-re date-string re-start) | 136 | (when (string-match tz-re date-string re-start) |
| 137 | (setq tz (match-string 1 date-string))) | 137 | (setq tz (match-string 1 date-string))) |
| @@ -149,7 +149,7 @@ | |||
| 149 | time)) | 149 | time)) |
| 150 | 150 | ||
| 151 | (defun url-dav-process-boolean-property (node) | 151 | (defun url-dav-process-boolean-property (node) |
| 152 | (/= 0 (string-to-int (url-dav-node-text node)))) | 152 | (/= 0 (string-to-number (url-dav-node-text node)))) |
| 153 | 153 | ||
| 154 | (defun url-dav-process-uri-property (node) | 154 | (defun url-dav-process-uri-property (node) |
| 155 | ;; Returns a parsed representation of the URL... | 155 | ;; Returns a parsed representation of the URL... |
| @@ -318,7 +318,7 @@ | |||
| 318 | ;; only care about the numeric status code. | 318 | ;; only care about the numeric status code. |
| 319 | (let ((status (url-dav-node-text node))) | 319 | (let ((status (url-dav-node-text node))) |
| 320 | (if (string-match "\\`[ \r\t\n]*HTTP/[0-9.]+ \\([0-9]+\\)" status) | 320 | (if (string-match "\\`[ \r\t\n]*HTTP/[0-9.]+ \\([0-9]+\\)" status) |
| 321 | (string-to-int (match-string 1 status)) | 321 | (string-to-number (match-string 1 status)) |
| 322 | 500))) | 322 | 500))) |
| 323 | 323 | ||
| 324 | (defun url-dav-process-DAV:propstat (node) | 324 | (defun url-dav-process-DAV:propstat (node) |
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 872ea22ce05..16d51a0258c 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -827,10 +827,10 @@ the end of the document." | |||
| 827 | 'text-cursor | 827 | 'text-cursor |
| 828 | 'cursor) | 828 | 'cursor) |
| 829 | 'invisible t)) | 829 | 'invisible t)) |
| 830 | (setq url-http-chunked-length (string-to-int (buffer-substring | 830 | (setq url-http-chunked-length (string-to-number (buffer-substring |
| 831 | (match-beginning 1) | 831 | (match-beginning 1) |
| 832 | (match-end 1)) | 832 | (match-end 1)) |
| 833 | 16) | 833 | 16) |
| 834 | url-http-chunked-counter (1+ url-http-chunked-counter) | 834 | url-http-chunked-counter (1+ url-http-chunked-counter) |
| 835 | url-http-chunked-start (set-marker | 835 | url-http-chunked-start (set-marker |
| 836 | (or url-http-chunked-start | 836 | (or url-http-chunked-start |
| @@ -904,7 +904,7 @@ the end of the document." | |||
| 904 | url-http-content-type (mail-fetch-field "content-type")) | 904 | url-http-content-type (mail-fetch-field "content-type")) |
| 905 | (if (mail-fetch-field "content-length") | 905 | (if (mail-fetch-field "content-length") |
| 906 | (setq url-http-content-length | 906 | (setq url-http-content-length |
| 907 | (string-to-int (mail-fetch-field "content-length")))) | 907 | (string-to-number (mail-fetch-field "content-length")))) |
| 908 | (widen))) | 908 | (widen))) |
| 909 | (if url-http-transfer-encoding | 909 | (if url-http-transfer-encoding |
| 910 | (setq url-http-transfer-encoding | 910 | (setq url-http-transfer-encoding |
diff --git a/lisp/url/url-ns.el b/lisp/url/url-ns.el index fe181422e4f..1dcb1f85f27 100644 --- a/lisp/url/url-ns.el +++ b/lisp/url/url-ns.el | |||
| @@ -51,9 +51,9 @@ | |||
| 51 | (if (or (/= (length netc) (length ipc)) | 51 | (if (or (/= (length netc) (length ipc)) |
| 52 | (/= (length ipc) (length maskc))) | 52 | (/= (length ipc) (length maskc))) |
| 53 | nil | 53 | nil |
| 54 | (setq netc (mapcar 'string-to-int netc) | 54 | (setq netc (mapcar 'string-to-number netc) |
| 55 | ipc (mapcar 'string-to-int ipc) | 55 | ipc (mapcar 'string-to-number ipc) |
| 56 | maskc (mapcar 'string-to-int maskc)) | 56 | maskc (mapcar 'string-to-number maskc)) |
| 57 | (and | 57 | (and |
| 58 | (= (logand (nth 0 netc) (nth 0 maskc)) | 58 | (= (logand (nth 0 netc) (nth 0 maskc)) |
| 59 | (logand (nth 0 ipc) (nth 0 maskc))) | 59 | (logand (nth 0 ipc) (nth 0 maskc))) |
diff --git a/lisp/url/url-parse.el b/lisp/url/url-parse.el index 97348ab5db2..5b5250ab31f 100644 --- a/lisp/url/url-parse.el +++ b/lisp/url/url-parse.el | |||
| @@ -167,7 +167,7 @@ Format is: | |||
| 167 | (setq pass (match-string 2 user) | 167 | (setq pass (match-string 2 user) |
| 168 | user (match-string 1 user))) | 168 | user (match-string 1 user))) |
| 169 | (if (string-match ":\\([0-9+]+\\)" host) | 169 | (if (string-match ":\\([0-9+]+\\)" host) |
| 170 | (setq port (string-to-int (match-string 1 host)) | 170 | (setq port (string-to-number (match-string 1 host)) |
| 171 | host (substring host 0 (match-beginning 0)))) | 171 | host (substring host 0 (match-beginning 0)))) |
| 172 | (if (string-match ":$" host) | 172 | (if (string-match ":$" host) |
| 173 | (setq host (substring host 0 (match-beginning 0)))) | 173 | (setq host (substring host 0 (match-beginning 0)))) |
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index 1d0bfcf0c48..b796d695461 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el | |||
| @@ -196,7 +196,7 @@ Will not do anything if `url-show-status' is nil." | |||
| 196 | (year nil) | 196 | (year nil) |
| 197 | (month (car | 197 | (month (car |
| 198 | (rassoc | 198 | (rassoc |
| 199 | (string-to-int (aref parsed 1)) url-monthabbrev-alist))) | 199 | (string-to-number (aref parsed 1)) url-monthabbrev-alist))) |
| 200 | ) | 200 | ) |
| 201 | (setq day (or (car-safe (rassoc day url-weekday-alist)) | 201 | (setq day (or (car-safe (rassoc day url-weekday-alist)) |
| 202 | (substring raw 0 3)) | 202 | (substring raw 0 3)) |
diff --git a/lisp/vms-patch.el b/lisp/vms-patch.el index 48174f41237..60033dc7f20 100644 --- a/lisp/vms-patch.el +++ b/lisp/vms-patch.el | |||
| @@ -93,7 +93,7 @@ If the logical name `EMACS_FILE_NAME' is defined, `find-file' that file." | |||
| 93 | (if (not args) | 93 | (if (not args) |
| 94 | (if file | 94 | (if file |
| 95 | (progn (find-file file) | 95 | (progn (find-file file) |
| 96 | (if line (goto-line (string-to-int line))))) | 96 | (if line (goto-line (string-to-number line))))) |
| 97 | (cd (file-name-directory file)) | 97 | (cd (file-name-directory file)) |
| 98 | (vms-command-line-again)))) | 98 | (vms-command-line-again)))) |
| 99 | 99 | ||
diff --git a/lisp/w32-vars.el b/lisp/w32-vars.el index 6a3ff36108e..1877e159ae7 100644 --- a/lisp/w32-vars.el +++ b/lisp/w32-vars.el | |||
| @@ -146,7 +146,8 @@ menu if the variable `w32-use-w32-font-dialog' is nil." | |||
| 146 | (const :tag "Seperator" ("")) | 146 | (const :tag "Seperator" ("")) |
| 147 | (list :tag "Font Entry" | 147 | (list :tag "Font Entry" |
| 148 | (string :tag "Menu text") | 148 | (string :tag "Menu text") |
| 149 | (string :tag "Font")))))))) | 149 | (string :tag "Font"))))))) |
| 150 | :group 'w32) | ||
| 150 | 151 | ||
| 151 | (defcustom x-select-enable-clipboard t | 152 | (defcustom x-select-enable-clipboard t |
| 152 | "*Non-nil means cutting and pasting uses the clipboard. | 153 | "*Non-nil means cutting and pasting uses the clipboard. |
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 2563f22d36b..ad16fe264f0 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,28 @@ | |||
| 1 | 2005-05-19 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * keymaps.texi (Active Keymaps): Add anchor. | ||
| 4 | |||
| 5 | * modes.texi (Hooks): Delete confusing and unnecessary sentence. | ||
| 6 | (Major Mode Conventions): Refer to `Auto Major Mode' in more | ||
| 7 | appropriate place. | ||
| 8 | (Derived Modes): Small clarifications. | ||
| 9 | (Minor Mode Conventions, Keymaps and Minor Modes): Replace | ||
| 10 | references to nodes with references to anchors. | ||
| 11 | (Mode Line Data): Warn that `(:eval FORM)' should not load any files. | ||
| 12 | Clarify description of lists whose first element is an integer. | ||
| 13 | (Mode Line Variables): Add anchor. | ||
| 14 | (%-Constructs): Clarify description of integer after %. | ||
| 15 | (Emulating Mode Line): Describe nil value for FACE. | ||
| 16 | |||
| 17 | 2005-05-18 Luc Teirlinck <teirllm@auburn.edu> | ||
| 18 | |||
| 19 | * modes.texi (Derived Modes): Correct references to non-existing | ||
| 20 | variable standard-syntax-table. | ||
| 21 | |||
| 22 | 2005-05-17 Lute Kamstra <lute@gnu.org> | ||
| 23 | |||
| 24 | * modes.texi (Defining Minor Modes): Mention the mode hook. | ||
| 25 | |||
| 1 | 2005-05-15 Kim F. Storm <storm@cua.dk> | 26 | 2005-05-15 Kim F. Storm <storm@cua.dk> |
| 2 | 27 | ||
| 3 | * processes.texi (Network): Remove open-network-stream-nowait. | 28 | * processes.texi (Network): Remove open-network-stream-nowait. |
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi index e1784dd10a0..63832ced1b4 100644 --- a/lispref/keymaps.texi +++ b/lispref/keymaps.texi | |||
| @@ -666,6 +666,7 @@ commands use this function. | |||
| 666 | 666 | ||
| 667 | @c Emacs 19 feature | 667 | @c Emacs 19 feature |
| 668 | @defvar minor-mode-map-alist | 668 | @defvar minor-mode-map-alist |
| 669 | @anchor{Definition of minor-mode-map-alist} | ||
| 669 | This variable is an alist describing keymaps that may or may not be | 670 | This variable is an alist describing keymaps that may or may not be |
| 670 | active according to the values of certain variables. Its elements look | 671 | active according to the values of certain variables. Its elements look |
| 671 | like this: | 672 | like this: |
diff --git a/lispref/modes.texi b/lispref/modes.texi index 9af56fd9d37..1b30a23e128 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi | |||
| @@ -88,8 +88,7 @@ in Lisp Interaction mode: | |||
| 88 | @end example | 88 | @end example |
| 89 | 89 | ||
| 90 | At the appropriate time, Emacs uses the @code{run-hooks} function to | 90 | At the appropriate time, Emacs uses the @code{run-hooks} function to |
| 91 | run particular hooks. This function calls the hook functions that have | 91 | run particular hooks. |
| 92 | been added with @code{add-hook}. | ||
| 93 | 92 | ||
| 94 | @defun run-hooks &rest hookvars | 93 | @defun run-hooks &rest hookvars |
| 95 | This function takes one or more normal hook variable names as | 94 | This function takes one or more normal hook variable names as |
| @@ -470,13 +469,13 @@ and Buffer List use this feature. | |||
| 470 | @item | 469 | @item |
| 471 | If you want to make the new mode the default for files with certain | 470 | If you want to make the new mode the default for files with certain |
| 472 | recognizable names, add an element to @code{auto-mode-alist} to select | 471 | recognizable names, add an element to @code{auto-mode-alist} to select |
| 473 | the mode for those file names. If you define the mode command to | 472 | the mode for those file names (@pxref{Auto Major Mode}). If you |
| 474 | autoload, you should add this element in the same file that calls | 473 | define the mode command to autoload, you should add this element in |
| 475 | @code{autoload}. If you use an autoload cookie for the mode command, | 474 | the same file that calls @code{autoload}. If you use an autoload |
| 476 | you can also use an autoload cookie for the form that adds the element | 475 | cookie for the mode command, you can also use an autoload cookie for |
| 477 | (@pxref{autoload cookie}). If you do not autoload the mode command, | 476 | the form that adds the element (@pxref{autoload cookie}). If you do |
| 478 | it is sufficient to add the element in the file that contains the mode | 477 | not autoload the mode command, it is sufficient to add the element in |
| 479 | definition. @xref{Auto Major Mode}. | 478 | the file that contains the mode definition. |
| 480 | 479 | ||
| 481 | @item | 480 | @item |
| 482 | In the comments that document the file, you should provide a sample | 481 | In the comments that document the file, you should provide a sample |
| @@ -1001,7 +1000,7 @@ The new mode has its own syntax table, kept in the variable | |||
| 1001 | @code{:syntax-table} keyword (see below). @code{define-derived-mode} | 1000 | @code{:syntax-table} keyword (see below). @code{define-derived-mode} |
| 1002 | makes the parent mode's syntax-table the parent of | 1001 | makes the parent mode's syntax-table the parent of |
| 1003 | @code{@var{variant}-syntax-table}, unless the latter is already set | 1002 | @code{@var{variant}-syntax-table}, unless the latter is already set |
| 1004 | and already has a parent different from @code{standard-syntax-table}. | 1003 | and already has a parent different from the standard syntax table. |
| 1005 | 1004 | ||
| 1006 | @item | 1005 | @item |
| 1007 | The new mode has its own abbrev table, kept in the variable | 1006 | The new mode has its own abbrev table, kept in the variable |
| @@ -1011,13 +1010,13 @@ The new mode has its own abbrev table, kept in the variable | |||
| 1011 | @item | 1010 | @item |
| 1012 | The new mode has its own mode hook, @code{@var{variant}-hook}. It | 1011 | The new mode has its own mode hook, @code{@var{variant}-hook}. It |
| 1013 | runs this hook, after running the hooks of its ancestor modes, with | 1012 | runs this hook, after running the hooks of its ancestor modes, with |
| 1014 | @code{run-mode-hooks} (@pxref{Mode Hooks}). | 1013 | @code{run-mode-hooks}, as the last thing it does. @xref{Mode Hooks}. |
| 1015 | @end itemize | 1014 | @end itemize |
| 1016 | 1015 | ||
| 1017 | In addition, you can specify how to override other aspects of | 1016 | In addition, you can specify how to override other aspects of |
| 1018 | @var{parent} with @var{body}. The command @var{variant} | 1017 | @var{parent} with @var{body}. The command @var{variant} |
| 1019 | evaluates the forms in @var{body} after setting up all its usual | 1018 | evaluates the forms in @var{body} after setting up all its usual |
| 1020 | overrides, just before running @code{@var{variant}-hook}. | 1019 | overrides, just before running the mode hooks. |
| 1021 | 1020 | ||
| 1022 | You can also specify @code{nil} for @var{parent}. This gives the new | 1021 | You can also specify @code{nil} for @var{parent}. This gives the new |
| 1023 | mode no parent. Then @code{define-derived-mode} behaves as described | 1022 | mode no parent. Then @code{define-derived-mode} behaves as described |
| @@ -1039,7 +1038,7 @@ If this is specified, it is the customization group for this mode. | |||
| 1039 | @item :syntax-table | 1038 | @item :syntax-table |
| 1040 | You can use this to explicitly specify a syntax table for the new | 1039 | You can use this to explicitly specify a syntax table for the new |
| 1041 | mode. If you specify a @code{nil} value, the new mode uses the same | 1040 | mode. If you specify a @code{nil} value, the new mode uses the same |
| 1042 | syntax table as @var{parent}, or @code{standard-syntax-table} if | 1041 | syntax table as @var{parent}, or the standard syntax table if |
| 1043 | @var{parent} is @code{nil}. (Note that this does @emph{not} follow | 1042 | @var{parent} is @code{nil}. (Note that this does @emph{not} follow |
| 1044 | the convention used for non-keyword arguments that a @code{nil} value | 1043 | the convention used for non-keyword arguments that a @code{nil} value |
| 1045 | is equivalent with not specifying the argument.) | 1044 | is equivalent with not specifying the argument.) |
| @@ -1262,8 +1261,9 @@ enable or disable the minor mode based on the raw prefix argument value. | |||
| 1262 | 1261 | ||
| 1263 | @item | 1262 | @item |
| 1264 | Add an element to @code{minor-mode-alist} for each minor mode | 1263 | Add an element to @code{minor-mode-alist} for each minor mode |
| 1265 | (@pxref{Mode Line Variables}), if you want to indicate the minor mode in | 1264 | (@pxref{Definition of minor-mode-alist}), if you want to indicate the |
| 1266 | the mode line. This element should be a list of the following form: | 1265 | minor mode in the mode line. This element should be a list of the |
| 1266 | following form: | ||
| 1267 | 1267 | ||
| 1268 | @smallexample | 1268 | @smallexample |
| 1269 | (@var{mode-variable} @var{string}) | 1269 | (@var{mode-variable} @var{string}) |
| @@ -1305,7 +1305,7 @@ should also specify a @code{:set} method which enables the mode by | |||
| 1305 | invoking the mode command. Note in the variable's documentation string that | 1305 | invoking the mode command. Note in the variable's documentation string that |
| 1306 | setting the variable other than via Custom may not take effect. | 1306 | setting the variable other than via Custom may not take effect. |
| 1307 | 1307 | ||
| 1308 | Also mark the definition with an autoload cookie (@pxref{Autoload}), | 1308 | Also mark the definition with an autoload cookie (@pxref{autoload cookie}), |
| 1309 | and specify a @code{:require} so that customizing the variable will load | 1309 | and specify a @code{:require} so that customizing the variable will load |
| 1310 | the library that defines the mode. This will copy suitable definitions | 1310 | the library that defines the mode. This will copy suitable definitions |
| 1311 | into @file{loaddefs.el} so that users can use @code{customize-option} to | 1311 | into @file{loaddefs.el} so that users can use @code{customize-option} to |
| @@ -1334,7 +1334,7 @@ use either \\[customize] or the function `msb-mode'." | |||
| 1334 | 1334 | ||
| 1335 | Each minor mode can have its own keymap, which is active when the mode | 1335 | Each minor mode can have its own keymap, which is active when the mode |
| 1336 | is enabled. To set up a keymap for a minor mode, add an element to the | 1336 | is enabled. To set up a keymap for a minor mode, add an element to the |
| 1337 | alist @code{minor-mode-map-alist}. @xref{Active Keymaps}. | 1337 | alist @code{minor-mode-map-alist}. @xref{Definition of minor-mode-map-alist}. |
| 1338 | 1338 | ||
| 1339 | @cindex @code{self-insert-command}, minor modes | 1339 | @cindex @code{self-insert-command}, minor modes |
| 1340 | One use of minor mode keymaps is to modify the behavior of certain | 1340 | One use of minor mode keymaps is to modify the behavior of certain |
| @@ -1408,9 +1408,10 @@ This is equivalent to specifying @var{keymap} positionally. | |||
| 1408 | Any other keyword arguments are passed passed directly to the | 1408 | Any other keyword arguments are passed passed directly to the |
| 1409 | @code{defcustom} generated for the variable @var{mode}. | 1409 | @code{defcustom} generated for the variable @var{mode}. |
| 1410 | 1410 | ||
| 1411 | The command named @var{mode} finishes by executing the @var{body} forms, | 1411 | The command named @var{mode} first performs the standard actions such |
| 1412 | if any, after it has performed the standard actions such as setting | 1412 | as setting the variable named @var{mode} and then executes the |
| 1413 | the variable named @var{mode}. | 1413 | @var{body} forms, if any. It finishes by running the mode hook |
| 1414 | variable @code{@var{mode}-hook}. | ||
| 1414 | @end defmac | 1415 | @end defmac |
| 1415 | 1416 | ||
| 1416 | @findex easy-mmode-define-minor-mode | 1417 | @findex easy-mmode-define-minor-mode |
| @@ -1627,7 +1628,9 @@ common form of mode-line construct. | |||
| 1627 | 1628 | ||
| 1628 | @item (:eval @var{form}) | 1629 | @item (:eval @var{form}) |
| 1629 | A list whose first element is the symbol @code{:eval} says to evaluate | 1630 | A list whose first element is the symbol @code{:eval} says to evaluate |
| 1630 | @var{form}, and use the result as a string to display. | 1631 | @var{form}, and use the result as a string to display. Make sure this |
| 1632 | evaluation cannot load any files, as doing so could cause infinite | ||
| 1633 | recursion. | ||
| 1631 | 1634 | ||
| 1632 | @item (:propertize @var{elt} @var{props}@dots{}) | 1635 | @item (:propertize @var{elt} @var{props}@dots{}) |
| 1633 | A list whose first element is the symbol @code{:propertize} says to | 1636 | A list whose first element is the symbol @code{:propertize} says to |
| @@ -1649,9 +1652,10 @@ the value of @var{symbol} is @code{nil}. | |||
| 1649 | A list whose first element is an integer specifies truncation or | 1652 | A list whose first element is an integer specifies truncation or |
| 1650 | padding of the results of @var{rest}. The remaining elements | 1653 | padding of the results of @var{rest}. The remaining elements |
| 1651 | @var{rest} are processed recursively as mode-line constructs and | 1654 | @var{rest} are processed recursively as mode-line constructs and |
| 1652 | concatenated together. Then the result is space filled (if | 1655 | concatenated together. When @var{width} is positive, the result is |
| 1653 | @var{width} is positive) or truncated (to @minus{}@var{width} columns, | 1656 | space filled on the right if its width is less than @var{width}. When |
| 1654 | if @var{width} is negative) on the right. | 1657 | @var{width} is negative, the result is truncated on the right to |
| 1658 | @minus{}@var{width} columns if its width exceeds @minus{}@var{width}. | ||
| 1655 | 1659 | ||
| 1656 | For example, the usual way to show what percentage of a buffer is above | 1660 | For example, the usual way to show what percentage of a buffer is above |
| 1657 | the top of the window is to use a list like this: @code{(-3 "%p")}. | 1661 | the top of the window is to use a list like this: @code{(-3 "%p")}. |
| @@ -1817,6 +1821,7 @@ is @code{nil}. | |||
| 1817 | @end defvar | 1821 | @end defvar |
| 1818 | 1822 | ||
| 1819 | @defvar minor-mode-alist | 1823 | @defvar minor-mode-alist |
| 1824 | @anchor{Definition of minor-mode-alist} | ||
| 1820 | This variable holds an association list whose elements specify how the | 1825 | This variable holds an association list whose elements specify how the |
| 1821 | mode line should indicate that a minor mode is active. Each element of | 1826 | mode line should indicate that a minor mode is active. Each element of |
| 1822 | the @code{minor-mode-alist} should be a two-element list: | 1827 | the @code{minor-mode-alist} should be a two-element list: |
| @@ -1888,7 +1893,8 @@ specifies addition of text properties. | |||
| 1888 | 1893 | ||
| 1889 | The following table lists the recognized @code{%}-constructs and what | 1894 | The following table lists the recognized @code{%}-constructs and what |
| 1890 | they mean. In any construct except @samp{%%}, you can add a decimal | 1895 | they mean. In any construct except @samp{%%}, you can add a decimal |
| 1891 | integer after the @samp{%} to specify how many characters to display. | 1896 | integer after the @samp{%} to specify a minimum field width. If the |
| 1897 | width is less, the field is padded with spaces to the right. | ||
| 1892 | 1898 | ||
| 1893 | @table @code | 1899 | @table @code |
| 1894 | @item %b | 1900 | @item %b |
| @@ -1993,7 +1999,7 @@ The value of @code{global-mode-string}. Currently, only | |||
| 1993 | 1999 | ||
| 1994 | Certain text properties are meaningful in the | 2000 | Certain text properties are meaningful in the |
| 1995 | mode line. The @code{face} property affects the appearance of text; the | 2001 | mode line. The @code{face} property affects the appearance of text; the |
| 1996 | @code{help-echo} property associate help strings with the text, and | 2002 | @code{help-echo} property associates help strings with the text, and |
| 1997 | @code{local-map} can make the text mouse-sensitive. | 2003 | @code{local-map} can make the text mouse-sensitive. |
| 1998 | 2004 | ||
| 1999 | There are four ways to specify text properties for text in the mode | 2005 | There are four ways to specify text properties for text in the mode |
| @@ -2061,7 +2067,7 @@ It is normally @code{nil}, so that ordinary buffers have no header line. | |||
| 2061 | 2067 | ||
| 2062 | You can use the function @code{format-mode-line} to compute | 2068 | You can use the function @code{format-mode-line} to compute |
| 2063 | the text that would appear in a mode line or header line | 2069 | the text that would appear in a mode line or header line |
| 2064 | based on certain mode-line specification. | 2070 | based on a certain mode-line specification. |
| 2065 | 2071 | ||
| 2066 | @defun format-mode-line format &optional face window buffer | 2072 | @defun format-mode-line format &optional face window buffer |
| 2067 | This function formats a line of text according to @var{format} as if | 2073 | This function formats a line of text according to @var{format} as if |
| @@ -2077,7 +2083,8 @@ faces, keymaps, etc., that the mode line would have. And any character | |||
| 2077 | for which no @code{face} property is specified gets a default | 2083 | for which no @code{face} property is specified gets a default |
| 2078 | value which is usually @var{face}. (If @var{face} is @code{t}, | 2084 | value which is usually @var{face}. (If @var{face} is @code{t}, |
| 2079 | that stands for either @code{mode-line} if @var{window} is selected, | 2085 | that stands for either @code{mode-line} if @var{window} is selected, |
| 2080 | otherwise @code{mode-line-inactive}.) | 2086 | otherwise @code{mode-line-inactive}. If @var{face} is @code{nil} or |
| 2087 | omitted, that stands for no face property.) | ||
| 2081 | 2088 | ||
| 2082 | However, if @var{face} is an integer, the value has no text properties. | 2089 | However, if @var{face} is an integer, the value has no text properties. |
| 2083 | 2090 | ||
diff --git a/man/ChangeLog b/man/ChangeLog index dd79a20d412..acde7c5b491 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,34 @@ | |||
| 1 | 2005-05-18 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * buffers.texi (Select Buffer): Document `C-u M-g M-g'. | ||
| 4 | |||
| 5 | * basic.texi (Moving Point): Mention default for `goto-line'. | ||
| 6 | |||
| 7 | * programs.texi (Lisp Doc): Eldoc mode shows only the first line | ||
| 8 | of a variable's docstring. | ||
| 9 | |||
| 10 | 2005-05-18 Lute Kamstra <lute@gnu.org> | ||
| 11 | |||
| 12 | * maintaining.texi (Overview of Emerge): Add cross reference. | ||
| 13 | Remove duplication. | ||
| 14 | |||
| 15 | * emacs.texi (Top): Update to the current structure of the manual. | ||
| 16 | * misc.texi (Emacs Server): Add menu description. | ||
| 17 | * files.texi (Saving): Fix menu. | ||
| 18 | * custom.texi (Customization): Fix menu. | ||
| 19 | * mule.texi (International): Fix menu. | ||
| 20 | * kmacro.texi (Keyboard Macros): Fix menu. | ||
| 21 | |||
| 22 | 2005-05-16 Luc Teirlinck <teirllm@auburn.edu> | ||
| 23 | |||
| 24 | * display.texi: Various minor changes. | ||
| 25 | (Faces): Delete text that is repeated in the next section. | ||
| 26 | |||
| 27 | 2005-05-16 Nick Roberts <nickrob@snap.net.nz> | ||
| 28 | |||
| 29 | * building.texi (Debugger Operation): Mention GUD tooltips are | ||
| 30 | disabled with GDB in text command mode. | ||
| 31 | |||
| 1 | 2005-05-16 Jay Belanger <belanger@truman.edu> | 32 | 2005-05-16 Jay Belanger <belanger@truman.edu> |
| 2 | 33 | ||
| 3 | * calc.texi (Storing Variables): Mention `calc-copy-special-constant'. | 34 | * calc.texi (Storing Variables): Mention `calc-copy-special-constant'. |
diff --git a/man/basic.texi b/man/basic.texi index f45f87335fb..d94e52b0112 100644 --- a/man/basic.texi +++ b/man/basic.texi | |||
| @@ -240,8 +240,10 @@ Position 1 is the beginning of the buffer. | |||
| 240 | @item M-g M-g | 240 | @item M-g M-g |
| 241 | @itemx M-g g | 241 | @itemx M-g g |
| 242 | @itemx M-x goto-line | 242 | @itemx M-x goto-line |
| 243 | Read a number @var{n} and move point to line number @var{n}. Line 1 | 243 | Read a number @var{n} and move point to the beginning of line number |
| 244 | is the beginning of the buffer. | 244 | @var{n}. Line 1 is the beginning of the buffer. If point is on or |
| 245 | just after a number, then that is the default for @var{n}, if you just | ||
| 246 | press @key{RET} with an empty minibuffer. | ||
| 245 | @item C-x C-n | 247 | @item C-x C-n |
| 246 | @findex set-goal-column | 248 | @findex set-goal-column |
| 247 | @kindex C-x C-n | 249 | @kindex C-x C-n |
diff --git a/man/buffers.texi b/man/buffers.texi index 97234966b4b..694c7780854 100644 --- a/man/buffers.texi +++ b/man/buffers.texi | |||
| @@ -77,6 +77,10 @@ Similar, but select @var{buffer} in another window | |||
| 77 | @item C-x 5 b @var{buffer} @key{RET} | 77 | @item C-x 5 b @var{buffer} @key{RET} |
| 78 | Similar, but select @var{buffer} in a separate frame | 78 | Similar, but select @var{buffer} in a separate frame |
| 79 | (@code{switch-to-buffer-other-frame}). | 79 | (@code{switch-to-buffer-other-frame}). |
| 80 | @item C-u M-g M-g | ||
| 81 | @itemx C-u M-g g | ||
| 82 | Read a number @var{n} and move to line @var{n} in the most recently | ||
| 83 | selected buffer other than the current buffer. | ||
| 80 | @end table | 84 | @end table |
| 81 | 85 | ||
| 82 | @kindex C-x b | 86 | @kindex C-x b |
| @@ -139,6 +143,19 @@ Modes}). | |||
| 139 | can also be used to switch to an existing file-visiting buffer. | 143 | can also be used to switch to an existing file-visiting buffer. |
| 140 | @xref{Visiting}. | 144 | @xref{Visiting}. |
| 141 | 145 | ||
| 146 | @kbd{C-u M-g M-g}, that is @code{goto-line} with a prefix argument | ||
| 147 | of just @kbd{C-u}, reads a number @var{n} using the minibuffer, | ||
| 148 | selects the most recently selected buffer other than the current | ||
| 149 | buffer in another window, and then moves point to the beginning of | ||
| 150 | line number @var{n} in that buffer. This is mainly useful in a buffer | ||
| 151 | that refers to line numbers in another buffer: if point is on or just | ||
| 152 | after a number, @code{goto-line} uses that number as the default for | ||
| 153 | @var{n}. Note that prefix arguments other than just @kbd{C-u} behave | ||
| 154 | differently. @kbd{C-u 4 M-g M-g} goes to line 4 in the @emph{current} | ||
| 155 | buffer, without reading a number from the minibuffer. (Remember that | ||
| 156 | @kbd{M-g M-g} without prefix argument reads a number @var{n} and then | ||
| 157 | moves to line number @var{n} in the current buffer.) | ||
| 158 | |||
| 142 | Emacs uses buffer names that start with a space for internal purposes. | 159 | Emacs uses buffer names that start with a space for internal purposes. |
| 143 | It treats these buffers specially in minor ways---for example, by | 160 | It treats these buffers specially in minor ways---for example, by |
| 144 | default they do not record undo information. It is best to avoid using | 161 | default they do not record undo information. It is best to avoid using |
diff --git a/man/building.texi b/man/building.texi index b3cd8187ede..2182cccd8b9 100644 --- a/man/building.texi +++ b/man/building.texi | |||
| @@ -515,6 +515,11 @@ the list @code{gud-tooltip-modes}. If the variable | |||
| 515 | @code{gud-tooltip-echo-area} is non-@code{nil} then the variable's | 515 | @code{gud-tooltip-echo-area} is non-@code{nil} then the variable's |
| 516 | value is displayed in the echo area. | 516 | value is displayed in the echo area. |
| 517 | 517 | ||
| 518 | With GDB in text command mode (@pxref{GDB Graphical Interface}), | ||
| 519 | it is possible that use of GUD tooltips can cause a function to be | ||
| 520 | called with harmful side-effects. In this case, Emacs disables | ||
| 521 | gud-tooltip-mode. | ||
| 522 | |||
| 518 | @node Commands of GUD | 523 | @node Commands of GUD |
| 519 | @subsection Commands of GUD | 524 | @subsection Commands of GUD |
| 520 | 525 | ||
diff --git a/man/custom.texi b/man/custom.texi index 26c76c68562..ffded429c48 100644 --- a/man/custom.texi +++ b/man/custom.texi | |||
| @@ -27,19 +27,17 @@ replay sequences of keys. | |||
| 27 | @menu | 27 | @menu |
| 28 | * Minor Modes:: Each minor mode is one feature you can turn on | 28 | * Minor Modes:: Each minor mode is one feature you can turn on |
| 29 | independently of any others. | 29 | independently of any others. |
| 30 | * Easy Customization:: | 30 | * Easy Customization:: Convenient way to browse and change user options. |
| 31 | Convenient way to browse and change user options. | ||
| 32 | * Variables:: Many Emacs commands examine Emacs variables | 31 | * Variables:: Many Emacs commands examine Emacs variables |
| 33 | to decide what to do; by setting variables, | 32 | to decide what to do; by setting variables, |
| 34 | you can control their functioning. | 33 | you can control their functioning. |
| 35 | * Key Bindings:: The keymaps say what command each key runs. | 34 | * Key Bindings:: The keymaps say what command each key runs. |
| 36 | By changing them, you can "redefine keys". | 35 | By changing them, you can "redefine keys". |
| 37 | * Keyboard Translations:: | 36 | * Keyboard Translations:: If your keyboard passes an undesired code |
| 38 | If your keyboard passes an undesired code | 37 | for a key, you can tell Emacs to |
| 39 | for a key, you can tell Emacs to | 38 | substitute another code. |
| 40 | substitute another code. | ||
| 41 | * Syntax:: The syntax table controls how words and | 39 | * Syntax:: The syntax table controls how words and |
| 42 | expressions are parsed. | 40 | expressions are parsed. |
| 43 | * Init File:: How to write common customizations in the | 41 | * Init File:: How to write common customizations in the |
| 44 | @file{.emacs} file. | 42 | @file{.emacs} file. |
| 45 | @end menu | 43 | @end menu |
diff --git a/man/display.texi b/man/display.texi index c1b0c540fb5..b4e72edc9ca 100644 --- a/man/display.texi +++ b/man/display.texi | |||
| @@ -177,13 +177,9 @@ style of this face (@pxref{Face Customization}). @xref{Transient Mark}, | |||
| 177 | for more information about Transient Mark mode and activation and | 177 | for more information about Transient Mark mode and activation and |
| 178 | deactivation of the mark. | 178 | deactivation of the mark. |
| 179 | 179 | ||
| 180 | One easy way to use faces is to turn on Font Lock mode. This minor | 180 | One easy way to use faces is to turn on Font Lock mode. @xref{Font |
| 181 | mode, which is always local to a particular buffer, arranges to | 181 | Lock}, for more information about Font Lock mode and syntactic |
| 182 | choose faces according to the syntax of the text you are editing. It | 182 | highlighting. |
| 183 | can recognize comments and strings in most languages; in several | ||
| 184 | languages, it can also recognize and properly highlight various other | ||
| 185 | important constructs. @xref{Font Lock}, for more information about | ||
| 186 | Font Lock mode and syntactic highlighting. | ||
| 187 | 183 | ||
| 188 | You can print out the buffer with the highlighting that appears | 184 | You can print out the buffer with the highlighting that appears |
| 189 | on your screen using the command @code{ps-print-buffer-with-faces}. | 185 | on your screen using the command @code{ps-print-buffer-with-faces}. |
| @@ -206,11 +202,12 @@ specialized ways of assigning fonts for Font Lock mode. | |||
| 206 | 202 | ||
| 207 | @findex font-lock-mode | 203 | @findex font-lock-mode |
| 208 | @findex turn-on-font-lock | 204 | @findex turn-on-font-lock |
| 209 | The command @kbd{M-x font-lock-mode} turns Font Lock mode on or off | 205 | The command @kbd{M-x font-lock-mode} turns Font Lock mode on with |
| 210 | according to the argument, and toggles the mode when it has no argument. | 206 | positive argument, off with negative or zero argument, and toggles the |
| 211 | The function @code{turn-on-font-lock} unconditionally enables Font Lock | 207 | mode when it has no argument. The function @code{turn-on-font-lock} |
| 212 | mode. This is useful in mode-hook functions. For example, to enable | 208 | unconditionally enables Font Lock mode. This is useful in mode-hook |
| 213 | Font Lock mode whenever you edit a C file, you can do this: | 209 | functions. For example, to enable Font Lock mode whenever you edit a |
| 210 | C file, you can do this: | ||
| 214 | 211 | ||
| 215 | @example | 212 | @example |
| 216 | (add-hook 'c-mode-hook 'turn-on-font-lock) | 213 | (add-hook 'c-mode-hook 'turn-on-font-lock) |
| @@ -219,9 +216,9 @@ Font Lock mode whenever you edit a C file, you can do this: | |||
| 219 | @findex global-font-lock-mode | 216 | @findex global-font-lock-mode |
| 220 | @vindex global-font-lock-mode | 217 | @vindex global-font-lock-mode |
| 221 | To turn on Font Lock mode automatically in all modes which support | 218 | To turn on Font Lock mode automatically in all modes which support |
| 222 | it, customize the variable @code{global-font-lock-mode} or use the | 219 | it, customize the variable @code{global-font-lock-mode} using the |
| 223 | function @code{global-font-lock-mode} in your @file{.emacs} file, like | 220 | Customize interface (@pxref{Easy Customization}) or use the function |
| 224 | this: | 221 | @code{global-font-lock-mode} in your @file{.emacs} file, like this: |
| 225 | 222 | ||
| 226 | @example | 223 | @example |
| 227 | (global-font-lock-mode 1) | 224 | (global-font-lock-mode 1) |
| @@ -641,7 +638,7 @@ last, indicating that ``this is not the real end.'' | |||
| 641 | meaning ``there's more text on this line which is scrolled | 638 | meaning ``there's more text on this line which is scrolled |
| 642 | horizontally out of view;'' clicking the mouse on one of the arrows | 639 | horizontally out of view;'' clicking the mouse on one of the arrows |
| 643 | scrolls the display horizontally in the direction of the arrow. The | 640 | scrolls the display horizontally in the direction of the arrow. The |
| 644 | fringes also indicate other things such as empty lines, or where a | 641 | fringes can also indicate other things, such as empty lines, or where a |
| 645 | program you are debugging is executing (@pxref{Debuggers}). | 642 | program you are debugging is executing (@pxref{Debuggers}). |
| 646 | 643 | ||
| 647 | @findex set-fringe-style | 644 | @findex set-fringe-style |
| @@ -728,11 +725,12 @@ one large window. | |||
| 728 | of columns (you specify how many columns). You can use this to get an | 725 | of columns (you specify how many columns). You can use this to get an |
| 729 | overview of a part of a program. | 726 | overview of a part of a program. |
| 730 | 727 | ||
| 731 | To hide lines, type @kbd{C-x $} (@code{set-selective-display}) with a | 728 | To hide lines in the current buffer, type @kbd{C-x $} |
| 732 | numeric argument @var{n}. Then lines with at least @var{n} columns of | 729 | (@code{set-selective-display}) with a numeric argument @var{n}. Then |
| 733 | indentation disappear from the screen. The only indication of their | 730 | lines with at least @var{n} columns of indentation disappear from the |
| 734 | presence is that three dots (@samp{@dots{}}) appear at the end of each | 731 | screen. The only indication of their presence is that three dots |
| 735 | visible line that is followed by one or more hidden ones. | 732 | (@samp{@dots{}}) appear at the end of each visible line that is |
| 733 | followed by one or more hidden ones. | ||
| 736 | 734 | ||
| 737 | The commands @kbd{C-n} and @kbd{C-p} move across the hidden lines as | 735 | The commands @kbd{C-n} and @kbd{C-p} move across the hidden lines as |
| 738 | if they were not there. | 736 | if they were not there. |
diff --git a/man/emacs.texi b/man/emacs.texi index 120e2648526..c5b6cdf3246 100644 --- a/man/emacs.texi +++ b/man/emacs.texi | |||
| @@ -12,7 +12,7 @@ This is the @value{EDITION} edition of the @cite{GNU Emacs Manual}, | |||
| 12 | updated for Emacs version @value{EMACSVER}. | 12 | updated for Emacs version @value{EMACSVER}. |
| 13 | 13 | ||
| 14 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, | 14 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, |
| 15 | 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. | 15 | 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. |
| 16 | 16 | ||
| 17 | @quotation | 17 | @quotation |
| 18 | Permission is granted to copy, distribute and/or modify this document | 18 | Permission is granted to copy, distribute and/or modify this document |
| @@ -129,13 +129,10 @@ and Sending Mail and Registers and Minibuffer. | |||
| 129 | 129 | ||
| 130 | Indexes (nodes containing large menus) | 130 | Indexes (nodes containing large menus) |
| 131 | * Key Index:: An item for each standard Emacs key sequence. | 131 | * Key Index:: An item for each standard Emacs key sequence. |
| 132 | * Option Index:: An item for every command-line option. | ||
| 132 | * Command Index:: An item for each command name. | 133 | * Command Index:: An item for each command name. |
| 133 | * Variable Index:: An item for each documented variable. | 134 | * Variable Index:: An item for each documented variable. |
| 134 | * Concept Index:: An item for each concept. | 135 | * Concept Index:: An item for each concept. |
| 135 | @c This is last because @ifnottex leaves an empty line. | ||
| 136 | @ifnottex | ||
| 137 | * Option Index:: An item for every command-line option. | ||
| 138 | @end ifnottex | ||
| 139 | 136 | ||
| 140 | Important General Concepts | 137 | Important General Concepts |
| 141 | * Screen:: How to interpret what you see on the screen. | 138 | * Screen:: How to interpret what you see on the screen. |
| @@ -196,17 +193,14 @@ Advanced Features | |||
| 196 | * Emacs Server:: Using Emacs as an editing server for @code{mail}, etc. | 193 | * Emacs Server:: Using Emacs as an editing server for @code{mail}, etc. |
| 197 | * Hardcopy:: Printing buffers or regions. | 194 | * Hardcopy:: Printing buffers or regions. |
| 198 | * PostScript:: Printing buffers or regions as PostScript. | 195 | * PostScript:: Printing buffers or regions as PostScript. |
| 199 | * PostScript Variables:: | 196 | * PostScript Variables::Customizing the PostScript printing commands. |
| 200 | Customizing the PostScript printing commands. | ||
| 201 | * Sorting:: Sorting lines, paragraphs or pages within Emacs. | 197 | * Sorting:: Sorting lines, paragraphs or pages within Emacs. |
| 202 | * Narrowing:: Restricting display and editing to a portion | 198 | * Narrowing:: Restricting display and editing to a portion |
| 203 | of the buffer. | 199 | of the buffer. |
| 204 | * Two-Column:: Splitting apart columns to edit them | 200 | * Two-Column:: Splitting apart columns to edit them |
| 205 | in side-by-side windows. | 201 | in side-by-side windows. |
| 206 | * Editing Binary Files:: | 202 | * Editing Binary Files::Using Hexl mode to edit binary files. |
| 207 | Using Hexl mode to edit binary files. | 203 | * Saving Emacs Sessions:: Saving Emacs state from one session to the next. |
| 208 | * Saving Emacs Sessions:: | ||
| 209 | Saving Emacs state from one session to the next. | ||
| 210 | * Recursive Edit:: A command can allow you to do editing | 204 | * Recursive Edit:: A command can allow you to do editing |
| 211 | "within the command". This is called a | 205 | "within the command". This is called a |
| 212 | "recursive editing level". | 206 | "recursive editing level". |
| @@ -224,7 +218,6 @@ Recovery from Problems | |||
| 224 | * Contributing:: How to contribute improvements to Emacs. | 218 | * Contributing:: How to contribute improvements to Emacs. |
| 225 | * Service:: How to get help for your own Emacs needs. | 219 | * Service:: How to get help for your own Emacs needs. |
| 226 | 220 | ||
| 227 | |||
| 228 | Detailed Node Listing | 221 | Detailed Node Listing |
| 229 | --------------------- | 222 | --------------------- |
| 230 | 223 | ||
| @@ -245,12 +238,13 @@ Basic Editing Commands | |||
| 245 | change something. | 238 | change something. |
| 246 | * Erasing:: Deleting and killing text. | 239 | * Erasing:: Deleting and killing text. |
| 247 | * Undo:: Undoing recent changes in the text. | 240 | * Undo:: Undoing recent changes in the text. |
| 248 | * Files: Basic Files. Visiting, creating, and saving files. | 241 | * Basic Files:: Visiting, creating, and saving files. |
| 249 | * Help: Basic Help. Asking what a character does. | 242 | * Basic Help:: Asking what a character does. |
| 250 | * Blank Lines:: Commands to make or delete blank lines. | 243 | * Blank Lines:: Commands to make or delete blank lines. |
| 251 | * Continuation Lines:: Lines too wide for the screen. | 244 | * Continuation Lines:: Lines too wide for the screen. |
| 252 | * Position Info:: What page, line, row, or column is point on? | 245 | * Position Info:: What page, line, row, or column is point on? |
| 253 | * Arguments:: Numeric arguments for repeating a command. | 246 | * Arguments:: Numeric arguments for repeating a command. |
| 247 | * Repeating:: A short-cut for repeating the previous command. | ||
| 254 | 248 | ||
| 255 | The Minibuffer | 249 | The Minibuffer |
| 256 | 250 | ||
| @@ -268,19 +262,23 @@ Help | |||
| 268 | * Apropos:: Asking what pertains to a given topic. | 262 | * Apropos:: Asking what pertains to a given topic. |
| 269 | * Library Keywords:: Finding Lisp libraries by keywords (topics). | 263 | * Library Keywords:: Finding Lisp libraries by keywords (topics). |
| 270 | * Language Help:: Help relating to international language support. | 264 | * Language Help:: Help relating to international language support. |
| 265 | * Help Mode:: Special features of Help mode and Help buffers. | ||
| 271 | * Misc Help:: Other help commands. | 266 | * Misc Help:: Other help commands. |
| 267 | * Help Files:: Commands to display pre-written help files. | ||
| 268 | * Help Echo:: Help on active text and tooltips (`balloon help') | ||
| 272 | 269 | ||
| 273 | The Mark and the Region | 270 | The Mark and the Region |
| 274 | 271 | ||
| 275 | * Setting Mark:: Commands to set the mark. | 272 | * Setting Mark:: Commands to set the mark. |
| 276 | * Transient Mark:: How to make Emacs highlight the region-- | 273 | * Transient Mark:: How to make Emacs highlight the region-- |
| 277 | when there is one. | 274 | when there is one. |
| 275 | * Momentary Mark:: Enabling Transient Mark mode momentarily. | ||
| 278 | * Using Region:: Summary of ways to operate on contents of the region. | 276 | * Using Region:: Summary of ways to operate on contents of the region. |
| 279 | * Marking Objects:: Commands to put region around textual units. | 277 | * Marking Objects:: Commands to put region around textual units. |
| 280 | * Mark Ring:: Previous mark positions saved so you can go back there. | 278 | * Mark Ring:: Previous mark positions saved so you can go back there. |
| 281 | * Global Mark Ring:: Previous mark positions in various buffers. | 279 | * Global Mark Ring:: Previous mark positions in various buffers. |
| 282 | 280 | ||
| 283 | Killing | 281 | Killing and Moving Text |
| 284 | 282 | ||
| 285 | * Deletion:: Commands for deleting small amounts of text and | 283 | * Deletion:: Commands for deleting small amounts of text and |
| 286 | blank areas. | 284 | blank areas. |
| @@ -302,6 +300,7 @@ Registers | |||
| 302 | * RegText:: Saving text in registers. | 300 | * RegText:: Saving text in registers. |
| 303 | * RegRect:: Saving rectangles in registers. | 301 | * RegRect:: Saving rectangles in registers. |
| 304 | * RegConfig:: Saving window configurations in registers. | 302 | * RegConfig:: Saving window configurations in registers. |
| 303 | * RegNumbers:: Numbers in registers. | ||
| 305 | * RegFiles:: File names in registers. | 304 | * RegFiles:: File names in registers. |
| 306 | * Bookmarks:: Bookmarks are like registers, but persistent. | 305 | * Bookmarks:: Bookmarks are like registers, but persistent. |
| 307 | 306 | ||
| @@ -355,7 +354,8 @@ Keyboard Macros | |||
| 355 | * Keyboard Macro Query:: Making keyboard macros do different things each time. | 354 | * Keyboard Macro Query:: Making keyboard macros do different things each time. |
| 356 | * Save Keyboard Macro:: Giving keyboard macros names; saving them in files. | 355 | * Save Keyboard Macro:: Giving keyboard macros names; saving them in files. |
| 357 | * Edit Keyboard Macro:: Editing keyboard macros. | 356 | * Edit Keyboard Macro:: Editing keyboard macros. |
| 358 | * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard macro. | 357 | * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard |
| 358 | macro. | ||
| 359 | 359 | ||
| 360 | File Handling | 360 | File Handling |
| 361 | 361 | ||
| @@ -382,8 +382,7 @@ Saving Files | |||
| 382 | * Backup:: How Emacs saves the old version of your file. | 382 | * Backup:: How Emacs saves the old version of your file. |
| 383 | * Interlocking:: How Emacs protects against simultaneous editing | 383 | * Interlocking:: How Emacs protects against simultaneous editing |
| 384 | of one file by two users. | 384 | of one file by two users. |
| 385 | * Shadowing: File Shadowing. | 385 | * File Shadowing:: Copying files to "shadows" automatically. |
| 386 | Copying files to "shadows" automatically. | ||
| 387 | * Time Stamps:: Emacs can update time stamps on saved files. | 386 | * Time Stamps:: Emacs can update time stamps on saved files. |
| 388 | 387 | ||
| 389 | Version Control | 388 | Version Control |
| @@ -392,7 +391,7 @@ Version Control | |||
| 392 | * VC Mode Line:: How the mode line shows version control status. | 391 | * VC Mode Line:: How the mode line shows version control status. |
| 393 | * Basic VC Editing:: How to edit a file under version control. | 392 | * Basic VC Editing:: How to edit a file under version control. |
| 394 | * Old Versions:: Examining and comparing old versions. | 393 | * Old Versions:: Examining and comparing old versions. |
| 395 | * Secondary VC Commands:: The commands used a little less frequently. | 394 | * Secondary VC Commands:: The commands used a little less frequently. |
| 396 | * Branches:: Multiple lines of development. | 395 | * Branches:: Multiple lines of development. |
| 397 | * Remote Repositories:: Efficient access to remote CVS servers. | 396 | * Remote Repositories:: Efficient access to remote CVS servers. |
| 398 | * Snapshots:: Sets of file versions treated as a unit. | 397 | * Snapshots:: Sets of file versions treated as a unit. |
| @@ -408,6 +407,8 @@ Using Multiple Buffers | |||
| 408 | * Several Buffers:: How to go through the list of all buffers | 407 | * Several Buffers:: How to go through the list of all buffers |
| 409 | and operate variously on several of them. | 408 | and operate variously on several of them. |
| 410 | * Indirect Buffers:: An indirect buffer shares the text of another buffer. | 409 | * Indirect Buffers:: An indirect buffer shares the text of another buffer. |
| 410 | * Buffer Convenience:: Convenience and customization features for | ||
| 411 | buffer handling. | ||
| 411 | 412 | ||
| 412 | Multiple Windows | 413 | Multiple Windows |
| 413 | 414 | ||
| @@ -418,6 +419,7 @@ Multiple Windows | |||
| 418 | * Force Same Window:: Forcing certain buffers to appear in the selected | 419 | * Force Same Window:: Forcing certain buffers to appear in the selected |
| 419 | window rather than in another window. | 420 | window rather than in another window. |
| 420 | * Change Window:: Deleting windows and changing their sizes. | 421 | * Change Window:: Deleting windows and changing their sizes. |
| 422 | * Window Convenience:: Convenience functions for window handling. | ||
| 421 | 423 | ||
| 422 | Frames and X Windows | 424 | Frames and X Windows |
| 423 | 425 | ||
| @@ -451,6 +453,7 @@ International Character Set Support | |||
| 451 | * Language Environments:: Setting things up for the language you use. | 453 | * Language Environments:: Setting things up for the language you use. |
| 452 | * Input Methods:: Entering text characters not on your keyboard. | 454 | * Input Methods:: Entering text characters not on your keyboard. |
| 453 | * Select Input Method:: Specifying your choice of input methods. | 455 | * Select Input Method:: Specifying your choice of input methods. |
| 456 | * Multibyte Conversion:: How single-byte characters convert to multibyte. | ||
| 454 | * Coding Systems:: Character set conversion when you read and | 457 | * Coding Systems:: Character set conversion when you read and |
| 455 | write files, and so on. | 458 | write files, and so on. |
| 456 | * Recognize Coding:: How Emacs figures out which conversion to use. | 459 | * Recognize Coding:: How Emacs figures out which conversion to use. |
| @@ -458,9 +461,10 @@ International Character Set Support | |||
| 458 | * Fontsets:: Fontsets are collections of fonts | 461 | * Fontsets:: Fontsets are collections of fonts |
| 459 | that cover the whole spectrum of characters. | 462 | that cover the whole spectrum of characters. |
| 460 | * Defining Fontsets:: Defining a new fontset. | 463 | * Defining Fontsets:: Defining a new fontset. |
| 461 | * Single-Byte Character Support:: | 464 | * Undisplayable Characters::When characters don't display. |
| 462 | You can pick one European character set | 465 | * Single-Byte Character Support:: You can pick one European character set |
| 463 | to use without multibyte characters. | 466 | to use without multibyte characters. |
| 467 | * Charsets:: How Emacs groups its internal character codes. | ||
| 464 | 468 | ||
| 465 | Major Modes | 469 | Major Modes |
| 466 | 470 | ||
| @@ -484,16 +488,20 @@ Commands for Human Languages | |||
| 484 | * Text Mode:: The major modes for editing text files. | 488 | * Text Mode:: The major modes for editing text files. |
| 485 | * Outline Mode:: Editing outlines. | 489 | * Outline Mode:: Editing outlines. |
| 486 | * TeX Mode:: Editing input to the formatter TeX. | 490 | * TeX Mode:: Editing input to the formatter TeX. |
| 491 | * HTML Mode:: Editing HTML, SGML, and XML files. | ||
| 487 | * Nroff Mode:: Editing input to the formatter nroff. | 492 | * Nroff Mode:: Editing input to the formatter nroff. |
| 488 | * Formatted Text:: Editing formatted text directly in WYSIWYG fashion. | 493 | * Formatted Text:: Editing formatted text directly in WYSIWYG fashion. |
| 494 | * Text Based Tables:: Editing text-based tables in WYSIWYG fashion. | ||
| 489 | 495 | ||
| 490 | Filling Text | 496 | Filling Text |
| 491 | 497 | ||
| 492 | * Auto Fill:: Auto Fill mode breaks long lines automatically. | 498 | * Auto Fill:: Auto Fill mode breaks long lines automatically. |
| 499 | * Refill:: Keeping paragraphs filled. | ||
| 493 | * Fill Commands:: Commands to refill paragraphs and center lines. | 500 | * Fill Commands:: Commands to refill paragraphs and center lines. |
| 494 | * Fill Prefix:: Filling paragraphs that are indented | 501 | * Fill Prefix:: Filling paragraphs that are indented |
| 495 | or in a comment, etc. | 502 | or in a comment, etc. |
| 496 | * Adaptive Fill:: How Emacs can determine the fill prefix automatically. | 503 | * Adaptive Fill:: How Emacs can determine the fill prefix automatically. |
| 504 | * Longlines:: Editing text with very long lines. | ||
| 497 | 505 | ||
| 498 | Editing Programs | 506 | Editing Programs |
| 499 | 507 | ||
| @@ -501,8 +509,8 @@ Editing Programs | |||
| 501 | * Defuns:: Commands to operate on major top-level parts | 509 | * Defuns:: Commands to operate on major top-level parts |
| 502 | of a program. | 510 | of a program. |
| 503 | * Program Indent:: Adjusting indentation to show the nesting. | 511 | * Program Indent:: Adjusting indentation to show the nesting. |
| 504 | * Comments:: Inserting, killing, and aligning comments. | ||
| 505 | * Parentheses:: Commands that operate on parentheses. | 512 | * Parentheses:: Commands that operate on parentheses. |
| 513 | * Comments:: Inserting, killing, and aligning comments. | ||
| 506 | * Documentation:: Getting documentation of functions you plan to call. | 514 | * Documentation:: Getting documentation of functions you plan to call. |
| 507 | * Hideshow:: Displaying blocks selectively. | 515 | * Hideshow:: Displaying blocks selectively. |
| 508 | * Symbol Completion:: Completion on symbol names of your program or language. | 516 | * Symbol Completion:: Completion on symbol names of your program or language. |
| @@ -559,12 +567,12 @@ C and Related Modes | |||
| 559 | 567 | ||
| 560 | Fortran Mode | 568 | Fortran Mode |
| 561 | 569 | ||
| 562 | * Motion: Fortran Motion. Moving point by statements or subprograms. | 570 | * Fortran Motion:: Moving point by statements or subprograms. |
| 563 | * Indent: Fortran Indent. Indentation commands for Fortran. | 571 | * Fortran Indent:: Indentation commands for Fortran. |
| 564 | * Comments: Fortran Comments. Inserting and aligning comments. | 572 | * Fortran Comments:: Inserting and aligning comments. |
| 565 | * Autofill: Fortran Autofill. Auto fill minor mode for Fortran. | 573 | * Fortran Autofill:: Auto fill minor mode for Fortran. |
| 566 | * Columns: Fortran Columns. Measuring columns for valid Fortran. | 574 | * Fortran Columns:: Measuring columns for valid Fortran. |
| 567 | * Abbrev: Fortran Abbrev. Built-in abbrevs for Fortran keywords. | 575 | * Fortran Abbrev:: Built-in abbrevs for Fortran keywords. |
| 568 | 576 | ||
| 569 | Compiling and Testing Programs | 577 | Compiling and Testing Programs |
| 570 | 578 | ||
| @@ -580,8 +588,8 @@ Compiling and Testing Programs | |||
| 580 | with different facilities for running | 588 | with different facilities for running |
| 581 | the Lisp programs. | 589 | the Lisp programs. |
| 582 | * Lisp Libraries:: Creating Lisp programs to run in Emacs. | 590 | * Lisp Libraries:: Creating Lisp programs to run in Emacs. |
| 583 | * Lisp Interaction:: Executing Lisp in an Emacs buffer. | ||
| 584 | * Lisp Eval:: Executing a single Lisp expression in Emacs. | 591 | * Lisp Eval:: Executing a single Lisp expression in Emacs. |
| 592 | * Lisp Interaction:: Executing Lisp in an Emacs buffer. | ||
| 585 | * External Lisp:: Communicating through Emacs with a separate Lisp. | 593 | * External Lisp:: Communicating through Emacs with a separate Lisp. |
| 586 | 594 | ||
| 587 | Running Debuggers Under Emacs | 595 | Running Debuggers Under Emacs |
| @@ -590,6 +598,9 @@ Running Debuggers Under Emacs | |||
| 590 | * Debugger Operation:: Connection between the debugger and source buffers. | 598 | * Debugger Operation:: Connection between the debugger and source buffers. |
| 591 | * Commands of GUD:: Key bindings for common commands. | 599 | * Commands of GUD:: Key bindings for common commands. |
| 592 | * GUD Customization:: Defining your own commands for GUD. | 600 | * GUD Customization:: Defining your own commands for GUD. |
| 601 | * GDB Graphical Interface:: An enhanced mode that uses GDB features to | ||
| 602 | implement a graphical debugging environment through | ||
| 603 | Emacs. | ||
| 593 | 604 | ||
| 594 | Maintaining Programs | 605 | Maintaining Programs |
| 595 | 606 | ||
| @@ -605,6 +616,7 @@ Tags Tables | |||
| 605 | 616 | ||
| 606 | * Tag Syntax:: Tag syntax for various types of code and text files. | 617 | * Tag Syntax:: Tag syntax for various types of code and text files. |
| 607 | * Create Tags Table:: Creating a tags table with @code{etags}. | 618 | * Create Tags Table:: Creating a tags table with @code{etags}. |
| 619 | * Etags Regexps:: Create arbitrary tags using regular expressions. | ||
| 608 | * Select Tags Table:: How to visit a tags table. | 620 | * Select Tags Table:: How to visit a tags table. |
| 609 | * Find Tag:: Commands to find the definition of a specific tag. | 621 | * Find Tag:: Commands to find the definition of a specific tag. |
| 610 | * Tags Search:: Using a tags table for searching and replacing. | 622 | * Tags Search:: Using a tags table for searching and replacing. |
| @@ -631,6 +643,7 @@ Abbrevs | |||
| 631 | * Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs. | 643 | * Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs. |
| 632 | * Saving Abbrevs:: Saving the entire list of abbrevs for another session. | 644 | * Saving Abbrevs:: Saving the entire list of abbrevs for another session. |
| 633 | * Dynamic Abbrevs:: Abbreviations for words already in the buffer. | 645 | * Dynamic Abbrevs:: Abbreviations for words already in the buffer. |
| 646 | * Dabbrev Customization:: What is a word, for dynamic abbrevs. Case handling. | ||
| 634 | 647 | ||
| 635 | Editing Pictures | 648 | Editing Pictures |
| 636 | 649 | ||
| @@ -664,11 +677,15 @@ Reading Mail with Rmail | |||
| 664 | * Rmail Summary:: Summaries show brief info on many messages. | 677 | * Rmail Summary:: Summaries show brief info on many messages. |
| 665 | * Rmail Sorting:: Sorting messages in Rmail. | 678 | * Rmail Sorting:: Sorting messages in Rmail. |
| 666 | * Rmail Display:: How Rmail displays a message; customization. | 679 | * Rmail Display:: How Rmail displays a message; customization. |
| 680 | * Rmail Coding:: How Rmail handles decoding character sets. | ||
| 667 | * Rmail Editing:: Editing message text and headers in Rmail. | 681 | * Rmail Editing:: Editing message text and headers in Rmail. |
| 668 | * Rmail Digest:: Extracting the messages from a digest message. | 682 | * Rmail Digest:: Extracting the messages from a digest message. |
| 669 | * Out of Rmail:: Converting an Rmail file to mailbox format. | 683 | * Out of Rmail:: Converting an Rmail file to mailbox format. |
| 670 | * Rmail Rot13:: Reading messages encoded in the rot13 code. | 684 | * Rmail Rot13:: Reading messages encoded in the rot13 code. |
| 671 | * Movemail:: More details of fetching new mail. | 685 | * Movemail:: More details of fetching new mail. |
| 686 | * Remote Mailboxes:: Retrieving Mail from Remote Mailboxes. | ||
| 687 | * Other Mailbox Formats:: Retrieving Mail from Local Mailboxes in | ||
| 688 | Various Formats | ||
| 672 | 689 | ||
| 673 | Dired, the Directory Editor | 690 | Dired, the Directory Editor |
| 674 | 691 | ||
| @@ -688,7 +705,6 @@ Dired, the Directory Editor | |||
| 688 | * Hiding Subdirectories:: Making subdirectories visible or invisible. | 705 | * Hiding Subdirectories:: Making subdirectories visible or invisible. |
| 689 | * Dired Updating:: Discarding lines for files of no interest. | 706 | * Dired Updating:: Discarding lines for files of no interest. |
| 690 | * Dired and Find:: Using `find' to choose the files for Dired. | 707 | * Dired and Find:: Using `find' to choose the files for Dired. |
| 691 | * Dired and Find:: Using `find' to choose the files for Dired. | ||
| 692 | * Wdired:: Operating on files by editing the Dired buffer. | 708 | * Wdired:: Operating on files by editing the Dired buffer. |
| 693 | * Misc Dired Features:: Various other features. | 709 | * Misc Dired Features:: Various other features. |
| 694 | 710 | ||
| @@ -698,14 +714,16 @@ The Calendar and the Diary | |||
| 698 | * Scroll Calendar:: Bringing earlier or later months onto the screen. | 714 | * Scroll Calendar:: Bringing earlier or later months onto the screen. |
| 699 | * Counting Days:: How many days are there between two dates? | 715 | * Counting Days:: How many days are there between two dates? |
| 700 | * General Calendar:: Exiting or recomputing the calendar. | 716 | * General Calendar:: Exiting or recomputing the calendar. |
| 701 | * LaTeX Calendar:: Print a calendar using LaTeX. | 717 | * LaTeX Calendar:: Print a calendar using LaTeX. |
| 702 | * Holidays:: Displaying dates of holidays. | 718 | * Holidays:: Displaying dates of holidays. |
| 703 | * Sunrise/Sunset:: Displaying local times of sunrise and sunset. | 719 | * Sunrise/Sunset:: Displaying local times of sunrise and sunset. |
| 704 | * Lunar Phases:: Displaying phases of the moon. | 720 | * Lunar Phases:: Displaying phases of the moon. |
| 705 | * Other Calendars:: Converting dates to other calendar systems. | 721 | * Other Calendars:: Converting dates to other calendar systems. |
| 706 | * Diary:: Displaying events from your diary. | 722 | * Diary:: Displaying events from your diary. |
| 707 | * Appointments:: Reminders when it's time to do something. | 723 | * Appointments:: Reminders when it's time to do something. |
| 724 | * Importing Diary:: Converting diary events to/from other formats. | ||
| 708 | * Daylight Savings:: How to specify when daylight savings time is active. | 725 | * Daylight Savings:: How to specify when daylight savings time is active. |
| 726 | * Time Intervals:: Keeping track of time intervals. | ||
| 709 | 727 | ||
| 710 | Movement in the Calendar | 728 | Movement in the Calendar |
| 711 | 729 | ||
| @@ -741,27 +759,40 @@ Running Shell Commands from Emacs | |||
| 741 | * Single Shell:: How to run one shell command and return. | 759 | * Single Shell:: How to run one shell command and return. |
| 742 | * Interactive Shell:: Permanent shell taking input via Emacs. | 760 | * Interactive Shell:: Permanent shell taking input via Emacs. |
| 743 | * Shell Mode:: Special Emacs commands used with permanent shell. | 761 | * Shell Mode:: Special Emacs commands used with permanent shell. |
| 762 | * Shell Prompts:: Two ways to recognize shell prompts. | ||
| 744 | * Shell History:: Repeating previous commands in a shell buffer. | 763 | * Shell History:: Repeating previous commands in a shell buffer. |
| 764 | * Directory Tracking:: Keeping track when the subshell changes directory. | ||
| 745 | * Shell Options:: Options for customizing Shell mode. | 765 | * Shell Options:: Options for customizing Shell mode. |
| 766 | * Terminal emulator:: An Emacs window as a terminal emulator. | ||
| 767 | * Term Mode:: Special Emacs commands used in Term mode. | ||
| 768 | * Paging in Term:: Paging in the terminal emulator. | ||
| 746 | * Remote Host:: Connecting to another computer. | 769 | * Remote Host:: Connecting to another computer. |
| 747 | 770 | ||
| 771 | Using Emacs as a Server | ||
| 772 | |||
| 773 | * Invoking emacsclient:: Emacs client startup options. | ||
| 774 | |||
| 775 | Hyperlinking and Navigation Features | ||
| 776 | |||
| 777 | * Browse-URL:: Following URLs. | ||
| 778 | * Goto-address:: Activating URLs. | ||
| 779 | * FFAP:: Finding files etc. at point. | ||
| 780 | |||
| 748 | Customization | 781 | Customization |
| 749 | 782 | ||
| 750 | * Minor Modes:: Each minor mode is one feature you can turn on | 783 | * Minor Modes:: Each minor mode is one feature you can turn on |
| 751 | independently of any others. | 784 | independently of any others. |
| 752 | * Easy Customization:: | 785 | * Easy Customization:: Convenient way to browse and change user options. |
| 753 | Convenient way to browse and change user options. | ||
| 754 | * Variables:: Many Emacs commands examine Emacs variables | 786 | * Variables:: Many Emacs commands examine Emacs variables |
| 755 | to decide what to do; by setting variables, | 787 | to decide what to do; by setting variables, |
| 756 | you can control their functioning. | 788 | you can control their functioning. |
| 757 | * Key Bindings:: The keymaps say what command each key runs. | 789 | * Key Bindings:: The keymaps say what command each key runs. |
| 758 | By changing them, you can "redefine keys". | 790 | By changing them, you can "redefine keys". |
| 759 | * Keyboard Translations:: | 791 | * Keyboard Translations:: If your keyboard passes an undesired code |
| 760 | If your keyboard passes an undesired code | 792 | for a key, you can tell Emacs to |
| 761 | for a key, you can tell Emacs to | 793 | substitute another code. |
| 762 | substitute another code. | ||
| 763 | * Syntax:: The syntax table controls how words and | 794 | * Syntax:: The syntax table controls how words and |
| 764 | expressions are parsed. | 795 | expressions are parsed. |
| 765 | * Init File:: How to write common customizations in the | 796 | * Init File:: How to write common customizations in the |
| 766 | @file{.emacs} file. | 797 | @file{.emacs} file. |
| 767 | 798 | ||
| @@ -783,6 +814,7 @@ Customizing Key Bindings | |||
| 783 | * Init Rebinding:: Rebinding keys with your init file, @file{.emacs}. | 814 | * Init Rebinding:: Rebinding keys with your init file, @file{.emacs}. |
| 784 | * Function Keys:: Rebinding terminal function keys. | 815 | * Function Keys:: Rebinding terminal function keys. |
| 785 | * Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on. | 816 | * Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on. |
| 817 | * Non-ASCII Rebinding:: Rebinding non-@acronym{ASCII} characters such as Latin-1. | ||
| 786 | * Mouse Buttons:: Rebinding mouse buttons in Emacs. | 818 | * Mouse Buttons:: Rebinding mouse buttons in Emacs. |
| 787 | * Disabling:: Disabling a command means confirmation is required | 819 | * Disabling:: Disabling a command means confirmation is required |
| 788 | before it can be executed. This is done to protect | 820 | before it can be executed. This is done to protect |
| @@ -803,18 +835,19 @@ Dealing with Emacs Trouble | |||
| 803 | * Text Garbled:: Garbage in the text. | 835 | * Text Garbled:: Garbage in the text. |
| 804 | * Unasked-for Search:: Spontaneous entry to incremental search. | 836 | * Unasked-for Search:: Spontaneous entry to incremental search. |
| 805 | * Memory Full:: How to cope when you run out of memory. | 837 | * Memory Full:: How to cope when you run out of memory. |
| 838 | * After a Crash:: Recovering editing in an Emacs session that crashed. | ||
| 806 | * Emergency Escape:: Emergency escape--- | 839 | * Emergency Escape:: Emergency escape--- |
| 807 | What to do if Emacs stops responding. | 840 | What to do if Emacs stops responding. |
| 808 | * Total Frustration:: When you are at your wits' end. | 841 | * Total Frustration:: When you are at your wits' end. |
| 809 | 842 | ||
| 810 | Reporting Bugs | 843 | Reporting Bugs |
| 811 | 844 | ||
| 812 | * Criteria: Bug Criteria. Have you really found a bug? | 845 | * Bug Criteria:: Have you really found a bug? |
| 813 | * Understanding Bug Reporting:: How to report a bug effectively. | 846 | * Understanding Bug Reporting:: How to report a bug effectively. |
| 814 | * Checklist:: Steps to follow for a good bug report. | 847 | * Checklist:: Steps to follow for a good bug report. |
| 815 | * Sending Patches:: How to send a patch for GNU Emacs. | 848 | * Sending Patches:: How to send a patch for GNU Emacs. |
| 816 | 849 | ||
| 817 | Command Line Options and Arguments | 850 | Command Line Arguments for Emacs Invocation |
| 818 | 851 | ||
| 819 | * Action Arguments:: Arguments to visit files, load libraries, | 852 | * Action Arguments:: Arguments to visit files, load libraries, |
| 820 | and call functions. | 853 | and call functions. |
| @@ -831,18 +864,29 @@ Command Line Options and Arguments | |||
| 831 | * Icons X:: Choosing what sort of icon to use, under X. | 864 | * Icons X:: Choosing what sort of icon to use, under X. |
| 832 | * Misc X:: Other display options. | 865 | * Misc X:: Other display options. |
| 833 | 866 | ||
| 834 | X Resources | 867 | Environment Variables |
| 868 | |||
| 869 | * General Variables:: Environment variables that all versions of Emacs use. | ||
| 870 | * Misc Variables:: Certain system specific variables. | ||
| 871 | * MS-Windows Registry:: An alternative to the environment on MS-Windows. | ||
| 872 | |||
| 873 | X Options and Resources | ||
| 835 | 874 | ||
| 836 | * Resources:: Using X resources with Emacs (in general). | 875 | * Resources:: Using X resources with Emacs (in general). |
| 837 | * Table of Resources:: Table of specific X resources that affect Emacs. | 876 | * Table of Resources:: Table of specific X resources that affect Emacs. |
| 838 | * Face Resources:: X resources for customizing faces. | 877 | * Face Resources:: X resources for customizing faces. |
| 839 | * Lucid Resources:: X resources for Lucid menus. | 878 | * Lucid Resources:: X resources for Lucid menus. |
| 840 | * LessTif Resources:: X resources for LessTif and Motif menus. | 879 | * LessTif Resources:: X resources for LessTif and Motif menus. |
| 880 | * GTK resources:: Resources for GTK widgets. | ||
| 841 | 881 | ||
| 842 | Environment Variables | 882 | Emacs and the Mac OS |
| 843 | 883 | ||
| 844 | * General Variables:: Environment variables that all versions of Emacs use. | 884 | * Mac Input:: Keyboard input on the Mac. |
| 845 | * Misc Variables:: Certain system specific variables. | 885 | * Mac International:: International character sets on the Mac. |
| 886 | * Mac Environment Variables:: Setting environment variables for Emacs. | ||
| 887 | * Mac Directories:: Volumes and directories on the Mac. | ||
| 888 | * Mac Font Specs:: Specifying fonts on the Mac. | ||
| 889 | * Mac Functions:: Mac-specific Lisp functions. | ||
| 846 | 890 | ||
| 847 | MS-DOS and Windows 95/98/NT | 891 | MS-DOS and Windows 95/98/NT |
| 848 | 892 | ||
| @@ -852,6 +896,7 @@ MS-DOS and Windows 95/98/NT | |||
| 852 | * MS-DOS File Names:: File-name conventions on MS-DOS. | 896 | * MS-DOS File Names:: File-name conventions on MS-DOS. |
| 853 | * Text and Binary:: Text files on MS-DOS use CRLF to separate lines. | 897 | * Text and Binary:: Text files on MS-DOS use CRLF to separate lines. |
| 854 | * MS-DOS Printing:: How to specify the printer on MS-DOS. | 898 | * MS-DOS Printing:: How to specify the printer on MS-DOS. |
| 899 | * MS-DOS and MULE:: Support for internationalization on MS-DOS. | ||
| 855 | * MS-DOS Processes:: Running subprocesses on MS-DOS. | 900 | * MS-DOS Processes:: Running subprocesses on MS-DOS. |
| 856 | * Windows Processes:: Running subprocesses on Windows. | 901 | * Windows Processes:: Running subprocesses on Windows. |
| 857 | * Windows System Menu:: Controlling what the ALT key does. | 902 | * Windows System Menu:: Controlling what the ALT key does. |
diff --git a/man/files.texi b/man/files.texi index d7510862465..6be4d0f467d 100644 --- a/man/files.texi +++ b/man/files.texi | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1985,86,87,93,94,95,97,99, 2000, 2001, 2004 | 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1999, 2000, |
| 3 | @c Free Software Foundation, Inc. | 3 | @c 2001, 2004, 2005 Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @node Files, Buffers, Keyboard Macros, Top | 5 | @node Files, Buffers, Keyboard Macros, Top |
| 6 | @chapter File Handling | 6 | @chapter File Handling |
| @@ -505,8 +505,7 @@ you can control how these modes handle final newlines. | |||
| 505 | * Backup:: How Emacs saves the old version of your file. | 505 | * Backup:: How Emacs saves the old version of your file. |
| 506 | * Interlocking:: How Emacs protects against simultaneous editing | 506 | * Interlocking:: How Emacs protects against simultaneous editing |
| 507 | of one file by two users. | 507 | of one file by two users. |
| 508 | * Shadowing: File Shadowing. | 508 | * Shadowing: File Shadowing. Copying files to "shadows" automatically. |
| 509 | Copying files to "shadows" automatically. | ||
| 510 | * Time Stamps:: Emacs can update time stamps on saved files. | 509 | * Time Stamps:: Emacs can update time stamps on saved files. |
| 511 | @end menu | 510 | @end menu |
| 512 | 511 | ||
diff --git a/man/kmacro.texi b/man/kmacro.texi index 5ef34f6c929..e19c1434813 100644 --- a/man/kmacro.texi +++ b/man/kmacro.texi | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1985,86,87,93,94,95,97,2000,2001,2002,2003,2004 | 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, |
| 3 | @c Free Software Foundation, Inc. | 3 | @c 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @node Keyboard Macros, Files, Fixit, Top | 5 | @node Keyboard Macros, Files, Fixit, Top |
| 6 | @chapter Keyboard Macros | 6 | @chapter Keyboard Macros |
| @@ -38,7 +38,8 @@ intelligent or general. For such things, Lisp must be used. | |||
| 38 | * Keyboard Macro Query:: Making keyboard macros do different things each time. | 38 | * Keyboard Macro Query:: Making keyboard macros do different things each time. |
| 39 | * Save Keyboard Macro:: Giving keyboard macros names; saving them in files. | 39 | * Save Keyboard Macro:: Giving keyboard macros names; saving them in files. |
| 40 | * Edit Keyboard Macro:: Editing keyboard macros. | 40 | * Edit Keyboard Macro:: Editing keyboard macros. |
| 41 | * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard macro. | 41 | * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard |
| 42 | macro. | ||
| 42 | @end menu | 43 | @end menu |
| 43 | 44 | ||
| 44 | @node Basic Keyboard Macro | 45 | @node Basic Keyboard Macro |
diff --git a/man/maintaining.texi b/man/maintaining.texi index 347a15d3c95..b11ae6b6cdd 100644 --- a/man/maintaining.texi +++ b/man/maintaining.texi | |||
| @@ -963,10 +963,9 @@ variant B, and the common ancestor. | |||
| 963 | 963 | ||
| 964 | After the comparison is done and the buffers are prepared, the | 964 | After the comparison is done and the buffers are prepared, the |
| 965 | interactive merging starts. You control the merging by typing special | 965 | interactive merging starts. You control the merging by typing special |
| 966 | @dfn{merge commands} in the merge buffer. The merge buffer shows you a | 966 | @dfn{merge commands} in the merge buffer (@pxref{Merge Commands}). |
| 967 | full merged text, not just differences. For each run of differences | 967 | For each run of differences between the input texts, you can choose |
| 968 | between the input texts, you can choose which one of them to keep, or | 968 | which one of them to keep, or edit them both together. |
| 969 | edit them both together. | ||
| 970 | 969 | ||
| 971 | The merge buffer uses a special major mode, Emerge mode, with commands | 970 | The merge buffer uses a special major mode, Emerge mode, with commands |
| 972 | for making these choices. But you can also edit the buffer with | 971 | for making these choices. But you can also edit the buffer with |
diff --git a/man/misc.texi b/man/misc.texi index d6471166cc4..68dd7356479 100644 --- a/man/misc.texi +++ b/man/misc.texi | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, 2004 | 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, |
| 3 | @c Free Software Foundation, Inc. | 3 | @c 2004, 2005 Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @iftex | 5 | @iftex |
| 6 | @chapter Miscellaneous Commands | 6 | @chapter Miscellaneous Commands |
| @@ -1314,7 +1314,7 @@ in Emacs. Note that server buffers created in this way are not killed | |||
| 1314 | automatically when you finish with them. | 1314 | automatically when you finish with them. |
| 1315 | 1315 | ||
| 1316 | @menu | 1316 | @menu |
| 1317 | * Invoking emacsclient:: | 1317 | * Invoking emacsclient:: Emacs client startup options. |
| 1318 | @end menu | 1318 | @end menu |
| 1319 | 1319 | ||
| 1320 | @node Invoking emacsclient,, Emacs Server, Emacs Server | 1320 | @node Invoking emacsclient,, Emacs Server, Emacs Server |
diff --git a/man/mule.texi b/man/mule.texi index c085839cbd8..985d0b9afb5 100644 --- a/man/mule.texi +++ b/man/mule.texi | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc. | 2 | @c Copyright (C) 1997, 1999, 2000, 2001, 2005 Free Software Foundation, Inc. |
| 3 | @c See file emacs.texi for copying conditions. | 3 | @c See file emacs.texi for copying conditions. |
| 4 | @node International, Major Modes, Frames, Top | 4 | @node International, Major Modes, Frames, Top |
| 5 | @chapter International Character Set Support | 5 | @chapter International Character Set Support |
| @@ -97,9 +97,8 @@ correctly; see @ref{Language Environments, locales}. | |||
| 97 | that cover the whole spectrum of characters. | 97 | that cover the whole spectrum of characters. |
| 98 | * Defining Fontsets:: Defining a new fontset. | 98 | * Defining Fontsets:: Defining a new fontset. |
| 99 | * Undisplayable Characters:: When characters don't display. | 99 | * Undisplayable Characters:: When characters don't display. |
| 100 | * Single-Byte Character Support:: | 100 | * Single-Byte Character Support:: You can pick one European character set |
| 101 | You can pick one European character set | 101 | to use without multibyte characters. |
| 102 | to use without multibyte characters. | ||
| 103 | * Charsets:: How Emacs groups its internal character codes. | 102 | * Charsets:: How Emacs groups its internal character codes. |
| 104 | @end menu | 103 | @end menu |
| 105 | 104 | ||
diff --git a/man/programs.texi b/man/programs.texi index 98e60d0385c..83d8d6aa0b8 100644 --- a/man/programs.texi +++ b/man/programs.texi | |||
| @@ -1235,9 +1235,10 @@ mode constantly displays in the echo area the argument list for the | |||
| 1235 | function being called at point. (In other words, it finds the | 1235 | function being called at point. (In other words, it finds the |
| 1236 | function call that point is contained in, and displays the argument | 1236 | function call that point is contained in, and displays the argument |
| 1237 | list of that function.) If point is over a documented variable, it | 1237 | list of that function.) If point is over a documented variable, it |
| 1238 | shows the variable's docstring. Eldoc mode applies in Emacs Lisp and | 1238 | shows the first line of the variable's docstring. Eldoc mode applies |
| 1239 | Lisp Interaction modes only. Use the command @kbd{M-x eldoc-mode} to | 1239 | in Emacs Lisp and Lisp Interaction modes, and perhaps a few others |
| 1240 | enable or disable this feature. | 1240 | that provide special support for looking up doc strings. Use the |
| 1241 | command @kbd{M-x eldoc-mode} to enable or disable this feature. | ||
| 1241 | 1242 | ||
| 1242 | @node Hideshow | 1243 | @node Hideshow |
| 1243 | @section Hideshow minor mode | 1244 | @section Hideshow minor mode |
| @@ -2022,7 +2023,7 @@ value 5, line numbers are right-justified to end in column 4. | |||
| 2022 | Simply inserting a line number is enough to indent it according to | 2023 | Simply inserting a line number is enough to indent it according to |
| 2023 | these rules. As each digit is inserted, the indentation is recomputed. | 2024 | these rules. As each digit is inserted, the indentation is recomputed. |
| 2024 | To turn off this feature, set the variable | 2025 | To turn off this feature, set the variable |
| 2025 | @code{fortran-electric-line-number} to @code{nil}. | 2026 | @code{fortran-electric-line-number} to @code{nil}. |
| 2026 | 2027 | ||
| 2027 | 2028 | ||
| 2028 | @node ForIndent Conv | 2029 | @node ForIndent Conv |
diff --git a/man/reftex.texi b/man/reftex.texi index 0d3c5bdc32e..32db61e0eea 100644 --- a/man/reftex.texi +++ b/man/reftex.texi | |||
| @@ -7,9 +7,9 @@ | |||
| 7 | @syncodeindex fn cp | 7 | @syncodeindex fn cp |
| 8 | 8 | ||
| 9 | @c Version and Contact Info | 9 | @c Version and Contact Info |
| 10 | @set VERSION 4.24 | 10 | @set VERSION 4.28 |
| 11 | @set EDITION 4.24 | 11 | @set EDITION 4.28 |
| 12 | @set DATE March 2005 | 12 | @set DATE May 2005 |
| 13 | @set AUCTEXSITE @uref{http://www.nongnu.org/auctex/,AUCTeX distribution site} | 13 | @set AUCTEXSITE @uref{http://www.nongnu.org/auctex/,AUCTeX distribution site} |
| 14 | @set MAINTAINERSITE @uref{http://www.astro.uva.nl/~dominik/Tools/,maintainers webpage} | 14 | @set MAINTAINERSITE @uref{http://www.astro.uva.nl/~dominik/Tools/,maintainers webpage} |
| 15 | @set MAINTAINER Carsten Dominik | 15 | @set MAINTAINER Carsten Dominik |
| @@ -25,8 +25,7 @@ citations and indices for LaTeX documents with Emacs. | |||
| 25 | This is edition @value{EDITION} of the @b{Ref@TeX{}} User Manual for | 25 | This is edition @value{EDITION} of the @b{Ref@TeX{}} User Manual for |
| 26 | @b{Ref@TeX{}} @value{VERSION} | 26 | @b{Ref@TeX{}} @value{VERSION} |
| 27 | 27 | ||
| 28 | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2005 | 28 | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. |
| 29 | Free Software Foundation, Inc. | ||
| 30 | 29 | ||
| 31 | @quotation | 30 | @quotation |
| 32 | Permission is granted to copy, distribute and/or modify this document | 31 | Permission is granted to copy, distribute and/or modify this document |
| @@ -1817,22 +1816,25 @@ keymap @code{reftex-select-bib-map} may be used. | |||
| 1817 | @cindex Citation styles, @code{natbib} | 1816 | @cindex Citation styles, @code{natbib} |
| 1818 | @cindex Citation styles, @code{harvard} | 1817 | @cindex Citation styles, @code{harvard} |
| 1819 | @cindex Citation styles, @code{chicago} | 1818 | @cindex Citation styles, @code{chicago} |
| 1819 | @cindex Citation styles, @code{jurabib} | ||
| 1820 | @cindex @code{natbib}, citation style | 1820 | @cindex @code{natbib}, citation style |
| 1821 | @cindex @code{harvard}, citation style | 1821 | @cindex @code{harvard}, citation style |
| 1822 | @cindex @code{chicago}, citation style | 1822 | @cindex @code{chicago}, citation style |
| 1823 | @cindex @code{jurabib}, citation style | ||
| 1823 | 1824 | ||
| 1824 | @vindex reftex-cite-format | 1825 | @vindex reftex-cite-format |
| 1825 | The standard LaTeX macro @code{\cite} works well with numeric or simple | 1826 | The standard LaTeX macro @code{\cite} works well with numeric or simple |
| 1826 | key citations. To deal with the more complex task of author-year | 1827 | key citations. To deal with the more complex task of author-year |
| 1827 | citations as used in many natural sciences, a variety of packages has | 1828 | citations as used in many natural sciences, a variety of packages has |
| 1828 | been developed which define derived forms of the @code{\cite} macro. | 1829 | been developed which define derived forms of the @code{\cite} macro. |
| 1829 | @b{Ref@TeX{}} can be configured to produce these citation macros as well by | 1830 | @b{Ref@TeX{}} can be configured to produce these citation macros as well |
| 1830 | setting the variable @code{reftex-cite-format}. For the most commonly | 1831 | by setting the variable @code{reftex-cite-format}. For the most |
| 1831 | used packages (@code{natbib}, @code{harvard}, @code{chicago}) this may | 1832 | commonly used packages (@code{natbib}, @code{harvard}, @code{chicago}, |
| 1832 | be done from the menu, under @code{Ref->Citation Styles}. Since there | 1833 | @code{jurabib}) this may be done from the menu, under |
| 1833 | are usually several macros to create the citations, executing | 1834 | @code{Ref->Citation Styles}. Since there are usually several macros to |
| 1834 | @code{reftex-citation} (@kbd{C-c [}) starts by prompting for the correct | 1835 | create the citations, executing @code{reftex-citation} (@kbd{C-c [}) |
| 1835 | macro. For the Natbib style, this looks like this: | 1836 | starts by prompting for the correct macro. For the Natbib style, this |
| 1837 | looks like this: | ||
| 1836 | 1838 | ||
| 1837 | @example | 1839 | @example |
| 1838 | SELECT A CITATION FORMAT | 1840 | SELECT A CITATION FORMAT |
| @@ -3520,15 +3522,15 @@ the Emacs 19 version supports many but not all features described in | |||
| 3520 | this manual. | 3522 | this manual. |
| 3521 | 3523 | ||
| 3522 | Thanks to the people on the Net who have used @b{Ref@TeX{}} and helped | 3524 | Thanks to the people on the Net who have used @b{Ref@TeX{}} and helped |
| 3523 | developing it with their reports. In particular thanks to @i{Fran | 3525 | developing it with their reports. In particular thanks to @i{Ralf |
| 3524 | Burstall, Alastair Burt, Lars Clausen, Soren Dayton, Stephen Eglen, | 3526 | Angeli, Fran Burstall, Alastair Burt, Lars Clausen, Soren Dayton, |
| 3525 | Karl Eichwalder, Erik Frisk, Peter Galbraith, Kai Grossjohann, Frank | 3527 | Stephen Eglen, Karl Eichwalder, Erik Frisk, Peter Galbraith, Kai |
| 3526 | Harrell, Peter Heslin, Stephan Heuel, Alan Ho, Lute Kamstra, Dieter | 3528 | Grossjohann, Frank Harrell, Till A. Heilmann, Peter Heslin, Stephan |
| 3527 | Kraft, David Kastrup, Adrian Lanz, Juri Linkov, Rory Molinari, Stefan | 3529 | Heuel, Alan Ho, Lute Kamstra, Dieter Kraft, David Kastrup, Adrian Lanz, |
| 3528 | Monnier, Laurent Mugnier, Dan Nicolaescu, Sudeep Kumar Palat, Daniel | 3530 | Juri Linkov, Rory Molinari, Stefan Monnier, Laurent Mugnier, Dan |
| 3529 | Polani, Alan Shutko, Robin Socha, Richard Stanton, Allan Strand, Jan | 3531 | Nicolaescu, Sudeep Kumar Palat, Daniel Polani, Alan Shutko, Robin Socha, |
| 3530 | Vroonhof, Christoph Wedler, Alan Williams, Roland Winkler, | 3532 | Richard Stanton, Allan Strand, Jan Vroonhof, Christoph Wedler, Alan |
| 3531 | Hans-Christoph Wirth, Eli Zaretskii}. | 3533 | Williams, Roland Winkler, Hans-Christoph Wirth, Eli Zaretskii}. |
| 3532 | 3534 | ||
| 3533 | 3535 | ||
| 3534 | The @code{view-crossref} feature was inspired by @i{Peter Galbraith's} | 3536 | The @code{view-crossref} feature was inspired by @i{Peter Galbraith's} |
| @@ -5152,10 +5154,18 @@ options for a specific part of @b{Ref@TeX{}}. | |||
| 5152 | 5154 | ||
| 5153 | Here is a list of recent changes to @b{Ref@TeX{}}. | 5155 | Here is a list of recent changes to @b{Ref@TeX{}}. |
| 5154 | 5156 | ||
| 5157 | @noindent @b{Version 4.28} | ||
| 5158 | @itemize @bullet | ||
| 5159 | @item Support for the Jurabib package. | ||
| 5160 | @item Improvements when selecting several items in a selection buffer. | ||
| 5161 | @end itemize | ||
| 5162 | |||
| 5155 | @noindent @b{Version 4.26} | 5163 | @noindent @b{Version 4.26} |
| 5156 | @itemize @bullet | 5164 | @itemize @bullet |
| 5157 | @item | 5165 | @item |
| 5158 | Bug fixes only. | 5166 | Support for global incremental search. |
| 5167 | @item | ||
| 5168 | Some improvements for XEmacs compatibility. | ||
| 5159 | @end itemize | 5169 | @end itemize |
| 5160 | 5170 | ||
| 5161 | @noindent @b{Version 4.25} | 5171 | @noindent @b{Version 4.25} |
diff --git a/man/url.texi b/man/url.texi index 64e4e76a3ab..0380b833ed8 100644 --- a/man/url.texi +++ b/man/url.texi | |||
| @@ -93,7 +93,7 @@ URIs have the form @var{scheme}:@var{scheme-specific-part}, where the | |||
| 93 | @var{scheme}s supported by this library are described below. | 93 | @var{scheme}s supported by this library are described below. |
| 94 | @xref{Supported URL Types}. | 94 | @xref{Supported URL Types}. |
| 95 | 95 | ||
| 96 | FTP NFS, HTTP, HTTPS, @code{rlogin}, @code{telnet}, tn3270, | 96 | FTP, NFS, HTTP, HTTPS, @code{rlogin}, @code{telnet}, tn3270, |
| 97 | IRC and gopher URLs all have the form | 97 | IRC and gopher URLs all have the form |
| 98 | 98 | ||
| 99 | @example | 99 | @example |
| @@ -110,9 +110,8 @@ the possible exception of @code{telnet}, it is rare for ports to be | |||
| 110 | specified, and it is possible using a non-standard port may have | 110 | specified, and it is possible using a non-standard port may have |
| 111 | undesired consequences if a different service is listening on that | 111 | undesired consequences if a different service is listening on that |
| 112 | port (e.g., an HTTP URL specifying the SMTP port can cause mail to be | 112 | port (e.g., an HTTP URL specifying the SMTP port can cause mail to be |
| 113 | sent).@c , but @xref{Other Variables, url-bad-port-list}. | 113 | sent). @c , but @xref{Other Variables, url-bad-port-list}. |
| 114 | The meaning of | 114 | The meaning of the @var{path} component depends on the service. |
| 115 | the @var{path} component depends on the service. | ||
| 116 | 115 | ||
| 117 | @menu | 116 | @menu |
| 118 | * Configuration:: | 117 | * Configuration:: |
diff --git a/src/.gdbinit b/src/.gdbinit index 09c70c9ead8..760822236fe 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -112,21 +112,45 @@ define pitx | |||
| 112 | if ($it->start.pos.charpos != $it->start.pos.bytepos) | 112 | if ($it->start.pos.charpos != $it->start.pos.bytepos) |
| 113 | printf "[%d]", $it->start.pos.bytepos | 113 | printf "[%d]", $it->start.pos.bytepos |
| 114 | end | 114 | end |
| 115 | printf " stop=%d ", $it->stop_charpos | 115 | printf " end=%d", $it->end_charpos |
| 116 | output $it->what | 116 | printf " stop=%d", $it->stop_charpos |
| 117 | printf " face=%d", $it->face_id | ||
| 118 | if ($it->multibyte_p) | ||
| 119 | printf " MB" | ||
| 120 | end | ||
| 121 | if ($it->header_line_p) | ||
| 122 | printf " HL" | ||
| 123 | end | ||
| 124 | if ($it->n_overlay_strings > 0) | ||
| 125 | printf " nov=%d" | ||
| 126 | end | ||
| 127 | if ($it->sp != 0) | ||
| 128 | printf " sp=%d", $it->sp | ||
| 129 | end | ||
| 117 | if ($it->what == IT_CHARACTER) | 130 | if ($it->what == IT_CHARACTER) |
| 118 | if ($it->len == 1 && $it->c >= ' ' && it->c < 255) | 131 | if ($it->len == 1 && $it->c >= ' ' && it->c < 255) |
| 119 | printf "['%c']", $it->c | 132 | printf "ch='%c'", $it->c |
| 120 | else | 133 | else |
| 121 | printf "[%d,%d]", $it->c, $it->len | 134 | printf "ch=[%d,%d]", $it->c, $it->len |
| 135 | end | ||
| 136 | else | ||
| 137 | if ($it->what == IT_IMAGE) | ||
| 138 | printf "IMAGE=%d", $it->image_id | ||
| 139 | else | ||
| 140 | output $it->what | ||
| 122 | end | 141 | end |
| 123 | end | 142 | end |
| 124 | printf " next=" | 143 | if ($it->method != GET_FROM_BUFFER) |
| 125 | output $it->method | 144 | printf " next=" |
| 145 | output $it->method | ||
| 146 | end | ||
| 126 | printf "\n" | 147 | printf "\n" |
| 148 | if ($it->region_beg_charpos >= 0) | ||
| 149 | printf "reg=%d-%d ", $it->region_beg_charpos, $it->region_end_charpos | ||
| 150 | end | ||
| 127 | printf "vpos=%d hpos=%d", $it->vpos, $it->hpos, | 151 | printf "vpos=%d hpos=%d", $it->vpos, $it->hpos, |
| 128 | printf " y=%d lvy=%d", $it->current_y, $it->last_visible_y | 152 | printf " y=%d lvy=%d", $it->current_y, $it->last_visible_y |
| 129 | printf " x=%d lvx=%d", $it->current_x, $it->last_visible_x | 153 | printf " x=%d vx=%d-%d", $it->current_x, $it->first_visible_x, $it->last_visible_x |
| 130 | printf " a+d=%d+%d=%d", $it->ascent, $it->descent, $it->ascent+$it->descent | 154 | printf " a+d=%d+%d=%d", $it->ascent, $it->descent, $it->ascent+$it->descent |
| 131 | printf " max=%d+%d=%d", $it->max_ascent, $it->max_descent, $it->max_ascent+$it->max_descent | 155 | printf " max=%d+%d=%d", $it->max_ascent, $it->max_descent, $it->max_ascent+$it->max_descent |
| 132 | printf "\n" | 156 | printf "\n" |
diff --git a/src/ChangeLog b/src/ChangeLog index fd11243cbb0..951bf142541 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> | ||
| 2 | |||
| 3 | * keyboard.c (syms_of_keyboard): Remove lisp variables | ||
| 4 | post-command-idle-hook and post-command-idle-delay. | ||
| 5 | (command_loop_1): Don't try to execute post-command-idle-hook. | ||
| 6 | |||
| 7 | 2005-05-16 Kim F. Storm <storm@cua.dk> | ||
| 8 | |||
| 9 | * xdisp.c (handle_display_prop): Handle empty replacement. | ||
| 10 | (handle_single_display_spec): Return -1 for empty replacement. | ||
| 11 | |||
| 12 | * keyboard.c (adjust_point_for_property): Skip empty overlay string. | ||
| 13 | |||
| 14 | * .gdbinit (pitx): Print more info about iterator. | ||
| 15 | |||
| 16 | 2005-05-16 Andreas Schwab <schwab@suse.de> | ||
| 17 | |||
| 18 | * unexmacosx.c (unexec_realloc): Move declarations before | ||
| 19 | statements. | ||
| 20 | |||
| 1 | 2005-05-14 Richard M. Stallman <rms@gnu.org> | 21 | 2005-05-14 Richard M. Stallman <rms@gnu.org> |
| 2 | 22 | ||
| 3 | * xdisp.c (message3): Call cancel_echoing. | 23 | * xdisp.c (message3): Call cancel_echoing. |
| @@ -18,7 +38,7 @@ | |||
| 18 | (Finsert_file_contents): If we read 0 bytes from a special file, | 38 | (Finsert_file_contents): If we read 0 bytes from a special file, |
| 19 | unlock the visited file if we locked it. | 39 | unlock the visited file if we locked it. |
| 20 | (Fmake_symbolic_link, Frecent_auto_save_p): Doc fixes. | 40 | (Fmake_symbolic_link, Frecent_auto_save_p): Doc fixes. |
| 21 | (Ffile_exists_p, Ffile_symlink_p): Doc fixes. | 41 | (Ffile_exists_p, Ffile_symlink_p): Doc fixes. |
| 22 | 42 | ||
| 23 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 43 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 24 | 44 | ||
diff --git a/src/keyboard.c b/src/keyboard.c index 596df7aed79..490593750d3 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -446,11 +446,6 @@ Lisp_Object Qecho_area_clear_hook; | |||
| 446 | Lisp_Object Qpre_command_hook, Vpre_command_hook; | 446 | Lisp_Object Qpre_command_hook, Vpre_command_hook; |
| 447 | Lisp_Object Qpost_command_hook, Vpost_command_hook; | 447 | Lisp_Object Qpost_command_hook, Vpost_command_hook; |
| 448 | Lisp_Object Qcommand_hook_internal, Vcommand_hook_internal; | 448 | Lisp_Object Qcommand_hook_internal, Vcommand_hook_internal; |
| 449 | /* Hook run after a command if there's no more input soon. */ | ||
| 450 | Lisp_Object Qpost_command_idle_hook, Vpost_command_idle_hook; | ||
| 451 | |||
| 452 | /* Delay time in microseconds before running post-command-idle-hook. */ | ||
| 453 | EMACS_INT post_command_idle_delay; | ||
| 454 | 449 | ||
| 455 | /* List of deferred actions to be performed at a later time. | 450 | /* List of deferred actions to be performed at a later time. |
| 456 | The precise format isn't relevant here; we just check whether it is nil. */ | 451 | The precise format isn't relevant here; we just check whether it is nil. */ |
| @@ -1432,16 +1427,6 @@ command_loop_1 () | |||
| 1432 | 1427 | ||
| 1433 | if (!NILP (Vdeferred_action_list)) | 1428 | if (!NILP (Vdeferred_action_list)) |
| 1434 | safe_run_hooks (Qdeferred_action_function); | 1429 | safe_run_hooks (Qdeferred_action_function); |
| 1435 | |||
| 1436 | if (!NILP (Vpost_command_idle_hook) && !NILP (Vrun_hooks)) | ||
| 1437 | { | ||
| 1438 | if (NILP (Vunread_command_events) | ||
| 1439 | && NILP (Vunread_input_method_events) | ||
| 1440 | && NILP (Vunread_post_input_method_events) | ||
| 1441 | && NILP (Vexecuting_kbd_macro) | ||
| 1442 | && !NILP (sit_for (0, post_command_idle_delay, 0, 1, 1))) | ||
| 1443 | safe_run_hooks (Qpost_command_idle_hook); | ||
| 1444 | } | ||
| 1445 | } | 1430 | } |
| 1446 | 1431 | ||
| 1447 | Vmemory_full = Qnil; | 1432 | Vmemory_full = Qnil; |
| @@ -1807,16 +1792,6 @@ command_loop_1 () | |||
| 1807 | if (!NILP (Vdeferred_action_list)) | 1792 | if (!NILP (Vdeferred_action_list)) |
| 1808 | safe_run_hooks (Qdeferred_action_function); | 1793 | safe_run_hooks (Qdeferred_action_function); |
| 1809 | 1794 | ||
| 1810 | if (!NILP (Vpost_command_idle_hook) && !NILP (Vrun_hooks)) | ||
| 1811 | { | ||
| 1812 | if (NILP (Vunread_command_events) | ||
| 1813 | && NILP (Vunread_input_method_events) | ||
| 1814 | && NILP (Vunread_post_input_method_events) | ||
| 1815 | && NILP (Vexecuting_kbd_macro) | ||
| 1816 | && !NILP (sit_for (0, post_command_idle_delay, 0, 1, 1))) | ||
| 1817 | safe_run_hooks (Qpost_command_idle_hook); | ||
| 1818 | } | ||
| 1819 | |||
| 1820 | /* If there is a prefix argument, | 1795 | /* If there is a prefix argument, |
| 1821 | 1) We don't want Vlast_command to be ``universal-argument'' | 1796 | 1) We don't want Vlast_command to be ``universal-argument'' |
| 1822 | (that would be dumb), so don't set Vlast_command, | 1797 | (that would be dumb), so don't set Vlast_command, |
| @@ -1932,10 +1907,13 @@ adjust_point_for_property (last_pt, modified) | |||
| 1932 | ? get_property_and_range (PT, Qdisplay, &val, &beg, &end, Qnil) | 1907 | ? get_property_and_range (PT, Qdisplay, &val, &beg, &end, Qnil) |
| 1933 | : (beg = OVERLAY_POSITION (OVERLAY_START (overlay)), | 1908 | : (beg = OVERLAY_POSITION (OVERLAY_START (overlay)), |
| 1934 | end = OVERLAY_POSITION (OVERLAY_END (overlay)))) | 1909 | end = OVERLAY_POSITION (OVERLAY_END (overlay)))) |
| 1935 | && beg < PT) /* && end > PT <- It's always the case. */ | 1910 | && (beg < PT /* && end > PT <- It's always the case. */ |
| 1911 | || (beg <= PT && STRINGP (val) && SCHARS (val) == 0))) | ||
| 1936 | { | 1912 | { |
| 1937 | xassert (end > PT); | 1913 | xassert (end > PT); |
| 1938 | SET_PT (PT < last_pt ? beg : end); | 1914 | SET_PT (PT < last_pt |
| 1915 | ? (STRINGP (val) && SCHARS (val) == 0 ? beg - 1 : beg) | ||
| 1916 | : end); | ||
| 1939 | check_composition = check_invisible = 1; | 1917 | check_composition = check_invisible = 1; |
| 1940 | } | 1918 | } |
| 1941 | check_display = 0; | 1919 | check_display = 0; |
| @@ -10987,9 +10965,6 @@ syms_of_keyboard () | |||
| 10987 | Qpost_command_hook = intern ("post-command-hook"); | 10965 | Qpost_command_hook = intern ("post-command-hook"); |
| 10988 | staticpro (&Qpost_command_hook); | 10966 | staticpro (&Qpost_command_hook); |
| 10989 | 10967 | ||
| 10990 | Qpost_command_idle_hook = intern ("post-command-idle-hook"); | ||
| 10991 | staticpro (&Qpost_command_idle_hook); | ||
| 10992 | |||
| 10993 | Qdeferred_action_function = intern ("deferred-action-function"); | 10968 | Qdeferred_action_function = intern ("deferred-action-function"); |
| 10994 | staticpro (&Qdeferred_action_function); | 10969 | staticpro (&Qdeferred_action_function); |
| 10995 | 10970 | ||
| @@ -11435,16 +11410,6 @@ the hook value is set to nil, since otherwise the error | |||
| 11435 | might happen repeatedly and make Emacs nonfunctional. */); | 11410 | might happen repeatedly and make Emacs nonfunctional. */); |
| 11436 | Vpost_command_hook = Qnil; | 11411 | Vpost_command_hook = Qnil; |
| 11437 | 11412 | ||
| 11438 | DEFVAR_LISP ("post-command-idle-hook", &Vpost_command_idle_hook, | ||
| 11439 | doc: /* Normal hook run after each command is executed, if idle. | ||
| 11440 | Errors running the hook are caught and ignored. */); | ||
| 11441 | Vpost_command_idle_hook = Qnil; | ||
| 11442 | |||
| 11443 | DEFVAR_INT ("post-command-idle-delay", &post_command_idle_delay, | ||
| 11444 | doc: /* Delay time before running `post-command-idle-hook'. | ||
| 11445 | This is measured in microseconds. */); | ||
| 11446 | post_command_idle_delay = 100000; | ||
| 11447 | |||
| 11448 | #if 0 | 11413 | #if 0 |
| 11449 | DEFVAR_LISP ("echo-area-clear-hook", ..., | 11414 | DEFVAR_LISP ("echo-area-clear-hook", ..., |
| 11450 | doc: /* Normal hook run when clearing the echo area. */); | 11415 | doc: /* Normal hook run when clearing the echo area. */); |
diff --git a/src/unexmacosx.c b/src/unexmacosx.c index fc369eab7cd..e54dbea448c 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Dump Emacs in Mach-O format for use on Mac OS X. | 1 | /* Dump Emacs in Mach-O format for use on Mac OS X. |
| 2 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -1069,10 +1069,10 @@ unexec_realloc (void *old_ptr, size_t new_size) | |||
| 1069 | 1069 | ||
| 1070 | if (ptr_in_unexec_regions (old_ptr)) | 1070 | if (ptr_in_unexec_regions (old_ptr)) |
| 1071 | { | 1071 | { |
| 1072 | p = (size_t *) malloc (new_size); | ||
| 1073 | size_t old_size = ((unexec_malloc_header_t *) old_ptr)[-1].u.size; | 1072 | size_t old_size = ((unexec_malloc_header_t *) old_ptr)[-1].u.size; |
| 1074 | size_t size = new_size > old_size ? old_size : new_size; | 1073 | size_t size = new_size > old_size ? old_size : new_size; |
| 1075 | 1074 | ||
| 1075 | p = (size_t *) malloc (new_size); | ||
| 1076 | if (size) | 1076 | if (size) |
| 1077 | memcpy (p, old_ptr, size); | 1077 | memcpy (p, old_ptr, size); |
| 1078 | } | 1078 | } |
diff --git a/src/xdisp.c b/src/xdisp.c index 7d4ac6916fa..6bde1970bf3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3458,7 +3458,10 @@ handle_display_prop (it) | |||
| 3458 | } | 3458 | } |
| 3459 | else | 3459 | else |
| 3460 | { | 3460 | { |
| 3461 | if (handle_single_display_spec (it, prop, object, position, 0)) | 3461 | int ret = handle_single_display_spec (it, prop, object, position, 0); |
| 3462 | if (ret < 0) /* Replaced by "", i.e. nothing. */ | ||
| 3463 | return HANDLED_RECOMPUTE_PROPS; | ||
| 3464 | if (ret) | ||
| 3462 | display_replaced_p = 1; | 3465 | display_replaced_p = 1; |
| 3463 | } | 3466 | } |
| 3464 | 3467 | ||
| @@ -3502,7 +3505,8 @@ display_prop_end (it, object, start_pos) | |||
| 3502 | property ends. | 3505 | property ends. |
| 3503 | 3506 | ||
| 3504 | Value is non-zero if something was found which replaces the display | 3507 | Value is non-zero if something was found which replaces the display |
| 3505 | of buffer or string text. */ | 3508 | of buffer or string text. Specifically, the value is -1 if that |
| 3509 | "something" is "nothing". */ | ||
| 3506 | 3510 | ||
| 3507 | static int | 3511 | static int |
| 3508 | handle_single_display_spec (it, spec, object, position, | 3512 | handle_single_display_spec (it, spec, object, position, |
| @@ -3816,6 +3820,11 @@ handle_single_display_spec (it, spec, object, position, | |||
| 3816 | 3820 | ||
| 3817 | if (STRINGP (value)) | 3821 | if (STRINGP (value)) |
| 3818 | { | 3822 | { |
| 3823 | if (SCHARS (value) == 0) | ||
| 3824 | { | ||
| 3825 | pop_it (it); | ||
| 3826 | return -1; /* Replaced by "", i.e. nothing. */ | ||
| 3827 | } | ||
| 3819 | it->string = value; | 3828 | it->string = value; |
| 3820 | it->multibyte_p = STRING_MULTIBYTE (it->string); | 3829 | it->multibyte_p = STRING_MULTIBYTE (it->string); |
| 3821 | it->current.overlay_string_index = -1; | 3830 | it->current.overlay_string_index = -1; |