1272
3097
(slime-mode-hook): Rebind simple characters to
1273
3098
slime-self-insert-command.
1275
2005-12-07 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
1277
* swank-allegro.lisp (find-definition-in-file)
3100
2005-12-07 18:51 mkoeppe
3106
2005-12-07 18:47 mkoeppe
3108
* swank-allegro.lisp:
3110
(find-definition-in-file)
1278
3111
(find-fspec-location, fspec-definition-locations): Allegro CL
1279
3112
properly records all definitions made by arbitrary macros whose
1280
3113
names start with "def". Use excl::find-source-file and
1281
3114
scm:find-definition-in-definition-group (rather than
1282
3115
scm:find-definition-in-file) to find them.
1284
* slime.el (slime-load-file): Change the default to be the buffer
3117
2005-12-07 14:16 mkoeppe
3123
2005-12-07 14:15 mkoeppe
3127
(slime-load-file): Change the default to be the buffer
1285
3128
file name with extension. This is more convenient for files like
1286
3129
.asd files that do not have the default source file extension.
1287
3130
(slime-save-some-lisp-buffers, slime-update-modeline-package):
1288
3131
Handle all files with major mode in slime-lisp-modes, not just
1291
2005-12-06 Juho Snellman <jsnell@iki.fi>
1293
* swank-sbcl.lisp (function-source-location,
1294
safe-function-source-location): Oops, define these functions also
1295
for the >0.9.6 case. Fixes broken sldb-show-source on SBCL 0.9.7.
1297
2005-12-05 Helmut Eller <heller@common-lisp.net>
1299
* slime.el (slime-find-coding-system): Use check-coding-system
1300
only if it's actually fbound.
1302
2005-11-22 Marco Monteiro <masmxx@gmail.com>
1304
* slime.el (slime-connect): Use slime-net-coding system if the
1305
optional arg coding-system was not supplied.
1307
2005-11-22 Helmut Eller <heller@common-lisp.net>
1309
* slime.el (slime-compile-file): Call 'check-parens before
3134
2005-12-06 00:01 jsnellman
3136
* ChangeLog, swank-sbcl.lisp:
3138
2005-12-06 Juho Snellman <jsnell@iki.fi>
3139
* swank-sbcl.lisp (function-source-location,
3140
safe-function-source-location): Oops, define these functions
3141
also for the >0.9.6 case. Fixes broken sldb-show-source on
3144
2005-12-05 21:20 heller
3150
2005-12-05 21:19 heller
3154
(slime-find-coding-system): Use check-coding-system only if it's
3157
2005-11-22 21:44 heller
3163
2005-11-22 21:42 heller
3167
(slime-connect): Use slime-net-coding system if the optinal
3168
coding-system was not supplied. From Marco Monteiro.
3170
2005-11-22 11:37 heller
3176
2005-11-22 11:36 heller
1311
3180
(slime-compile-file): Call 'check-parens before compiling.
1312
(slime-find-coding-system): Return nil if the coding system
1313
isn'tvalid instead of singalling an error.
1314
(slime-repl-history-file-coding-system): Use
1315
slime-find-coding-system to find the default.
1317
* swank-cmucl.lisp (accept-connection): Remove fd-handlers if the
1318
encoding isn't iso-latin-1.
1320
2005-11-21 Helmut Eller <heller@common-lisp.net>
1322
* slime.el (slime-start): Don't set slime-net-coding-system ..
3182
(slime-find-coding-system): Return nil if the coding system isn't
3183
valid instead of signalling an error.
3184
(slime-repl-history-file-coding-system): Use slime-find-coding-system
3187
2005-11-22 11:32 heller
3191
(accept-connection): Remove fd-handlers if the encoding isn't
3194
2005-11-21 00:31 heller
3198
Mention READ-CHAR-NO-HANG brokeness.
3200
2005-11-21 00:30 heller
3206
2005-11-21 00:29 heller
3210
(inspect-for-emacs): Add support for funcallable instances.
3212
2005-11-21 00:27 heller
3216
(pprint-inspector-part, swank-compiler-macroexpand): New.
3218
2005-11-21 00:25 heller
3220
* swank-backend.lisp:
3222
(compiler-macroexpand-1, compiler-macroexpand): New functions.
3224
2005-11-21 00:24 heller
3228
(slime-start): Don't set slime-net-coding-system ..
1323
3229
(slime-read-port-and-connect): .. read it from the inferior lisp args.
1324
3230
(slime-connect): Take the coding-system as third argument.
1325
3232
(slime-repl-history-file-coding-system): New user option.
1326
(slime-repl-safe-save-merged-history): New function. Use it in
1327
hooks so that bad coding systems don't stop us from exiting.
1328
(slime-repl-save-history): Include the coding-system which was
1329
used to save the buffer.
3233
(slime-repl-safe-save-merged-history): New function. Use it in hooks
3234
so that bad coding systems don't stop us from exiting.
3235
(slime-repl-save-history): Include the coding-system which was used to
1330
3238
(repl-shoctut change-package): Add alias ,in and ,in-package.
1331
(slime-eval-macroexpand): Error out early if there's no sexp at
3240
(slime-eval-macroexpand): Error out early if there's no sexp at point.
1333
3242
(slime-compiler-macroexpand): New command.
1334
3244
(slime-inspector-pprint): New command.
1336
* swank-cmucl.lisp (inspect-for-emacs): Add support for
1337
funcallable instances.
1339
* swank.lisp (pprint-inspector-part, swank-compiler-macroexpand): New.
1341
* swank-backend.lisp (compiler-macroexpand)
1342
(compiler-macroexpand-1): New functions.
1344
2005-11-14 Douglas Crosher <dcrosher@common-lisp.net>
3246
2005-11-13 23:31 dcrosher
3248
* ChangeLog, swank-scl.lisp:
1346
3250
* swank-scl.lisp (accept-connection): handle the :buffering argument.
1348
2005-11-13 Andras Simon <andras@renyi.hu>
1350
* swank-abcl.lisp: (accept-connection): New argument: buffering.
1352
2005-11-13 Andras Simon <andras@renyi.hu>
1354
* swank-abcl.lisp: Steal auto-flush stuff from swank-sbcl.lisp
1356
2005-11-11 Helmut Eller <heller@common-lisp.net>
1358
* swank.lisp (*dedicated-output-stream-buffering*): New variable
1359
to customize the buffering scheme. For single-threaded Lisps we
1360
disable buffering because lazy programmers forget to call
3252
2005-11-13 18:32 asimon
3256
swank-abcl.lisp: (accept-connection): New argument: buffering.
3258
2005-11-13 18:27 asimon
3262
(accept-connection): New argument: buffering.
3264
2005-11-13 12:24 asimon
3268
swank-abcl.lisp: Steal auto-flush stuff from swank-sbcl.lisp
3270
2005-11-13 12:22 asimon
3274
Steal auto-flush stuff from swank-sbcl.lisp
3276
2005-11-12 00:47 heller
3280
(*dedicated-output-stream-buffering*): New variable to customize the
3281
buffering scheme. For single-threaded Lisps we disable buffering
3282
because lazy programmers forget to call finish-output.
1362
3283
(open-dedicated-output-stream): Use it.
1364
* swank-backend.lisp, swank-allegro.lisp, swank-lispworks.lisp,
1365
swank-openmcl.lisp, swank-cmucl.lisp, swank-sbcl.lisp,
1366
swank-clisp.lisp, swank-abcl.lisp, swank-corman.lisp,
1367
swank-ecl.lisp (accept-connection): New argument: buffering.
1369
* slime.el (slime-repl-save-history): When the history exceeds
1370
slime-repl-history-size remove the old not the new entries.
3285
2005-11-12 00:47 heller
3291
2005-11-12 00:45 heller
3295
(slime-repl-save-history): When the history exceeds
3296
slime-repl-history-size remove the old not the new entries.
1372
3299
slime-repl-read-history -> slime-repl-load-history,
1373
3300
slime-repl-read-history-internal -> slime-repl-read-history.
1374
(slime-eval-macroexpand): Call font-lock-fontify-buffer
1375
explicitly, because with certain Emacs versions the buffer doesn't
1376
get fontified immediately.
1378
2005-11-07 Helmut Eller <heller@common-lisp.net>
1380
* slime.el (slime-eval-macroexpand): Use lisp-mode (and
1381
font-lock-mode) when dispaying the expansion. Suggested by Jan
1384
* swank-source-path-parser.lisp (make-source-recording-readtable):
1385
Suppress the #. reader-macro.
1387
2005-11-06 Juho Snellman <jsnell@iki.fi>
1389
* swank-sbcl.lisp (find-definitions, make-source-location-specification
1390
make-definition-source-location, source-hint-snippet): As of
1391
SBCL 0.9.6.25 SB-INTROSPECT has better support for finding
1392
source locations. Use as much of it in swank-sbcl as possible.
1393
(Original version left reader-conditionalized for older SBCLs).
1395
2005-11-04 Helmut Eller <heller@common-lisp.net>
1397
* swank.lisp (connection-info): Docfix.
1399
* slime.el (slime-set-connection-info): Generate a new connection
1400
name only if the implementation-name and the inferior-lisp-name
1403
2005-10-31 Helmut Eller <heller@common-lisp.net>
1405
* slime.el (slime-start, slime-lookup-lisp-implementation)
3302
(slime-eval-macroexpand): Call font-lock-fontify-buffer explicitly,
3303
because with certain Emacs versions the buffer doesn't get fontified
3306
2005-11-12 00:43 heller
3308
* swank-allegro.lisp, swank-backend.lisp, swank-clisp.lisp,
3309
swank-cmucl.lisp, swank-corman.lisp, swank-ecl.lisp,
3310
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
3313
(accept-connection): New argument: buffering.
3315
2005-11-07 09:30 heller
3321
2005-11-07 09:28 heller
3325
(slime-eval-macroexpand): Use lisp-mode (and font-lock-mode) when
3326
dispaying the expansion. Suggested by Jan Rychter.
3328
2005-11-07 09:24 heller
3330
* swank-source-path-parser.lisp:
3332
(make-source-recording-readtable): Suppress the #. reader-macro.
3333
(suppress-sharp-dot): New function.
3334
(read-source-form): Disable *read-eval*.
3336
(*source-map*): Deleted. We can do everything with a lexical variable.
3338
2005-11-06 10:09 jsnellman
3340
* ChangeLog, swank-sbcl.lisp:
3342
swank-sbcl.lisp (find-definitions, make-source-location-specification
3343
make-definition-source-location, source-hint-snippet):
3345
As of SBCL 0.9.6.25 SB-INTROSPECT has better support for finding
3346
source locations. Use as much of it in swank-sbcl as possible.
3347
(Original version left reader-conditionalized for older SBCLs).
3349
2005-11-04 10:07 heller
3355
2005-11-04 10:06 heller
3359
(slime-set-connection-info): Generate a new connection name only if
3360
the implementation-name and the inferior-lisp-name are different.
3362
2005-11-04 10:04 heller
3366
(connection-info): Docfix.
3368
2005-10-31 09:26 heller
3374
2005-10-31 09:22 heller
3378
(simple-serve-requests): Add an extra abort restart.
3380
(connection-info): Rename :type-name to :name.
3382
2005-10-31 09:21 heller
3386
(slime-start, slime-lookup-lisp-implementation)
1406
3387
(slime-set-connection-info): Add a :name property for the
1407
3388
implementation and use it to derive the connection-name.
1408
3389
(slime-lisp-implementation-name): Renamed from
1409
3390
slime-lisp-implementation-type-name.
1411
* swank.lisp (simple-serve-requests): Add an extra abort restart.
1412
(connection-info): Rename :type-name to :name.
1414
2005-10-30 Andras Simon <andras@renyi.hu>
3392
2005-10-30 18:07 asimon
1416
3397
* swank-abcl.lisp (inspect-for-emacs): Track mop changes in ABCL.
1418
2005-10-30 Helmut Eller <heller@common-lisp.net>
1420
* slime.el (slime-eval): Ensure that the connection is open before
1423
* swank.lisp (simple-serve-requests): Close the connection at the
1426
2005-10-23 Harald Hanche-Olsen <hanche@math.ntnu.no>
1428
* slime.el (slime-init-keymaps): Use vectors when defining keys,
1429
because e.g. (define-key (string ?\C-c) ...) doesn't work in the
1430
emacs-unicode-2 branch.
1432
2005-10-23 Stefan Kamphausen <skampi@gmx.net>
3399
2005-10-30 17:57 asimon
3403
Track mop changes in ABCL
3405
2005-10-30 16:14 heller
3411
2005-10-30 16:12 heller
3415
(slime-eval): Ensure that the connection is open before waiting for
3418
2005-10-30 16:07 heller
3422
(simple-serve-requests): Close the connection at the end.
3424
2005-10-23 10:52 heller
3426
* slime.el, ChangeLog:
1434
3428
* slime.el (slime-repl-history-size, slime-repl-history-file): Use
1435
3429
defcustom to declare the variables.
1437
2005-10-23 G�bor Melis <mega@hotpop.com>
3431
2005-10-23 10:47 heller
3433
* ChangeLog, swank-backend.lisp, swank-sbcl.lisp, swank.lisp:
1439
3435
* swank-backend.lisp (install-debugger-globally): new interface
1442
3438
* swank.lisp (install-debugger): call install-debugger-globally
1444
3440
* swank-sbcl.lisp (install-debugger-globally): set
1445
3441
sb-ext:*invoke-debugger-hook* too
1447
2005-10-23 Helmut Eller <heller@common-lisp.net>
1449
* swank-sbcl.lisp (make-stream-interactive): Spawn a thread to
1450
flush interactive streams in reasonably short intervals.
1451
Remove the old backward-compatible threading implementation.
1453
* swank.lisp (package-string-for-prompt): Respect *print-case*.
1455
2005-10-21 Helmut Eller <heller@common-lisp.net>
1457
* slime.el (slime-start-swank-server): Avoid comint-send-input
1458
here as it seems to trigger a bug in ansi-color-for-commit-mode.
1460
2005-10-18 Douglas Crosher <dcrosher@common-lisp.net>
1462
* swank.lisp (canonical-package-nickname): always return the
1463
package name as a STRING if found. This restores the printing of
1464
package names as strings.
1466
2005-10-17 Marco Baringer <mb@bese.it>
1468
* swank.lisp (eval-in-emacs): Instead of taking a string and
1469
attempting to parse it emacs side the function now takes a form
1470
and converts it to a string internally. This should allow users of
1471
the function to not have to worry about quoting issues and emacs'
1472
different printed represenation for, among other things,
1474
(process-form-for-emacs): New function. Converts a list into a
1475
string for passing to emacs.
1477
* slime.el (slime-eval-for-lisp): New API. This function now takes
1478
a single string, representing the form to evaluate, and uses
1479
emacs' read function to convert it into a form before eval'ing it.
1480
(slime-dispatch-event): The :eval event now passes a single
1481
string (instead of a string and something looking kind of like a
1484
2005-10-15 Douglas Crosher <dcrosher@common-lisp.net>
1486
* swank-scl.lisp: Support for Scieneer Common Lisp.
1488
* swank-backend.lisp (*gray-stream-symbols*) Scieneer Common Lisp
1489
implements stream-line-length.
1491
* swank-loader.lisp: Support for Scieneer Common Lisp:
1492
(*sysdep-pathnames*) use swank-scl.
1493
(*impl ementation-features*) add :scl.
1494
(*os-features*) add :hpux.
1495
(*architecture-features*) add :amd64, :i686, :i486, :sparc64, :sparc,
3443
2005-10-23 09:54 heller
3449
2005-10-23 09:49 heller
3453
(make-stream-interactive, *auto-flush-streams*)[sb-thread]: Spawn a
3454
thread to flush interactive streams in reasonably short intervals.
3456
2005-10-21 10:08 heller
3462
2005-10-21 10:05 heller
3466
(slime-start-swank-server): Avoid comint-send-input here as it seems
3467
to trigger a bug in ansi-color-for-commit-mode.
3469
2005-10-18 01:29 dcrosher
3473
* Restore the printing of package names as STRINGs.
3475
2005-10-18 01:26 dcrosher
3479
* (canonical-package-nickname): always return the package name as a symbol
3480
if found. This restores the printing of package names as strings.
3482
2005-10-17 20:16 mbaringer
3486
(eval-in-emacs): Instead of taking a string and attempting to parse it
3487
emacs side the function now takes a form and converts it to a string
3488
internally. This should allow users of the function to not have to
3489
worry about quoting issues and emacs' different printed represenation
3490
for, among other things, characters.
3491
(process-form-for-emacs): New function. Converts a list into a string
3492
for passing to emacs.
3494
2005-10-17 20:15 mbaringer
3498
(slime-eval-for-lisp): New API. This function now takes a single
3499
string, representing the form to evaluate, and uses emacs' read
3500
function to convert it into a form before eval'ing it.
3501
(slime-dispatch-event): The :eval event now passes a single string
3502
(instead of a string and something looking kind of like a form).
3504
2005-10-17 20:14 mbaringer
3510
2005-10-14 20:51 dcrosher
3514
Scieneer Common Lisp support.
3516
2005-10-14 20:28 dcrosher
3520
* Scieneer Common Lisp is now supported.
3522
2005-10-14 20:14 dcrosher
3524
* swank-backend.lisp:
3526
o *gray-stream-symbols*: Scieneer Common Lisp implements stream-line-length.
3528
2005-10-14 20:11 dcrosher
3530
* swank-loader.lisp:
3532
Support for Scieneer Common Lisp:
3533
o *sysdep-pathnames*: swank-scl.
3534
o *implementation-features*: add :scl.
3535
o *os-features*: add :hpux.
3536
o *architecture-features*: add :amd64, :i686, :i486, :sparc64, :sparc,
1496
3537
:hppa64, and :hppa.
1498
* swank.lisp: (*canonical-package-nicknames*) use lowercase
1499
symbols to name the packages. This supports CL implementations
1500
with lowercase default symbol names, such as Scieneer Common Lisp,
1501
while still being compatible with ANSI-CL.
1503
2005-10-11 Stefan Kamphausen <skampi@gmx.net>
1505
* slime.el: Persistent REPL history. The history from REPL
1506
buffers is now saved to the file ~/.slime-history.eld. The file
1507
is read on startup and saved when a REPL buffer gets killed or
1508
when Emacs exits. There are also commands to save or read the
3539
2005-10-14 20:05 dcrosher
3543
o *canonical-package-nicknames*: use lowercase symbols to name the packages.
3544
This supports CL implementations with lowercase default symbol names, such
3545
as Scieneer Common Lisp, while still being compatible with ANSI-CL.
3547
2005-10-14 20:02 dcrosher
3551
Scieneer Common Lisp code for SLIME.
3553
2005-10-11 23:11 heller
3559
2005-10-11 23:09 heller
3563
Persistent REPL history. The history from REPL buffers is now saved
3564
to the file ~/.slime-history.eld. The file is read on startup and
3565
saved when a REPL buffer gets killed or when Emacs exits. There are
3566
also commands to save or read the history file.
1510
3568
(slime-repl-save-merged-history, slime-repl-merge-histories)
1511
3569
(slime-repl-read-history, slime-repl-save-history): New functions.
1512
3570
(slime-repl-history-file, slime-repl-history-size): New vars.
1513
3572
(slime-repl-mode): Add hooks to load and save the history.
1515
2005-10-11 Helmut Eller <heller@common-lisp.net>
1517
* slime.el (slime-read-interactive-args): Split the string
1518
inferior-lisp-program to get the values for :program and
1519
:program-args. Also let slime-lisp-implementations take
1520
precedence if non-nil.
3574
From Stefan Kamphausen.
3576
2005-10-11 00:27 heller
3582
2005-10-11 00:25 heller
3586
(force-user-output): There seems to be a bug in Allegro's
3587
two-way-streams. As a workaround we use force-output for the user-io
3588
stream. (finish-output *debug-io*) still triggers the bug.
3590
2005-10-11 00:24 heller
3592
* swank-allegro.lisp:
3594
(find-external-format): Translate :utf-8-unix to :utf8, which Allegro
3597
2005-10-11 00:23 heller
3601
(slime-read-interactive-args): Split the string inferior-lisp-program
3602
to get the values for :program and :program-args. Also let
3603
slime-lisp-implementations take precedence if non-nil.
1521
3605
(slime-lisp-implementations): Renamed from
1522
3606
slime-registered-lisp-implementations.
1524
* swank.lisp (force-user-output): There seems to be a bug in
1525
Allegro's two-way-streams. As a workaround we use force-output for
1526
the user-io stream. (finish-output *debug-io*) still triggers the
1529
2005-10-10 Svein Ove Aas <svein.ove@aas.no>
1531
* swank-allegro.lisp (find-external-format): Translate :utf-8-unix
1532
to :utf8, which Allegro 7.0 understands.
1534
2005-10-09 Helmut Eller <heller@common-lisp.net>
1536
* slime.el (slime, slime-start): Introduce a separate function for
3608
2005-10-09 21:17 heller
3614
2005-10-09 21:13 heller
3618
(sis/in): Use finish-output instead of force-output.
3620
2005-10-09 21:10 heller
3624
(slime, slime-start): Introduce a separate function for
1537
3625
the non-interactive case. `slime-start' takes lots of keyword
1538
arguments and `slime' is reserved for interactive use.
3626
arguments and `slime' is reserved for interactive use.
1539
3627
(slime-read-interactive-args): New function.
1540
3629
(slime-maybe-start-lisp, slime-inferior-lisp)
1541
(slime-start-swank-server): Pass all arguments needed to start
1542
the subprocess as a property list. Also store this list in a
1543
buffer-local var in the inferior-lisp buffer, so that we can
1544
cleanly restart the process.
3630
(slime-start-swank-server): Pass all argumenets needed to start the
3631
subprocess as a property list. Also store this list in a buffer-local
3632
var in the inferior-lisp buffer, so that we can cleanly restart the
1545
3635
(slime-registered-lisp-implementations): Change the format and
1546
3636
document it. M-- M-x slime can now be used select a registered
1548
3639
(slime-symbolic-lisp-name): Deleted. And updated all the functions
1549
which passed it along.
3640
which pass it along.
1550
3642
(slime-set-connection-info): Use the new format.
1551
(slime-output-buffer): Don't re-initialize buffer-local variables
1552
if the buffer already exists. This saves the history. From Juho
3644
(slime-output-buffer): Don't re-initialize buffer-local variables if
3645
the buffer already exists. This saves the history. From Juho
1555
* swank-cmucl.lisp (sis/in): Use finish-output instead of
1558
* swank.lisp (connection-info): Include the initial package and
1559
a more self-descriptive format.
1561
2005-10-01 Juho Snellman <jsnell@iki.fi>
1563
* swank-backend (*gray-stream-symbols*): Add :STREAM-LINE-LENGTH
1564
to *GRAY-STREAM-SYMBOLS* on implementations that support this
1565
extension to gray streams. Reported by Matthew D Swank.
1567
2005-09-29 Luke Gorrie <luke@synap.se>
1569
* swank-scheme48: Removed due to excessive whining.
1571
2005-09-28 Helmut Eller <heller@common-lisp.net>
1573
* slime.el (slime-multiprocessing): Deleted. No longer needed.
3648
2005-10-09 20:55 heller
3652
(connection-info): Include the initial package and a more
3653
self-descriptive format.
3655
2005-10-01 14:00 jsnellman
3657
* ChangeLog, swank-backend.lisp:
3659
2005-10-01 Juho Snellman <jsnell@iki.fi>
3660
* swank-backend (*gray-stream-symbols*): Add :STREAM-LINE-LENGTH
3661
to *GRAY-STREAM-SYMBOLS* on implementations that support this
3662
extension to gray streams. Reported by Matthew D Swank.
3664
2005-09-29 07:16 lgorrie
3670
2005-09-28 00:44 heller
3674
(start-server): Call initialize-multiprocessing before starting the
3675
server and startup-idle-and-top-level-loops afterwards. Calling
3676
startup-idle-and-top-level-loops here shouldn't be a problem because
3677
start-server is only invoked at startup via stdin.
3679
(inspector-reinspect): New function.
3681
2005-09-28 00:42 heller
3685
(slime-multiprocessing): Deleted. No longer needed.
1574
3686
(slime-init-command): Updated accordingly.
1575
3688
(slime-current-package): Add a special case for Scheme.
1576
(slime-simple-completions, slime-apropos): Quote the package,
1577
because in can be a plain symbol in Scheme.
3689
(slime-simple-completions, slime-apropos): Quote the package, because
3690
in can be a plain symbol in Scheme.
1578
3692
(slime-inspector-reinspect): Use a proper defslimefun.
1580
* swank.lisp (inspector-reinspect): New function.
1581
(start-server): Call initialize-multiprocessing before starting
1582
the server and startup-idle-and-top-level-loops afterwards.
1583
Calling startup-idle-and-top-level-loops here shouldn't be a
1584
problem because start-server is only invoked at startup via stdin.
1586
* swank-scheme48/source-location.scm: New file. For M-.
1587
* swank-scheme48/module.scm (list-all-package): New function.
1588
* swank-scheme48/interfaces.scm (module-control-interface): Export it.
1589
* swank-scheme48/inspector.scm: Add methods for records and hashtables.
1590
(swank:arglist-for-echo-area): Implement it. Only works for
1591
functions with enough debug-data (ie. only user-defined functions).
1592
* swank-scheme48/completion.scm: New file.
1593
(swank:simple-completions, swank:apropos-list-for-emacs): Implemented.
1594
* swank-scheme48/load.scm, swank-scheme48/defrectypeX.scm: Renamed
1595
the file from defrectype*.scm
1596
* swank-scheme48/packages.scm (swank-general-rpc): Don't use
1597
posix-process because it doesn't work on Windows, and we don't need
1598
it for a mulithreaded server.
1600
2005-09-22 Helmut Eller <heller@common-lisp.net>
1602
* swank-backend.lisp (*gray-stream-symbols*): Collect the needed
1603
symbols here, so that we don't need to mention them in every
3694
2005-09-28 00:17 heller
3700
2005-09-27 23:50 heller
3702
* swank-allegro.lisp, swank-backend.lisp, swank-cmucl.lisp,
3703
swank-lispworks.lisp:
3705
(startup-multiprocessing): Deleted.
3706
(initialize-multiprocessing, startup-idle-and-top-level-loops): The
3707
replacements for startup-multiprocessing. startup-idle-and-top-level-loops is
3708
only needed for CMUCL, but initialize-multiprocessing is useful for other too.
3710
2005-09-22 22:27 heller
3716
2005-09-22 22:23 heller
3720
(accept-authenticated-connection): Minor fix. Ensure that the decoded
3721
message is a string before calling string= on it. Patch from
3724
2005-09-22 22:20 heller
3726
* swank-allegro.lisp, swank-ecl.lisp, swank-lispworks.lisp,
3727
swank-openmcl.lisp, swank-sbcl.lisp:
3729
Use *gray-stream-symbols* instead of enumerating them in each backend.
3731
2005-09-22 22:17 heller
3733
* swank-backend.lisp:
3735
(*gray-stream-symbols*): Collect the needed symbols here, so that we
3736
don't need to mention them in every backend.
1605
3737
(import-from). New function.
1607
* swank-sbcl.lisp, swank-allegro.lisp, swank-lispworks.lisp,
1608
swank-openmcl.lisp, swank-ecl.lisp: Use *gray-stream-symbols* when
1609
importing the needed symbols.
1611
* swank-gray.lisp (stream-fresh-line): Define a method, so that
1612
Allegro passes our tests.
1614
2005-09-21 Aleksandar Bakic <a_bakic@yahoo.com>
1616
* swank.lisp (accept-authenticated-connection): Minor fix. Ensure
1617
that the decoded message is a string before calling string= on it.
1619
2005-09-21 Helmut Eller <heller@common-lisp.net>
1621
* slime.el (slime-setup-command-hooks): Make
1622
after-change-functions a buffer-local variable; it's by default
1625
* swank.lisp (throw-to-toplevel): Invoke the `abort-restart'
1626
request instead of throwing to the `slime-toplevel' catch tag.
3739
2005-09-22 22:15 heller
3743
(stream-fresh-line): Define a method, so that Allegro passes our tests.
3745
2005-09-21 22:55 heller
3751
2005-09-21 22:54 heller
3755
Import `stream-finish-output'.
3757
2005-09-21 22:50 heller
3761
(slime-setup-command-hooks): Make after-change-functions a
3762
buffer-local variable; it's by default global in XEmacs.
3764
2005-09-21 22:43 heller
3768
(throw-to-toplevel): Invoke the `abort-restart' request instead of
3769
throwing to the `slime-toplevel' catch tag.
1627
3770
(handle-request): Rename the restart from abort to abort-request.
1628
(call-with-connection): Remove the slime-toplevel catch tag
1629
because with-connection is used in far to many places which aren't
1632
* present.lisp (presentation-start, presentation-end): Use
1633
finish-output instead of force-output.
1635
* swank-gray.lisp, swank-cmucl.lisp: Improve stream efficiency by
1636
buffering more output. stream-force-output simply does nothing, if
1637
the output buffer was flushed less than 200 millisecons before.
1638
stream-finish-output can still be used to really flush the buffer.
1639
(slime-output-stream): New slot last-flush-time.
1640
(stream-finish-output): New function. Do what stream-force-output
1642
(stream-force-output): Buffer more output.
1644
* slime.el (slime-process-available-input): Oops, don't start a
1645
timer for every event.
3771
(call-with-connection): Remove the slime-toplevel catch tag because
3772
with-connection is used in far to many places which aren't at "toplevel".
3774
2005-09-21 22:33 heller
3778
(presentation-start, presentation-end): Use finish-output instead of
3781
2005-09-21 13:53 heller
3787
2005-09-21 13:50 heller
3791
(slime-io-speed-test): New command.
3792
(slime-process-available-input): Oops, don't start a timer for every event.
1646
3794
(slime-write-string): Renamed from slime-output-string.
1647
3795
(slime-dispatch-event): Rename :read-output to :write-string.
1648
(slime-io-speed-test): New command.
1649
3797
(slime-open-stream-to-lisp): Fix parens. The coding system should
1650
3798
also be set if presentations are disabled.
1652
* swank.lisp (make-output-function): Rename :read-output to
1654
(eval-for-emacs, interactive-eval, eval-region): Use finish-output
1657
* swank-sbcl.lisp, swank-openmcl.lisp, swank-allegro.lisp,
1658
swank-lispworks: Import `stream-finish-output'.
1660
* swank-scheme48/io.scm (empty-swank-output-buffer): Rename
1661
:read-output to :write-string.
1663
* swank-scheme48/load.scm (slime48-start): Fix '() vs. #f bug.
1665
2005-09-19 Luke Gorrie <luke@synap.se>
1667
* nregex.lisp: Released into the public domain by Lawrence E. Freil.
1669
2005-09-19 Helmut Eller <heller@common-lisp.net>
1671
* slime.el (slime48): New command.
1673
2005-09-19 Taylor Campbell <campbell@mumble.net>
1675
* swank-scheme48/: New backend.
1677
2005-09-18 Wolfgang Jenkner <wjenkner@inode.at>
1679
* bridge.el: cl is required at macro expansion time (because of
1680
`block'). Reported by Matthew D Swank.
1682
2005-09-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
1684
* swank.lisp: Move presentation menu protocol here from present.lisp.
1686
2005-09-15 Alan Ruttenberg <alanr-l@mumble.net>
1687
* slime.el (slime-repl-return) don't copy presentation to input if
1688
already in input area.
1690
2005-09-15 Helmut Eller <heller@common-lisp.net>
1692
* swank-clisp.lisp (compute-backtrace): Include only "function
1693
frames" in the backtrace. I hope that makes some sense.
1694
(sldb-backtrace, function-frame-p): New functions.
1695
(*sldb-backtrace*, call-with-debugging-environment, nth-frame):
1696
Compute and remember the backtrace when entering the debugger.
1697
(arglist): If the function has a function-lambda-expression, fetch
1698
the arglist from there.
1699
(find-encoding): Use strings instead of 'charset:foo symbols to
1700
avoid compile time problems if the charset is not available.
1701
Suggested by Vaucher Laurent.
1703
* swank.lisp (eval-in-emacs): Fix a race condition which occurred
3800
2005-09-21 13:43 heller
3802
* swank-allegro.lisp, swank-ecl.lisp, swank-lispworks.lisp,
3805
Import `stream-finish-output'.
3807
2005-09-21 13:41 heller
3811
(make-output-function): Rename :read-output to :write-string.
3813
(eval-for-emacs, interactive-eval, eval-region): Use finish-output not
3816
2005-09-21 13:40 heller
3820
Improve stream efficiency by buffering more
3821
output. stream-force-output simply does nothing, if the output buffer
3822
was flushed less than 200 millisecons before. stream-finish-output
3823
can still be used to really flush the buffer.
3825
(slime-output-stream): New slot last-flush-time.
3826
(stream-finish-output): New function. Did was stream-force-output did
3828
(stream-force-output): Buffer more output.
3830
2005-09-21 13:39 heller
3834
Improve stream efficiency by buffering more
3835
output. stream-force-output simply does nothing, if the output buffer
3836
was flushed less than 200 millisecons before. stream-finish-output
3837
can still be used to really flush the buffer.
3839
(slime-output-stream): New slot last-flush-time.
3840
(stream-finish-output): New function. Did was stream-force-output
3842
(stream-force-output): Buffer more output.
3844
2005-09-19 10:20 lgorrie
3846
* ChangeLog, nregex.lisp:
3848
Released into the public domain by Lawrence E. Freil.
3850
2005-09-18 23:16 heller
3856
2005-09-18 23:13 heller
3860
(slime48): New Command.
3862
2005-09-18 18:25 wjenkner
3868
2005-09-18 18:23 wjenkner
3872
cl is required at macro expansion time (because of `block'). Reported
3875
2005-09-18 16:36 mkoeppe
3881
2005-09-18 16:35 mkoeppe
3885
Move presentation menu protocol to swank.lisp.
3887
2005-09-18 16:34 mkoeppe
3891
Move presentation menu protocol here from present.lisp.
3893
2005-09-16 05:43 aruttenberg
3895
* ChangeLog, slime.el:
3897
(slime-repl-return) don't copy presentation to input if already in input area.
3899
2005-09-15 10:31 heller
3905
2005-09-15 10:28 heller
3909
(eval-in-emacs): Fix a race condition which occurred with sigio.
1705
3910
(*echo-area-prefix*): New variable.
1707
* slime.el (slime-process-available-input): Simplify it a bit and
1708
make it easier to debug read errors.
3912
2005-09-15 10:25 heller
3916
(slime-process-available-input): Simplify it a bit and make it easier
3917
to debug read errors.
1709
3918
(slime-net-close): Don't kill the buffer if the new optional arg
1710
3919
`debug' is true.
1711
3920
(slime-run-when-idle): Accept arguments for the function.
1712
(slime-init-connection-state): Close over the proc variable. It
1713
was lost when the async evaluation returned.
3922
(slime-init-connection-state): Close over the proc variable. It was
3923
lost when the async evaluation returned.
1714
3925
(slime-output-buffer, slime-connection-output-buffer): Make
1715
3926
slime-output-buffer faster by keeping the buffer in a connection
1717
3929
(slime-restart-inferior-lisp-aux, slime-quit-lisp): Disable the
1718
3930
process filter to avoid errors in XEmacs.
1720
2005-09-14 Alan Ruttenberg <alanr-l@mumble.net>
3932
2005-09-15 10:17 heller
3936
(compute-backtrace): Include only "function
3937
frames" in the backtrace. I hope that makes some sense.
3938
(sldb-backtrace, function-frame-p): New functions.
3939
(*sldb-backtrace*, call-with-debugging-environment, nth-frame):
3940
Compute and remember the backtrace when entering the debugger.
3942
(arglist): If the function has a function-lambda-expression, fetch the
3945
(find-encoding): Use strings instead of 'charset:foo symbols to avoid
3946
compile time problems if the charset is not available. Suggested by
3949
2005-09-15 06:42 aruttenberg
3955
2005-09-15 05:37 aruttenberg
3957
* ChangeLog, slime.el, swank.lisp:
1722
3960
* slime.el (slime-menu-choices-for-presentation), (slime-presentation-menu)
1723
3961
Fix loss after refactoring. xemacs can't handle lambda forms in
2136
4641
(slime-read-object): Use slime-presentation-around-point.
2138
4643
* slime.el (toplevel): Don't handle slime-repl-old-output text
2140
4645
(slime-add-presentation-properties): Likewise.
2141
4646
(slime-after-change-function): Likewise.
2143
2005-08-12 Yaroslav Kavenchuk <kavenchuk@jenty.by>
2145
* swank-clisp.lisp (fspec-pathname): Use the documentation
2146
function instead of accessing clisp internals.
2148
2005-08-11 Edi Weitz <edi@agharta.de>
2150
* swank.lisp (transpose-lists): Fixed it.
2152
2005-08-10 Alan Ruttenberg <alanr-l@mumble.net>
2154
* slime.el move slime-repl-add-to-input-history to
2155
slime-repl-send-input so we can see the presentations we copied to
2156
input when we reuse history rather than #.(blah...)
2157
[Thanks Matthias! - was very busy and just returned to see your
2158
changes merged. Most excellent.]
2160
2005-08-10 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
2162
* slime.el (slime-presentation-around-point): Change interface,
4648
2005-08-12 13:14 mbaringer
4654
2005-08-12 13:14 mbaringer
4658
(fspec-pathname): Use the documentation function instead of accessing
4661
2005-08-11 10:41 eweitz
4663
* ChangeLog, swank.lisp:
4665
TRANSPOSE-LISTS again...
4667
2005-08-11 05:06 aruttenberg
4669
* ChangeLog, slime.el:
4673
2005-08-10 21:59 mkoeppe
4679
2005-08-10 21:57 mkoeppe
4683
(slime-presentation-around-point): Change interface,
2163
4684
return presentation as primary return value.
2164
4685
(slime-copy-presentation-at-point): Use
2165
4686
slime-presentation-around-point. Copying now also works when the
2166
4687
first character is clicked and when the REPL buffer is not current.
2167
4688
(slime-presentation-menu): Use slime-presentation-around-point.
2169
2005-08-10 Martin Simmons <martin@lispworks.com>
2171
* swank-lispworks.lisp (defadvice compile-file): Return all values
2172
from the real compile-file.
2174
2005-08-10 Edi Weitz <edi@agharta.de>
2176
* swank.lisp (transpose-lists): Replaced with much nicer function
2179
2005-08-09 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
2181
* slime.el (slime-read-object): Handle ids that are conses.
4690
2005-08-10 17:52 msimmons
4696
2005-08-10 17:46 msimmons
4698
* swank-lispworks.lisp:
4700
(defadvice compile-file): Return all values from the real compile-file.
4702
2005-08-10 02:21 eweitz
4704
* ChangeLog, swank.lisp:
4706
Helmut's version is much nicer...
4708
2005-08-09 21:35 mkoeppe
4714
2005-08-09 21:34 mkoeppe
4718
(slime-read-object): Handle ids that are conses.
2182
4719
Patch by "Thas" on #lisp.
2184
2005-08-09 Edi Weitz <edi@agharta.de>
2186
* swank.lisp (transpose-lists): Reimplemented without APPLY so we
2187
don't have problems with CALL-ARGUMENTS-LIMIT.
2189
2005-08-08 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
2191
* slime.el (undo-in-progress): Define for XEmacs compatibility.
4721
2005-08-09 15:56 eweitz
4723
* ChangeLog, swank.lisp:
4725
New version of SWANK::TRANSPOSE-LISTS
4727
2005-08-08 18:32 mkoeppe
4733
2005-08-08 18:31 mkoeppe
4737
(undo-in-progress): Define for XEmacs compatibility.
2192
4738
Reported by Friedrich Dominicus.
2194
2005-08-07 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
2196
Fix for the presentations menu. Reported by Aleksandar Bakic.
2198
* present.lisp (lookup-presented-object): Handle ids that are
4740
2005-08-07 19:06 mkoeppe
4746
2005-08-07 19:03 mkoeppe
4750
(lookup-presented-object): Handle ids that are
2200
4752
(execute-menu-choice-for-presentation-id): Use equal for comparing
2201
4753
ids, to handle the cons case.
2202
4754
(menu-choices-for-presentation): Quote the presentation id, as it
2204
* slime.el (slime-presentation-menu, slime-presentation-menu)
2205
(slime-inspect-presented-object): Quote the presentation id.
2207
2005-08-06 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
2209
* swank.lisp (form-completion): New generic function, factored out
4757
2005-08-07 18:53 mkoeppe
4761
(slime-presentation-menu, slime-presentation-menu)
4762
(slime-inspect-presented-object): Quote the presentation id, as it
4765
2005-08-06 16:51 mkoeppe
4771
2005-08-06 16:50 mkoeppe
4775
(form-completion): New generic function, factored out
2210
4776
from complete-form.
2211
4777
(complete-form): Factor out form-completion.
2212
4778
(form-completion): Specialize on defmethod forms to insert arglist
2213
4779
of generic function.
2215
* doc/slime.texi (Programming Helpers): Document C-c C-s,
2216
slime-complete-form.
2218
2005-08-04 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
2220
Improvements to the presentations feature. Parts of presentations
2221
can be copied reliably using all available Emacs facilities (not
2222
just kill-ring-save), and they are no longer "semi-readonly" (in
2223
the sense that keypresses are silently ignored). Whenever a user
2224
attempts to edit a presentation, it now simply turns into plain
2225
text (which is indicated by changing the face); this can be
2226
undone. Presentations are now also supported if
2227
*use-dedicated-output-stream* is nil. It is now possible to
2228
access the individual values of multiple-value results. For some
2229
systems (Allegro CL and upcoming CMUCL snapshots), presentations
2230
can be reliably printed through pretty-printing streams.
2232
* present.lisp (slime-stream-p) [allegro]: Allow printing
2233
presentations through pretty printing streams.
4781
2005-08-06 16:45 mkoeppe
4785
(Programming Helpers): Document C-c C-s, slime-complete-form.
4787
2005-08-04 22:27 mkoeppe
4793
2005-08-04 22:16 mkoeppe
4797
Undo changes I checked in by mistake.
4799
2005-08-04 22:14 mkoeppe
4803
(*can-print-presentation*): Move up.
4805
2005-08-04 22:13 mkoeppe
2234
4810
[cmu]: Allow printing presentations through pretty printing
2235
4811
streams, if CMUCL has annotations support and we are using the
2236
4812
bridge-less protocol.
2237
4813
[sbcl]: Allow printing presentations through indenting streams.
2239
* present.lisp (write-annotation): New function.
4815
2005-08-04 21:54 mkoeppe
4819
(slime-stream-p) [allegro]: Allow printing presentations through
4820
pretty printing streams.
4822
2005-08-04 21:49 mkoeppe
4826
(write-annotation): New function.
2240
4827
(presentation-record): New structure.
2241
(presentation-start, presentation-end): New functions, supporting
2242
both bridge protocol and bridge-less protocol.
4828
(presentation-start, presentation-end): New functions.
2243
4829
(presenting-object-1): Use them here.
2245
* present.lisp [sbcl, allegro]: Add printer hooks for unreadable
2246
objects and pathnames.
2248
* swank.lisp (*can-print-presentation*): New variable, moved here
2250
* swank.lisp (interactive-eval, listener-eval, backtrace)
2251
(swank-compiler, compile-file-for-emacs, load-file)
4831
2005-08-04 21:39 mkoeppe
4835
[sbcl, allegro]: Add printer hooks for unreadable objects and
4838
2005-08-04 21:36 mkoeppe
4842
(interactive-eval, listener-eval, backtrace)
4843
(swank-compiler, compile-file-for-emacs, load-file)
4844
(init-inspector): Remove code duplication with swank.lisp.
4846
2005-08-04 21:34 mkoeppe
4850
(*can-print-presentation*): New variable, moved here from
4853
(interactive-eval, listener-eval, backtrace)
4854
(swank-compiler, compile-file-for-emacs, load-file)
2252
4855
(init-inspector): Bind *can-print-presentation* to an appropriate
2254
* present.lisp: Remove code duplication with swank.lisp for the
2257
* swank.lisp (encode-message): Don't use the pretty printer for
2258
printing the message length.
2260
* slime.el (slime-dispatch-event): New events :presentation-start,
2261
:presentation-end for bridge-less presentation markup.
2262
* swank.lisp (dispatch-event, send-to-socket-io): Likewise.
2264
* swank.lisp (listener-eval): Store the whole values-list with
2266
* slime.el (slime-repl-insert-prompt): Accept a list of strings,
4858
2005-08-04 21:27 mkoeppe
4864
2005-08-04 21:23 mkoeppe
4868
(encode-message): Don't use the pretty printer for printing the
4871
(listener-eval): Store the whole values-list with add-repl-result.
4873
2005-08-04 21:19 mkoeppe
4877
(slime-repl-insert-prompt): Accept a list of strings,
2267
4878
representing individual values of a multiple-value result. Mark
2268
4879
them up as separate presentations.
2269
4880
(reify-old-output): Support reifying individual values of a
2270
4881
multiple-value result.
2272
* slime.el (slime-pre-command-hook): Don't call
4883
(slime-pre-command-hook): Don't call
2273
4884
slime-presentation-command-hook.
2274
4885
(slime-post-command-hook): Don't call
2275
4886
slime-presentation-post-command-hook.
2276
4887
(slime-presentation-command-hook): Removed.
2277
4888
(slime-presentation-post-command-hook): Removed.
2279
* slime.el (slime-presentation-whole-p): New.
2280
(slime-same-presentation-p): New.
4890
(slime-presentation-whole-p): New.
4891
(slime-same-presentation-p): New.
2281
4892
(slime-presentation-start, slime-presentation-end): New.
2282
4893
(slime-presentation-around-point): New.
2283
4894
(slime-after-change-function): New.
2284
4895
(slime-setup-command-hooks): Install slime-after-change-function
2285
4896
as an after-change-function.
2287
* slime.el (slime-repl-enable-presentations): Make
4898
(slime-repl-enable-presentations): Make
2288
4899
slime-repl-presentation nonsticky.
2289
4900
(slime-mark-presentation-start, slime-mark-presentation-end): New
2291
4902
(slime-mark-presentation-start-handler): Renamed from
2292
slime-mark-presentation-start.
4903
slime-mark-presentation-start.
2293
4904
(slime-mark-presentation-end-handler): Renamed from
2294
slime-mark-presentation-end.
4905
slime-mark-presentation-end.
2295
4906
(slime-presentation): New structure.
2296
4907
(slime-add-presentation-properties): New function.
2297
4908
(slime-insert-presentation): New function.
2299
2005-08-03 Zach Beane <xach@gwi.net>
2301
* swank-sbcl.lisp (swank-compile-string): Restore honoring of
2302
*trap-load-time-warnings*.
2304
2005-08-03 Juho Snellman <jsnell@iki.fi>
2306
* swank-sbcl.lisp: Remove SBCL 0.9.1 support.
2307
(swank-compile-string): Funcall the compiled function outside
2308
with-compilation-hooks to prevent runtime warnings from
2309
popping up a *compiler-notes* buffer.
2311
2005-07-29 Marco Baringer <mb@bese.it>
2313
* doc/slime.texi (Other configurables): Document
2314
*dedicated-output-stream-port*.
2316
* swank.lisp (*dedicated-output-stream-port*): New variable.
2317
(open-dedicated-output-stream): Open the stream on the port
2318
*dedicated-output-stream-port*.
2320
* slime.el (slime-set-default-directory): Fix typo in doc string.
2322
2005-07-26 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
2324
* swank.lisp (inspect-for-emacs): Don't make whitespace
2325
surrounding :action buttons part of the highlighted region.
2327
* slime.el (slime-goto-location-buffer): Put "SLIME Source Form"
2328
buffer into Lisp mode.
2330
2005-07-26 Helmut Eller <heller@common-lisp.net>
2332
* swank.lisp (compile-file-for-emacs): Accept optional
2333
external-format arg. I frogot to commit this file on 2005-07-05.
2335
* slime.el (slime-input-complete-p): Skip over strings too.
2337
2005-07-26 Zach Beane <xach@xach.com>
2339
* swank-sbcl.lisp (swank-compile-string): Revert to old string
2340
compilation behavior to fix compiler note annotations. Code from
2343
2005-07-24 Tom Pierce <tlpierce@gmail.com>
2345
* swank.lisp (format-iso8601-time): New functions. Properly
2346
formats a universal-time as an iso8601 string.
2347
(inspect-for-emacs integer): Use the new
2348
format-iso8601 function when printing an integer as a date.
2350
2005-07-22 Marco Baringer <mb@bese.it>
2352
* swank-openmcl.lisp (frame-catch-tags): Remove some debugging
2353
forms which were "polluting" the repl buffer when viewing an sldb
2355
(function-source-location): Make :error messages have the proper
2356
form (exactly one string argument). This fix also removes the
2357
issues with sending unreadble lists (containing #<...> to emacs).
2359
2005-07-14 Helmut Eller <heller@common-lisp.net>
2361
* swank-allegro.lisp (find-external-format): Fix typo.
2363
2005-07-06 Helmut Eller <heller@common-lisp.net>
2365
* slime.el (slime-send-sigint): Use the symbol SIGINT stead of the
2366
signal number. Suggested by Joerg Hoehle.
4910
2005-08-04 21:16 mkoeppe
4914
(dispatch-event, send-to-socket-io): New events :presentation-start,
4915
:presentation-end for bridge-less presentation markup.
4917
2005-08-04 21:14 mkoeppe
4921
* slime.el (slime-dispatch-event): New events :presentation-start,
4922
:presentation-end for bridge-less presentation markup.
4924
2005-08-04 02:04 heller
4930
2005-08-04 02:03 heller
4934
Remove SBCL 0.9.1 support.
4935
(swank-compile-string): Funcall the compiled function outside
4936
with-compilation-hooks to prevent runtime warnings from popping up a
4937
*compiler-notes* buffer. From Juho Snellman.
4939
(swank-compile-string): Restore honoring of *trap-load-time-warnings*.
4942
2005-08-03 11:40 jgarcia
4944
* swank-ecl.lisp, swank-loader.lisp:
4948
2005-07-29 14:40 mbaringer
4952
(Other configurables): Document *dedicated-output-stream-port*.
4954
2005-07-29 14:38 mbaringer
4958
(*dedicated-output-stream-port*): New variable.
4959
(open-dedicated-output-stream): Open the stream on the port *dedicated-output-stream-port*.
4961
2005-07-29 14:37 mbaringer
4965
(slime-set-default-directory): Fix typo in doc string.
4967
2005-07-29 14:34 mbaringer
4973
2005-07-26 23:40 heller
4979
2005-07-26 23:37 heller
4983
(inspect-for-emacs): Don't make whitespace surrounding :action buttons
4984
part of the highlighted region.
4986
2005-07-26 23:36 heller
4990
(slime-goto-location-buffer): Put "SLIME Source Form" buffer into Lisp mode.
4992
(slime-input-complete-p): Skip over strings too.
4994
2005-07-26 22:56 heller
5000
2005-07-26 22:51 heller
5004
(compile-file-for-emacs): Accept optional external-format argument.
5006
2005-07-26 16:59 mbaringer
5008
* ChangeLog, swank-sbcl.lisp:
5012
2005-07-24 17:30 mbaringer
5014
* ChangeLog, swank.lisp:
5018
2005-07-22 12:53 mbaringer
5024
2005-07-22 12:52 mbaringer
5026
* swank-openmcl.lisp:
5028
(frame-catch-tags): Remove some debugging forms which was "polluting"
5029
the repl buffer when viewing an sldb buffer.
5030
(function-source-location): Make :error messages have the proper form
5031
(exactly one string argument). This fix also removes the issues with
5032
sending unreadble lists (containing #<...> to emacs).
5034
2005-07-14 11:15 heller
5040
2005-07-14 11:12 heller
5042
* swank-allegro.lisp:
5044
(find-external-format): Fix typo.
5046
2005-07-06 18:31 heller
5052
2005-07-06 18:27 heller
5056
(slime-send-sigint): Use the symbol SIGINT stead of the signal number.
5057
Suggested by Joerg Hoehle.
2367
5059
(slime-compile-file): XEmacs needs the buffer as argument to
2368
5060
local-variable-p. Reported by Andy Sloane.
2370
2005-07-05 Helmut Eller <heller@common-lisp.net>
2372
The file variable slime-coding can now be used to specify the
2373
coding system to use for C-c C-k. E.g., if the file contains
2374
-*- slime-coding: utf-8-unix -*- Emacs will tell the Lisp side
2375
to call COMPILE-FILE with an external-format argument.
2377
* slime.el (slime-compile-file): Send the coding system if
2378
the buffer local variable `slime-coding' is bound.
2380
* swank-backend.lisp, swank-sbcl.lisp, swank-clisp.lisp,
2381
swank-lispworks.lisp, swank-cmucl, swank-allegro.lisp,
2382
swank-abcl.lisp, swank-corman.lisp
5062
2005-07-05 22:34 heller
5068
2005-07-05 22:32 heller
5072
(slime-compile-file): Send the coding system if the buffer local
5073
variable `slime-coding' is bound.
5075
2005-07-05 22:30 heller
5077
* swank-cmucl.lisp, swank-abcl.lisp, swank-allegro.lisp,
5078
swank-backend.lisp, swank-clisp.lisp, swank-corman.lisp,
5079
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
2383
5081
(swank-compile-file): New optional argument `external-format'.
2385
* swank-clisp.lisp (getpid): Undo the last change.
2387
* swank-corman.lisp (spawn, thread-alive-p): More thread tweaking.
2389
2005-07-03 Joerg Hoehle <hoehle@users.sourceforge.net>
2391
* swank-clisp (describe-symbol-for-emacs): Report :setf and :type
2394
2005-07-03 Helmut Eller <heller@common-lisp.net>
2396
* slime.el (next-single-char-property-change)
2397
(previous-single-char-property-change) [xemacs]: Only define them
2399
(next-char-property-change, previous-char-property-change): Define
2402
* README: Show examples for the filenames instead of the general
5083
2005-07-03 17:55 heller
5089
2005-07-03 17:53 heller
5093
(describe-symbol-for-emacs): Report :setf and :type where appropriate.
5095
(getpid): Explicitly define it as foreign function on WIN32.
5097
2005-07-03 17:51 heller
5101
Show examples for the filenames instead of the general
2403
5102
"/the/path/to/this/directory". Suggested by Brandon J. Van Every.
2405
* swank-corman.lisp (default-directory): Return a namestring
2406
instead of the pathname.
2407
(inspect-for-emacs, inspect-structure): Teach the inspector how to
2408
deal with structures.
2409
(spawn, send, receive): Implement rudimentary threading support.
2410
It's now possible to connect with the :spawn communication style
2411
and to bring up a listener. Unfortunately, debugging the
2412
non-primary threads doesn't work at all. Still no support for
2415
* slime.el (slime-start-swank-server): Send an extra newline
2416
before the "(swank:start-server ...". I don't know why, but this
2417
seems to fix the problem when starting CLISP/Win32. Interrupting
2418
CLISP/W32 is still horribly broken.
2420
* swank-loader.lisp (compile-files-if-needed-serially) [corman]:
2421
force-output after each file.
2423
2005-07-02 Marco Baringer <mb@bese.it>
2425
* slime.el (save-some-lisp-buffers): New Function.
2426
(slime-repl-only-save-lisp-buffers): New customizable variable.
2427
(slime-repl-compile-and-load): Use save-some-lisp-buffers.
2428
(slime-oos): Use save-some-lisp-buffers.
2430
2005-07-01 G�bor Melis <mega@hotpop.com>
2432
* swank-sbcl.lisp (threaded stuff): make SBCL 0.9.2.9+ work while
2433
retaining support for 0.9.2
2435
2005-06-28 G�bor Melis <mega@hotpop.com>
2437
* swank-sbcl.lisp (threaded stuff): horrible hack to make threaded
2438
SBCL 0.9.2 work. (also, Happy Birthday Christophe!)
2440
2005-06-21 Edi Weitz <edi@agharta.de>
2442
* swank.lisp (find-matching-packages): Also use nicknames.
2444
2005-06-13 Edi Weitz <edi@agharta.de>
2446
* swank.lisp (list-all-systems-in-central-registry): Delete
2449
* swank-lispworks.lisp (unmangle-unfun): If you rename a package
2450
you should rename it everywhere...
2452
2005-06-12 Alexey Dejneka <adejneka@comail.ru>
2454
* slime.el (slime-with-xref-buffer): fix "pgk" typo.
2456
2005-06-12 Christophe Rhodes <csr21@cam.ac.uk>
2458
* swank.lisp (ed-in-emacs): allow strings as well as pathnames;
2459
don't call emacs for things that the emacs editor doesn't know how
2460
to deal with. Return T if we called emacs and NIL if not.
2462
* slime.el (slime-ed): Change a listp to consp, so that NIL
2463
arguments are correctly handled.
2465
2005-06-11 Nikodemus Siivola <nikodemus@random-state.net>
2467
* swank-sbcl.lisp: Patched for SBCL HEAD: utilize the new
2468
:source-plist functionality; maintain compatibility with 0.9.1
2469
till 0.9.2 is out. Removed cruft left over from previous
2470
excercises in supporting both HEAD and latest release.
2472
* doc/slime.texi: Document Slime as supporting the latest official
2473
release of SBCL, as opposed to a specific version number which
2474
would need to be updated monthly.
2476
2005-06-10 Helmut Eller <heller@common-lisp.net>
2478
* nregex.lisp (slime-nregex): Rename package to avoid name clashes
2479
with other version of this file.
2481
* swank.lisp (compiled-regex): Use the new package name.
2483
* slime.el (slime-with-xref-buffer): Gensym package too, to avoid
2484
problems when switching to buffers with -*- package: ... -*- file
2485
variables. From Antonio Menezes Leitao.
5104
2005-07-03 17:51 heller
5106
* swank-corman.lisp:
5108
(default-directory): Return a namestring instead of the pathname.
5110
(inspect-for-emacs, inspect-structure): Teach the inspector how to deal with structures.
5112
(spawn, send, receive): Implement rudimentary threading support. It's
5113
now possible to connect with the :spawn communication style and to
5114
bring up a listener. Unfortunately, debugging the non-primary threads
5115
doesn't work at all. Still no support for interrupt-thread.
5117
2005-07-03 17:49 heller
5121
(next-single-char-property-change)
5122
(previous-single-char-property-change) [xemacs]: Only define them if
5124
(next-char-property-change, previous-char-property-change): Define if
5127
(slime-start-swank-server): Send an extra newline before the
5128
"(swank:start-server ...". I don't know why, but this seems to fix
5129
the problem when starting CLISP/Win32. Interrupting CLISP/W32 is
5130
still horribly broken.
5132
2005-07-03 17:40 heller
5134
* swank-loader.lisp:
5136
(compile-files-if-needed-serially) [corman]: force-output after each file.
5138
2005-07-02 19:49 mbaringer
5140
* ChangeLog, slime.el:
5144
2005-07-01 15:52 crhodes
5146
* ChangeLog, swank-sbcl.lisp:
5148
Patch from Gabor for new thread api support (older SBCLs may or may
5149
not work at all, but definitely don't work with threads)
5151
2005-06-28 10:40 crhodes
5153
* ChangeLog, PROBLEMS, swank-sbcl.lisp:
5157
2005-06-21 20:28 eweitz
5159
* ChangeLog, swank.lisp:
5161
Add package nicknames to completion results
5163
2005-06-13 11:34 eweitz
5165
* ChangeLog, swank.lisp:
5167
remove duplicate asdf systems
5169
2005-06-13 11:17 eweitz
5171
* ChangeLog, swank-lispworks.lisp:
5173
Fix LW port (broken due to nregex renaming)
5175
2005-06-12 23:05 crhodes
5177
* ChangeLog, slime.el:
5179
From Alexey Dejneka: fix "pgk" typo.
5181
2005-06-12 18:33 crhodes
5183
* ChangeLog, slime.el, swank.lisp:
5185
Minor changes to ED-IN-EMACS / slime-ed. Now
5186
(push 'swank:ed-in-emacs sb-ext:*ed-functions*)
5187
works more-or-less as required. (We don't obey the constraint that
5188
file-error conditions be signalled on file system errors, but...)
5190
2005-06-11 18:22 nsiivola
5192
* ChangeLog, swank-sbcl.lisp, doc/slime.texi:
5194
Changes for supporting recent SBCLs.
5196
2005-06-10 19:55 heller
5202
2005-06-10 19:54 heller
5206
(compiled-regex): Use the new package name.
5208
2005-06-10 19:54 heller
5212
Rename package to avoid name clashes with other version of this file.
5214
2005-06-10 19:51 heller
5218
(slime-with-xref-buffer): Gensym package too, to avoid problems when
5219
switching to buffers with -*- package: ... -*- file variables. From
5220
Antonio Menezes Leitao.
2486
5222
(slime-property-bounds): Use the prop argument instead of the
2487
5223
hardcoded 'slime-repl-old-output. From Andras Simon.
2489
2005-06-07 Espen Wiborg <espenhw@grumblesmurf.org>
2491
* swank-corman.lisp: Convert to Unix line-endings.
5225
2005-06-07 12:08 ewiborg
5227
* swank-corman.lisp, ChangeLog:
5229
Convert to Unix line-endings.
2492
5230
(create-socket): Pass through the port argument unmodified,
2493
5231
gettting a random port if 0. Requires supporting change in
2494
5232
<ccl>/modules/sockets.lisp.
2495
5233
(inspect-for-emacs): defimplementation instead of defmethod.
2497
2005-06-06 Espen Wiborg <espenhw@grumblesmurf.org>
2499
* doc/slime.texi, PROBLEMS: Added notes about CCL.
2501
2005-06-03 Helmut Eller <heller@common-lisp.net>
2503
* slime.el (slime-background-activities-enabled-p): Allow
2504
background stuff in repl-mode buffers too.
2506
* swank-cmucl.lisp (sis/misc): Return t for :interactive-p.
2508
2005-06-01 Helmut Eller <heller@common-lisp.net>
2510
* slime.el (slime-load-system, slime-oos): Fix bug related to file
2511
locking. Don't bind the variable system-name. system-name is a
2512
predefined Emacs variable and is used among other things for lock
2515
2005-06-01 Joerg Hoehle <hoehle@users.sourceforge.net>
2517
* swank-clisp (getpid): Updates for current CLISP versions. Use
2518
defimplementation. Define always (slime needs it).
2520
2005-06-01 Helmut Eller <heller@common-lisp.net>
2522
* slime.el (slime-background-activities-enabled-p): Return nil
2523
instead of signalling an error if there is a open but no default
5235
2005-06-07 12:06 ewiborg
5237
* doc/slime.texi, PROBLEMS:
5239
Added notes about CCL.
5241
2005-06-03 22:00 heller
5247
2005-06-03 22:00 heller
5251
(slime-background-activities-enabled-p): Allow background stuff in
5252
repl-mode buffers too.
5254
2005-06-03 13:16 heller
5256
* swank-cmucl.lisp, ChangeLog:
5260
2005-06-01 18:59 heller
5262
* slime.el, ChangeLog:
5266
2005-06-01 17:03 heller
5272
2005-06-01 17:02 heller
5276
(getpid): Use defimplementation. Define always (slime needs it).
5278
2005-06-01 16:40 heller
5284
2005-06-01 16:38 heller
5288
(slime-first-change-hook): Use slime-background-activities-enabled-p.
5290
2005-06-01 16:28 heller
5294
(slime-background-activities-enabled-p): Return nil instead of
5295
signalling an error if there is a open but no default connection.
2525
5296
(slime-current-connection): New helper function.
2526
5297
(slime-connection): Use it.
2527
(slime-first-change-hook): Only run when
2528
slime-background-activities-enabled-p.
2530
2005-06-01 Joerg Hoehle <hoehle@users.sourceforge.net>
2532
* swank-cmucl.lisp, swank-sbcl.lisp, swank-clisp.lisp
2533
(describe-symbol-for-emacs): Distinguish macro and special
2534
operators from functions.
2536
* slime.el (slime-print-apropos): Must keep in sync with above,
2537
therefore added :macro and :special-operator properties.
2539
* swank.lisp (present-symbol-before-p): Make it conform to its
2540
specification -- sort first by package and then by symbol name.
2542
* swank-clisp.lisp (describe-symbol-for-emacs): Report :alien-type
2543
when the name is known as foreign type.
2545
2005-06-01 Espen Wiborg <espenhw@grumblesmurf.org>
2547
* swank-loader.lisp: Redefine compile-files-if-needed-serially for
5299
2005-06-01 15:49 heller
5305
2005-06-01 15:48 heller
5309
(slime-first-change-hook): Don't do anything if slime-mode is disabled.
5311
2005-06-01 14:53 heller
5317
2005-06-01 14:50 heller
5321
(describe-symbol-for-emacs): Report :alien-type when the name is known
5324
2005-06-01 14:41 heller
5328
(present-symbol-before-p): Fix docstring; remove optimization; compare
5329
package names correctly.
5331
2005-06-01 14:27 heller
5335
(present-symbol-before-p): make it conform to its specification --
5336
sort first by package and then by symbol name.
5338
2005-06-01 14:22 heller
5340
* slime.el, swank-clisp.lisp, swank-cmucl.lisp, swank-sbcl.lisp:
5342
Distinguish macro and special operators from functions.
5344
2005-06-01 12:31 ewiborg
5346
* swank-loader.lisp, ChangeLog:
5348
Redefine compile-files-if-needed-serially for
2548
5349
Corman Lisp to load everything from source.
2550
2005-05-27 Espen Wiborg <espenhw@grumblesmurf.org>
2552
* swank-corman.lisp: New file, swank for Corman Lisp.
2554
* swank.lisp (simple-announce-function): force-output after
5351
2005-05-31 20:38 heller
5357
2005-05-31 20:38 heller
5359
* swank-loader.lisp:
5361
Add Corman Lisp support.
5363
2005-05-31 20:37 heller
5367
(simple-announce-function): force-output after announcing.
2556
5369
(symbol-external-p): Be extra paranoid about the symbol's package;
2557
5370
find-symbol barfs on a nil package in Corman Lisp.
2559
* swank-loader.lisp: Add Corman Lisp support.
2561
2005-05-24 Alan Ruttenberg <alanr-l@mumble.net>
2563
* slime.el text-property-default-nonsticky not defined in
2566
2005-05-24 Alan Ruttenberg <alanr-l@mumble.net>
2568
* slime.el meta-w now removes properties before insertion if you
2569
cut just a portion of the presentation. Added xemacs
2570
support. Enabled in xemacs.
2572
2005-05-23 Alan Ruttenberg <alanr-l@mumble.net>
2574
* slime.el slime-presentation-menu - use with-current-buffer, so
2575
that menus work even if you are not in the buffer with the
2578
* present.lisp More menu items for pathnames. Remember last
2579
slime-stream-p value. *can-print-presentation* t during
2580
swank-compiler and during presentation menu action.
2582
2005-05-22 Alan Ruttenberg <alanr-l@mumble.net>
2584
* present.lisp. (slime-stream-p) check if a stream is destined for
2585
output in a slime listener. (checks *connections* looks into pretty-print
2586
streams in openmcl and cmucl)
2587
Don't present unless (slime-stream-p stream).
2589
Variable *enable-presenting-readable-objects* The only readable object
2590
which is presented are pathnames (e.g. pathnames printed when loading
2591
and *load-verbose* is t). Try the useful menu :)
2592
More to come if this doesn't cause problems. (nil this if it does)
2594
*can-print-presentation* t around compile-string-for-emacs,
2595
load-file, interactive-eval.
2597
In cmucl, use fwrappers to modify behaviour rather than redefinition.
2599
2005-05-22 Alan Ruttenberg <alanr-l@mumble.net>
2601
* present.lisp. mouse-3 now gives a menu for actions on the
2602
presentation. See documentation in file for information about how
2603
to define menus. Also, disable presentations in inspector. Initial bits
2604
of dealing with the possibility of presenting readable objects.
2606
* slime.el support menu. Xemacs users beware this uses x-popup-menu,
2607
which may be fsf specific.
2609
2005-05-20 Alan Ruttenberg <alanr-l@mumble.net>
2610
* swank.lisp make repl output presentation work even if
2611
present.lisp not loaded
2613
2005-05-20 Luke Gorrie <luke@synap.se>
2615
* slime.el (slime-repl-enable-presentations): Default is enabled
2616
in GNU Emacs but disabled in XEmacs. Feature is not portable yet.
5372
2005-05-31 20:36 heller
5374
* swank-corman.lisp:
5376
New file from Espen Wiborg. (Currently with DOS eol convention.)
5378
2005-05-24 21:08 aruttenberg
5380
* slime.el, ChangeLog:
5384
2005-05-24 09:06 aruttenberg
5386
* ChangeLog, slime.el:
5390
2005-05-24 04:40 aruttenberg
5392
* ChangeLog, slime.el, present.lisp:
5396
2005-05-23 04:31 aruttenberg
5398
* ChangeLog, present.lisp:
5402
2005-05-22 08:55 aruttenberg
5408
2005-05-22 08:52 aruttenberg
5410
* ChangeLog, slime.el:
5414
2005-05-21 07:04 aruttenberg
5416
* swank.lisp, ChangeLog:
5420
2005-05-20 21:21 lgorrie
5426
2005-05-20 21:16 lgorrie
5430
(slime-repl-enable-presentations): Default is enabled in GNU Emacs but
5431
disabled in XEmacs. Feature is not portable yet.
2617
5433
Brutally 80-column'ified alanr's latest changes :-)
2619
2005-05-20 Alan Ruttenberg <alanr-l@mumble.net>
2621
* bridge.el new file. from ilisp cvs distribution to collect
2622
in-band messages using process filter mechanisms. One edit which
2623
calls bridge-insert with process argument as well as output
2625
* present.lisp new file. Enough code to do the following:
2626
(swank::presenting-object object stream (print "This is really
2627
object")). This makes the string "This is really object" behave
2628
like old repl input for the object. Sample code for openmcl and
2629
cmucl that hooks this into the printing of unreadable objects This
2630
should be part of swank.lisp (and lisp specific files) but I am
2631
too chicken to merge yet. For now you have to load this file
2634
* slime.el changes to support above:
2635
slime-repl-enable-presentations: customize to enable this stuff.
2636
Default value t. Set to nil to turn it off.
2637
slime-presentation-start-to-point: map object ids to the (point)
2638
where they start to print out. slime-mark-presentation-start,
2639
slime-mark-presentation-end. handlers for the bridge messages.
2640
slime-open-stream-to-lisp: When enabled start the bridge and
2641
define the handlers.
2643
2005-05-19 Alan Ruttenberg <alanr-l@mumble.net>
2645
* slime.el slime-presentation-map
2647
2005-05-20 Luke Gorrie <luke@synap.se>
2649
* swank.lisp (clear-repl-results): Fixed unbalanced parens. Thanks
2652
2005-05-19 Alan Ruttenberg <alanr-l@mumble.net>
2654
* slime.el (slime-presentation-command-hook) new function for
2655
nicer behaviour for presentations.
2656
(slime-pre-command-hook) do slime-presentation-command-hook
2657
(slime-post-command-hook) put pre-command-hook back if goes away
2658
(slime-copy-presentation-at-point) mouse-2 copies previous output to point
2659
slime-repl-output-mouseover-face what the old output looks like when the mouse moves over it
2660
default: box around it like on lispm
2661
(slime-repl-insert-prompt) add mouseover face, mouse action. newline after output not propertized.
2662
(slime-property-bounds) adjust for lack of propertized newline
2663
to fix: presentation region behaviour should be attach to generic property like
2664
(:acts-as-token t ) rather than tying to repl-output property
2666
2005-05-19 Luke Gorrie <luke@synap.se>
2668
* swank.lisp (*record-repl-results*): Variable to enable/disable
2669
recording of REPL results. True by default.
5435
2005-05-20 20:04 aruttenberg
5441
2005-05-20 20:02 aruttenberg
5443
* slime.el, present.lisp, ChangeLog:
5447
2005-05-20 14:55 aruttenberg
5449
* slime.el, ChangeLog:
5453
2005-05-20 07:42 lgorrie
5459
2005-05-20 07:41 lgorrie
5463
(clear-repl-results): Fixed unbalanced parens. Thanks Lawrence
5466
2005-05-19 19:13 aruttenberg
5472
2005-05-19 19:06 aruttenberg
5478
2005-05-19 04:24 lgorrie
5484
2005-05-19 04:15 lgorrie
5488
(slime-property-bounds): Factored out this common part of
5489
slime-repl-grab-old-{input,output}.
5491
(slime-read-object): Avoid inline CL code.
5493
2005-05-19 04:15 lgorrie
5497
(*record-repl-results*): Variable to enable/disable recording of REPL
5498
results. True by default.
2670
5500
(*repl-results*): Renamed from ****.
2672
* slime.el (slime-property-bounds): Factored out this common part
2673
of slime-repl-grab-old-{input,output}.
2674
(slime-read-object): Avoid inline CL code.
2676
2005-05-18 Antonio Menezes Leitao <aml@gia.ist.utl.pt>
2678
* slime.el (slime-repl-inputed-output-face): new face.
5502
2005-05-18 12:23 mbaringer
5508
2005-05-18 12:16 mbaringer
5512
(*current-id*, ****): New variables.
5513
(add-****, get-****, clear-last-****, clear-****): New functions
5514
for manipulating the repl history.
5515
(listener-eval): Add * to ****.
5517
2005-05-18 12:16 mbaringer
5521
(slime-repl-inputed-output-face): new face.
2679
5522
(slime-current-output-id): New variable.
2680
5523
(slime-dispatch-event): Bind slime-current-output-id when
2700
5543
(slime-read-object): New function which either reads an object
2701
5544
from the minibuffer or returns the object at point if it has the
2702
slime-repl-old-output text property.
2704
* swank.lisp (*current-id*, ****): New variables.
2705
(add-****, get-****, clear-last-****, clear-****): New functions
2706
for manipulating the repl history.
2707
(listener-eval): Add * to ****.
2709
2005-05-12 Alan Ruttenberg <alanr-l@mumble.net>
2711
* swank.lisp Add ability to customize behavior of the repl. To do
2712
so, add a function to the list swank::*slime-repl-eval-hooks*.
2713
This function is passed the form typed into the repl. The function
2714
should decide whether it wants to handle evaluation of the
2715
form. If not, call (repl-eval-hook-pass) and the next hook is
2716
tried. Otherwise the values the function returns are used instead
2717
of calling eval. Inside the body of the function you can also
2718
suppress having the repl print the result by calling
2719
(repl-suppress-output) and/or suppress the advancement of the
2720
history variables (*** ** * /// // /) by calling
2721
(repl-suppress-advance-history).
2724
2005-05-11 Tim Daly Jr. <tim@tenkan.org>
2726
* swank-source-path-parser.lisp (read-and-record-source-map):
2727
Ensure that at least the toplevel form is in the source-map.
2729
2005-05-11 Helmut Eller <heller@common-lisp.net>
2731
* slime.el (slime-remove-old-overlays): Remove overlays in all
2732
slime buffers not only in the current buffer.
5545
slime-repl-old-output text property.
5547
2005-05-18 12:15 mbaringer
5553
2005-05-14 11:13 asimon
5557
MOP symbols are now in the MOP package in ABCL
5559
2005-05-12 21:05 aruttenberg
5565
2005-05-12 21:04 aruttenberg
5569
2005-05-12 Alan Ruttenberg <alanr-l@mumble.net>
5571
* swank.lisp Add ability to customize behavior of the repl. To do
5572
so, add a function to the list swank::*slime-repl-eval-hooks*.
5573
This function is passed the form typed into the repl. The function
5574
should decide whether it wants to handle evaluation of the
5575
form. If not, call (repl-eval-hook-pass) and the next hook is
5576
tried. Otherwise the values the function returns are used instead
5577
of calling eval. Inside the body of the function you can also
5578
suppress having the repl print the result by calling
5579
(repl-suppress-output) and/or suppress the advancement of the
5580
history variables (*** ** * /// // /) by calling
5581
(repl-suppress-advance-history).
5583
2005-05-11 16:47 heller
5589
2005-05-11 16:46 heller
5593
(slime-remove-old-overlays): Remove overlays in all slime buffers not
5594
only in the current buffer.
2733
5595
(slime-filter-buffers): New helper.
2734
5597
(slime-display-completion-list): Take the completed prefix as
2735
5598
additional argument to initialize completion-base-size. This is
2736
5599
apparently needed to make mouse-selection working.
2737
5600
(slime-maybe-complete-as-filename): Factor for common code in
2738
5601
slime-complete-symbol* and slime-simple-complete-symbol.
2740
2005-05-06 Alan Ruttenberg <alanr-l@mumble.net>
2742
* swank-openmcl.lisp specializer-name didn't handle
2743
structure-class which caused meta-. of methods specialized on
2744
defstruct arguments to fail.
2746
2005-05-06 Helmut Eller <heller@common-lisp.net>
2748
* swank-cmucl.lisp (post-gc-hook): Include the elapsed time and
2749
the size distribution.
2751
2005-05-05 Edi Weitz <edi@agharta.de>
2753
* swank-lispworks.lisp (unmangle-unfun): New function to convert
2754
strange symbols in SETF package to SETF function names.
2755
(signal-undefined-functions): Use it.
2757
2005-05-04 Edi Weitz <edi@agharta.de>
2759
* swank-lispworks.lisp (call-with-compilation-hooks): Provide
2760
better implementation.
2761
(compile-file-and-collect-notes): Advice for COMPILE-FILE so
2762
pathname information for undefined functions can be recorded.
2763
(*within-call-with-compilation-hooks*): New special variable used
2764
by CALL-WITH-COMPILATION-HOOKS.
2765
(*undefined-functions-hash*): New special variable to record
2766
pathname information for undefined functions.
2767
(signal-error-database): Make LOCATION parameter optional, use
2768
FILENAME info from error database if not provided.
2769
(signal-undefined-functions): Make LOCATION parameter optional,
2770
use info from *UNDEFINED-FUNCTIONS-HASH* if not provided.
2772
2005-05-03 Luke Gorrie <luke@synap.se>
2774
* swank.lisp (slime-secret): Removed #+unix conditional, suggested
2777
2005-05-02 Mark Wooding <mdw@nsict.org>
2779
* swank.lisp: If ~/.slime-secret exists then insist that Emacs
2780
sends the contents (as a password) during initial handshaking.
2781
(announce-server-port): Use :IF-EXISTS :ERROR to prevent bad guys
2782
from slipping a symlink into /tmp and reading what port Lisp is
2785
* slime.el: If ~/.slime-secret exists then send it, as per above.
2787
2005-05-01 Marco Baringer <mb@bese.it>
5603
2005-05-11 16:45 heller
5605
* swank-source-path-parser.lisp:
5607
(read-and-record-source-map): Ensure that at least the toplevel form
5608
is in the source-map.
5610
2005-05-06 18:34 aruttenberg
5616
2005-05-06 18:30 aruttenberg
5618
* swank-openmcl.lisp:
5621
Fix specializer-name to handle structure-class, to fix edit definition
5622
of methods specialized on ddestructs
5624
2005-05-06 13:13 heller
5630
2005-05-06 13:12 heller
5634
(post-gc-hook): Include the elapsed time and the size distribution.
5636
2005-05-05 10:59 eweitz
5638
* swank-lispworks.lisp:
5640
correction: swank.lisp is loaded after swank-lispworks.lisp...
5642
2005-05-05 01:15 eweitz
5644
* ChangeLog, swank-lispworks.lisp:
5646
beautify undefined function warnings in LW
5648
2005-05-04 10:52 eweitz
5652
fixed date in old entry
5654
2005-05-04 10:39 eweitz
5656
* ChangeLog, swank-lispworks.lisp:
5658
call-with-compilation-hooks: better implementation for LW
5660
2005-05-03 20:59 lgorrie
5666
2005-05-03 20:58 lgorrie
5670
(slime-secret): Removed #+unix conditional.
5672
2005-05-02 20:58 lgorrie
5678
2005-05-02 20:44 lgorrie
5682
If ~/.slime-secret exists then insist that Emacs sends the contents
5683
(as a password) during initial handshaking.
5685
(announce-server-port): Use :IF-EXISTS :ERROR to prevent bad guys from
5686
slipping a symlink into /tmp and reading what port Lisp is listening
5689
2005-05-02 20:42 lgorrie
5693
If ~/.slime-secret exists then send the contents to Lisp as
5696
2005-05-02 20:17 lgorrie
5698
* slime.el, swank-backend.lisp, swank-cmucl.lisp:
5700
Minor comment tweaks.
5702
2005-05-01 12:47 mbaringer
5704
* ChangeLog, slime.el:
2789
5706
* slime.el (slime-inspector-reinspect): New function which
2790
5707
reinspects the current object.
2791
5708
(slime-inspector-mode-map): Bind slime-inspector-reinspect to g.
2793
2005-04-29 Dan Pierson <dlp@itasoftware.com>
2795
* slime.el (slime-parse-context): Fix method parsing so that
2796
pressing, say, C-c C-t when point is on a '-' in a symbol name
5710
2005-04-29 01:32 heller
5716
2005-04-29 01:31 heller
5720
(slime-parse-context): Fix method parsing so that pressing, say, C-c
5721
C-t when point is on a '-' in a symbol name won't break.
2798
5723
(slime-browser-map): New variable. Add support for the common 'q'
2799
5724
keystroke to quit out of the xref.
2800
5725
(slime-fetch-browsable-xrefs): New function. Remove the (FLET ...)
2801
5726
entries which appear on at least CMUCL. I don't believe you can
2802
actually expand them on any current implementation and they just
2803
mess up the browse tree. Use only the method name when looking
2804
up (METHOD ...) entries on CMUCL. This really shouldn't be here,
2805
but I can't see how to avoid the error thrown by swank:xref.
5727
actually expand them on any current implementation and they just mess
5728
up the browse tree. Use only the method name when lookuping up
5729
(METHOD ...) entries on CMUCL. This really shouldn't be here, but I
5730
can't see how to avoid the error thrown by swank:xref.
2806
5731
(slime-expand-xrefs): Use it.
2807
5732
(slime-call-with-browser-setup): Initialize slime-buffer-package
2808
5733
properly. Previously, lisp-mode was called after setting it, but
2809
lisp-mode clears all local variables, use lisp-mode-variables
2812
* swank-cmucl.lisp (toggle-trace): Be more carefully when tracing
2813
methods: try both (METHOD ...) and (PCL:FAST-METHOD ...).
2815
2005-04-27 Helmut Eller <heller@common-lisp.net>
2817
* swank-cmucl.lisp (+header-type-symbols+): Drop the third arg to
2818
apropos-list; it's no longer supported in recent CMUCLs.
2820
2005-04-21 Luke Gorrie <luke@synap.se>
2822
* swank.lisp (arglist-to-string): Rolled back the previous change
2823
because it interferred with values appearing in parameter lists.
2825
2005-04-20 Luke Gorrie <luke@synap.se>
2827
* swank.lisp (arglist-to-string): Bind *PRINT-ESCAPE* to NIL. This
2828
way symbols in arglists are printed as with PRINC, i.e. without
2831
* swank-sbcl.lisp (preferred-communication-style): Use
2832
`linux_no_threads_p' alien variable to decide whether to use
2833
:SPAWN. From dan_b for compatibility with new SBCLs.
2835
2005-04-19 Helmut Eller <heller@common-lisp.net>
2837
* PROBLEMS: Warn about old kernels.
2839
* swank-backend.lisp: Fix some typos.
2841
* swank-sbcl.lisp (preferred-communication-style): Don't test for
2842
sb-futex, it has lost its meaning in 0.8.21.
2844
2005-04-18 Helmut Eller <heller@common-lisp.net>
2846
* slime.el (inferior-lisp-program): Defvar it here, in case it is
2847
not defined in loaddefs and inf-lisp is not loaded. (That's the
2850
* mkdist.sh: update version number.
2852
* doc/slime.texi: Update version numbers for SBCL and ACL.
2854
2005-04-17 Peter Seibel <peter@gigamonkeys.com>
2856
* swank-loader.lisp (*implementation-features*): Added features
2858
(lisp-version-string): ... and code to compute version
2859
string. (Supplied by someone who's email I've misplaced.)
2861
2005-04-14 Helmut Eller <heller@common-lisp.net>
2863
* slime.el (slime-selector): Discard input after sleeping.
2865
2005-04-09 Helmut Eller <heller@common-lisp.net>
2867
* slime.el (sldb-get-buffer): Create a fresh buffer if there's no
2868
buffer for the connection (and don't reuse an existing buffer even
2869
if it has a matching name).
2870
(slime-buffer-visible-p, slime-ir1-expand): Delete unused
2871
functions. Mark some others as unused, but leave them there
2872
because they are potentially useful.
2874
* swank.lisp (with-io-redirection, with-connection)
2875
(with-buffer-syntax): Implement macros with `call-with' functions
2876
to avoid some code bloat.
5734
lisp-mode clears all local variables, use lisp-mode-variables instead.
5736
2005-04-29 01:30 heller
5740
Be more carefully when tracing methods: try both (METHOD ...) and
5741
(PCL:FAST-METHOD ...).
5743
2005-04-27 16:54 heller
5749
2005-04-27 16:48 heller
5755
2005-04-27 16:47 heller
5759
(+header-type-symbols+): Drop the third arg to apropos-list; it's no
5760
longer supported recent CMUCLs.
5762
2005-04-21 14:07 lgorrie
5768
2005-04-21 14:06 lgorrie
5772
Fixed a couple of entries for the benefit of the contributor-listing
5775
2005-04-21 09:40 lgorrie
5781
2005-04-21 09:39 lgorrie
5785
(arglist-to-string): Rolled back the previous change because it
5786
interferred with values appearing in parameter lists.
5788
2005-04-20 19:27 lgorrie
5794
2005-04-20 19:23 lgorrie
5798
(arglist-to-string): Bind *PRINT-ESCAPE* to NIL. This way symbols in
5799
arglists are printed as with PRINC, i.e. without package qualifier.
5801
2005-04-20 14:43 lgorrie
5805
Fixed preferred-communication-style (last fix was broken).
5807
2005-04-20 12:26 lgorrie
5813
2005-04-20 12:23 lgorrie
5817
(communication-style): Use `linux_no_threads_p' alien variable to
5818
decide whether to use :SPAWN. From dan_b for compatibility with new
5821
2005-04-19 22:24 heller
5827
2005-04-19 22:23 heller
5831
Warn about old kernels.
5833
2005-04-19 22:18 heller
5835
* swank-backend.lisp:
5839
2005-04-19 22:17 heller
5843
(preferred-communication-style): Don't test for sb-futex, it has lost
5846
2005-04-18 21:39 heller
5852
2005-04-18 21:23 heller
5856
(inferior-lisp-program): Defvar it here, in case it is not defined in
5857
loaddefs and inf-lisp is not loaded. (That's the case in XEmacs.)
5859
2005-04-18 20:59 heller
5863
update version number.
5865
2005-04-18 20:58 heller
5869
Update version numbers for SBCL and ACL.
5871
2005-04-18 06:45 pseibel
5875
ChangeLog entries to go with last change.
5877
2005-04-18 06:42 pseibel
5879
* swank-loader.lisp:
5881
Added GCL and ECL features to swank-loader.lisp
5883
2005-04-14 17:41 heller
5889
2005-04-14 17:40 heller
5893
(slime-selector): Discard input after sleeping.
5895
2005-04-09 09:08 heller
5901
2005-04-09 09:07 heller
5905
(with-io-redirection, with-connection, with-buffer-syntax): Implement
5906
macros with a `call-with' functions to avoid some code bloat.
2877
5907
(call-with-connection, maybe-call-with-io-redirection)
2878
5908
(call-with-buffer-syntax): New functions.
2879
5910
(interactive-eval): Use from-string instead of read-from-string to
2880
5911
avoid problems whit *read-suppress*.
2882
* swank-sbcl.lisp: Add a few comments.
2884
* swank-abcl.lisp (print-frame): Trim whitespace to make the
2885
backtrace look a bit terser.
2887
2005-04-07 Helmut Eller <heller@common-lisp.net>
2889
* slime.el (slime-net-coding-system): More fixes for
2891
(slime-net-coding-system): Even more fixes to make it for
2894
2005-04-05 Juergen Gmeiner <gj@gjdv.at>
2896
* swank-lisworks.lisp (find-top-frame): If we can't find an
2897
invoke-debugger frame we take any old frame at the top.
2899
2005-04-04 James McIlree <ovrskeek@mac.com>
2901
* slime.el (find-coding-system, check-coding-system)
2902
(process-coding-system, set-process-coding-system): Dummy
2903
functions for no-mule-XEmacsen.
2905
2005-04-04 Helmut Eller <heller@common-lisp.net>
2907
* slime.el (slime-repl-show-maximum-output): New
2908
function. Immitate the scrolling behavior of a terminal.
5913
2005-04-09 09:07 heller
5919
2005-04-09 09:06 heller
5923
(print-frame): Trim whitespace to make the backtrace look a bit terser.
5925
2005-04-09 09:05 heller
5929
(sldb-get-buffer): Create a fresh buffer if there's no buffer for the
5930
connection (and don't reuse an existing buffer even if it has a
5933
(slime-buffer-visible-p, slime-ir1-expand): Delete unused functions.
5934
Mark some others as unused, but leave them there because they are
5937
2005-04-07 12:00 heller
5943
2005-04-07 12:00 heller
5947
(slime-net-coding-system): Even more fixes to make it with mule-XEmacs.
5949
2005-04-07 08:55 heller
5955
2005-04-07 08:54 heller
5959
(slime-net-coding-system): More fixes for non-mule-XEmacsen.
5961
2005-04-05 15:45 mbaringer
5963
* swank-lispworks.lisp:
5965
(find-top-frame): If we can't find an invoke-debugger frame we take
5966
any old frame at the top.
5968
2005-04-05 15:41 mbaringer
5974
2005-04-04 08:16 heller
5980
2005-04-04 08:15 heller
5984
Remove the file. Let the Emacs developers maintain it.
5986
2005-04-04 01:28 heller
5992
2005-04-04 01:28 heller
5996
Fix spelling errors.
5998
2005-04-04 01:27 heller
6002
(breakpoint-values): Fixes for CMUCL-2005-03 snapshot.
6004
2005-04-04 01:27 heller
6008
(connection-info): Include version and hostname in the result.
6010
2005-04-04 01:26 heller
6014
(slime-repl-show-maximum-output): New function. Immitate the scrolling
6015
behavior of a terminal.
2909
6016
(slime-with-output-end-mark, slime-repl-return)
2910
6017
(slime-repl-send-input, slime-display-output-buffer): Use it
2911
6019
(slime-lisp-implementation-version, slime-machine-instance): New
2912
connection variables. Suggested by Eduardo Mu�oz.
6020
connection variables.
2913
6021
(slime-set-connection-info): Initialize them.
2915
* swank.lisp (connection-info): Include version and hostname in
2918
* swank-cmucl.lisp (breakpoint-values): Fixes for CMUCL-2005-03
2921
* doc/slime.texi: Fix spelling errors.
2923
* cl-indent.el: Remove the file. Let the Emacs developers
2926
2005-04-01 Helmut Eller <heller@common-lisp.net>
2928
* slime.el (sldb-get-buffer): Initialize the buffer local
2929
variables slime-buffer-connection and slime-current-thread when
2930
creating a fresh buffer.
2932
* swank.lisp (spawn-repl-thread): Use
2933
*default-worker-thread-bindings* just like spawn-worker-thread.
2934
(wrap-sldb-vars): New function. Rebind *sldb-level* to avoid
2935
confusion with recursive errors during eval-in-frame.
6023
(find-coding-system, check-coding-system, process-coding-system):
6024
Dummy functions for non-mule-XEmacsen.
6026
2005-04-01 23:57 lgorrie
6028
* ChangeLog, slime.el:
6030
(slime-xref-mode): Summarise the most important bindings in the mode
6033
2005-04-01 22:16 lgorrie
6037
Maybe fixed some openmcl breakage.
6039
2005-04-01 22:02 heller
6045
2005-04-01 21:58 heller
6049
(sldb-get-buffer): Initialize the buffer local variables
6050
slime-buffer-connection and slime-current-thread when create a fresh
6053
2005-04-01 21:55 heller
6057
(spawn-repl-thread): Use *default-worker-thread-bindings* just like
6058
spawn-worker-thread.
6060
(wrap-sldb-vars): New function. When evaluating a form in a frame,
6061
Allegro uses the "old" dynamic context, i.e., dynamic variables like
6062
*sldb-level* and the like are reset to the values in those frames.
6063
But if *sldb-level* is reset to 0, Emacs doesn't notice when a
6064
(recursive) error occurs while evaluating the form in the old frame.
6065
wrap-sldb-vars saves the debugger related variables to avoid such
2936
6067
(eval-string-in-frame, pprint-eval-string-in-frame): Use it.
2938
* swank-allegro.lisp (eval-in-frame): Allegro's
2939
eval-form-in-context does nothing special with lexical variables
2940
in the frame. Wrap an explicit LET around the form to get similar
2941
behavior as in the other Lisps.
6069
2005-04-01 21:44 heller
6071
* swank-allegro.lisp:
6073
(eval-in-frame): Allegro's eval-form-in-context does nothing special
6074
with lexical variables in the frame. Wrap an explicit LET around the
6075
form to get the similar behavior as in the other Lisps.
2942
6077
(inspect-for-emacs (structure-object)): Remove structure related
2943
6078
methods. It's already covered by the general case with
2944
6079
allegro-inspect.
2945
6080
(common-seperated-spec): Deleted
2947
2005-04-01 Luke Gorrie <luke@synap.se>
2949
* slime.el (slime-xref-mode): Summarise the most important
2950
bindings in the mode description.
2952
* metering.lisp: Now supports only CLISP and OpenMCL.
2953
Removed a lot of really ugly reader-conditionalized code, much of
2954
it for archaic lisps (#+cltl2, #+lcl3.0, #+mcl1.3.2, etc).
2956
* swank-source-path-parser.lisp (check-source-path): Signal an
2957
error if a source path is malformed. SBCL sometimes gives (NIL).
6082
2005-04-01 20:31 lgorrie
6088
2005-04-01 20:24 lgorrie
6092
Now supports only CLISP and OpenMCL.
6094
Removed a lot of really ugly reader-conditionalized code, much of it
6095
for archaic lisps (#+cltl2, #+lcl3.0, #+mcl1.3.2, etc).
6097
2005-04-01 16:09 lgorrie
6103
2005-04-01 15:59 lgorrie
6105
* swank-source-path-parser.lisp:
6107
(check-source-path): Signal an error if a source path is malformed.
6108
SBCL sometimes gives (NIL).
2958
6110
(source-path-stream-position): Use it.
2960
* slime.el (slime-goto-definition): Handle :error locations here
2961
before any window/buffer changes are made.
2963
2005-04-01 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
2965
* slime.el (slime-keys): Bind slime-edit-definition-other-window
2966
to `C-x 4 .' and slime-edit-definition-other-frame to `C-x 5 .',
2967
shadowing the equivalent find-tag... bindings.
6112
2005-04-01 13:03 lgorrie
6118
2005-04-01 13:02 lgorrie
6122
(slime-goto-definition): Handle :error locations here before any
6123
window/buffer changes are made.
6125
2005-04-01 10:43 lgorrie
6131
2005-04-01 10:42 lgorrie
6135
(slime-keys): Bind slime-edit-definition-other-window to `C-x 4 .' and
6136
slime-edit-definition-other-frame to `C-x 5 .', shadowing the
6137
equivalent find-tag... bindings.
2968
6139
(slime-goto-definition): In the other-window and other-frame cases,
2969
make sure point does not move in the originating window, even when
2970
the definition is found in the same buffer.
2972
2005-03-31 Luke Gorrie <luke@synap.se>
2974
* doc/slime.texi (slime-selector): New section.
6140
make sure point does not move in the originating window, even when the
6141
definition is found in the same buffer.
6143
2005-03-31 22:39 lgorrie
6147
slime-selector: minor edit.
6149
2005-03-31 22:21 lgorrie
6153
(slime-selector): New section.
2975
6154
(Inspector): Updated for the post-1.0 inspector.
2977
* slime.el (slime-selector): Removed unneeded "the" prefixes in
2978
descriptions of what the selector methods do.
2980
2005-03-27 Helmut Eller <heller@common-lisp.net>
2982
* PROBLEMS, NEWS, doc/slime.texi: Some updates for the upcoming
2985
2005-03-27 Russell McManus <russell_mcmanus@yahoo.com>
2987
* swank-clisp.lisp (getpid): Try sys::process-id if
2988
sys::program-id doesn't exist.
2990
2005-03-23 Marco Baringer <mb@bese.it>
2992
* swank.lisp (commit-edited-value): Read a backquated string,
2993
instead of quating the result of read. This allows one to put
2994
,(form) into edit-value buffers.
2996
2005-03-22 Helmut Eller <heller@common-lisp.net>
2998
* swank-lispworks.lisp (swank-compile-string): Bind *print-radix*
2999
to t, to avoid problems if somebody uses different values for
3000
*print-base* and *read-base*. Reported by Alain Picard.
6156
2005-03-31 21:33 lgorrie
6160
(slime-selector): Removed unneeded "the" prefixes in descriptions of
6161
what the selector methods do.
6163
2005-03-27 21:41 heller
6165
* NEWS, PROBLEMS, ChangeLog:
6169
2005-03-27 21:06 heller
6173
Mention Unicode support and some multi-threading issues.
6175
2005-03-27 20:40 heller
6177
* swank-clisp.lisp, ChangeLog:
6181
2005-03-23 13:23 mbaringer
6187
2005-03-23 13:23 mbaringer
6191
(commit-edited-value): Read a backquated string, instead of quating
6192
the result of read. This allows one to put ,(form) into edit-value
6195
2005-03-22 11:13 heller
6201
2005-03-22 11:12 heller
6203
* swank-lispworks.lisp:
6205
(swank-compile-string): Bind *print-radix* to t, to avoid problems if
6206
somebody uses different values for *print-base* and *read-base*.
6207
Reported by Alain Picard.
3001
6209
(emacs-connected): Add default methods for
3002
6210
environment-display-notifier and environment-display-debugger.
3004
2005-03-21 Helmut Eller <heller@common-lisp.net>
3006
* swank-sbcl.lisp (locate-compiler-note): Handle errors in macros
3008
(source-file-source-location): Read the snippet at the right
3011
* swank-source-file-cache.lisp (read-snippet): Take the start
3012
position as optional argument.
3014
2005-03-21 Helmut Eller <heller@common-lisp.net>
3016
* swank-sbcl.lisp (quit-lisp): If we are running multithreaded,
3017
terminate all other threads too. (still broken in 0.8.20.27; used
3018
to work in ~0.8.20.2.)
6212
2005-03-21 18:40 heller
6218
2005-03-21 18:40 heller
6222
(source-file-source-location): Read the snippet at the right position.
6224
2005-03-21 18:40 heller
6226
* swank-source-file-cache.lisp:
6228
(read-snippet): Take the start position as optional argument.
6230
2005-03-21 12:04 heller
6236
2005-03-21 12:03 heller
6240
(locate-compiler-note): Handle errors in macros better.
6242
2005-03-21 01:59 heller
6248
2005-03-21 01:58 heller
6252
(commit-edited-value): Use buffer syntax.
6254
(compile-file-for-emacs, compile-string-for-emacs): Bind
6255
*compile-print* to nil.
6257
2005-03-21 01:58 heller
6261
(call-with-debugging-environment): Rebind kernel:*current-level* 0.
6262
Useful for debugging pretty printer code.
6264
(inspect-for-emacs): Show details of interpreted functions.
6266
2005-03-21 01:57 heller
6270
(quit-lisp): If we are running multithreaded, terminate all other
6271
threads too. (still broken in 0.8.20.27; used to work in ~0.8.20.2.)
3019
6273
(with-debootstrapping, call-with-debootstrapping): Remove ugly
3020
6274
backward compatibility code.
3021
6275
(sbcl-source-file-p, guess-readtable-for-filename): New utilities.
3022
6277
(function-source-location): Handle work off to helper functions.
3023
6278
(find-function-source-location): New function. Use the
3024
6279
shebang-readtable for SBCL source files.
3077
6356
(function-from-emacs-buffer-p, function-debug-source-info)
3078
6357
(info-from-emacs-buffer-p, code-location-has-debug-block-info-p)
3079
6358
(stream-source-position): Lots of new helper functions.
3080
6360
(with-debootstrapping): Moved upwards so that it can be used for
3081
6361
source location searching.
3082
6363
(source-location-for-emacs): Deleted
3084
2005-03-16 Helmut Eller <heller@common-lisp.net>
3086
* slime/swank.lisp (*macroexpand-printer-bindings*): New user
6365
2005-03-18 20:27 lgorrie
6369
(slime-complete-symbol*-fancy): Now nil by default.
6371
2005-03-16 23:11 heller
6377
2005-03-16 23:07 heller
6379
* swank-loader.lisp:
6381
(unique-directory-name): Rewritten to avoid the rather irritating
6382
warning that (warn "Don't know ...") is unreachable.
6384
2005-03-16 23:03 heller
6388
(*macroexpand-printer-bindings*): New user variable.
3088
6389
(apply-macro-expander): Use it.
3089
(call-with-bindings): Bind variables in reverse order. Thit makes
3090
it easer to cons or push a new binding at the front the list.
6391
(call-with-bindings): Bind reverse the list. Makes it easer to cons or
6392
push a new binding at the front the list.
3091
6393
(with-bindings): New macro.
3093
* slime.el (slime-run-when-idle): New function to hide
3094
Emacs/XEmacs differences.
6395
2005-03-16 22:58 heller
6399
(slime-run-when-idle): New function to hide Emacs/XEmacs differences.
6400
See Steven E. Harris' message from 15 Mar 2005.
3095
6401
(slime-process-available-input): Use it.
3097
* swank-loader.lisp (unique-directory-name): Rewritten to avoid
3098
the rather irritating warning that (warn "Don't know ...") is
3101
2005-03-13 Luke Gorrie <luke@synap.se>
3103
* slime.el (slime-dispatch-event): Use `slime-busy-p' to control
3104
the "; pipelined request" message. This way it takes requests
3105
blocked in the debugger into account and avoids spurious messages.
3107
* swank.lisp (inspect-for-emacs symbol): Add an "unintern it"
3110
* swank-source-file-cache.lisp (read-snippet): Skip comments and
3111
whitespace in SBCL. The source-positions reported by SBCL are not
3112
adjusted to skip over whitespace before the definition.
3114
* swank-sbcl.lisp (function-source-location): Updated for revised
3115
sb-introspect patch:
6403
2005-03-13 20:41 lgorrie
6409
2005-03-13 20:39 lgorrie
6413
(slime-dispatch-event): Use `slime-busy-p' to control the "; pipelined
6414
request" message. This way it takes requests blocked in the debugger
6415
into account and avoids spurious messages.
6417
2005-03-13 16:16 lgorrie
6423
2005-03-13 16:16 lgorrie
6427
(inspect-for-emacs symbol): Add an "unintern it" action for symbols.
6429
2005-03-13 04:02 lgorrie
6435
2005-03-13 04:01 lgorrie
6437
* swank-source-file-cache.lisp:
6439
(read-snippet): Skip comments and whitespace in SBCL. The
6440
source-positions reported by SBCL are not adjusted to skip over
6441
whitespace before the definition.
6443
2005-03-13 03:57 lgorrie
6447
Updated for revisted sb-introspect patch:
3116
6448
s/DEFINITION-SOURCE-CREATED/DEFINITION-SOURCE-WRITE-DATE/
3118
* swank-loader.lisp (*os-features*): Added :mswindows. Thanks Will
3121
2005-03-12 Luke Gorrie <luke@synap.se>
3123
* slime.el (slime-edit-value): New function on `C-c E'. Prompts
3124
for a Lisp expression, evaluates and displays the result in a new
3125
buffer for editing, and then setf's the edited value in Lisp after
3126
you press C-c C-c. Usage example: `C-c E asdf:*central-registry*'
3127
Minor docstring and pull-down-menu changes.
3129
* swank.lisp (value-for-editing, commit-edited-value): New
3130
functions for slime-edit-value.
3132
* swank-allegro.lisp (toggle-trace): Fix from Antonio Menezes
3135
* swank-sbcl.lisp: Use swank-source-file-cache to find snippets of
3136
definitions. M-. is now much more robust to modifications in the
3138
NOTE: To be effective requires a patch to sb-introspect that I
3139
have posted to sbcl-devel.
3141
* swank-source-file-cache.lisp: Factored this into its own file,
3142
from swank-cmucl.lisp.
3144
* swank-loader.lisp, swank-cmucl.lisp: Updated for the above.
3146
2005-03-10 Antonio Menezes Leitao <aml@gia.ist.utl.pt>
3148
* slime.el (slime-toggle-trace-fdefinition): If there is no symbol
3149
at point then prompt for one.
3151
2005-03-09 Peter Seibel <peter@gigamonkeys.com>
3153
* swank-loader.lisp (*architecture-features*): Added :pc386 for CLISP.
3154
(unique-directory-name): Change ERROR to WARN.
3156
* slime.el (slime-register-lisp-implementation): Add facility for
3157
registering lisp implementations with symbolic names that can be
3158
passed to C-u M-x slime.
3160
2005-03-08 Peter Seibel <peter@gigamonkeys.com>
3162
* doc/Makefile (clean): added clean and really_clean targets.
3163
(all): and added slime.pdf to all prerequisites.
3165
* swank-loader.lisp (*implementation-features*): Whoops. Forgot
3167
(*architecture-features*): Added :x86-64 for SBCL on AMD64 (thanks
3170
2005-03-07 Peter Seibel <peter@gigamonkeys.com>
3172
* swank-loader.lisp (unique-directory-name): Replaced *lisp-name*
3173
variable with more sophisticated version that accounts for impl,
3174
impl version, os, and hardware architecture.
3176
2005-03-07 Edi Weitz <edi@agharta.de>
3178
* swank.lisp: Fixed parenthesis-balancing problem.
3180
2005-03-06 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
3182
* slime.el (slime-easy-menu): Add menu item for
3183
slime-complete-form.
3185
* swank.lisp (format-arglist-for-echo-area): Use extra-keywords to
3186
enrich the list of keywords.
6450
2005-03-13 01:39 lgorrie
6456
2005-03-13 01:39 lgorrie
6458
* swank-loader.lisp:
6460
(*os-features*): Added :mswindows. Thanks Will Glozer.
6462
2005-03-12 17:10 lgorrie
6466
Fix to slime-edit-value-callback to disable slime-temp-buffer-mode.
6467
Otherwise 'q' dismisses the buffer.
6469
2005-03-12 17:02 lgorrie
6475
2005-03-12 17:02 lgorrie
6479
(value-for-editing, commit-edited-value): New functions for
6482
2005-03-12 17:01 lgorrie
6486
(slime-edit-value): New function on `C-c E'. Prompts for a Lisp
6487
expression, evaluates and displays the result in a new buffer for
6488
editing, and then setf's the edited value in Lisp after you press C-c
6489
C-c. Usage example: `C-c E asdf:*central-registry*' Minor docstring
6490
and pull-down-menu changes.
6492
2005-03-12 03:48 lgorrie
6498
2005-03-12 03:46 lgorrie
6502
Fix from Antonio Menezes Leitao.
6504
2005-03-12 03:44 lgorrie
6506
* swank-allegro.lisp:
6508
(toggle-trace): Fix from Antonio Menezes Leitao.
6510
2005-03-12 02:50 lgorrie
6516
2005-03-12 02:50 lgorrie
6518
* swank-source-file-cache.lisp:
6520
Source file cache management factored out of swank-cmucl.lisp
6522
2005-03-12 02:50 lgorrie
6526
Use swank-source-file-cache to find snippets of definitions. M-. is
6527
now much more robust to modifications in the source file.
6529
NOTE: To be effective requires a patch to sb-introspect that I have
6530
posted to sbcl-devel.
6532
2005-03-12 02:49 lgorrie
6534
* swank-loader.lisp:
6536
Updated for swank-source-file-cache.lisp (CMUCL & SBCL)
6538
2005-03-12 02:49 lgorrie
6542
Source file cache is now moved into swank-source-file-cache.lisp
6544
2005-03-12 02:48 lgorrie
6546
* swank-backend.lisp:
6550
2005-03-10 19:49 lgorrie
6556
2005-03-10 19:43 lgorrie
6560
(slime-toggle-trace-fdefinition): If there is no symbol at point then
6563
2005-03-10 02:01 pseibel
6565
* ChangeLog, swank-loader.lisp:
6567
Changing ERROR to WARN in unique-directory-name.
6569
2005-03-09 22:34 pseibel
6571
* ChangeLog, swank-loader.lisp:
6573
Adding missing features for unique-directory-name.
6575
2005-03-09 18:57 pseibel
6579
Tweaks to new symbolic lisp names.
6581
2005-03-09 17:18 pseibel
6583
* ChangeLog, slime.el:
6585
Added symbolic lisp names.
6587
2005-03-09 06:17 pseibel
6589
* ChangeLog, doc/Makefile:
6591
Tweaks to doc/Makefile
6593
2005-03-09 04:56 pseibel
6595
* ChangeLog, swank-loader.lisp:
6597
Updating feature lists for FASL directory names computing code.
6599
2005-03-08 03:35 pseibel
6601
* ChangeLog, swank-loader.lisp:
6603
Changing way swank-loader determines where to save fasls.
6605
2005-03-07 09:46 lgorrie
6607
* swank.lisp, ChangeLog:
6611
2005-03-06 22:45 lgorrie
6617
2005-03-06 22:45 lgorrie
6621
Added slime-complete-form to the menu.
6623
2005-03-06 22:44 lgorrie
6625
* swank-backend.lisp:
6627
Export FINALIZE-INHERITANCE from SWANK-MOP.
6629
2005-03-06 22:43 lgorrie
6633
(format-arglist-for-echo-area): Use extra-keywords to enrich the list
3187
6636
(arglist-to-string): Remove extraneous whitespace.
3188
6638
(keyword-arg, optional-arg): New structures.
3189
(decode-keyword-arg, decode-optional-arg): Return structure
3190
objects rather than multiple values.
6640
(decode-keyword-arg, decode-optional-arg): Return structure objects
6641
rather than multiple values.
3191
6643
(encode-keyword-arg, encode-optional-arg, encode-arglist): New
3193
6646
(arglist): New slot key-p.
3194
(decode-arglist): Handle &whole, &environment. Store more
3195
information on optional and keyword args, set arglist.key-p.
6648
(decode-arglist): Handle &whole, &environment. Store more information
6649
on optional and keyword args, set arglist.key-p.
3196
6651
(values-equal?): Removed.
3197
(print-decoded-arglist-as-template): If keyword is
3198
not a keyword symbol, quote it in the template.
3199
(extra-keywords): Return a secondary value (allow-other-keys).
3200
For make-instance, try to finalize the class if it is not
3201
finalized yet (fix for Allegro CL 6.2). If class is not
3202
finalizable, use direct slots instead of slots and indicate that
3203
the keywords are not complete.
3204
(enrich-decoded-arglist-with-extra-keywords): New function, use
3205
the secondary value of extra-keywords.
6653
(print-decoded-arglist-as-template): If keyword is not a keyword
6654
symbol, quote it in the template.
6656
(extra-keywords): Return a secondary value (allow-other-keys). For
6657
make-instance, try to finalize the class if it is not finalized yet
6658
(fix for Allegro CL 6.2). If class is not finalizable, use direct
6659
slots instead of slots and indicate that the keywords are not
6662
(enrich-decoded-arglist-with-extra-keywords): New function, use the
6663
secondary value of extra-keywords.
3206
6665
(arglist-for-insertion, complete-form): Use it here.
3207
6667
(remove-keywords-alist): New variable.
3208
6669
(remove-actual-args): When the keyword :test is provided, don't
3209
6670
suggest :test-not and vice versa.
3211
* swank-backend.lisp (:swank-mop package): Export
3212
finalize-inheritance.
3214
2005-03-06 Luke Gorrie <luke@synap.se>
3216
* swank.lisp: Export *LOG-OUTPUT*.
3218
2005-03-05 Helmut Eller <heller@common-lisp.net>
3220
* slime.el (slime-net-sentinel): Always print a message when the
3222
(slime-inferior-lisp): Don't display the buffer. Let callers do
3224
(slime): Display the inferior buffer here.
3225
(slime-quit-lisp, slime-quit-sentinel): Use set a special sentinel
3226
and do most of the cleanups there.
6672
2005-03-06 17:49 lgorrie
6678
2005-03-06 17:49 lgorrie
6684
2005-03-05 00:44 heller
6690
2005-03-05 00:44 heller
6692
* swank-allegro.lisp:
6694
(process-fspec-for-allegro, toggle-trace): Handle setf functions.
6695
(tracedp): Fix free variable.
6697
(call-with-debugging-environment, find-topframe): Hide the first 2
6698
frames. Those are created by swank-internal functions.
6700
2005-03-05 00:43 heller
6704
(slime-inferior-lisp): Don't display the buffer. Let callers do that.
6705
(slime): Display the inferior buffer.
6707
(slime-net-sentinel): Always print a message when the lisp
6709
(slime-quit-lisp, slime-quit-sentinel): Use set a special sentinel and
6710
do most of the cleanups there.
3227
6711
(slime-repl-sayoonara): Use slime-quit-lisp.
3228
6713
(slime-restart-inferior-lisp, slime-restart-inferior-lisp-aux)
3229
6714
(slime-restart-sentinel): Use a special sentinel to restart
3231
(slime-hide-inferior-lisp-buffer): Do the windows arrangement a
3232
bit differently. Related to restart-lisp.
6717
(slime-hide-inferior-lisp-buffer): Do the windows arrangement a bit
6718
differently. Related to restart-lisp.
3233
6719
(slime-repl-buffer): Take the connection as second optional
3234
argument. Useful for rearranging windows for dead processes.
3236
* swank-allegro.lisp (call-with-debugging-environment)
3237
(find-topframe): Hide the first 2 frames. Those are created
3238
by swank-internal functions.
3240
2005-03-04 Antonio Menezes Leitao <aml@gia.ist.utl.pt>
3242
* swank-allegro.lisp (process-fspec-for-allegro, toggle-trace):
3243
Handle setf functions.
3244
(tracedp): Fix free variable.
3246
* slime.el (slime-trace-query): The :defgeneric query was bogus.
6720
argument. Useful for rearranging dead windows of dead processes.
6722
(slime-trace-query): The :defgeneric query was bogus.
3247
6723
(slime-extract-context): Don't skip over the method name if we are
3248
6724
already at the end of the name.
3250
2005-03-03 Nikodemus Siivola <tsiivola@cc.hut.fi>
3252
* swank-sbcl.lisp: Fixed for latest SBCL HEAD revision and
3253
temporarily backwards-compatible with the current release.
3255
2005-03-02 Marco Baringer <mb@bese.it>
3257
* swank-loader.lisp Look for a file in the same directory as
3258
swank-loader.lisp called site-init.lisp. If it exists we load that
3259
instead of attempting to load ~/.swank.lisp.
6726
2005-03-03 01:11 lgorrie
6730
Fixed for latest SBCL HEAD revision and temporarily
6731
backwards-compatible with the current release.
6733
2005-03-03 01:03 lgorrie
6739
2005-03-03 00:50 lgorrie
6745
2005-03-03 00:50 lgorrie
6749
Fixed for (and requires) 0.8.20.
6751
2005-03-02 00:24 mbaringer
6757
2005-03-02 00:23 mbaringer
6759
* swank-loader.lisp:
6761
Look for a file in the same directory as swank-loader.lisp called
6762
site-init.lisp. If it exists we load that instead of attempting to
3260
6764
(user-init-file): Superseded by load-user-init-file.
3261
6765
(load-user-init-file): New function.
3262
6766
(load-site-init-file): New function.
3264
2005-03-01 Helmut Eller <heller@common-lisp.net>
3266
* slime.el (slime-who-bindings): Bind who-specializes to C-c W a.
6768
2005-03-01 00:34 heller
6774
2005-03-01 00:32 heller
6778
(*sldb-printer-bindings*, *swank-pprint-bindings*): New variables.
6779
The alists replace the variables which where previously hidden with
6780
the define-printer-variables macro.
6781
(define-printer-variables, with-printer-settings): Deleted, because
6782
the variable names where not visible in the source code.
6784
(swank-toggle-trace): Renamed from toggle-trace-fdefinition.
6786
2005-03-01 00:32 heller
6788
* swank-allegro.lisp, swank-cmucl.lisp, swank-lispworks.lisp,
6791
(toggle-trace): Update tracing code for new interface.
6793
2005-03-01 00:30 heller
6795
* swank-backend.lisp:
6797
(calls-who, toggle-trace): New functions.
6798
(toggle-trace-function, toggle-trace-generic-function-methods,
6799
(toggle-trace-method, toggle-trace-fdefinition-wherein): Replaced by
6802
2005-03-01 00:29 heller
6806
(slime-who-bindings): Bind who-specializes to C-c W a.
3267
6808
(slime-extract-context): Renamed from name-context-at-point.
3268
6809
(slime-beginning-of-list): Renamed from out-first.
3269
6810
(slime-slime-parse-toplevel-form): Renamed from definition-name.
3270
6811
(slime-arglist-specializers): Renamed from parameter-specializers.
3271
6812
(slime-toggle-trace-function, slime-toggle-trace-defgeneric)
3272
6813
(slime-toggle-trace-defmethod, slime-toggle-trace-maybe-wherein)
3273
(slime-toggle-trace-within): Deleted. Everything is now handled
6814
(slime-toggle-trace-within): Deleted. Everything is now handeled
3274
6815
by slime-trace-query.
3275
6817
(slime-calls-who): For symmetry with silme-who-calls.
3276
6819
(slime-edit-definition-with-etags): Better intergration with TAGS.
3277
(slime-edit-definition-fallback-function): Mention it in the
3280
* swank-backend (calls-who, toggle-trace): New functions.
3281
(toggle-trace-function, toggle-trace-generic-function-methods,
3282
(toggle-trace-method, toggle-trace-fdefinition-wherein): Replaced
3285
* swank.lisp (*sldb-printer-bindings*, *swank-pprint-bindings*):
3286
New variables. The alists replace the variables which where
3287
previously hidden with the define-printer-variables macro.
3288
(define-printer-variables, with-printer-settings): Deleted,
3289
because the variable names where not visible in the source code.
3290
(swank-toggle-trace): Renamed from toggle-trace-fdefinition.
3292
* swank-cmucl.lisp, swank-lispworks, swank-sbcl.lisp,
3293
swank-allegro.lisp (toggle-trace): Update tracing code for new
3296
2005-02-24 Helmut Eller <heller@common-lisp.net>
3298
* slime.el (slime-dispatch-event): Add :eval-no-wait and :eval
6820
(slime-edit-definition-fallback-function): Mention it in the docstring.
6822
2005-02-26 11:39 lgorrie
6826
(toggle-trace-method) (toggle-trace-fdefinition-wherein):
6827
Conditionalized for CMU19.
6829
2005-02-24 19:18 heller
6835
2005-02-24 19:17 heller
6839
(slime-dispatch-event): Add :eval-no-wait and :eval events.
3300
6840
(slime-eval-for-lisp): New function.
3301
(sldb-buffers): Delete the variable. Use buffer-list instead.
3303
* swank.lisp: (eval-for-emacs): Use the new backend function
3304
call-with-debugger-hook.
6842
(sldb-buffers): Delete the variable. Use (buffer-list) instead.
6844
2005-02-24 19:10 heller
6846
* swank-loader.lisp:
6848
(compile-files-if-needed-serially): Reduce verbosity by setting the
6849
:print argument for compile-file to nil.
6851
2005-02-24 19:10 heller
6855
(call-with-debugger-hook): Bind sb-ext:*invoke-debugger-hook* instead
6856
of setting it in emacs-connected.
6857
(emacs-connected): Deleted.
6859
2005-02-24 19:09 heller
6861
* swank-backend.lisp:
6863
(call-with-debugger-hook): New function. Useful if the backend needs
6864
special incantations for BREAK.
6866
(toggle-trace-function): Add a default implementation for simple
6869
2005-02-24 19:08 heller
6871
* swank-lispworks.lisp:
6873
(slime-env): New class.
6874
(call-with-debugger-hook): Use env:with-environment to pop up our
6875
debugger on a BREAK.
6877
(toggle-trace-method, parse-fspec, tracedp, toggle-trace): Implement
6880
2005-02-24 19:08 heller
6884
(eval-for-emacs): Use the new backend function call-with-debugger-hook.
3305
6886
(eval-in-emacs): Cleaned up. Add support for synchronous RPCs.
3306
6887
(receive-eval-result): New function.
3307
(dispatch-event, read-from-socket-io, send-to-socket-io): New
3308
:eval event. Rename :%apply to :eval-no-wait.
6888
(dispatch-event, read-from-socket-io, send-to-socket-io): New :eval
6889
event. Rename :%apply to :eval-no-wait.
3309
6890
(read-user-input-from-emacs, evaluate-in-emacs): Increment
3310
*read-input-catch-tag* instead of re-binding it. Reduces the
3311
danger of throwing to the wrong tag a bit.
3313
* swank-backend.lisp (call-with-debugger-hook): New function.
3314
Useful if the backend needs special incantations for BREAK.
3315
(toggle-trace-function): Add a default implementation for simple
3318
* swank-lispworks.lisp (slime-env): New class.
3319
(call-with-debugger-hook): Use env:with-environment to pop up our
3320
debugger on a BREAK.
3321
(toggle-trace-method, parse-fspec, tracedp, toggle-trace):
3322
Implement method tracing.
3324
* swank-sbcl.lisp (call-with-debugger-hook): Bind
3325
sb-ext:*invoke-debugger-hook* instead of setting it in
3327
(emacs-connected): Deleted.
3329
* swank-loader.lisp (compile-files-if-needed-serially): Reduce
3330
verbosity by setting the :print argument for compile-file to nil.
3332
2005-02-23 Helmut Eller <heller@common-lisp.net>
3334
* slime.el (slime-startup-animation, slime-repl-update-banner):
3335
Put the animation back in to keep the kids quiet.
6891
*read-input-catch-tag* instead of re-binding it. Reduces the danger of
6892
throwing to the wrong tag a bit.
6894
2005-02-23 14:13 heller
6900
2005-02-23 14:10 heller
6904
(slime-startup-animation, slime-repl-update-banner): Put the animation
6905
back in to keep the kids quiet.
3336
6907
(slime-kill-without-query-p): Change default to nil.
3337
6909
(slime-eval-describe, slime-eval-region)
3338
6910
(slime-pprint-eval-last-expression): Fix typos in docstrings.
3339
(slime-eval/compile-defun-dwim): Deleted. We never had a key
3342
2005-02-22 Helmut Eller <heller@common-lisp.net>
3344
* slime.el (slime-complete-form): Emacs 20 compatibility fix.
6912
(slime-eval/compile-defun-dwim): Deleted. We never had a key binding
6915
2005-02-22 07:27 heller
6917
* swank-allegro.lisp:
6919
(restart-frame): Simplify it a little.
6921
(toggle-trace-generic-function-methods): Minor reformatting.
6923
2005-02-22 07:06 heller
6929
2005-02-22 07:04 heller
6933
(slime-complete-form): Emacs 20 compatibility fix.
3345
6935
(slime-repl-update-banner): Remove animation stuff.
3346
6936
(slime-startup-animation): Deleted.
3348
* swank-lispworks.lisp (compute-applicable-methods-using-classes):
3351
2005-02-20 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
3353
Supersede the command slime-insert-arglist with the new command
3354
slime-complete-form and bind it to C-c C-s. The command completes
3355
an incomplete form with a template for the missing arguments.
3356
There is special code for discovering extra keywords of generic
3357
functions and for handling make-instance. Examples:
3359
(subseq "abc" <C-c C-s>
3360
--inserts--> start [end])
3362
--inserts--> sequence :from-end from-end :test test
3363
:test-not test-not :start start :end end :key key)
3364
(find 17 '(17 18 19) :test #'= <C-c C-s>
3365
--inserts--> :from-end from-end
3366
:test-not test-not :start start :end end :key key)
3367
(defclass foo () ((bar :initarg :bar)))
3368
(defmethod initialize-instance :after ((object foo) &key blub))
3369
(make-instance 'foo <C-c C-s>
3370
--inserts--> :bar bar :blub blub initargs...)
3372
* swank.lisp (arglist): New struct for storing decoded arglists.
6938
2005-02-22 06:59 heller
6940
* swank-lispworks.lisp:
6942
(swank-mop:compute-applicable-methods-using-classes): Implement it.
6944
2005-02-21 00:08 lgorrie
6948
Fixed removed comments!
6950
2005-02-20 21:29 lgorrie
6956
2005-02-20 21:29 lgorrie
6960
(slime-complete-form): New command.
6962
(slime-keys): Bind C-c C-s to slime-complete-form rather than
6963
slime-insert-arglist.
6965
2005-02-20 21:29 lgorrie
6969
(arglist): New struct for storing decoded arglists.
3373
6970
(decode-arglist): New function.
3374
6971
(arglist-keywords, methods-keywords, generic-function-keywords,
3375
6972
applicable-methods-keywords): New functions.
3416
7048
slime-toggle-trace-maybe-wherein, slime-toggle-trace-within): New
3417
7049
functions implementing the new intelligent slime trace.
3419
* swank-backend.lisp (toggle-trace-function,
3420
toggle-trace-generic-function-methods, toggle-trace-method,
3421
toggle-trace-fdefinition-wherein,
3422
toggle-trace-fdefinition-within): New backend functions
3423
for the new trace facility.
3425
* swank.lisp (dispatch-event): Handle the :evaluate-in-emacs
3427
(evaluate-in-emacs): New function.
3429
* swank-allegro.lisp (toggle-trace-generic-function-methods,
3430
toggle-trace, toggle-trace-function, toggle-trace-method,
3431
toggle-trace-fdefinition-wherein,
3432
toggle-trace-fdefinition-within): Implement.
3433
(process-fspec-for-allegro): New function.
3435
* swank-cmucl.lisp (toggle-trace-generic-function-methods,
3436
toggle-trace-function, toggle-trace-method,
3437
toggle-trace-fdefinition-wherein): Implement.
3438
(toggle-trace, process-fspec): New functions.
3440
* swank-sbcl.lisp (toggle-trace-generic-function-methods,
3441
toggle-trace-function, toggle-trace-method,
3442
toggle-trace-fdefinition-wherein): Implement.
3443
(toggle-trace, process-fspec): New functions.
3445
2005-02-02 Helmut Eller <heller@common-lisp.net>
3447
* slime.el: Require the timer package explicitly.
3449
2005-02-02 Luke Gorrie <luke@synap.se>
3451
* slime.el (slime-repl-send-input): Move some properties
3452
of old REPL input (e.g. read-only) from text properties into an
3453
overlay, so that kill/yank will leave them behind. Left
3454
`slime-repl-old-input' as a text properties because it's more
3455
convenient to lookup that way.
7051
2005-02-10 20:22 asimon
7056
source-location: conform to abcl's new protocol (Peter Graves)
7059
2005-02-02 21:36 heller
7065
2005-02-02 21:33 heller
7069
Require the timer package explicitly.
7071
2005-02-02 04:09 lgorrie
7077
2005-02-02 04:08 lgorrie
7081
(slime-repl-send-input): Move some properties of old REPL input (e.g.
7082
read-only) from text properties into an overlay, so that kill/yank
7083
will leave them behind. Left `slime-repl-old-input' as a text
7084
properties because it's more convenient to lookup that way.
3456
7086
(slime-repl-return): Ignore `slime-repl-old-input' property if the
3457
7087
point is in front of the current REPL prompt, i.e. if the user has
3458
7088
copy&pasted some old REPL input into the current input area.
3460
2005-01-30 Bryan O'Connor <bryan-slime@lunch.org>
3462
* slime.el (slime-goto-location-position): Changed the regexp to
3463
require the function-name to be followed by a
3464
non-symbol-constituent character \S_. Previously, a function-name
3465
of "find" first matched find-if-not if it occured earlier in the
3468
2005-01-27 Helmut Eller <heller@common-lisp.net>
3470
* slime.el (slime-busy-p): Ignore debugged continuations to enable
3471
arglist lookup while debugging. Suggested by Lynn Quam.
7090
2005-01-30 10:43 heller
7096
2005-01-30 10:29 heller
7102
2005-01-30 10:29 heller
7106
(slime-goto-location-position): Changed the regexp to require the
7107
function-name to be followed by a non-symbol-constituent character
7108
\S_. Previously a function-name of "find" will first match
7109
find-if-not if it occurs earlier in the file. Patch from Bryan
7112
2005-01-27 20:56 heller
7118
2005-01-27 20:56 heller
7122
(*pending-continuations*, eval-in-emacs, debugger-info-for-emacs):
7123
Keep track of debugged continuation the new variable
7124
*pending-continuations* and include the list of active continuations
7125
in the debugger info for Emacs.
7127
(eval-and-grab-output): New function. Used by slime-eval-print.
7129
(*log-output*): Renamed from *log-io*. Use *standard-error* as
7130
initial value instead of *terminal-io*. CMUCL opens its own tty and
7131
that makes it hard to redirect to output with a shell.
7132
*standard-error* writes its output to file descriptor 2.
7134
(*canonical-package-nicknames*): Fix typo.
7136
2005-01-27 20:54 heller
7140
(slime-busy-p): Ignore debugged continuations to enable arglist lookup
7141
while debugging. Suggested by Lynn Quam.
3472
7142
(sldb-continuations): New buffer local variable in sldb buffers to
3473
keep track of debugged continuations.
7143
keep track of debugged continuatons.
3474
7144
(sldb-debugged-continuations): New function.
3475
7145
(sldb-buffers): Renamed from sldb-remove-killed-buffers.
3476
(slime-eval-print): New function to insert the stream output and
3477
the result of an evaluation in the current buffer.
7147
(slime-eval-print): New function to insert the stream output and the
7148
result of an evaluation in the current buffer.
3478
7149
(slime-eval-print-last-expression): Use it.
3479
(slime-interactive-eval): Use slime-eval-print when a prefix
3482
* swank.lisp (*pending-continuations*, eval-in-emacs)
3483
(debugger-info-for-emacs): Keep track of debugged continuation the
3484
new variable *pending-continuations* and include the list of
3485
active continuations in the debugger info for Emacs.
3486
(eval-and-grab-output): New function. Used by slime-eval-print.
3487
(*log-output*): Renamed from *log-io*. Use *standard-error* as
3488
initial value instead of *terminal-io*. CMUCL opens its own tty
3489
and that makes it hard to redirect to output with a shell.
3490
*standard-error* writes its output to file descriptor 2.
3491
(*canonical-package-nicknames*): Fix typo.
3493
2005-01-20 Helmut Eller <heller@common-lisp.net>
3495
* swank.lisp (parse-symbol): Don't break if the package doesn't
3496
exist. Reported by Lynn Quam.
3498
2005-01-20 Ian Eslick <eslick@csail.mit.edu>
3500
* swank-allegro.lisp (restart-frame): Handle frames with arguments
3503
2005-01-20 Edi Weitz <edi@agharta.de>
3505
* swank-allegro.lisp (handle-undefined-functions-warning): Prevent
3506
breakage if the undefined function is called at multiple
3509
2005-01-19 Helmut Eller <heller@common-lisp.net>
3511
* swank-gray.lisp (stream-unread-char): If the char argument
3512
doesn't match the contents in the buffer, ignore it and emit a
3515
2005-01-19 Utz-Uwe Haus <haus+slime@merkur.math.uni-magdeburg.de>
3517
* swank-cmucl.lisp (breakpoint): Add a slot for return values to
3518
make return values inspectable in the debugger.
3519
(signal-breakpoint): Initialize the new slot.
3521
2005-01-19 Matthias Koeppe <mkoeppe@merkur.math.uni-magdeburg.de>
3523
* slime.el (slime-insert-arglist): Inserts a template for a
3524
function call instead of the plain arglist; this makes a
3525
difference for functions with optional and keyword arguments.
3527
* swank.lisp (arglist-to-template-string): New function.
7150
(slime-interactive-eval): Use slime-eval-print when a prefix argument
7153
2005-01-20 21:05 heller
7159
2005-01-20 21:02 heller
7163
(parse-symbol): Don't break if the package doesn't exists.
7165
2005-01-20 17:09 heller
7171
2005-01-20 17:09 heller
7173
* swank-allegro.lisp:
7175
(handle-undefined-functions-warning): Prevent breakage if the
7176
undefined function is called at multiple locations. By Edi Weitz.
7178
(restart-frame): Handle frames with arguments better. From Ian Eslick.
7180
2005-01-19 19:32 heller
7186
2005-01-19 19:31 heller
7190
(slime-insert-arglist): Inserts a template for a function call instead
7191
of the plain arglist; this makes a difference for functions with
7192
optional and keyword arguments.
7194
2005-01-19 19:30 heller
7198
(arglist-to-template-string): New function.
3528
7199
(arglist-for-insertion): Use it
3529
7200
(decode-keyword-arg, decode-optional-arg): New functions.
3531
2005-01-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3533
* slime.el (slime-header-line-p): Customize variable to
3534
enable/disable the header-line in the REPL.
3536
2005-01-18 Luke Gorrie <luke@synap.se>
3538
* slime.el (slime-complete-symbol*-fancy): New variable to enable
3539
extra bells and whistles with slime-complete-symbol*. Currently
3540
controls whether to use arglists semantically. Default is t.
7202
2005-01-19 19:28 heller
7206
(stream-unread-char): If the char argument doesn't match the contents
7207
in the buffer ignore it and emit a warning instead.
7209
2005-01-19 19:27 heller
7213
(breakpoint): Add a slot for return values to make return values
7214
inspectable in the debugger.
7215
(signal-breakpoint): Initialize the new slot.
7217
2005-01-19 12:58 lgorrie
7223
2005-01-19 12:58 lgorrie
7227
(slime-header-line-p): Customize variable to enable/disable the
7228
header-line in the REPL.
7230
2005-01-18 17:21 lgorrie
7234
(slime-complete-symbol*-fancy): Now defaults to t.
3541
7236
(slime-complete-symbol*-fancy-bit): Factored out this function.
3542
Only do "semantic" completion when the symbol is in
3543
function-position, avoid interning argument names in Emacs, and
3544
don't display arglists if the minibuffer is active.
3546
2005-01-14 Luke Gorrie <luke@synap.se>
3548
* slime.el (slime-repl-send-input): Make old input read-only using
3549
an overlay instead of a text property. This way if you copy&paste
3550
the input elsewhere it will become editable (overlay is associated
3551
with the buffer region and not the text).
3553
2005-01-14 Edi Weitz <edi@agharta.de>
3555
* slime.el (slime-complete-symbol*): Maybe insert closing
3556
parenthesis or space (depending on arglist) after symbol
3557
completion has finished. Optionally also show arglist.
3559
2005-01-13 Helmut Eller <heller@common-lisp.net>
3561
* swank-cmucl.lisp (create-socket): The byte-order of the :host
3562
argument for CREATE-INET-LISTENER was changed in the Jan 2005
3563
snapshot. Test whether the symbol 'ext:socket-error exists to
3564
decide if we are in a older version.
7237
Only do "semantic" completion when the symbol is in function-position,
7238
avoid interning argument names in Emacs, and don't display arglists if
7239
the minibuffer is active.
7241
2005-01-18 17:03 lgorrie
7247
2005-01-18 17:01 lgorrie
7251
(slime-complete-symbol*-fancy): New variable to enable extra bells and
7252
whistles with slime-complete-symbol*. Currently controls whether to
7253
use arglists semantically.
7255
(slime-complete-symbol*): Avoid displaying an arglist when the
7256
minibuffer is active.
7258
2005-01-14 18:08 lgorrie
7264
2005-01-14 18:08 lgorrie
7268
(slime-repl-send-input): Make old input read-only using an overlay
7269
instead of a text property. This way if you copy&paste the input
7270
elsewhere it will become editable (overlay is associated with the
7271
buffer region and not the text).
7273
2005-01-14 08:59 eweitz
7275
* ChangeLog, slime.el:
7277
slime.el (slime-complete-symbol*): Maybe insert closing parenthesis or space after symbol completion has finished.
7279
2005-01-14 00:21 heller
7285
2005-01-14 00:17 heller
7289
(create-socket): The byte-order of the :host argument for
7290
CREATE-INET-LISTENER was changed in the Jan 2005 snapshot. Test
7291
whether the symbol 'ext:socket-error exists to decide if we are in a
3565
7293
(resolve-hostname): Return the address in host byte-order.
3567
2005-01-12 Robert Lehr <bozzio@the-lehrs.com>
3569
* slime.el (slime-changelog-date): Return nil if the ChangLog file
3571
(slime-repl-update-banner): Write "ChangeLog file not found" if
3572
the ChangeLog doesn't exist.
3574
2005-01-12 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
3576
* slime.el (slime-inspector-operate-on-click): New command for
3577
inspecting the value value at the clicked-at position or invoking
3578
an inspector action.
7295
2005-01-12 18:10 heller
7301
2005-01-12 18:08 heller
7305
(slime-changelog-date): Return nil if the ChangLog file doesn't exits.
7306
(slime-repl-update-banner): Write "ChangLog file not found" if the
7307
ChangeLog doesn't exist.
7309
2005-01-12 17:54 heller
7313
(slime-inspector-operate-on-click): New command for inspecting the
7314
value value at the clicked-at position or invoking an inspector
3579
7316
(slime-inspector-mode-map): Bind it to mouse-2.
3580
7317
(slime-inspector-insert-ispec): Add mouse-face properties for
3581
7318
clickable values and action buttons.
3583
2005-01-12 Helmut Eller <heller@common-lisp.net>
3585
* swank.lisp (*default-worker-thread-bindings*): New variable to
3586
initialize dynamic variables in worker threads.
7320
2005-01-12 17:25 heller
7326
2005-01-12 17:22 heller
7330
(*default-worker-thread-bindings*): New variable to initialize dynamic
7331
variables in worker threads.
3587
7332
(spawn-worker-thread, call-with-bindings): New helper functions.
3588
7333
(thread-for-evaluation): Use them.
3590
2005-01-10 Utz-Uwe Haus <haus+slime@merkur.math.uni-magdeburg.de>
3592
* swank-sbcl.lisp (profile-package): Add implementation for SBCL.
3594
2005-01-10 Eduardo Mu�oz <emufer@terra.es>
3596
* swank.lisp (inspect-for-emacs-list): LispWorks has a low args
3597
limit for apply: use reduce instead of apply.
3599
2005-01-10 Helmut Eller <heller@common-lisp.net>
3601
* slime.el (slime-conservative-indentation): The default is now
3602
nil. Suggested by Travis Cross.
3604
2005-01-10 Matthias Koeppe <mkoeppe@merkur.math.uni-magdeburg.de>
3606
* slime.el (slime-inspector-next-inspectable-object): Accept a
3607
prefix argument and make wrapping around more reliable. The code
3608
is adapted from `widget-move'.
7335
2005-01-10 20:35 heller
7341
2005-01-10 20:34 heller
7345
(inspect-for-emacs-list): LispWorks has a low args limit for apply:
7346
use reduce instead of apply.
7348
2005-01-10 20:33 heller
7352
(profile-package): Add implementation for SBCL.
7354
2005-01-10 20:32 heller
7358
(slime-conservative-indentation): The default is now nil. Suggested
7361
(slime-inspector-next-inspectable-object): Accept a prefix argument
7362
and make wrapping around more reliable. The code is adapted from
3609
7364
(slime-inspector-previous-inspectable-object): New command.
3610
7365
(slime-inspector-mode-map): Bind to S-TAB.
3612
2004-12-16 Martin Simmons <martin@xanalys.com>
3614
* swank-lispworks.lisp (create-socket): Work around bug in
3615
comm::create-tcp-socket-for-service on Mac OS LW 4.3.
3617
2004-12-16 Edi Weitz <edi@agharta.de>
3619
* slime.el (slime-complete-symbol*): Bind
3620
comint-completion-addsuffix so unambiguous or exact completion
3621
closes the string automatically.
3623
2004-12-16 Matthias Koeppe <mkoeppe@merkur.math.uni-magdeburg.de>
3625
* slime.el (slime-keys): Bind M-* to
3626
slime-pop-find-definition-stack for compatibility with standard
3629
2004-12-16 Helmut Eller <heller@common-lisp.net>
3631
* swank-source-path-parser.lisp (read-source-form): New function
3632
which uses *read-suppress* properly. Common code from
7367
2004-12-21 14:49 msimmons
7369
* swank-lispworks.lisp:
7371
(create-socket): Work around bug in comm::create-tcp-socket-for-service on Mac
7374
2004-12-21 14:48 msimmons
7380
2004-12-16 23:25 heller
7386
2004-12-16 23:24 heller
7390
(slime-complete-symbol*): Bind comint-completion-addsuffix so
7391
unambiguous or exact completion closes the string automatically.
7393
2004-12-16 22:26 heller
7399
2004-12-16 22:16 heller
7403
(frame-for-emacs): Print the frame number a little nicer with ~2D.
7405
2004-12-16 22:14 heller
7409
(form-number-stream-position): Use read-source-form.
7411
2004-12-16 22:13 heller
7413
* swank-source-path-parser.lisp:
7415
(read-source-form): New function. Common code from
3633
7416
source-path-stream-position and form-number-stream-position.
3634
7417
(source-path-stream-position): Use it.
3636
* swank-cmucl.lisp (form-number-stream-position): Use
3639
* swank.lisp (frame-for-emacs): Print the frame number a little
3642
2004-12-15 Matthias Koeppe <mkoeppe@merkur.math.uni-magdeburg.de>
3644
* slime.el (slime-lisp-modes): New variable to make C-c C-k
3645
customizable and usable in scheme-mode.
7419
2004-12-16 22:08 heller
7423
(slime-keys): Bind M-* to slime-pop-find-definition-stack for
7424
compatibility with standard Emacs convention.
7426
2004-12-16 00:00 heller
7432
2004-12-15 23:45 heller
7434
* swank-backend.lisp:
7436
(frame-package): Delete it. Include the
7437
package name for local variables because it is utterly confusing
7438
if `eval-in-frame' doesn't work due to missing package prefixes.
7440
2004-12-15 23:40 heller
7444
(frame-package): Delete it. Include the package name for local
7445
variables because it is utterly confusing if `eval-in-frame' doesn't
7446
work due to missing package prefixes.
7448
2004-12-15 23:37 heller
7450
* swank-source-path-parser.lisp:
7452
(source-path-stream-position): Bind *read-suppress* to nil before
7453
calling read-and-record-source-map.
7455
2004-12-15 23:35 heller
7459
(*buffer-name* *buffer-offset*): Move definitions upward before the
7462
2004-12-15 23:30 heller
7464
* swank.lisp, slime.el:
7466
(slime-lisp-modes): New variable to make C-c C-k customizable and
7467
usable in scheme-mode.
3646
7468
(slime-compile-file): Use it.
3648
2004-12-15 Helmut Eller <heller@common-lisp.net>
3650
* swank-cmucl.lisp, swank-backend.lisp (frame-package): Delete it.
3651
Include the package name for local variables because it is utterly
3652
confusing if `eval-in-frame' doesn't work due to missing package
3655
* swank-source-path-parser.lisp (source-path-stream-position):
3656
Bind *read-suppress* to nil before calling
3657
read-and-record-source-map.
3659
* swank-clisp.lisp (*buffer-name*, *buffer-offset*): Move
3660
definitions upward before the first use.
3662
2004-12-15 Bryan O'Connor <bryan-slime@lunch.org>
3664
* slime.el (slime-edit-definition): Switch to the other frame if
3665
the `where' is 'frame.
7470
2004-12-15 08:14 heller
7476
2004-12-15 08:11 heller
7480
(slime-output-string): Remove debugging stuff.
7482
2004-12-15 08:09 heller
3666
7486
(slime-edit-definition-other-frame): New function.
3668
2004-12-15 Helmut Eller <heller@common-lisp.net>
3670
* slime.el (slime-repl-send-input): Make the input read-only to
3672
(slime-make-region-read-only): New function.
3674
2004-12-13 Helmut Eller <heller@common-lisp.net>
3676
* slime.el (slime-repl-mode-map): Bind <home> to slime-repl-bol.
3677
Suggested by Chris Capel.
3678
(slime-repl-grab-old-input): Remove the 'old-input text-property
3679
from the copied text. Reported by Tim Oates.
7487
(slime-edit-definition): Switch to the other frame if the `where' is
7490
2004-12-13 21:14 heller
7496
2004-12-13 21:10 heller
7500
(slime-repl-grab-old-input): Remove the 'old-input text-property from
7503
2004-12-13 21:05 heller
3680
7507
(slime-repl-grab-old-input): Append the old input to the current
3681
input by default. If the new `replace' argument is true, replace
3682
the current input. Suggested by Antonio Menezes Leitao.
3683
(slime-repl-return): Pass the prefix argument to
3684
slime-repl-grab-old-input.
3686
2004-12-09 Helmut Eller <heller@common-lisp.net>
3688
* swank.lisp (*sldb-print-pretty*, *sldb-print-circle*)
3689
(*sldb-print-length*, *sldb-print-level*, *sldb-print-lines*)
7508
input by default. If the new `replace' argument and is true, replace
7511
2004-12-13 20:55 heller
7517
2004-12-13 20:54 heller
7521
(slime-repl-mode-map): Bind <home> to slime-repl-bol. Suggested by
7524
2004-12-09 21:44 heller
7530
2004-12-09 21:43 heller
7534
(*sldb-print-pretty*, *sldb-print-circle*, *sldb-print-length*)
7535
(*sldb-print-level*, *sldb-print-lines*)
3690
7536
(*sldb-print-pprint-dispatch*): Export those symbols.
3692
2004-12-05 Helmut Eller <heller@common-lisp.net>
3694
* slime.el (slime-global-variable-name-p): Also return true for
3695
names of constants like +foo+. Suggested by Christian Lynbech.
3697
* swank-allegro.lisp (handle-compiler-warning): Handle
3698
undefined-functions warnings by looking the fromat-arguments of
3700
(compiler-undefined-functions-called-warning-p)
3701
(location-for-warning, handle-undefined-functions-warning): New
3704
* swank-cmucl.lisp (*install-gc-hooks*): New user variable.
7538
2004-12-05 22:15 heller
7544
2004-12-05 22:13 heller
3705
7548
(sending-safe-p): New predicate.
3706
7549
(pre-gc-hook, post-gc-hook): Use it.
3708
* swank.lisp (eval-region): Use a simple loop.
3710
2004-12-02 Helmut Eller <heller@common-lisp.net>
3712
* swank.lisp: (inspect-for-emacs (symbol)): Handle non-interned
3715
* slime.el (slime-repl-clear-buffer, slime-repl-clear-output): Fix
3718
2004-11-29 Lynn Quam <quam@ai.sri.com>
3720
* slime.el (slime-global-variable-name-p): Allow optional
3721
"<package-name>:" or "<package-name>::".
3723
2004-11-29 Chris Capel <pdf23ds@gmail.com>
3725
* swank.lisp (macro-indentation): Ignore &whole, &aux, and
3728
2004-11-29 Helmut Eller <heller@common-lisp.net>
3730
* slime.el (slime-repl-wrap-history): New user variable.
7550
(*install-gc-hooks*): New user variable.
7552
2004-12-05 22:06 heller
7556
(eval-region): Use a simple loop.
7558
2004-12-05 16:25 heller
7564
2004-12-05 15:58 heller
7570
2004-12-05 15:52 heller
7572
* swank-allegro.lisp:
7574
(handle-compiler-warning): Handle undefined-functions warnings by
7575
looking the fromat-arguments of the condition.
7576
(compiler-undefined-functions-called-warning-p, location-for-warning)
7577
(handle-undefined-functions-warning): New functions.
7579
2004-12-05 15:49 heller
7583
(slime-global-variable-name-p): Return true for names of constants
7586
2004-12-02 18:14 heller
7592
2004-12-02 18:11 heller
7596
(inspect-for-emacs (symbol)): Handle non-interned symbols.
7598
2004-12-02 18:10 heller
7602
(slime-repl-clear-buffer, slime-repl-clear-output): Fix docstrings.
7604
2004-11-29 18:36 heller
7610
2004-11-29 18:35 heller
7612
* swank-abcl.lisp, swank-allegro.lisp, swank-clisp.lisp,
7613
swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
7615
(accept-connection): The :external-format argument defaults now to
7618
2004-11-29 18:33 heller
7620
* swank-lispworks.lisp:
7622
(list-callers-internal): Return the function if dspec:object-dspec
7624
(xref-results): Previously, functions for which
7625
dspec:dspec-definition-locations returned nil were ignored.
7626
Include them with a unknown source-location.
7628
(accept-connection): Add default for external-format.
7630
2004-11-29 18:31 heller
7634
(macro-indentation): Call clean-arglist.
7636
2004-11-29 18:31 heller
7640
(slime-global-variable-name-p): Allow optional "<package-name>:" or
7643
(slime-repl-wrap-history): New user variable.
3731
7644
(slime-repl-history-replace): Implement wrap around.
3732
7646
(slime-repl-easy-menu): Fix binding for "Next Input". Reported by
3733
7647
Surendra Singhi.
3735
* swank-lispworks.lisp (list-callers-internal): Return the
3736
function if dspec:object-dspec returns nil.
3737
(xref-results): Previously, functions for which
3738
dspec:dspec-definition-locations returned nil were ignored.
3739
Include them with a unknown source-location.
3741
* swank-abcl.lisp, swank-allegro.lisp, swank-clisp.lisp,
3742
swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
3743
swank-lispworks (accept-connection): The :external-format argument
3744
defaults now to :iso-latin-1-unix.
3746
2004-11-26 Helmut Eller <heller@common-lisp.net>
3748
* swank-cmucl.lisp (read-into-simple-string): Use #-cmu19 instead
3751
2004-11-25 Chris Capel <pdf23ds@gmail.com>
3753
* slime.el (slime-indent-and-complete-symbol): Echo the arglist if
3754
there's no symbol before point. Don't complete after parens.
7649
2004-11-26 08:06 heller
7653
(read-into-simple-string): Use #-cmu19 instead of #+cmu18e.
7655
2004-11-25 20:09 heller
7661
2004-11-25 20:05 heller
7665
(%thread-state-slot, %thread-state): Refactored from thread-status.
7666
(thread-status): Use it.
7668
(all-threads): Exclude return zombies.
7670
2004-11-25 20:03 heller
7674
(dispatch-loop): Catch errors and close the connection. It's almost
7675
impossible to run the debugger inside the control-thread, so let it
7676
crash instead. A backtrace would be nice, though.
7678
(cleanup-connection-threads): Can know be called in the
7679
control-thread. Add a check to avoid thread suicide.
7681
(arglist-to-string): Don't show &whole, &aux and &environment args.
7682
(clean-arglist): New function.
7684
(start-swank-server-in-thread): Fix the call to start-server.
7686
2004-11-25 19:58 heller
7690
(slime-indent-and-complete-symbol): Echo the arglist if there's no
7691
symbol before point. Don't complete after parens.
3755
7692
(slime-echo-arglist): Factorized from slime-space.
3756
7693
(slime-space): Use it.
3757
(slime-repl-history-replace): Clear the input at the end of the
3760
* swank.lisp (arglist-to-string): Don't show &whole, &aux and
3762
(clean-arglist): New function.
3764
2004-11-25 Helmut Eller <heller@common-lisp.net>
3766
* slime.el (slime-net-coding-system): Emacs does funky encoding
3767
for `raw-text-unix' use `binary' instead.
7695
(slime-repl-history-replace): Add argument to clear the input at the
7698
(slime-net-coding-system): Emacs does funky encoding for
7699
`raw-text-unix' use `binary' instead.
3768
7700
(slime-safe-encoding-p): New function.
3769
(slime-net-send): Use it and don't try to send stuff which can't
3771
(slime-inferior-lisp-program-history): XEmacs compatibility:
3772
declare it as a variable.
3773
(slime-xref-mode): In Emacs 21, set delayed-mode-hooks to nil
3774
because we don't want to run the lisp-mode-hook. Reported by
3777
* swank.lisp (dispatch-loop): Catch errors and close the
3778
connection. It's almost impossible to run the debugger inside the
3779
control-thread, so let it crash instead. A backtrace would be
3781
(cleanup-connection-threads): Can now be called in the
3782
control-thread. Add a check to avoid thread suicide.
3783
(start-swank-server-in-thread): Fix the call to start-server.
3785
* swank-sbcl.lisp (%thread-state-slot, %thread-state): Refactored
3787
(thread-status): Use it.
3788
(all-threads): Exclude zombies.
3790
2004-11-24 Helmut Eller <heller@common-lisp.net>
3792
* slime.el (slime-start-and-load): Use vanilla comint instead of
3793
inf-lisp. Let's try that for a while.
3794
(slime): Ask for the coding system when invoked with C-u C-u.
3795
(slime-net-coding-system, slime-net-valid-coding-systems): Add
3796
some alternatives for older Emacsen.
3797
(slime-find-buffer-package): Skip quotes. Old code looks
3798
sometimes like (in-package 'foo).
3799
(slime-repl-mode-map): Inhibit C-c C-z. Avoids accidental loading
7701
(slime-net-send): Use it and don't try to send stuff which can't be
7704
(slime-inferior-lisp-program-history): XEmacs compatibility: declare
7707
(slime-xref-mode): In Emacs 21, set delayed-mode-hooks to nil because
7708
we don't want to run the lisp-mode-hook.
7710
2004-11-24 21:29 heller
7716
2004-11-24 21:26 heller
3801
7720
(slime-net-coding-system): Use find-coding-system in XEmacs.
3802
7721
coding-system-p means something different here.
3803
(slime-repl-mode-map): XEmacs compatibility: use (kbd "C-<up>")
3806
* swank.lisp (inspect-for-emacs-list): subseq on improper lists
3807
breaks in Lispworks. Handle that case better.
3809
* swank-sbcl.lisp (inspect-for-emacs)[code-component]: Disassemble
3810
code-components too.
3812
* swank-backend.lisp (import-swank-mop-symbols): Better error
3813
message for the assertion.
3815
* swank-cmucl.lisp (debug-var-value): Return #:invalid or
3816
#:unknown instead of :<not-available>.
7723
2004-11-24 21:02 heller
7729
2004-11-24 20:58 heller
7733
(inspect-for-emacs)[code-component]: Disassemble code-components too.
7735
2004-11-24 20:57 heller
7737
* swank-backend.lisp:
7739
(import-swank-mop-symbols): Better error message for the assertion.
7741
2004-11-24 20:55 heller
7745
(debug-var-value): Return #:invalid or #:unkown instead of :<not-available>.
3817
7747
(swank-compile-file): Load the fasl file only if load-p is true.
3818
(inspect-for-emacs, inspect-alien-record, inspect-alien-pointer):
3819
Add inspector support for some alien types.
3821
* swank-lispworks.lisp (emacs-connected): Set the sigint handler
3822
only for single threaded operation. I.e. when
3823
*communication-style* is nil.
3825
* swank-allegro.lisp (set-external-format): New function. Use LF
7749
(inspect-for-emacs, inspect-alien-record, inspect-alien-pointer): Add
7750
inspector support for some alien types.
7752
2004-11-24 20:52 heller
7756
(inspect-for-emacs-list): subseq on improper lists breaks in
7757
Lispworks. Handle that case better.
7759
2004-11-24 20:50 heller
7761
* swank-lispworks.lisp:
7763
(emacs-connected): Set sigint handler only for single threaded
7764
operation. I.e. when *communication-style* is nil.
7766
2004-11-24 20:49 heller
7768
* swank-allegro.lisp:
7770
(set-external-format): New function. Use LF as eol mark.
3827
7772
(call-with-compilation-hooks): Trap compiler-notes too.
3829
2004-11-24 Luke Gorrie <luke@synap.se>
3831
* slime.el (slime-repl-mode-map): Add C-up and C-down to move
3832
through history. Consistent with comint-mode.
7774
2004-11-24 20:47 heller
7778
(slime-start-and-load) Use vanilla comint instead of inf-lisp. Let's
7779
try that for a while.
7781
(slime): Ask for the coding system when invoked with C-u C-u.
7783
(slime-net-coding-system, slime-net-valid-coding-systems): Add some
7784
alternatives for older Emacsen.
7786
(slime-find-buffer-package): Skip quotes. Old code looks sometimes
7787
like (in-package 'foo).
7789
(slime-repl-mode-map): Inhibit C-c C-z. Avoids accidental loading
7792
2004-11-24 04:57 lgorrie
7798
2004-11-24 04:56 lgorrie
3833
7802
(slime-repl-mode-map): Add slime-load-file on `C-c C-l' and
3834
7803
slime-compile-file on `C-c C-k'. This is mostly to override
3835
7804
unwanted inf-lisp bindings in lisp-mode-map.
7806
2004-11-24 04:52 lgorrie
3836
7810
(slime-load-file): Handle (buffer-file-name) being nil.
3838
2004-11-20 Helmut Eller <heller@common-lisp.net>
3840
* swank-sbcl.lisp (make-socket-io-stream): Add some #+sb-unicode.
3842
2004-11-20 Travis Cross <travis@crosswirecorp.com>
3844
* swank-sbcl.lisp (thread-status): Fix unbalanced parenthesis.
3846
2004-11-20 Marco Baringer <mb@bese.it>
3848
* swank-openmcl.lisp (make-stream-interactive): Only add ouptut
3849
streams (subclasses of ccl:fundamental-output-stream) to
3850
ccl::*auto-flush-streams*.
3852
2004-11-19 Helmut Eller <heller@common-lisp.net>
3854
* slime.el (slime-net-coding-system): New variable. Specifies the
3855
coding system to use for network communication. The default is
3856
iso-latin-1 and should work for all Lisps. Only a small set of
3857
coding systems is currently supported.
7812
2004-11-24 04:51 lgorrie
7816
(slime-repl-mode-map): Add slime-load-file on `C-c C-l'.
7818
2004-11-24 04:05 lgorrie
7824
2004-11-24 04:03 lgorrie
7828
(slime-repl-mode-map): Add C-up and C-down to move through history.
7829
Consistent with comint-mode.
7831
2004-11-20 21:49 heller
7837
2004-11-20 21:47 heller
7841
(make-socket-io-stream): Add #+sb-unicode.
7843
2004-11-20 21:15 heller
7849
2004-11-20 21:13 heller
7853
Fix unbalanced parenthesis. Patch from Travis Cross.
7855
2004-11-20 13:07 mbaringer
7861
2004-11-20 13:06 mbaringer
7863
* swank-openmcl.lisp:
7865
(make-stream-interactive): Only add ouptut streams (subclasses of
7866
ccl:fundamental-output-stream) to ccl::*auto-flush-streams*.
7868
2004-11-19 20:11 heller
7874
2004-11-19 20:08 heller
7878
(accept-connection): Accept external-format argument.
7880
(inspect-for-emacs): Add CMUCL specific versions.
7882
2004-11-19 20:04 heller
7884
* swank-abcl.lisp, swank-allegro.lisp, swank-backend.lisp,
7885
swank-clisp.lisp, swank-lispworks.lisp, swank-openmcl.lisp,
7888
(accept-connection): Accept :external-format as argument.
7890
2004-11-19 20:02 heller
7894
(*coding-system*): New variable.
7895
(start-server): Accept external-format as argument.
7896
(create-server, create-swank-server, setup-server, serve-connection)
7897
(open-dedicated-output-stream, create-connection): Ditto.
7899
(defstruct connection): Add external-format slot.
7901
(decode-message-length): Use function for new length encoding.
7902
(decode-message): Use it.
7903
(encode-message): Use new encoding.
7905
2004-11-19 19:55 heller
7909
(slime-net-coding-system): New variable. Specifies the coding system
7910
to use for network communication. The default is iso-latin-1 and
7911
should work for all Lisps. Only a small set of coding systems is
7912
currently supported.
3858
7913
(slime-net-valid-coding-systems): New variable. A list of coding
3859
7914
systems which may be used.
3860
7915
(slime-check-coding-system, slime-coding-system-mulibyte-p)
3861
(slime-coding-system-cl-name): New utility function for coding
3863
(slime-net-connect, slime-make-net-buffer,
3864
slime-open-stream-to-lisp): Use it.
7916
(slime-coding-system-cl-name): New utility function for coding systems.
7917
(slime-net-connect, slime-make-net-buffer, slime-open-stream-to-lisp):
3865
7920
(slime-net-decode-length, slime-net-encode-length): Renamed from
3866
slime-net-read3 and slime-net-enc3. The length is now encoded as
3867
a 6 char hex string.
3869
* swank.lisp (*coding-system*): New variable.
3870
(start-server): Accept external-format as argument.
3871
(create-server, create-swank-server, setup-server)
3872
(serve-connection, open-dedicated-output-stream)
3873
(create-connection): Ditto.
3874
(defstruct connection): Add external-format slot.
3875
(decode-message-length): New function for new length encoding.
3876
(decode-message): Use it.
3877
(encode-message): Use new encoding.
3879
* swank-cmucl.lisp (accept-connection): Accept external-format
3881
(inspect-for-emacs): Add CMUCL specific versions for array and
3884
* swank-sbcl.lisp, swank-openmcl.lisp, swank-lispworks.lisp,
3885
swank-clisp.lisp, swank-backend.lisp, swank-allegro.lisp,
3886
swank-abcl.lisp (accept-connection): Accept :external-format as
3889
2004-11-19 Matthew Danish <mrd+nospam@cmu.edu>
3891
* swank-allegro.lisp: (count-cr): New function. Convert
3892
file-offsets to match Emacs' eol-conventions.
7921
slime-net-read3 and slime-net-enc3. The length is now encoded as a 6
7924
2004-11-19 02:28 heller
7930
2004-11-19 02:19 heller
7934
(thread-status): Decode the thread-state-slot instead of returning ???.
7936
2004-11-19 02:18 heller
7938
* swank-allegro.lisp:
7940
(swank-mop:slot-definition-documentation): ACL 7 says documentation
7941
should have 2 args. So, pass t as second argument.
7943
(fspec-primary-name): Recurse until we have a symbol.
7945
(count-cr): Convert file-offsets to match Emacs' eol-convetions.
3893
7947
(find-definition-in-file): Use it.
3895
* slime.el (slime-insert-xrefs): Display the multi-line label much
3898
2004-11-19 Helmut Eller <heller@common-lisp.net>
3900
* swank-sbcl.lisp (thread-status): Decode the thread-state-slot
3901
instead of returning ???.
3903
* swank-allegro.lisp (swank-mop:slot-definition-documentation):
3904
ACL 7 says documentation should have 2 args. So, pass t as second
3906
(fspec-primary-name): Recurse until we have a symbol.
3907
(allegro-inspect): New function. Mostly reverse engineered from
3908
ACL's native inspector.
3909
(inspect-for-emacs (t), inspect-for-emacs (function)): Use it.
3911
* swank.lisp (inspect-for-emacs array): Use row-major-aref instead
3912
of a displaced array. I hope that does the same.
3913
(inspect-for-emacs integer): Ignore errors in
3914
decode-universal-time. Negative values and, in SBCL, also small
3915
values cannot be decoded.
7949
(allegro-inspect): New function. Mostly engineered from ACL's native
7951
(inspect-for-emacs (t), inspect-for-emacs (function)) Use it.
7953
2004-11-19 02:13 heller
7957
(inspect-for-emacs array): Use row-major-aref instead of a displaced
7958
array. I that's the same.
7960
(inspect-for-emacs integer): Ignore errors in decode-universal-time.
7961
Negative values and in SBCL also small values cannot be decoded.
3916
7963
(list-threads): Include the thread-id. Useful for SLIME debugging.
3918
* slime.el (slime-list-threads, slime-thread-insert): Show the
7965
2004-11-19 02:08 heller
7969
(slime-insert-xrefs): one-line-ify the label. From Matthew Danish.
7971
(slime-list-threads, slime-thread-insert): Show the thread-id.
3920
7973
(slime-thread-control-mode-map): Remove the binding for the
3921
7974
no-longer-existent slime-thread-goahead command.
3923
2004-11-18 Alexey Dejneka <adejneka@comail.ru>
3925
* swank.lisp (inspect-for-emacs): Fix bug in handling of arrays
3928
2004-11-15 Helmut Eller <heller@common-lisp.net>
3930
* slime.el: The REPL commands ,quit and ,sayoonara are now
3931
distinct. Previously Quit killed all Lisps an all buffers. The
3932
new Quit command kills only the current Lisp.
3933
(slime-quit-lisp): New function.
3934
(repl-command quit): Use it. Don't delete all buffers.
3935
(repl-command sayoonara): No longer an alias for ,quit.
3936
(slime-connection-list-mode-map): Bind C-k to slime-quit-lisp.
7976
2004-11-18 18:36 mbaringer
7982
2004-11-18 18:34 mbaringer
7986
(inspect-for-emacs): Fix bug in handling of arrays with fill-pointers.
7988
2004-11-17 16:17 mbaringer
7990
* swank-openmcl.lisp:
7992
Typo in defimplementation emacs-connected.
7994
2004-11-16 00:15 heller
8000
2004-11-16 00:08 heller
8004
(emacs-connected): Deleted. The default implementation should be good
8007
2004-11-16 00:07 heller
8011
(emacs-connected): Updated for new interface.
8013
2004-11-16 00:07 heller
8015
* swank-openmcl.lisp:
8017
(emacs-connected, make-stream-interactive): Move buffering stuff to
8018
make-stream-interactive.
8020
2004-11-16 00:05 heller
8022
* swank-lispworks.lisp:
8024
(emacs-connected, make-stream-interactive): Move the soft-force-output
8025
stuff to make-stream-interactive.
8027
(frame-source-location-for-emacs): Pass the function name of the next
8028
(newer) frame as a hint to Emacs. This way we can highlight the call
8029
site in some cases, instead of the entire defun.
8031
(frame-location): Renamed from function-name-location. The argument
8032
is now a dspec, not only a name. Also include hints for Emacs.
8034
(lispworks-inspect): Simplified from old code.
8035
(inspect-for-emacs): Use it for also for simple functions.
8037
2004-11-15 23:59 heller
8041
(sos/misc :flush-output): There seem to be funny signal safety issues
8042
if the dedicated output stream is not used. So, lets first reset the
8043
buffer index before sending the buffer to the underlying stream.
8045
(emacs-connected): Install GC hooks to display GC messages in the echo
8048
2004-11-15 23:48 heller
8052
(defstruct connection): Add new slot: communication-style for
8054
(create-connection): Initialize the new slot.
8055
(connection-info): Send the communication-style to Emacs.
8056
(install-fd-handler, simple-serve-requests): Sending
8057
:use-sigint-for-interrupt is no longer necessary.
8059
(notify-backend-of-connection): Don't pass the output stream to the backend.
8061
2004-11-15 23:45 heller
8063
* swank-backend.lisp:
8065
(emacs-connected): Don't pass the stream as argument.
8066
make-stream-interactive is a better place for setting buffering
8069
2004-11-15 23:42 heller
3937
8073
(slime-communication-style): New connection variable.
3938
8074
(slime-use-sigint-for-interrupt): Is no longer a connection local
3939
8075
variable. It's derived from the new slime-communication-style.
4040
8192
(score-completion): Cleaned up a little bit.
4041
8193
(highlight-completion): Use destructive nstring-upcase.
4043
2004-11-01 Helmut Eller <heller@common-lisp.net>
4045
* slime.el (slime-easy-menu): Add item for
4046
slime-update-indentation. Suggested by Lynn Quam.
8195
2004-11-01 18:29 heller
8201
2004-11-01 18:19 heller
8203
* swank-backend.lisp:
8205
(deftype severity): Add read-errors.
8207
2004-11-01 18:18 heller
8211
(severity-for-emacs): Special case read-errors.
8213
(read-error-location): Add the offset to the buffer start.
8215
2004-11-01 18:15 heller
8219
(assign-index): Avoid linear search.
8221
2004-11-01 17:56 heller
8225
(slime-easy-menu): Add item for slime-update-indentation. Suggested
4047
8228
(slime-severity-faceslime-show-note-counts)
4048
(slime-most-severe, slime-choose-overlay-region): Handle
8229
(slime-most-severe, slime-choose-overlay-region): Handle read-errors.
4050
8231
(slime-show-buffer-position): New function.
4051
8232
(slime-show-source-location): Use it.
4053
* swank-backend.lisp (deftype severity): Add read-errors.
4055
* swank-cmucl.lisp (severity-for-emacs): Special case read-errors.
4056
(read-error-location): Add the offset to the buffer start.
4058
* swank.lisp (assign-index): Avoid linear search.
4060
2004-10-30 Helmut Eller <heller@common-lisp.net>
4062
* swank-source-path-parser.lisp (source-path-stream-position):
4063
Bind *read-suppress* only as long as we skip over forms. The last
4064
toplevel form in the path is read with *read-suppress* = nil
4065
because in newer versions of CMUCL and SBCL read will return nil
4066
if *read-suppress* is t.
4068
2004-10-28 Helmut Eller <heller@common-lisp.net>
4070
* swank-clisp.lisp: Ups. Undo previous change.
4072
* swank-clisp.lisp: Add workaround for CLISP's broken control
4075
* swank-cmucl.lisp (set-step-breakpoints): Handle breakpoints at
4076
single-return points in escaped frames better. Previously we
4077
tried to set a breakpoint at the current position and consequently
4078
was only hit during the next call.
8234
2004-10-30 12:21 heller
8240
2004-10-30 12:16 heller
8242
* swank-source-path-parser.lisp:
8244
(source-path-stream-position): Bind *read-suppress* only as long as we
8245
skip over forms. The last toplevel form in the path is read with
8246
*read-suppress* = nil because in newer versions of CMUCL and SBCL read
8247
will return nil if *read-suppress* is t.
8249
2004-10-29 00:19 heller
8255
2004-10-29 00:16 heller
8259
(inspect-for-emacs[integer]): Fix control string. Thanks to CSR for
8262
2004-10-29 00:14 heller
8268
2004-10-29 00:12 heller
8272
Undo previous change.
8274
2004-10-28 23:41 heller
8280
2004-10-28 23:39 heller
8284
Add workaround for CLISP's broken control string parser.
8286
2004-10-28 23:37 heller
8290
(slime-kill-all-buffers): More regexp kludges. From Bill Clementson.
8292
2004-10-28 23:34 heller
8296
(set-step-breakpoints): Handle breakpoints at single-return points in
8297
escaped frames better. Previously we tried to set a breakpoint at the
8298
current position and consequently was only hit during the next call.
4079
8300
(inspect-for-emacs)[function]: Call the next method only for
4080
8301
funcallable instances.
4081
(profile-report, profile-reset, unprofile-all): We have to use
4082
eval because the macro expansion depends on the value of
4083
*timed-functions*. Reported by Chisheng Huang.
4085
* slime.el (slime-space): Call slime-message in the right buffer,
4086
so that after-command hooks are added in the right buffer.
4087
Reported by Juho Snellman.
8303
(profile-report, profile-reset, unprofile-all): We have to use eval
8304
because the macro expansion depends on the value of *timed-functions*.
8305
Reported by Chisheng Huang.
8307
2004-10-28 23:28 heller
4088
8311
(slime-dispatch-event): Accept stepping flag.
8313
(slime-space): Call slime-message in the right buffer, so that
8314
after-command hooks are added in the right buffer. Reported by Juho
4089
8317
(sldb-setup): Don't query when entering a recursive edit.
4090
8319
(sldb-exit): Don't kill the buffer if we are in stepping mode.
4091
8321
(slime-inspector-insert-ispec): New function.
4092
8322
(slime-open-inspector): Use it.
4093
8323
(slime-inspector-operate-on-point): Simplified.
4094
8325
(test interactive-eval): Fix test case.
4095
(slime-kill-all-buffers): More regexp kludges. From Bill Clementson.
4097
* swank-backend.lisp (activate-stepping): New function.
4099
* swank.lisp (*sldb-stepping-p*): New variable. Used to tell
4100
emacs that the debugger buffer should not be closed even if we
8327
2004-10-28 23:23 heller
8329
* swank-backend.lisp:
8331
(activate-stepping): New function.
8333
2004-10-28 23:21 heller
8337
(*sldb-stepping-p*): New variable. Used to tell emacs that the
8338
debugger buffer should not be closed even if we unwind.
4102
8339
(debug-in-emacs): Use it.
4103
8341
(sldb-step): Moved to the front end.
4104
8343
(inspector-princ, method-specializers-for-inspect): Simplified.
4105
(methods-by-applicability): Use a simpler algorithm. I doubt there
4106
is much difference in practice.
8344
(methods-by-applicability): Use a simpler algorithm. I doubt there is
8345
much difference in practice.
4107
8347
(inspect-for-emacs)[symbol, function, standard-generic-function]
4108
8348
[standard-method]: Use less than 80 columns.
4109
(inspector-call-nth-action): Don't accept &rest args. Was never
4111
(inspect-for-emacs) [integer]: Fix control string. Thanks to CSR
4112
for pointing it out.
4114
2004-10-27 Helmut Eller <heller@common-lisp.net>
4116
* swank-sbcl.lisp (signal-compiler-condition): Actually delete one
4117
of the reader-conditionalized forms.
4119
2004-10-26 Helmut Eller <heller@common-lisp.net>
4121
* cl-indent.el: Add indentation specs for some missing CL symbols.
4122
(lisp-prefix-match-indentation): Change default to
4123
nil to avoid confusion for people who don't care about the issue.
4125
* swank-sbcl.lisp (signal-compiler-condition): Remove reader
4126
conditionals as the current code doesn't work in any SBCL before
4129
* swank-source-path-parser.lisp: Remove workarounds for SBCL bugs.
4130
The bugs are fixed in the versions we support.
4132
* swank-cmucl.lisp (read-error-location)
4133
(signal-compiler-condition): Handle read-errors.
4134
(swank-compile-file): Don't load the fasl file if there was an
4137
* swank.lisp (define-printer-variables): Handle doc strings
8350
(inspector-call-nth-action): Don't accept &rest args. Was never used.
8352
2004-10-27 12:59 heller
8358
2004-10-27 12:57 heller
8362
(signal-compiler-condition): Actually delete one of the
8363
reader-conditionalized forms.
8365
2004-10-26 02:45 heller
8371
2004-10-26 02:43 heller
8375
(lisp-prefix-match-indentation): Change default to nil to avoid
8376
confusion for people who don't care about the issue.
8378
Add indentation specs for some missing CL symbols.
8380
2004-10-26 02:39 heller
8386
2004-10-26 02:35 heller
8390
(signal-compiler-condition): Remove reader conditionals as the current
8391
code doesn't work in any SBCL before 0.8.13 anyway.
8393
2004-10-26 02:33 heller
8395
* swank-source-path-parser.lisp:
8397
Remove workarounds for SBCL bugs. The bugs are fixed in the versions
8400
2004-10-26 02:32 heller
8404
(read-error-location, signal-compiler-condition): Handle read-errors.
8406
(swank-compile-file): Don't load the file if there was an error.
8408
2004-10-26 02:30 heller
8412
(define-printer-variables): Handle doc strings properly.
4139
8413
(*sldb-pprint-dispatch*): Initialize it with the default dispatch
4142
* slime.el (slime-init-command): New function to send the command
4143
to load swank. Having a separate function for the task should
4144
make it easier to start a Lips with a preloaded swank.
8416
2004-10-26 02:28 heller
8420
(slime-init-command): New function to send the command to load swank.
8421
Havering a separate function for the task should make it easier to
8422
start a Lips with a preloaded swank.
4145
8423
(slime-maybe-start-lisp): Use it.
4146
8424
(slime-maybe-start-multiprocessing): Deleted.
4147
8426
(slime-repl-buffer): Include the name of the implementation.
4148
8428
(slime-set-default-directory)
4149
8429
(slime-sync-package-and-default-directory): Translate filenames.
4151
2004-10-25 Marco Baringer <mb@bese.it>
4153
* swank.lisp (inspect-for-emacs array): Properly deal with arrays
4154
without fill pointers.
4155
(inspect-for-emacs function): Show function-lambda-expression
4158
* swank-openmcl.lisp (specializer-name): New function.
4159
(who-specializes): Use it.
4160
(maybe-method-location): Use it.
4161
(function-source-location): Use it.
4163
* swank-cmucl.lisp (inspect-for-emacs function): Use next
4164
method's values and simply add cmucl specific details.
4166
* slime.el (slime-repl-defparameter): Change default value to "*".
4168
2004-10-25 Thomas Schilling <tjs_ng@yahoo.de>
4170
* swank-allegro.lisp (inspect-for-emacs): Use
4171
excl::external-fn_symdef to get the function documentation.
4173
* swank.lisp (inspect-for-emacs): Order generic function's methods
8431
2004-10-25 18:20 mbaringer
8437
2004-10-25 18:19 mbaringer
8441
(inspect-for-emacs array): Properly deal with arrays without fill
8443
(inspect-for-emacs function): Show function-lambda-expression when
8445
(inspect-for-emacs generic-function): Order generic function's methods
4174
8446
and show abbreviated docs for methods.
4175
8447
(abbrev-doc): New function.
4176
8448
(methods-by-applicability): New function.
4177
8449
(*gf-method-getter*): New variable.
4179
2004-10-19 Luke Gorrie <luke@synap.se>
4181
* slime.el (slime-show-source-location): Call `push-mark' to push
4182
the source position onto the global mark ring.
4184
2004-10-19 Helmut Eller <heller@common-lisp.net>
4186
* swank.lisp (define-printer-variables): NIL is not a valid
4187
docstring. Reported by Alain Picard.
4188
(printer-variables sldb-print): Include print-gensym,
4189
pprint-dispatch, base, radix, array, and lines.
4191
2004-10-17 Luke Gorrie <luke@synap.se>
4193
* slime.el (slime-message): Use slime-typeout-frame if available.
4195
2004-10-17 Helmut Eller <heller@common-lisp.net>
4197
* cl-indent.el: Our local copy. Should eventually be merged the
4198
file with in the main distribution.
4200
* slime.el: (slime-find-buffer-package-function): New variable to
4201
allow customization for unusal syntax.
8451
2004-10-25 18:18 mbaringer
8453
* swank-openmcl.lisp:
8455
(specializer-name): New function.
8456
(who-specializes): Use it.
8457
(maybe-method-location): Use it.
8458
(function-source-location): Use it.
8460
2004-10-25 18:17 mbaringer
8464
(inspect-for-emacs function): Use next method's values and simply add
8465
cmucl specific details.
8467
2004-10-25 18:17 mbaringer
8469
* swank-allegro.lisp:
8471
(inspect-for-emacs): Use excl::external-fn_symdef to get the function
8474
2004-10-25 18:15 mbaringer
8478
(slime-repl-defparameter): Change default value to "*".
8480
2004-10-19 20:59 lgorrie
8486
2004-10-19 20:59 lgorrie
8490
slime-show-source-location:
8491
Use `push-mark' instead of `set-mark-command'.
8493
2004-10-19 20:55 lgorrie
8499
2004-10-19 20:54 lgorrie
8503
(slime-show-source-location): Call `set-mark-command' to push the
8504
source position onto the global mark ring.
8506
2004-10-19 09:04 heller
8512
2004-10-19 08:14 heller
8516
(define-printer-variables): Allow print-gensym, base and others.
8517
(printer-variables sldb-print): Include print-gensym, pprint-dispatch,
8518
base, radix, array, lines.
8520
2004-10-19 07:57 heller
8524
(define-printer-variables): NIL is not a valid docstring. Reported by
8527
2004-10-17 23:51 heller
8533
2004-10-17 23:50 heller
8537
(printer-variables sldb-print): Ooops. Better use sldb-print as prefix
8538
than sldb alone. *sldb-level* was already defined.
8540
2004-10-17 22:09 lgorrie
8546
2004-10-17 22:05 lgorrie
8550
(slime-message): Use slime-typeout-frame if available.
8552
2004-10-17 21:17 heller
8558
2004-10-17 20:46 heller
8564
2004-10-17 20:27 heller
8570
2004-10-17 20:23 heller
8574
(return-from-frame): Implemented by Jan Rychter. Requires a recent CMUCL.
8576
(inspect-for-emacs (code-component)): Disassemble the memory region if
8577
there's not enough debug info.
8579
2004-10-17 20:10 heller
8583
(*sldb-pprint-frames*): Renamed to *sldb-print-pretty*.
8585
(*sldb-print-level*, *sldb-print-length*, *sldb-print-circle*)
8586
(*sldb-print-readbly): Group of new variables to customize printing in
8587
the debugger. The default values should be safe.
8589
(define-printer-variables, with-printer-settings): New macros to make
8590
definig and binding groups printer variables easier.
8592
(inspect-for-emacs-list): Rewritten. The old version had a bug with
8593
circular lists, didn't include the position of the element, and always
8594
showed the full list. The new version only shows the first 40
8597
(inspect-for-emacs): Minor cleanups.
8599
(all-qualified-readnames): Removed. It was not needed because
8600
common-lisp-indent-function strips of any package prefix and downcases
8603
2004-10-17 19:59 heller
8608
(slime-find-buffer-package-function): New variable to allow
8609
customization for unusal syntax.
4202
8611
(slime-maybe-rearrange-inferior-lisp): Removed unused function.
4203
(slime-set-inferior-process): Non-macro version to make
4204
byte-compiler happy. Reported by Raymond Wiker.
8613
(slime-set-inferior-process): Non-macro version to make byte-compiler
8614
happy. Reported by Raymond Wiker.
4205
8615
(slime-maybe-start-lisp): Use it.
4206
8617
(slime-sync-package-and-default-directory): Synch the
4207
8618
default-directory in the REPL buffer too.
4208
(slime-goto-connection): Close the connection list window.
4209
Suggested by Andras Simon.
8620
(slime-goto-connection): Close the connection list window. Suggested
4210
8623
(slime-repl-clear-buffer): Place point after the prompt.
4211
(selector-method ?i): Use slime-process to switch to the right
4213
(slime-background-message): Do nothing if the minibuffer is
8625
(selector-method ?i): Use slime-process to switch to the right buffer.
8627
(slime-background-message): Do nothing if the minibuffer is active.
4215
8629
(slime-indent-and-complete-symbol): Don't indent if we at the same
4216
8630
line as the prompt.
4218
* swank.lisp (*sldb-pprint-frames*): Renamed to
4219
*sldb-print-pretty*.
4220
(*sldb-print-level*, *sldb-print-length*, *sldb-print-circle*)
4221
(*sldb-print-readbly): Group of new variables to customize
4222
printing in the debugger. The default values should be safe.
4223
(define-printer-variables, with-printer-settings): New macros to
4224
make defining and binding groups of printer variables easier.
4225
(inspect-for-emacs-list): Fix bug with circular lists and only
4226
shows the first 40 elements.
4227
(inspect-for-emacs): Various cleanups.
4228
(all-qualified-readnames): Removed. It was not needed because
4229
common-lisp-indent-function strips of any package prefix and
4230
downcases the symbol anyway.
4231
(printer-variables sldb-print): Ooops. Better use sldb-print as prefix
4232
than sldb alone. *sldb-level* was already defined.
4234
* swank-cmucl.lisp (inspect-for-emacs (code-component)):
4235
Disassemble the memory region if there's not enough debug info.
4237
2004-10-17 Jan Rychter <jan@rychter.com>
4239
* swank-cmucl.lisp (return-from-frame): Add it.
4241
2004-10-11 Thomas F. Burdick <tfb@OCF.Berkeley.EDU>
4243
* swank-sbcl.lisp (function-definitions): Find compiler macros, too.
4244
(find-defintions, compiler-definitions)
4245
(optimizer-definitions, transform-definitions): Add compiler
4246
transformers and optimizers to the list of definitions.
4248
2004-10-07 Peter Seibel <peter@javamonkey.com>
4250
* swank.lisp (spawn-threads-for-connection): Bind *debugger-hook*
4251
instead of SETF'ing it.
4253
2004-10-06 Luke Gorrie <luke@synap.se>
4255
* swank.lisp (update-indentation/delta-for-emacs): Configure Emacs
4256
indentation settings not just for the symbol name but for all
4257
package-qualified forms of it as well.
4259
* doc/slime.texi (Credits): Updated the credits list to include
4260
more Lisp implementors who're also SLIME hackers.
4262
2004-10-05 Luke Gorrie <luke@synap.se>
4264
* swank.lisp (arglist-for-echo-area): Handle errors and return a
8632
2004-10-17 19:48 heller
8636
(find-defintions): Include sundry compiler stuff. Patch from Thomas Burdick.
8638
2004-10-07 21:33 pseibel
8640
* ChangeLog, swank.lisp:
8642
Bind *debugger-hook* instead of setfing it when spawning threads.
8644
2004-10-06 14:39 mbaringer
8648
minor inspector cleanups
8650
2004-10-06 11:08 lgorrie
8656
2004-10-06 10:59 lgorrie
8660
(update-indentation/delta-for-emacs): Configure Emacs indentation
8661
settings not just for the symbol name but for all package-qualified
8662
forms of it as well.
8664
2004-10-06 00:18 lgorrie
8670
2004-10-06 00:15 lgorrie
8674
(Credits): Updated the credits list to include more Lisp implementors
8675
who're also SLIME hackers.
8677
2004-10-05 23:39 lgorrie
8683
2004-10-05 23:37 lgorrie
8687
(arglist-for-echo-area): Handle errors and return a message.
4266
8689
(parse-symbol): Recognise an empty package name as the KEYWORD
4269
2004-10-03 Reini Urban <rurban@x-ray.at>
4271
* swank-clisp.lisp (getpid)[win32]: Use
4272
win32:|GetCurrentProcessId|.
4274
2004-10-03 Helmut Eller <heller@common-lisp.net>
4276
* slime.el: Reduce dependency on inf-lisp internals. Make it
4277
possible to start the inferior lisp in a buffer different from
8692
2004-10-03 14:56 heller
8696
(slime): Arguments should be optional.
8698
2004-10-03 14:33 heller
8704
2004-10-03 14:27 heller
8708
(getpid)[win32]: Use win32:|GetCurrentProcessId|. From Reini Urban.
8710
2004-10-03 14:25 heller
8714
Reduce dependency on inf-lisp internals. Make it possible to start the
8715
inferior lisp in a buffer different from "*inferior-lisp*".
4279
8716
(slime): Parse the command argument explicitly and don't rely on
4280
`inferior-lisp'. Don't close all connections, but only the one
4281
for the inferior lisp buffer we are using.
8717
`inferior-lisp'. Don't close all connections, but only the one for
8718
the inferior lisp buffer we are using.
4282
8719
(slime-maybe-start-lisp): Take the command and buffer as argument.
4283
Decide here whether we should start start a new processwe or just
4284
disconnect and reconnect .
8720
Decide here whether we should just disconnect and reconnect or start a
4285
8722
(slime-start-lisp): Load verbosely.
4286
(slime-inferior-lisp): New function. Replaces call to
4288
(slime-inferior-connect, slime-start-swank-server): Take the
4289
inferior process as argument
4290
(slime-read-port-and-connect): Set the slime-inferior-process
4291
variable in the new connection.
8723
(slime-inferior-lisp): New function. Replaces call to `inferior-lisp'.
8724
(slime-inferior-connect, slime-start-swank-server): Take the inferior process as argument
8725
(slime-read-port-and-connect): Set the slime-inferior-process variable
8726
in the new connection.
4292
8727
(slime-inferior-process): New connection local variable.
4293
8728
(slime-process): Use it.
4294
8729
(slime-restart-inferior-lisp): Don't use inferior lisp stuff.
4295
8731
(slime-switch-to-output-buffer): Process interactive arguments
4298
* swank-loader.lisp (compile-files-if-needed-serially): Load
4301
2004-10-01 Helmut Eller <heller@common-lisp.net>
4303
* swank-allegro.lisp (find-fspec-location): excl:source-file can
4304
return stuff like (:operator ...); try to handle it.
4306
* swank-cmucl.lisp (code-component-entry-points): Only include
4307
entry points with "valid" functions names. This excludes internal
4308
lambdas which have usually a string as name, like "defun foo".
4310
* swank.lisp (parse-symbol): Don't use the reader to avoid
4311
interning unknown symbols. The downside is that we no longer
4312
handle escaped |symbols| correctly.
4314
* slime.el (slime-set-connection-info): Hide the *inferior-lisp*
4315
buffer after we know Lisp's pid. Print the words of encouragement
4316
here, when all the other asynchronous initialization is completed.
4317
(slime-find-buffer-package): We need to preserve the case for
4318
things like (:in-package "foo"), so return "\"foo\"".
4320
2004-09-27 Helmut Eller <heller@common-lisp.net>
4322
* slime.el (slime-process): New function intended to replace all
4323
those references to the *inferior-lisp* buffer.
8734
2004-10-03 14:10 heller
8736
* swank-loader.lisp:
8738
(compile-files-if-needed-serially): Load verbosely.
8740
2004-10-01 15:39 heller
8746
2004-10-01 15:29 heller
8750
(slime-set-connection-info): Print the words of encouragement here
8751
after all the other asynchronous initialization.
8753
2004-10-01 15:17 asimon
8759
2004-10-01 14:18 heller
8765
2004-10-01 14:16 heller
8767
* swank-allegro.lisp:
8769
(find-fspec-location): excl:source-file can return stuff like
8770
(:operator ...); try to handle it.
8772
2004-10-01 14:05 heller
8776
(code-component-entry-points): Only include entry points with "valid"
8777
functions names. This excludes internal lambdas, which have usually
8778
have usually a string as name, like "defun foo".
8780
2004-10-01 14:02 heller
8784
(parse-symbol): Don't use the reader because to avoid interning
8785
unknown symbols. The downside is that we no longer handle escaped
8786
|symbols| correctly.
8788
2004-10-01 13:59 heller
8792
(slime-set-connection-info): Hide the *inferior-lisp* after we now
8795
(slime-find-buffer-package): We need to preserve the case for things
8796
like (:in-package "foo"), so return "\"foo\"".
8798
2004-09-28 00:39 heller
8804
2004-09-28 00:35 heller
8808
Add it to cvs for Emacs 20.
8810
2004-09-28 00:23 heller
8814
(mop, mop-helper): Support functions for the class browser. By Rui
8817
2004-09-28 00:21 heller
8821
(define-slime-dialect): New macro to make invoking different command
8824
(slime-process): New function intended to replace all those references
8825
to the *inferior-lisp* buffer.
4324
8826
(slime-maybe-start-lisp): Split it up.
4325
8827
(slime-start-lisp): New function.
4326
8828
(slime-restart-inferior-lisp): Use the command from the existing
4327
8829
process to start the new process.
4329
2004-09-27 Christian Lynbech <christian@defun.dk>
4331
* slime.el (define-slime-dialect): New macro to make starting
4332
Lisps with different command line options easier.
4334
2004-09-27 Rui Patroc�nio <rui.patrocinio@netvisao.pt>
4336
* swank.lisp (mop, mop-helper): Support functions for the class
4339
* slime.el (slime-browse-classes, slime-browse-xrefs): New
4340
commands to browse class hierarchies and xref graphs in a tree
4343
* tree-widget.el: New file. Only needed for older Emacsen.
4345
2004-09-23 Helmut Eller <heller@common-lisp.net>
4347
* slime.el (slime-start-and-load): Take arguments so that the
4348
function can be called non-interactively. Only start SLIME is if
8831
(slime-browse-classes, slime-browse-xrefs): New commands to browse
8832
class hierarchies and xref graphs in a tree widget. By Rui Patroc�nio.
8834
2004-09-26 19:09 asimon
8836
* swank-loader.lisp:
8838
Don't load swank-gray for abcl.
8840
2004-09-26 19:07 asimon
8844
Remove dependence on Gray streams, use abcl's slime streams.
8846
2004-09-24 01:17 lgorrie
8850
Removed some CVS conflict markers.
8852
2004-09-24 00:24 heller
8858
2004-09-24 00:23 heller
8862
(load-file-set-package): New function.
8864
2004-09-24 00:22 heller
8868
(slime-start-and-load): Only start SLIME is if it is not running.
8870
2004-09-23 23:39 heller
8876
2004-09-23 23:33 heller
8880
(frame-package): Implemented.
8882
(inspect-for-emacs): Only include stuff that is actually in those
8883
stored in the object itself (see objdef.lisp for exact object layout).
8884
Include disassembly for functions and code components.
8886
2004-09-23 23:30 heller
8890
(frame-locals-for-emacs): Bind *print-pretty* to *sldb-pprint-frames*
8891
to get more compact lines and bind *package* to frame-package to get
8892
shorter labels for variables.
8894
(format-values-for-echo-area): Include the hex and octal
8895
representation for integers.
8897
(apply-macro-expander, disassemble-symbol): Use the buffer-package for
8900
(inspector-content-for-emacs): Use print-part-to-string so that we see
8901
cycles in the data structure.
8902
(inspect-for-emacs): Minor beatifications.
8904
2004-09-23 23:19 heller
8906
* swank-backend.lisp:
8908
(frame-package, label-value-line, label-value-line*): New functions.
8910
2004-09-23 23:18 heller
8914
(slime-start-and-load): Take arguments so that the function can be
8915
called non-interactively.
4350
8917
(slime-recompile-bytecode): Don't warn about uses of cl-functions.
4351
8919
(slime-reset): Kill all sldb buffers.
4352
8921
(slime-goto-location-position): Fix syntax for Emacs 20.
4353
8923
(sldb-mode-map): Add C-c C-d bindings.
4354
(slime-open-inspector): Insert the type in the second line so that
4355
we can make longer titles, e.g we should include the princed
4356
version of the inspected object.
4358
* swank-backend.lisp (frame-package, label-value-line)
4359
(label-value-line*): New functions.
4361
* swank.lisp (frame-locals-for-emacs): Bind *print-pretty* to
4362
*sldb-pprint-frames* to get more compact lines and bind *package*
4363
to frame-package to get shorter labels for variables.
4364
(format-values-for-echo-area): Include the hex and octal
4365
representation for integers.
4366
(apply-macro-expander, disassemble-symbol): Use the buffer-package
4368
(inspector-content-for-emacs): Use print-part-to-string so that we
4369
see cycles in the data structure.
4370
(inspect-for-emacs): Minor beautifications.
4371
(load-file-set-package): New function.
4373
* swank-cmucl.lisp (frame-package): Implemented.
4374
(inspect-for-emacs): Only include stuff that is actually stored in
4375
the object itself (see objdef.lisp for exact object layout).
4376
Include the disassembly for functions and code components.
4378
2004-09-19 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4380
* swank-gray.lisp (stream-read-char): Treat empty strings as
4383
* swank-cmucl.lisp (sis/in): Treat empty strings as end-of-file.
8925
(slime-open-inspector): Insert the type in the second line so that we
8926
can make longer titles, e.g we should include the princed version of
8927
the inspected object.
8929
2004-09-21 01:42 asimon
8933
Redefine xp::decode-stream-arg
8935
2004-09-20 15:30 asimon
8939
swank-mop & inspector
8941
2004-09-19 10:04 heller
8947
2004-09-19 09:57 heller
8951
(interrupt-worker-thread): Interrupt the repl thread if there is no
8952
other active thread.
8954
2004-09-19 08:17 heller
8960
2004-09-19 08:11 heller
8964
(stream-read-char): Treat empty strings as end-of-file.
8966
2004-09-19 08:10 heller
8970
(sis/in): Treat empty strings as end-of-file.
4384
8972
(map-allocated-code-components): Inhibit efficiency notes.
4385
8974
(arglist)[symbol] Delete unreachable code.
4386
8976
(sldb-break-on-return, sldb-break-at-start): Implement it
4387
8977
(sldb-step): Some cleanups.
4389
* swank.lisp (thread-for-evaluation): Restart the listener thread
4390
if it was dead for some reason.
4391
(debugger-condition-for-emacs): Include "extra" stuff. Currenlty
4392
only used to pop up the source buffer at breakpoints.
4393
(sldb-break): New function.
4394
(interrupt-worker-thread): Interrupt the repl thread if there is
4395
no other active thread.
4397
* swank-backend.lisp (import-swank-mop-symbols): New
4398
function. Useful if the implementation has most of the mop symbols
4399
in the same package.
8979
2004-09-19 07:56 heller
8983
(thread-for-evaluation): Restart the listener thread if it was dead
8986
(debugger-condition-for-emacs): Include "extra" stuff.
8988
(sldb-break): New entry function.
8990
2004-09-19 07:52 heller
8992
* swank-backend.lisp:
8994
(import-swank-mop-symbols): New function. Useful if the implementation
8995
has most of the mop symbols in the same package.
4400
8997
(sldb-break-on-return, sldb-break-at-start, condition-extras): New
4403
* slime.el (sldb-break-on-return, sldb-break): New commands.
4404
(slime-repl-return-string): Allow empty strings. That's our way
4405
to send end-of-file.
4406
(sldb-insert-condition): Add "extra" slot for random thing that
4407
don't fit nicely somewhere else.
4408
(sldb-dispatch-extras): New function.
4409
(sldb-show-frame-source): New non-interactive version of
9000
2004-09-19 07:50 heller
9004
(slime-repl-return-string): Allow empty strings. That's our way to
9007
(sldb-insert-condition): Add "extra" slot for random thing that don't
9008
fit nicely somewhere else.
9009
(sldb-dispatch-extras extras): New function.
9011
(sldb-show-frame-source): New non-interactive version of sldb-show-source.
4411
9012
(sldb-show-source): Use it.
4412
(slime-beginning-of-symbol, slime-end-of-symbol): New functions
4413
which don't include the character after a hash '#'.
9014
(sldb-break-on-return, sldb-break): New commands.
9016
(slime-beginning-of-symbol, slime-symbol-end-pos): New functions which
9017
don't include the character after a hash '#'.
4414
9018
(slime-symbol-name-at-point): Use them.
4415
9019
(slime-symbol-start-pos, slime-symbol-end-pos): Ditto.
4417
2004-09-17 Marco Baringer <mb@bese.it>
4419
* swank.lisp: Don't print "Documentation:" if none is available;
4420
add support for classes specializer-direct-methods; deal with
4421
eql-specializers in methods.
9021
2004-09-17 15:01 mbaringer
9027
2004-09-17 15:01 mbaringer
9031
Update inspector documentation.
9033
2004-09-17 14:52 mbaringer
9037
Don't print "Documentation:" if none is available; add support for
9038
classes specializer-direct-methods; deal with eql-specializers in
4422
9040
(inspector-princ): New function.
4423
9041
(method-specializers-for-inspect): New function.
4424
9042
(method-for-inspect-value): New function.
4425
(inspect-for-emacs): Use inspector-princ instead of
4428
* swank-backend.lisp (swank-mop): Require eql-specializer,
4429
eql-specializer-object and specializer-direct-methods in swank-mop
4432
* swank-allegro.lisp, swank-clisp.lisp, swank-cmucl.lisp,
4433
swank-openmcl.lisp, swank-sbcl.lisp (swank-mop): Export
4434
eql-specializer, eql-specializer-object and
4435
specializer-direct-methods from swank-mop.
4437
* swank-cmucl.lisp (inspect-for-emacs): Thinko fix.
4439
* swank-lispworks.lisp (swank-mop): Export
4440
specializer-direct-methods.
9043
(inspect-for-emacs): Use inspector-princ instead of princ-to-string.
9045
2004-09-17 14:51 mbaringer
9049
(swank-mop): Export eql-specializer, eql-specializer-object and
9050
specializer-direct-methods from swank-mop.
9051
(inspect-for-emacs): Fix typo in ignore declaration.
9053
2004-09-17 14:51 mbaringer
9055
* swank-openmcl.lisp:
9057
(swank-mop): Export eql-specializer, eql-specializer-object and
9058
specializer-direct-methods from swank-mop.
9060
2004-09-17 14:50 mbaringer
9062
* swank-lispworks.lisp:
9064
(swank-mop): Export specializer-direct-methods.
4441
9065
(eql-specializer): Implement.
4442
9066
(eql-specializer-object): Implement.
4444
* swank-sbcl.lisp (inspect-for-emacs): Fix broken ignore
4447
* doc/slime.texi: Update inspector documentation.
4449
2004-09-16 Marco Baringer <mb@bese.it>
4451
* swank-clisp.lisp (swank-mop, inspect-for-emacs): Only define the
4452
CLOS parts of the inspector if the underlying lisp provides the
4453
required functionality. If not enough MOP is present to implement
4454
the inspector then we define some very simple replacement methods.
4456
2004-09-16 Marco Baringer <mb@bese.it>
4458
* swank-clisp.lisp (swank-mop): Implement the MOP compatability
4460
(inspect-for-emacs): Update for new inspection API.
4462
2004-09-15 Alan Ruttenberg <alanr-l@mumble.net>
4463
* swank-openmcl: typo in who-references. Fix frame-var-value
4465
2004-09-15 Marco Baringer <mb@bese.it>
4467
* slime.el (slime-inspector-label-face,
4468
slime-inspector-value-face, slime-inspector-action-face,
4469
slime-inspector-type-face): These faces now inherit from similar
4470
font-lock-<whatever> faces.
4471
(slime-open-inspector): Use slime-inspector-value-face for values.
4473
* swank.lisp (inspect-for-emacs): Add function and compiler-macro
9068
2004-09-17 14:50 mbaringer
9072
(swank-mop): Export eql-specializer, eql-specializer-object and
9073
specializer-direct-methods from swank-mop.
9074
(inspect-for-emacs): Thinko fix.
9076
2004-09-17 14:49 mbaringer
9078
* swank-backend.lisp:
9080
Require eql-specializer, eql-specializer-object and
9081
specializer-direct-methods in swank-mop package.
9083
2004-09-17 14:48 mbaringer
9085
* swank-allegro.lisp, swank-clisp.lisp:
9087
Export eql-specializer, eql-specializer-object and
9088
specializer-direct-methods from swank-mop.
9090
2004-09-16 18:38 mbaringer
9096
2004-09-16 17:58 mbaringer
9102
2004-09-16 17:58 mbaringer
9106
(swank-mop, inspect-for-emacs): Only define the CLOS parts of the
9107
inspector if the underlying lisp provides the required
9108
functionality. If not enough MOP is present to implement the inspector
9109
then we define some very simple replacement methods.
9111
2004-09-16 17:55 mbaringer
9115
my name is "Marco Baringer", not "macro".
9117
2004-09-16 14:19 mbaringer
9123
2004-09-16 14:18 mbaringer
9127
(swank-mop): Implement the MOP compatability package.
9128
(inspectod-for-emacs): Update for new inspection API.
9130
2004-09-16 13:40 mbaringer
9132
* swank-allegro.lisp, swank.lisp:
9136
2004-09-15 21:00 aruttenberg
9142
2004-09-15 20:59 aruttenberg
9144
* swank-openmcl.lisp:
9146
swank-openmcl: typo in who-references. Fix frame-var-value
9148
2004-09-15 19:37 mbaringer
9154
2004-09-15 19:33 mbaringer
9158
(inspect-for-emacs): Insert function object's documentation when it's
9161
2004-09-15 19:31 mbaringer
9165
(inspect-for-emacs): Insert function object's
9166
documentation when it's available.
9168
2004-09-15 19:29 mbaringer
9172
(inspect-for-emacs): Add function and compiler-macro
4474
9173
documentation when inspecting symbols. View the truename of
4475
9174
logical pathnames where they exist. Fix typos in package
4476
9175
inspector (fix by Torsten Poulin <torsten@diku.dk>).
4478
* swank-sbcl.lisp, swank-cmucl.lisp (inspect-for-emacs): Insert
4479
function object's documentation when it's available.
4481
2004-09-15 Eduardo Mu�oz <emufer@terra.es>
4483
* .cvsignore: Added *.elc
4485
* hyperspec.el: Fixed syntax error.
4487
2004-09-15 Alan Caulkins <fatman@maxint.net>
4489
* swank.lisp (cleanp-connection-threads): Kill all Swank threads
4490
for a connection when it terminates.
4492
2004-09-14 Thomas Schilling <tjs_ng@yahoo.de>
4494
* swank-allegro.lisp (inspect-for-emacs): Fixes to previous patch.
4496
2004-09-14 Marco Baringer <mb@bese.it>
4498
* swank-backend.lisp (inspector, make-default-inspector): Add an
4499
INSPECTOR object argument to the inspector protocol. This allows
4500
implementations to provide more information regarding cretain
4501
objects which can't be, or simply aren't, inspected using the
4502
generic inspector implementation. also export inspect-for-emacs
4503
and related symbols from the backend package.
4504
(make-default-inspector): New function.
4506
* swank.lisp (inspected-parts): Rename to inspect-for-emacs and
4507
add an inspector argument. Move inspect-for-emacs to
4508
swank-backend.lisp, leave only the default implementations.
4510
* swank-openml.lisp, swank-sbcl.lisp, swank-allegro.lisp,
4511
swank-cmucl.lisp, swank-lispworks.lisp (inspected-parts): Rename
4512
and change argument list. Many of the inspected-parts methods were
4513
being clobbered by the inspected-parts in swank.lisp, now that
4514
they're being used the return values have been updated for the new
4515
inspect-for-emacs API.
4517
2004-09-14 Thomas Schilling <tjs_ng@yahoo.de>
4519
* swank-allegro.lisp (inspected-parts): Implement inspector for
4522
2004-09-13 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4524
* swank.lisp (intern-catch-tag): New function.
9177
2004-09-15 19:26 mbaringer
9181
(slime-inspector-label-face, slime-inspector-value-face,
9182
slime-inspector-action-face, slime-inspector-type-face): These faces
9183
now inherit from similar font-lock-<whatever> faces.
9184
(slime-open-inspector): Use slime-inspector-value-face for values.
9186
2004-09-15 13:29 lgorrie
9192
2004-09-15 13:29 lgorrie
9198
2004-09-15 13:29 lgorrie
9204
2004-09-15 10:56 lgorrie
9210
2004-09-15 10:54 lgorrie
9214
(cleanp-connection-threads): Kill all Swank threads for a connction
9217
2004-09-15 00:42 asimon
9221
Inspector for functions.
9223
2004-09-14 23:35 mbaringer
9229
2004-09-14 23:24 mbaringer
9231
* ChangeLog, swank-allegro.lisp:
9233
2004-09-14 Thomas Schilling <tjs_ng@yahoo.de>
9235
* swank-allegro.lisp (inspect-for-emacs): Update for new
9236
inspect-for-emacs protocol.
9238
2004-09-14 19:37 asimon
9242
Adapt to new inspector api.
9244
2004-09-14 18:01 mbaringer
9246
* swank-cmucl.lisp, swank-lispworks.lisp, swank-openmcl.lisp,
9247
swank-sbcl.lisp, ChangeLog, swank-allegro.lisp,
9248
swank-backend.lisp, swank.lisp:
9250
2004-09-14 Marco Baringer <mb@bese.it>
9252
* swank-backend.lisp (inspector, make-default-inspector): Add an
9253
INSPECTOR object argument to the inspector protocol. This allows
9254
implementations to provide more information regarding cretain
9255
objects which can't be, or simply aren't, inspected using the
9256
generic inspector implementation. also export inspect-for-emacs
9257
and related symbols from the backend package.
9258
(make-default-inspector): New function.
9260
* swank.lisp (inspected-parts): Rename to inspect-for-emacs and
9261
add an inspector argument. Move inspect-for-emacs to
9262
swank-backend.lisp, leave only the default implementations.
9264
* swank-openml.lisp, swank-sbcl.lisp, swank-allegro.lisp,
9265
swank-cmucl.lisp, swank-lispworks.lisp (inspected-parts): Rename
9266
and change argument list. Many of the inspected-parts methods were
9267
being clobbered by the inspected-parts in swank.lisp, now that
9268
they're being used the return values have been updated for the new
9269
inspect-for-emacs API.
9271
2004-09-14 14:17 asimon
9275
More dummies for swank-mop.
9277
2004-09-14 13:57 asimon
9281
(:newline) before the property list (now really!)
9283
2004-09-14 13:41 asimon
9287
(:newline) before the property list
9289
2004-09-14 11:15 asimon
9295
2004-09-14 09:48 mbaringer
9297
* ChangeLog, swank-allegro.lisp:
9299
2004-09-14 Thomas Schilling <tjs_ng@yahoo.de>
9301
* swank-allegro.lisp (inspected-parts): Implement inspector for
9304
2004-09-14 01:11 asimon
9308
Minimal swank-mop support just so that slime/abcl can be compiled and loaded.
9310
2004-09-13 23:45 heller
9316
2004-09-13 23:36 heller
9320
(intern-catch-tag): New function.
4525
9321
(read-user-input-from-emacs, take-input): Use it.
4527
2004-09-13 John Paul Wallington <jpw@gnu.org>
4529
* swank.lisp (define-special): Make the doc-type `variable'
4530
rather than `symbol'. Don't quote `doc'. Doc fix.
4532
2004-09-09 Martin Simmons <martin@xanalys.com>
4534
* swank-lispworks.lisp: Set up the swank-mop package. Implement
4535
swank-mop:slot-definition-documentation and function-name.
4537
2004-09-13 Marco Baringer <mb@bese.it>
4539
* swank.lisp (inspected-parts): Added inspectors for pathnames,
4540
logical pathnames, standard-objects and numbers (float, ratio,
4541
integer and complex).
4543
* swank-backend.lisp: Define import-to-swank-mop.
4545
* swank-openmcl.lisp, swank-sbcl.lisp, swank-allegro.lisp: Don't
4546
define the import-to-swank-mop function (now defined in
4547
swank-backend.lisp).
4549
* swank-cmucl.lisp (swank-mop, function-name): Implement backend
4551
(arglist): Add support for extracting arglists from function
4553
(create-socket): Don't specify the host on PPC.
4555
2004-09-13 Alan Ruttenberg <alanr-l@mumble.net>
4557
* slime.el slime-goto-location-position: New location specifiers:
9323
(define-special): Set the documentation for the 'variable not for the
9326
2004-09-13 21:12 msimmons
9332
2004-09-13 21:09 msimmons
9334
* swank-lispworks.lisp:
9336
Set up the swank-mop package.
9337
Implement swank-mop:slot-definition-documentation and function-name.
9339
2004-09-13 18:42 mbaringer
9341
* ChangeLog, swank-allegro.lisp, swank-backend.lisp,
9342
swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
9345
2004-09-13 Marco Baringer <mb@bese.it>
9347
* swank.lisp (inspected-parts): Added inspectors for pathnames,
9348
logical pathnames, standard-objects and numbers (float, ratio,
9349
integer and complex).
9351
* swank-backend.lisp: Define import-to-swank-mop.
9353
* swank-openmcl.lisp, swank-sbcl.lisp, swank-allegro.lisp: Don't
9354
define the import-to-swank-mop function (now defined in
9355
swank-backend.lisp).
9357
* swank-cmucl.lisp (swank-mop, function-name): Implement backend
9359
(arglist): Add support for extracting arglists from function
9361
(create-socket): Don't specify the host on PPC.
9363
2004-09-13 10:47 mbaringer
9367
Mention that Thomas Schilling implemented the allegro inspector.
9369
2004-09-13 07:39 aruttenberg
9375
2004-09-13 07:39 aruttenberg
9377
* swank-openmcl.lisp:
9379
* slime.el slime-goto-location-position: New location specifiers:
9380
(:method name specializers . qualifiers) all are strings. Looks
9381
for defxxx name then the qualifiers as words, in order then the
9382
specializers as words, in order (except for "T", which is
9383
optional). Pass the symbols names for specializers and qualifiers
9384
(no packages). Used by openmcl but might be useful for others
9385
(:text-anchored <position fixnum> <string> <delta fixnum>)
9386
Got to position, then search for string, then move delta. To
9387
support upcoming source recording for openmcl debugging.
9389
* swank-openmcl multiple changes: - fix support for *sldb-top*
9390
(formerly *swank-debugger-stack-frame*) Was not thread safe. Now
9391
(application-error), and (interrupt-thread) records the error
9392
pointer in a table associated with thread and map-backtrace picks
9393
up the appropriate pointer. *process-to-stack-top*,
9394
(grab-stack-top), (record-stack-top).
9396
- Other adjustments for changes to multiprocessing: remove
9397
(force-break-in-listener) no longer necessary since we use
9398
process-interrupt instead of ccl::*interactive-abort-process*
9399
Adjust break-in-sldb to do so for swank repl connections
9400
(abstraction breaking reference to swank::*connections*, but
9403
- changes to (find-definitions) (function-source-location),
9404
addition of (maybe-method-location) (remove-filename-quoting). To support
9405
editing definitions of methods. To fix bug with pathnames with
9406
quoted characters (like "\\.swank.lisp"). To remove bogus source
9407
recording of l1-boot-3 in functions that didn't have a source file
9410
- Implementation of xref functions: (xref-locations) uses xref
9411
implementation added to openmcl recently. Note that you have to
9412
(ccl::start-xref) for it to work for other than who-calls, and
9413
that xref information is not currently persisted in fasl files (I
9414
will release a patch for this soon) Backend functions (who-binds)
9415
(who-macroexpands) (who-references) (who-sets)
9416
(who-calls) (list-callees) (who-specializes)
9418
- Lifted profile backend functions from swank-clisp which use
9421
- (openmcl-set-debug-switches) turns on the various variables I.
9422
know about that have the lisp record extra debugging
9423
information(including starting xref). I suggest you call
9424
it. Should it be called by default?
9426
- (frame-arguments) use builtin ccl::frame-supplied-args since the
9427
current version was sometimes missing the first argument to the
9428
function. (I think this was when it was passed by register. If you
9429
don't want to lose it in the frame locals in backtrace, call
9430
(openmcl-set-debug-switches) specifically, set
9431
ccl::*ppc2-compiler-register-save-label* to t
9433
2004-09-13 07:37 aruttenberg
9435
* swank-loader.lisp:
9437
load "metering.lisp" in openmcl
9439
2004-09-13 07:36 aruttenberg
9444
slime-goto-location-position: New location specifiers:
4558
9446
(:method name specializers . qualifiers) all are strings. Looks
4559
9447
for defxxx name then the qualifiers as words, in order then the
4560
9448
specializers as words, in order (except for "T", which is
4561
optional). Pass the symbols names for specializers and qualifiers
9449
optional). Pass the symbols names for specializers and qualifiers
4562
9450
(no packages). Used by openmcl but might be useful for others
4563
(:text-anchored <position fixnum> <string> <delta fixnum>)
9452
(:text-anchored <position fixnum> <string> <delta fixnum>)
4564
9453
Got to position, then search for string, then move delta. To
4565
9454
support upcoming source recording for openmcl debugging.
4567
* swank-openmcl multiple changes: - fix support for *sldb-top*
4568
(formerly *swank-debugger-stack-frame*) Was not thread safe. Now
4569
(application-error), and (interrupt-thread) records the error
4570
pointer in a table associated with thread and map-backtrace picks
4571
up the appropriate pointer. *process-to-stack-top*,
4572
(grab-stack-top), (record-stack-top).
4574
- Other adjustments for changes to multiprocessing: remove
4575
(force-break-in-listener) no longer necessary since we use
4576
process-interrupt instead of ccl::*interactive-abort-process*
4577
Adjust break-in-sldb to do so for swank repl connections
4578
(abstraction breaking reference to swank::*connections*, but
4581
- changes to (find-definitions) (function-source-location),
4582
addition of (maybe-method-location) (remove-filename-quoting). To support
4583
editing definitions of methods. To fix bug with pathnames with
4584
quoted characters (like "\\.swank.lisp"). To remove bogus source
4585
recording of l1-boot-3 in functions that didn't have a source file
4588
- Implementation of xref functions: (xref-locations) uses xref
4589
implementation added to openmcl recently. Note that you have to
4590
(ccl::start-xref) for it to work for other than who-calls, and
4591
that xref information is not currently persisted in fasl files (I
4592
will release a patch for this soon) Backend functions (who-binds)
4593
(who-macroexpands) (who-references) (who-sets)
4594
(who-calls) (list-callees) (who-specializes)
4596
- Lifted profile backend functions from swank-clisp which use
4599
- (openmcl-set-debug-switches) turns on the various variables I.
4600
know about that have the lisp record extra debugging
4601
information(including starting xref). I suggest you call
4602
it. Should it be called by default?
4604
- (frame-arguments) use builtin ccl::frame-supplied-args since the
4605
current version was sometimes missing the first argument to the
4606
function. (I think this was when it was passed by register. If you
4607
don't want to lose it in the frame locals in backtrace, call
4608
(openmcl-set-debug-switches) specifically, set
4609
ccl::*ppc2-compiler-register-save-label* to t
4611
- implement frame-var-value backend
4613
* metering.lisp: Minor changes to #+ #- to recognize openmcl
4615
* swank-loader.lisp: Load "metering.lisp"
4617
2004-09-13 Marco Baringer <mb@bese.it>
4619
* swank.lisp (inspected-parts): Deal with unfinalized classes in
4620
standard-class inspector. (Patch from Thomas Schilling)
4622
2004-09-13 Marco Baringer <mb@bese.it>
4624
* swank.lisp: New inspector protocol. The lisp side now returns a
4625
specially formated list of "things" to format which are then
4626
passed to emacs and rendered in the inspector buffer. Things can
4627
be either text, recursivly inspectable values, or functions to
4629
(inspected-parts): Redefine for new inspector protocol.
4630
(*inspectee-parts*): Redefine as array.
4631
(*inspectee-actions*): New array, similar to *inspectee-parts*.
4632
(reset-inspector): Update for new implementation of
4633
*inspectee-parts* and new variable *inspectee-actions*.
4634
(inspector-contents-for-emacs): New function.
4635
(inspect-object): Update for new inspector protocol.
4636
(inspector-nth-part): Update for new *inspectee-parts*
4638
(inspector-call-nth-action): New function.
4640
* slime.el (slime-inspector-action-face): New face.
4641
(slime-open-inspector): Adapt to new inspector protocol.
4642
(slime-inspector-operate-on-point): New function, subsumes
4643
slime-inspector-inspect-object-at-point.
4644
(slime-inspector-next-inspectable-object): Skip to next object,
4645
not just end of current object; wrap around buffer.
4646
(slime-inspector-mode-map): change bindings of [return] and "\C-m"
4648
* swank-bacend.lisp (swank-mop): New package. Simply defines all
4649
the MOP related symbols we need from an implementation.
4650
(arglist): Update doc string. Provide default implementation.
4651
(function-name): New backend function.
4653
* swank-allegro.lisp (swank-mop, slot-definition-documentation):
4654
Implement. (Patch from Thomas Schilling)
4656
* swank-sbcl.lisp (swank-mop, slot-definition-documentation,
4657
function-name): Implement.
4659
* swank-openmcl.lisp (swank-mop, function-name): Implement.
4660
(arglist): Implement for function objects.
4662
2004-09-12 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4664
* swank.lisp (compile-file-for-emacs): Use with-buffer-syntax so
4665
that SBCL source files can be compiled. From Christophe Rhodes.
4667
2004-09-09 Martin Simmons <martin@xanalys.com>
4669
* swank-loader.lisp (make-swank-pathname): Preserve the host
4670
component (important for LispWorks on Windows).
4672
2004-09-08 Martin Simmons <martin@xanalys.com>
4674
* swank-lispworks.lisp: Implement call-with-compilation-hooks.
4676
2004-09-03 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4678
* NEWS: Summarize changes since August.
4680
* slime.el: Add some docstrings.
4682
* mkdist.sh: Add PROBLEMS file. We're no longer alpha.
4684
* swank.lisp: Remove debugging code in comment.
4686
* swank-sbcl.lisp: Delete dead code.
4688
* swank-lispworks.lisp (defimplementation): define-dspec-alias
4689
seems to more apropriate than define-form-parser.
4691
* swank-cmucl.lisp (print-frame): Catch errors during printing.
4695
2004-09-02 Wolfgang Mederle <wolfgang.mederle@stud.uni-muenchen.de>
4697
* swank-loader.lisp (*lisp-name*): Replace / with - in CMUCL
4700
2004-09-01 John Paul Wallington <jpw@gnu.org>
4702
* slime.el (slime-oneliner): Don't use free variable.
4703
(slime-recenter-window, slime-set-connection-info)
4704
(slime-pprint-event, slime-compiler-notes-quit)
4705
(slime-apropos-summary): Likewise.
9456
2004-09-13 07:35 aruttenberg
9462
2004-09-13 02:14 mbaringer
9464
* ChangeLog, swank.lisp:
9466
2004-09-13 Marco Baringer <mb@bese.it>
9468
* swank.lisp (inspected-parts): Deal with unfinalized classes in
9469
standard-class inspector. (Patch from Thomas Schilling)
9471
2004-09-13 01:56 mbaringer
9473
* ChangeLog, slime.el, swank-allegro.lisp, swank-backend.lisp,
9474
swank-openmcl.lisp, swank-sbcl.lisp, swank.lisp:
9476
2004-09-13 Marco Baringer <mb@bese.it>
9478
* swank.lisp: New inspector protocol. The lisp side now returns a
9479
specially formated list of "things" to format which are then
9480
passed to emacs and rendered in the inspector buffer. Things can
9481
be either text, recursivly inspectable values, or functions to
9483
(inspected-parts): Redefine for new inspector protocol.
9484
(*inspectee-parts*): Redefine as array.
9485
(*inspectee-actions*): New array, similar to *inspectee-parts*.
9486
(reset-inspector): Update for new implementation of
9487
*inspectee-parts* and new variable *inspectee-actions*.
9488
(inspector-contents-for-emacs): New function.
9489
(inspect-object): Update for new inspector protocol.
9490
(inspector-nth-part): Update for new *inspectee-parts*
9492
(inspector-call-nth-action): New function.
9494
* slime.el (slime-inspector-action-face): New face.
9495
(slime-open-inspector): Adapt to new inspector protocol.
9496
(slime-inspector-operate-on-point): New function, subsumes
9497
slime-inspector-inspect-object-at-point.
9498
(slime-inspector-next-inspectable-object): Skip to next object,
9499
not just end of current object; wrap around buffer.
9500
(slime-inspector-mode-map): change bindings of [return] and "\C-m"
9502
* swank-bacend.lisp (swank-mop): New package. Simply defines all
9503
the MOP related symbols we need from an implementation.
9504
(arglist): Update doc string. Provide default implementation.
9505
(function-name): New backend function.
9507
* swank-allegro.lisp (swank-mop, slot-definition-documentation):
9510
* swank-sbcl.lisp (swank-mop, slot-definition-documentation,
9511
function-name): Implement.
9513
* swank-openmcl.lisp (swank-mop, function-name): Implement.
9514
(arglist): Implement for function objects.
9516
2004-09-12 22:48 heller
9522
2004-09-12 22:41 heller
9526
(compile-file-for-emacs): Use with-buffer-syntax so that SBCL source
9527
files can be compiled.
9529
2004-09-09 17:57 msimmons
9535
2004-09-09 17:57 msimmons
9537
* swank-loader.lisp:
9539
(make-swank-pathname): Preserve the host component (important for LispWorks
9542
2004-09-09 17:04 lgorrie
9546
s/compliment/complement/
9548
2004-09-08 18:16 msimmons
9554
2004-09-08 18:08 msimmons
9556
* swank-lispworks.lisp:
9558
Implement call-with-compilation-hooks.
9560
2004-09-04 18:18 heller
9566
2004-09-04 00:10 heller
9572
2004-09-03 23:38 heller
9576
Add some docstrings.
9578
2004-09-03 23:20 heller
9584
2004-09-03 23:13 heller
9588
We're no longer alpha.
9590
2004-09-03 23:12 heller
9594
Remove debugging code in comment.
9596
2004-09-03 23:10 heller
9602
2004-09-03 23:10 heller
9604
* swank-lispworks.lisp:
9606
(defimplementation): define-dspec-alias seems to more apropriate than
9609
2004-09-03 23:08 heller
9613
(print-frame): Catch errors during printing.
9615
2004-09-03 23:07 heller
9621
2004-09-02 08:00 heller
9627
2004-09-02 07:58 heller
9629
* swank-loader.lisp:
9631
(*lisp-name*): Replace / with - in CMUCL version strings.
9633
2004-09-02 00:50 heller
9635
* doc/slime.texi, ChangeLog:
9639
2004-09-02 00:47 heller
9643
(slime-oneliner): Don't use free variable.
9645
(slime-recenter-window, slime-set-connection-info, slime-pprint-event)
9646
(slime-compiler-notes-quit, slime-apropos-summary): Likewise.
4706
9648
(slime-connect): Tidy up handshake `message' call.
4708
2004-09-01 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4710
* slime.el (slime-repl-push-directory): Fix interactive spec.
4711
(sldb-reference-properties): Take a the reference object as
4712
argument instead of its parts. Fix callers accordingly.
9650
(slime-repl-push-directory): Fix interactive spec.
9652
(sldb-reference-properties): Take a the reference object as argument
9653
instead of its parts. Fix callers accordingly.
4713
9655
(slime-fuzzy-choices-buffer): Remove assignment to unused variable
4714
9656
slime-fuzzy-target-mtime.
4715
9658
(slime-ed): Replace call to new-frame with make-frame.
4716
9660
(sldb-find-buffer): Cleanup.
4717
(sldb-highlight-sexp): Fix regexp. It's now almost a full line.
4719
* swank.lisp (completion-set, tokenize-symbol-designator)
4720
(tokenize-completion, fuzzy-completion-set)
4721
(briefly-describe-symbol-for-emacs): Remove simple-base-string
4724
2004-08-30 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4726
* PROBLEMS: We require SBCL 0.8.13. 0.8.12 is no longer
4729
* swank-allegro.lisp (find-fspec-location): Catch errors in
4732
* swank.lisp (send-to-socket-io): Add some ignore declarations.
4734
* slime.el (sldb-fetch-all-frames, sldb-end-of-backtrace)
4735
(sldb-beginning-of-backtrace): New commands.
9662
(sldb-highlight-sexp): Fix regexp again. It's now almost a line.
9664
2004-09-02 00:41 heller
9668
(completion-set, tokenize-symbol-designator, tokenize-completion)
9669
(fuzzy-completion-set, briefly-describe-symbol-for-emacs): Remove
9670
simple-base-string declarations.
9672
2004-08-31 00:34 heller
9678
2004-08-31 00:28 heller
9682
We require SBCL 0.8.13. 0.8.12 is no longer supported.
9684
2004-08-31 00:26 heller
9686
* swank-allegro.lisp:
9688
(find-fspec-location): Catch errors in excl:source-file.
9690
2004-08-31 00:24 heller
9694
(send-to-socket-io): Add some ignore declarations.
9696
2004-08-31 00:23 heller
9700
(sldb-fetch-all-frames, sldb-end-of-backtrace,
9701
sldb-beginning-of-backtrace): New commands.
4736
9703
(slime-search-suppressed-forms): Change the start regexp so that
4737
9704
reader conditionals in single line comments, like "; #+foo", are
4740
2004-08-27 Peter Seibel <peter@javamonkey.com>
4742
* swank-backend.lisp (swank-compile-string): Add directory
4743
argument which is used by Allegro backend to improve source
4744
recording for definitions compiled with C-c C-c.
4746
2004-08-23 John Paul Wallington <jpw@gnu.org>
4748
* slime.el (slime-pretty-package-name): Fix last cond clause.
4750
2004-08-21 Luke Gorrie <luke@bluetail.com>
4752
* swank.lisp (*global-debugger*): New configurable to globally
4753
install swank-debugger-hook as *debugger-hook*. True by default.
4755
2004-08-19 Luke Gorrie <luke@bluetail.com>
4757
* doc/slime.texi: C-c C-c C-a, C-c C-u C-e.
9707
2004-08-28 04:27 pseibel
9709
* ChangeLog, slime.el, swank-abcl.lisp, swank-allegro.lisp,
9710
swank-backend.lisp, swank-clisp.lisp, swank-cmucl.lisp,
9711
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
9714
Adding directory argument to swank-compile-string.
9716
2004-08-27 22:27 asimon
9720
PRINT-FRAME: PPRINT->PRINT (temporarily)
9722
2004-08-23 11:57 lgorrie
9728
2004-08-23 11:51 lgorrie
9732
(slime-pretty-package-name): Fix last cond clause.
9734
2004-08-21 03:38 lgorrie
9740
2004-08-21 03:37 lgorrie
9742
* swank.lisp, doc/slime.texi:
9744
(*global-debugger*): New configurable to globally install
9745
swank-debugger-hook as *debugger-hook*. True by default.
9747
2004-08-19 16:53 lgorrie
9753
2004-08-19 16:52 lgorrie
9757
C-c C-c C-a, C-c C-u C-e.
4758
9758
Thanks Barry Fishman for reporting incorrect indexing.
4760
2004-08-18 Matthew Danish <mrd+nospam@cmu.edu>
4762
* swank-allegro.lisp (swank-compile-string): Use #\; instead of
4763
#\: to separate the position from the buffer-name. This avoids
4764
troubles on Windows.
4766
2004-08-16 Luke Gorrie <luke@bluetail.com>
4768
* doc/slime.texi: Random updates.
4770
* slime.el (slime-space): Use slime-message instead of
4771
slime-background-message. This displays multi-line arglists.
9760
2004-08-18 23:21 heller
9766
2004-08-18 23:19 heller
9768
* swank-allegro.lisp:
9770
(swank-compile-string): Use #\; instead of #\: to separate the
9771
position from the buffer-name.
9773
2004-08-16 23:44 lgorrie
9779
2004-08-16 23:43 lgorrie
9785
2004-08-16 23:41 lgorrie
9789
(slime-space): Use slime-message instead of slime-background-message.
9790
This displays multi-line arglists.
4772
9792
(sldb-mode-map): Bind 'C' to sldb-inspect-condition.
4774
2004-08-14 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4776
* slime.el (slime-find-buffer-package): Use "%s", not "%S", to
4777
avoid ugly escape characters, if the package name contains dots.
4779
2004-08-13 Luke Gorrie <luke@bluetail.com>
4781
* slime.el (sldb-eval-in-frame): Print result to the REPL when a
4782
prefix argument is given.
9794
2004-08-15 00:10 heller
9800
2004-08-15 00:09 heller
9804
(slime-find-buffer-package): Use "%s", not "%S", to avoid ugly escape
9805
characters, if the package name contains dots.
9807
2004-08-13 23:27 lgorrie
9813
2004-08-13 23:23 lgorrie
9817
(sldb-eval-in-frame): Print result to the REPL when a prefix argument
4783
9820
Added pull-down menus for SLDB and the REPL.
4785
* swank-source-path-parser.lisp: Removed caching of readtables and
4786
the source-map hashtable. Fresh creation is ultra-cheap (<1ms).
4787
The caching didn't handle modifications to readtables and
4788
generally made me feel uneasy while tracking down an obscure bug
9822
2004-08-13 22:32 lgorrie
9824
* swank-source-path-parser.lisp:
9826
Removed caching of readtables and the source-map hashtable. Fresh
9827
creation is ultra-cheap (<1ms).
9828
The caching didn't handle modifications to readtables and generally
9829
made me feel uneasy while tracking down an obscure bug in a reader
4790
9832
The cached source-map hashtable also wasn't thread-safe (ho hum).
4792
2004-08-13 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4794
* slime.el (slime-merge-notes, slime-tree-for-note): Use the short
4795
note message for annotation in the source buffer and the long
4796
message in the tree widget. Used to be the other way around.
9834
2004-08-13 18:15 heller
9840
2004-08-13 18:14 heller
9844
(variable-desc-for-echo-area): Bind some printer variables to limit
9845
the length of the output.
9847
2004-08-13 17:11 heller
9853
2004-08-13 17:09 heller
9857
(slime-merge-notes, slime-tree-for-note): Use the short note message
9858
for annotation in the source buffer and the long message in the tree
9859
widget. Used to be the other way around.
4797
9861
(sldb-insert-frames): Set the `start-open' property for XEmacs.
4798
Without `start-open', the `point-entered' property is inherited
4799
when we insert something before the "--more--" marker. Reported
4800
by Sundar Narasimhan.
4802
* swank.lisp (variable-desc-for-echo-area): Bind some printer
4803
variables to limit the length of the output.
4805
2004-08-05 Luke Gorrie <luke@bluetail.com>
4807
* slime.el (slime-setup): Added typeout-frame keyword argument.
9862
Without `start-open', the `point-entered' property is inherited when
9863
we insert something before the "--more--". Reported by Sundar
9866
2004-08-05 17:19 lgorrie
9872
2004-08-05 17:18 lgorrie
4808
9876
(slime-thread-attach): Fixed misnamed function call.
4810
2004-08-04 Luke Gorrie <luke@bluetail.com>
4812
* swank-allegro.lisp (find-fspec-location): Fixed to work for more
4813
types of definition than just functions. So M-. now works for e.g.
4814
classes in Allegro. From Matthew Danish.
9878
2004-08-05 15:34 lgorrie
9884
2004-08-05 15:25 lgorrie
9890
2004-08-04 19:18 lgorrie
9896
2004-08-04 19:17 lgorrie
9898
* swank-allegro.lisp:
4815
9900
(find-fspec-location): Include the type of the definition in the
4816
designator sent to Emacs. From Matthew Danish.
4818
2004-08-04 Martin Simmons <martin@xanalys.com>
4820
* swank-lispworks.lisp (frame-actual-args): Correct syntax for
4823
2004-08-04 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4825
* slime.el: (slime-mode-map, slime-repl-mode-map)
4826
(slime-repl-read-mode-map): Remove the binding for C-c C-g. C-c
4827
C-b is now the default interrupt key.
4828
(slime-list-repl-short-cuts): Don't trash the shortcut-table: copy
4829
it before sorting. (Thanks to Mark Simpson.)
4831
2004-08-02 Luke Gorrie <luke@bluetail.com>
4833
* slime.el (slime-connect): Shorten the welcome message by leaving
4834
out the port number (which is displayed in the REPL anyway). This
4835
avoids line-wrapping some messages of encouragement.
4837
* swank.lisp (with-buffer-syntax): Don't bind *readtable* to
4838
*buffer-readtable* if they are already EQ. When we shadow this
4839
binding the user can't assign *readtable* from the REPL so it's
4840
best avoided when possible.
4842
* swank-allegro.lisp: Removed fwrapper-based code for inheriting
4843
"swankiness" to newly spawned threads. This was fighting the
4844
system and not the right thing.
4846
* slime.el (slime-choose-overlay-region): Tweaked the
4847
multiline-annotation-avoidance code to work with forms not
4848
starting with an open-paren, e.g. `(..) or #'(..).
4849
(slime-update-modeline-package): New configurable. Non-nil (the
4850
default) means update the Lisp package in the modeline using an
4852
(slime-repl-send-input): Make the `slime-repl-old-input' property
4853
cover the whole input (including newline) so that pressing RET on
4854
the end of an input line works.
4855
Use a unique integer as the value of this property to distinguish
9901
designator sent to Emacs.
9903
2004-08-04 18:28 lgorrie
9909
2004-08-04 18:18 lgorrie
9911
* swank-allegro.lisp:
9913
(find-fspec-location): Fixed to work for more types of definition than
9914
just functions. So M-. now works for e.g. classes in Allegro. Patch
9915
from Matthew Danish.
9917
2004-08-04 12:56 msimmons
9919
* ChangeLog, swank-lispworks.lisp:
9921
(frame-actual-args): Correct syntax for handler-case.
9923
2004-08-04 08:23 heller
9925
* ChangeLog, doc/slime.texi:
9929
2004-08-04 08:21 heller
9933
(slime-mode-map, slime-repl-mode-map, slime-repl-read-mode-map):
9934
Remove the bind for C-c C-g. C-c C-b is now the default interrupt
9937
(slime-list-repl-short-cuts): Don't trash the shortcut-table: copy it
9938
before sorting. (Thanks to Mark Simpson.)
9940
2004-08-03 15:34 heller
9944
Mention mp:*default-process-quantum* for Allegro.
9946
2004-08-03 15:33 heller
9950
The logic for slime-conservative-indentation is inverted.
9952
2004-08-03 14:15 asimon
9958
2004-08-03 09:02 lgorrie
9964
2004-08-03 08:38 lgorrie
9970
2004-08-02 07:27 lgorrie
9976
2004-08-02 07:26 lgorrie
9980
(slime-connect): Shorten the welcome message by leaving out the port
9981
number (which is displayed in the REPL anyway). This avoids
9982
line-wrapping some messages of encouragement.
4857
9984
(slime-current-package): Deal with narrowing.
4859
2004-08-01 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4861
* swank-allegro.lisp (swank-compile-string): Use a temporary file
4862
and set excl::*source-pathname* manually. This way we can find
4863
the source buffer of functions compiled with C-c C-c.
9986
2004-08-02 07:25 lgorrie
9990
(with-buffer-syntax): Don't bind *readtable* to *buffer-readtable* if
9991
they are already EQ. When we shadow this binding the user can't assign
9992
*readtable* from the REPL so it's best avoided when possible.
9994
2004-08-02 07:23 lgorrie
9996
* swank-allegro.lisp:
9998
Removed fwrapper-based code for inheriting "swankiness" to newly
9999
spawned threads. This was fighting the system and not the right thing.
10001
2004-08-01 08:46 heller
10007
2004-08-01 08:44 heller
10009
* swank-allegro.lisp:
10011
(swank-compile-string): Use a temporary file and set
10012
excl::*source-pathname* manually. This way we can find the source
10013
buffer of functions compiled with C-c C-c.
4864
10015
(call-with-temp-file, compile-from-temp-file): New functions.
4865
10017
(list-callers, function-callers, in-constants-p)
4866
(map-function-constants): Implements list callers by groveling
4867
through the constants pools of named functions.
4869
* swank-lispworks.lisp: Minor refactoring.
4871
2004-07-30 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4873
* slime.el (slime-connection): Say "No default connection
4874
selected" if there are open connections but no default connection.
4875
(slime-tree-indent-item): Point wasn't updated correctly if the
4876
last line was empty. Use insert-before-markers instead of insert
10018
(map-function-constants): Implements list callers by groveling through
10019
all fbound symbols.
10021
2004-08-01 08:26 heller
10023
* swank-lispworks.lisp:
10027
2004-07-30 23:44 heller
10029
* swank-backend.lisp:
10031
(sldb-condition): Show the original condition in the message.
10033
2004-07-30 23:41 heller
10039
2004-07-30 23:39 heller
10041
* swank-cmucl.lisp:
10043
(call-with-debugging-environment): Only handle di::unhandled-condition
10044
not all DI:DEBUG-CONDITIONs.
10046
2004-07-30 23:37 heller
10050
(slime-search-suppressed-forms): Also consider #+ after an opening paren.
10052
2004-07-30 21:32 heller
10058
2004-07-30 21:30 heller
10062
(slime-connection): Say "No default connection selected" if there are
10063
open connections but no default connection.
10065
(slime-tree-indent-item): Point wasn't updated correctly if the last
10066
line was empty. Use insert-before-markers instead of insert to do it
4878
10069
(slime-draw-connection-list): Don't break if there is no default
4881
* swank-cmucl.lisp (call-with-debugging-environment): Only handle
4882
DI::UNHANDLED-CONDITION not all DI:DEBUG-CONDITIONs.
4884
* swank-backend.lisp (sldb-condition): Show the original condition
4887
2004-07-28 Helmut Eller <e9626484@stud3.tuwien.ac.at>
4889
* slime.el (slime-eval-feature-conditional): Treat uppercase
4890
operators NOT, AND, OR correctly.
10072
2004-07-30 05:55 lgorrie
10078
2004-07-30 05:48 lgorrie
10084
2004-07-30 05:48 lgorrie
10088
(slime-choose-overlay-region): Tweaked the
10089
multiline-annotation-avoidance code to work with forms not starting
10090
with an open-paren, e.g. `(..) or #'(..).
10092
(slime-update-modeline-package): New configurable. Non-nil (the
10093
default) means update the Lisp package in the modeline using an idle
10096
(slime-repl-send-input): Make the `slime-repl-old-input' property
10097
cover the whole input (including newline) so that pressing RET on the
10098
end of an input line works. Use a unique integer as the value of this
10099
property to distinguish adjacent inputs.
10101
2004-07-28 23:15 heller
10107
2004-07-28 23:13 heller
10111
(slime-expected-failures): Delete unused function.
10113
(complete-symbol): Test completion of swank::compile-file. LispWorks
10114
has extra completions for cl::compile-file.
10116
(arglist): Test arglist of method cl:class-name. Add enough regexpery
10117
to pass the test in most implementations.
10119
2004-07-28 23:07 heller
10123
(list-callers, list-callees): Implemented.
10125
2004-07-28 19:20 heller
10129
(slime-eval-feature-conditional): Treat uppercase operators NOT, AND,
4891
10132
(sldb-find-buffer): Remove killed buffers.
4892
10134
(sldb-quit): Raise an error if the RPC returns.
4893
(slime-expected-failures): Delete unused function.
4894
(complete-symbol): Test completion of
4895
swank::compile-file. LispWorks has extra completions for
4897
(arglist): Test arglist of method cl:class-name. Add enough
4898
regexpery to pass the test in most implementations.
4900
* swank-sbcl.lisp (list-callers, list-callees): Implemented.
4902
2004-07-26 Luke Gorrie <luke@bluetail.com>
4904
* slime.el (slime-first-change-hook): Add `save-match-data' to
4905
avoid breaking e.g. query-replace. Also added `save-excursion'
4908
* README: s/setup-slime/slime-setup/ in the .emacs snippet.
4910
2004-07-23 Luke Gorrie <luke@bluetail.com>
4912
* slime.el (slime-set-state): Show the message in the modeline in
4913
the case where we aren't connected. Otherwise the "not connected"
4915
(slime-net-sentinel): Close the connection before changing the
4916
status message. The old behaviour of this combined with the old
4917
behaviour of `slime-set-state' could generally cause spurious
4918
errors after a connection was closed.
4920
2004-07-22 Luke Gorrie <luke@bluetail.com>
4922
* swank.lisp (carefully-find-package): Return *BUFFER-PACKAGE* if
4923
no other package can be found. This is reverting a previous change
4924
that broke completion in buffers with no known package.
4926
* slime.el (slime-maybe-start-lisp): Check that *inferior-lisp*
4927
exists /and/ has a running process. Fixes a startup problem if
4928
your inferior-lisp has died and you want to restart SLIME.
4930
2004-07-21 Luke Gorrie <luke@bluetail.com>
4932
* slime.el (slime-sync-package-and-default-directory): Sync
4933
`default-directory' in the REPL buffer too.
10136
2004-07-26 13:50 lgorrie
10142
2004-07-26 13:47 lgorrie
10146
(slime-first-change-hook): Add `save-match-data' to avoid breaking
10147
e.g. query-replace. Also added `save-excursion' just to be safe.
10149
2004-07-26 13:39 lgorrie
10155
2004-07-26 13:39 lgorrie
10159
s/setup-slime/slime-setup/ in the .emacs snippet.
10161
2004-07-23 18:36 lgorrie
10167
2004-07-23 18:35 lgorrie
10171
(slime-set-state): Show the message in the modeline in the case where
10172
we aren't connected. Otherwise the "not connected" status is ignored.
10174
(slime-net-sentinel): Close the connection before changing the status
10175
message. The old behaviour of this combined with the old behaviour of
10176
`slime-set-state' could generally cause spurious errors after a
10177
connection was closed.
10179
2004-07-22 18:55 lgorrie
10185
2004-07-22 18:54 lgorrie
10189
(carefully-find-package): Return *BUFFER-PACKAGE* if no other package
10190
can be found. This is reverting a previous change that broke
10191
completion in buffers with no known package.
10193
2004-07-22 11:39 lgorrie
10199
2004-07-22 11:38 lgorrie
10203
(slime-maybe-start-lisp): Check that *inferior-lisp* exists /and/ has
10204
a running process. Fixes a startup problem if your inferior-lisp has
10205
died and you want to restart SLIME.
10207
2004-07-21 21:56 pseibel
10211
Whoops. Forgot to check this in.
10213
2004-07-21 21:53 pseibel
10217
Putting in fix for Allegro tests. (Thought I checked this in the other day.)
10219
2004-07-21 14:31 lgorrie
10223
Added a FIXME comment about unwanted interning in symbol lookup.
10224
Does bad things to completion of internal symbols like FOO::BAR.
10226
2004-07-21 14:30 lgorrie
10232
2004-07-21 14:29 lgorrie
10236
(slime-sync-package-and-default-directory): Sync `default-directory'
10237
in the REPL buffer too.
4934
10239
(slime-set-state): Convenience function for setting a connection's
4935
state-name and updating the modeline if appropriate. This function
4936
is called in the right places.
10240
state-name and updating the modeline if appropriate. This function is
10241
called in the right places.
4937
10243
(slime-to-lisp-filename): Use `expand-file-name'.
4939
2004-07-20 Luke Gorrie <luke@bluetail.com>
4941
* slime.el (slime-repl-update-banner): Restore old behaviour of
4942
using an asynchronous evaluation to setup the REPL. This works
4943
around a problem I'd reintroduced where the first REPL command
4944
uses the wrong keymap.
4946
2004-07-20 Andreas Fuchs <asf@boinkor.net>
4948
* swank-sbcl.lisp (call-with-compilation-hooks): Trap and report
4949
errors that cause compilation to fail, e.g. read errors.
4951
2004-07-19 Luke Gorrie <luke@bluetail.com>
4953
* HACKING: Updated. Some notes about Emacs features.
4955
* slime.el: More major refactoring.
4956
Restructured and documented the networking and protocol code.
4957
(slime-rex-continuations): Now connection-local.
4959
2004-07-18 Luke Gorrie <luke@bluetail.com>
4961
* slime.el: Major refactoring.
4962
Mostly resectioning and reordering definitions to try and improve
10245
2004-07-20 20:03 lgorrie
10249
Removed debug printout.
10251
2004-07-20 02:53 lgorrie
10257
2004-07-20 02:53 lgorrie
10261
(slime-repl-update-banner): Restore old behaviour of using an
10262
asynchronous evaluation to setup the REPL. This works around a problem
10263
I'd reintroduced where the first REPL command uses the wrong keymap.
10265
2004-07-20 02:42 lgorrie
10271
2004-07-20 02:42 lgorrie
10275
(call-with-compilation-hooks): Trap and report errors that cause
10276
compilation to fail, e.g. read errors.
10278
2004-07-19 16:16 lgorrie
10284
2004-07-19 16:15 lgorrie
10288
Updated. Some notes about Emacs features.
10290
2004-07-19 16:09 lgorrie
10294
Moved the Evaluation section up above the Debugging section.
10296
2004-07-19 16:00 lgorrie
10298
* swank-cmucl.lisp:
10300
Removed some minor debug printouts.
10302
2004-07-19 15:53 lgorrie
10308
Restructured and documented starting at the top of the file and going
10309
down through the networking protocol.
10313
(slime-rex-continuations): Now connection-local. Mostly resectioning
10314
and reordering definitions to try and improve readability.
4964
10316
(slime-get-temp-buffer-create): New utility function to popup a
4965
10317
temporary buffer that automatically has a binding on `q' to
4966
intelligently restore window configuration. Handy, but currently
4967
not applicable to all of our temporary buffers.
4968
(slime-with-chosen-connection): Removed this macro. Consequently
4969
the compilation commands no longer prompt for which connection to
4970
use when given a prefix argument. `slime-switch-to-output-buffer'
4971
still works like that, but for other cases I think the
4972
connection-list buffer is sufficient.
10318
intelligently restore window configuration. Handy, but currently not
10319
applicable to all of our temporary buffers.
10321
(slime-with-chosen-connection): Removed this macro. Consequently the
10322
compilation commands no longer prompt for which connection to use when
10323
given a prefix argument. `slime-switch-to-output-buffer' still works
10324
like that, but for other cases I think the connection-list buffer is
4973
10327
(slime-eval-async): New arglist: (form &optional cont pkg). If the
4974
continuation is unspecified then the evaluation result is ignored,
4975
and if the package is unspecified then (slime-buffer-package) is
10328
continuation is unspecified then the evaluation result is ignored, and
10329
if the package is unspecified then (slime-buffer-package) is used.
4977
10331
(slime-eval): Package arg now defaults to (slime-buffer-package).
4978
(slime-current-package): New name for (slime-buffer-package). No
4979
more caching: returns the buffer-local `slime-buffer-package' if
4980
set, otherwise searches for an `in-package' form.
4981
A consequence of non-caching is that the package name doesn't
4982
appear in the modeline anymore. The simplification is worthwhile
4985
2004-07-17 Luke Gorrie <luke@bluetail.com>
4987
* slime.el (slime-autodoc): If there is a global variable name at
4988
point then show its value.
4989
(slime-autodoc-cache-type): Cache type 'full is no longer
4991
(slime-background-message): Truncate messages to fit on a single
4993
(slime-repl-update-banner-p, slime-dont-prompt)
4994
(slime-swank-connection-retries): Removed these unused or unuseful
4995
configuration variables.
4996
Rearranged organised "customize" groups.
4998
* swank.lisp (variable-desc-for-echo-area): New function.
10333
(slime-current-package): New name for (slime-buffer-package). No more
10334
caching: returns the buffer-local `slime-buffer-package' if set,
10335
otherwise searches for an `in-package' form. A consequence of
10336
non-caching is that the package name doesn't appear in the modeline
10337
anymore. The simplification is worthwhile in my opinion.
10339
2004-07-17 04:26 lgorrie
10345
2004-07-17 04:26 lgorrie
10349
(slime-autodoc): If there is a global variable name at point then show
10352
(slime-autodoc-cache-type): Cache type 'full is no longer supported.
10354
(slime-background-message): Truncate messages to fit on a single echo
10357
2004-07-17 04:26 lgorrie
10361
(variable-desc-for-echo-area): New function.
4999
10363
(arglist-for-echo-area): Return nil if symbol can't be found.
5000
10365
(close-connection): Close connection before printing error
5001
10366
message. This avoids it getting lost in closed I/O redirection.
5003
* README, doc/slime.texi: Updated setup instructions.
5005
2004-07-16 Luke Gorrie <luke@bluetail.com>
5007
* slime.el (slime-conservative-indentation): New variable. When
5008
true (the default) don't auto-learn indentation of def* and with-*
5009
macros. Set to nil if you want to learn them.
5010
(slime-handle-indentation-update): Use it.
5012
* swank.lisp (known-to-emacs-p): Removed filtering of def* and
5013
with-*. Now handled by Emacs.
5015
* slime.el (slime-interactive-eval): Changed display of results.
5016
By default the result goes to `slime-message', which leads either
5017
to echo area, temporary buffer, or typeout frame.
5018
With a prefix argument the result is printed to the REPL.
5019
This goes for all commands based on slime-interactive-eval, e.g.
5020
`C-x C-e' and `C-c M-:'.
5022
2004-07-16 Peter Seibel <peter@javamonkey.com>
5024
* slime.el (package-updating): Fixing this and other tests I broke
5025
with my change to how emacs keeps track of the package prompt
5027
(arglist): Fix an test failure under Allegro due to a slight
5028
difference in the way EXCL:ARGLIST returns arglist (no default
5029
values of &optional parameters)
5031
2004-07-16 Luke Gorrie <luke@bluetail.com>
5033
* swank.lisp (print-connection): print-function for connection
5034
objects. Dumping the indentation-cache was damned ugly with
5035
non-truncated lines (e.g. bug reports on slime-devel).
5037
* slime.el (slime-setup): New function for installing a
5038
lisp-mode-hook. You can call this from ~/.emacs to setup SLIME.
5039
Takes a `autodoc' keyword argument to enable
5040
slime-autodoc-mode. We can add more keywords in future.
5041
(slime-keys): Moved `slime-reindent-defun' from C-M-q to
5042
C-cM-q. This avoids overriding the standard binding of C-M-q to
10368
2004-07-17 01:44 lgorrie
10374
2004-07-17 01:44 lgorrie
10376
* doc/slime.texi, README:
10378
Updated setup instructions.
10380
2004-07-16 23:51 lgorrie
10386
2004-07-16 23:38 lgorrie
10392
2004-07-16 23:38 lgorrie
10396
(known-to-emacs-p): Removed filtering of def* and with-*. Now handled
10399
2004-07-16 23:38 lgorrie
10403
(slime-conservative-indentation): New variable. When true (the
10404
default) don't auto-learn indentation of def* and with-* macros. Set
10405
to nil if you want to learn them. (slime-handle-indentation-update):
10408
2004-07-16 22:57 lgorrie
10414
2004-07-16 22:55 lgorrie
10418
(slime-interactive-eval): Changed display of results. By default the
10419
result goes to `slime-message', which leads either to echo area,
10420
temporary buffer, or typeout frame. With a prefix argument the result
10421
is printed to the REPL. This goes for all commands based on
10422
slime-interactive-eval, e.g. `C-x C-e' and `C-c M-:'.
10424
2004-07-16 20:12 lgorrie
10430
2004-07-16 20:12 lgorrie
10434
(print-connection): print-function for connection objects. Dumping the
10435
indentation-cache was damned ugly with non-truncated lines (e.g. bug
10436
reports on slime-devel).
10438
2004-07-16 19:56 pseibel
10440
* ChangeLog, slime.el:
10442
Fixing tests I broke the other day. Sorry.
10444
2004-07-16 19:12 lgorrie
10450
2004-07-16 19:11 lgorrie
5044
10454
(slime-typeout-frame-properties): Removed some properties:
5045
10455
`name', because it interacts badly with X properties, `left' and
5046
10456
`top' because they don't put the frame anywhere terribly
5047
10457
convenient, and (width . 40) because it makes the frame narrower
5048
10458
than the usual word-wrapping width.
5050
2004-07-14 Peter Seibel <peter@javamonkey.com>
5052
* slime.el (slime-lisp-package-prompt-string): Separate SLIME's
5053
notion of package into two parts, an actual package name and the
5054
name used in the prompt since the latter isn't necessarily an
5055
actual package nickname any more.
5057
2004-07-13 Luke Gorrie <luke@bluetail.com>
5059
* slime.el (slime-restart-inferior-lisp): Renamed shortcut to
5060
"restart-inferior-lisp" from "restart-lisp". The name better
5061
suggests what it does: kill *inferior-lisp* and rerun SLIME.
5063
2004-07-13 Eric Blood <eblood@winkywooster.org>
5065
(slime-inspector-next-inspectable-object): New inspector command
5066
to goto the next inspectable object (slot). Bound to TAB.
5068
2004-07-13 Christophe Rhodes <csr21@cam.ac.uk>
5070
* slime.el: add support for actionable references in the
5071
*slime-compiler-notes* buffer.
5072
(slime-merge-notes): merge references if applicable.
5073
(slime-compiler-notes-mode-map): use new functions defaulting to
5074
show-details, but overrideable by text properties.
5075
(slime-tree-default-printer): destroy generality by assuming a
5076
tree of conditions, and insert references if applicable.
5077
(sldb-format-reference-source): add :amop
5079
* swank-sbcl.lisp (signal-compiler-condition,
5080
brief-compiler-message-for-emacs,
5081
long-compiler-message-for-emacs): handle references in compiler
5084
* swank.lisp (make-compiler-note): propagate references.
5086
* swank-backend.lisp (compiler-condition): add references slot.
5088
2004-07-12 Luke Gorrie <luke@bluetail.com>
5090
* slime.el (slime-easy-menu): Added "Apropos all" menu item.
5091
(slime-restart-lisp): Added `restart-lisp' shortcut. Doesn't do
5092
the right thing if you have multiple Lisps up.
5094
* swank.lisp: Added some docstrings.
10460
2004-07-16 18:38 lgorrie
10464
(slime-keys): Moved `slime-reindent-defun' from C-M-q to C-cM-q. This
10465
avoids overriding the standard binding of C-M-q to index-sexp.
10467
2004-07-16 18:12 lgorrie
10471
(slime-setup): New function for installing a lisp-mode-hook. You can
10472
call this from ~/.emacs to setup SLIME. Takes a `autodoc' keyword
10473
argument to enable slime-autodoc-mode. We can add more keywords in
10476
2004-07-15 07:02 pseibel
10478
* ChangeLog, slime.el, swank.lisp:
10480
Trying to restore sanity to SLIME's notion of the lisp package.
10482
2004-07-13 20:42 lgorrie
10488
2004-07-13 20:38 lgorrie
10493
(slime-inspector-next-inspectable-object): New inspector command to
10494
goto the next inspectable object (slot). Bound to TAB.
10496
2004-07-13 20:14 crhodes
10498
* ChangeLog, slime.el, swank-backend.lisp, swank-sbcl.lisp,
10501
Implement actionable references in *slime-compiler-notes*. Tested with
10502
sbcl-0.8.12 and sbcl CVS head -- I hope I haven't broken things for
10505
(There are some things in this that I think are suboptimal: they have
10506
been marked with FIXMEs. I lack elispfu in sufficient measure to clean
10507
them up confidently)
10509
2004-07-13 10:08 lgorrie
10513
(slime-restart-inferior-lisp): Renamed shortcut to
10514
"restart-inferior-lisp" from "restart-lisp". The name better suggests
10515
what it does: kill *inferior-lisp* and rerun SLIME.
10517
2004-07-12 12:55 lgorrie
10523
2004-07-12 12:37 lgorrie
10527
(slime-easy-menu): Added "Apropos all" menu item.
10529
(slime-restart-lisp): Added `restart-lisp' shortcut. Doesn't do the
10530
right thing if you have multiple Lisps up.
10532
2004-07-12 12:36 lgorrie
10534
* swank-loader.lisp:
10538
2004-07-12 12:35 lgorrie
10542
Added some docstrings.
5095
10544
Rearranged completion code and somewhat SLDB trying to layout
5096
10545
functions above their subfunctions in a tree-like way.
5097
10547
(slime-protocol-error): Renamed from slime-read-error.
5098
10549
(carefully-find-package): Now returns NIL if package can't be
5099
determined, rather than *BUFFER-PACKAGE*. Correct? I didn't see
5100
why it should return *BUFFER-PACKAGE*.
10550
determined, rather than *BUFFER-PACKAGE*. Correct? I didn't see why it
10551
should return *BUFFER-PACKAGE*.
5101
10553
(xref): Find symbol in *BUFFER-PACKAGE*.
5103
2004-07-09 Peter Seibel <peter@javamonkey.com>
5105
* swank.lisp (package-string-for-prompt): Change the way package
5106
name in prompt is computed. N.B. after this change the name
5107
displayed will not necsarily be either an actual name or nickname
5108
of the package: if the name contains dots by default the prompt
5109
will only display the last element, i.e. COM.GIGAMONKEYS.SPAM will
5110
be shown as SPAM. This change also makes CL-USER the canonical
5111
name for COMMON-LISP-USER even in implementations that provide a
5112
shorter nickname such as USER.
5114
2004-07-09 Christophe Rhodes <csr21@cam.ac.uk>
5116
* slime.el (sldb-lookup-reference): substitute hyphens for spaces
5119
2004-07-07 Thomas Schilling <tjs_ng@yahoo.de>
5121
* swank.lisp (arglist-for-insertion): Changed formatting to use
10555
2004-07-09 20:09 pseibel
10557
* ChangeLog, swank.lisp:
10559
Changing computation of package name used in REPL prompt.
10561
2004-07-09 14:09 crhodes
10563
* ChangeLog, slime.el:
10565
Substitute hyphens for spaces in the sbcl manual URL references
10567
2004-07-07 17:10 lgorrie
10573
2004-07-07 17:09 lgorrie
10577
From Thomas Schilling:
10578
(arglist-for-insertion): Changed formatting to use
5122
10579
arglist-to-string. That results in proper cases for
5123
10580
slime-insert-arglist.
5125
2004-07-07 Luke Gorrie <luke@bluetail.com>
5127
* swank-loader.lisp (*lisp-name*): Include the version number in
5130
* slime.el (slime-alistify): Preserve order. This keeps the
5131
*compiler-notes* right. Pointed out by Christophe Rhodes.
10582
2004-07-07 14:11 lgorrie
10584
* swank-loader.lisp:
10586
(*lisp-name*): Include the version number in ACL.
10588
2004-07-07 14:08 lgorrie
10594
2004-07-07 14:05 lgorrie
10598
(slime-alistify): Preserve order. This keeps the *compiler-notes*
10599
right. Pointed out by Christophe Rhodes.
5132
10601
(slime-repl-update-banner-p): Renamed from slime-reply-..
5133
10603
(slime-changelog-date): Reintroduced for informational purposes.
5134
10605
(slime-repl-update-banner): Show ChangeLog date in the animation.
5135
(slime-space): Do arglist lookup before inserting the
5136
space. Otherwise we get a funky race condition: entering the space
5137
may trigger `first-change-hook', which would send an async
5138
notification to Lisp, which would put us in the 'busy' state and
5139
thus we wouldn't lookup the arglist! Detective work by Edi Weitz.
10607
(slime-space): Do arglist lookup before inserting the space. Otherwise
10608
we get a funky race condition: entering the space may trigger
10609
`first-change-hook', which would send an async notification to Lisp,
10610
which would put us in the 'busy' state and thus we wouldn't lookup the
10611
arglist! Detective work by Edi Weitz.
5140
10613
(sldb-prune-initial-frames): More regexp fudgery :-(.
5141
(read-directory-name): Use `file-name-as-directory' to ensure we
5142
have the trailing / on the directory name.
5143
(byte-compile-warnings): Bye-compile slime-alistify. Its inputs
5146
2004-07-04 Luke Gorrie <luke@bluetail.com>
5148
* slime.el, swank-backend.lisp, swank.lisp: Added a new backend
5149
function `buffer-first-change' which is called via Emacs's
5150
`first-change-hook' in slime-mode buffers. This gives Lisp a
10615
(read-directory-name): Use `file-name-as-directory' to ensure we have
10616
the trailing / on the directory name.
10618
(byte-compile-warnings): Bye-compile slime-alistify. Its inputs can be
10621
2004-07-04 07:17 lgorrie
10627
2004-07-04 05:22 lgorrie
10633
2004-07-04 05:22 lgorrie
10635
* swank-cmucl.lisp:
10637
(buffer-first-change): Suck the source file into the cache unless
10638
already present. This is for M-. to increase the chances of our having
10639
a copy of the sources corresponding with the loaded code. Should help
10640
with the case where a user edits a file (without recompiling it) and
10641
then M-.'s for one of its definitions.
10643
2004-07-04 05:21 lgorrie
10645
* slime.el, swank-backend.lisp, swank.lisp:
10647
Added a new backend function `buffer-first-change' which is called via
10648
Emacs's `first-change-hook' in slime-mode buffers. This gives Lisp a
5151
10649
chance to do something with source files before you change them on
5154
* swank-cmucl.lisp (buffer-first-change): Suck the source file
5155
into the cache unless already present. This is for M-. to increase
5156
the chances of our having a copy of the sources corresponding with
5157
the loaded code. Should help with the case where a user edits and
5158
saves a file (without recompiling it) and then M-.'s for one of
5161
* swank-allegro.lisp (make-process/inherit): Changed reader
5162
conditionals to use fwrappers for #+(version>= 6).
5164
* swank-backend.lisp (make-stream-interactive): This backend
5165
function is called with each stream that will be used for
5166
user-interaction, i.e. the redirected stdio streams. Can be used
5167
to setup special output-flushing or similar.
5169
* swank.lisp (open-streams): Call make-stream-interactive on the
5170
redirected io streams.
5172
* swank-allegro.lisp (make-stream-interactive): Set
5173
interactive-stream-p slot on the stream to make it auto-flush.
10652
2004-07-04 02:36 lgorrie
10654
* swank-allegro.lisp:
10658
2004-07-04 02:34 lgorrie
10660
* swank-allegro.lisp:
10662
Changed reader conditionals to use fwrappers for #+(version>= 6.2).
10664
2004-07-04 02:21 lgorrie
10666
* swank-allegro.lisp:
10668
(make-stream-interactive): Set interactive-stream-p slot on the stream
10669
to make it auto-flush.
5174
10671
(*swank-thread*, *inherited-bindings*): New variables.
5175
10673
(spawn): Bind *swank-thread* to T.
5176
(make-process/inherit): Fwrapper (advice) for
5177
mp:make-process. When *swank-thread* is T then make the new thread
5178
inherit "sliminess": debugger hook, I/O streams, and also
5179
*swank-thread* so that its children will inherit too.
5181
2004-07-03 Luke Gorrie <luke@bluetail.com>
5183
* hyperspec.el (common-lisp-hyperspec-section-4.0): Bugfix from
5186
* slime.el (slime-repl-clear-output): Avoid clearing the previous
5187
REPL expression too. Patch from Andras Simon.
5189
* swank-backend.lisp (definterface): Don't use
5190
NO-APPLICABLE-METHOD for default methods. Instead just define them
5191
as regular methods with all argument types being
5192
T. Defimplementation will then replace them by using the same
5193
signature. N-A-M was a stupid idea!
5195
2004-07-02 Brian Downing <bdowning@lavos.net>
10675
(make-process/inherit): Fwrapper (advice) for mp:make-process. When
10676
*swank-thread* is T then make the new thread inherit "sliminess":
10677
debugger hook, I/O streams, and also *swank-thread* so that its
10678
children will inherit too.
10680
2004-07-04 02:20 lgorrie
10684
(open-streams): Call make-stream-interactive on the redirected io
10687
2004-07-04 02:19 lgorrie
10689
* swank-backend.lisp:
10691
(make-stream-interactive): This backend function is called with each
10692
stream that will be used for user-interaction, i.e. the redirected
10693
stdio streams. Can be used to setup special output-flushing or
10696
2004-07-03 02:08 lgorrie
10702
2004-07-03 02:06 lgorrie
10706
(common-lisp-hyperspec-section-4.0): Bugfix from Lennart Staflin.
10708
2004-07-03 02:01 lgorrie
10712
(slime-repl-clear-output): Avoid clearing the previous REPL expression
10713
too. Patch from Andras Simon.
10715
2004-07-03 01:50 lgorrie
10719
Oops. ChangeLog included some things hadn't committed yet.
10721
2004-07-03 01:50 lgorrie
10727
2004-07-03 01:50 lgorrie
10729
* swank-backend.lisp:
10731
(definterface): Don't use NO-APPLICABLE-METHOD for detail
10732
methods. Instead just define them as regular methods with all argument
10733
types being T. Defimplementation will then replace them by using the
10734
same signature. N-A-M was a stupid idea!
10736
2004-07-02 21:09 bdowning
10738
* ChangeLog, slime.el:
5197
10740
* slime.el (slime-reindent-defun): Added a check for (boundp
5198
10741
'slime-repl-input-start-mark) before checking the variable, as
5199
10742
XEmacs leaves variables unbound when `make-variable-buffer-local'
5200
10743
is run, while GNU Emacs binds them to NIL.
5202
2004-07-02 Martin Simmons <martin@xanalys.com>
5204
* swank-lispworks.lisp (dspec-stream-position,
5205
make-dspec-location): Fix typo in features for LW 4.1 and 4.2.
5207
2004-07-01 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5209
* swank-lispworks.lisp (frame-actual-args): Bind
5210
*break-on-signals* to nil and special case &rest, &optional, and
5213
2004-07-01 Luke Gorrie <luke@bluetail.com>
5215
* slime.el (sldb-lookup-reference): Preserve case in SBCL node
5216
names. Previously they were downcased, but the HTML manual's
5217
filenames seem to have changed.
5219
* NEWS: Added security note about the TCP server.
10745
2004-07-02 20:01 msimmons
10751
2004-07-02 11:58 msimmons
10753
* swank-lispworks.lisp:
10755
Fix typo in features for LW 4.1 and 4.2.
10757
2004-07-02 05:22 lgorrie
10761
Ahem, accidentally checked this file into slime CVS when I only meant
10762
to put it in RCS here. I had a stray CVS/ directory in ~/misc somehow
10763
and `C-x v v' picked it up. Funky!
10765
2004-07-02 05:17 lgorrie
10771
2004-07-01 08:35 heller
10777
2004-07-01 08:33 heller
10779
* swank-lispworks.lisp:
10781
(frame-actual-args): Bind *break-on-signals* to nil and special case
10782
&rest, &optional, and &key.
10784
2004-07-01 01:07 lgorrie
10790
2004-07-01 01:07 lgorrie
10794
(sldb-lookup-reference): Preserve case in SBCL node names. Previously
10795
they were downcased, but the HTML manual's filenames seem to have
10798
2004-07-01 00:25 lgorrie
10802
C-c C-u C-a, C-c C-u C-e
10804
2004-07-01 00:18 lgorrie
10808
Changed version number to 1.0alpha
10810
2004-07-01 00:17 lgorrie
10814
Added security note about the TCP server.
5220
10815
Added notes for ACL and ABCL.
5222
* doc/slime.texi: General updatings for an alpha release.
5224
2004-06-30 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5226
* slime.el (slime-display-compilation-output): New customizable
5229
* swank.lisp: Minor cleanups.
5230
(find-symbol-designator, find-symbol-or-lose)
5231
(case-convert-input): Deleted. Replaced with calls to
5232
parse-symbol{-or-lose}.
5234
* swank-lispworks.lisp (describe-symbol-for-emacs): Include
5235
information about setf-functions.
10817
2004-07-01 00:08 lgorrie
10821
General updatings for an alpha release.
10823
2004-06-30 23:47 heller
10829
2004-06-30 23:45 heller
10831
* swank-lispworks.lisp:
10833
(describe-symbol-for-emacs): Include information about setf-functions stuff.
5236
10835
(emacs-connected): Add a default method to
5237
env-internals:environment-display-debugger.
5239
2004-06-30 Luke Gorrie <luke@bluetail.com>
5241
* slime.el (slime-read-port-and-connect-to-running-swank)
5242
(slime-connect, slime-open-stream-to-lisp): Replace "localhost"
5243
with "127.0.0.1". This is believed to avoid unwanted DNS lookups
5244
on certain operating systems. The lookups can become crippling if
5245
the DNS server isn't available.
10836
defenv-internals:environment-display-debugger.
10838
2004-06-30 23:11 heller
10844
2004-06-30 23:09 heller
10848
(slime-display-compilation-output): New customizable variable.
10850
2004-06-30 23:06 heller
10855
(find-symbol-designator, find-symbol-or-lose, case-convert-input):
10856
Deleted. Replaced with calls to parse-symbol{-or-lose}.
10858
2004-06-30 22:55 lgorrie
5246
10862
(line-beginning-position, line-end-position): Simple bugfix
5247
10863
suggested by Richard Klinda.
5249
* swank-sbcl.lisp (preferred-communication-style): Choose
5250
:fd-handler instead of :sigio when threads aren't available. A lot
5251
of people seem to have had problems with :sigio on SBCL.
5253
2004-06-30 Luke Gorrie <luke@bluetail.com>
5255
* NEWS: Wrote preliminary release notes for alpha-1.
5257
2004-06-29 Luke Gorrie <luke@bluetail.com>
5259
* mkdist.sh: New shell script for creating a tarball for
5262
2004-06-29 Bill Clementson <Bill_Clementson@peoplesoft.com>
5264
* slime.el (slime-who-map): Add extra bindings for the XREF
5265
commands as with the documentation commands. Now `C-c C-w C-c' is
5266
`slime-who-calls' in addition to `C-c C-w c', etc.
5268
2004-06-29 Luke Gorrie <luke@bluetail.com>
5270
* slime.el (sldb-prune-initial-frames): Tweaked regexp for
5271
matching SWANK's own stack frames for effectiveness in SBCL.
5272
(slime-keys): Shadow remaining inf-lisp keys (C-c C-a, C-c C-v)
5273
with a null `slime-nop' command until we put them to a real use.
5275
* swank.lisp (open-streams): Renamed the restart around reads from
5276
the user-input stream from ABORT to ABORT-READ. Invoking this
5277
restart seems kinda dangerous, so better for 'a' in SLDB not to do
5280
2004-06-28 Thomas F. Burdick <tfb@OCF.Berkeley.EDU>
5282
* swank.lisp (inspector-nth-part):
5283
* slime.el (slime-inspector-copy-down, slime-inspector-mode-map):
5284
Added copy-down command (M-RET) to easily move an object from the
5285
inspector to the repl.
5287
2004-06-28 Luke Gorrie <luke@bluetail.com>
5289
* slime.el (slime-doc-map): New keymap for documentation
5290
commands. These all use the `C-c C-d' prefix, followed by:
10865
2004-06-30 20:59 lgorrie
10869
Rolled back some things that I committed by accident.
10871
2004-06-30 20:57 lgorrie
10877
2004-06-30 20:54 lgorrie
10881
(slime-read-port-and-connect-to-running-swank)
10882
(slime-connect, slime-open-stream-to-lisp):
10883
Replace "localhost" with "127.0.0.1". This is believed to avoid
10884
unwanted DNS lookups on certain operating systems. The lookups can
10885
become crippling if the DNS server isn't available.
10887
2004-06-30 18:40 lgorrie
10893
2004-06-30 16:10 lgorrie
10899
2004-06-30 15:46 lgorrie
10905
2004-06-30 15:45 lgorrie
10909
(preferred-communication-style): Choose :fd-handler instead of :sigio
10910
when threads aren't available. A lot of people seem to have had
10911
problems with :sigio on SBCL.
10913
2004-06-30 15:37 lgorrie
10919
2004-06-30 15:26 lgorrie
10923
Backed out the previous change (below). Has bugs and needs more
10926
2004-06-30 09:24 mbaringer
10928
* ChangeLog, slime.el:
10930
2004-06-29 Thomas Burdick <tfb@OCF.Berkeley.EDU>
10932
* slime.el: Indicate when the REPL is in the debugger's context
10933
(slime-debug-level): new connection var
10934
(slime-dispatch-event): set slime-debug-level to match *sldb-level*
10935
(slime-repl-insert-prompt): show debug-level in prompt when > 0
10937
2004-06-30 08:59 heller
10943
2004-06-30 00:12 lgorrie
10949
2004-06-30 00:07 lgorrie
10955
2004-06-30 00:06 lgorrie
10959
Added preliminary release notes for alpha-1.
10961
2004-06-29 22:18 lgorrie
10965
New shell script for creating a tarball for distribution.
10967
2004-06-29 22:17 lgorrie
10973
2004-06-29 22:17 lgorrie
10977
From Bill Clementson:
10978
(slime-who-map): Add extra bindings for the XREF commands as with the
10979
documentation commands. Now `C-c C-w C-c' is `slime-who-calls' in
10980
addition to `C-c C-w c', etc.
10982
2004-06-29 19:48 lgorrie
10988
2004-06-29 19:46 lgorrie
10992
(open-streams): Renamed the restart around reads from the user-input
10993
stream from ABORT to ABORT-READ. Invoking this restart seems kinda
10994
dangerous, so better for 'a' in SLDB not to do so.
10996
2004-06-29 19:39 lgorrie
11000
(sldb-prune-initial-frames): Tweaked regexp for matching SWANK's own
11001
stack frames for effectiveness in SBCL.
11003
(slime-keys): Shadow remaining inf-lisp keys (C-c C-a, C-c C-v) with a
11004
null `slime-nop' command until we put them to a real use.
11006
2004-06-29 12:53 lgorrie
11012
2004-06-29 12:48 lgorrie
11018
2004-06-29 10:12 mbaringer
11020
* ChangeLog, slime.el, swank.lisp:
11022
2004-06-28 Thomas F. Burdick <tfb@OCF.Berkeley.EDU>
11023
* swank.lisp (inspector-nth-part):
11024
* slime.el (slime-inspector-copy-down, slime-inspector-mode-map):
11025
Added copy-down command (M-RET) to easily move an object from the
11026
inspector to the repl.
11028
2004-06-28 23:05 lgorrie
11034
2004-06-28 23:05 lgorrie
11038
(slime-doc-map): New keymap for documentation commands. These all use
11039
the `C-c C-d' prefix, followed by:
5292
11042
p - apropos-package
5293
11043
z - apropos-all
5657
11928
(sldb-step): Re-enabled. The CMUCL backend has rudimentary support
5660
* swank.lisp (*readtable-alist*): Call backend function for
5662
(eval-for-emacs, guess-buffer-package): Signal a continuable error
5663
if a package name was supplied but no such package exists. Not
5664
sure if this is better than what we did before (i.e. silently use
5665
the current package).
5667
* swank-cmucl.lisp (default-directory): Add implementation.
5668
(sldb-step): Uncomment it and remove references to
5669
*swank-debugger-condition*.
5671
* swank-backend.lisp (sldb-step, default-readtable-alist): New
5673
(emacs-connected): Pass the redirected stream as argument, so that
5674
the OpenMCL backend can add it to CCL::*AUTO-FLUSH-STREAMS*.
5676
* swank-sbcl.lisp (default-readtable-alist): Implement it.
5678
* swank-loader.lisp: Move readtable-alist initialization to
5681
* swank-allegro.lisp (default-directory, call-with-syntax-hooks):
5682
Add implementations as workarounds for ACL5 bugs.
5684
2004-06-16 Lawrence Mitchell <wence@gmx.li>
5686
* slime.el (slime-maybe-rearrange-inferior-lisp): Call
5687
`generate-new-buffer-name' manually, rather than relying on the
5688
UNIQUE argument to `rename-buffer' to do so.
5690
2004-06-16 Frederic Brunel <frederic.brunel@in-fusio.com>
5692
* slime.el (slime-startup-animation): Use defcustom to declare the
5694
(slime-enable-startup-animation-p): Deleted.
5696
2004-06-16 Robert Lehr <bozzio@the-lehrs.com>
5698
* slime.el (slime-backend): This variable can now be set to an
5701
2004-06-15 Luke Gorrie <luke@bluetail.com>
5703
* slime.el (slime-compile-file): Just prompt for saving the
5704
current file instead of calling `save-some-buffers'. Based on a
5705
patch from Brian Downing.
5707
2004-06-12 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5709
* wank-allegro.lisp (format-sldb-condition, condition-references):
5710
Add workarounds for buggy no-applicable-method.
5712
* swank.lisp (parse-symbol, parse-package): Handle reader errors.
5714
* swank-openmcl.lisp (send, receive): Ensure that messages are
5717
2004-06-10 Christophe Rhodes <csr21@cam.ac.uk>
5719
* swank-sbcl.lisp (call-with-syntax-hooks): Add hooks to fix
5720
"SB!"-style package names.
5721
(shebang-readtable): Return a readtable with readermacros needed
5722
to parse SBCL sources.
5724
* swank.lisp (with-buffer-syntax): New macro. This should be used
5725
for code which needs to READ code from Emacs buffers. *package*
5726
and *readtable* are bound suitable values.
11931
2004-06-16 21:39 asimon
11937
2004-06-16 02:13 lgorrie
11943
2004-06-16 02:13 lgorrie
11947
(slime-backend): This variable can now be set to an absolute filename.
11949
2004-06-15 19:01 lgorrie
11955
2004-06-15 19:01 lgorrie
11959
(slime-compile-file): Just prompt for saving the current file instead
11960
of calling `save-some-buffers'. Based on a patch from Brian Downing.
11962
2004-06-12 14:29 heller
11968
2004-06-12 14:27 heller
11970
* swank-allegro.lisp:
11972
(format-sldb-condition, condition-references): Add workarounds for
11973
buggy no-applicable-method.
11975
2004-06-12 14:21 heller
11979
(parse-symbol, parse-package): Handle reader errors.
11981
2004-06-12 14:01 heller
11983
* swank-openmcl.lisp:
11985
(send, receive): Ensure that messages are never nil.
11987
2004-06-10 22:52 heller
11993
2004-06-10 20:08 heller
11999
2004-06-10 19:57 heller
12001
* swank-loader.lisp:
12003
Initialize swank::*readtable-alist* for SBCL.
12005
2004-06-10 19:56 heller
12009
(call-with-syntax-hooks): Add hooks to fix SB!-style package names.
12011
(shebang-readtable): Return a readtable with the readermacros need to
12012
parse SBCL sources.
12014
2004-06-10 19:52 heller
12016
* swank-backend.lisp:
12018
(default-directory, call-with-syntax-hooks): New functions.
12020
2004-06-10 19:51 heller
12024
(*readtable-alist*): New configurable. The keys are package name and
12025
the values readtables. The readtable will be used to READ code
12026
originating from Emacs buffers in the associated slime-buffer-package.
12028
(drop-thread): Simplified.
12030
(*buffer-readtable*): New variable.
12032
(with-buffer-syntax): New macro. This should be used for code which
12033
needs to read or prints expressions with reader and printer variables,
12034
in particular *package* and *readtable*, suitable for the Emacs
5727
12037
(to-string, format-values-for-echo-area, interactive-eval)
5728
12038
(eval-region, interactive-eval-region, re-evaluate-defvar)
5729
(swank-pprint, pprint-eval, listener-eval)
5730
(compile-string-for-emacs, disassemble-symbol, describe-to-string)
5731
(describe-symbol, describe-function)
5732
(describe-definition-for-emacs)
12039
(swank-pprint, pprint-eval, listener-eval, compile-string-for-emacs)
12040
(disassemble-symbol, describe-to-string, describe-symbol)
12041
(describe-function, describe-definition-for-emacs)
5733
12042
(documentation-symbol, init-inspector, inspect-nth-part)
5734
(inspector-pop, inspector-next, describe-inspectee)
12043
(inspector-pop, inspector-next, describe-inspecte)
5735
12044
(inspect-current-condition): Use it.
5737
2004-06-10 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5739
* swank-loader.lisp: Initialize swank::*readtable-alist* for SBCL.
5741
* swank-backend.lisp (default-directory, call-with-syntax-hooks):
5744
* swank.lisp (*readtable-alist*): New configurable. The keys are
5745
package name and the values readtables. The readtable will be
5746
used to READ code originating from Emacs buffers in the associated
5747
slime-buffer-package.
5748
(drop-thread): Simplified.
5749
(*buffer-readtable*): New variable.
5750
(parse-package): New function.
5751
12046
(parse-string): Renamed from symbol-from-string. Make it case
12049
(parse-package): New function.
5753
12051
(eval-for-emacs): Initialize the *buffer-readtable*.
5754
(symbol-indentation): Don't consider symbols in the CL package.
5755
Emacs already knows how to indent them.
5756
(compile-file-if-needed): Used for REPL shortcut
5759
* slime.el (pwd): Re-add REPL shortcut.
12053
(symbol-indentation): Don't consider symbols in the CL package. Emacs
12054
already knows how to indent them.
12056
(compile-file-if-needed): Used for REPL shortcut 'compile-and-load'.
12058
2004-06-10 19:34 heller
12062
(pwd): Re-add REPL shortcut.
5760
12063
(slime-repl-push-directory, slime-repl-compile-and-load): Simplified.
5762
2004-06-10 Luke Gorrie <luke@bluetail.com>
5764
* slime.el (sldb-step): Command is disabled because the function
12065
2004-06-10 06:40 lgorrie
12071
2004-06-10 06:40 lgorrie
12075
(sldb-step): Command is disabled because the function
5765
12076
`swank:sldb-step' that it calls doesn't exist. I don't see any
5766
12077
stepping code in our backends.
5768
2004-06-09 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5770
* slime.el (slime-goto-location-position) [:function-name]: The
5771
function name can also occur after a ?(, not only after
5774
* (slime-init-output-buffer): Initialize the package stack.
5775
Reported by Rui Patroc�nio.
5777
* (slime-completions): Make it consistent with
12079
2004-06-09 22:24 heller
12085
2004-06-09 22:17 heller
12089
(slime-indent-and-complete-symbol): Renamed from
12090
slime-repl-indent-and-complete-symbol. From Eric Blood.
12092
(slime-init-output-buffer): Initialize the package stack. Reported by
12095
(slime-completions): Make it consistent with
5778
12096
slime-simple-completions. The second argument was never supplied.
5779
12097
Reported by Rui Patroc�nio.
5781
2004-06-09 Eric Blood <eblood@winkywooster.org>
5783
* slime.el (slime-indent-and-complete-symbol): Renamed from
5784
slime-repl-indent-and-complete-symbol.
5786
12099
(slime-typeout-frame-properties): Add more default options for the
5787
typeout frame--specifically it now has a default width, and moves
5788
the typeout frame to the upper right.
5790
2004-06-09 Andras Simon <andras@renyi.hu>
5792
* swank-abcl.lisp: New backend for Armed Bear Common Lisp.
5794
* swank-loader.lisp: Add ABCL support.
5796
2004-06-09 Martin Simmons <martin@xanalys.com>
5798
* swank-lispworks.lisp (dspec-stream-position): New function to
5799
make source location work for anything complicated e.g. methods.
12100
typeout frame--specifically it now has a default width, and moves the
12101
typeout frame to the upper right. From Eric Blood.
12103
(slime-goto-location-position) [:function-name]: The function name can
12104
also occur after a ?(, not only after whitespace.
12106
2004-06-09 22:08 heller
12108
* swank-loader.lisp:
12112
2004-06-09 22:08 heller
12116
ABCL backend from Andras Simon.
12118
2004-06-09 14:41 msimmons
12124
2004-06-09 14:40 msimmons
12126
* swank-lispworks.lisp:
12128
(dspec-stream-position): New function to make source location work for anything
12129
complicated e.g. methods.
5800
12130
(with-swank-compilation-unit): Refactoring.
5801
12131
(who-macroexpands): Implemented.
5802
12132
(list-callers): Implemented.
5804
* swank-backend.lisp (network-error): Inherit from simple-error to
5805
get correct initargs.
5807
2004-06-09 Luke Gorrie <luke@bluetail.com>
5809
* slime.el (sldb-insert-references): Added support for hyperlinked
5810
references as part of conditions being debugged. This is a new
5811
feature in SBCL to reference appropriate sections of their manual
5812
or CLHS from condition objects. The references are clickable.
5814
* swank-backend.lisp (format-sldb-condition): New backend function
5815
to format conditions for SLDB.
5816
(condition-references): New function to return a list of
5817
documentation references associated with a condition.
5819
* swank.lisp (debugger-condition-for-emacs): Call the above
5820
backend functions to add a `references' list for Emacs.
5822
* swank-sbcl.lisp (format-sldb-condition, condition-references):
12134
2004-06-09 14:35 msimmons
12136
* swank-backend.lisp:
12138
(network-error): Inherit from simple-error to get correct initargs.
12140
2004-06-09 01:58 lgorrie
12146
2004-06-09 01:58 lgorrie
12150
(sldb-insert-references): Added support for hyperlinked references as
12151
part of conditions being debugged. This is a new feature in SBCL to
12152
reference appropriate sections of their manual or CLHS from condition
12153
objects. The references are clickable.
12155
2004-06-09 01:57 lgorrie
12159
(debugger-condition-for-emacs): Call new backend functions to add a
12160
`references' list for Emacs.
12162
2004-06-09 01:57 lgorrie
12166
(format-sldb-condition, condition-references):
5823
12167
Implemented. Requires a recent (latest?) SBCL release.
5825
2004-06-08 Luke Gorrie <luke@bluetail.com>
5827
* swank-cmucl.lisp (close-socket): Remove any SERVE-EVENT handlers
5828
for the socket's file descriptor.
5830
* swank-sbcl.lisp (close-socket): Same fix.
5832
2004-06-07 Luke Gorrie <luke@bluetail.com>
5834
* swank-cmucl.lisp: Minor refactorings.
5836
2004-06-07 Edi Weitz <edi@agharta.de>
5838
* swank-allegro.lisp (call-with-compilation-hooks): Implemented.
12169
2004-06-09 01:57 lgorrie
12171
* swank-backend.lisp:
12173
(format-sldb-condition): New backend function to format conditions for
12176
(condition-references): New function to return a list of documentation
12177
references associated with a condition.
12179
2004-06-08 22:33 lgorrie
12185
2004-06-08 22:32 lgorrie
12187
* swank-cmucl.lisp, swank-sbcl.lisp:
12189
(close-socket): Remove any SERVE-EVENT handlers for the socket's file
12192
2004-06-07 20:38 lgorrie
12198
2004-06-07 20:37 lgorrie
12200
* swank-cmucl.lisp:
12202
Minor refactorings.
12204
2004-06-07 20:27 lgorrie
12206
* swank-backend.lisp, swank.lisp:
12208
Wrap EXPORT calls in EVAL-WHEN. Fixes many warnings in ACL.
12210
2004-06-07 20:27 lgorrie
12212
* swank-allegro.lisp:
5839
12216
Wrap IMPORT call in EVAL-WHEN.
5841
* swank.lisp, swank-backend.lisp: Wrap EXPORT calls in
5842
EVAL-WHEN. Fixes many warnings in ACL.
5844
2004-05-25 Luke Gorrie <luke@bluetail.com>
5846
* slime.el (slime-kill-without-query-p): Default to T.
5847
(sldb-highlight): Variable to control face-based highlighting of
5848
SLDB locations. (In Emacs21 the point is visible even in unselected
12218
2004-05-25 03:33 lgorrie
12224
2004-05-25 03:31 lgorrie
12228
(slime-kill-without-query-p): Default to T.
12230
(sldb-highlight): Variable to control face-based highlighting of SLDB
12231
locations. (In Emacs21 the point is visible even in unselected
5849
12232
windows, which is sufficient for me.)
5850
(sldb-show-location-recenter-arg): Argument to `recenter' when
5851
showing SLDB locations. Default to nil, i.e. location appears in
5852
the middle of the window.
5854
2004-05-24 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5856
* slime.el (slime-input-complete-p): Return nil for unbalanced
5857
sexps starting with quote ?', backquote ?`, or hash ?#. C-j can
5858
be used for more complicated cases.
5860
2004-05-22 Marco Baringer <mb@bese.it>
5862
* slime.el (slime-repl-sayoonara): Added "quit" as an alias for
5865
2004-05-22 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5867
* swank-cmucl.lisp (arglist): Catch (reader) errors in
5870
* swank-allegro.lisp (fspec-primary-name): New function.
5871
(find-fspec-location): Use it, if the start position cannot be
5874
* slime.el (slime-pprint-event): New function.
12234
(sldb-show-location-recenter-arg): Argument to `recenter' when showing
12235
SLDB locations. Default to nil, i.e. location appears in the middle of
12238
2004-05-24 18:14 heller
12244
2004-05-24 18:10 heller
12248
(slime-input-complete-p): Return nil for unbalanced sexps starting
12249
with quote ?', backquote ?`, or hash ?#. C-j can be used if Emacs
12250
gets the parsing wrong.
12252
2004-05-22 13:20 mbaringer
12254
* ChangeLog, slime.el:
12256
2004-05-22 Marco Baringer <mb@bese.it>
12258
* slime.el (slime-repl-sayoonara): Added "quit" as an alias for
12261
2004-05-22 10:15 heller
12267
2004-05-22 10:14 heller
12269
* swank-cmucl.lisp:
12271
(arglist): Catch (reader) errors in read-arglist.
12273
2004-05-22 10:05 heller
12279
2004-05-22 10:04 heller
12281
* swank-allegro.lisp:
12283
(fspec-primary-name): New function.
12284
(find-fspec-location): Use it, if the start position cannot be found.
12286
2004-05-22 09:59 heller
12290
(slime-pprint-event): New function.
5875
12291
(slime-log-event): Use it.
5876
(slime-reindent-defun): Indent the form after point, if point is
5877
in the first column an immediately before a #\(.
5879
2004-05-21 Bill Clementson <Bill_Clementson@peoplesoft.com>
5881
* slime.el (slime-switch-to-output-buffer): Use "P" as interactive
5884
2004-05-21 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5886
* slime.el (slime-switch-to-output-buffer): Override the
5887
prefix-arg if we are called non-interactively.
5888
(slime-repl-current-input): Don't add newlines.
5889
(slime-repl-return): Send input if we are in read-mode also if it
5890
isn't a complete expression.
5891
(repl-read-lines): New test case.
12293
(slime-reindent-defun): Indent the defun after point, if point is in
12294
the first column an immediately before a #\(.
12296
2004-05-21 23:30 heller
12302
2004-05-21 23:24 heller
5892
12306
(slime-enable-startup-animation-p): New configurable.
5893
12307
(slime-repl-update-banner): Use it.
5894
12309
(slime-hide-inferior-lisp-buffer): New function. Reuse the
5895
12310
*inferior-lisp* buffer window for the SLIME REPL.
5897
* swank-allegro.lisp (find-fspec-location): Better handling of
5898
methods. From Bill Clementson.
5900
2004-05-17 Luke Gorrie <luke@bluetail.com>
5902
* xref.lisp, swank-clisp.lisp: Renamed XREF package to PXREF (P
5903
for portable). This makes it possible to load the package in
5904
e.g. CMUCL, which is nice because it's a good package.
5906
* swank-cmucl.lisp: Some refactoring and high-level
5907
commenting. Mostly just trying to organise things into fairly
5908
self-contained sections (my new hobby, sad I know!)
5910
* slime.el: Added `C-c C-e' as an alternative binding for
5911
`slime-interactive-eval' (usually `C-c :'). This seems slightly
5912
more convenient, and has the added bonus of clobbering an unwanted
5915
2004-05-14 Marco Baringer <mb@bese.it>
5917
* slime.el (slime-with-output-to-temp-buffer): Now takes a
5918
package arg specifying what slime-buffer-package should be in the
5920
(slime-show-description): actually pass the package arg.
5921
(slime-show-apropos): pass the package arg to
5922
slime-with-output-to-temp-buffer.
5923
(slime-list-repl-shortcuts): pass a package arg.
5925
2004-05-12 Alan Ruttenberg <alanr-l@mumble.net>
5926
* swank-openmcl.lisp: Fixes to support openmcl 0.14.2 changes in
5927
backtrace protocol, from Gary Byers.
5928
- Replace string "tcr" to "context".
5929
- Change the call to %current-tcr in map-backtrace to get-backtrace-context,
5930
defined so as to be back compatible with 0.14.1.
5931
- Change the call to %catch-top to explicitly use %current-tcr
5932
instead of the passed in tcr-which-is-now-called-context.
5934
Users of map-backtrace (outside of slime code) note: The tcr position in the
5935
function call is now occupied by the backtrace "context" which is always nil.
5936
If you really need the tcr then you need to call %current-tcr yourself now.
5938
Gary comments: The part that's a little hard to document about
5939
the new "context" stuff - used to walk the stacks of thread A from
5940
thread B - is that thread B has to be aware of when a context
5941
becomes invalid (a context describing part of thread A's stack is
5942
valid while thread A's sitting in a break loop and becomes invalid
5943
as soon as it exits that break loop.) A thread sort of announces
5944
when a context becomes valid and when it becomes invalid; whether
5945
and how SWANK could hook into that isn't yet clear.
5947
* swank-openmcl.lisp: Minor changes to backtrace display: Anonymous
5948
functions names in function position surrounded by #<>. Use prin1 instead of
5949
princ to print function arguments (so strings have "s around them).
5950
prefix symbol and list arguments by "'" to make them more look like a
5951
valid function call. Let me know if you don't like this...
5953
2004-05-12 Luke Gorrie <luke@bluetail.com>
5955
* slime.el: Fixes for outline-mode in *slime-events* from Edi
5958
2004-05-11 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5960
* slime.el (slime-events-buffer): Disable outline-mode by default.
12312
2004-05-21 10:27 heller
12318
2004-05-21 10:24 heller
12322
(slime-switch-to-output-buffer): Override the prefix-arg if we are
12323
called non-interactively.
12325
(slime-repl-current-input): Don't add newlines.
12327
(slime-repl-return): Send input if we are read-mode even if it isn't a
12328
complete expression.
12330
(repl-read-lines): New test case.
12332
2004-05-21 10:19 heller
12334
* swank-allegro.lisp:
12336
(find-fspec-location): Better handling of methods. Reported by Bill
12339
2004-05-17 02:26 lgorrie
12345
2004-05-17 02:25 lgorrie
12347
* swank-clisp.lisp, xref.lisp:
12349
Renamed XREF package to PXREF (P for portable). This makes it possible
12350
to load the package in e.g. CMUCL, which is nice because it's a good
12353
2004-05-17 02:21 lgorrie
12355
* swank-cmucl.lisp:
12357
Some refactoring and high-level commenting. Mostly just trying to
12358
organise things into fairly self-contained sections (my new hobby, sad
12361
2004-05-17 01:35 lgorrie
12363
* swank-backend.lisp:
12365
Trivial doc additions.
12367
2004-05-17 01:33 lgorrie
12371
Added `C-c C-e' as an alternative binding for `slime-interactive-eval'
12372
(usually `C-c :'). This seems slightly more convenient, and has the
12373
added bonus of clobbering an unwanted `inf-lisp' binding.
12375
2004-05-14 12:39 mbaringer
12377
* ChangeLog, slime.el:
12379
See ChangeLog entry 2004-05-14 Marco Baringer
12381
2004-05-13 06:47 aruttenberg
12383
* ChangeLog, swank-openmcl.lisp:
12385
2004-05-12 Alan Ruttenberg <alanr-l@mumble.net>
12386
* swank-openmcl.lisp: Fixes to support openmcl 0.14.2 changes in
12387
backtrace protocol, from Gary Byers.
12388
- Replace string "tcr" to "context".
12389
- Change the call to %current-tcr in map-backtrace to get-backtrace-context,
12390
defined so as to be back compatible with 0.14.1.
12391
- Change the call to %catch-top to explicitly use %current-tcr
12392
instead of the passed in tcr-which-is-now-called-context.
12394
Users of map-backtrace (outside of slime code) note: The tcr position in the
12395
function call is now occupied by the backtrace "context" which is always nil.
12396
If you really need the tcr then you need to call %current-tcr yourself now.
12398
Gary comments: The part that's a little hard to document about
12399
the new "context" stuff - used to walk the stacks of thread A from
12400
thread B - is that thread B has to be aware of when a context
12401
becomes invalid (a context describing part of thread A's stack is
12402
valid while thread A's sitting in a break loop and becomes invalid
12403
as soon as it exits that break loop.) A thread sort of announces
12404
when a context becomes valid and when it becomes invalid; whether
12405
and how SWANK could hook into that isn't yet clear.
12407
* swank-openmcl.lisp: Minor changes to backtrace display: Anonymous
12408
functions names in function position surrounded by #<>. Use prin1 instead of
12409
princ to print function arguments (so strings have "s around them).
12410
prefix symbol and list arguments by "'" to make them more look like a
12411
valid function call. Let me know if you don't like this...
12413
2004-05-12 18:23 lgorrie
12419
2004-05-12 18:21 lgorrie
12423
Fixes for outline-mode in *slime-events* from Edi Weitz.
12425
2004-05-11 23:02 heller
12431
2004-05-11 23:00 heller
12435
(slime-events-buffer): Disable outline by default.
5961
12436
(slime-inhibit-ouline-mode-in-events-buffer): New variable.
5962
(slime-expected-failures): Reduce the number for SBCL.
5964
* swank-sbcl.lisp (resolve-note-location): Resolve the location if
5965
we are called by swank-compile-string. The pathname argument is
5966
never :stream in SBCL, so the method written for CMUCL was never
5969
2004-05-10 Luke Gorrie <luke@bluetail.com>
5971
* swank.lisp (from-string): Bind *READ-SUPPRESS* to NIL.
5972
(swank-compiler): Bind a restart to abort compilation but still
5973
report the compiler messages already trapped.
12438
2004-05-11 22:58 heller
12442
(resolve-note-location): Resolve the location if we are called by
12443
swank-compile-string. The pathname argument is never :stream in SBCL,
12444
so the method written for CMUCL was never called.
12446
2004-05-10 15:54 lgorrie
12452
2004-05-10 15:49 lgorrie
12456
(from-string): Bind *READ-SUPPRESS* to NIL.
12458
(swank-compiler): Bind a restart to abort compilation but still report
12459
the compiler messages already trapped.
5974
12461
(string-to-package-designator): Function that uses READ to
5975
12462
case-convert package names.
5976
12464
(apropos-list-for-emacs): Use it.
5978
* slime.el (slime-eval-with-transcript): Don't print the "=>"
5979
prefix in messages showing evaluation results. It mucks up
5980
alignment in multi-line messages.
5981
(sldb-eval-in-frame): Don't print "==>" prefix on evaluation
5982
results, for the same reason.
5983
(slime-show-source-location): Move the point to the source
5984
location in addition to highlighting the matching parens.
5986
2004-05-08 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5988
* swank-cmucl.lisp (find-definitions): Add support for variables
5991
2004-05-07 Helmut Eller <e9626484@stud3.tuwien.ac.at>
5993
* swank-clisp.lisp (compiler-note-location): Use make-location to
5994
instead of `(:location ...). This initializes the new hint slot
5997
2004-05-07 Barry Fishman <barry_fishman@att.net>
5999
* swank.lisp (prin1-to-string-for-emacs, arglist-to-string): CVS
6000
CLISP prints NIL as |COMMON-LISP|::|NIL| if *print-readably* is
6001
true. Set *print-readably* to nil for a more Emacs friendly
6004
2004-05-06 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6006
* slime.el (slime-maybe-list-compiler-notes): Display the notes
6007
listing after C-c C-c only if there are no annotations in the
6008
buffer. CMUCL creates usually one warning with an error location
6009
and an almost redundant warning without at the end of the
6010
compilation unit. Don't display the listing in this common case.
6012
(slime-reindent-defun): Pass nil as the third arument to
6015
2004-05-06 Marco Baringer <mb@bese.it>
6017
* slime.el (slime-repl-sayoonara): Don't attempt to quit the lisp
6018
if we're not connected.
6020
* swank-openmcl.lisp (*buffer-offset*, *buffer-name*): Supply
6021
default values. This avoids unbound value errors when compiling an
6022
asdf system signals errors.
6024
2004-05-04 Alan Shutko <ats@acm.org>
6026
* slime.el (slime-compiler-notes-show-details/mouse): New command.
12466
2004-05-10 15:44 lgorrie
12470
(slime-eval-with-transcript): Don't print the "=>" prefix in messages
12471
showing evaluation results. It mucks up alignment in multi-line
12474
(sldb-eval-in-frame): Don't print "==>" prefix on evaluation results,
12475
for the same reason.
12477
(slime-show-source-location): Move the point to the source location in
12478
addition to highlighting the matching parens.
12480
2004-05-08 21:00 heller
12482
* swank-cmucl.lisp, ChangeLog:
12486
2004-05-07 23:12 heller
12492
2004-05-07 23:11 heller
12494
* swank-clisp.lisp:
12496
(compiler-note-location): Use make-location to instead of `(:location
12497
...). This initializes the new hint slot.
12499
2004-05-07 23:10 heller
12503
(prin1-to-string-for-emacs): CVS CLISP prints NIL as
12504
|COMMON-LISP|::|NIL| if *print-readably* is true. Set
12505
*print-readably* to nil for a more Emacs friendly printer syntax.
12506
(arglist-to-string): Ditto.
12508
2004-05-06 21:55 heller
12514
2004-05-06 21:52 heller
12518
(slime-maybe-list-compiler-notes): Display the notes listing after C-c
12519
C-c only if there are no annotations in the buffer. CMUCL creates
12520
usually one warning with a error location and an almost redundant
12521
warning at the end of the compilation unit. Don't display the listing
12522
in this common case.
12524
(slime-reindent-defun): Pass nil as the third arument to indent-region.
12526
2004-05-06 09:38 mbaringer
12528
* ChangeLog, slime.el, swank-openmcl.lisp:
12530
See Changelog entry 2004-05-06 Marco Baringer
12532
2004-05-04 21:17 heller
12538
2004-05-04 21:12 heller
12542
(slime-compiler-notes-show-details/mouse): New command.
6027
12543
(slime-compiler-notes-mode-map): Use it.
6029
2004-05-04 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6031
* swank-cmucl.lisp (arglist): Handle byte-code functions better.
6032
We don't know much about the actual argument list, only the number
6033
of arguments. Return at least something mildly interesting like
6034
(arg0 arg1 &optional arg2 ...)
12545
2004-05-04 21:02 heller
12547
* swank-cmucl.lisp:
12549
(arglist): Handle byte-code functions better. We don't know much
12550
about the actual argument list, only the number of arguments. Return
12551
at lest something mildy interesting like (arg0 arg1 &optional arg2 ...)
6035
12553
(function-location): Special-case byte-code functions.
6037
* swank-backend.lisp (with-struct): New macro.
6039
2004-05-04 Thomas F. Burdick <tfb@OCF.Berkeley.EDU>
6041
* slime.el (slime-reindent-defun): New command on C-M-q. Reindent
6042
the current Lisp defun after trying to close any unmatched
6043
parenthesis. If used within a comment it just calls fill-paragraph.
6045
2004-05-04 Luke Gorrie <luke@bluetail.com>
6047
* slime.el (slime-goto-location-position): Regexp fix.
6048
(slime-reindent-defun): New command on M-q. Reindent the current
6049
Lisp defun after trying to close any unmatched parenthesis.
6051
* swank.lisp: Remove (declaim (optimize ...)). The side-effect
6052
this has on people's environment seems harmful (I saw someone
6053
having trouble on the OpenMCL list).
6055
* swank-cmucl.lisp (source-location-from-code-location): Fixed a
6056
bug where the source-file-cache was not really used.
6057
Now always report the location based on source file (cached or
6058
not) even if modified -- not falling back on regexps, which was
6059
probably a misfeature.
6061
* slime.el: Remove `slime-cleanup-definition-refs'.
6063
2004-05-02 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6065
* slime.el (slime-start-and-load): New command. Suggested by
6066
Lars Magne Ingebrigtsen.
6068
2004-05-02 Lars Magne Ingebrigtsen <larsi@netfonds.no>
6070
* slime.el (slime-kill-without-query-p): New variable.
12555
2004-05-04 20:57 heller
12557
* swank-backend.lisp:
12559
(with-struct): New macro.
12561
2004-05-04 11:34 lgorrie
12567
2004-05-04 11:33 lgorrie
12571
Patch from Thomas Burdick:
12572
(slime-reindent-defun): New command on C-M-q. Reindent the current
12573
Lisp defun after trying to close any unmatched parenthesis. If used
12574
within a comment it just calls fill-paragraph.
12576
2004-05-04 11:11 lgorrie
12580
(slime-goto-location-position): Regexp fix.
12582
2004-05-04 10:15 lgorrie
12588
2004-05-04 10:13 lgorrie
12592
Remove (declaim (optimize ...)). The side-effect this has on people's
12593
environment seems harmful (I saw someone having trouble on the OpenMCL
12596
2004-05-04 10:10 lgorrie
12602
2004-05-04 10:09 lgorrie
12606
Remove `slime-cleanup-definition-refs'.
12608
2004-05-04 10:09 lgorrie
12610
* swank-cmucl.lisp:
12612
(source-location-from-code-location): Fixed a bug where the
12613
source-file-cache was not really used. Now always report the location
12614
based on source file (cached or not) even if modified -- not falling
12615
back on regexps, which was probably a misfeature.
12617
2004-05-02 21:09 heller
12623
2004-05-02 21:08 heller
12627
(slime-start-and-load): New function. Suggested by Lars Magne Ingebrigtsen.
12629
2004-05-02 20:54 heller
12633
(slime-kill-without-query-p): Make it a defvar not a defun.
12635
2004-05-02 20:39 heller
12639
(slime-kill-without-query-p): New variable.
6071
12640
(slime-net-connect): Use it.
6072
12641
(slime-open-stream-to-lisp): Ditto.
6073
12642
(slime-maybe-start-lisp): Ditto.
6075
2004-05-02 Luke Gorrie <luke@bluetail.com>
6077
* slime.el (slime-goto-source-location): Added support for the
6078
:snippet "hint" in a location specifier. If Lisp sends the
6079
(initial) source text for the definition then Emacs isearches for
6080
it in both directions from the given character position. This
6081
makes M-. robust when the Emacs buffer has been edited. Requires
6082
backends to provide this snippet information.
6083
(slime-goto-location-position): Tightened up the regular
6084
expressions for :function-name style location search.
12644
2004-05-02 04:19 lgorrie
12650
2004-05-02 04:19 lgorrie
12652
* swank-cmucl.lisp:
12654
(code-location-stream-position): Position the argument stream at the
12655
definition before returning.
12657
(source-location-from-code-location): Include the :snippet hint for
12658
Emacs (see above). The snippet will only be accurate provided that the
12659
source file on disk has not been modified.
12661
(*source-file-cache*) The contents of all source files consulted for
12662
M-. are now cached if they match the version of the running code. This
12663
is so that we can accurately lookup source locations even when the
12664
file is modified, provided we manage to get the right version (by file
12665
timestamp) at least once.
12667
(source-location-from-code-location): If the right source version is
12668
not available on disk or in our cache then let Emacs fall back on a
12669
regular expression search.
12671
2004-05-02 04:16 lgorrie
12673
* swank-backend.lisp:
12675
(:location): Added a 'hints' property list to the location
12676
structure. This is for extra information that compliments the
12679
2004-05-02 04:14 lgorrie
12683
(slime-goto-source-location): Added support for the :snippet "hint" in
12684
a location specifier. If Lisp sends the (initial) source text for the
12685
definition then Emacs isearches for it in both directions from the
12686
given character position. This makes M-. robust when the Emacs buffer
12687
has been edited. Requires backends to provide this snippet
12690
(slime-goto-location-position): Tightened up the regular expressions
12691
for :function-name style location search.
6085
12693
(slime-cleanup-definition-refs): New function to do a little
6086
post-processing on definition references from Lisp. Mostly this is
6087
a hack: if POSITION is NIL then we fill it in with the function
6088
name, ready for regexp search. I was in a hurry and it was easier
6089
to do here, and it doesn't seem entirely unreasonable.
6091
* swank-backend.lisp (:location): Added a 'hints' property list
6092
to the location structure. This is for extra information that
6093
compliments the buffer/position.
6095
* swank-cmucl.lisp (code-location-stream-position): Position the
6096
argument stream at the definition before returning.
6097
(source-location-from-code-location): Include the :snippet hint
6098
for Emacs (see above). The snippet will only be accurate provided
6099
that the source file on disk has not been modified.
6100
(*source-file-cache*) The contents of all source files consulted
6101
for M-. are now cached if they match the version of the running
6102
code. This is so that we can accurately lookup source locations
6103
even when the file is modified, provided we manage to get the
6104
right version (by file timestamp) at least once.
6105
(source-location-from-code-location): If the right source version
6106
is not available on disk or in our cache then let Emacs fall back
6107
on a regular expression search.
6109
2004-05-01 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6111
* swank-lispworks.lisp (find-top-frame): New function used to hide
6112
debugger-internal frames.
12694
post-processing on definition references from Lisp. Mostly this is a
12695
hack: if POSITION is NIL then we fill it in with the function name,
12696
ready for regexp search. I was in a hurry and it was easier to do
12697
here, and it doesn't seem entirely unreasonable.
12699
2004-05-01 18:46 heller
12705
2004-05-01 18:37 heller
12707
* swank-lispworks.lisp:
12709
(find-top-frame): New function used to hide debugger internal frames.
6113
12710
(call-with-debugging-environment): Use it.
6115
2004-05-01 Luke Gorrie <luke@bluetail.com>
6117
* slime.el (sldb-abort): Print a message if the Emacs RPC
6118
returns. It shouldn't, if ABORT manages to unwind the stack, but
6119
it currently does in OpenMCL due to some bug.
6120
(slime-edit-definition-fallback-function): Name of a function to
6121
try if the builtin edit-definition finding fails. You can set
6122
this to `find-tag' to fall back on TAGS.
6124
* swank.lisp (list-all-systems-in-central-registry): Use explicit
6125
:wild in pathname for matching (needed in at least SBCL).
6127
* swank-openmcl.lisp: Removed obsolete `swank-compile-system'.
6129
* swank-sbcl.lisp: Removed obsolete `swank-compile-system'.
12712
2004-05-01 02:10 lgorrie
12718
2004-05-01 02:05 lgorrie
12722
(slime-edit-definition-fallback-function): Name of a function to try
12723
if the builtin edit-definition finding fails. You can set this to
12724
`find-tag' to fall back on TAGS.
12726
2004-05-01 01:43 lgorrie
12732
2004-05-01 01:40 lgorrie
12736
(sldb-abort): Print a message if the Emacs RPC returns. It shouldn't,
12737
if ABORT manages to unwind the stack, but it currently does in OpenMCL
12740
2004-05-01 01:20 lgorrie
12744
(list-all-systems-in-central-registry): Use explicit :wild in pathname
12745
for matching (needed in at least SBCL).
12747
2004-05-01 01:19 lgorrie
12751
Removed obsolete `swank-compile-system'.
6130
12752
Removed some stale comments about supported features.
6132
2004-04-30 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6134
* slime.el (slime-repl-update-banner): Don't print the working
6135
directory. It rarely fits in a line and was only Emacs'
6136
default-directory. M-x pwd is convenient enough.
6138
* swank.lisp (symbol-indentation): Don't infer indentation for
6139
symbols starting with 'def' or 'with-'. It was wrong most of the
6140
time and Emacs' defaults are better.
6142
* swank-lispworks.lisp (emacs-connected): Add methods to
6143
stream-soft-force-output for socket-streams and
6144
slime-output-streams. This flushes those streams automatically
6145
(i assume it gets called when Lisp is idle).
6147
2004-04-29 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6149
* slime.el (slime-repl-mode): Set slime-current-thread to
6152
* swank.lisp (thread-for-evaluation, dispatch-event): Accept
6153
:repl-thread as thread specifier and dispatch evaluation and
6154
interrupt request properly.
6155
(repl-thread-eval, repl-eval): Deleted. We do the special casing in
6156
thread-for-evaluation.
6158
2004-04-29 Lars Magne Ingebrigtsen <larsi@netfonds.no>
6160
* slime.el (slime-event-buffer-name): New variable.
12754
2004-05-01 01:16 lgorrie
12756
* swank-openmcl.lisp:
12758
Removed obsolete `swank-compile-system'.
12760
2004-04-30 09:28 heller
12764
(symbol-indentation): Oops. Consider symbols other then 'defmethod'
12765
and use prefix-match-p.
12767
2004-04-30 08:40 heller
12773
2004-04-30 08:37 heller
12777
(slime-repl-update-banner): Don't print the working directory. It
12778
rarely fits in a line and was only Emacs' default-directory. M-x pwd
12779
is convenient enough.
12781
2004-04-30 08:34 heller
12785
(symbol-indentation): Don't infer indentation for symbols starting
12786
with 'def' or 'with-' it's wrong most of the time and Emacs' defaults
12789
2004-04-30 08:32 heller
12791
* swank-lispworks.lisp:
12793
(emacs-connected): Add methods to stream-soft-force-output for
12794
socket-streams and slime-output-streams.
12796
2004-04-29 21:16 heller
12800
Patch from Lars Magne Ingebrigtsen:
12801
(slime-event-buffer-name): New variable.
6161
12802
(slime-events-buffer): Use it.
6162
12803
(slime-space-information-p): Ditto.
6163
12804
(slime-space): Use it.
6164
12805
(slime-reply-update-banner-p): Ditto.
6165
12806
(slime-repl-update-banner): Use it.
6167
2004-04-28 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6169
* swank-loader.lisp (*lisp-name*): Add versioning support for
6172
* swank-clisp.lisp (arglist): Trap exceptions and return
6173
:not-available in that case.
6175
* swank.lisp (arglist-for-insertion): Don't use ~< ..~:@>.
6176
CLISP's pretty printer can't handle it.
6178
2004-04-28 Luke Gorrie <luke@bluetail.com>
6180
* NEWS: Created a NEWS file for recording changes that we want
6181
users to read about.
6183
* slime.el (slime-log-event): Use outline-minor-mode in
6184
*slime-events* instead of hideshow-mode. It's more
6185
reliable. (Patch from Lawrence Mitchell.)
6187
2004-04-28 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6189
* slime.el (slime-net-connect): Bind inhibit-quit to nil, so that
6190
we have a chance to interrupt Emacs if open-network-stream blocks.
6191
(slime-complete-maybe-restore-window-configuration): Keep trying
6192
after slime-repl-indent-and-complete-symbol.
6193
(slime-space): Don't close the completion buffer. We don't know
6194
the window-config before the completion, so leave the buffer open.
6196
* swank.lisp (create-server): New keyword based variant to start
6197
the server in background.
6198
(setup-server): Add support to keep the socket open for
6199
single-threaded Lisps.
6201
2004-04-27 Luke Gorrie <luke@bluetail.com>
6203
* doc/slime.texi (Other configurables): Updated instructions on
6204
globally installing SLDB on *debugger-hook*.
6206
* slime.el (slime-log-event): Better bug-avoidance with
6207
hs-minor-mode. Hopefully XEmacs users can rest safely now.
12808
2004-04-29 21:07 heller
12812
(slime-repl-mode): Set slime-current-thread to :repl-thread.
12814
2004-04-29 21:05 heller
12818
(thread-for-evaluation, dispatch-event): Accept :repl-thread as thread
12819
specifier and dispatch evaluation and interrupt request properly.
12821
(repl-thread-eval, repl-eval): Deleted. We do the special casing in
12822
thread-for-evaluation.
12824
2004-04-29 00:25 heller
12830
2004-04-29 00:21 heller
12832
* swank-loader.lisp:
12834
(*lisp-name*): Add versioning support for CLISP.
12836
2004-04-29 00:19 heller
12838
* swank-clisp.lisp:
12840
(arglist): Trap exceptions and :not-available in that case.
12842
2004-04-29 00:18 heller
12846
(arglist-for-insertion): Don't use ~< ..~:@>. CLISP's pretty printer
12849
2004-04-28 19:07 lgorrie
12855
2004-04-28 18:46 lgorrie
12861
2004-04-28 18:45 lgorrie
12865
(slime-log-event): Use outline-minor-mode in *slime-events* instead of
12866
hideshow-mode. It's more reliable. (Patch from Lawrence Mitchell.)
12868
2004-04-28 00:49 heller
12874
2004-04-28 00:35 heller
12878
(slime-net-connect): Bind inhibit-quit to nil, so that we have a
12879
chance to interrupt Emacs if open-network-stream blocks.
12881
(slime-complete-maybe-restore-window-configuration): Keep trying for
12882
slime-repl-indent-and-complete-symbol.
12884
(slime-space): Don't close the completion buffer. We don't know the
12885
window-config before the completion, so leave the buffer open.
12887
2004-04-28 00:27 heller
12891
(create-server): New keyword based variant to start the server in
12894
(setup-server): Add support to keep the socket open for single-threaded
12897
2004-04-27 23:25 lgorrie
12901
(Other configurables): Updated instructions on globally installing
12902
SLDB on *debugger-hook*.
12904
2004-04-27 23:24 lgorrie
12910
2004-04-27 23:24 lgorrie
12914
(oneway-eval-string): Removed unused function.
12916
2004-04-27 23:22 lgorrie
6208
12920
(slime-prin1-to-string): Bind `print-escape-newlines' to nil.
6209
12922
(slime-set-connection-info): Commented out call to
6210
12923
`slime-check-protocol-version'. Let's see how we do without it.
6211
12925
(slime-oneway-eval): Removed unused function.
6213
* swank.lisp (oneway-eval-string): Removed unused function.
6215
2004-04-26 Luke Gorrie <luke@bluetail.com>
6217
* swank.lisp: Move definition of `with-io-redirection' above
6218
`with-connection' to avoid a CLISP error. This is really weird.
6219
(interactive-eval): Bind *package* to *buffer-package*, so that
6220
`C-x C-e' and related commands evaluate in the expected package.
6222
* slime.el (sldb-insert-frames): Handle empty backtrace (I got one
6225
* swank-allegro.lisp (arglist): Return :not-available if arglist
6226
lookup fails with an error.
6228
* slime.el: Moved snippets of Common Lisp code into swank.lisp
6229
from the thread control panel. (Remember, no CL code in slime.el!)
6231
* swank-loader.lisp (*lisp-name*): Include a short version number
6232
in the Lisp name to separate FASL files for different
6233
versions. Only implemented for CMUCL and SBCL sofar.
6235
* swank.lisp (ed-in-emacs): Avoid mutating the argument.
12927
2004-04-27 19:57 lgorrie
12933
2004-04-27 19:47 lgorrie
12937
(oneway-eval-string): Bind *package* to *buffer-package*.
12939
2004-04-27 19:40 lgorrie
12943
(slime-log-event): Better bug-avoidance with hs-minor-mode. Hopefully
12944
XEmacs users can rest safely now.
12946
(slime-prin1-to-string): Bind `print-escape-newlines' to nil.
12948
2004-04-26 23:59 lgorrie
12954
2004-04-26 23:59 lgorrie
12958
(interactive-eval): Bind *package* to *buffer-package*, so that `C-x
12959
C-e' and related commands evaluate in the expected package.
12961
2004-04-26 20:39 lgorrie
12967
2004-04-26 20:38 lgorrie
12971
Move definition of `with-io-redirection' above `with-connection' to
12972
avoid a CLISP error. This is really weird.
12974
2004-04-26 20:16 lgorrie
12978
(sldb-insert-frames): Handle empty backtrace (I got one in CLISP).
12980
2004-04-26 19:11 lgorrie
12986
2004-04-26 19:11 lgorrie
12988
* swank-allegro.lisp:
12990
(arglist): Return :not-available if arglist lookup fails with an
12993
2004-04-26 15:24 lgorrie
12999
2004-04-26 15:21 lgorrie
13003
Moved snippets of Common Lisp code into swank.lisp from the thread
13004
control panel. (Remember, no CL code in slime.el!)
13006
(slime-events-buffer): Don't use hideshow-mode in XEmacs for the
13007
*slime-events* buffer. It causes obscure problems for some
13008
users. Still used in GNU Emacs.
13010
2004-04-26 15:20 lgorrie
13012
* swank-loader.lisp:
13014
(*lisp-name*): Include a short version number in the Lisp name to
13015
separate FASL files for different versions. Only implemented for CMUCL
13018
2004-04-26 15:20 lgorrie
13022
(ed-in-emacs): Avoid mutating the argument.
6236
13024
(spawn-repl-thread): Add a new thread for evaluating REPL
6237
expressions. This same thread is used for all REPL
6238
evaluation. This fixes some issues with variables like * and **
6241
* nregex.lisp: Typo fix (thanks Barry Fishman).
6243
* slime.el (slime-events-buffer): Don't use hideshow-mode in
6244
XEmacs for the *slime-events* buffer. It causes obscure problems
6245
for some users. Still used in GNU Emacs.
6247
2004-04-25 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6249
* swank-backend.lisp (arglist): Return a list or :not-available.
6250
Don't return strings or raise exceptions.
6252
* swank.lisp (arglist-for-echo-area): Simplified and adapted for
6253
the new semantic of ARGLIST.
6254
(arglist-for-insertion): Now a separate function.
13025
expressions. This same thread is used for all REPL evaluation. This
13026
fixes some issues with variables like * and ** in at least SBCL.
13028
2004-04-26 14:30 lgorrie
13032
Typo fix (thanks Barry Fishman).
13034
2004-04-25 08:44 heller
13040
2004-04-25 08:41 heller
13044
(arglist-for-echo-area): Simplified and adapted for the new semantic of
13046
(arglist-for-insertion): New separate function.
6255
13047
(read-arglist): Deleted. No longer needed.
6257
* swank-cmucl.lisp, swank-lispworks.lisp (arglist): Return
6258
:not-available if the arglist cannot be determined.
6260
* slime.el (slime-set-connection-info): Hide the *inferior-lisp*
6261
buffer here, so that we have all the buffer rearrangement in one
13049
2004-04-25 08:37 heller
13051
* swank-cmucl.lisp, swank-lispworks.lisp:
13053
(arglist): Return :not-available if the arglist cannot be determined.
13055
2004-04-25 08:35 heller
13057
* swank-backend.lisp:
13059
(arglist): Return a list or :not-available. Don't return strings or
13062
2004-04-25 08:32 heller
13066
(slime-set-connection-info): Hide the *inferior-lisp* buffer here, so
13067
that we have all the buffer rearrangement in one place.
6263
13069
(slime-insert-arglist): Use swank:arglist-for-insertion.
6265
2004-04-24 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6267
* slime.el (slime-init-connection-state): Use an asynchronous RPC
6268
instead of slime-eval to reduce the amount of work we do in the
6269
timer function. We can remove the workaround for the timer
6272
2004-04-23 Luke Gorrie <luke@bluetail.com>
6274
* slime.el: Updated top comments.
13071
2004-04-24 00:13 heller
13077
2004-04-24 00:09 heller
13081
(slime-init-connection-state): Use an asynchronous RPC instead of
13082
slime-eval to reduce the amount of work we do in the timer function.
13083
So we can remove the workaround for the timer problem.
13085
(slime-connected-port): New function.
13087
2004-04-23 12:08 lgorrie
13093
2004-04-23 12:07 lgorrie
13097
Updated top comments.
6275
13099
Make SLIME faces inherit from their font-lock cousins properly.
6276
(slime-connect): Bind `slime-dispatching-connection' to avoid
6277
being confused by old buffer-local variables when initializing
6278
the connection. This fixes a bug where doing `M-x slime' from the
6279
REPL could give a "Not connected" error.
6281
2004-04-22 Edi Weitz <edi@agharta.de>
6283
* slime.el (slime-read-system-name): Perform completion on all
6284
systems in the central registry.
6286
* swank.lisp (list-all-systems-in-central-registry): New function.
6288
2004-04-22 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6290
* slime.el (slime-repl-update-banner): Add workaround to force the
6291
proper behavior of the the first command in the REPL buffer.
13101
(slime-connect): Bind `slime-dispatching-connection' to avoid being
13102
confused by old buffer-local variables when initializing the
13103
connection. This fixes a bug where doing `M-x slime' from the REPL
13104
could give a "Not connected" error.
13106
2004-04-22 23:43 heller
13112
2004-04-22 23:40 heller
13116
(slime-repl-update-banner): Find the event sequence for 'recenter'
13119
(slime-read-system-name): Perform completion on all known asd filenames.
13121
2004-04-22 23:37 heller
13125
(list-all-systems-in-central-registry, asdf-central-registry): New functions.
13127
2004-04-22 22:12 heller
13131
(slime-repl-update-banner): Add workaround to force the proper
13132
behavior of the the first command in the REPL buffer.
6292
13133
(slime-repl-shortcut-history): Define the variable to make XEmacs
6295
2004-04-22 Tiago Maduro-Dias <tcmd@rnl.ist.utl.pt>
6297
* slime.el (slime-space): Cleanup.
6298
(slime-complete-restore-window-configuration): Use
6299
slime-close-buffer instead of bury-buffer.
6301
2004-04-21 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6303
* slime.el: Suppress byte-compiler warnings by binding
6304
byte-compiler-warnings to nil.
6305
(slime-repl-shortcut): Use a structure instead of a list for the
6306
short cut info. Update the users accordingly.
6308
* swank-cmucl.lisp (arglist): Return a list instead of the string.
6310
2004-04-21 Edi Weitz <edi@agharta.de>
6312
* slime.el (slime-apropos): Add support for regexp-based apropos.
6313
We use nregex, so the regexp syntax is different from Emacs'
6314
regexps and bit restricted (alternation '|' and optional groups
6315
'(xy)?' are not implemented).
6316
(slime-insert-arglist): New command - stolen from ILISP. I always
6317
thought this was quite useful.
13136
2004-04-22 22:11 heller
13142
2004-04-22 00:59 heller
13146
(slime-space): Cleanup.
13147
(slime-complete-restore-window-configuration): Use slime-close-buffer
13148
instead of bury-buffer.
13150
2004-04-22 00:58 heller
13156
2004-04-21 23:52 heller
13162
2004-04-21 23:51 heller
13166
Description for slime-insert-arglist.
13168
2004-04-21 23:51 heller
13172
(arglist-for-echo-area): New argument to control if the operator name
13173
should be included.
13175
2004-04-21 23:50 heller
13179
(slime-repl-shortcut): Use a structure instead of a list for the short
13180
cut info. Update the users accordingly.
13182
(slime-insert-arglist): New command - stolen from ILISP. I always
13183
thought this was quite useful.
6318
13185
(slime-oos): Fix typo.
6320
* swank.lisp (apropos-symbols): Use regexp and support
6321
case-sensitive matching.
6322
(arglist-for-echo-area): New argument to control if the operator
6323
name should be included.
6325
* nregex.lisp: New file.
6327
* swank-loader.lisp (*sysdep-pathnames*): Load it.
6329
2004-04-21 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6331
* doc/slime.texi (Compilation): slime-remove-notes is bound to C-c
6332
M-c not M-c. Noted by Edi Weitz.
6334
2004-04-21 Edi Weitz <edi@agharta.de>
6336
* swank.lisp (list-all-package-names): Optionally include
6337
nicknames in the result.
6339
* slime.el (slime-read-package-name): Include nicknames in the
13187
2004-04-21 21:59 heller
13193
2004-04-21 21:49 heller
13197
Suppress byte-compiler warnings by binding byte-compiler-warnings to nil.
13199
2004-04-21 21:46 heller
13201
* swank-cmucl.lisp:
13203
(arglist): Return a list instead of the string.
13205
2004-04-21 20:56 heller
13207
* slime.el, swank-loader.lisp, swank.lisp:
13209
Support for regexp based apropos. From Edi Weitz.
13211
2004-04-21 20:55 heller
13217
2004-04-21 00:42 heller
13221
(Compilation): slime-remove-notes is bound to C-c M-c not M-c. Noted
13224
2004-04-21 00:38 heller
13230
2004-04-21 00:38 heller
13234
(slime-read-package-name): Include nicknames in the completions set.
6341
13236
(slime-repl-mode-map): Bind C-c : to slime-interactive-eval just
6342
like in most other SLIME buffers.
6343
(read-directory-name): Compatibilty defun.
6345
2004-04-20 Tiago Maduro-Dias <tcmd@rnl.ist.utl.pt>
6347
* slime.el (slime-close-buffer): New utility function.
13237
like in most other SLIME buffers. (Proposed by Edi Weitz)
13239
(read-directory-name): Compatibilty function.
13241
2004-04-21 00:32 heller
13245
(list-all-package-names): Optionally include nicknames in the
13246
result (From Edi Weitz).
13248
2004-04-21 00:29 heller
13250
* swank-cmucl.lisp:
13252
(definition-source-location): Make it backward compatible with 18e.
13253
(class-definitions): Treat condition-classes like built-in classes
13254
(i.e. give up) until we find a better solution.
13256
2004-04-20 21:59 heller
13262
2004-04-20 21:58 heller
13266
(slime-close-buffer): New utility function.
6348
13267
(slime-space): Use it to kill superfluous *Completions* buffers.
6350
2004-04-17 Raymond Toy <rtoy@earthlink.net>
6352
* swank-cmucl.lisp (source-location-tlf-number)
6353
(source-location-form-number): New functions to extract the
6354
encoded form-numbers from source locations.
6355
(resolve-stream-source-location, resolve-file-source-location):
6358
2004-04-17 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6360
* slime.el (slime-merge-notes): Use mapconcat instead of
6361
(concat (slime-intersperse (mapcar ....)))
13269
2004-04-17 11:51 heller
13275
2004-04-17 11:34 heller
13279
(slime-merge-notes): Use mapconcat instead of of (concat
13280
(slime-intersperse (mapcar ....)))
6362
13282
(slime-intersperse): Handle empty lists.
6364
2004-04-16 Luke Gorrie <luke@bluetail.com>
6366
* doc/Makefile: Added 'install' and 'uninstall' targets for the
6367
Info manual. It may be necessary to tweak `infodir' in the
6368
Makefile to suit the local system before installing. (Patch from
6369
from Richard M Kreuter.)
6371
* doc/slime.texi (Top): The Top node is now smaller, with details
6372
moved into Introduction. This makes the Info front page easier to
13284
2004-04-17 11:25 heller
13286
* swank-cmucl.lisp:
13288
(source-location-tlf-number, source-location-form-number): New
13290
(resolve-stream-source-location, resolve-file-source-location): Use them.
13292
2004-04-16 21:33 lgorrie
13298
2004-04-16 21:31 lgorrie
13302
Added 'install' and 'uninstall' targets for the Info manual. It may be
13303
necessary to tweak `infodir' in the Makefile to suit the local system
13304
before installing. (Patch from from Richard M Kreuter.)
13306
2004-04-16 21:30 lgorrie
13312
2004-04-16 13:54 lgorrie
13318
2004-04-16 13:54 lgorrie
13322
(Top): The Top node is now smaller, with details moved into
13323
Introduction. This makes the Info front page easier to
6373
13324
navigate. (Patch from Richard M Kreuter.)
6375
2004-04-15 Ivan Boldyrev <email@secret-by-request>
6377
* slime.el (slime-handle-repl-shortcut): Call `completing-read'
6378
with an alist as expected, using `slime-bogus-completion-alist'.
6380
2004-04-14 Luke Gorrie <luke@bluetail.com>
6382
* doc/slime.texi (Shortcuts): Described REPL shortcuts.
13326
2004-04-15 16:49 lgorrie
13332
2004-04-15 13:07 lgorrie
13336
(slime-handle-repl-shortcut): Call `completing-read' with an alist as
13337
expected, using `slime-bogus-completion-alist'.
13339
2004-04-14 21:15 lgorrie
13345
2004-04-14 21:14 lgorrie
13349
(Shortcuts): Described REPL shortcuts.
13351
2004-04-14 20:50 lgorrie
6384
13355
* slime.el (slime-oos): Generic ASDF interface.
6385
13356
(force-compile-system, compile-system, load-system,
6386
13357
force-load-system): New REPL commands.
6388
* swank-backend.lisp (operate-on-system): More generic interface
6391
* swank.lisp (operate-on-system-for-emacs): More generic
6394
* slime.el (slime-repl-mode-map): Portability fix for definition
6395
of the REPL command character.
6396
(slime-maybe-rearrange-inferior-lisp): Bugfix for running
6397
multiple inferior lisps.
6399
2004-04-13 Marco Baringer <mb@bese.it>
6401
* slime.el (slime-handle-repl-shortcut,
6402
slime-list-all-repl-shortcuts, slime-lookup-shortcut,
6403
defslime-repl-shortcut): Refactor repl shortcut code to provide a
6406
2004-04-09 Lawrence Mitchell <wence@gmx.li>
6408
* slime.el (slime-same-line-p): Use `line-end-position', rather
6409
than searching for a newline manually.
6410
(slime-repl-defparameter): Use VALUE, not VALUE-FORM.
6412
2004-04-08 Marco Baringer <mb@bese.it>
6414
* slime.el (slime-repl-package-stack): New buffer local variable.
6415
(slime-repl-directory-stack): New buffer local variable.
6416
(slime-repl-command-input-complete-p): Remove.
6417
(slime-repl-update-banner): New function.
6418
(slime-init-output-buffer): Use slime-repl-update-banner.
6419
(slime-repl-shortcut-dispatch-char): New variable.
6420
(slime-repl-return): Don't check for repl commands anymore.
6421
(slime-repl-send-repl-command): Remove.
6422
(slime-repl-mode-map): Bind slime-repl-shortcut-dispatch-char to
6423
slime-handle-repl-shortcut.
6424
(slime-set-default-directory): Use read-directory-name, call
6425
slime-repl-update-banner.
6426
(slime-repl-shortcut-table): New global variable.
6427
(slime-handle-repl-shortcut): New function.
6428
(defslime-repl-shortcut): New macro for defining repl shortcuts.
6429
(slime-repl-shortcut-help, "change-directory",
6430
slime-repl-push-directory, slime-repl-pop-directory,
6431
"change-package", slime-repl-push-package, slime-repl-pop-package,
6432
slime-repl-resend, slime-repl-sayoonara, slime-repl-defparameter,
6433
slime-repl-compile-and-load): New repl shortcuts.
6434
(slime-kill-all-buffers): Kill sldb buffers as well.
6436
* swank.lisp: Remove the repl related functions.
6437
(requires-compile-p): New function.
6439
2004-04-07 Lawrence Mitchell <wence@gmx.li>
6441
* slime.el (slime-repl-prompt-face): New face.
13359
2004-04-14 20:50 lgorrie
13361
* swank-backend.lisp, ChangeLog:
13365
2004-04-14 20:50 lgorrie
13369
(operate-on-system-for-emacs): More generic interface to ASDF.
13371
2004-04-14 18:43 lgorrie
13377
2004-04-14 18:42 lgorrie
13381
(slime-repl-mode-map): Portability fix for definition of the REPL
13384
(slime-maybe-rearrange-inferior-lisp): Bugfix for running multiple
13387
2004-04-13 12:04 mbaringer
13389
* ChangeLog, slime.el:
13391
See ChangeLog entry 2004-04-13 Marco Baringer
13393
2004-04-09 22:48 mbaringer
13395
* ChangeLog, slime.el:
13397
See ChangeLog entry 2004-04-09 Lawrence Mitchell
13399
2004-04-08 17:26 mbaringer
13401
* ChangeLog, slime.el, swank.lisp:
13403
REPL Shortcuts. See ChangeLog entry 2004-04-08 Marco Baringer
13405
2004-04-08 13:58 lgorrie
13411
2004-04-08 13:55 lgorrie
13415
Fixup arglists in docstrings with \(fn convention.
13417
2004-04-08 12:09 lgorrie
13423
2004-04-08 12:08 lgorrie
13427
Patch from Lawrence:
13429
(slime-repl-prompt-face): New face.
6442
13431
(slime-repl-insert-prompt): Use it.
6443
13433
(slime-with-chosen-connection, with-struct): Docstring
6444
13434
fix for function's arglist display.
6445
(when-let, slime-with-chosen-connection, with-struct): Docstring
6446
fix for function's arglist display.
6447
13436
(slime-read-package-name): Use `slime-bogus-completion-alist' to
6448
13437
construct completion table.
6449
13439
(slime-maybe-rearrange-inferior-lisp): Use `rename-buffer's
6450
13440
optional argument to rename uniquely.
6451
13442
(slime-check-connected): Display keybinding for `slime' via
6452
13443
`substitute-command-keys'.
6453
13445
(slime-repl-send-repl-command): Use whitespace character class in
6455
13448
(slime-autodoc-stop-timer): New function.
6456
13450
(slime-autodoc-mode): Add `interactive' spec to specify optional
6457
13451
arg. This allows prefix toggling of mode (behaves more like
6458
13452
most Emacs modes now). Stop timer if switching mode off with
6459
13453
`slime-autodoc-stop-timer'.
6460
13455
(slime-autodoc-start-timer, slime-complete-symbol)
6461
13457
(slime-complete-saved-window-configuration)
6462
13459
(slime-insert-balanced-comments): Docstring fix.
6463
13461
(slime-ed): Call `slime-from-lisp-filename' on filename for list
6464
13462
case of argument.
6465
13463
(slime-insert-transcript-delimiter, slime-thread-insert): Use
6466
13464
?\040 to indicate SPC.
6467
13466
(line-beginning-position): `forward-line' always puts us in
6469
13469
(line-end-position): Define if not fboundp (for older XEmacs).
6471
2004-04-07 Peter Seibel <peter@javamonkey.com>
6473
* swank-allegro.lisp (set-default-directory): Allegro specific
6474
version that also uses excl:chdir.
6476
* swank.lisp (swank-pprint): Add swank versions of two missing
6477
pretty-printer control variables.
6479
2004-04-07 Luke Gorrie <luke@bluetail.com>
6481
* swank.lisp (completion-set): Also complete package
6482
names. (Patch from Sean O'Rourke.)
6483
(find-matching-packages): Add a ":" to the end of package names
6486
2004-04-06 Luke Gorrie <luke@bluetail.com>
6488
* slime.el (slime-bytecode-stale-p): Automatically check if
6489
slime.elc is older than slime.el and try to help the user out if
6492
2004-04-06 Marco Baringer <mb@bese.it>
6494
* slime.el (slime-repl-command-input-complete-p): New function.
6495
(slime-repl-send-string): New optional arg specifying what string
6496
to put on slime-repl-input-history, usefull when this string
6497
differs from what we actually want to eval.
6498
(slime-repl-return): Check for repl commands and pass then to
6499
slime-repl-send-repl-command.
6500
(slime-repl-send-repl-command): New function.
6501
(slime-kill-all-buffers): New function.
6503
* swank.lisp: Define the various repl command handlers: sayoonara,
6504
cd, pwd, pack and cload.
6506
* swank-backend.lisp (quit-lisp): Define as part of the backend
6507
interface and export.
6509
* swank-sbcl.lisp, swank-openmcl.lisp, swank-cmucl.lisp,
6510
swank-clisp.lisp, swank-allegro.lisp (quit-lisp): implement.
6512
2004-04-06 Luke Gorrie <luke@bluetail.com>
6514
* swank.lisp (macro-indentation): Check that the arglist is
6515
well-formed. This works around a problem with ACL returning
6516
arglists that aren't real lambda-lists.
6518
2004-04-05 Lawrence Mitchell <wence@gmx.li>
6520
* swank.lisp (*swank-pprint-circle*, *swank-pprint-escape*)
6521
(*swank-pprint-level*, *swank-pprint-length*): Fix typo in
6524
* slime.el (slime-arglist): Don't `message' arglist directly, in
6525
case it contains %-signs.
13471
2004-04-07 18:35 pseibel
13473
* swank-allegro.lisp:
13475
Slight tweak to just checked in Allegro-specifc set-default-directory.
13477
2004-04-07 18:28 pseibel
13479
* ChangeLog, swank-allegro.lisp:
13481
Allegro specific version of set-default-directory
13483
2004-04-07 18:24 pseibel
13485
* ChangeLog, swank.lisp:
13487
Adding swank versions of two missing pretty-printer control variables.
13489
2004-04-07 12:20 lgorrie
13495
2004-04-07 12:07 lgorrie
13501
2004-04-07 12:06 lgorrie
13505
(find-matching-packages): Add a ":" to the end of package names in
13508
2004-04-07 11:53 lgorrie
13512
(completion-set): Also complete package names.
13513
(Patch from Sean O'Rourke.)
13515
2004-04-06 18:25 lgorrie
13521
2004-04-06 18:08 lgorrie
13525
(slime-bytecode-stale-p): Automatically check if slime.elc is older
13526
than slime.el and try to help the user out if so.
13528
2004-04-06 12:42 mbaringer
13530
* ChangeLog, slime.el, swank-allegro.lisp, swank-backend.lisp,
13531
swank-clisp.lisp, swank-cmucl.lisp, swank-openmcl.lisp,
13532
swank-sbcl.lisp, swank.lisp:
13534
See ChangeLog entry 2004-04-06 Marco Baringer
13536
2004-04-06 09:47 lgorrie
13542
2004-04-06 09:46 lgorrie
13546
(macro-indentation): Check that the arglist is well-formed. This works
13547
around a problem with ACL returning arglists that aren't real
13550
2004-04-05 20:03 lgorrie
13556
2004-04-05 09:44 lgorrie
13560
dispatch-event fix for :indentation-update.
13562
2004-04-05 08:27 lgorrie
13568
2004-04-05 08:27 lgorrie
13572
(*swank-pprint-circle*, *swank-pprint-escape*, *swank-pprint-level*,
13573
*swank,pprint-length*): Fix typo in docstring.
13575
2004-04-05 08:27 lgorrie
13579
(slime-arglist): Don't `message' arglist directly, in case it contains
6526
13582
(slime-repl-output-face): Fix quoting.
6527
(slime-symbol-at-point): Call `slime-symbol-name-at-point',
6528
rather than ourselves.
13584
(slime-symbol-at-point): Call `slime-symbol-name-at-point', rather
6529
13587
(slime-check-protocol-version): Docstring fix.
6531
2004-04-05 Luke Gorrie <luke@bluetail.com>
6533
* doc/slime.texi (Semantic indentation): Documented new
6534
automatically-learn-how-to-indent-macros feature.
6535
Added auto version control header in subtitle.
6537
* slime.el (slime-close-parens-at-point): New command bound to
6538
C-a C-a. Inserts close-parenthesis characters at point until the
6539
top-level form becomes well formed. Could perhaps be made fancier.
6540
(slime-update-indentation): New command to update indentation
6541
information (`common-lisp-indent-function' properties) based on
6542
macro information extracted from Lisp. This happens
6543
automatically, the command is just to force a full rescan.
6545
* swank.lisp (connection): Added slots to track indentation caching.
6546
(*connections*): List of all open connections.
6547
(default-connection): Function to get a "default"
6548
connection. This is intended to support globally using the
6549
debugger hook outside the context of a SLIME request, which is
13589
2004-04-05 08:19 lgorrie
13593
(Semantic indentation): Documented new
13594
automatically-learn-how-to-indent-macros feature. Added auto version
13595
control header in subtitle.
13597
2004-04-05 08:18 lgorrie
13601
(connection): Added slots to track indentation caching.
13603
(*connections*): List of all open connections. (default-connection):
13604
Function to get a "default" connection. This is intended to support
13605
globally using the debugger hook outside the context of a SLIME
13606
request, which is broken at present.
6551
13608
(with-connection): Don't setup a restart: that must be done
6553
13611
(sync-state-to-emacs): Call `update-connection-indentation'.
6554
(update-connection-indentation): Automatically discover how to
6555
indent macros and tell Emacs.
6557
* swank-backend.lisp (arglist): Specify that strings returned
6558
from ARGLIST should be READable.
6560
2004-04-02 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6562
* slime.el (slime-maybe-list-compiler-notes): Display the notes
6563
for C-c C-c, when there are notes without a good source-location.
6565
2004-04-01 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6567
* swank-sbcl.lisp: Remove the non-working workarounds for
6568
non-existent fcntl. Reported by Brian Mastenbrook.
13613
(update-connection-indentation): Automatically discover how to indent
13614
macros and tell Emacs.
13616
2004-04-05 08:18 lgorrie
13618
* swank-backend.lisp:
13620
(arglist): Specify that strings returned from ARGLIST should be
13623
2004-04-05 08:17 lgorrie
13627
(slime-close-parens-at-point): New command bound to C-a C-a. Inserts
13628
close-parenthesis characters at point until the top-level form becomes
13629
well formed. Could perhaps be made fancier.
13631
(slime-update-indentation): New command to update indentation
13632
information (`common-lisp-indent-function' properties) based on macro
13633
information extracted from Lisp. This happens automatically, the
13634
command is just to force a full rescan.
13636
2004-04-02 00:21 heller
13642
2004-04-02 00:20 heller
13646
(slime-autodoc): Escape %-signs in arglist before passing to format.
13648
(slime-maybe-list-compiler-notes): Display the notes for C-c C-c when
13649
there are notes without a good source-location.
13651
2004-04-01 23:35 heller
13657
2004-04-01 23:27 heller
13661
Remove the workarounds for non-existent fcntl.
6569
13662
(preferred-communication-style): Use multithreading if futexes are
6570
available, sigio if fcntl is present, and fd-handlers otherwise.
6571
(resolve-note-location): Don't try to construct a source-location
6572
if there's no context. Notes without location will be displayed
6573
in the note-listing buffer.
6575
2004-04-01 Bill Clementson <Bill_Clementson@peoplesoft.com>
6577
* swank-allegro.lisp (send): Fix misplaced parens.
6579
2004-03-31 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6581
* swank-cmucl.lisp (debug-function-arglist): Return symbols if
6583
(class-location): Support for experimental source-location
6586
2004-03-30 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6588
* slime.el (slime-repl-result-face): New face.
13663
available, sigio if fctnl is present, and fd-handlers otherwise.
13665
(resolve-note-location): Don't try to construct a source-location if
13666
there's no context. Notes without location will be displayed in the
13667
note-listing buffer.
13669
2004-04-01 00:46 heller
13675
2004-04-01 00:46 heller
13677
* swank-cmucl.lisp:
13679
(debug-function-arglist): Return symbols if possible.
13681
(class-location): Support for experimental source-location recording.
13683
2004-04-01 00:38 heller
13685
* swank-allegro.lisp:
13687
(send): Fix misplaced parens. (From Bill Clementson)
13689
2004-03-31 01:12 heller
13695
2004-03-31 01:10 heller
13699
(slime-repl-result-face): New face.
6589
13701
(slime-inspector-mode-map): Add a binding for M-.
6590
13703
(compile-defun): Add test case for escaped double quotes inside a
6593
* swank.lisp (ed-in-emacs): New allowed form for argument.
13706
(slime-ed): Deal with list form of argument. For a list (FILENAME
13707
LINE [COLUMN]), visit the correct line and column number.
13709
2004-03-31 01:08 heller
13713
(ed-in-emacs): New allowed form for argument.
6594
13715
(pprint-eval-string-in-frame): Apply arguments in proper order.
6596
* swank-cmucl.lisp (method-dspec): Include method-qualifiers.
6597
(class-definitions): Renamed from struct-definitions. Try to
6598
locate condition-classes and PCL classes (in the future).
6599
(debug-function-arglist): Insert &optional, &key, &rest in the
13717
2004-03-31 01:03 heller
13719
* swank-cmucl.lisp:
13721
(method-dspec): Include the specializers.
13723
(class-definitions): Renamed from struct-definitions. Try to locate
13724
condition-classes and PCL classes (in the future).
13726
(debug-function-arglist): Insert &optional, &key, &rest in the right
6601
13729
(form-number-stream-position): Make it a separate function.
6603
2004-03-29 Lawrence Mitchell <wence@gmx.li>
6605
* swank.lisp (ed-in-emacs): New allowed form for argument.
6607
* slime.el (slime-ed): Deal with list form of argument. For a
6608
list (FILENAME LINE [COLUMN]), visit the correct line and column
6611
2004-03-29 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6613
* swank-source-path-parser.lisp (cmucl-style-get-macro-character):
6614
New function. Workaround for bug(?) in SBCL.
13731
2004-03-29 19:49 heller
13733
* swank-source-path-parser.lisp:
13735
(cmucl-style-get-macro-character): The feature is CMU not CMUCL.
13737
2004-03-29 19:08 heller
13743
2004-03-29 18:50 heller
13745
* swank-source-path-parser.lisp:
13747
(cmucl-style-get-macro-character): New function. Workaround for bug(?)
6615
13749
(make-source-recording-readtable): Use it.
6617
2004-03-29 Luke Gorrie <luke@bluetail.com>
6619
* HACKING: Some small updates (more needed).
6621
* slime.el (slime-inspector-buffer): Enter `slime-inspector-mode'
6622
after `slime-mode'. This seems to give priority of keymap to the
6623
inspector, so that it can override SPC.
6624
(slime-easy-menu): Add slime-switch-to-output-buffer.
6625
Enable SLIME menu in the REPL buffer.
6626
(slime-symbol-name-at-point): Avoid mistaking the REPL prompt for
13751
2004-03-29 02:59 lgorrie
13757
2004-03-29 02:59 lgorrie
13761
Some small updates (more needed).
13763
2004-03-29 02:59 lgorrie
13767
(slime-inspector-buffer): Enter `slime-inspector-mode' after
13768
`slime-mode'. This seems to give priority of keymap to the inspector,
13769
so that it can override SPC.
13771
(slime-easy-menu): Add slime-switch-to-output-buffer. Enable SLIME
13772
menu in the REPL buffer.
13774
(slime-symbol-name-at-point): Avoid mistaking the REPL prompt for a
6628
13777
(slime-words-of-encouragement): A few new ones.
6629
13779
(slime-insert-xrefs): Removed the final newline from XREF
6630
13780
buffers. This helps to avoid unwanted scrolling.
6632
* doc/slime.texi: Added a section about user-interface
6633
conventions and our relationship with inf-lisp.
6635
2004-03-27 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6637
* slime.el (slime-changelog-date): Reinitialize it at load-time.
6638
This avoids the need to restart Emacs (horror!) after an update.
6640
* swank-cmucl.lisp (debug-function-arglist): Properly reconstruct
6641
the arglist from the debug-info. (Not complete yet.)
13782
2004-03-29 02:57 lgorrie
13786
Added a section about user-interface conventions and our relationship
13789
2004-03-27 22:39 heller
13795
2004-03-27 22:37 heller
13799
(slime-changelog-date): Reinitialize it at load-time. This avoids
13800
restarting Emacs (horror!) after an update.
13802
2004-03-27 22:23 heller
13808
2004-03-27 22:20 heller
13810
* swank-cmucl.lisp:
13812
(debug-function-arglist): Reconstruct the arglist from the the
13813
debug-arguments. (Not complete yet.)
6642
13814
(arglist): Use it.
6644
* swank-lispworks.lisp (spawn): Remove CL symbols from
6645
mp:*process-initial-bindings*, to avoid the irritating behavior
6646
for requests executed in different threads. E.g., when someone
6647
tries to set *package*.
6649
* swank.lisp (*log-io*): New variable. Bind it to *terminal-io*
6650
at load-time, so we can log to a non-redirected stream.
13816
2004-03-27 22:17 heller
13818
* swank-lispworks.lisp:
13820
(spawn): Remove CL symbols from mp:*process-initial-bindings*, to
13821
avoid the irritating behavior, e.g., when someone tries to set
13824
2004-03-27 22:14 heller
13828
(*log-io*): New variable. Bind it to *terminal-io* at load-time, so
13829
we can log to a non-redirected stream.
6651
13831
(disassemble-symbol): Allow generalized function names.
6652
(apropos-symbols): Handle the PACKAGE argument properly to get
6653
useful output for C-c P.
6655
* slime.el (slime-repl-indent-and-complete-symbol): New command.
6656
Bound to TAB in the REPL mode. First try to indent the current
6657
line then try to complete the symbol at point.
13833
(apropos-symbols): Handle the PACKAGE argument properly to get useful
13836
2004-03-27 22:11 heller
13840
(slime-repl-indent-and-complete-symbol): New command. Bound to TAB in
13841
the REPL mode. First try to indent the current line then try to
13842
complete the symbol at point.
6658
13844
(slime-dispatch-event): Ignore a unused thread variable to keep
6659
13845
XEmacs' byte compiler quiet.
6661
* swank-sbcl.lisp (enable-sigio-on-fd): Use sb-posix::fcntl
6662
instead of sb-posix:fcntl to avoid the ugly reader hack. SBCL
6663
doesn't have package locks and even if they add locks in the
6664
future sb-posix::fcntl will still be valid.
13847
2004-03-27 21:45 heller
13851
(enable-sigio-on-fd): Use sb-posix::fcntl instead of sb-posix:fcntl to
13852
avoid the ugly reader hack. SBCL doesn't have package locks and even
13853
if they add locks in the future sb-posix::fcntl will still be valid.
6665
13855
(getpid): Use defimplementation instead of defmethod.
6666
13857
(function-definitions): Take generalized function names ala '(setf
6667
13858
car)' as argument.
6669
2004-03-26 Luke Gorrie <luke@bluetail.com>
6671
* slime.el (slime-group-similar): Bugfix: return NIL if the input
6673
(slime-inspector-buffer): Enter `slime-inspector-mode' after
6674
`slime-mode'. This seems to give priority of keymap to the
6675
inspector, so that it can override SPC.
6677
2004-03-26 Bj�rn Nordb� <bn@telenor.net>
6679
* swank.lisp (print-arglist): Updated to handle arglists with
6680
string elements, causing arglists for macros to display properly
6683
2004-03-26 Marco Baringer <mb@bese.it>
6685
* swank-cmucl.lisp (set-default-directory): Define only once;
6686
define with defimplementation, not defun.
6688
2004-03-26 Luke Gorrie <luke@bluetail.com>
6690
* slime.el (slime-merge-notes-for-display): New function to merge
6691
together compiler notes that refer to the same location. This is
6692
an optimization for when there are a lot of compiler notes:
6693
`slime-merge-note-into-overlay' concat'd messages together one by
6694
one in O(n^2) time/space, and became noticeably slow in practice
6695
with ~100 notes or more.
6696
(slime-tree-insert): This function is now automatically
6697
byte-compiled (good speed gain).
6698
Wrap byte-compilation in `save-window-excursion' to avoid showing
6699
an unwanted warnings buffer (in XEmacs).
6701
2004-03-25 Bj�rn Nordb� <bn@telenor.net>
6703
* swank-lispworks.lisp: (create-socket, set-sigint-handler)
6704
(who-references, who-binds, who-sets): Add backward compatibility
6706
(dspec-buffer-position): Fix inappropriate use of etypecase.
6708
2004-03-24 Luke Gorrie <luke@bluetail.com>
6710
* swank-sbcl.lisp (getpid): Use sb-posix:getpid.
6712
* slime.el (slime-inspector-mode-map): Added SPC as extra binding
6713
for slime-inspector-next (like info-mode).
6715
* doc/slime.texi: Added completion style and configuration.
6717
2004-03-23 Alan Shutko <ats@acm.org>
6719
* swank-clisp.lisp (set-default-directory): New function.
6721
2004-03-23 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6723
* swank-allegro.lisp (send): Wait a bit if there are already many
6724
message in the mailbox.
6726
* swank-clisp.lisp (xref-results): Use fspec-location instead of
6727
the of fspec-source-locations. Reported by Alan Shutko.
13860
2004-03-26 17:07 lgorrie
13866
2004-03-26 17:06 lgorrie
13870
(slime-group-similar): Bugfix: return NIL if the input list is NIL.
13872
2004-03-26 15:39 lgorrie
13874
* doc/: Makefile, slime.texi:
13876
Support for Norwegian "o with slash".
13878
2004-03-26 14:25 lgorrie
13884
2004-03-26 14:24 lgorrie
13888
(print-arglist): Updated to handle arglists with string elements,
13889
causing arglists for macros to display properly in LW 4.1.
13891
2004-03-26 14:22 lgorrie
13897
2004-03-26 14:21 lgorrie
13901
Wrap byte-compilation in `save-window-excursion' to avoid showing an
13902
unwanted warnings buffer (in XEmacs).
13904
2004-03-26 10:21 mbaringer
13906
* ChangeLog, swank-cmucl.lisp:
13908
See ChangeLog entry 2004-03-26 Marco Baringer
13910
2004-03-26 07:50 heller
13914
Change to 'diff -u'.
13916
2004-03-26 01:48 lgorrie
13922
2004-03-26 00:52 lgorrie
13924
* slime.el, ChangeLog:
13928
2004-03-26 00:22 lgorrie
13934
2004-03-26 00:20 lgorrie
13938
(slime-merge-notes-for-display): New function to merge together
13939
compiler notes that refer to the same location. This is an
13940
optimization for when there are a lot of compiler notes:
13941
`slime-merge-note-into-overlay' concat'd messages together one by one
13942
in O(n^2) time/space, and became noticably slow in practice with ~100
13945
2004-03-26 00:04 heller
13949
Add a short note about patches.
13951
2004-03-25 23:47 heller
13957
2004-03-25 23:44 heller
13959
* swank-lispworks.lisp:
13961
(create-socket, set-sigint-handler, who-references, who-binds)
13962
(who-sets): Add backward compatibility for LW 4.1.
13964
(dspec-buffer-position): Fix a bug involving inappropriate use of
13967
2004-03-25 20:47 lgorrie
13971
(getpid): Use sb-posix:getpid.
13973
2004-03-24 23:27 lgorrie
13975
* slime.el, doc/slime.texi:
13977
(slime-inspector-mode-map): Added SPC as extra binding for
13978
slime-inspector-next (like info-mode).
13980
2004-03-24 13:51 lgorrie
13986
2004-03-24 13:48 lgorrie
13990
Added completion style and configuration.
13992
2004-03-23 22:38 heller
13998
2004-03-23 22:34 heller
14000
* swank-allegro.lisp:
14002
(send): Wait a bit if there are already many message in the mailbox.
14004
2004-03-23 22:32 heller
14006
* swank-clisp.lisp:
14008
(set-default-directory): New function. Patch from Alan Shutko.
14010
(xref-results): Use fspec-location instead of the of
14011
fspec-source-locations.
6728
14013
(break): Be friendly to case-inverting readtables.
6730
* swank-lispworks.lisp (emacs-connected): Add default method to
6731
environment-display-notifier. Reported by Bj�rn Nordb�.
6732
(set-default-directory, who-specializes): Implemented for
14015
2004-03-23 22:29 heller
14017
* swank-lispworks.lisp:
14019
(emacs-connected): Add default method to
14020
environment-display-notifier. We just display invoke our debugger.
14022
(set-default-directory, who-specializes): Implemented for Lispworks.
6734
14024
(gfp): New function.
6735
(describe-symbol-for-emacs, describe-definition): Distinguish
6736
between ordinary and generic functions.
6737
(call-with-debugging-environment): Unwind a few frames. Looks
6738
better and avoids the problems with the real topframe.
14026
(describe-symbol-for-emacs, describe-definition): Distinguish between
14027
ordinary and generic functions.
14029
(call-with-debugging-environment): Unwind a few frames. Looks better
14030
and avoids the problems with the real topframe.
6739
14032
(interesting-frame-p): Use Lispworks dbg:*print-xxx* variables to
6740
14033
decide which frames are interesting.
6741
14035
(frame-actual-args): New function.
6742
14036
(print-frame): Use it.
6744
* swank.lisp (open-streams, make-output-function): Capture the
6745
connection not only the socket. This way the streams can be used
6746
from unrelated threads. Reported by Alain Picard.
14038
2004-03-23 22:23 heller
14042
(open-streams, make-output-function): Capture the connection not only
14043
the socket. This was the streams can be used from unrelated threads.
6747
14044
(create-connection): Factorized. Initialize the streams after the
6748
14045
connection is created.
6749
(initialize-streams-for-connection, spawn-threads-for-connection):
6751
(with-connection): Fix quoting bug and move upwards before first
6753
(guess-package-from-string): Add kludge for SBCL !-package names.
14046
(initialize-streams-for-connection, spawn-threads-for-connection): New
14049
(with-connection): Fix quoting bug and move upwards before first use.
14051
(send-output-to-emacs): Add kludge for SBCL !-package names.
6754
14053
(apropos-list-for-emacs): Lispworks apparently returns duplicates;
6756
14056
(inspect-object): Princ the label to allow strings and symbols.
6757
14058
(send-output-to-emacs): Deleted.
6758
14059
(defslimefun-unimplemented): Deleted. Was unused.
6760
* slime.el (slime-easy-menu): Add some more commands.
14061
2004-03-23 22:06 heller
14065
(slime-easy-menu): Add some commands.
6761
14067
(slime-changelog-date): New variable. Initialized with the value
6762
returned by the function of the same name. This detects
6763
incompatible versions if Emacs has not been restarted after an
14068
returned by the function of the same name. This detects incompatible
14069
versions if Emacs has not been restarted after an upgrade.
6765
14070
(slime-check-protocol-version, slime-init-output-buffer): Use it.
6766
(slime-events-buffer, slime-log-event): Use fundamental mode
6767
instead of lisp-mode to avoid excessive font-locking for messages
6768
with lots of strings.
6770
2004-03-22 Luke Gorrie <luke@bluetail.com>
6772
* doc/slime.texi: New user manual.
6774
* swank.lisp (*communication-style*): New name for
6775
*swank-in-background*.
6776
Exported configuration variables: *communication-style*,
6777
*log-events*, *use-dedicated-output-stream*.
6779
2004-03-20 Julian Stecklina <der_julian@web.de>
6781
* swank-sbcl.lisp (+o_async+, +f_setown+, +f_setfl+): Add correct
6782
constants for FreeBSD.
6784
2004-03-19 Alan Shutko <ats@acm.org>
6786
* swank.lisp, swank-loader.lisp: Take into account
6787
`pathname-device' when deriving paths. A fix for Windows.
6789
2004-03-19 Luke Gorrie <luke@bluetail.com>
6791
* slime.el (slime-connected-hook): New hook called each time SLIME
6792
successfully connects to Lisp. This is handy for calling
14072
(slime-events-buffer, slime-log-event): Use fundamental mode instead
14073
of lisp-mode to avoid excessive font-locking for messages with lots of
14076
2004-03-22 17:35 lgorrie
14080
"Zach" -> "Zach Beane"
14082
2004-03-22 15:06 lgorrie
14088
2004-03-22 14:57 lgorrie
14092
Updated expected arglist in test suite.
14094
2004-03-22 14:57 lgorrie
14098
(*communication-style*): New name for *swank-in-background*.
14100
2004-03-22 14:56 lgorrie
14104
(*communication-style*): New name for *swank-in-background*.
14106
Exported configuration variables: *communication-style*, *log-events*,
14107
*use-dedicated-output-stream*.
14109
2004-03-22 14:55 lgorrie
14111
* doc/Makefile, doc/slime.texi, doc/texinfo-tabulate.awk,
14112
swank-backend.lisp:
14116
2004-03-20 19:56 heller
14122
2004-03-20 19:55 heller
14126
(+o_async+, +f_setown, +f_setfl+): Add correct constants for FreeBSD.
14128
2004-03-19 22:07 lgorrie
14134
2004-03-19 22:07 lgorrie
14136
* swank-loader.lisp, swank.lisp:
14138
Take into account `pathname-device' when deriving paths. A fix for
14141
2004-03-19 22:04 lgorrie
14145
(slime-connected-hook): New hook called each time SLIME successfully
14146
connects to Lisp. This is handy for calling
6793
14147
`slime-ensure-typeout-frame', if you want to use that feature.
6794
14149
(sldb-print-condition): New command to print the SLDB condition
6795
14150
description into the REPL, for reference after SLDB exits. Can be
6796
14151
called from `sldb-hook' if you want the condition to always be
6797
14152
printed. Bound to 'P' in SLDB.
6799
2004-03-18 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6801
* swank.lisp (format-values-for-echo-area): Bind *package* to
14154
2004-03-18 22:59 heller
14160
2004-03-18 22:57 heller
14164
(format-values-for-echo-area): Bind *package* to *buffer-package*.
6803
14166
(load-system-for-emacs): Renamed from swank-load-system.
6804
(carefully-find-package): Be friendly to case inverting
14168
(carefully-find-package): Be friendly to case inverting readtables.
6806
14170
(inspect-current-condition): New function.
6808
* swank-backend.lisp, swank-cmucl.lisp (set-default-directory):
6809
New backend function.
14172
2004-03-18 22:55 heller
14174
* swank-backend.lisp, swank-cmucl.lisp:
14176
(set-default-directory): New backend function.
14178
2004-03-18 22:53 heller
6811
14180
* swank-allegro.lisp, swank-clisp.lisp, swank-lispworks.lisp,
6812
swank-sbcl.lisp (swank-compile-string): Be friendly to
6813
case-inverting readtables.
6815
* slime.el (sldb-inspect-condition): Use
6816
swank:inspect-current-condition.
14183
(swank-compile-string): Be friendly to case-inverting readtables.
14185
2004-03-18 22:14 heller
14189
(sldb-inspect-condition): Use swank:inspect-current-condition.
6817
14191
(slime-inspector-label-face): Make it bold by default.
6818
(slime-check-protocol-version, slime-process-available-input):
6819
Wait 2 secs after displaying the error message.
6820
(sldb-list-catch-tags, sldb-show-frame-details): Display catch
6821
tags as symbols not as strings.
6823
2004-03-16 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6825
* slime.el (slime-dispatch-event, slime-rex): Pass a form instead
6826
of a string with :emacs-rex.
6827
(slime-connection-name): New connection variable. Use it in
6828
various places instead of slime-lisp-implementation-type-name.
6830
* swank.lisp: Better symbol completion for case-inverting
6831
readtables. (Thanks Thomas F. Burdick for suggestions.)
14193
(slime-check-protocol-version, slime-process-available-input): Wait 2
14194
secs after displaying the error message.
14196
(sldb-list-catch-tags, sldb-show-frame-details): Display catch tags as
14197
symbols not as strings.
14199
2004-03-16 22:24 heller
14205
2004-03-16 22:20 heller
14209
(slime-dispatch-event, slime-rex): Pass a form instead of a string
14212
(slime-connection-name): New connection variable. Use it in various
14213
places instead of slime-lisp-implementation-type-name.
14215
2004-03-16 22:17 heller
14219
Better symbol completion for case-inverting readtables.
6832
14220
(output-case-converter): New function.
6833
(find-matching-symbols): Case convert the symbol-name before
6835
(compound-prefix-match, prefix-match-p): Use char= instead of
14221
(find-matching-symbols): Case convert the symbol-name before comparing.
14222
(compound-prefix-match, prefix-match-p): Use char= instead of char-equal.
14224
(eval-for-emacs): Renamed from eval-string. Take a form instead of a string.
14225
(dispatch-event, read-from-socket-io): Update callers.
14227
(eval-region, interactive-eval): Use fresh-line to reset column.
6837
14229
(case-convert-input): Renamed from case-convert.
6838
(eval-for-emacs): Renamed from eval-string. Take a form instead
6840
(dispatch-event, read-from-socket-io): Update callers.
6841
(eval-region, interactive-eval): Use fresh-line to reset the column.
6843
2004-03-13 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6845
* slime.el (slime-space): Send a list of the operator names
6846
surrounding point to Lisp. Lisp can use the list to select the
6847
most suitable arglist for the echo area. Suggested by Christophe
6848
Rhodes and Ivan Boldyrev.
6849
(slime-enclosing-operator-names): New function.
6851
* swank.lisp (arglist-for-echo-area): Renamed from arglist-string.
14231
2004-03-13 16:44 heller
14237
2004-03-13 16:39 heller
14241
(slime-enclosing-operator-names): New function
14242
(slime-space): Use it to get better info if we are inside a
14243
macro. Suggested by Christophe Rhodes.
14245
2004-03-13 16:34 heller
14249
(arglist-for-echo-area): Renamed from arglist-string.
6852
14250
(format-arglist-for-echo-area, arglist-to-string): New functions.
6854
2004-03-12 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6856
* swank-backend.lisp (find-definitions): Fix docstring.
6858
* slime.el (slime-dispatch-event): Re-enable :ed command.
14252
2004-03-12 22:20 heller
14258
2004-03-12 22:16 heller
14260
* swank-backend.lisp:
14262
(find-definitions): Fix docstring.
14264
2004-03-12 22:15 heller
14268
(slime-dispatch-event): Re-enable :ed command.
6859
14269
(sldb-return-from-frame): Send swank:sldb-return-from-frame.
6861
* swank-cmucl.lisp (find-definitions): Allow names like (setf car).
6863
* swank.lisp (sldb-return-from-frame): Convert the string to a
14271
2004-03-12 22:12 heller
14273
* swank-cmucl.lisp:
14275
(find-definitions): Allow names (setf car).
14277
2004-03-12 22:11 heller
14281
(sldb-return-from-frame): Convert the string to a sexp.
6865
14282
(dispatch-event, send-to-socket-io): Allow %apply events.
6866
14284
(safe-condition-message): Bind *pretty-print* to t.
6867
14286
(set-default-directory): Use the truename.
6868
14288
(find-definitions-for-emacs): Allow names like (setf car).
6870
2004-03-12 Wolfgang Jenkner <wjenkner@inode.at>
6872
* swank.lisp (:swank): Export startup-multiprocessing,
6873
restart-frame, return-from-frame.
6874
What about kill-thread and interrupt-thread, which are accessed
6875
as internal symbols?
6877
2004-03-10 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6879
* swank-cmucl.lisp (struct-definitions, find-dd)
6880
(type-definitions, function-info-definitions)
6881
(source-transform-definitions, setf-definitions): New funtions.
6882
(find-definitions): Include struct definitions, deftypes, setf
6883
defintions, compiler-macros and compiler transforms.
6885
2004-03-10 Andras Simon <andras@renyi.hu>
6887
* swank.lisp (print-arglist): Use with-standard-io-syntax.
6889
2004-03-10 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
6891
* swank-cmucl.lisp (unprofile-all): (eval '(profile:unprofile))
6892
instead of just calling it since it is a macro in cmucl.
6894
* swank.lisp (:swank): export profile symbols (profiled-functions,
6895
profile-report, profile-reset, unprofile-all, profile-package)
6897
2004-03-10 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6899
* swank-allegro.lisp, swank-lispworks.lisp, swank-sbcl.lisp,
6900
swank-clisp.lisp, swank-cmucl.lisp (find-definitions): Some
6903
* swank.lisp (print-arglist): Bind *pretty-circle* to nil to avoid
6904
output like "(function . (cons))". Suggested by Michael Livshin.
6905
(test-print-arglist): Re-enable the tests.
6906
(find-definitions-for-emacs): Renamed from
6907
find-function-locations.
6909
* slime.el (slime-edit-definition): Renamed from
6910
slime-edit-fdefinition. Display the dspec if there are multiple
6912
(slime-symbol-name-at-point): Handle the case when there is no
14290
2004-03-12 06:36 wjenkner
14296
2004-03-12 06:35 wjenkner
14300
(:swank): Export startup-multiprocessing, restart-frame,
14301
return-from-frame. What about kill-thread and interrupt-thread, which
14302
are accessed as internal symbols?
14304
2004-03-10 23:12 heller
14310
2004-03-10 23:10 heller
14312
* swank-cmucl.lisp:
14314
(find-definitions): Include setf defintions compiler-macros and
14317
2004-03-10 19:51 heller
14323
2004-03-10 19:49 heller
14325
* swank-cmucl.lisp:
14327
(struct-definitions, find-dd, type-definitions): New functions.
14328
(find-definitions): Include struct and type definitions.
14330
2004-03-10 18:10 heller
14336
2004-03-10 18:10 heller
14342
2004-03-10 16:50 heller
14348
2004-03-10 16:49 heller
14352
(print-arglist): Use with-standard-io-syntax to avoid further surprises.
14354
2004-03-10 16:45 heller
14358
(:swank): export profile symbols (profiled-functions, profile-report,
14359
profile-reset, unprofile-all, profile-package).
14361
2004-03-10 16:43 heller
14363
* swank-cmucl.lisp:
14365
(unprofile-all): (eval '(profile:unprofile)) instead of just calling
14366
it since it is a macro in cmucl.
14368
2004-03-10 11:03 heller
14370
* swank-openmcl.lisp:
14372
Merge remove conficts
14374
2004-03-10 10:10 heller
14376
* slime.el, swank-cmucl.lisp, swank-lispworks.lisp,
14381
2004-03-10 09:30 heller
14387
2004-03-10 09:24 heller
14389
* swank-clisp.lisp, swank-cmucl.lisp, swank-allegro.lisp,
14390
swank-lispworks.lisp, swank-sbcl.lisp:
14392
(find-definitions): Some tweaking.
14394
2004-03-10 09:23 heller
14398
(print-arglist): Bind *pretty-circle* to nil to avoid output like
14399
"(function . (cons))" for (function cons).
14400
(test-print-arglist): Re-enable the tests
14402
(find-definitions-for-emacs): Renamed from find-function-locations.
14404
2004-03-10 09:21 heller
14408
(slime-edit-definition): Renamed from slime-edit-fdefinition. Display
14409
the dspec if there are multiple definitions.
14411
(slime-symbol-name-at-point): Handle the case when there is no symbol
6914
14414
(slime-expected-failures): New function
6915
14415
(slime-execute-tests): Use it.
6917
2004-03-09 Helmut Eller <e9626484@stud3.tuwien.ac.at>
6919
* swank.lisp (frame-source-location-for-emacs): Export it.
6920
Reported by Jouni K Seppanen
6921
(test-print-arglist): Disable the tests until we know what's wrong
6922
with print-arglist. Reported by Michael Livshin.
6924
* swank-source-path-parser.lisp, swank-gray.lisp (in-package): We
6925
are in-package :swank-backend. Thanks to Raymond Wiker.
14417
2004-03-09 21:43 heller
14423
2004-03-09 21:41 heller
14427
Disable print-arglist tests.
14429
2004-03-09 21:12 heller
14435
2004-03-09 21:07 heller
14437
* ChangeLog, swank-allegro.lisp, swank-cmucl.lisp,
14438
swank-lispworks.lisp:
14440
Remove stupid conflicts.
14442
2004-03-09 20:36 heller
14448
2004-03-09 20:35 heller
14450
* swank-allegro.lisp, swank-backend.lisp, swank-cmucl.lisp,
14451
swank-gray.lisp, swank-lispworks.lisp, swank-loader.lisp,
14452
swank-openmcl.lisp:
14454
Minor modifications.
14456
2004-03-09 20:33 heller
14460
Merge remaining stuff.
14462
2004-03-09 19:48 heller
14468
2004-03-09 19:47 heller
14472
(frame-source-location-for-emacs): Export it. Reported by Jouni K Seppanen
14474
2004-03-09 14:58 heller
14478
(in-package): We are in-package :swank-backend. Thanks to Raymond
14481
2004-03-09 14:55 heller
14483
* swank-source-path-parser.lisp:
14485
We are in-package :swank-backend. Thanks to Raymond Wiker.
14487
2004-03-09 13:48 heller
14493
2004-03-09 13:46 heller
14495
* slime.el, swank-allegro.lisp, swank-backend.lisp,
14496
swank-clisp.lisp, swank-cmucl.lisp, swank-lispworks.lisp,
14497
swank-loader.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
6927
14500
Merge package-split branch into main trunk.
6929
* swank-clisp.lisp (find-fspec-location): Handle "No such file"
6932
* swank-openmcl.lisp (preferred-communication-style): Implemented.
14502
2004-03-09 13:11 heller
14504
* swank-clisp.lisp:
14506
(find-fspec-location): Handle "No such file" errors.
14508
2004-03-09 12:51 heller
14514
2004-03-09 12:49 heller
14516
* swank-openmcl.lisp:
14518
(preferred-communication-style): Implemented.
6933
14520
(call-without-interrupts, getpid): Use defimplementation.
6934
14522
(arglist, swank-compile-file, swank-compile-string)
6935
14523
(swank-compile-system, backtrace): Renamed.
6936
14525
(print-frame): New function.
6937
14526
(frame-catch-tags): Don't exclude nil source location.
6938
(format-restarts-for-emacs, debugger-info-for-emacs,
6939
inspect-in-frame). deleted
14528
(format-restarts-for-emacs, debugger-info-for-emacs, inspect-in-frame). deleted
6940
14530
(frame-arguments): Don't use to-string.
6941
14532
(find-source-locations, find-function-locations
6942
14533
(method-source-location): Deleted.
6943
(canonicalize-location, find-definitions,
6944
function-source-location, list-callers): Use
6945
ccl::edit-definition-p and
14534
(canonicalize-location, find-definitions, function-source-location,
14535
list-callers): Use ccl::edit-definition-p and
6946
14536
ccl::get-source-files-with-types&classes. Makes things easier.
6947
14538
(return-from-frame): Take a sexp not a string.
6948
14540
(describe-definition): Describe more types.
6950
* swank-loader.lisp: Change load order. swank.lisp is now the last
14542
2004-03-09 10:03 heller
14548
2004-03-09 10:00 heller
14550
* swank-loader.lisp:
14552
Change load order. swank.lisp is now the last file.
14554
2004-03-09 09:57 heller
6953
14556
* swank-allegro.lisp, swank-clisp.lisp, swank-cmucl.lisp,
6954
swank-gray.lisp, swank-lispworks.lisp, swank-sbcl.lisp,
6955
swank-source-path-parser.lisp: Implement changed backend interface
6956
and remove references to frontend symbols.
6958
* swank-backend.lisp (:swank-backend): New package.
14557
swank-gray.lisp, swank-lispworks.lisp, swank-sbcl.lisp,
14558
swank-source-path-parser.lisp:
14560
Implement changed backend interface and remove references to front end symbols.
14562
2004-03-09 09:55 heller
14564
* swank-backend.lisp:
14566
(:swank-backend): New package.
6959
14568
(definterface): Export the symbol.
6960
(:location, :error, :position, :buffer): Define structure of
6961
source locations here.
6962
(preferred-communication-style, compute-backtrace, print-frame):
14570
(:location, :error, :position, :buffer): Define structure of source
14573
(preferred-communication-style, compute-backtrace, print-frame): New
6964
14575
(debugger-info-for-emacs): Deleted.
7038
14697
(sldb-abort, sldb-invoke-restart, sldb-break-with-default-debugger)
7039
14698
(sldb-step): Add rudimentary docstrings.
7041
2004-03-07 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7043
* slime.el (slime-complete-symbol*, slime-simple-complete-symbol):
7044
Use the correct block name when returning.
14700
(slime-complete-symbol*, slime-simple-complete-symbol): Use the
14701
correct block name when returning.
7045
14702
(slime-display-completion-list): Fix typo.
7047
* swank-cmucl.lisp (frame-locals): Use #:not-available instead of
7050
2004-03-05 Bill Clementson <Bill_Clementson@peoplesoft.com>
7052
* swank-lispworks.lisp (getpid, emacs-connected): Conditionalize
7055
2004-03-05 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7057
* swank.lisp (frame-locals-for-emacs): Bind *print-readably* to
7060
2004-03-05 Marco Baringer <mb@bese.it>
7062
* swank.lisp (frame-locals-for-emacs): New function.
7064
* slime.el (sldb-frame-locals): Use swank::frame-locals-for-emacs
7065
not swank::frame-locals.
7066
(sldb-insert-locals): use the :value property, not the
7067
:value-string property.
7069
* swank-allegro.lisp, swank-clisp.lisp, swank-cmucl.lisp,
7070
swank-lispworks.lisp, swank-sbcl.lisp (frame-locals): Return lisp
7071
objects, not strings. Use the :value property and not the
7072
:value-string property.
7074
2004-03-04 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7076
* slime.el (slime-display-comletion-list): New function. Set
7077
syntax table properly.
14704
2004-03-05 23:55 heller
14710
2004-03-05 23:53 heller
14712
* swank-lispworks.lisp:
14714
(getpid, emacs-connected): Conditionalize for Windows. Patch from Bill
14717
2004-03-05 23:51 heller
14721
(frame-locals-for-emacs): Bind *print-readably* to nil.
14723
2004-03-05 15:26 mbaringer
14725
* ChangeLog, slime.el, swank-allegro.lisp, swank-clisp.lisp,
14726
swank-cmucl.lisp, swank-lispworks.lisp, swank-openmcl.lisp,
14727
swank-sbcl.lisp, swank.lisp:
14729
See ChangeLog entry 2004-03-05 Marco Baringer
14731
2004-03-04 23:21 heller
14737
2004-03-04 23:19 heller
14741
(slime-display-comletion-list): New function. Set syntax table
7078
14743
(slime-complete-symbol*, slime-simple-complete-symbol): Use it.
7079
14745
(slime-update-connection-list): New function.
7080
14746
(slime-draw-connection-list): Simplified.
7081
14747
(slime-connection-list-mode-map): Bind g to update-connection-list.
7082
14749
(slime-open-inspector): Print the primitive type in brackets.
7083
14751
(slime-test-arglist): Add test for empty arglist.
7085
* swank-allegro.lisp, swank-clisp.lisp, swank-cmucl.lisp,
7086
swank-lispworks.lisp, swank-sbcl.lisp, swank-backend.lisp
14753
2004-03-04 23:15 heller
14755
* swank-backend.lisp, swank-allegro.lisp, swank-clisp.lisp,
14756
swank-cmucl.lisp, swank-lispworks.lisp, swank-sbcl.lisp:
7087
14758
(thread-alive-p): Add default implementation.
7088
14760
(describe-primitive-type): Add default implementation.
7089
14761
(inspected-parts): Implemented for Allegro and CLISP.
7091
* swank.lisp (remove-dead-threads): New function.
14763
2004-03-04 23:12 heller
14767
(remove-dead-threads): New function.
7092
14768
(lookup-thread): Use it.
7093
(print-arglist): New function. This time without a custom pretty
7094
print dispatch table.
14770
(print-arglist): New function. This time without binding pretty
7095
14772
(format-arglist): Use it.
7096
14774
(inspected-parts): Add method for hash-tables.
7098
2004-03-03 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7100
* swank.lisp: Use *emacs-connection*, *active-threads*, and
7101
*thread-counter* as thread local dynamic variables.
14776
2004-03-03 21:57 heller
14782
2004-03-03 21:55 heller
14784
* swank-allegro.lisp, swank-clisp.lisp, swank-cmucl.lisp,
14785
swank-openmcl.lisp, swank-sbcl.lisp:
14787
(call-with-compilation-hooks): Bind fewer variables. Most of them are already
14788
bound in swank.lisp.
14790
2004-03-03 21:52 heller
14794
Use *emacs-connection*, *active-threads*, and *thread-counter* as
14795
thread local dynamic variables.
7102
14796
(init-emacs-connection): Don't set *emacs-connection*.
7103
14797
(create-connection, dispatch-event): Pass the connection object to
7104
14798
newly created threads.
7105
14799
(with-connection): New macro
7106
14800
(handle-request, install-fd-handler, debug-thread): Use it.
7108
* swank-allegro.lisp, swank-clisp.lisp, swank-cmucl.lisp,
7109
swank-openmcl.lisp, swank-sbcl.lisp (call-with-compilation-hooks):
7110
Bind fewer variables. Most of them are already bound in
7113
* swank.lisp (setup-server, serve-connection): New dont-close
7114
argument to keep the socket open after the first connection.
7115
(start-server, create-swank-server): Update callers.
7116
Reported by Bill Clementson.
7118
* swank-cmucl.lisp (resolve-note-location): Don't be too clever,
7119
if there is no context available. The compiler notes buffer is
7120
probably more adequate in this situation.
14802
2004-03-03 09:53 heller
14808
2004-03-03 09:51 heller
14812
(setup-server, serve-connection): New dont-close argument to keep the
14813
socket open after the first request.
14814
(start-server, create-swank-server): Update callers.
14816
2004-03-03 08:34 heller
14822
2004-03-03 08:28 heller
14824
* swank-cmucl.lisp:
14826
((resolve-note-location t nil nil nil nil)) Don't be too clever.
7121
14828
(compile-file-for-emacs): Use the :load argument to compile-file.
7122
14830
(inspect-in-frame): Deleted.
7124
* slime.el (slime-compilation-finished-hook): Use
7125
slime-maybe-list-compiler-notes as default.
14832
2004-03-03 08:26 heller
14836
(slime-compilation-finished-hook): Use slime-maybe-list-compiler-notes
7126
14838
(slime-maybe-list-compiler-notes): New function.
7127
14840
(slime-list-compiler-notes): Insert "[no notes]" if there aren't
7128
14841
any. Pop to the buffer.
7129
14843
(slime-complete-symbol*, slime-simple-complete-symbol): Set the
7130
14844
lisp-mode-syntax-table in the completion buffer.
7131
14846
(check-parens): Compatibility function for XEmacs and Emacs 20.
7133
* swank.lisp (find-completions): Deleted.
14848
2004-03-03 08:18 heller
14852
(find-completions): Deleted.
7134
14853
(simple-completions): Use longest-common-prefix instead of
7135
14854
longest-completion.
7136
(inspect-in-frame): Moved here from swank-cmucl.lisp.
7138
* swank-lispworks.lisp (call-with-debugging-environment): Bind
14856
(inspect-in-frame): Moved here from swank-cmucl.lisp.
14858
2004-03-03 08:08 heller
14860
* swank-lispworks.lisp:
14862
(call-with-debugging-environment): Bind *sldb-top-frame*.
7140
14863
(nth-frame): Use *sldb-top-frame*.
7141
14865
(name-source-location, name-source-locations): Renamed from
7142
14866
dspec-source-location, dspec-source-locations. The result now
7143
includes methods for generic functions.
14867
includes methods for generic functions.
7144
14869
(eval-in-frame, return-from-frame, restart-frame): Implemented.
7145
14871
(compile-string-for-emacs): Set dspec::*location* to the buffer
7147
14873
(signal-undefined-functions, signal-error-data-base)
7148
14874
(make-dspec-location): Remove temp-file kludges.
7149
14875
(patch-source-locations, replace-source-file): Deleted.
7151
2004-03-01 Marco Baringer <mb@bese.it>
7153
* swank.lisp (format-arglist): deal with nil arglists.
7155
2004-03-01 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7157
* swank-lispworks.lisp (compile-string-for-emacs): Patch the
7158
recorded source locations.
14877
2004-03-01 16:46 mbaringer
14879
* ChangeLog, swank.lisp:
14881
See ChangeLog entry Marco Baringer 2004-03-01
14883
2004-03-01 10:04 heller
14889
2004-03-01 10:02 heller
14891
* swank-allegro.lisp, swank-cmucl.lisp, swank-sbcl.lisp:
14893
(kill-thread): Implemented.
14895
2004-03-01 09:59 heller
14897
* swank-lispworks.lisp:
14899
(dspec-buffer-position): Handle defgeneric.
7159
14901
(replace-source-file, patch-source-locations): New function.
7160
(dspec-buffer-position): Handle defgeneric.
14902
(compile-string-for-emacs): Patch the recorded source locations.
7161
14904
(make-dspec-location): Handle (patched) emacs-buffer locations.
7162
14905
(emacs-buffer-location-p): New function.
7163
14907
(describe-primitive-type, inspected-parts): Implemented.
7164
(kill-thread): Implemented.
7166
* swank-sbcl.lisp, swank-cmucl.lisp, swank-allegro.lisp
7167
(kill-thread): Implemented.
7169
2004-02-29 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7171
* slime.el (slime-complete-symbol): Make slime-complete-symbol
7172
customizable. I don't understand how the ILISP style completion
7173
is supposed to work and find it unintuitive.
14909
(kill-thread): Implemented.
14911
2004-02-29 10:07 heller
14917
2004-02-29 10:05 heller
14921
(slime-complete-symbol): Make slime-complete-symbol customizable. I
14922
don't understand how the ILISP style completion is supposed to work,
14923
and find it unintuitive.
7174
14924
(slime-complete-symbol-function): New variable.
7175
(slime-complete-symbol*): Renamed from slime-complete-symbol.
7176
(slime-simple-complete-symbol, slime-simple-completions): New
7178
(slime-compiler-notes-to-tree): Return a list of trees, not a single
14925
(slime-complete-symbol*): New function.
14926
(slime-simple-complete-symbol, slime-simple-completions): New function.
14928
(slime-compiler-notes-to-tree): Return a list of trees, not single
7181
* swank.lisp (format-arglist): Don't use a custom pprint table.
7182
Didn't work with CLISP and the behavior was different in SBCL and
14931
2004-02-29 09:59 heller
14935
(format-arglist): Don't use custom pprint table. Didn't work with
14936
CLISP and the behavior was different in SBCL and Lispworks.
7184
14938
(completions): Factorize.
7185
14939
(parse-completion-arguments, format-completion-set,
7186
(completion-set, find-matching-symbols, find-completions): New
14940
(completion-set, find-matching-symbols, find-completions): New functions.
7188
14941
(simple-completions): New function.
7189
14942
(prefix-match-p) New function.
7191
2004-02-28 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7193
* slime.el (slime-compilation-finished-hook): New hook variable.
14944
2004-02-28 10:13 heller
14950
2004-02-28 10:11 heller
14954
(slime-compilation-finished-hook): New hook variable.
7194
14955
(slime-compilation-finished): Call it.
7195
14956
(slime-maybe-show-xrefs-for-notes): New function.
7196
14958
(slime-make-default-connection): Use the current connection.
7197
14960
(slime-connection-at-point): New function.
7198
(slime-goto-connection, slime-connection-list-make-default): Use
14961
(slime-goto-connection, slime-connection-list-make-default): Use it.
7200
14962
(slime-draw-connection-list): Minor cleanups.
7202
14964
Define selectors for t and c for thread and connection list.
7204
* swank.lisp: (*initial-pprint-dispatch-table*)
7205
(*arglist-pprint-dispatch-table*): Workaround for bug in
7206
CLISP. Don't supply nil as argument to copy-pprint-dispatch.
14966
2004-02-28 10:06 heller
14970
(*initial-pprint-dispatch-table*, *arglist-pprint-dispatch-table*):
14971
Workaround for bug in CLISP. Don't supply nil as argument to
14972
copy-pprint-dispatch.
7207
14974
(print-cons-argument): Insert a space after the car.
7209
2004-02-27 Marco Baringer <mb@bese.it>
7211
* slime.el (slime-read-port-and-connect,
7212
slime-read-port-and-connect-to-running-swank): Refactor
7213
slime-read-port-and-connect into two functions so that
7214
slime-thread-attach can use the logic in
7215
slime-read-port-and-connect.
7216
(slime-thread-control-mode-map): Added key bindings for
7217
slime-thread-kill, slime-thread-attach, slime-thread-debug and
7219
(slime-thread-kill, slime-thread-attach, slime-thread-debug): New
7222
* swank-backend.lisp (kill-thread): Added to swank interface.
7224
* swank-openmcl.lisp (kill-thread): Implement.
7226
* swank.lisp (start-server): Add optional background argument,
7227
defaults to *swank-background*.
7228
(lookup-thread-by-id): New function.
7229
(debug-thread): New function.
7231
2004-02-26 Peter Seibel <peter@javamonkey.com>
7233
* slime.el (slime-draw-connection-list): Use text-properties to
7234
associate the connections each line of the connections list
7237
2004-02-26 Peter Seibel <peter@javamonkey.com>
7239
* slime.el (slime-list-connections): Make the buffer created by
7240
this function do a bit more: Can use it to switch to different
7241
connections and change the default.
7243
2004-02-26 Marco Baringer <mb@bese.it>
7245
* swank-openmcl.lisp (ccl::force-break-in-listener): Pass a
7246
condition object to invoke-debugger.
7247
Patch by Bryan O'Connor <bryan-slime@lunch.org>
7249
2004-02-26 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7251
* swank-backend.lisp (:swank): export connection-info.
7253
* swank-allegro.lisp (lisp-implementation-type-name): Implement
7256
* swank-sbcl.lisp (compile-file-for-emacs): Load the fasl file
7259
* swank.lisp (swank-pprint): Bind *package* to *buffer-package*.
7260
Reported by Alan Picard.
7262
* swank-lispworks.lisp (dspec-buffer-position): Renamed from
7263
dspec-buffer-buffer-position. Handle dspecs of the form (defmacro
7264
foo). Reported by Alan Picard.
14976
2004-02-27 13:32 mbaringer
14978
* ChangeLog, slime.el, swank-backend.lisp, swank-openmcl.lisp,
14981
See ChangeLog entry "2004-02-27 Macro Baringer"
14983
2004-02-26 23:31 pseibel
14985
* ChangeLog, slime.el:
14987
Changing connection list to use text-properties instead of regexp to find connection.
14989
2004-02-26 20:20 pseibel
14991
* ChangeLog, slime.el:
14993
Change slime-list-connections to be a bit more useful.
14995
2004-02-26 19:38 mbaringer
14997
* ChangeLog, swank-openmcl.lisp:
15001
2004-02-26 08:19 heller
15007
2004-02-26 08:17 heller
15009
* swank-backend.lisp:
15011
(:swank): export connection-info.
15013
2004-02-26 08:16 heller
15015
* swank-allegro.lisp:
15017
(lisp-implementation-type-name): Implement it.
15019
2004-02-26 08:15 heller
15023
(compile-file-for-emacs): Load the fasl file regardless of f-p.
15025
2004-02-26 08:13 heller
15029
(swank-pprint): Bind *package* to *buffer-package*.
15031
2004-02-26 08:12 heller
15033
* swank-lispworks.lisp:
15035
(dspec-buffer-position): Renamed from dspec-buffer-buffer-position.
15036
Handle dspecs of the form (defmacro foo).
7265
15038
(arglist-string): Handle unknown arglists properly.
7267
2004-02-25 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7269
* swank-cmucl.lisp (arglist-string): Delay the call to
7270
di::function-debug-function until it is actually needed.
7271
(compile-file-for-emacs): Load the fasl file irrespective of
15040
2004-02-25 23:12 heller
15046
2004-02-25 23:03 heller
15048
* swank-cmucl.lisp:
15050
(compile-file-for-emacs): Load the fasl file even irrespective of
7272
15051
COMILE-FILE's third return value.
7274
* swank.lisp (connection-info): New function.
15053
2004-02-25 22:01 heller
15059
2004-02-25 21:51 heller
15061
* swank-cmucl.lisp:
15063
(arglist-string): Delay the call to di::function-debug-function until
15064
it is actually needed.
15066
2004-02-25 21:49 heller
15070
(connection-info): New function.
7275
15072
(open-streams): Don't send the :check-protocol-version message. Now
7276
15073
handled with CONNECTION-INFO.
7278
* slime.el (slime-symbol-at-point): Don't skip backwards across
7279
whitespace when we are at the first character of a symbol. To
7280
handle this case: skip symbol constituents forward before skipping
7281
whitespace backwards. Reported by Jan Richter.
15075
2004-02-25 21:47 heller
15079
(slime-symbol-at-point): Don't skip backwards across whitespace when
15080
we are at the first character of a symbol. To handle this case: skip
15081
symbol constituents forward before skipping whitespace backwards.
15082
Reported by Jan Richter.
7282
15084
(slime-connection-close-hook, slime-next-connection)
7283
15085
(slime-make-default-connection): Remove extra call to format.
7284
(slime-init-connection-state): Use only a single RPC instead of 4.
7286
2004-02-25 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7288
* slime.el (slime-with-chosen-connection): Bind
7289
slime-dispatching-connection and not slime-buffer-connection.
7290
slime-buffer-connection is a buffer local variable not a dynamic
15087
(slime-init-connection-state): Use only a single RPC instead of 4 to
15088
initialize the connection.
15090
2004-02-25 09:06 heller
15096
2004-02-25 09:05 heller
15100
(sldb-fetch-more-frames): Use (goto-char (point-max)) instead of
15103
2004-02-25 08:29 heller
15109
2004-02-25 08:27 heller
15113
(slime-with-chosen-connection): Bind slime-dispatching-connection and
15114
not slime-buffer-connection. slime-buffer-connection is a buffer
15115
local variable not a dynamic variable.
7292
15117
(slime-find-connection-by-type-name)
7293
(slime-read-lisp-implementation-type-name): Were lost during the
7295
(sldb-fetch-more-frames): Use (goto-char (point-max)) instead of
7298
2004-02-25 Peter Seibel <peter@javamonkey.com>
15118
(slime-read-lisp-implementation-type-name): Where lost during the merge.
15120
2004-02-25 00:32 heller
15126
2004-02-25 00:31 heller
15128
* slime.el, swank-backend.lisp, swank-clisp.lisp, swank-cmucl.lisp,
15129
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
7300
15131
* slime.el: Various bits of support for maintaining multiple SLIME
7301
15132
connections to different Lisp implementations simultaneously.
7303
* swank-backend.lisp (lisp-implementation-type-name): Add function to
15134
* swank-{backend,cmucl,sbcl,clisp,lispworks,openmcl}.lisp
15135
(lisp-implementation-type-name): Add function to
7304
15136
return simple name of lisp implementation; used by new
7305
15137
multi-connection functionality in slime.el.
7307
2004-02-25 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7309
* swank.lisp (format-arglist): Use a special pprint-dispatch table.
7311
2004-02-22 Lawrence Mitchell <wence@gmx.li>
15139
2004-02-25 00:27 heller
15143
(format-arglist): Use an special pprint-dispatch table.
15145
2004-02-23 23:14 heller
15149
(slime-find-unbalanced-parenthesis): Delete it. Emacs 21 has already
15152
2004-02-23 22:13 heller
15156
(slime-find-unbalanced-parenthesis): New command. Bound to C-c C-).
15158
2004-02-23 08:21 heller
15164
2004-02-23 08:21 heller
15166
* swank-cmucl.lisp, swank.lisp:
7313
15168
* swank.lisp (format-arglist): Bind *PRINT-PRETTY* to NIL.
7314
15169
(eval-in-emacs): Fix typo in docstring.
7316
15171
* swank-cmucl.lisp (arglist-string): Bind *PRINT-PRETTY* to NIL.
7318
2004-02-21 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7320
Add support for SERVE-EVENT based communication.
7322
* swank-sbcl.lisp (add-sigio-handler, remove-sigio-handlers):
7324
(add-fd-handler, remove-fd-handlers): Implement interface.
7326
* swank-cmucl.lisp (fcntl): New function.
7327
(add-sigio-handler, remove-sigio-handlers): Renamed.
7328
(add-fd-handler, remove-fd-handlers): Implement interface.
7330
* swank.lisp (create-connection): Add support for fd-handlers.
7331
(install-fd-handler, deinstall-fd-handler): New functions.
7333
* swank-backend.lisp (add-sigio-handler): Renamed from
15173
2004-02-21 17:45 heller
15179
2004-02-21 17:42 heller
15183
(add-sigio-handler, remove-sigio-handlers): Renamed.
15184
(add-fd-handler, remove-fd-handlers): Implement interface.
15186
2004-02-21 17:42 heller
15188
* swank-cmucl.lisp:
15190
(fcntl): New function.
15191
(add-sigio-handler, remove-sigio-handlers): Renamed.
15192
(add-fd-handler, remove-fd-handlers): Implement interface.
15194
2004-02-21 17:37 heller
15198
(create-connection): Add support for fd-handlers.
15199
(install-fd-handler, deinstall-fd-handler): New functions.
15201
2004-02-21 17:35 heller
15203
* swank-backend.lisp:
15205
(add-sigio-handler): Renamed from add-input-handler.
7335
15206
(remove-sigio-handlers): Renamed from remove-input-handlers.
7336
15207
(add-fd-handler, remove-fd-handlers): New interface functions.
7338
* slime.el (slime-batch-test): Use sit-for instead of
7339
accept-process-output, so that we see something when swank gets
7340
compiled. May be problematic in real batch mode.
15209
2004-02-21 17:34 heller
15213
(slime-batch-test): Use sit-for instead of accept-process-output, so
15214
that we see something when swank gets compiled. May be problematic in
7341
15217
(loop-interrupt-continue-interrupt-quit): Wait a second before
7342
15218
interrupting. The signal seems to arrive before the evaluation
7343
15219
request if don't wait => the endless loop is executed inside the
7344
15220
debugger and sldb-quit will not be processed with fd-handlers.
7346
* swank.lisp (process-available-input): Move auxiliary function to
7347
toplevel. Test if the stream is open.
7348
(install-sigio-handler): Handle the first request after installing
7351
* slime.el (slime-keys): Bind C-c C-x t to slime-list-threads and
7352
C-c C-x c to slime-list-connections.
7353
(slime): Disconnect before reconnecting if the inferior-lisp
7354
buffer wasn't renamed.
7355
(slime-connect): Use the host argument and not "localhost".
7356
(slime-compilation-finished): Undo last change. Switch to the
7357
buffer to remove old annotations.
7358
(slime-choose-overlay-region): Ignore errors in
7361
2004-02-18 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7363
* slime.el (slime): Just close the connection when called without
7364
prefix-argument. Keeping the connection open doesn't make sense.
7365
We could ask if the Lisp process should be killed, though.
15222
2004-02-21 08:37 heller
15228
2004-02-21 08:35 heller
15232
(process-available-input): Move auxiliary function to toplevel. Test
15233
if the stream is open.
15234
(install-sigio-handler): Handle the first request after installing the
15237
2004-02-21 08:32 heller
15241
(slime-keys): Bind it to C-c C-x t to slime-list-threads and C-c C-x c
15242
to slime-list-connections.
15244
(slime): Disconnect before reconnecting if the inferior-lisp buffer
15247
(slime-connect): Use the host argument and the "localhost".
15249
(slime-compilation-finished): Undo last change. We need to switch to
15250
the buffer to remove old annotations.
15252
(slime-choose-overlay-region): Ignore errors in slime-forward-sexp.
15254
2004-02-18 20:46 heller
15260
2004-02-18 20:43 heller
15264
(slime): Just close the connection when called without
15265
prefix-argument. Keeping the connection open doesn't make sense. We
15266
could ask if the Lisp process should be killed, tough.
7366
15268
(slime-maybe-close-old-connections): Delete unused function.
7367
15270
(slime-start-swank-server): Use comint-send-string instead of
7368
15271
comint-proc-query, 'cause I don't like Olin "100%" Shivers' code.
7369
15273
(slime-init-output-buffer): Show some animations.
7370
15275
(slime-repl-clear-output): Fixed.
7371
15277
(slime-compilation-finished): It's not necessary to switch to the
7372
15278
original buffer, because the buffer is encoded in the
7373
15279
source-locations.
7374
15281
(sldb-show-source): Don't raise an error if the source cannot be
7375
located. Print a message instead, because errors in
7376
process-filters cause a 1 second delay.
7378
* swank-cmucl.lisp (read-into-simple-string): Workaround for
7379
read-sequence bug in 18e.
7381
2004-02-18 Peter Seibel <peter@javamonkey.com>
7383
* swank-loader.lisp: Place the fasl files of different
7384
implementations in different directories.
7386
2004-02-18 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7388
* swank-clisp.lisp: Update comments about metering package.
7390
* metering.lisp: Imported from CLOCC. Suggested by Peter Seibel.
7392
2004-02-17 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7394
* swank.lisp, slime.el (make-compiler-note): Don't send the
7395
short-message across the wire if the slot is nil.
7397
* swank-cmucl.lisp (clear-xref-info): Compare the truenames with
7398
equalp instead of the unix-truenames. The old version was very
7399
inefficient (clearing the tables with about 1000 entries required
15282
located. Print a message instead, because errors in process-filters
15283
cause a 1 second delay.
15285
2004-02-18 20:31 heller
15287
* swank-cmucl.lisp:
15289
(read-into-simple-string): Workaround for bug in read-sequence.
15291
2004-02-18 08:35 heller
15297
2004-02-18 08:32 heller
15299
* swank-clisp.lisp:
15301
Update comments about metering package.
15303
2004-02-18 08:31 heller
15305
* swank-loader.lisp:
15307
Place the fasl files of different implementations in different
15308
directories. Patch by Peter Seibel.
15310
2004-02-18 08:25 heller
15314
Imported from CLOCC.
15316
2004-02-17 22:57 heller
15322
2004-02-17 22:54 heller
15324
* slime.el, swank.lisp:
15326
(make-compiler-note): Don't send the short-message across the wire if
15329
2004-02-17 22:51 heller
15331
* swank-cmucl.lisp:
15333
(clear-xref-info): Compare the truenames with equalp instead of the
15334
unix-truenames. The old version was very inefficient (clearing the
15335
tables with about 1000 entries required serveral seconds).
7401
15337
(xref-context-derived-from-p, pathname=): Delete unused functions.
7403
* swank-clisp.lisp (remove-input-handlers):
7404
socket:socket-stream-handle is not available on Windows.
7405
Reported by Alan Shutko.
7407
* slime.el (slime-length>): New function.
7408
(slime-compiler-notes-to-tree): Don't collapse if there is only
7411
2004-02-16 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7413
* swank.lisp (make-compiler-note): Include short-message.
7415
* swank-sbcl.lisp (signal-compiler-condition): Initialize
15339
2004-02-17 22:48 heller
15341
* swank-clisp.lisp:
15343
(remove-input-handlers): socket:socket-stream-handle is not available
15344
on Windows. Reported by Alan Shutko.
15346
2004-02-17 22:47 heller
15350
(slime-length>): New function.
15351
(slime-compiler-notes-to-tree): Don't collapse if there is only one
15354
2004-02-16 23:07 heller
15360
2004-02-16 22:46 heller
15364
(make-compiler-note): Include short-message.
15366
2004-02-16 22:45 heller
15370
(signal-compiler-condition): Initialize short-message slot.
7417
15371
(long-compiler-message-for-emacs): New function.
7419
* swank-cmucl.lisp (handle-notification-condition): Don't use the
7420
context of the previous message.
15373
2004-02-16 22:44 heller
15375
* swank-cmucl.lisp:
15377
(handle-notification-condition): Don't use the context of the previous
7421
15379
(signal-compiler-condition): Set short message slot.
7422
15380
(long-compiler-message-for-emacs): New function.
7423
15382
(sigio-handler): Ignore arguments.
7425
* swank-clisp.lisp (set-sigio-handler, add-input-handler):
7426
Conditionalize for linux.
7428
* swank-backend.lisp (compile-system-for-emacs): Add default
15384
2004-02-16 22:40 heller
15386
* swank-clisp.lisp:
15388
(set-sigio-handler, add-input-handler): Conditionalize for linux.
15390
2004-02-16 22:39 heller
15392
* swank-backend.lisp:
15394
(compile-system-for-emacs): Add default implementation.
7430
15396
(compiler-condition): New slot short-message.
7432
* slime.el (slime-compilation-finished): Display compiler notes
7433
grouped by severity in a separate buffer.
15398
2004-02-16 22:38 heller
15402
(slime-compilation-finished): Display compiler notes grouped by
15403
severity in a separate buffer.
7434
15404
(slime-compilation-finished-continuation, slime-compile-file)
7435
15405
(slime-load-system, slime-compile-string): Update callers.
7436
15406
(slime-list-compiler-notes, slime-alistify, slime-tree-for-note)
7437
15407
(slime-tree-for-severity, slime-compiler-notes-to-tree)
7438
(slime-compiler-notes-mode, slime-compiler-notes-quit): New
15408
(slime-compiler-notes-mode, slime-compiler-notes-quit): New functions.
7440
15409
(with-struct, slime-tree): New code for pseudo tree widget.
7441
15411
(slime-init-connection-state): Set slime-state-name to "".
7443
2004-02-08 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7445
* swank-cmucl.lisp (create-socket): Fix last fix. Use the proper
15413
2004-02-08 21:13 heller
15419
2004-02-08 21:11 heller
15421
* swank-cmucl.lisp:
15423
(create-socket): Fix last change. Use the proper port argument down.
15425
2004-02-08 20:39 heller
15431
2004-02-08 20:19 heller
7448
15433
* swank-allegro.lisp, swank-backend.lisp, swank-clisp.lisp,
7449
swank-cmucl.lisp, swank-lispworks.lisp, swank-openmcl.lisp,
7450
swank-sbcl.lisp (create-socket): Take interface as argument.
7452
* slime.el (sldb-show-frame-details): Fix typos.
15434
swank-cmucl.lisp, swank-lispworks.lisp, swank-openmcl.lisp,
15437
(create-socket): Take interface as argument.
15439
2004-02-08 20:17 heller
15443
(sldb-show-frame-details): Fix typos.
7453
15445
(slime-print-apropos): Don't bind action.
7454
15447
(slime-reset): Kill sldb-buffers.
7455
15449
(slime-test-find-definition, slime-test-complete-symbol)
7456
15450
(slime-test-arglist): Add more slime-check-top-level calls.
7458
* swank.lisp (setup-server): Pass loopback-interface to
7459
create-socket. Reported by Dirk Gerrits.
15452
2004-02-08 20:12 heller
15456
(setup-server): Pass loopback-interface to create-socket.
7460
15457
(*loopback-interface*): New parameter.
7461
(sldb-loop): Send :debug event inside unwind-protect, so we never
7462
lose the corresponding :debug-return event.
7464
2004-02-08 Marco Baringer <mb@bese.it>
7466
* swank-openmcl.lisp (find-source-locations): Eliminate unused
7469
* swank.lisp (swank-pprint): Bind pretty print vars to
7470
*swank-pprint-X* counter parts.
7471
(*swank-pprint-circle*, *swank-pprint-escape*,
7472
*swank-pprint-level*, *swank-pprint-length*): Swank counterparts
7473
to *print-X* variables used when swank needs to pretty print a
7475
(apply-macro-expander): Use swank-pprint.
7477
2004-02-07 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7479
* swank-cmucl.lisp (send, receive, interrupt-thread): Implement
7480
more threading functions.
7482
* swank-sbcl.lisp (inspected-parts): Implemented.
7484
* slime.el (slime-rex): Mention thread argument in docstring.
7485
(sldb-break-with-default-debugger): Use slime-rex and don't switch
7486
to the output buffer (happens automatically).
15459
(sldb-loop): Move send :debug event inside unwind-protect, to avoid
15460
losing :debug-return events.
15462
2004-02-08 16:37 mbaringer
15464
* swank-openmcl.lisp, swank.lisp:
15466
Previous commit left out the files and only changed the ChangeLog, my bad.
15468
2004-02-08 16:35 mbaringer
15474
2004-02-07 23:33 heller
15480
2004-02-07 23:31 heller
15482
* swank-cmucl.lisp:
15484
Implement more threading functions.
15486
2004-02-07 23:29 heller
15490
(inspected-parts): Implemented.
15492
2004-02-07 22:10 heller
15498
2004-02-07 21:59 heller
15502
(slime-maybe-start-multiprocessing): Call
15503
swank:startup-multiprocessing not
15504
swank:startup-multiprocessing-for-emacs. Reported by Paolo Amoroso.
15506
2004-02-07 20:34 heller
15512
2004-02-07 20:30 heller
15514
* swank-allegro.lisp, swank-cmucl.lisp, swank-lispworks.lisp,
15515
swank-openmcl.lisp, swank-sbcl.lisp:
15517
Update for modified thread interface.
15519
2004-02-07 20:28 heller
15521
* swank-backend.lisp:
15523
(thread-name): Take a thread object as argument.
15524
(thread-status, all-threads, thread-alive-p): New function.
15526
(thread-id): Deleted.
15528
2004-02-07 20:27 heller
15532
(dispatch-event): :debug, :debug-condition, :debug-activate events
15533
where all encoded as :debug events, which means the debugger never
15534
worked! Fix it. I guess no one uses SLIME with a multithreaded Lisp
15536
(read-user-input-from-emacs): Flush the output for reading.
15538
(sldb-loop): Add a sldb-enter-default-debugger tag, so we can enter
15539
the default debugger by throwing to this it.
15540
(sldb-break-with-default-debugger): Throw to
15541
sldb-enter-default-debugger.
15543
(*thread-list*): New variable.
15544
(list-threads): New function.
15546
2004-02-07 20:20 heller
15550
(slime-rex): Mention thread argument in docstring.
15552
(sldb-break-with-default-debugger): Use slime-rex and don't switch to
15553
the output buffer (happens automatically).
7487
15555
(slime-list-threads): Renamed from slime-thread-control-panel.
7488
15556
(slime-thread-insert): Use slightly different layout.
7489
15558
(slime-give-goahead, slime-waiting-threads)
7490
15559
(slime-popup-thread-control-panel, slime-register-waiting-thread)
7491
15560
(slime-thread-goahead): Deleted.
7492
(slime-maybe-start-multiprocessing): Call
7493
swank:startup-multiprocessing. Reported by Paolo Amoroso.
7495
* swank.lisp (dispatch-event): :debug, :debug-condition,
7496
:debug-activate events were all encoded as :debug events, which
7497
means the debugger never worked! Fix it. I guess no one uses
7498
SLIME with a multithreaded Lisp.
7499
(read-user-input-from-emacs): Flush the output before reading.
7500
(sldb-loop): Add a sldb-enter-default-debugger tag, so we can
7501
enter the default debugger by throwing to it.
7502
(sldb-break-with-default-debugger): Throw to
7503
sldb-enter-default-debugger.
7504
(*thread-list*): New variable.
7505
(list-threads): New function.
7507
* swank-backend.lisp (thread-name): Take a thread object as
7509
(thread-status, all-threads, thread-alive-p): New function.
7510
(thread-id): Deleted.
7512
* swank-allegro.lisp, swank-cmucl.lisp, swank-lispworks.lisp,
7513
swank-openmcl.lisp, swank-sbcl.lisp: Update for modified thread
7516
* swank-sbcl.lisp (enable-sigio-on-fd): New function. Use
7517
fallback if sb-posix:fcntl isn't fbound.
7519
* swank-cmucl.lisp (gf-definition-location): Return an error when
7520
pathname for the GF is nil (this happens if the GF is not compiled
7523
* swank.lisp (undefine-function): New function.
7524
(print-with-frame-label, print-part-to-string): Bind
7525
*print-circle* to t, to avoid unbound recursion when printing
7526
cyclic data structures.
7528
* slime.el (slime-undefine-function): New command. Bound to C-c
7531
2004-02-06 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7533
* slime.el (sldb-setup): Offer to enter a recursive edit if there
7534
are pending continuations.
15562
2004-02-07 14:20 heller
15568
2004-02-07 14:19 heller
15572
(enable-sigio-on-fd): New function. Use fallback if sb-posix:fcntl
15575
2004-02-07 12:41 heller
15581
2004-02-07 12:40 heller
15583
* swank-cmucl.lisp:
15585
(gf-definition-location): Return an error when pathname for the GF is
15586
nil (this happens if the GF is not-compiled from a file).
15588
2004-02-07 12:38 heller
15592
(undefine-function): New function.
15594
(print-with-frame-label, print-part-to-string): Bind *print-circle* to
15595
t, to avoid unbound recursion when printing cyclic data structures.
15597
2004-02-07 12:35 heller
15601
(slime-undefine-function): New command. Bound to C-c C-u.
15603
2004-02-06 00:21 heller
15609
2004-02-06 00:20 heller
15613
(sldb-setup): Offer to enter a recursive edit if there are pending
7535
15616
(slime-eval): Unwind the stack, thereby exititing recursive edits,
7536
15617
before signaling the error.
7538
2004-02-05 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7540
* swank-openmcl.lisp (compile-system-for-emacs): Remove compile
7541
time dependency on ASDF.
7543
2004-02-05 Wolfgang Jenkner <wjenkner@inode.at>
7545
* swank-clisp.lisp, swank-loader.lisp: Add profiling support via
7546
Kantrowitz's metering package. Reporting needs to be
7547
refined (profile-package currently ignores callers-p and methods).
7549
2004-02-04 Bryan O'Connor <bryan-slime@lunch.org>
7551
* swank-openmcl.lisp (mailbox): Use a semaphore instead of
7552
process-wait. Works better with native threads.
7554
2004-02-04 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7556
* swank-backend.lisp (debugger-info-for-emacs): Export it.
7558
* swank-sbcl.lisp (add-input-handler): Use fcntl from the sb-posix
7561
* swank.lisp (sldb-loop, dispatch-event, send-to-socket-io): Send
7562
a :debug-activate event instead of a :debug event (to avoid
7563
sending a potentially long backtrace each time).
15619
2004-02-05 08:03 heller
15625
2004-02-05 08:01 heller
15627
* swank-openmcl.lisp:
15629
(compile-system-for-emacs): Remove compile time dependency on ASDF.
15631
2004-02-05 07:03 wjenkner
15637
2004-02-05 06:57 wjenkner
15639
* swank-clisp.lisp, swank-loader.lisp:
15641
Add profiling support via Kantrowitz's metering package. Reporting
15642
needs to be refined (profile-package currently ignores callers-p and
15645
2004-02-04 23:22 heller
15651
2004-02-04 23:20 heller
15655
(add-input-handler): Use fcntl from the sb-posix package.
15657
2004-02-04 23:18 heller
15659
* swank-backend.lisp:
15661
(debugger-info-for-emacs): Export it.
15663
2004-02-04 23:16 heller
15667
(sldb-loop, dispatch-event, send-to-socket-io): Send a :debug-activate
15668
event instead of a :debug event (to avoid sending a backtrace each time).
7564
15670
(handle-sldb-condition): Include the thread-id in the message.
7566
* slime.el (slime-path): Use load-file-name as fallback.
7567
Suggested by Lawrence Mitchell.
15672
2004-02-04 23:14 heller
15676
(slime-path): Use load-file-name as fallback. Suggested by Lawrence
7568
15679
(slime-dispatch-event): Add support for :debug-activate event.
7569
15680
(sldb-activate): New function.
7570
(sldb-mode): make-local-hook doesn't seem to work in Emacs 20.
7571
Use a buffer local variable instead.
15682
(sldb-mode): make-local-hook doesn't seem to work in Emacs 20. Use a
15683
buffer local variable instead.
7572
15685
(slime-list-connections): Don't print Lisp's state.
7573
15686
(slime-short-state-name): Deleted.
7575
2004-02-02 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7577
* slime.el (slime-debugger): The customization group is called
7578
'slime-debugger', fix referrers. Reported by Jouni K Seppanen.
7580
* swank.lisp (simple-break): Bind *debugger-hook* before invoking
7581
the debugger. Reported by Michael Livshin.
7583
2004-01-31 Robert E. Brown <bbrown@speakeasy.net>
7585
* swank-sbcl.lisp, swank.lisp: Add more type declarations and
7586
detect missing initargs for the connection struct.
7588
2004-01-31 Jouni K Seppanen <jks@iki.fi>
7590
* slime.el (slime-path): Placed inside an eval-and-compile. Works
7591
around some problems when byte-compiling slime-changelog-date.
7593
2004-01-31 Marco Baringer <mb@bese.it>
7595
* swank-openmcl.lisp: remove defslimefun-unimplemented forms.
7596
(call-with-compilation-hooks, compile-system-for-emacs): Implement
7598
(compile-file-for-emacs, compile-string-for-emacs): Use
7599
with-compilation-hooks.
7600
(list-callers): Define with defimplementation and not defslimefun.
7602
* swank-backend.lisp (compile-system-for-emacs): Declare method
7603
as part of the interface.
7605
* slime.el (slime-find-asd): Handle files whose directory does
7606
not contain an asdf system definition.
7608
2004-01-31 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7610
Merge stateless-emacs branch into main trunk. We use now signal
7611
driven IO for CMUCL and one thread per request for multithreaded
7614
2004-01-31 Robert E. Brown <bbrown@speakeasy.net>
7616
* swank-backend.lisp, swank-sbcl.lisp,
7617
swank-source-path-parser.lisp, swank.lisp: Add type declarations
7620
2004-01-29 Michael Weber <michaelw+slime@foldr.org>
15688
2004-02-04 23:08 heller
15690
* swank-openmcl.lisp:
15692
(mailbox): Use a semaphore instead of process-wait. Works better with
15693
native threads. Patch by Bryan O'Conner.
15695
2004-02-02 08:31 heller
15701
2004-02-02 08:31 heller
15705
(slime-debugger): The customization group is called 'slime-debugger',
15706
fix referrers. Reported by Jouni K Seppanen.
15708
2004-02-02 08:25 heller
15712
(simple-break): Bind *debugger-hook* before invoking the debugger.
15713
Fixes bug reported by Michael Livshin.
15715
2004-01-31 21:23 heller
15721
2004-01-31 21:17 heller
15723
* swank-sbcl.lisp, swank.lisp:
15725
Add more type declarations and detect missing initargs for the connection struct. Patch by Robert E. Brown.
15727
2004-01-31 20:32 heller
15733
2004-01-31 20:25 heller
15737
(slime-path): Placed inside a eval-and-compile. Works around some
15738
problems when byte-compiling slime-changelog-date. Patch by Jouni K
15741
(slime-process-available-input): Close the connection on a reader
15742
error. Don't use some from the cl package to avoid annoying compiler
15743
message at load time.
15745
(slime-sync-state-stack): Deleted.
15747
2004-01-31 16:07 mbaringer
15749
* ChangeLog, slime.el, swank-backend.lisp, swank-openmcl.lisp:
15753
2004-01-31 12:57 heller
15759
2004-01-31 12:50 heller
15761
* slime.el, swank-allegro.lisp, swank-backend.lisp,
15762
swank-clisp.lisp, swank-cmucl.lisp, swank-lispworks.lisp,
15763
swank-openmcl.lisp, swank-sbcl.lisp, swank.lisp, test.sh:
15765
Merge stateless-emacs branch into main trunk.
15767
2004-01-31 12:40 heller
15769
* swank-lispworks.lisp:
15773
2004-01-31 12:26 heller
15775
* slime.el, swank-allegro.lisp, swank-backend.lisp,
15776
swank-clisp.lisp, swank-cmucl.lisp, swank-openmcl.lisp,
15777
swank-sbcl.lisp, swank.lisp:
15779
Use signal driven IO for CMUCL and SBCL. Use one thread per request
15780
for multithreaded lisps.
15782
2004-01-31 10:04 heller
15788
2004-01-31 10:02 heller
15790
* swank.lisp, swank-backend.lisp, swank-sbcl.lisp,
15791
swank-source-path-parser.lisp:
15793
Patch by Robert E. Brown. Add type declarations to keep SBCL quiet.
15795
2004-01-29 09:42 heller
15801
2004-01-29 09:37 heller
7622
15803
* slime.el, swank-backend.lisp, swank-cmucl.lisp, swank-sbcl.lisp,
7623
swank.lisp: Profiler support.
7625
2004-01-23 Alan Ruttenberg <alanr-l@mumble.net>
7627
* swank-openmcl.lisp: Bind ccl::*signal-printing-errors* to nil
7628
inside debugger so that error while printing error take us down.
7630
2004-01-23 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7632
* swank-sbcl.lisp (eval-in-frame, return-from-frame): Implemented.
15806
Profiler support. Patch by Michael Weber.
15808
2004-01-25 21:51 lgorrie
15810
* slime.el, swank.lisp:
15812
Major restructuring.
15814
Deleted the Emacs state machine. Emacs is now essentially stateless
15815
and just does what Lisp tells it to.
15817
2004-01-25 21:51 lgorrie
15819
* swank-backend.lisp:
15821
(definterface, defimplementation): Use PROGN instead of PROG1 to
15822
preserve top-level-ness of expanded DEFGENERIC/DEFMETHOD forms. Lisp
15823
tip from Tim Moore.
15825
2004-01-24 19:24 aruttenberg
15831
2004-01-24 19:18 aruttenberg
15833
* swank-openmcl.lisp:
15835
Bind ccl::*signal-printing-errors* to nil inside debugger so that
15836
error while printing error take us down.
15838
2004-01-23 22:04 heller
15844
2004-01-23 22:03 heller
15848
(eval-in-frame, return-from-frame): Implemented.
7633
15849
(sb-debug-catch-tag-p): New auxiliary predicate.
7634
15851
(source-path<): Delete unused function.
7636
2004-01-23 Michael Weber <michaelw@foldr.org>
7638
* slime.el (slime-keys): Bind C-c M-p to slime-repl-set-package.
15853
2004-01-23 15:18 heller
15859
2004-01-23 15:17 heller
15863
(slime-keys): Bind C-c M-p to slime-repl-set-package.
7639
15864
(slime-easy-menu): Add entry for slime-repl-set-package.
7641
2004-01-23 Michael Weber <michaelw@foldr.org>
7643
* slime.el (slime-repl-set-package): New command to set the
7644
package in the REPL buffer.
7646
* swank.lisp (set-package): Return the shortest nickname.
7648
2004-01-23 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7650
* slime.el (sldb-disassemble): Was lost somewhere.
7652
2004-01-22 Wolfgang Jenkner <wjenkner@inode.at>
7654
* swank-clisp.lisp: Replace defmethod by defimplementation where
15866
2004-01-23 01:20 heller
15872
2004-01-23 01:20 heller
15876
(set-package): Return the shortest nickname.
15878
2004-01-23 01:20 heller
15882
(slime-repl-set-package): New command to set the package in the REPL
15885
(sldb-disassemble): Was lost somewhere.
15887
Some documentation for the REPL.
15889
2004-01-22 06:24 wjenkner
15895
2004-01-22 06:22 wjenkner
15897
* swank-clisp.lisp:
15899
Replace defmethod by defimplementation where appropriate.
7656
15900
(return-from-frame, restart-frame): Implement them.
7658
2004-01-22 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7660
* test.sh: Copy the ChangeLog file too.
7662
* swank-cmucl.lisp: Replace some defmethods with
7665
* swank-allegro.lisp (return-from-frame, restart-name): Implement
7668
* swank-openmcl.lisp (restart-frame, return-from-frame): Remove
7671
* swank-backend.lisp (return-from-frame, restart-frame):
7672
Are now interface functions.
7674
* swank.asd: Remove dependency on :sb-bsd-sockets. Is already
7677
* swank-loader.lisp: Don't reference the swank package at
7680
* swank.lisp (completions): Never bind *package* to nil. That's a
7682
(swank-debugger-hook): Flush the output streams and be careful
7683
when accessing *buffer-package*.
7684
(create-swank-server): Return the port of the serve socket.
7686
* swank-lispworks.lisp (interesting-frame-p): Don't print catch
15902
2004-01-22 01:42 heller
15908
2004-01-22 01:40 heller
15912
Copy the ChangeLog file too.
15914
2004-01-22 01:38 heller
15916
* swank-cmucl.lisp:
15918
Replace some defmethods with defimplementation.
15920
2004-01-22 01:37 heller
15922
* swank-allegro.lisp:
15924
(return-from-frame, restart-name): Implement interface (partly).
15926
2004-01-22 01:36 heller
15928
* swank-openmcl.lisp:
15930
(restart-frame, return-from-frame): Remove sldb-prefix.
15932
2004-01-22 01:35 heller
15934
* swank-backend.lisp:
15936
(return-from-frame, restart-frame): Are now interface functions.
15938
2004-01-22 01:10 heller
15942
Remove dependency on :sb-bsd-sockets. Is already done in swank-sbcl.
15944
2004-01-22 01:09 heller
15946
* swank-loader.lisp:
15948
Don't reference the swank package at read-time.
15950
2004-01-22 01:05 heller
15954
(completions): Never bind *package* to nil. That's a type error in
15957
2004-01-22 00:26 heller
15961
(swank-debugger-hook): Flush the output streams and be careful when
15962
accessing *buffer-package*.
15964
2004-01-22 00:03 heller
15966
* swank-lispworks.lisp:
15968
(interesting-frame-p): Don't print catch frames.
15970
2004-01-21 23:35 heller
15972
* swank-lispworks.lisp:
7688
15974
(make-sigint-handler): New function.
7689
15975
(emacs-connected): Use it.
7691
* slime.el (slime-lisp-implementation-type): New per connection
15977
2004-01-21 23:33 heller
15981
(create-swank-server): Return the port of the serve socket.
15983
2004-01-21 23:00 heller
15987
(slime-lisp-implementation-type): New per connection variable.
7693
15989
(slime-handle-oob): Handle debug-condition event. Can be signaled
7694
15990
CMUCL when cannot produce a backtrace.
7695
(slime-debugging-state): Don't pop up the debugger buffer an
7696
activate events. Annoying.
7697
(sldb-break-with-default-debugger): Switch to the output buffer
7698
before returning to the tty-debugger.
15992
(slime-debugging-state): Don't pop up the debugger buffer an activate
15995
(sldb-break-with-default-debugger): Switch to the output buffer before
15996
returning to the tty-debugger.
7699
15998
(sldb-return-from-frame, sldb-restart-frame): Use slime-rex.
7700
16000
(slime-list-connections, slime-short-state-name): New functions.
7702
2004-01-20 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7704
* slime.el (slime-complete-symbol): Insert the completed-prefix
7705
before deleting the original text to avoid troubles with left
7707
(slime-symbol-start-pos): Skip backward across symbol
7709
(slime-evaluating-state): [:read-sring] Save the window
7711
(slime-read-string-state): Don't handle activate events
7712
(troublesome if, e.g, complete-symbol is used from another
7713
buffer). Restore the window configuration.
16002
2004-01-21 00:53 heller
16007
(slime-complete-symbol): Insert the completed-prefix before deleting
16008
the original text to avoid troubles with left inserting markers.
16010
(slime-symbol-start-pos): Skip backward across symbol constituents.
16012
(slime-evaluating-state): [:read-sring] Save the window configuration.
16013
(slime-read-string-state): Don't handle activate events (troublesome
16014
if, e.g, complete-symbol is used from another buffer). Restore the
16015
window configuration.
7714
16016
(slime-repl-read-string): Goto the end of buffer.
7715
(slime-debugging-state): [:activate] Display the debugger buffer
16018
(slime-debugging-state): [:activate] Display the debugger buffer if
7717
16021
(slime-to-lisp-filename, slime-from-lisp-filename)
7718
16022
(slime-translate-to-lisp-filename-function)
7719
16023
(slime-translate-from-lisp-filename-function, slime-compile-file)
7720
(slime-goto-location-buffer, slime-ed, slime-load-file): Support
7721
for remote filename translation (untested).
7723
* swank.lisp (create-swank-server): Take announce-fn as optional
7726
* swank-allegro.lisp: Replace defmethod with defimplementation.
16024
(slime-goto-location-buffer, slime-ed, slime-load-file): Support for
16025
remote filename translation (untested).
16027
2004-01-21 00:41 heller
16031
(create-swank-server): Take announce-fn as optional argument.
16033
2004-01-21 00:40 heller
16035
* swank-allegro.lisp:
16037
Replace defmethod with defimplementation.
7727
16039
(eval-in-frame): Implemented.
7729
2004-01-20 Lasse Rasinen <lrasinen@iki.fi>
7731
* slime.el (slime-prin1-to-string): Replacement for
7732
prin1-to-string that avoids escaping non-ascii characters in a
7733
way that the CL reader doesn't understand. Allows use of 8-bit
7734
characters in Lisp expressions with Emacs in unibyte-mode.
7736
2004-01-20 Luke Gorrie <luke@bluetail.com>
7738
* slime.el (slime-eval-print-last-expression): Insert a newline
7739
before and after the result.
16041
2004-01-20 22:53 lgorrie
16047
2004-01-20 22:53 lgorrie
16051
(slime-prin1-to-string): Replacement for prin1-to-string that avoids
16052
escaping non-ascii characters in a way that the CL reader doesn't
16053
understand. Allows use of 8-bit characters in Lisp expressions with
16054
Emacs in unibyte-mode.
16056
2004-01-20 22:35 lgorrie
16062
2004-01-20 22:06 lgorrie
16068
2004-01-20 19:45 lgorrie
16074
2004-01-20 19:44 lgorrie
7740
16078
(slime-easy-menu): Added menu items:
7741
16079
"Eval Region", "Scratch Buffer", "Apropos Package..."
7742
Added some bold to default SLDB faces.
7744
2004-01-19 Alan Ruttenberg <alanr-l@mumble.net>
7745
*swank-openmcl.lisp in frame-catch-tags, ppc32::catch-frame.catch-tag-cell -> 0,
7746
ppc32::catch-frame.csp-cell -> 3. FIXME when this code is more stable in openMCL.
7748
2004-01-19 Michael Weber <michaelw@foldr.org>
7750
* slime.el (slime-close-all-sexp): New command to close all
7751
unmatched parens in the current defun. Bound to `C-c C-]'. With
7752
prefix argument, only operate in the region (for closing
7755
2004-01-19 Luke Gorrie <luke@bluetail.com>
7757
* swank-openmcl.lisp (thread-id, thread-name): Fixed silly bugs
7758
(thanks Marco Baringer).
7760
* swank-loader.lisp: Call (swank:warn-unimplemented-interfaces).
7762
* swank.lisp (ed-in-emacs): New command with the same interface
7765
* swank-cmucl.lisp, swank-sbcl.lisp, swank-lispworks.lisp,
7766
swank-openmcl.lisp, swank-allegro.lisp, swank-clisp.lisp: Updated
7767
to use `defimplementation'.
7769
* swank-backend.lisp (definterface, defimplementation): New macros
7770
as sugar around defgeneric/defmethod. This supports conveniently
7771
supplying a default (on NO-APPLICABLE-METHOD). Because the
7772
underly mechanism is still generic functions this doesn't break
7773
code that isn't updated.
7774
(warn-unimplemented-interfaces): Print a list of backend functions
7775
that are not implemented.
7776
(xref and list-callers): Defined interfaces for these functions.
7777
(describe-definition): New function that takes over from the many
7778
other describe-* functions called from apropos listing. Takes the
7779
type of definition (as returned by describe-symbol-for-emacs) as
7782
* slime.el (sldb-enable-styled-backtrace): This is now true by
16081
2004-01-20 18:24 lgorrie
16087
2004-01-20 18:23 lgorrie
16091
(slime-eval-print-last-expression): Insert a newline before and after
16094
2004-01-20 10:14 lgorrie
16098
Removed redundant MAKE-FN-STREAMS that I had re-added.
16099
Didn't see that it was common in swank-gray.lisp.
16101
2004-01-19 22:49 lgorrie
16107
2004-01-19 22:48 lgorrie
16109
* swank-openmcl.lisp:
16111
(thread-id, thread-name): Fixed silly bugs (thanks Marco Baringer).
16113
2004-01-19 22:03 aruttenberg
16119
2004-01-19 22:01 aruttenberg
16121
* swank-openmcl.lisp:
16123
ppc32::catch-frame.csp-cell -> 3
16124
ppc32::catch-frame.catch-tag-cell -> 0
16125
FIXME when Gary says this area of the code is stable.
16127
2004-01-19 21:29 lgorrie
16133
2004-01-19 21:28 lgorrie
16137
(slime-close-all-sexp): New command to close all unmatched parens in
16138
the current defun. Bound to `C-c C-]'. With prefix argument, only
16139
operate in the region (for closing subforms).
16140
(Patch from Michael Weber).
16142
2004-01-19 21:15 lgorrie
16144
* swank-loader.lisp:
16146
Call (swank:warn-unimplemented-interfaces).
16148
2004-01-19 21:14 lgorrie
16150
* swank-cmucl.lisp, swank-lispworks.lisp, swank-sbcl.lisp,
16151
swank-openmcl.lisp:
16153
Updated to use `defimplementation'.
16155
2004-01-19 21:14 lgorrie
16159
(sldb-enable-styled-backtrace): This is now true by default.
7784
16161
(slime-keys): Bound `slime-inspect' to `C-c I'.
7785
(slime): `M-x slime' now offers to keep existing connections
7786
alive (else disconnect them). If you disconnect them, the new
7787
connection gets to reuse the existing REPL.
16163
(slime): `M-x slime' now offers to keep existing connections alive
16164
(else disconnect them). If you disconnect them, the new connection
16165
gets to reuse the existing REPL.
7788
16167
(slime-connection): Error if the connection is closed.
7789
16169
(slime-handle-oob): New message (:ED WHAT) for `slime-ed'.
7790
16171
(slime-display-output-buffer): Don't pop up the REPL if it is
7791
16172
already visible in any frame.
7792
16174
(slime-find-asd): Handle case where (buffer-file-name) is nil.
7793
16176
(slime-ed): Elisp backend for (CL:ED WHAT).
7794
16178
(slime-apropos): Add a summary line to apropos listings.
7795
16180
(slime-print-apropos): Replaced `action' property (name of lisp
7796
16181
describe function) with `type' (argument to pass to unified
7797
16182
swank:describe-definition function).
7798
16184
(slime-apropos-package): New command on `C-c P'. Presents apropos
7799
16185
listing for all external (with prefix also internal) symbols in a
7802
2004-01-18 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7804
* swank-lispworks.lisp (sigint-handler): Bind a continue restart.
7805
(make-dspec-location): Handle strings like pathnames.
16188
2004-01-19 21:13 lgorrie
16190
* swank-backend.lisp:
16192
(definterface, defimplementation): New macros as sugar around
16193
defgeneric/defmethod. This supports conveniently supplying a default
16194
(on NO-APPLICABLE-METHOD). Because the underly mechanism is still
16195
generic functions this doesn't break code that isn't updated.
16197
(warn-unimplemented-interfaces): Print a list of backend functions
16198
that are not implemented.
16200
(xref and list-callers): Defined interfaces for these functions.
16201
(describe-definition): New function that takes over from the many
16202
other describe-* functions called from apropos listing. Takes the type
16203
of definition (as returned by describe-symbol-for-emacs) as an
16206
2004-01-19 21:12 lgorrie
16210
(ed-in-emacs): New command with the same interface as CL:ED.
16212
2004-01-18 22:54 heller
16218
2004-01-18 22:52 heller
16222
(slime-eval-with-transcript): Fix bug triggered when 'package' is a
16223
buffer local variable. Reported by Janis Dzerins.
16225
(slime-batch-test): Wait until the connection is ready.
16227
2004-01-18 21:06 heller
16233
2004-01-18 21:04 heller
16237
(compile-defun): Don't use keywords. The keyword package is locked in
16238
Lispworks and causes the test-suite to hang.
16240
2004-01-18 21:01 heller
16242
* swank-lispworks.lisp:
16244
(sigint-handler): Bind a continue restart.
16246
(make-dspec-location): Handle stings like pathnames.
7806
16248
Some multithreading support.
7808
* slime.el (compile-defun): Don't use keywords. The keyword
7809
package is locked in Lispworks and causes the test-suite to hang.
7810
(slime-eval-with-transcript): Fix bug triggered when 'package' is
7811
a buffer local variable. Reported by Janis Dzerins.
7812
(slime-batch-test): Wait until the connection is ready.
7814
2004-01-18 Alan Ruttenberg <alanr-l@mumble.net>
7816
* swank-openmcl: Implement frame-catch-tags. Added debugger functions
7817
sldb-restart-frame, sldb-return-from-frame. Should probably be added to backend.lisp
7818
but let's discuss first. Do other lisps support this?
7820
* slime.el sldb-restart-frame, sldb-return-from-frame
7822
2004-01-18 Wolfgang Jenkner <wjenkner@inode.at>
7824
* swank-clisp.lisp (call-without-interrupts): Evaluate
7825
linux:SIGFOO at read time since the macro with-blocked-signals
16250
2004-01-18 17:19 aruttenberg
16256
2004-01-18 17:18 aruttenberg
16260
sldb-restart-frame, sldb-return-from-frame
16262
2004-01-18 17:17 aruttenberg
16264
* swank-openmcl.lisp:
16267
Implement frame-catch-tags. Added debugger functions
16268
sldb-restart-frame, sldb-return-from-frame. Should probably be added
16269
to backend.lisp but let's discuss first. Do other lisps support this?
16271
2004-01-18 16:49 wjenkner
16277
2004-01-18 16:46 wjenkner
16279
* swank-clisp.lisp:
16281
swank-clisp.lisp (call-without-interrupts): Evaluate linux:SIGFOO at
16282
read time since the macro with-blocked-signals expects a fixnum.
7827
16284
(compile-file-for-emacs): Comment fix.
7829
2004-01-18 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7831
* swank-sbcl.lisp (make-fn-streams): Deleted. Already defined in
7834
* swank.lisp (find-symbol-or-lose, format-arglist): New functions.
16286
2004-01-18 08:59 heller
16292
2004-01-18 08:59 heller
16296
(make-fn-streams): Deleted. Already defined in swank-gray.lisp.
16298
2004-01-18 08:42 heller
16304
2004-01-18 08:39 heller
16306
* swank-cmucl.lisp:
16308
(inspected-parts-of-value-cell): Was lost during the inspector refactoring.
16310
2004-01-18 08:21 heller
16316
2004-01-18 08:19 heller
16318
* swank-allegro.lisp:
16320
(arglist-string): Refactor common code to swank.lisp.
16322
(call-without-interrupts, getpid): Are now generic functions.
16324
2004-01-18 08:17 heller
16328
(find-symbol-or-lose, format-arglist): New functions.
7835
16330
(without-interrupts): New macro.
7836
16331
(send-to-emacs): Use it.
16333
2004-01-18 08:15 heller
7838
16335
* swank-backend.lisp, swank-clisp.lisp, swank-lispworks.lisp,
7839
swank-openmcl.lisp, swank-sbcl.lisp, swank-allegro.lisp:
16336
swank-openmcl.lisp, swank-sbcl.lisp:
7840
16338
(arglist-string): Refactor common code to swank.lisp.
7841
16340
(call-without-interrupts, getpid): Are now generic functions.
7843
* slime.el (arglist): Test slot readers and closures.
7845
* swank-cmucl.lisp (arglist-string): Use
7846
pcl:generic-function-lambda-list for generic functions. Handle
7847
closures. Print arglist in lower case.
7848
(inspected-parts-of-value-cell): Was lost during the inspector
7851
2004-01-18 Wolfgang Jenkner <wjenkner@inode.at>
7853
* swank-clisp.lisp (compile-file-for-emacs,
7854
split-compiler-note-line): Revert last change.
16342
2004-01-18 08:11 heller
16346
(arglist): Test slot readers and closures.
16348
2004-01-18 08:10 heller
16350
* swank-cmucl.lisp:
16352
(arglist-string): Use pcl:generic-function-lambda-list for generic
16353
functions. Handle closures. Print arglist in lower case.
16355
2004-01-18 06:53 wjenkner
16361
2004-01-18 06:52 wjenkner
16365
(slime-changelog-date): Use file-truename of
16366
byte-compile-current-file.
16368
2004-01-18 06:47 wjenkner
16370
* swank-clisp.lisp:
16372
(compile-file-for-emacs, split-compiler-note-line): Revert last
7855
16374
(handle-notification-condition): Don't signal the condition.
7856
(*compiler-note-line-regexp*): Fix and rewrite it as extended
7859
* slime.el (slime-changelog-date): Use file-truename of
7860
byte-compile-current-file.
7862
2004-01-17 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7864
* slime.el (slime-format-arglist): Add some sanity checks and
7865
print zero argument functions nicer. Suggested by Ivan Boldyrev.
16375
(*compiler-note-line-regexp*): Fix and rewrite it as extended regexp.
16377
2004-01-17 11:35 heller
16383
2004-01-17 11:23 heller
16385
* swank-cmucl.lisp:
16387
(arglist-string): Handle zero argument functions correctly.
16389
2004-01-17 11:22 heller
16393
(slime-format-arglist): Nicer handling of zero argument functions.
16395
2004-01-17 11:03 heller
16401
2004-01-17 11:01 heller
16405
(slime-format-arglist): Add some sanity checks. Suggested by Ivan
7866
16408
(slime-test-expect): Take test predicate as argument.
7867
16410
(arglist): Test generic functions.
7869
* swank-cmucl.lisp (arglist-string): Handle generic functions
7870
better. Reported by Ivan Boldyrev.
7872
2004-01-16 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7874
* swank-allegro.lisp: Multiprocessing support.
7876
* swank-openmcl.lisp, swank-cmucl.lisp, swank-backend.lisp,
7877
swank.lisp: Refactor inspector code.
7879
* swank.lisp (changelog-date): Use *compile-file-truename* instead
7880
of *compile-file-pathname*.
7881
(with-I/O-lock, with-a-connection): The usual CLISP fixes.
7882
(create-swank-server): Patch by Marco Baringer <mb@bese.it>.
7883
Bring it back again.
16412
2004-01-17 10:59 heller
16414
* swank-cmucl.lisp:
16416
(arglist-string): Handle generic functions better. Reported by Ivan
16419
2004-01-16 22:54 heller
16425
2004-01-16 22:54 heller
16427
* swank-allegro.lisp:
16429
Add multiprocessing support.
16431
2004-01-16 22:51 heller
16437
2004-01-16 22:49 heller
16439
* swank-backend.lisp, swank-cmucl.lisp, swank-openmcl.lisp,
16442
Refactor inspector code.
16444
2004-01-16 22:32 heller
16450
2004-01-16 22:28 heller
16454
(create-swank-server): Patch by Marco Baringer <mb@bese.it>. Bring it
7884
16456
(create-connection): Use return the dedicated output stream if
7887
* slime.el: Numerous REPL related fixes.
16459
2004-01-16 22:24 heller
7888
16463
(slime-update-state-name): Take state as argument.
7889
(slime-repl-beginning-of-defun, slime-repl-end-of-defun): Fix
16464
(slime-repl-beginning-of-defun, slime-repl-end-of-defun): Fix typos.
7891
16465
(sldb-insert-restarts): Remove duplicate definition.
7893
2004-01-16 Luke Gorrie <luke@bluetail.com>
7895
* swank-openmcl.lisp: Multiprocessing support.
7897
* swank.lisp (changelog-date): make-pathname portability fix
16467
2004-01-16 08:28 heller
16473
2004-01-16 08:26 heller
16477
(changelog-date): Use *compile-file-truename* instead of
16478
*compile-file-pathname*.
16480
(with-I/O-lock, with-a-connection): The usual CLISP fixes.
16482
2004-01-16 08:23 heller
16486
Numerous REPL related fixes.
16488
2004-01-16 08:10 lgorrie
16490
* swank-openmcl.lisp:
16492
Removed $Id$ tag that was making diffs noisy.
16494
2004-01-16 07:51 lgorrie
16500
2004-01-16 07:51 lgorrie
16502
* swank-openmcl.lisp:
16504
Multiprocessing support.
16506
2004-01-16 07:50 lgorrie
16510
(changelog-date): make-pathname portability fix (from alanr).
7899
16512
(with-io-redirection): Use (current-connection) instead of
7900
16513
*dispatching-connection* (from alanr).
7902
* slime.el (slime-init-output-buffer): XEmacs portability fix, and
7903
use header-line-format to show info about Lisp in Emacs21.
7905
2004-01-15 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7907
* swank-sbcl.lisp, swank-cmucl.lisp (remove-input-handlers): New
7910
* swank-allegro.lisp (excl:stream-read-char-no-hang): Import it.
16515
2004-01-16 07:24 lgorrie
16519
(changelog-date): make-pathname portability fix (from alanr).
16521
2004-01-16 07:01 lgorrie
16527
2004-01-16 07:01 lgorrie
16531
(slime-init-output-buffer): XEmacs portability fix, and use
16532
header-line-format to show info about Lisp in Emacs21.
16534
2004-01-15 19:34 heller
16540
2004-01-15 19:30 heller
16542
* swank-cmucl.lisp, swank-sbcl.lisp:
16544
(remove-input-handlers): New method.
16546
2004-01-15 19:29 heller
16548
* swank-allegro.lisp:
16550
(excl:stream-read-char-no-hang): Import it.
7911
16552
(emacs-connected): Add default method. The method for
7912
16553
no-applicable-method doesn't seem to work. ACL bug?
7914
* swank-loader.lisp (compile-files-if-needed-serially): Don't
7915
handle compilation errors. We must compile everything because
7916
changelog-date requires *compile-file-truename*.
7918
* slime.el: (slime-changelog-date)
7919
(slime-check-protocol-version): New functions.
16555
2004-01-15 19:27 heller
16557
* swank-loader.lisp:
16559
(compile-files-if-needed-serially): Don't handle compilation errors.
16560
We must compile everything because changelog-date requires
16561
*compile-file-truename*.
16563
2004-01-15 19:23 heller
16569
(slime-changelog-date, slime-check-protocol-version): New functions.
7920
16570
(slime-handle-oob): Handle :check-protocol-version event.
7921
16572
(slime-init-output-buffer): Print some info about the remote Lisp.
7922
(slime-connect): Use it.
7923
16573
(slime-note-transcript-start): Renamed from
7924
16574
slime-insert-transcript-delimiter.
7925
16575
(slime-note-transcript-end): New function.
7926
16576
(slime-with-output-end-mark, slime-repl-insert-prompt)
7927
16577
(slime-repl-show-result, slime-compile-file)
7928
(slime-show-evaluation-result): Insert output from eval commands
7929
after the prompt and asynchronous output before the prompt. Needs
16578
(slime-show-evaluation-result): Insert output from eval commands after
16579
the prompt and asynchronous output before the prompt. Needs documentation.
7931
16581
(repl-test, repl-read, interactive-eval-output): New tests.
7932
16583
(slime-flush-output): Accept output from all processes.
7934
* swank.lisp (serve-requests): New function.
16585
2004-01-15 19:17 heller
16589
(serve-requests): New function.
7935
16590
(setup-server): Use it.
7936
16591
(start-server): Pass backgroud to setup-server.
7937
16593
(create-connection): Check the protocol version.
7938
16594
(changelog-date): New function.
7939
16596
(make-output-function): Use write-string instead of princ.
7941
* swank-backend.lisp (remove-input-handlers): New function.
7943
2004-01-15 Luke Gorrie <luke@bluetail.com>
7945
* slime.el (slime-aux-connect, slime-handle-oob): Support for
7946
(:open-aux-connection port) message where Lisp requests that
7947
Emacs make a connection. These are "auxiliary" connections which
7948
don't (or at least shouldn't) have their own REPL etc.
7950
* swank.lisp: New support for multiprocessing and multiple
7951
connections + commentary.
7952
(with-a-connection): Macro to execute some forms "with a
7953
connection". This is used in the debugger hook to automatically
7954
create a temporary connection if needed (i.e. if the current
7955
thread doesn't already have one).
7956
(open-aux-connection): Helper function to create an extra
7957
connection to Emacs.
7959
* swank-sbcl.lisp: Implemented multiprocessing. Not perfect.
7961
* swank-cmucl.lisp: Implemented new multiprocessing interface.
16598
2004-01-15 19:15 heller
16600
* swank-backend.lisp:
16602
(remove-input-handlers): New function.
16604
2004-01-15 12:43 lgorrie
16610
2004-01-15 12:42 lgorrie
16614
(slime-aux-connect, slime-handle-oob): Support for
16615
(:open-aux-connection port) message where Lisp requests that Emacs
16616
make a connection. These are "auxiliary" connections which don't (or
16617
at least shouldn't) have their own REPL etc.
16619
2004-01-15 12:42 lgorrie
16621
* swank-backend.lisp:
16623
Changed multiprocessing interface.
16625
2004-01-15 12:41 lgorrie
16627
* swank-cmucl.lisp:
16629
Implemented new multiprocessing interface.
7962
16631
(create-socket): Make FDs non-blocking when multiprocessing is
7964
16634
(startup-multiprocessing): Set *swank-in-background* to :spawn.
7966
* swank-backend.lisp: Changed multiprocessing interface.
7968
2004-01-15 Wolfgang Jenkner <wjenkner@inode.at>
7970
* swank-clisp.lisp (with-blocked-signals): New macro.
16636
2004-01-15 12:41 lgorrie
16640
Implemented multiprocessing. Not perfect.
16642
2004-01-15 12:40 lgorrie
16646
New support for multiprocessing and multiple connections + commentary.
16648
(with-a-connection): Macro to execute some forms "with a
16649
connection". This is used in the debugger hook to automatically create
16650
a temporary connection if needed (i.e. if the current thread doesn't
16653
(open-aux-connection): Helper function to create an extra connection
16656
2004-01-15 00:44 wjenkner
16662
2004-01-15 00:43 wjenkner
16664
* swank-clisp.lisp:
16666
(with-blocked-signals): New macro.
7971
16667
(without-interrupts): Use it.
7972
16668
(*use-dedicated-output-stream*, *redirect-output*): Don't set them
7973
16669
here, use the default settings.
7974
16670
Make :linux one of *features* if we find the "LINUX" package.
7976
2004-01-14 Luke Gorrie <luke@bluetail.com>
7978
* swank-openmcl.lisp (emacs-connected): Typo fix (missing
7981
2004-01-13 Helmut Eller <e9626484@stud3.tuwien.ac.at>
7983
* slime.el (slime-input-complete-p): Tolerate extra close parens.
16672
2004-01-14 07:54 lgorrie
16678
2004-01-14 07:53 lgorrie
16680
* swank-openmcl.lisp:
16682
(emacs-connected): Typo fix (missing close-paren).
16684
2004-01-14 00:03 heller
16690
2004-01-13 23:56 heller
16694
(slime-input-complete-p): Tolerate extra close parens.
7984
16695
(slime-idle-state): Don't active the repl.
7985
16697
(slime-insert-transcript-delimiter): Insert output before prompt.
7986
(slime-open-stream-to-lisp): Initialize the process-buffer with
7987
the connection buffer.
16699
(slime-open-stream-to-lisp): Initialize the process-buffer with the
7988
16702
(slime-repl-activate): Deleted.
7989
(slime-repl-eval-string, slime-repl-show-result)
7990
(slime-repl-show-abort): Better handling of abortion.
16704
(slime-repl-eval-string, slime-repl-show-result,
16705
slime-repl-show-abort): Better handling of abortion.
7991
16707
(slime-compile-file): Insert output before prompt.
7993
* swank-lispworks.lisp (create-socket): Fix condition message.
7995
* swank-openmcl.lisp (*swank-in-background*): Set to :spawn.
7996
(emacs-connected): Initialize ccl::*interactive-abort-process*.
7998
* swank.lisp (*swank-in-background*): New variable.
7999
(start-server): Start swank in background, depending on
8000
*swank-in-background*.
8002
* swank-cmucl.lisp, swank-sbcl.lisp (*swank-in-background*): Set
8005
* swank-clisp.lisp (accept-connection): Remove superfluous call to
8008
New more direct socket interface. The new interface is closer to
8009
the functions provided by the implementations. For Lispworks we
8010
use some non-exported functions to get a sane interface. The
8011
interface also includes add-input-handler and a spawn function
8012
(not used yet). The idea is that most of the logic can be shared
8013
between similar backends.
8015
* swank-gray.lisp (make-fn-streams): New function.
16709
2004-01-13 23:51 heller
16711
* swank-lispworks.lisp:
16713
(create-socket): Fix condition message.
16715
2004-01-13 23:51 heller
16717
* swank-openmcl.lisp:
16719
(*swank-in-background*): Set to :spawn.
16721
(emacs-connected): Set the ccl::*interactive-abort-process*.
16723
2004-01-13 23:49 heller
16727
(*swank-in-background*): New variable.
16728
(start-server): Start swank in background, depending on *swank-in-background*.
16730
2004-01-13 23:48 heller
16732
* swank-cmucl.lisp, swank-sbcl.lisp:
16734
(*swank-in-background*): Set to :fd-handler.
16736
2004-01-13 20:28 heller
16742
2004-01-13 20:27 heller
16744
* swank-clisp.lisp:
16746
(accept-connection): Remove superfluous call to socket-wait.
16748
2004-01-13 19:28 heller
16754
2004-01-13 19:21 heller
16758
(make-fn-streams): New function.
8016
16760
(stream-read-char-no-hang, stream-read-char-will-hang-p): Moved to
8017
16761
here from swank-clisp.lisp.
16763
2004-01-13 19:20 heller
8019
16765
* swank-allegro.lisp, swank-clisp.lisp, swank-cmucl.lisp,
8020
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
16766
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
8021
16768
(create-socket, local-port, close-socket, accept-connection)
8022
16769
(add-input-handler, spawn): Implement new socket interface.
8024
* swank.lisp (start-server, open-dedicated-output-stream &etc):
8025
Use new socket functions.
8027
* swank-backend.lisp (create-socket, local-port, close-socket)
8028
(accept-connection, add-input-handler, spawn): New functions.
16771
2004-01-13 19:17 heller
16775
(start-server, open-dedicated-output-stream &etc): Use new socket functions.
16777
2004-01-13 19:16 heller
16779
* swank-backend.lisp:
16781
(create-socket, local-port, close-socket, accept-connection,
16782
add-input-handler, spawn): New functions.
8029
16783
(accept-socket/stream, accept-socket/run): Deleted.
8031
2004-01-13 Luke Gorrie <luke@bluetail.com>
8033
* swank-clisp.lisp: Updated for new network interface but not
8034
tested! Probably slightly broken.
8036
* swank-lispworks.lisp: Updated for new network interface.
16785
2004-01-13 05:23 lgorrie
16791
2004-01-13 05:23 lgorrie
16793
* swank-backend.lisp:
16795
(accept-socket/stream, accept-socket/run):
16796
New functions replacing the ancient (over 24 hours!)
16797
`create-socket-server'. This interface is much simpler.
16799
2004-01-13 05:23 lgorrie
16801
* swank-clisp.lisp:
16803
Updated for new network interface but not tested!
16804
Probably slightly broken.
16806
2004-01-13 05:22 lgorrie
16808
* swank-lispworks.lisp:
16810
Updated for new network interface.
8037
16812
(accept-socket/stream): This function is currently broken, so
8038
16813
LispWorks can't use the dedicated output channel at the moment.
8040
* swank.lisp, swank-cmucl.lisp, swank-sbcl.lisp: Updated for new
8043
* swank-backend.lisp (accept-socket/stream, accept-socket/run):
8044
New functions replacing the ancient (over 24 hours!)
8045
`create-socket-server'. This interface is much simpler.
8047
2004-01-12 Luke Gorrie <luke@bluetail.com>
8049
* swank-lispworks.lisp: Partially updated for new backend
8050
interface, but not actually working. The sockets code is broken, I
8051
haven't grokked LispWorks the interface properly.
8053
* swank-gray.lisp (slime-input-stream, slime-output-buffer): Added
8054
slots to support the new `make-fn-streams' interface from
8055
swank-backend.lisp. These slots need to be initialized by the
8056
backend, see swank-sbcl.lisp for an example (very easy).
8058
* swank-sbcl.lisp (create-socket-server): Implemented new server
8061
* slime.el (slime-handle-oob): Added
8062
:open-dedicated-output-stream message, previously implemented
8064
(slime-repl-read-string, slime-repl-return-string): Pass integer
8065
argument to `slime-repl-read-mode' to set rather than toggle.
8067
* swank.lisp: Taking over previously non-portable jobs:
8068
(start-server): Now only uses sockets code from the backend.
8069
(handle-request): Top-level request loop.
8070
(open-dedicated-output-stream): Dedicated output socket.
8071
(connection): New data structure that bundles together the things
8072
that constitute a connection to Emacs: socket-level stream and
8073
user-level redirected streams.
8075
* swank-cmucl.lisp (create-socket-server): Generic TCP server
8076
driven by SERVE-EVENT.
16815
2004-01-13 05:21 lgorrie
16817
* swank.lisp, swank-sbcl.lisp, swank-cmucl.lisp:
16819
Updated for new network interface.
16821
2004-01-12 07:05 vsedach
16823
* swank-clisp.lisp:
16825
File compilation and loading somewhat work now. CLISP's compile-file
16826
returns some nutty number codes for warning-p and
16827
failure-p. Meaningful compilation messages still on to-do list.
16829
2004-01-12 06:22 vsedach
16833
Slime-repl-activate now goes to (point-max) at the end. This is the
16834
easiest kludge I could think of to fix the behavior of read-line (for
16835
example, on interactive restarts) which puts the pointer on the line
16836
preceeding the read-line prompt (after emacs has printed slime's
16837
prompt on the last line). Are there any situations where the slime
16838
prompt does not in fact get printed at the end of the buffer??
16840
2004-01-12 06:14 vsedach
16844
Changed eval-region back to with-input-from-string style. For slime's
16845
purposes, read-from-string doesn't do the right thing with trailing
16846
whitespace, which is not easy to work around it.
16848
2004-01-12 06:06 vsedach
16850
* swank-backend.lisp:
16852
Fixed () arg in with-compilation-hooks.
16854
2004-01-12 06:05 vsedach
16856
* swank-clisp.lisp:
16858
Added support for the new backend.
16860
2004-01-12 05:31 lgorrie
16866
2004-01-12 05:31 lgorrie
16870
Bugfix: moved some specials up to before they're referenced.
16872
2004-01-12 05:30 lgorrie
16874
* swank-lispworks.lisp:
16876
Partially updated for new backend interface, but not actually
16877
working. The sockets code is broken, I haven't grokked LispWorks the
16878
interface properly.
16880
2004-01-12 03:14 lgorrie
16886
2004-01-12 03:14 lgorrie
16890
(slime-input-stream, slime-output-buffer): Added slots to support the
16891
new `make-fn-streams' interface from swank-backend.lisp. These slots
16892
need to be initialized by the backend, see swank-sbcl.lisp for an
16893
example (very easy).
16895
2004-01-12 03:14 lgorrie
16899
Implemented new server interface.
16901
2004-01-12 01:55 lgorrie
16903
* HACKING, ChangeLog:
16907
2004-01-12 01:55 lgorrie
16911
Taking over previously non-portable jobs:
16913
(start-server): Now only uses sockets code from the backend.
16915
(handle-request): Top-level request loop.
16917
(open-dedicated-output-stream): Dedicated output socket.
16919
(connection): New data structure that bundles together the things that
16920
constitute a connection to Emacs: socket-level stream and user-level
16921
redirected streams.
16923
2004-01-12 01:52 lgorrie
16925
* swank-cmucl.lisp:
16927
(create-socket-server): Generic TCP server driven by SERVE-EVENT.
8077
16929
(serve-one-request, open-stream-to-emacs): Deleted. Now handled
8078
16930
portably in swank.lisp.
8079
16932
(make-fn-streams): Implement new stream-redirection interface.
8080
(slime-input-stream): New slot referencing output sibling, so it
8081
can be forced before input requests.
8083
* swank-backend.lisp (create-socket-server): Generic
8084
callback-driven TCP server interface. Replaces
8085
`create-swank-server', with the higher-level logic moved into
8087
(emacs-connected): Invoked when Emacs initially connects, as a
8088
hook for backend implementations.
16934
(slime-input-stream): New slot referencing output sibling, so it can
16935
be forced before input requests.
16937
2004-01-12 01:51 lgorrie
16939
* swank-backend.lisp:
16941
(create-socket-server): Generic callback-driven TCP server
16942
interface. Replaces `create-swank-server', with the higher-level logic
16943
moved into swank.lisp.
16945
(emacs-connected): Invoked when Emacs initially connects, as a hook
16946
for backend implementations.
8089
16948
(make-fn-streams): Interface for creating pairs of input/output
8090
streams that are backended by callback functions. Used to
8091
implement redirected-via-Emacs standard I/O streams.
8093
2004-01-12 Lawrence Mitchell <wence@gmx.li>
8095
* slime.el (slime-events-buffer): Set `hs-block-start-regexp'
8096
before running `hs-minor-mode'.
8098
2004-01-10 Luke Gorrie <luke@bluetail.com>
16949
streams that are backended by callback functions. Used to implement
16950
redirected-via-Emacs standard I/O streams.
16952
2004-01-12 01:50 lgorrie
16956
(slime-handle-oob): Added :open-dedicated-output-stream message,
16957
previously implemented with :%apply.
16959
(slime-repl-read-string, slime-repl-return-string): Pass integer
16960
argument to `slime-repl-read-mode' to set rather than toggle.
16962
(slime-events-buffer): Set `hs-block-start-regexp' before running
16965
2004-01-10 07:52 lgorrie
16971
2004-01-10 07:45 lgorrie
16973
* swank-cmucl.lisp:
16975
Don't enable xref (let the user decide).
16977
(set-fd-non-blocking): Removed unused function.
16979
Miscellaneous refactoring of the networking code.
16981
2004-01-10 07:43 lgorrie
8100
16985
* slime.el (package-updating): Expected package is now a list (can
8101
16986
be any), since the shortest nickname is not
8102
16987
standardized. e.g. USER or CL-USER for COMMON-LISP-USER.
8104
* swank-cmucl.lisp: Don't enable xref (let the user decide).
8105
(set-fd-non-blocking): Removed unused function.
8106
Miscellaneous refactoring of the networking code.
8108
* slime.el (slime-complete-symbol): Use markers to hold the
8109
beginning and end of the completion prefix, in case looking up
8110
completions causes insertions (e.g. GC announcements).
8112
2004-01-09 Luke Gorrie <luke@bluetail.com>
8114
* slime.el (slime-activate-state): Only update state name when
16989
2004-01-10 01:16 lgorrie
16995
2004-01-10 01:15 lgorrie
16999
(slime-complete-symbol): Use markers to hold the beginning and end of
17000
the completion prefix in case looking up completions causes insertions
17001
(e.g. GC announcements).
17003
2004-01-10 00:09 lgorrie
17009
2004-01-10 00:00 lgorrie
17013
(slime-next-connection): Fixed a bug where buffer-local connection
17014
bindings could get in the way and prevent the connection from actually
17017
(slime-complete-restore-window-configuration): Wrap
17018
`set-window-configuration' in `save-excursion'. This fixes a problem
17019
where the cursor would end up in the wrong place after completion in
17022
2004-01-09 22:52 lgorrie
17028
2004-01-09 22:40 lgorrie
17032
(slime-activate-state): Only update state name when
8115
17033
`slime-default-connection' activates. This fixes an annoying
8116
17034
"Selecting deleted buffer" bug that prevented SLIME from being
8118
(slime-next-connection): Fixed a bug where buffer-local connection
8119
bindings could get in the way and prevent the connection from
8121
(slime-complete-restore-window-configuration): Wrap
8122
`set-window-configuration' in `save-excursion'. This fixes a
8123
problem where the cursor would end up in the wrong place after
8124
completion in XEmacs.
8126
2004-01-09 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8128
* slime.el: Place (require 'cl) inside a eval-and-compile.
17037
2004-01-09 21:44 heller
17043
2004-01-09 21:43 heller
17047
New test for package updates in the listeners.
17049
2004-01-09 20:42 heller
17051
* swank-backend.lisp:
17053
(debugger-info-for-emacs, find-function-locations): Doc fix.
17055
2004-01-09 19:56 heller
17061
2004-01-09 19:56 heller
17065
Place (require 'cl) inside a eval-and-compile.
8129
17067
(slime-with-connection-buffer): Move definition upwards before the
8131
(package-updateing): New test for package updates in the listeners.
8133
* swank.lisp (eval-region): Bind *package* outside the
8134
unwind-protect to detect updates.
8136
* swank-backend.lisp (debugger-info-for-emacs)
8137
(find-function-locations): Doc fix.
8139
2004-01-09 Wolfgang Jenkner <wjenkner@inode.at>
8141
* swank-clisp.lisp: Add methods for GRAY:STREAM-READ-CHAR-NO-HANG
8142
and for the CLISP specific GRAY:STREAM-READ-CHAR-WILL-HANG-P.
8143
This should fix the behaviour of SYS::READ-FORM.
8145
2004-01-08 Luke Gorrie <luke@bluetail.com>
8147
* slime.el (slime-inspector-fontify): Function to insert a string
8148
in a particular inspector face. Replaces macro-code-generation
8149
function `slime-inspector-expand-fontify'. Fixes a byte-compile
8150
problem (macro was calling function not defined at compile-time).
8152
2004-01-07 Luke Gorrie <luke@bluetail.com>
8154
* slime.el: Multisession internal improvements. Now there are
8155
three separate connection variables, in order of priority:
17070
2004-01-09 19:51 heller
17074
(eval-region): Bind *package* outside the unwind-protect to detect updates.
17076
2004-01-09 03:27 wjenkner
17082
2004-01-09 03:26 wjenkner
17084
* swank-clisp.lisp:
17086
Add methods for GRAY:STREAM-READ-CHAR-NO-HANG and for the CLISP
17087
specific GRAY:STREAM-READ-CHAR-WILL-HANG-P. This should fix the
17088
behaviour of SYS::READ-FORM.
17090
2004-01-08 17:50 lgorrie
17096
2004-01-08 17:47 lgorrie
17100
(slime-inspector-fontify): Function to insert a string in a particular
17101
inspector face. Replaces macro-code-generation function
17102
`slime-inspector-expand-fontify'.
17104
2004-01-08 08:02 vsedach
17106
* swank-clisp.lisp, swank.lisp:
17108
Minor update of CLISP backend (streams, portability). eval-region is now do-based (that loop was just waiting to be scratched :).
17110
2004-01-07 19:10 lgorrie
17116
2004-01-07 19:09 lgorrie
17120
(slime-lisp-package): Initially CL-USER nickname instead of
17121
COMMON-LISP-USER (for REPL prompt).
17123
2004-01-07 02:21 lgorrie
17129
2004-01-07 02:21 lgorrie
17133
Multisession internal improvements. Now there are three separate
17134
connection variables, in order of priority:
8156
17136
slime-dispatching-connection (dynamically-bound)
8157
17137
slime-buffer-connection (buffer-local)
8158
17138
slime-default-connection (global)
8159
17140
The most specific one available is used. This is splitting
8160
17141
`slime-connection' into multiple variables, so that you can be
8161
specific about what you want to assign (i.e. know if you're
8162
setting a dynamic binding or a buffer-local one).
17142
specific about what you want to assign (i.e. know if you're setting a
17143
dynamic binding or a buffer-local one).
8163
17145
Fixed some related bugs.
8164
(slime-connection-close-hook): If default connection closes,
8165
select another connection.
8166
(slime-lisp-package): Initially CL-USER nickname instead of
8167
COMMON-LISP-USER (for REPL prompt).
8169
* slime.el (slime): Multisession support: with prefix argument,
8170
gives the option of keeping existing sessions and firing up an
8171
additional *inferior-lisp* to connect to. Each connection now has
8172
its own *slime-repl[<n>]* buffer.
8173
(slime-connection): Should now be read via the function of the
8174
same name. The accessor will check if the value is NIL, and if so
8175
use `slime-default-connection'.
17147
(slime-connection-close-hook): If default connection closes, select
17148
another connection.
17150
2004-01-07 01:12 lgorrie
17156
2004-01-07 01:12 lgorrie
17160
(slime): Multisession support: with prefix argument, gives the option
17161
of keeping existing sessions and firing up an additional
17162
*inferior-lisp* to connect to. Each connection now has its own
17163
*slime-repl[<n>]* buffer.
17165
(slime-connection): Should now be read via the function of the same
17166
name. The accessor will check if the value is NIL, and if so use
17167
`slime-default-connection'.
8176
17169
(slime-default-connection): The connection that will be used by
8177
17170
default, i.e. unless `slime-connection' is bound. Renamed from
8178
17171
`slime-primary-connection'.
8179
17173
(slime-init-connection-state): When reconnecting, update the
8180
17174
`slime-connection' binding in the REPL to use the new connection.
8181
(slime-repl-input-history, ...): REPL variables are now
8184
2004-01-06 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8186
* swank.lisp (eval-string): New argument 'id'. Used to identify
8187
the remote continuation.
17176
(slime-repl-input-history, ...): REPL variables are now buffer-local.
17178
2004-01-06 14:50 heller
17184
2004-01-06 14:42 heller
17188
(eval-string): New argument 'id'. Used to identify the remote
8188
17191
(log-event): New debugging function.
8189
17192
(read-from-emacs, send-to-emacs): Use it.
8191
* slime.el: The new macro 'slime-rex' can now be used to evaluate
8192
sexps remotely. It offers finer control what to do when the
17194
2004-01-06 14:40 heller
17198
(slime-connect): Select the new connection.
17199
(slime-init-connection): New optinal argument SELECT.
17201
(slime-def-connection-var): Workarounds for Emacs 20 reader
17202
bugs. Backquote is pretty broken Emacs 20.
17204
The new macro 'slime-rex' can now be used to evaluate sexp remotely.
17205
slime-rex provides finer control what to do when the evaluation
17206
aborts. slime-eval and slime-eval-async are now implemented with
8194
17209
(slime-rex): New macro
8195
(slime-eval, slime-eval-async, sldb-continue)
8196
(sldb-invoke-restart): Use it.
17210
(slime-eval, slime-eval-async): Use it.
8197
17211
(slime-continuation-counter, slime-push-evaluating-state): New
8199
17214
(slime-output-buffer): Initialize markers.
8200
17216
(sldb-mode): XEmacs doesn't like (add-hook (make-local-hook ...)).
8201
(slime-init-connection): New optional argument SELECT.
8202
(slime-def-connection-var): Workarounds for Emacs 20 reader bugs.
8203
Backquote is pretty broken Emacs 20.
8205
2004-01-06 Ignas Mikalajunas <i.mikalajunas@mbt.lt>
8207
* swank-loader.lisp (user-init-file): Use merge-pathames. Fix
8210
2004-01-05 Luke Gorrie <luke@bluetail.com>
8212
* slime.el: Multiple session support, i.e. Emacs can open
8213
multiple connections to Lisps. The guts is there, but
8214
user-interface is currently minimal.
17218
(sldb-continue, sldb-invoke-restart): Use slime-rex.
17220
2004-01-06 14:10 heller
17222
* swank-loader.lisp:
17224
(user-init-file): Use mergepathame. Fix Windows support. Patch by
17225
Ignas Mikalajunas <i.mikalajunas@mbt.lt>.
17227
2004-01-05 21:51 lgorrie
17233
2004-01-05 21:51 lgorrie
17237
Multiple session support, i.e. Emacs can open multiple connections to
17238
Lisps. The guts is there, but user-interface is currently minimal.
8215
17240
(slime-net-process): Replaced with slime-net-processes.
8216
17242
(slime-net-send): Take process as argument.
8217
17244
(slime-process-available-input): Poll all connections.
8218
(slime-connection): Current connection (process) to use for
8219
talking to Lisp. Can be bound dynamically or buffer-local.
8220
(slime-with-connection-buffer): Macro to enter the process-buffer
8221
of `slime-connection' to manipulate the local variables.
8222
(slime-stack-stack): Now buffer-local in the process-buffer of
17246
(slime-connection): Current connection (process) to use for talking to
17247
Lisp. Can be bound dynamically or buffer-local.
17249
(slime-with-connection-buffer): Macro to enter the process-buffer of
17250
`slime-connection' to manipulate the local variables.
17252
(slime-stack-stack): Now buffer-local in the process-buffer of each
8224
17255
(slime-push-state, slime-pop-state): Operate on the stack inside
8225
17256
`slime-connection's process-buffer.
8226
17258
(slime-dispatch-event): Take optional process argument, to bind
8227
`slime-connection' appropriately when events arrive from the
17259
`slime-connection' appropriately when events arrive from the network.
8229
17261
(slime-def-connection-var): Macro to define variables that are
8230
"connection-local". Such variables are used via (setf'able)
8231
accessor functions, and their real bindings exist as local
8232
variables in the process-buffers of connections. The accessors
8233
automatically work on `slime-connection'.
17262
"connection-local". Such variables are used via (setf'able) accessor
17263
functions, and their real bindings exist as local variables in the
17264
process-buffers of connections. The accessors automatically work on
17265
`slime-connection'.
8234
17267
(slime-lisp-features, slime-lisp-package, slime-pid, sldb-level):
8235
17268
These variables are now connection-local.
8236
17270
(slime-read-from-minibuffer): Inherit `slime-connection' as
8237
17271
buffer-local so that we complete towards the right Lisp.
8238
17273
(sldb-mode): Inherit `slime-connection' as buffer-local so that we
8239
17274
debug towards the right Lisp.
8240
(get-sldb-buffer): New function to return (optionally create) the
8241
SLDB buffer for the current connection. Since multiple Lisps can
8242
be debugged simultaneously, the buffername now includes the
8244
(slime-connection-abort): New command to abort a connection
8245
attempt (don't use `slime-disconnect' anymore - that closes all
17276
(get-sldb-buffer): New function to return (optionally create) the SLDB
17277
buffer for the current connection. Since multiple Lisps can be
17278
debugged simultaneously, the buffername now includes the connection
17281
(slime-connection-abort): New command to abort a connection attempt
17282
(don't use `slime-disconnect' anymore - that closes all connections).
8247
17284
(slime-execute-tests): Honor `slime-test-debug-on-error'.
8248
17286
(slime-next-connection): Cycle through open Lisp connections.
8250
2004-01-02 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8252
* slime.el (slime-display-output-buffer): Move the output markers
17288
2004-01-02 19:24 heller
17294
2004-01-02 19:23 heller
17296
* swank-allegro.lisp, swank-clisp.lisp, swank-cmucl.lisp,
17297
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
17299
(format-condition-for-emacs): Replaced with debugger-condition-for-emacs.
17301
(backtrace): Use print-with-frame-label.
17303
(frame-locals): Rename the :symbol property to :name.
17305
2004-01-02 19:20 heller
17309
(safe-condition-message): New function.
17310
(debugger-condition-for-emacs): Used to be
17311
format-condition-for-emacs in each backend. Separate the
17312
condition message from the type description. Update all backends
17315
(print-with-frame-label): New function.
17317
2004-01-02 19:20 heller
17321
(slime-display-output-buffer): Move the output markers
8253
17322
to the end of the buffer.
8255
* swank-clisp.lisp (frame-do-venv): Rename the :symbol property to
8257
(format-condition-for-emacs): Replaced with
8258
debugger-condition-for-emacs.
8259
(backtrace): Use print-with-frame-label.
8261
* swank-openmcl.lisp (format-condition-for-emacs): Replaced with
8262
debugger-condition-for-emacs.
8263
(backtrace): Use print-with-frame-label.
8264
(frame-locals): Rename the :symbol property to :name.
8266
* swank-lispworks.lisp (format-condition-for-emacs): Replaced with
8267
debugger-condition-for-emacs.
8268
(backtrace): Use print-with-frame-label.
8269
(frame-locals): Rename the :symbol property to :name.
8271
* swank-allegro.lisp (frame-locals): Rename the :symbol property
8273
(format-condition-for-emacs): Replaced with
8274
debugger-condition-for-emacs.
8275
(backtrace): Use print-with-frame-label.
8277
* swank-sbcl.lisp (tracedp, toggle-trace-fdefinition)
8278
(format-condition-for-emacs): Remove unused functions.
8279
(format-frame-for-emacs): Use print-with-frame-label.
8280
(compute-backtrace): Simplified.
8281
(backtrace): Return our frame numbers.
8282
(frame-locals): Rename the :symbol property to :name. Remove the
8285
* swank-cmucl.lisp (accept-loop, safe-definition-finding): Doc
8287
(location-buffer=, file-xrefs-for-emacs)
8288
(sort-contexts-by-source-path, source-path<)
8289
(format-condition-for-emacs): Remove unused functions.
8290
(format-frame-for-emacs): Don't include the frame number in the
8291
description, but use the frame number for indentation. Update
8293
(frame-locals): Rename the :symbol property to :name.
8295
* slime.el (slime-add-face): New function.
17324
(slime-add-face): New function.
8296
17325
(sldb-add-face): Use it.
8297
17327
(sldb-setup): Some refactoring.
8298
17328
(sldb-insert-condition): New function. Factorized from
8299
17329
sldb-setup. Message and types are now separate.
8300
17330
(sldb-insert-restarts): New function. Factorized from sldb-setup.
8301
17332
(sldb-insert-frame): Factorized from slime-insert-frames. The
8302
17333
frame number in no longer part of the string describing the frame.
8303
17334
(sldb-insert-frames): Use it.
8304
17335
(sldb-show-frame-details): Print frame numbers. Fix printing of
8305
17336
catch tags. Move to the start of the frame before at the
8306
17337
beginning to get unfontified text properties.
8307
17339
(sldb-inspect-condition): New command.
8308
17341
(sldb-insert-locals): The :symbol property is now called :name.
8309
17342
Fix locals with :id attribute.
8310
17344
(slime-open-inspector): Fix the bugs I introduced last time.
8312
* swank.lisp (safe-condition-message): New function.
8313
(debugger-condition-for-emacs): Used to be
8314
format-condition-for-emacs in each backend. Separate the
8315
condition message from the type description. Update all backends
8317
(print-with-frame-label): New function.
8319
* slime.el (slime-hyperspec-lookup): New function.
8321
2004-01-02 Wolfgang Jenkner <wjenkner@inode.at>
8323
* swank-clisp.lisp: New file. Merged with Vladimir's version.
8325
* xref.lisp: New file. Used by swank-clisp.
8327
* swank-loader.lisp (user-init-file): Add CLISP files.
8329
* swank.lisp (eval-region, tokenize-completion): Modify loops a
8330
bit to make CLISP happy.
8332
* swank-backend.lisp (with-compilation-hooks): Replace () with
8333
(&rest _) to make CLISP happy.
8335
* slime.el (slime-goto-source-location): Support for CLISP style
8336
line numbers. Split it up.
8337
(slime-goto-location-buffer, slime-goto-location-position): New
17346
2004-01-02 11:02 heller
17352
2004-01-02 09:40 heller
17356
(slime-hyperspec-lookup): New function.
17358
2004-01-02 09:22 heller
17364
2004-01-02 09:21 heller
17366
* swank-backend.lisp:
17368
(with-compilation-hooks): Replace () with (&rest _) to make CLISP happy.
17370
2004-01-02 09:17 heller
17376
2004-01-02 09:16 heller
17378
* swank-loader.lisp:
17380
Add files for CLISP.
17382
2004-01-02 09:13 heller
17387
(slime-goto-source-location): Support for CLISP style line numbers.
17389
(slime-goto-location-buffer, slime-goto-location-position): New functions.
8339
17391
(slime-load-system): Use slime-display-output-buffer.
8340
(slime-repl-mode): Disable conservative scrolling. Not sure if it
8342
(sldb-insert-frames, sldb-show-frame-details, sldb-list-locals):
17393
(slime-repl-mode): Disable conservative scrolling. Not sure if it was
17396
(sldb-insert-frames, sldb-show-frame-details, sldb-list-locals): Minor fixes.
8344
17397
(sldb-insert-locals): Renamed from sldb-princ-locals.
8345
(sldb-invoke-restart): Use slime-eval instead of
8346
slime-oneway-eval, because interactive restarts may read input.
17399
(sldb-invoke-restart): Use slime-eval instead of slime-oneway-eval,
17400
because interactive restarts may read input.
8347
17402
(slime-open-inspector): Minor indentation fixes.
8348
17404
(slime-net-output-funcall): Removed. Was unused.
8350
2003-12-19 Alan Ruttenberg <alanr-l@mumble.net>
8352
fix bug in sldb-princ-locals I introduced when adding fonts to sldb
8354
2003-12-19 Alan Ruttenberg <alanr-l@mumble.net>
8355
* swank-openmcl.lisp 1.42
8356
in request-loop register output stream to be periodically slushed per Gary Byer's email.
17406
2004-01-02 09:01 heller
17408
* swank-clisp.lisp:
17410
New file. Merged with Vladimir's version.
17412
2004-01-02 08:58 heller
17416
(eval-region, tokenize-completion): Modify loops a bit to make CLISP happy.
17418
2003-12-21 10:21 aruttenberg
17422
fix bug in sldb-princ-locals I introduced when adding fonts to sldb.
17424
2003-12-21 10:20 aruttenberg
17430
2003-12-19 07:12 aruttenberg
17436
2003-12-19 07:05 aruttenberg
8357
17440
* slime.el 1.156
8358
slime-goto-source-location. Sometimes source information is recorded but it isn't a standard "def"
8359
in that case, don't error out, just look for the most likely place for the definition.
8361
2003-12-19 Luke Gorrie <luke@bluetail.com>
8363
* null-swank-impl.lisp: Deleted this old file. See
8364
swank-backend.lisp instead.
8366
2003-12-18 Alan Ruttenberg <alanr-l@mumble.net>
8367
* swank-openmcl.lisp 1.41
8368
in openmcl (break) now goes into slime debugger.
17441
slime-goto-source-location: Sometimes source information is recorded but it isn't a standard "def"
17442
in that case, don't error out, just look for the most likely place for the definition.
17444
2003-12-19 06:50 aruttenberg
17446
* swank-openmcl.lisp:
17448
In request-loop register output stream to be periodically slushed per Gary Byer's email.
17450
2003-12-19 02:10 lgorrie
17456
2003-12-19 02:08 lgorrie
17458
* null-swank-impl.lisp:
17460
Deleted this old file. See swank-backend.lisp instead.
17462
2003-12-18 20:58 aruttenberg
17468
2003-12-18 20:57 aruttenberg
17470
* swank-openmcl.lisp:
17472
in openmcl (break) now goes into slime debugger.
8369
17473
(setq swank:*break-in-sldb* nil) to disable that.
8371
2003-12-17 Alan Ruttenberg <alanr-l@mumble.net>
8373
Allow font choices for backtrack. Add group for customizing them: sldb.
17475
2003-12-18 20:56 aruttenberg
17481
2003-12-18 07:55 aruttenberg
17487
2003-12-18 07:55 aruttenberg
17492
Allow font choices for backtrack. Add group for customizing them: sldb.
8374
17493
Whole thing is enabled with sldb-enable-styled-backtrace which is off by default, for now.
8376
'(sldb-condition-face ((t (:foreground "DarkSlateGray" :weight bold))))
8377
'(sldb-detailed-frame-line-face ((t (:foreground "brown" :weight bold :height 1.2))))
8378
'(sldb-local-name-face ((t (:weight bold))))
8379
'(sldb-restart-face ((t (:foreground "DarkBlue" :weight bold))))
8380
'(sldb-restart-number-face ((t (:underline t :weight bold))))
8381
'(sldb-restart-type-face ((t (:foreground "DarkSlateGrey" :weight bold))))
8382
'(sldb-section-face ((t (:weight bold :height 1.2))))
8383
'(sldb-selected-frame-line-face ((t (:foreground "brown" :weight bold :height 1.2))))
8384
'(sldb-topline-face ((t (:foreground "brown" :weight bold :height 1.2))))
8386
2003-12-17 Alan Ruttenberg <alanr-l@mumble.net>
17495
'(sldb-condition-face ((t (:foreground "DarkSlateGray" :weight bold))))
17496
'(sldb-detailed-frame-line-face ((t (:foreground "brown" :weight bold :height 1.2))))
17497
'(sldb-local-name-face ((t (:weight bold))))
17498
'(sldb-restart-face ((t (:foreground "DarkBlue" :weight bold))))
17499
'(sldb-restart-number-face ((t (:underline t :weight bold))))
17500
'(sldb-restart-type-face ((t (:foreground "DarkSlateGrey" :weight bold))))
17501
'(sldb-section-face ((t (:weight bold :height 1.2))))
17502
'(sldb-selected-frame-line-face ((t (:foreground "brown" :weight bold :height 1.2))))
17503
'(sldb-topline-face ((t (:foreground "brown" :weight bold :height 1.2))))
17505
2003-12-17 23:33 aruttenberg
17511
2003-12-17 23:29 aruttenberg
8388
17515
Allow some face choices in the inspector. Try
8389
17516
'(slime-inspector-label-face ((t (:weight bold))))
8390
17517
'(slime-inspector-topline-face ((t (:foreground "brown" :weight bold :height 1.2))))
8391
17518
'(slime-inspector-type-face ((t (:foreground "DarkRed" :weight bold))))
8392
17519
You can also set slime-inspector-value-face
8394
2003-12-17 Alan Ruttenberg <alanr-l@mumble.net>
8396
* swank-openmcl.lisp 1.40
8397
Fix an error with frame-source-location-for-emacs when the
8398
function was a method-function.
8399
Defined method-source-location that handles this case. You can
8400
still end up looking at the wrong definition, as the protocol
8401
doesn't allow passing back the qualifiers and specializers to look
8402
up the correct one in the file
8404
. * swank-openmcl.lisp 1.39
8405
Allow you to continue after interrupting.
8406
Properly set *swank-debugger-stack-frame* when interrupting.
8409
sldb-continue now uses slime-oneway-eval
8411
2003-12-17 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8413
* slime.el: Better handling of asynchronous output.
8414
(slime-output-end): New variable. Use this marker to insert
8415
output. Insert asynchronous output inserted before the "input
8416
region" and before the prompt.
17521
2003-12-17 22:56 aruttenberg
17525
Updated changelog for previous changes.
17527
2003-12-17 22:20 heller
17533
2003-12-17 22:19 heller
17537
Better handling of asynchronous output.
17538
(slime-output-end): New variable. Use this marker to insert output.
17539
Insert asynchronous output inserted before the "input region" and
8417
17541
(slime-show-last-output): Use it.
8418
17542
(slime-repl-insert-prompt): Initialize it.
8419
17543
(slime-last-output-start): Removed.
8421
17545
(slime-with-output-end-mark): Renamed from
8422
17546
slime-with-output-at-eob. Insert a newline if needed.
8423
17547
(slime-output-string, slime-repl-activate): Use it.
8424
(slime-repl-return): Ensure that slime-repl-input-end-mark points
8425
to a reasonable location.
8427
2003-12-17 Luke Gorrie <luke@bluetail.com>
8429
* HACKING: New file summarising our way of working.
8431
2003-12-16 Luke Gorrie <luke@bluetail.com>
8433
* slime.el (slime-lisp-preferred-package-nicknames): Removed. Not
8434
very interesting (and slightly broken) now that shortest-nicknames
8435
are automatically used.
8436
(slime-output-oneway-evaluate-request): New function to evaluate
8437
an expression for side-effects (without getting a
17548
(slime-repl-return): Ensure that slime-repl-input-end-mark points to a
17549
reasonable location.
17551
2003-12-17 19:19 lgorrie
17557
2003-12-17 19:19 lgorrie
17561
New file summarising our way of working.
17563
2003-12-17 18:07 aruttenberg
17565
* swank-openmcl.lisp:
17567
Fix an error with frame-source-location-for-emacs when the function was a method-function.
17568
Defined method-source-location that handles this case. You can still end up looking at the wrong
17569
definition, as the protocol doesn't allow passing back the qualifiers and specializers to look
17570
up the correct one in the file.
17572
2003-12-17 05:40 aruttenberg
17576
sldb-continue now uses slime-oneway-eval
17578
2003-12-16 13:49 lgorrie
17584
2003-12-16 13:49 lgorrie
17588
(slime-read-string-state): Added :emacs-evaluate-oneway.
17590
(slime-debugging-state): Removed transition for :READ-STRING. Why on
17591
earth did I add it just an hour or two ago?
17593
2003-12-16 11:28 lgorrie
17599
2003-12-16 11:28 lgorrie
17601
* swank-backend.lisp:
17603
Exported invoke-nth-restart-for-emacs and sldb-break-with-default-debugger.
17605
2003-12-16 11:07 lgorrie
17609
(invoke-nth-restart-for-emacs): Wrapper around INVOKE-NTH-RESTART that
17610
checks that Lisp and Emacs agree on the debug level. This detects and
17611
ignores old restart requests when several are sent at once (possible
17612
because of new oneway-eval feature).
17614
(oneway-eval-string): New function to evaluate a string without
17615
sending a result, and with *DEBUGGER-HOOK* bound to NIL. (The debugger
17616
hook is inhibited to avoid state conflicts.)
17618
2003-12-16 11:07 lgorrie
17622
(slime-output-oneway-evaluate-request): New function to evaluate an
17623
expression for side-effects (without getting a result).
8439
17625
(slime-idle-state): Handle new :emacs-evaluate-oneway.
8440
(slime-debugging-state): Handle :emacs-evaluate-oneway.
8441
(sldb-invoke-restart): Use slime-oneway-eval. This avoids pushing
8442
an evaluating state (which will be aborted, and print an unnecessary
17627
(slime-debugging-state): Handle :emacs-evaluate-oneway. Also handle
17630
(sldb-invoke-restart): Use slime-oneway-eval. This avoids pushing an
17631
evaluating state (which will be aborted, and print an unnecessary
8443
17632
message saying so).
8444
17634
(sldb-break-with-default-debugger): New command to break into the
8445
17635
default TTY debugger. Bound to 'B' in *sldb*.
8446
(slime-read-string-state): Added :emacs-evaluate-oneway.
8448
* swank.lisp (invoke-nth-restart-for-emacs): Wrapper around
8449
INVOKE-NTH-RESTART that checks that Lisp and Emacs agree on the
8450
debug level. This detects and ignores old restart requests when
8451
several are sent at once (possible because of new oneway-eval
8453
(oneway-eval-string): New function to evaluate a string without
8454
sending a result, and with *DEBUGGER-HOOK* bound to NIL. (The
8455
debugger hook is inhibited to avoid state conflicts.)
8457
2003-12-15 Luke Gorrie <luke@bluetail.com>
8459
* swank-openmcl.lisp (ccl::*warn-if-redefine-kernel*): Support for
8460
interrupting the listener (by Alan Ruttenberg).
8462
2003-12-15 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8464
* swank.lisp *start-swank-in-background*: Set to t by default.
8466
* slime.el (slime-eval-last-expression-display-output): New
8467
command. Bound to C-x M-e. Suggested by Nicolas Neuss.
17637
2003-12-16 09:22 aruttenberg
17639
* swank-openmcl.lisp:
17641
Allow you to continue after interrupting. But you get a message
17642
"Evaluation aborted" that I have to ask about.
17644
2003-12-16 09:00 lgorrie
17650
2003-12-16 08:59 lgorrie
17654
(slime-lisp-preferred-package-nicknames): Removed. Not very
17655
interesting (and slightly broken) now that shortest-nicknames are
17656
automatically used.
17658
2003-12-16 04:29 aruttenberg
17660
* swank-openmcl.lisp:
17662
fix ccl::force-break-in-listener to move to frame immediately following %pascal-functions% which is where the sigint is effectively caught.
17664
Fixed type in create-swank-server
17666
2003-12-15 20:13 heller
17672
2003-12-15 20:12 heller
17676
*start-swank-in-background*: Set to t by default.
17678
2003-12-15 17:08 lgorrie
17684
2003-12-15 17:06 lgorrie
17686
* swank-openmcl.lisp:
17688
(ccl::force-break-in-listener): Bugfix.
17690
2003-12-15 16:58 lgorrie
17692
* swank-openmcl.lisp:
17694
(ccl::force-break-in-listener): Support for interrupting the Lisp subjob
17695
(by Alan Ruttenberg).
17697
2003-12-15 16:54 heller
17703
2003-12-15 16:53 heller
17707
(slime-eval-last-expression-display-output): New command. Bound to
17708
C-x M-e. Suggested by Nicolas Neuss.
8468
17709
(slime-display-output-buffer): New function.
8469
17710
(slime-slime-compile-file): Use it.
8471
2003-12-15 Luke Gorrie <luke@bluetail.com>
8473
* swank.lisp (*processing-rpc*, *multiprocessing-enabled*,
8474
*debugger-hook-passback*): New variables.
8475
(with-conversation-lock, with-I/O-lock): New macros.
17712
2003-12-15 13:29 lgorrie
17718
2003-12-15 13:29 lgorrie
17722
(send-to-emacs): Put back WITHOUT-INTERRUPTS* -- not sure exactly what
17723
it's for, but I had no actual reason to remove it so I probably broke
17726
2003-12-15 13:01 lgorrie
17732
2003-12-15 13:01 lgorrie
17736
(eval-region, shortest-package-nickname): Report the shortest package
17737
nickname to Emacs (for the REPL prompt). Patch from Marco Baringer.
17739
2003-12-15 06:29 lgorrie
17745
2003-12-15 06:29 lgorrie
17749
(*processing-rpc*, *multiprocessing-enabled*, (with-conversation-lock,
17750
with-I/O-lock): New macros.
8476
17752
(read-next-form): Use with-I/O-lock.
8477
(send-to-emacs): Use with-I/O-lock.
8478
(swank-debugger-hook): When called asynchronously (i.e. not
8479
during RPC) and multiprocessing is enabled, suspend until
8480
acknowleged by Emacs.
17754
(send-to-emacs): Use with-I/O-lock instead of
17755
without-interrupts*. (But should we have without-interrupts* too?)
17757
(swank-debugger-hook): When called asynchronously (i.e. not during
17758
RPC) and multiprocessing is enabled, suspend until acknowleged by
8481
17761
(install-global-debugger-hook): Install a SLIME-DEBUGGER-FUNCTION
8482
17762
globally on *DEBUGGER-HOOK*.
8483
17764
(startup-multiprocessing-for-emacs): Called to initialize multiprocessing.
8484
17766
(eval-string): Dynamically set the *PROCESSING-RPC* flag.
8485
(eval-string): Nasty hack with *DEBUGGER-HOOK-PASSBACK* to
8486
install debugger hook. Temporary, I swear!
8487
(eval-region, shortest-package-nickname): Report the shortest
8488
package nickname to Emacs (for the REPL prompt). Patch from Marco
8491
* swank-backend.lisp: Defined multiprocessing interface.
8493
* swank-cmucl.lisp: Implmemented the multiprocessing interface.
8495
* slime.el (slime-multiprocessing): When true, use
8496
multiprocessing in Lisp if available.
8497
(slime-global-debugger-hook): When true, globally set
8498
*debugger-hook* to use the SLIME debugger. For use with
8499
SERVE-EVENT and multiprocessing.
8500
(slime-handle-oob): Handle :AWAITING-GOAHEAD message from threads
8501
that have suspended to wait for Emacs's attention.
17768
(eval-string): Nasty hack with *DEBUGGER-HOOK-PASSBACK* to install
17769
debugger hook. Temporary, I swear!
17771
2003-12-15 06:28 lgorrie
17773
* swank-cmucl.lisp:
17775
Implmemented the multiprocessing interface.
17777
2003-12-15 06:27 lgorrie
17779
* swank-backend.lisp:
17781
Defined multiprocessing interface.
17783
2003-12-15 06:27 lgorrie
17787
(slime-multiprocessing): When true, use multiprocessing in Lisp if
17790
(slime-global-debugger-hook): When true, globally set *debugger-hook*
17791
to use the SLIME debugger. For use with SERVE-EVENT and
17794
(slime-handle-oob): Handle :AWAITING-GOAHEAD message from threads that
17795
have suspended to wait for Emacs's attention.
8502
17797
(slime-give-goahead): New command to allow a suspended thread to
8503
17798
continue (bound to RET in the thread-control-panel).
8504
(slime-thread-control-panel): New command to display a buffer
8505
showing all threads that are suspending waiting for Emacs's
8506
attention. Bound to `C-c C-x t'.
8507
(slime-popup-thread-control-panel): When true, automatically
8508
popup the thread-control buffer when a new thread suspends.
8510
2003-12-14 Alan Ruttenberg <alanr-l@mumble.net>
8512
* swank-openmcl.lisp (eval-in-frame, inspect-object and friends):
8513
Most of this is copied from swank-cmucl. The parts between &&&&&
8514
are what I added for openmcl. I piggyback off the inspector which
8515
is shipped with openmcl, so inspecting won't look the same as it
8516
would in cmucl, I imagine. Still, it's a start. eval in frame
8517
uses frame-locals to get bindings so if you have debug settings
8518
low or don't have *save-local-symbols* set you won't be able to
8521
2003-12-14 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8523
* swank-lispworks.lisp (tracedp, toggle-trace-fdefinition): Moved
8526
* swank-allegro.lisp (create-swank-server): Add support for
8527
BACKGROUND and CLOSE argument.
8528
(call-with-debugging-environment): Use excl::int-newest-frame to
8529
avoid the kludge with *break-hook*.
8530
(sldb-abort): New function.
8531
(frame-source-location-for-emacs): Dummy definition.
8532
(compile-file-for-emacs): The argument is called
8533
:load-after-compile and not :load.
17800
(slime-thread-control-panel): New command to display a buffer showing
17801
all threads that are suspending waiting for Emacs's attention. Bound
17804
(slime-popup-thread-control-panel): When true, automatically popup the
17805
thread-control buffer when a new thread suspends.
17807
2003-12-14 09:27 heller
17813
2003-12-14 09:24 heller
17815
* swank-openmcl.lisp:
17817
Mega patch by Alan Ruttenberg. Implements eval-in-frame and inspector
17820
2003-12-14 09:02 heller
17826
2003-12-14 08:59 heller
17828
* swank-lispworks.lisp:
17830
(tracedp, toggle-trace-fdefinition): Moved to swank.lisp.
17832
2003-12-14 08:58 heller
17834
* swank-allegro.lisp:
17836
(create-swank-server): Add support for BACKGROUND and CLOSE argument.
17838
(call-with-debugging-environment): Use excl::int-newest-frame to avoid
17839
the kludge with *break-hook*.
17841
(sldb-abort): Add Allegro support.
17842
(frame-source-location-for-emacs): Add dummy definition.
17844
(compile-file-for-emacs): The argument is called :load-after-compile
8534
17847
(xref-results-for-emacs): Use dolist instead of loop.
8536
* swank-openmcl.lisp (create-swank-server): Add support for
8537
BACKGROUND and CLOSE argument.
17849
2003-12-14 08:55 heller
17851
* swank-openmcl.lisp:
17853
(create-swank-server): Add support for BACKGROUND and CLOSE argument.
8538
17854
(open-stream-to-emacs): Support for dedicated output stream.
8540
* swank.lisp: *start-swank-in-background*,
8541
*close-swank-socket-after-setup*, *use-dedicated-output-stream*:
8542
Moved here from swank-cmucl.
8543
(sldb-continue): Don't pass the condition as argument, because
8544
that doesn't work with Allegro.
8545
(toggle-trace-fdefinition, tracedp): Replace backend specific code
8546
with portable, but ugly, calls to eval.
8548
* swank-cmucl.lisp (compile-system-for-emacs): Add method for
8551
* slime.el (slime-goto-source-location): Better regexp for package
8552
qualified symbols. Allow dashes in the name and two colons.
8553
Reported by Alan Ruttenberg.
8555
2003-12-13 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8557
* swank-openmcl.lisp (create-swank-server): Interrupt the right
8558
thread. Patch by Alan Ruttenberg. Not yet enabled, due to lack
8560
(sldb-disassemble): Implement sldb-disassemble command. Patch by
17856
2003-12-14 08:52 heller
17860
*start-swank-in-background*, *close-swank-socket-after-setup*,
17861
*use-dedicated-output-stream*: Moved here from swank-cmucl.
17863
(sldb-continue): Don't pass the condition as argument, because that
17864
*doesn't work with Allegro.
17866
(toggle-trace-fdefinition, tracedp): Remove backend specific code with
17867
portable, but ugly, to calls to eval.
17869
2003-12-14 08:48 heller
17871
* swank-cmucl.lisp:
17873
(compile-system-for-emacs): Add method for CMUCL.
17875
2003-12-14 08:47 heller
17879
(slime-goto-source-location): Better regexp for package qualified
17880
symbols. Allow dashes in the name and two colons. Reported by Alan
17883
2003-12-13 11:15 heller
17889
2003-12-13 11:03 heller
17895
2003-12-13 11:00 heller
17897
* swank-openmcl.lisp:
17899
(create-swank-server, ccl::force-break-in-listener): Patch by Alan
17900
Ruttenberg. Not yet enabled.
17902
(sldb-disassemble): Implement sldb-disasssemble command. Patch by
8561
17903
Alan Ruttenberg.
8562
Remove #' from lambdas.
8564
2003-12-12 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8566
* swank-cmucl.lisp (create-swank-server): New keyword arguments to
8567
control the server: BACKGROUND and CLOSE. fd-handlers are used if
8568
BACKGROUND is true. If close CLOSE is true, close the socket
8569
after the first connection; keep it open otherwise.
8570
*start-swank-in-background*, *close-swank-socket-after-setup*: The
8571
default values of the corresponding arguments for
8572
create-swank-server.
8573
(compile-file-for-emacs): Don't load the fasl-file when the
8576
* swank-openmcl.lisp (toggle-trace-fdefinition, tracedp):
8577
Implement trace command. Patch by Alan Ruttenberg.
8578
(find-function-locations, find-source-locations): Handle
8579
variables, and method-combinations. General cleanups.
17905
Remove some #' form lambdas.
17907
2003-12-12 23:58 heller
17913
2003-12-12 23:56 heller
17915
* swank-loader.lisp:
17917
(user-init-file): Simplify the code.
17919
2003-12-12 23:52 heller
17923
(slime-output-string): Insert asynchronous output before the prompt.
17925
2003-12-12 23:52 heller
17927
* swank-cmucl.lisp:
17929
(create-swank-server): New keyword arguments to control the server:
17930
BACKGROUND and CLOSE. fd-handlers are used if BACKGROUND is true. If
17931
close CLOSE is true close the socket after the first connection; keep
17933
*start-swank-in-background*, *close-swank-socket-after-setup*:
17934
The default values of corresponding arguments for create-swank-server.
17936
(compile-file-for-emacs): Don't load the fasl-file the compile failed.
17938
2003-12-12 23:47 heller
17940
* swank-openmcl.lisp:
17942
(swank-accept-connection): Accept multiple connections. Patch by
17945
2003-12-12 13:41 heller
17951
2003-12-12 13:38 heller
17953
* swank-openmcl.lisp:
17955
(list-callers): method-name is not exported in 0.14. Fix by Marco Baringer.
17957
2003-12-12 12:21 heller
17963
2003-12-12 12:18 heller
17965
* swank-openmcl.lisp:
17967
(toggle-trace-fdefinition, tracedp): Implement trace command. Patch
17968
by Alan Ruttenberg.
17970
(find-function-locations, find-source-locations): Handle variables,
17971
and method-combinations. General cleanups.
8580
17972
(source-info-first-file-name): Removed.
8581
17974
(list-callers): Fixed.
8582
(list-callers): Fixed some more. method-name is not exported in
8583
0.14. From Marco Baringer.
8584
(swank-accept-connection): Accept multiple connections. Patch by
8587
* swank-loader.lisp (user-init-file): Use homedir's truename.
8588
Reported by Friedrich Dominicus.
8590
* slime.el (slime-repl-current-input): Don't remove the final
8591
newline if we are in reading state.
8592
(slime-goto-source-location): Regex-quote the function-name and
17976
2003-12-12 12:13 heller
17978
* swank-loader.lisp:
17980
(user-init-file): Use homedir's truename. Reported by Friedrich Dominicus.
17982
2003-12-12 12:11 heller
17986
(slime-repl-current-input): Don't remove the final newline only if we
17987
are in reading state.
17988
(slime-goto-source-location): Regex-quote the function name and
8593
17989
handle package prefixes. Reported by Alan Ruttenberg.
8594
(slime-output-string): Insert asynchronous output before the
8597
2003-12-12 Daniel Barlow <dan@telent.net>
8599
* swank-source-path-parser.lisp: new file, excerpting part of
8600
swank-cmucl.lisp to where SBCL can find it as well.
8602
2003-12-11 Luke Gorrie <luke@bluetail.com>
8604
* slime.el (slime-one-line-ify): New function to convert
8605
multi-line strings to one-liners by replacing any newline
8606
followed by indentation by a single space.
17991
2003-12-12 05:54 dbarlow
17993
* swank-source-path-parser.lisp:
17995
it might work better if this file were actually committed
17997
2003-12-12 04:22 dbarlow
17999
* ChangeLog, b0rk.lisp, swank-cmucl.lisp, swank-loader.lisp,
18002
* swank-source-path-parser.lisp: new file, excerpting part of
18003
swank-cmucl.lisp to where SBCL can find it as well.
18005
2003-12-12 02:51 lgorrie
18007
* ChangeLog, slime.el:
18009
(slime-one-line-ify): New function to convert multi-line strings to
18010
one-liners by replacing any newline followed by indentation by a
8607
18013
(slime-xrefs-for-notes): Use it.
8609
2003-12-11 Daniel Barlow <dan@telent.net>
8611
* swank-sbcl.lisp (compiler-note-location): replace with
8612
thinly-ported version from the CMUCL backend which understands
8615
* slime.el (slime-xrefs-for-notes): a little more temporary
8616
variables, a little less cdr. Should be slightly faster on
8618
(slime-goto-next-xref): set window point as well as buffer point -
8619
now works in GNU Emacs 21.2.1
8621
* swank.lisp (swank-compiler): new function abstracts commonality
8622
between swank-compile-{file, string}.
8623
(swank-load-system): call swank-compiler to load asdf system
8625
* swank-sbcl.lisp (compiler-note-location and elsewhere):
8626
remove all trace of *compile-filename*
8627
(compile-*-for-emacs): shorten
8629
* swank-backend.lisp (call-with-compilation-hooks): new GF
8630
should set up all appropriate error condition loggers etc
8631
to do a compilation preserving the notes. Implement for
8634
* slime.el (slime-find-asd, slime-load-system): new command
8635
to compile and load an ASDF system with all the usual compiler
8637
(slime-compilation-finished): if more than one file has new
8638
errors/notes, create an xref buffer to show them all
8639
(slime-remove-old-overlays): bug fix: now removes overlays even
8641
(slime-overlay-note): do nothing quietly if
8642
slime-choose-overlay-region returns nil
8643
(slime-choose-overlay-region): return nil if note has no location
8645
2003-12-11 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8647
* slime.el (slime-repl-previous-prompt, slime-repl-next-prompt):
8648
New commands. Suggested by H�kon Alstadheim.
8649
(slime-repl-beginning-of-defun, slime-repl-end-of-defun): New
8650
commands. Suggested by Andreas Fuchs.
8651
(slime-repl-insert-prompt): Mark the prompt with a
8652
slime-repl-prompt text property.
18015
2003-12-11 20:31 lgorrie
18017
* ChangeLog, slime.el:
18019
(slime-xrefs-for-notes): Commented out use of
18020
`replace-regexp-in-string' (not available in emacs20, and not sure why
18023
2003-12-11 18:08 dbarlow
18025
* slime.el, swank-sbcl.lisp:
18027
unbroke last commit, in two obvious respects
18029
2003-12-11 17:37 dbarlow
18031
* ChangeLog, slime.el, swank-sbcl.lisp:
18033
* swank-sbcl.lisp (compiler-note-location): replace with
18034
thinly-ported version from the CMUCL backend which understands
18035
:lisp as a pathname
18037
* slime.el (slime-xrefs-for-notes): a little more temporary
18038
variables, a little less cdr. Should be slightly faster on
18040
(slime-goto-next-xref): set window point as well as buffer point -
18041
now works in GNU Emacs 21.2.1
18043
2003-12-11 07:59 dbarlow
18047
source-path-file-position broken
18049
2003-12-11 05:57 dbarlow
18051
* ChangeLog, slime.el:
18053
Significantly more friendly display of compiler notes when there
18054
are multiple buffers involved
18056
2003-12-11 03:20 dbarlow
18062
2003-12-11 03:20 dbarlow
18066
* swank.lisp (swank-compiler): new function abstracts commonality
18067
between swank-compile-{file, string}.
18068
(swank-load-system): call swank-compiler to load asdf system
18070
2003-12-11 03:20 dbarlow
18074
* swank-backend.lisp (call-with-compilation-hooks): new GF
18075
should set up all appropriate error condition loggers etc
18076
to do a compilation preserving the notes. Implement for
18079
* swank-sbcl.lisp (compiler-note-location and elsewhere):
18080
remove all trace of *compile-filename*
18081
(compile-*-for-emacs): shorten
18083
2003-12-11 03:19 dbarlow
18085
* swank-backend.lisp, swank-cmucl.lisp:
18087
* swank-backend.lisp (call-with-compilation-hooks): new GF
18088
should set up all appropriate error condition loggers etc
18089
to do a compilation preserving the notes. Implement for
18092
2003-12-11 03:19 dbarlow
18096
* slime.el (slime-find-asd, slime-load-system): new command
18097
to compile and load an ASDF system with all the usual compiler
18099
(slime-compilation-finished): minimally handle multiple file
18100
compiles, by printing the names of all files with notes in the
18102
(slime-remove-old-overlays): bug fix: now removes overlays even
18104
(slime-overlay-note): do nothing quietly if
18105
slime-choose-overlay-region returns nil
18106
(slime-choose-overlay-region): return nil if note has no location
18108
2003-12-11 00:22 heller
18114
2003-12-11 00:16 heller
18116
* swank-cmucl.lisp:
18118
(accept-connection, request-loop): Don't use fd-handlers. The code is
18119
now almost identical request-loop itself is now almost identical as
18120
the Allegro version.
18121
(print-ir1-converted-blocks, expand-ir1-top-level): New functions.
18123
2003-12-11 00:14 heller
18127
(slime-repl-previous-prompt, slime-repl-next-prompt): New commands.
18128
(slime-repl-beginning-of-defun, slime-repl-end-of-defun): New commands.
18129
(slime-repl-insert-prompt): Mark the prompt with a slime-repl-prompt
8653
18131
(slime-repl-eol): New function. Mostly for symmetry.
8654
18132
(slime-repl-in-input-area-p, slime-repl-at-prompt-end-p): New
8656
(slime-repl-find-prompt, slime-search-property-change-fn): New
18134
(slime-repl-find-prompt, slime-search-property-change-fn): New functions.
8658
18135
(slime-ir1-expand): New command.
8660
* swank-cmucl.lisp (accept-connection, request-loop): Don't use
8661
fd-handlers. The code for the request-loop itself is now almost
8662
the same as in the Allegro version.
8663
(print-ir1-converted-blocks, expand-ir1-top-level): New functions.
8665
2003-12-10 Daniel Barlow <dan@telent.net>
8667
* swank-sbcl.lisp (serve-request): more fiddling with serve-event
8670
* slime.el (slime-repl-return): slime-check-connected, otherwise
8671
pressing Return in an unconnected repl gets a bit weird
8673
2003-12-10 Helmut Eller <e9626484@stud3.tuwien.ac.at>
18137
2003-12-10 20:02 dbarlow
18139
* ChangeLog, slime.el, swank-sbcl.lisp:
18141
* swank-sbcl.lisp (serve-request): more fiddling with serve-event
18144
* slime.el (slime-repl-return): slime-check-connected, otherwise
18145
pressing Return in an unconnected repl gets a bit weird
18147
2003-12-10 14:27 heller
18153
2003-12-10 14:26 heller
8675
18155
* swank-allegro.lisp, swank-lispworks.lisp, swank-openmcl.lisp,
8676
swank-sbcl.lisp (create-swank-server): Accept an announce-function
8679
* swank.lisp (start-server): Pass an announce callback function to
18158
(create-swank-server): Accept an announce-function keyword argument.
18160
2003-12-10 14:24 heller
18164
(start-server): Pass an announce callback function to
8680
18165
create-swank-server. Works better with single threaded
8681
18166
implementations.
8682
18167
(announce-server-port, simple-announce-function): New functions.
8683
18168
(alistify): Doc fix.
8685
* swank-cmucl.lisp (create-swank-server): Use announce callback.
18170
2003-12-10 14:20 heller
18172
* swank-cmucl.lisp:
18174
(create-swank-server): Use announce callback.
8686
18175
(sldb-disassemble): New function.
8688
* slime.el (sldb-disassemble): New command. Bound to D.
8690
2003-12-08 Luke Gorrie <luke@bluetail.com>
8692
* swank-cmucl.lisp (*debug-definition-finding*): Now nil by
8693
default, so that errors while looking for definitions are printed
8694
as a message and not debugged.
8696
* slime.el (slime-read-from-minibuffer): Now the only
8697
completing-read function, stale ones deleted.
8699
2003-12-07 Luke Gorrie <luke@bluetail.com>
8701
* slime.el (sldb-prune-initial-frames): Use regexp-heuristics and
8702
the '--more--' token to avoid showing the user Swank-internal
8703
backtrace frames initially.
8704
(slime-repl-current-input): Don't include the final newline
8705
character, to make backtraces prettier.
8706
(slime-autodoc): Fixed annoying case where autodocs would be
8707
fetched in a loop for undocumented symbols.
8709
* swank.lisp (compound-prefix-match): New name and rewritten for
8710
speed. Completion is much faster now.
8711
(*sldb-initial-frames*): Send up to this many (default 20)
8712
backtrace frames to Emacs when entering the debugger.
8714
2003-12-07 Helmut Eller <e9626484@stud3.tuwien.ac.at>
18177
2003-12-10 14:13 heller
18181
(sldb-disassemble): New command. Bound to D.
18183
2003-12-08 02:44 lgorrie
18189
2003-12-08 02:43 lgorrie
18191
* swank-cmucl.lisp:
18193
(*debug-definition-finding*): Now nil by default.
18195
2003-12-08 00:56 lgorrie
18199
Updated an arglist test case.
18201
2003-12-08 00:43 lgorrie
18207
2003-12-08 00:43 lgorrie
18211
(slime-read-from-minibuffer): Now the only completing-read function,
18212
stale ones deleted.
18214
(sldb-prune-initial-frames): Use regexp-heuristics and the '--more--'
18215
token to avoid showing the user Swank-internal backtrace frames
18218
(slime-repl-current-input): Don't include the final newline character,
18219
to make backtraces prettier.
18221
(slime-autodoc): Fixed annoying case where autodocs would be fetched
18222
in a loop for undocumented symbols.
18224
2003-12-08 00:42 lgorrie
18228
(compound-prefix-match): New name and rewritten for speed. Completion
18229
is much faster now.
18231
(*sldb-initial-frames*): Send up to this many (default 20) backtrace
18232
frames to Emacs when entering the debugger.
18234
2003-12-07 20:23 heller
18240
2003-12-07 20:16 heller
8716
18242
* swank-allegro.lisp, swank-backend.lisp, swank-cmucl.lisp,
8717
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp
8718
(function-source-locations): Make it at generic function.
8719
(function-source-location-for-emacs): Removed. Fixes bug reported
8722
* slime.el (slime-interactive-eval): Insert the result at point,
8723
if called with prefix argument.
8725
2003-12-06 Luke Gorrie <luke@bluetail.com>
8727
* slime.el (slime-easy-menu): Added menubar support, contributed
8728
by Friedrich Dominicus.
8730
2003-12-06 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8732
* swank-allegro.lisp: New file.
8734
* swank-loader.lisp (user-init-file): Translate logical
8735
pathnames. Reported by Friedrich Dominicus.
8737
* swank-sbcl.lisp (handle-notification-condition): Don't ignore
8738
warnings without context.
18243
swank-lispworks.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
18245
(function-source-locations): Is replaces
18246
function-source-location-for-emacs. Make it at generic function.
18247
(function-source-location-for-emacs): Remove.
18249
2003-12-07 20:13 heller
18253
(slime-interactive-eval): Insert the result at point, if called with
18256
2003-12-06 22:41 lgorrie
18262
2003-12-06 22:41 lgorrie
18266
(slime-easy-menu): Added menubar support, contributed by Friedrich
18269
2003-12-06 14:14 heller
18275
2003-12-06 14:13 heller
18277
* swank-allegro.lisp:
18281
2003-12-06 14:10 heller
18287
2003-12-06 14:08 heller
18289
* swank-loader.lisp:
18291
(user-init-file): Translate logical (user-homedir-) pathnames.
18292
Reported by Friedrich Dominicus.
18294
2003-12-06 09:43 heller
18300
2003-12-06 09:42 heller
18304
(open-listener): Don't make the socket non-blocking.
18306
2003-12-06 09:16 heller
18312
2003-12-06 09:13 heller
18316
(handle-notification-condition): Don't ignore warnings without
8739
18317
(compiler-note-location, brief-compiler-message-for-emacs,
8740
18318
compiler-note-location): Handle null context.
8741
(compile-file-for-emacs): Bind *compile-filename* and load the
8742
fasl file only if it exists.
8743
(function-source-location): The name argument is now optional and
18319
(compile-file-for-emacs): Bind *compile-filename* and load the fasl
18320
file only if it exists.
18321
(function-source-location): The name argument is now optional a should
8745
18323
(find-function-locations): Return errors as a list of one error.
8746
18324
(call-with-debugging-environment): Set *print-level* to 4 and
8747
*print-length* to 10. (Both where nil.)
8748
(source-location-for-emacs): Fall back to the location of the
8749
function, if there is no debug-block-info.
8750
(safe-source-location-for-emacs): Don't catch all conditions; only
8752
*compile-filename*: New variable
8753
(open-listener): Don't make the socket non-blocking.
8755
* slime.el (slime-eval/compile-defun-dwim): New command.
8756
Suggested by "jan" <janmar@iprimus.com.au>.
8758
2003-12-04 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8760
* slime.el (slime-debugging-state): Don't set sldb-level after
8761
sldb-setup. Breaks the test-suite.
18325
*print-level* to 10. (Where both nil.)
18326
(source-location-for-emacs): Fall back to the location of the function
18327
if there is no block-debug-info.
18328
(safe-source-location-for-emacs): Catch error only; not all conditions.
18329
*compile-filename*: New variable.
18331
2003-12-06 09:06 heller
18335
slime-eval/compile-defun-dwim: New command. Suggested by "jan".
18337
2003-12-04 22:36 heller
18343
2003-12-04 22:33 heller
18345
* swank-cmucl.lisp:
18347
(format-frame-for-emacs, compute-backtrace, backtrace): Don't send
18348
CMUCL's frame numbers to Emacs, use our own numbering.
18349
(set-step-breakpoints, sldb-step): Lisp side of sldb-step command.
18351
2003-12-04 22:30 heller
18355
(slime-debugging-state): Don't set sldb-level after sldb-setup. Breaks
8762
18357
(slime-eval-defun): Fix typos.
8763
(slime-xref-buffer, slime-goto-next-xref): Updated for the new
18358
(slime-xref-buffer, slime-goto-next-xref): Updated for the new xref
8765
18360
(sldb-inspect-in-frame): Query with the sexp at point as initial
8767
18362
(sldb-step): New command. Bound to s.
8769
* swank-cmucl.lisp (format-frame-for-emacs, compute-backtrace,
8770
backtrace): Don't send CMUCL's frame numbers to Emacs, use our own
8772
(set-step-breakpoints, sldb-step): Lisp side of sldb-step command.
8774
2003-12-04 Luke Gorrie <luke@bluetail.com>
8776
* hyperspec.el: Updated URL to point to a live copy of the
8777
hyperspec at lispworks.com, because the one on xanalys.com has
8778
disappeared. Patch from Vincent Arkesteijn on the ilisp-devel
8781
2003-12-04 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8783
* swank-lispworks.lisp (toggle-trace-fdefinition, tracedp): New
8784
support functions for toggle-trace command. Written by Alain
18364
2003-12-04 17:43 lgorrie
18370
2003-12-04 17:42 lgorrie
18374
Updated URL to point to a live copy of the hyperspec at lispworks.com,
18375
because the one on xanalys.com has disappeared. Patch from Vincent
18376
Arkesteijn on the ilisp-devel mailing list.
18378
2003-12-04 08:43 heller
18384
2003-12-04 08:42 heller
18386
* swank-lispworks.lisp:
18388
(toggle-trace-fdefinition, tracedp): New support functions for
18389
toggle-trace command. Written by Alain Picard.
8786
18390
(compile-from-temp-file): Don't delete the binary file if there is
8788
18392
(lispworks-severity): Map all ERRORs to :error.
8790
* slime.el (slime-eval-defun): Use slime-re-evaluate-defvar if the
8791
defun starts with "defvar". C-M-x in elisp does this too.
18394
2003-12-04 08:38 heller
18398
(slime-eval-defun): Use slime-re-evaluate-defvar if the defun starts
18399
with "defvar". C-M-x in elisp does this too.
8792
18400
(slime-re-evaluate-defvar): Take the form as argument.
8794
2003-12-03 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8796
* slime.el (slime-debugging-state): Initialize the sldb-buffer if
8797
(/= sldb-level level).
8798
(slime-who-specializes): New command.
8800
* swank-cmucl.lisp (create-swank-server): Set reuse-address to t
8802
(resolve-note-location): Add method for warnings in interpreted
18402
2003-12-03 23:37 heller
18408
2003-12-03 23:34 heller
18410
* swank-cmucl.lisp:
18412
(create-swank-server): Set reuse-address to t by default.
18413
(resolve-note-location): Add method for warnings in interpreted code.
8804
18414
(who-specializes): New function.
8805
(dd-source-location): Handle case without constructors more
8807
(source-path-source-position): Skip ambigous entries in
18415
(dd-source-location): Handle case without constructors more correctly.
18416
(source-path-source-position): Skip ambigous entries in source-map.
8809
18417
(source-location-from-code-location): Simplified.
8811
2003-12-03 Luke Gorrie <luke@bluetail.com>
8813
* slime.el (slime-completing-read-internal): Fix from Sean
8816
2003-12-02 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8818
* swank-sbcl.lisp (find-function-locations): Return a non-empty
8819
list of source locations.
8821
* slime.el (slime-with-xref-buffer): Remove spurious comma. (Bug
8822
reported by Raymond Wiker). Some reordering of the xref code.
8824
* swank.lisp (documentation-symbol): New optional argument for
8825
return value if the symbol is not documented.
8827
2003-12-02 Sean O'Rourke <sorourke@cs.ucsd.edu>
8829
* slime.el: (slime-repl-{clear-buffer,clear-output}): clear the
8830
last and entire output in the *slime-repl* buffer
18419
2003-12-03 23:30 heller
18423
(slime-debugging-state): Initialize the sldb-buffer if (/= sldb-level
18425
(slime-who-specializes): New command.
18427
2003-12-03 22:00 lgorrie
18433
2003-12-03 21:46 lgorrie
18437
(slime-completing-read-internal): Fix from Sean O'Rourke.
18439
2003-12-02 15:02 heller
18445
2003-12-02 15:01 heller
18449
(find-function-locations): Return a non-empty list of source locations.
18451
2003-12-02 14:56 heller
18455
(documentation-symbol): New optional argument for return value if the
18456
symbol is not documented.
18458
2003-12-02 14:55 heller
18462
Patch by Sean O'Rourke:
18463
slime-repl-{clear-buffer,clear-output}: clear the last and
18464
entire output in the *slime-repl* buffer
8831
18465
(slime-documentation): pop up a buffer with a symbol's
8832
18466
documentation instead of its description, if found.
8833
(slime-complete-symbol): tweak the completion, taken from ilisp, to
18467
(slime-complete-symbol): tweak to completion, taken from ilisp, to
8834
18468
complete filenames inside strings.
8835
18469
(slime-set-default-directory): also set *slime-repl*'s
8836
18470
default-directory, so e.g. find-file makes sense.
8838
2003-12-02 Daniel Barlow <dan@telent.net>
8840
* slime.el (slime-with-xref-buffer): moved further up the file so
8841
it's defined before slime-show-xrefs needs it
8843
* swank-sbcl.lisp (function-source-location-for-emacs): return a
8844
list of source locations (one per method) when the request is
8845
for a GF. This seems to make the elisp side popup a window
8846
to let the user select one. Cool.
8848
2003-12-01 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8850
* swank-[cmucl,sbcl,openmcl,lispworks].lisp (invoke-nth-restart):
8851
Use invoke-restart-interactively.
8853
* slime.el (slime-create-note-overlay, slime-sexp-depth): The
8854
'priority' property is unused. Remove it.
8856
* swank-openmcl.lisp (find-function-locations): Return all methods
8857
for generic functions. Doesn't work very well if multiple methods
8858
are in the same file.
18472
(slime-with-xref-buffer): Remove spurious comma. (Reported by Raymond
18475
Some reordering of the xref code.
18477
2003-12-02 02:33 dbarlow
18479
* ChangeLog, slime.el:
18481
* slime.el (slime-with-xref-buffer): moved further up the file so
18482
it's defined before slime-show-xrefs needs it
18484
2003-12-02 01:56 dbarlow
18490
2003-12-02 01:56 dbarlow
18494
* swank-sbcl.lisp (function-source-location-for-emacs): return a
18495
list of source locations (one per method) when the request is
18496
for a GF. This seems to make the elisp side popup a window
18497
to let the user select one. Cool.
18499
2003-12-01 23:33 heller
18505
2003-12-01 23:30 heller
18507
* swank-cmucl.lisp, swank-lispworks.lisp, swank-openmcl.lisp,
18510
(invoke-nth-restart): Use invoke-restart-interactively.
18512
2003-12-01 23:17 heller
18518
2003-12-01 23:15 heller
18522
(slime-create-note-overlay, slime-sexp-depth): The priority property
18523
is unused. Remove it.
18525
2003-12-01 23:12 heller
18527
* swank-openmcl.lisp:
18529
(find-function-locations): Return all methods for generic
18530
functions. Doens't work very well if multiple methos are in the same
8859
18533
(swank-accept-connection): Don't create an extra thread, call
8860
18534
request-loop directly.
8862
2003-12-01 Luke Gorrie <luke@bluetail.com>
8864
* slime.el (slime-repl-return): Goto end of input area before
8866
(slime-autodoc-message-ok-p): Test to see if a documentation
8867
message should be printed (returns nil if the
8868
minibuffer/echo-area is already being used).
8869
(slime-symbol-at-point): Skip back over whitespace before
8870
looking for the symbol.
8871
(slime-autodoc-delay): New configurable to specify the delay
8872
before printing an autodoc message (default 0.2 secs).
8873
(slime-ensure-typeout-frame): New function to call create a
8874
typeout frame unless it already exists. Suitable to run on
8875
slime-mode-hook if you always want to have a typeout window.
18536
2003-12-01 22:44 lgorrie
18542
2003-12-01 21:18 lgorrie
18548
2003-12-01 21:16 lgorrie
18552
(slime-repl-return): Goto end of input area before inserting newline.
18554
(slime-autodoc-message-ok-p): Test to see if a documentation message
18555
should be printed (returns nil if the minibuffer/echo-area is already
8876
18558
(slime-log-events): When nil, don't log events to
8877
*slime-events*. This works-around a problem Raymond Toy has when
8878
starting SLIME under XEmacs. Still investigating..
8880
2003-11-29 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8882
* slime.el: Rewrite the xref code to work with other source
8884
(slime-edit-fdefinition): Use the xref window to display generic
8885
functions with methods.
8886
(slime-goto-source-location): New representation for source
8887
locations. Drop old code.
8888
(slime-list-callers, slime-list-callees): Use the xref window.
8889
Remove the slime-select-* stuff.
8890
(slime-describe-function): New command. Bound to C-c C-f.
8891
Primarily useful in Lispworks.
8892
(slime-complete-symbol): Display the completion window if the
8893
prefix is complete but not unique.
8894
(slime-forward-positioned-source-path): Enter the sexp only if the
8895
remaining sourcepath is not empty.
8896
(slime-read-symbol-name): New optional argument QUERY forces
8899
* swank.lisp (group-xrefs): Handle unresolved source locations.
18560
(slime-symbol-at-point): Skip back over whitespace before looking for
18563
(slime-autodoc-delay): New configurable to specify the delay before
18564
printing an autodoc message (default 0.2 secs).
18566
(slime-ensure-typeout-frame): New function to call create a typeout
18567
frame unless it already exists. Suitable to run on slime-mode-hook if
18568
you always want to have a typeout window.
18570
2003-12-01 17:48 lgorrie
18576
2003-12-01 17:47 lgorrie
18580
(slime-repl-return): Goto end of input area before inserting newline.
18582
(slime-autodoc-message-ok-p): Test to see if a documentation message
18583
should be printed (returns nil if the minibuffer/echo-area is already
18586
(slime-log-events): When nil, don't log events to *slime-events*. This
18587
works-around a problem Raymond Toy has when starting SLIME under
18588
XEmacs. Still investigating..
18590
2003-11-30 09:20 heller
18596
2003-11-30 09:15 heller
18598
* swank-openmcl.lisp, swank-sbcl.lisp:
18600
Use the new format for source locations and implement
18601
find-function-locations (just calls the old code).
18603
2003-11-30 09:14 heller
18607
(group-xrefs): Handle unresolved source locations.
8900
18608
(describe-symbol): Print something sensible about unknown symbols.
8902
* swank-cmucl.lisp: Use the new format for source locations.
18610
2003-11-30 09:12 heller
18612
* swank-lispworks.lisp:
18614
Use the new format for source locations. Implement the
18615
find-function-locations.
18616
(list-callers, list-callers): New functions.
18618
2003-11-30 09:09 heller
18620
* swank-cmucl.lisp:
18622
Use the format for source locations.
8903
18623
(find-function-locations): New function. Replaces
8904
18624
function-source-location-for-emacs. Returns a list of
8905
18625
source-locations.
8906
(resolve-note-location): Renamed from resolve-location.
8908
(brief-compiler-message-for-emacs): Print the source context
8909
(that's the thing after ==>).
18627
(resolve-note-location): Renamed from resolve-location. Simplified.
18628
(brief-compiler-message-for-emacs): Print the source context (that's
18629
the thing after ==>).
8910
18631
(who-xxxx): Take strings, not symbols, as arguments.
8911
18632
(function-callees, function-callers): Use the same format as the
8912
18633
who-xxx functions. Support for byte-compiled stuff.
8913
(code-location-stream-position): Try to be clever is the source
8914
path doesn't match the form.
18635
(code-location-stream-position): Try to be clever is the source path
18636
doesn't match the form.
8915
18638
(call-with-debugging-environment): Bind *print-readably* to nil.
8917
* swank-lispworks.lisp: Use the new format for source
8918
locations. Implement the find-function-locations.
8919
(list-callers, list-callers): New functions.
8921
* swank-sbcl.lisp, swank-openmcl.lisp: Use the new format for
8922
source locations and implement find-function-locations (just calls
8925
2003-11-29 Daniel Barlow <dan@telent.net>
8927
* swank-sbcl.lisp (source-location-for-emacs):
8928
sb-debug::print-description-to-string takes only two args, not
8929
three. Now 'v' command works in sldb :-)
8931
* slime.el (slime-idle-state): added :debug as a valid transition
8933
* swank.lisp (slime-debugger-function): New. Returns a function
8934
suitable for use as the value of *DEBUGGER-HOOK* to install the
8935
SLIME debugger globally. Must be run from the *slime-repl* buffer
8936
or somewhere else that the slime streams are visible so that it
8937
can capture them. e.g. for Araneida:
8938
PKG> (setf araneida:*restart-on-handler-errors*
8939
(swank:slime-debugger-fucntion))
8941
2003-11-29 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8943
* slime.el: Some tweaking to the REPL. slime-repl-input-end-mark
8944
is now always left inserting and slime-mark-input-end
8945
"deactivates" the end mark by moving it to the beginning of the
18640
2003-11-30 08:58 heller
18645
(slime-goto-source-location): New representation for source
18646
locations. Drop old code.
18648
Rewrite the xref code to work with other source locations.
18649
(slime-edit-fdefinition): Use the xref window to display generic
18650
functions with methods.
18651
(slime-list-callers, slime-list-callees): Use the xref window. Remove
18652
the slime-select-* stuff.
18654
(slime-describe-function): New command. Bound to C-c C-f. Primarily
18655
useful in Lispworks.
18657
(slime-complete-symbol): Display the completion window if the prefix
18658
is complete but not unique.
18660
(slime-forward-positioned-source-path): Enter the sexp only if the
18661
remaining sourcepath is not empty.
18663
(slime-read-symbol-name): New optional argument QUERY forces querying.
18665
2003-11-30 00:31 dbarlow
18671
2003-11-30 00:31 dbarlow
18675
* swank-sbcl.lisp (source-location-for-emacs):
18676
sb-debug::print-description-to-string takes only two args, not
18677
three. Now 'v' command works in sldb :-)
18679
2003-11-29 23:57 dbarlow
18683
dead. not to mention out of date
18685
2003-11-29 23:15 dbarlow
18691
2003-11-29 23:15 dbarlow
18695
(slime-debugger-function): New. Returns a function suitable for use
18696
as the value of *DEBUGGER-HOOK* to install the SLIME debugger
18697
globally. Must be run from the *slime-repl* buffer or somewhere else
18698
that the slime streams are visible so that it can capture them.
18701
PKG> (setf araneida:*restart-on-handler-errors*
18702
(swank:slime-debugger-fucntion))
18704
2003-11-29 23:14 dbarlow
18708
Sort out some of the problems with stale serve-event handlers
18709
(note that you also need a fix for sb-bsd-sockets from 0.8.6.x SBCL,
18710
if this is bothering you)
18712
2003-11-29 23:12 dbarlow
18714
* swank-backend.lisp:
18716
export slime-debugger-function
18718
2003-11-29 23:12 dbarlow
18722
(slime-idle-state): added :debug as a valid transition
18724
2003-11-29 09:03 heller
18730
2003-11-29 08:59 heller
18732
* swank-lispworks.lisp:
18735
(make-dspec-location): Updated for the new source-location format.
18737
2003-11-29 08:58 heller
18739
* swank-cmucl.lisp:
18741
(code-location-source-location): Renamed from
18742
safe-source-location-for-emacs.
18743
(code-location-from-source-location): Renamed from
18744
source-location-for-emacs.
18745
(find-fdefinitions, function-source-locations): New functions.
18746
(safe-definition-finding): New macro.
18748
2003-11-29 08:53 heller
18752
Structure definitions for source-locations.
18753
(alistify, location-position<, group-xrefs): Utilities for xref support.
18755
2003-11-29 08:51 heller
18759
Some tweaking to the REPL. slime-repl-input-end-mark is now always
18760
left inserting and slime-mark-input-end "deactivates" the end mark by
18761
moving it the beginning of the buffer.
8947
18763
(slime-goto-source-location): Next try for more uniform
8948
18764
source-locations. A source-location is now a structure with a
8949
18765
"buffer-designator" and "position-designator". The buffer-designator
8950
18766
open the file or buffer and the position-designator moves point to the
8951
18767
right position.
8952
18769
(slime-autodoc-mode): New command.
8953
18771
(slime-find-fdefinitions): Experimental support for generic functions
8955
18773
(slime-show-xrefs, slime-insert-xrefs, slime-goto-xref): Rewritten to
8956
18774
work with more general source locations.
8958
* swank.lisp: Structure definitions for source-locations.
8959
(alistify, location-position<, group-xrefs): Utilities for xref
8962
* swank-cmucl.lisp (code-location-source-location): Renamed from
8963
safe-source-location-for-emacs.
8964
(code-location-from-source-location): Renamed from
8965
source-location-for-emacs.
8966
(find-fdefinitions, function-source-locations): New functions.
8967
(safe-definition-finding): New macro.
8969
* swank-lispworks.lisp: Xref support.
8970
(make-dspec-location): Updated for the new source-location format.
8972
2003-11-29 Luke Gorrie <luke@bluetail.com>
8974
* slime.el (complete-symbol, arglist): Updated test cases for new
8975
completion interface.
8977
2003-11-28 Luke Gorrie <luke@bluetail.com>
8979
* slime.el (slime-complete-symbol): Use the new completion
8980
support from the Lisp side. Don't obscure minibuffer input with
8981
completion messages.
8983
* completer.el: Dead and buried! Replaced by half a page of Common
8984
Lisp. Thanks Bill Clementson for a motivational and well-deserved
8987
* swank.lisp (longest-completion): Compute the best partial
8988
completion for Emacs.
8990
* slime.el (slime-swank-port-file): Try (temp-directory),
8991
temporary-file-directory, or "/tmp/", depending on what
8994
2003-11-28 Helmut Eller <e9626484@stud3.tuwien.ac.at>
8996
* swank-lispworks.lisp (make-dspec-location): Handle logical
8997
pathnames. Reported by Alain Picard.
8999
* swank-sbcl.lisp, swank-cmucl.lisp: Support for output
9000
redirection to an Emacs buffer via a dedicated network stream.
9001
Can be enabled with *use-dedicated-output-stream*.
9003
* swank.lisp (slime-read-string, eval-string): Flush *emacs-io*.
18776
2003-11-29 00:29 lgorrie
18782
2003-11-29 00:28 lgorrie
18788
2003-11-29 00:28 lgorrie
18792
(complete-symbol, arglist): Updated test cases for new completion
18795
2003-11-28 21:54 lgorrie
18799
Documentation fixes.
18801
2003-11-28 21:04 lgorrie
18807
2003-11-28 21:03 lgorrie
18811
Dead and buried! Replaced by half a page of Common Lisp. Thanks Bill
18812
Clementson for a motivational and well-deserved taunt.
18814
2003-11-28 21:03 lgorrie
18818
(slime-complete-symbol): Use the new completion support from the Lisp
18819
side. Don't obscure minibuffer input with completion messages.
18821
(slime-swank-port-file): Try (temp-directory), temporary-file-directory,
18822
or "/tmp/", depending on what is (f)bound.
18824
2003-11-28 20:54 lgorrie
18828
(longest-completion): Compute the best partial completion for Emacs.
18829
(completions): Use it.
18831
2003-11-28 15:28 heller
18837
2003-11-28 15:28 heller
18839
* swank-lispworks.lisp:
18841
(make-dspec-location): Handle logical pathnames.
18843
2003-11-28 13:14 heller
18849
2003-11-28 13:09 heller
18851
* swank-cmucl.lisp, swank-sbcl.lisp:
18853
Support for output redirection to an Emacs buffer via a dedicated
18854
network stream. Can be enabled with *use-dedicated-output-stream*.
18856
2003-11-28 13:02 heller
18860
(slime-read-string, eval-string): Flush *emacs-io*.
9004
18861
(eval-in-emacs): New function.
9006
* slime.el: Support for output from a dedicated socket.
9007
(slime-open-stream-to-lisp, slime-output-filter): New functions.
9008
Reorganized REPL code a bit.
18863
2003-11-28 12:58 heller
18867
Support for output from a dedicated socket.
9009
18868
(slime-input-complete-p): Use vanilla forward-sexp, because
9010
18869
slime-forward-sexp sometimes caused endless loops.
9011
18870
(slime-disconnect): Close the output-stream-connection if present.
9012
18871
(slime-handle-oob): A new :%apply event. Executes arbitrary code;
9013
18872
useful for bootstrapping.
9014
18873
(slime-flush-output): New function.
18874
(slime-open-stream-to-lisp, slime-output-filter): New functions.
18875
Reorganized REPL code a bit.
9015
18877
(slime-symbol-end-pos): Didn't work at all in Emacs20. Just use
9016
18878
point until someone commits a proper fix.
9017
18880
Various uses of display-buffer: The second argument is different in
9019
18882
(interrupt-bubbling-idiot): Reduce the timeout to 5 seconds.
9021
2003-11-27 Luke Gorrie <luke@bluetail.com>
9023
* slime.el (slime-swank-port-file): Use `temporary-file-directory'
9024
instead of hardcoding "/tmp/".
9026
2003-11-27 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9028
* swank-lispworks.lisp: New backend.
9030
* slime.el (slime-with-output-to-temp-buffer): Save the window
9031
configuration in a buffer local variable instead on a global
9033
(slime-show-last-output): Behavior customizable with
9034
slime-show-last-output-function. Various tweaking for better
9035
multi-frame support.
9037
* swank-backend.lisp: List exported symbols explicitly.
9039
* swank-cmucl.lisp (function-source-location): Better support for
9042
* swank.lisp (briefly-describe-symbol-for-emacs): Don't return
9044
(describe-symbol, describe-function): Support package-qualified
9047
* swank-loader.lisp: *sysdep-pathnames*: Add Lispworks files.
9048
(compile-files-if-needed-serially): Compile all files in a
9051
2003-11-27 Luke Gorrie <luke@bluetail.com>
9053
* slime.el (slime-complete-symbol): Make a bogus alist out of the
9054
completion set, for compatibility with XEmacs.
9056
* completer.el: Stolen^Wimported from ILISP version 1.4. This is
9057
one revision prior to their latest, where they added a (require)
9058
for some other ILISP code. I backed down a revision to make it
9059
stand-alone, but this may mean that putting SLIME in the load-path
9060
before ILISP will break ILISP. So, beware.
18884
2003-11-27 02:24 lgorrie
18890
2003-11-27 02:24 lgorrie
18894
(slime-swank-port-file): Use `temporary-file-directory' instead of
18895
hardcoding "/tmp/".
18897
2003-11-27 01:54 heller
18903
2003-11-27 01:50 heller
18907
(slime-with-output-to-temp-buffer): Save the window configuration in a
18908
buffer local variable instead on a global stack.
18909
(slime-show-last-output): Make behavior customizable. The default is
18910
now simpler and less DWIMish.
18911
slime-show-last-output-function: New variable.
18912
(slime-show-last-output-region, slime-maybe-display-output-buffer):
18914
(slime-goto-source-location): Add some support for Lispworks style dspecs.
18915
Should be merged with OpenMCL stuff.
18917
Various tweaking for better multi-frame support.
18919
2003-11-27 01:44 heller
18921
* swank-backend.lisp:
18923
List exported symbols explicitly.
18925
2003-11-27 01:42 heller
18927
* swank-cmucl.lisp:
18929
(function-source-location): Better support for generic functions.
18930
(genericp, gf-definition-location, method-source-location,
18931
gf-method-locations, gf-source-locations): New functions.
18932
(describe-symbol-for-emacs): Mark generic functions as such.
18934
2003-11-27 01:40 heller
18938
(briefly-describe-symbol-for-emacs): Don't return unbound symbols.
18939
(load-file): The result of LOAD may be a pathname. Turn it into a
18941
(describe-symbol, describe-function): Support package-qualified strings.
18943
2003-11-27 01:38 heller
18945
* swank-loader.lisp:
18947
*sysdep-pathnames*: Add Lispworks files.
18948
(compile-files-if-needed-serially): Compile all files in a compilation unit.
18950
2003-11-27 01:36 heller
18952
* swank-lispworks.lisp:
18956
2003-11-27 01:30 lgorrie
18960
(slime-complete-symbol): Make a bogus alist out of the completion set,
18961
for compatibility with XEmacs.
18963
2003-11-27 01:26 lgorrie
9061
18967
(completer-message): Cut dependency on undefined ilisp constant
9062
18968
testing for xemacs.
9064
2003-11-27 Zach Beane <xach@xach.com>
9066
* swank.lisp (completions): Complete compound symbols (see below).
9068
* slime.el (slime-complete-symbol): Use `completer' package to
9069
handle more sophisticated completions. This includes abbreviations
9070
like "m-v-b" => "multiple-value-bind". It also (somewhat scarily)
9071
redefines other standard Emacs completion functions with similar
9072
capabilities. See commentary in completer.erl for details.
9074
2003-11-25 Luke Gorrie <luke@bluetail.com>
9076
* slime.el (slime-make-typeout-frame): New command to create a
9077
frame where commands can print messages that would otherwise go to
9079
(slime-background-message): Function for printing "background"
18970
2003-11-27 00:46 lgorrie
18976
2003-11-27 00:40 lgorrie
18980
Stolen^Wimported from ILISP version 1.4. This is one revision prior to
18981
their latest, where they added a (require) for some other ILISP
18982
code. I backed down a revision to make it stand-alone, but this may
18983
mean that putting SLIME in the load-path before ILISP will break
18986
2003-11-27 00:40 lgorrie
18990
(slime-complete-symbol): Use `completer' package to handle more
18991
sophisticated completions. This includes abbreviations like "m-v-b" =>
18992
"multiple-value-bind". It also (somewhat scarily) redefines other
18993
standard Emacs completion functions with similar capabilities. See
18994
commentary in completer.erl for details.
18996
2003-11-27 00:39 lgorrie
19000
(completions): Complete compound symbols.
19002
2003-11-25 22:28 lgorrie
19004
* ChangeLog, slime.el:
19006
s/slime-incidental-message/slime-background-message/
19008
2003-11-25 20:57 lgorrie
19010
* ChangeLog, slime.el:
19014
2003-11-25 20:55 lgorrie
19018
(slime-make-typeout-frame): New command to create a frame where
19019
commands can print messages that would otherwise go to the echo area.
19021
(slime-incidental-message): Function for printing "background"
9080
19022
messages. Uses the "typeout-frame" if it exists.
9081
(slime-arglist): Print arglist with `slime-background-message'.
19024
(slime-arglist): Print arglist with `slime-incidental-message'.
9082
19026
(slime-message): Use typeout frame if it exists, but only for
9083
19027
multi-line messages.
9085
2003-11-25 Daniel Barlow <dan@telent.net>
9087
* swank-sbcl.lisp: delete big chunk of leftover commented-out
9090
* slime.el: arglist command to use slime-read-symbol-name,
9091
not slime-read-symbol
9093
* README: Minor updates for currency
9095
2003-11-24 Luke Gorrie <luke@bluetail.com>
9097
* swank-backend.lisp (compiler-condition): Removed use of
9098
:documentation slot option. That is not portable (to CMUCL 18e).
9100
* swank.lisp (eval-string-in-frame): Fixed symbol-visibility
9101
problem (thanks Lawrence Mitchell).
9103
* swank-sbcl.lisp (function-source-location): Use TRUENAME to
9104
resolve source file name (thanks Lawrence Mitchell).
9106
* slime.el (slime-goto-source-location): Fixes when finding
9107
definition by regexp: open the right file (was missed), and
9108
tweaked regexp to match more 'def' forms - especially
9109
`defmacro-mundanely' (hyphen wasn't allowed before).
9111
2003-11-23 Luke Gorrie <luke@bluetail.com>
9113
* slime.el (sldb-fetch-more-frames): Call swank:backtrace instead
9114
of (renamed) swank:backtrace-for-emacs.
9116
* swank-cmucl.lisp, swank-sbcl.lisp, swank-openmcl-lisp: Updated
9117
to use new debugger interfaces in swank-backend.lisp.
9119
* swank-backend.lisp (backtrace, eval-in-frame, frame-catch-tags,
9120
frame-locals, frame-source-location-for-emacs): More interface
9123
* slime.el (slime-goto-source-location): Added optional `align-p'
9124
argument for :file and :emacs-buffer location types. This is for
9125
OpenMCL - unlike CMUCL its positions are not character-accurate so
9126
it needs to be aligned to the beginning of the sexp.
19029
2003-11-25 01:23 dbarlow
19033
* swank-sbcl.lisp: delete big chunk of leftover commented-out
19036
2003-11-25 01:23 dbarlow
19040
* slime.el: arglist command to use slime-read-symbol-name,
19041
not slime-read-symbol
19043
2003-11-25 01:22 dbarlow
19045
* ChangeLog, README:
19047
Minor updates for currency
19049
2003-11-24 14:45 lgorrie
19055
2003-11-24 14:43 lgorrie
19057
* swank-backend.lisp:
19059
(compiler-condition): Removed use of :documentation slot option. That
19060
is not portable (to CMUCL 18e).
19062
2003-11-24 04:24 lgorrie
19068
2003-11-24 04:23 lgorrie
19072
(eval-string-in-frame): Fixed symbol-visibility problem (thanks
19073
Lawrence Mitchell).
19075
2003-11-24 04:19 lgorrie
19081
2003-11-24 04:19 lgorrie
19085
(slime-goto-source-location): Fixes when finding definition by regexp:
19086
open the right file (was missed), and tweaked regexp to match more
19087
'def' forms - especially `defmacro-mundanely' (hyphen wasn't allowed
19090
2003-11-24 04:18 lgorrie
19094
(function-source-location): Use TRUENAME to resolve source file name
19095
(thanks Lawrence Mitchell).
19097
2003-11-23 15:20 lgorrie
19103
2003-11-23 15:16 lgorrie
19105
* swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
19108
Updated to use new debugger interfaces in swank-backend.lisp.
19110
2003-11-23 15:13 lgorrie
19112
* swank-backend.lisp:
19114
(backtrace, eval-in-frame, frame-catch-tags, frame-locals,
19115
frame-source-location-for-emacs): More interface functions.
19117
2003-11-23 15:10 lgorrie
19121
(sldb-fetch-more-frames): Call swank:backtrace instead of (renamed)
19122
swank:backtrace-for-emacs.
19124
2003-11-23 14:40 lgorrie
19130
2003-11-23 14:40 lgorrie
9127
19134
(slime-connect): Don't delete a random window when *inferior-lisp*
9128
19135
isn't visible.
19137
2003-11-23 13:28 lgorrie
19143
2003-11-23 13:16 lgorrie
19149
2003-11-23 13:14 lgorrie
19153
* swank.lisp: Tidied up outline-minor-mode structure, added
19154
comments and docstrings.
19155
(sldb-loop): Took over the main debugger loop.
19157
2003-11-23 13:14 lgorrie
19159
* swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
19161
Updated to use new debugger interface in swank-backend.lisp.
9130
19163
* swank-cmucl.lisp: Tidied up outline-minor-mode structure and
9131
19164
added comments and docstrings.
9133
* swank-cmucl.lisp, swank-sbcl.lisp, swank-openmcl-lisp: Updated
9134
to use new debugger interface in swank-backend.lisp.
19166
2003-11-23 13:13 lgorrie
19168
* swank-backend.lisp:
9136
19170
* swank-backend.lisp (call-with-debugging-environment,
9137
19171
sldb-condition, debugger-info-for-emacs): More callbacks defined.
9139
* swank.lisp: Tidied up outline-minor-mode structure, added
9140
comments and docstrings.
9141
(sldb-loop): Took over the main debugger loop.
9143
* swank-openmcl.lisp: Updated after refactoring of other backends
9146
* slime.el (slime-goto-source-location): Align at beginning of
9147
sexp after (:file name pos) and (:emacs-buffer buffer pos).
19173
2003-11-23 13:12 lgorrie
19177
* slime.el (slime-goto-source-location): Added optional `align-p'
19178
argument for :file and :emacs-buffer location types. This is for
19179
OpenMCL - unlike CMUCL its positions are not character-accurate so it
19180
needs to be aligned to the beginning of the sexp.
19182
2003-11-23 08:15 lgorrie
19188
2003-11-23 08:15 lgorrie
19190
* swank-openmcl.lisp:
19192
Updated after refactoring of other backends (was broken).
19194
2003-11-23 08:15 lgorrie
19198
(slime-goto-source-location): Align at beginning of sexp after (:file
19199
name pos) and (:emacs-buffer buffer pos).
19201
2003-11-23 06:01 lgorrie
19207
2003-11-23 06:00 lgorrie
19209
* swank-backend.lisp, swank-cmucl.lisp, swank-loader.lisp,
19210
swank-sbcl.lisp, swank.lisp:
9149
19212
* swank-sbcl.lisp (describe-symbol-for-emacs): Don't ask for
9150
19213
(documentation SYM 'class), CLHS says there isn't any 'class
9158
19221
* swank-backend.lisp: New file defining the interface between
9159
19222
swank.lisp and the swank-*.lisp implementation files.
9161
2003-11-22 Brian Mastenbrook <bmastenb@cs.indiana.edu>
9163
* swank.asd: ASDF definition to load "swank-loader.lisp". This is
9164
useful for starting the Swank server in a separate Lisp and later
9165
connecting with Emacs. The file includes commentary.
9167
2003-11-22 Luke Gorrie <luke@bluetail.com>
9169
* slime.el (slime-connect): Slightly reordered some window
9170
operations to ensure that *slime-repl* is popped up after `M-x
19224
2003-11-22 08:45 lgorrie
19230
2003-11-22 08:44 lgorrie
19234
ASDF definition to load "swank-loader.lisp". This is useful for
19235
starting the Swank server in a separate Lisp and later connecting with
19236
Emacs. The file includes commentary.
19238
2003-11-22 08:44 lgorrie
9172
19242
(slime-show-last-output): If the *slime-repl* buffer is already
9173
19243
visible in any frame, don't change anything.
9175
* swank.lisp (listener-eval): Format results in *buffer-package*.
19245
2003-11-22 06:38 lgorrie
19251
2003-11-22 06:38 lgorrie
19255
(slime-connect): Slightly reordered some window operations to ensure
19256
that *slime-repl* is popped up after `M-x slime-connect'.
19258
2003-11-22 06:36 lgorrie
19262
(listener-eval): Format results in *buffer-package*.
9176
19264
Exporting (CREATE-SWANK-SERVER <port>). This function can be
9177
19265
called directly to start a swank server, which you can then
9178
19266
connect to with `M-x slime-connect'. It takes a port number as
9179
19267
argument, but this can be zero to use a random available port.
9180
19268
The function always returns the actual port number being used.
9182
2003-11-19 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9184
* swank.lisp: Better printing off return values. In the REPL
9185
buffer we print now every value in a separate line and in the echo
9186
area separated by a comma. We also print "; No value" for the
9187
degenerated case (values). A new variable *sldb-pprint-frames*
9188
controls the printing of frames in the debugger. (Thanks Raymond
9189
Toy for the suggestions.)
9191
* swank-cmucl.lisp (format-frame-for-emacs): Bind *pretty-print*
9192
to *sldb-pprint-frames*.
9194
* slime.el: Window configuration are now saved on a stack, not in
9195
a single global variable.
9196
(slime-with-output-to-temp-buffer) We use now our own version of
9197
with-output-to-temp-buffer. The default version is painfully
9198
incompatible between Emacs versions. The version selects the
9199
temporary buffer and the behaivor of "q" is now more consistent
9200
(as suggested by Jan Rychter).
19270
2003-11-19 14:45 heller
19274
inferior-lisp-mode-hook: Set the second argument of get-buffer-window
19275
to t. Suggested by Sean O'Rourke.
19277
2003-11-19 14:37 heller
19281
(slime-with-output-at-eob): Update window-point even if the window is
19284
2003-11-19 14:14 heller
19290
2003-11-19 14:12 heller
19294
(slime-edit-fdefinition-other-window): New function.
19296
2003-11-19 13:59 heller
19302
2003-11-19 13:37 heller
19304
* swank-cmucl.lisp:
19306
(format-frame-for-emacs): Bind *print-pretty* to *sldb-pprint-frames*.
19307
(pprint-eval-string-in-frame): Handle mutliple values.
19309
2003-11-19 13:35 heller
19313
*sldb-pprint-frames*: New option.
19315
Tweak printing off return values. Print each value in a separate line
19316
in the REPL buffer and comma separated in the echo-area. Print
19317
"; No value" for (values).
19318
(format-values-for-echo-area): New function.
19319
(interactive-eval-region,
19320
(swank-pprint, listener-eval): Print each value in separate line.
19322
2003-11-19 13:12 heller
19324
* swank-loader.lisp:
19326
Load a the user init file if present.
19328
(user-init-file): New function.
19330
2003-11-19 13:06 heller
19334
Window configuration are now organized as a stack, not a single global
19336
(slime-saved-window-configurations): Renamed from
19337
slime-saved-window-configuration.
19338
(slime-save-window-configuration, slime-restore-window-configuration):
19340
(slime-show-description, slime-show-apropos): Updated for new version
19341
of slime-saved-window-configuration.
19343
We use now our own version of with-output-to-temp-buffer. The default
19344
version is painfully incompatible between Emacs versions.
19345
(slime-with-output-to-temp-buffer): Enable slime-mode, set
19346
lisp-syntax-table, enable slime-temp-buffer mode.
19347
(slime-temp-buffer-mode): New mode with a single command.
19348
(slime-temp-buffer-quit): New command.
9201
19350
(slime-connect): Hide the *inferior-lisp-buffer* when we are
19353
(slime-complete-delay-restoration): The idiom
19354
(add-hook (make-local-hook ...) ...) doesn't work in XEmacs.
19356
(slime-complete-symbol): Use vanilla with-output-to-temp-buffer.
19358
(slime-show-evaluation-result): Don't use slime-message. I bet, no one
9203
19361
sldb-mode-map: Bind n and p to sldb-down and sldb-up.
9204
(slime-edit-fdefinition-other-window): New function. Suggested by
9207
* swank-loader.lisp (user-init-file): There is now a user init
9208
file (~/.swank.lisp). It is loaded after the other files.
9210
2003-11-16 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9212
* slime.el: [slime-keys] Override C-c C-r with slime-eval-region
9213
(reported by Paolo Amoroso).
9215
* swank-loader.lisp: Compile and load gray stream stuff for SBCL
9218
* swank-openmcl.lisp, swank-sbcl.lisp: Import gray stream symbols.
9219
(without-interrupts*): New function.
9221
* swank.lisp (send-to-emacs): Protect the write operations by a
9222
without-interrupts, so that we don't trash the *cl-connection*
9223
buffer with partially written messages.
9225
* swank-cmucl.lisp (without-interrupts*): New function.
9227
* swank-gray.lisp (stream-write-char): Don't flush the buffer on
9230
* slime.el: Add some docstring.
19363
2003-11-16 19:49 heller
19369
2003-11-16 19:41 heller
19373
slime-keys: Override C-c C-r with slime-eval-region.
19375
2003-11-16 19:28 heller
19379
(slime-keys): Don't bind "\C- ". Problematic on LinuxPPC.
19381
2003-11-16 19:24 heller
19387
2003-11-16 19:10 heller
19389
* swank-loader.lisp:
19391
Compile and load gray stream stuff for SBCL and OpenMCL.
19393
2003-11-16 19:08 heller
19395
* swank-sbcl.lisp, swank-openmcl.lisp:
19397
Import gray stream symbols.
19398
(without-interrupts*): New function.
19400
2003-11-16 19:07 heller
19404
(send-to-emacs): Protect the write operations by a without-interrupts,
19405
so that we don't trash the *cl-connection* buffer with partially
19408
2003-11-16 19:05 heller
19410
* swank-cmucl.lisp:
19412
(without-interrupts*): New function.
19414
2003-11-16 18:46 heller
19418
(stream-write-char): Don't flush the buffer on newlines.
19420
2003-11-16 18:45 heller
19424
Add some docstring.
9231
19425
(interrupt-bubbling-idiot): New test.
9232
[slime-keys]: Don't bind "\C- ". Problematic on LinuxPPC.
9234
2003-11-15 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9236
* slime.el: Some tweaking for better scrolling in the *slime-repl*
9237
buffer (suggested by Jan Rychter).
9238
(slime-compile-file): Display the output buffer at the beginning.
9239
(slime-show-last-output): Include the prompt so that window-point
19427
2003-11-15 11:23 heller
19433
2003-11-15 11:12 heller
19435
* swank-cmucl.lisp:
19437
(sos/out): Don't flush the buffer on new-lines.
19439
2003-11-15 11:10 heller
19443
(slime-process-available-input): Abort when we see a reader error.
19444
Call slime-state/event-panic to file a bug report.
19445
(slime-state/event-panic): Include the *slime-events* and
19446
*cl-connection* buffers in the report.
19448
(slime-show-last-output): Include the prompt so that the window point
9240
19449
is updated properly.
9241
(slime-with-output-at-eob): Update window-point if the buffer is
19450
(slime-with-output-at-eob): Update window point if the buffer is
9243
(slime-state/event-panic): Include the *slime-events* and
9244
*cl-connection* buffers in the report.
9246
* swank-cmucl.lisp (sos/out): Don't flush the buffer on newlines.
9248
2003-11-13 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9250
* slime.el: Imititate an "output-mark". Output from Lisp should
9251
move point only if point is at the end of the buffer. (Thanks
9252
William Halliburton for the suggestion.)
19452
(slime-output-string): Remove zero length test.
19454
(slime-compile-file): Pop up the output buffer.
19456
(slime-print-apropos): Minor cleanups.
19458
2003-11-13 23:54 heller
19464
2003-11-13 23:48 heller
19470
2003-11-13 23:45 heller
19472
* swank-cmucl.lisp:
19474
((resolve-location t pathname t t t)): Emacs buffer positions are 1
19475
based. Add 1 to the 0 based file-position.
19477
2003-11-13 23:42 heller
19482
Imititate an "output-mark". Output from Lisp should move point only
19483
if point is at the end of the buffer.
9253
19484
(slime-with-output-at-eob): New function.
19485
(slime-repl-insert-prompt): Don't move point at the end of the buffer.
9254
19486
(slime-output-string, slime-repl-maybe-prompt): Use it.
9256
slime-repl-mode-map: Override "\C-\M-x".
9258
An experimental scratch buffer:
19487
(slime-repl-show-result-continutation): Don't move point to eob.
19489
slime-repl-mode-map: Override "\C-\M-x".
19491
(slime-goto-source-location): Add (:sexp) case. remove (:null) and
19493
(slime-choose-overlay-region, slime-edit-fdefinition): Catch
19494
(:null) location here.
19496
(slime-complete-maybe-save-window-configuration): Fix typo. It's
19497
make-local-hook, not make-local.
19498
(slime-complete-restore-window-configuration): Fix typo. Remove-hook
9259
19501
(slime-eval-print-last-expression): New function.
9260
19502
(slime-scratch-mode-map, slime-scratch-buffer,
9261
19503
slime-switch-to-scratch-buffer, slime-scratch): New functions.
9263
* swank-cmucl.lisp (resolve-location): Emacs buffer positions are
9264
1 based. Add 1 to the 0 based file-position.
9266
2003-11-13 Luke Gorrie <luke@bluetail.com>
9268
* slime.el (slime-connect): pop-to-buffer into *slime-repl* when
9271
2003-11-13 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9273
* slime.el, swank-cmucl.lisp, swank-sbcl.lisp, swank-openmcl: New
9274
representation for "source-locations". Compiler notes have now a
9275
message, a severity, and a source-location field. Compiler notes,
9276
edit-definition, and the debugger all use now the same
9277
representation for source-location. CMUCL does the source-path to
9278
file-position translation at the Lisp side. This works better
9279
with reader macros, in particular with backquote. The SBCL
9280
backend still does the translation on the Emacs side. OpenMCL
9281
support is probably totally broken at the moment
9283
2003-11-13 Luke Gorrie <luke@bluetail.com>
9285
* slime.el (slime-repl-previous-input, slime-repl-next-input):
9286
When partial input has already been entered, the M-{p,n} REPL
9287
history commands only match lines that start with the
9288
already-entered prefix. This is comint-compatible behaviour which
9289
has been requested. The history commands also skip over line
9290
identical to the one already entered.
9291
(slime-complete-maybe-restore-window-confguration): Catch errors,
9292
so that we don't cause `pre-command-hook' to be killed.
19505
(slime-propertize-region): Renamed from sldb-propertize-region.
19507
(when-let): Renamed from when-bind.
19509
2003-11-13 02:22 lgorrie
19515
2003-11-13 02:22 lgorrie
19519
(slime-connect): pop-to-buffer into *slime-repl* when we connect.
19521
2003-11-13 01:48 heller
19527
2003-11-13 01:36 heller
19529
* slime.el, swank-openmcl.lisp, swank-sbcl.lisp:
19531
Modification for the new source-location stuff. I'm sure OpenMCL is
19534
2003-11-13 01:22 heller
19538
(swank-pprint): New function.
19540
2003-11-13 01:20 heller
19542
* swank-cmucl.lisp:
19545
Do the source-path -> byte-offset translation on the Lisp side.
19546
(make-compiler-note, resolve-location): New functions.
19547
*swank-source-info*: New variable.
19549
(code-location-file-position): Only read the source once. (We used
19550
CMUCL's get-translations, which also reads the file.)
19551
(source-location-for-emacs): Cleanups.
19553
(map-allocated-code-components): Inline vm::map-allocated-objects and
19554
declare the SIZE as fixnum to avoid excessive consing.
19556
(sos/out): Fix off-by-one bug.
19558
2003-11-13 01:10 heller
19563
(slime-goto-source-location): Reorganized. CMUCL now resolves all
19564
source-paths on the lisp side. The code is still ugly because the
19565
SBCL code is depends on it.
19566
(slime-edit-fdefinition, slime-show-source-location): Update callers.
19567
(slime-goto-location): Deleted.
19569
(slime-eval-feature-conditional): Support for NOT.
19571
(slime-connect): Make it useful without inferior lisp.
19573
(slime-process-available-input): Don't start the timer when there was
19576
(slime-highlight-notes): slime-compiler-notes-for-file doesn't work
19579
2003-11-13 00:59 lgorrie
19585
2003-11-13 00:51 lgorrie
19591
2003-11-13 00:51 lgorrie
19595
(slime-repl-previous-input, slime-repl-previous-input): When partial
19596
input has already been entered, the M-{p,n} REPL history commands only
19597
match lines that start with the already-entered prefix. This is
19598
comint-compatible behaviour which has been requested. The history
19599
commands also skip over line identical to the one already entered.
19601
(slime-complete-maybe-restore-window-confguration): Catch errors, so
19602
that we don't cause `pre-command-hook' to be killed.
9293
19604
(slime-truncate-lines): If you set this to nil, slime won't set
9294
19605
`truncate-lines' in buffers like sldb, apropos, etc.
9296
2003-11-12 Luke Gorrie <luke@bluetail.com>
9298
* slime.el (slime-show-description): XEmacs portability: don't use
19607
(slime-show-description): XEmacs portability: don't use
9299
19608
`temp-buffer-show-hook'.
9300
19610
(slime-inspect): Use `(slime-sexp-at-point)' as default inspection
9301
19611
value (thanks Jan Rychter).
9303
2003-11-10 Luke Gorrie <luke@bluetail.com>
9305
* slime.el (slime-post-command-hook): Inhibit unless (still) in
9306
slime-mode. Only call `slime-autodoc-post-command-hook' when
9307
`slime-autodoc-mode' is non-nil.
19613
2003-11-10 20:44 lgorrie
19619
2003-11-10 20:44 lgorrie
19623
(slime-post-command-hook): Inhibit unless (still) in slime-mode. Only
19624
call `slime-autodoc-post-command-hook' when `slime-autodoc-mode' is
9308
19627
(slime-setup-command-hooks): Use `make-local-hook' instead of
9309
19628
`make-local-variable'.
9311
2003-11-08 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9313
* slime.el: slime-highlight-face: Use the :inherit attribute if
19630
2003-11-08 19:59 heller
19636
2003-11-08 19:58 heller
19640
slime-highlight-face: Use the :inherit attribute if possible.
9315
19641
(slime-face-inheritance-possible-p): New function.
9317
* slime.el (slime-repl-return): Only send the current input to
9318
Lisp if it is a complete expression, like inferior-slime-return.
9320
* swank.lisp (completions): Use *buffer-package* if no other
9323
* slime.el: Remove the non-working face inheriting stuff.
9324
Hardcode colors for slime-highlight-face and specify the :inherit
9325
attribute for slime-repl-output-face. So Emacs21 will do the
9326
right thing and the others get at least a customizable face.
9328
* slime.el (slime-buffer-package): Try to find be the
9329
package name before resorting to slime-buffer-package. Return nil
9330
and not "CL-USER" if the package cannot be determined.
9331
(slime-goto-location): Insert notes with a source path, but
9332
without filename or buffername, at point. This can happen for
9333
warnings during macro expansion. (The macro expander is a
9334
interpreted function and doesn't have a filename or buffername.)
9335
(slime-show-note): Display 2 double quotes "" in the echo area for
9336
zero length messages. SERIES tends to signal warnings with zero
19643
2003-11-08 18:01 heller
19649
2003-11-08 17:59 heller
19653
(completions): Use *buffer-package* if no other package is given.
19654
(case-convert): Only accept strings as argument.
19656
2003-11-08 17:51 heller
19660
(slime-repl-return): Only send the current input to Lisp if it is a
19661
complete expression, like inferior-slime-return.
19662
(slime-input-complete-p): New function.
19663
(inferior-slime-return): Use it.
19665
2003-11-08 10:11 heller
19671
2003-11-08 09:34 heller
19675
Remove the non-working face inheriting stuff. Hardcode colors for
19676
slime-highlight-face and specify the :inherit attribute for
19677
slime-repl-output-face. So Emacs21 will do the right thing and the
19678
others get at least a customizable face.
19680
2003-11-08 01:47 heller
19686
2003-11-08 01:40 heller
19690
(swank-macroexpand-all): Implemented.
19692
2003-11-08 01:39 heller
19694
* swank-cmucl.lisp:
19696
(briefly-describe-symbol-for-emacs): Add support for alien-types.
19697
(describe-alien-type, %describe-alien, describe-alien-struct,
19698
describe-alien-union, describe-alien-enum): New functions.
19700
(source-path-file-position): Read the entire expression with special
19701
readtable. The readtable records source positions for each read
19702
sub-expression in a hashtable. Extract the subexpression for the
19703
source path from the read object and lookup the subexpression in the
19704
hashtable to find its source position.
19706
(read-and-record-source-map,
19707
make-source-recorder, make-source-recording-readtable,
19708
make-source-map, *source-map*, lookup-recording-readtable,
19709
source-path-stream-position, find-path-in-form,
19710
find-form-in-source-map) New functions.
19712
2003-11-08 01:32 heller
19716
(slime-face-attributes, slime-face-font-name): Copy the font too.
19718
(slime-buffer-package): Try to find be the package name before
19719
resorting to slime-buffer-package. Return nil and not "CL-USER" if
19720
the package cannot be determined.
19722
(slime-goto-location): Insert notes with a source path but no
19723
filename or buffername at point. This can happen for warnings during
19724
macro expansion. (The macro expander is a interpreted function and
19725
does not have a filename or buffername.)
19727
(slime-show-note): Display 2 double quotes "" in the for zero length
19728
messages. SERIES tends to signal warnings with zero length messages.
19730
slime-complete-saved-window-configuration: Store the window config in
19731
a buffer local variable.
9338
19733
(slime-print-apropos): Add support for alien types.
9340
* swank-cmucl.lisp (briefly-describe-symbol-for-emacs): Add
9341
support for alien types.
9342
(source-path-file-position): Read the entire expression with a
9343
special readtable. The readtable records source positions for
9344
each sub-expression in a hashtable. Extract the sub-expression
9345
for the source path from the read object and lookup the
9346
sub-expression in the hashtable to find its source position.
9348
* swank-sbcl.lisp (swank-macroexpand-all): Implemented.
9350
2003-11-06 Luke Gorrie <luke@bluetail.com>
9352
* slime.el (slime-autodoc-mode): When non-nil, display the
9353
argument list for the function-call near point each time the point
9354
moves in a slime-mode buffer. This is a first-cut; more useful
9355
context-sensitive help to follow (e.g. looking up variable
19735
(slime-select-function): Bind pop-up-windows to nil. (Doesn't seem to
19738
(slime-selector): Switch to the minibuffer for reading the event.
19740
(slime-display-buffer-region): Enlarge the window if it is too small.
19742
(slime-find-buffer-package): Initialize command hooks.
19744
2003-11-06 10:15 lgorrie
19750
2003-11-06 09:55 lgorrie
19756
2003-11-06 09:54 lgorrie
19760
(slime-autodoc-mode): When non-nil, display the argument list for the
19761
function-call near point each time the point moves in a slime-mode
19762
buffer. This is a first-cut; more useful context-sensitive help to
19763
follow (e.g. looking up variable documentation).
9357
19765
(slime-autodoc-cache-type): Cache policy "autodoc" documentation:
9358
either nil (no caching), 'last (the default - cache most recent
9359
only), or 'all (cache everything on symbol plists forever).
9361
* slime.el: Convenience macros:
9362
(when-bind (var exp) &rest body)
9363
=> (let ((var exp)) (when var . body))
9364
(with-lexical-bindings (var1 ...) . body)
9365
=> (lexical-let ((var1 var1) ...) . body)
9367
* slime.el (slime, slime-lisp-package): Reset `slime-lisp-package'
9368
(the REPL package) when reconnecting.
19766
either nil (no caching), 'last (the default - cache most recent only),
19767
or 'all (cache everything on symbol plists forever).
19769
Convenience macros:
19771
(when-bind (var exp) &rest body)
19772
=> (let ((var exp)) (when var . body))
19774
(with-lexical-bindings (var1 ...) . body)
19775
=> (lexical-let ((var1 var1) ...) . body)
19777
2003-11-06 07:14 lgorrie
19783
2003-11-06 07:14 lgorrie
19787
(slime, slime-lisp-package): Reset `slime-lisp-package' (the REPL
19788
package) when reconnecting.
9369
19790
(slime-buffer-package): Return `slime-lisp-package' when the
9370
19791
major-mode is `slime-repl-mode'.
9372
2003-11-04 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9374
* slime.el (slime-read-string-state): Add support for evaluation
19793
2003-11-04 23:38 heller
19799
2003-11-04 23:33 heller
19803
(slime-read-string): Send a :read-aborted event for non-local exits.
19804
(case-convert): Handle :invert case better.
19806
2003-11-04 23:29 heller
19810
(slime-read-string-state): Add support for evaluation requests.
9376
19811
(slime-repl-read-break): New command.
9378
slime-keys: XEmacs cannot rebind C-c C-g. Use C-c C-b as an
19813
(slime-display-message): Renamed from slime-display-message-or-view.
19814
(slime-show-evaluation-result-continuation): Save the current-buffer
19815
so that slime-display-message can add a pre-command hook to remove the
19817
(slime-display-buffer-region): Simplified.
19819
slime-keys: XEmacs cannot rebind C-c C-g. Use C-c C-b as an alternative.
9380
19820
(slime-selector): XEmacs has no prompt argument for read-char.
9381
(slime-underline-color, slime-face-attributes): Make face
9382
definitions compatible with XEmacs and Emacs20.
19821
(slime-underline-color, slime-face-attributes): Make face definitions
19822
compatible with XEmacs and Emacs20.
9383
19824
(slime-disconnect): Delete the buffer of the socket.
9384
(slime-net-connect): Prefix the connection buffer name with a
9385
space to avoid accidental deletion.
9387
* swank.lisp (slime-read-string): Send a :read-aborted event for
9389
(case-convert): Handle :invert case better.
9391
2003-11-03 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9393
* slime.el (slime-display-message-or-view,
9394
slime-remove-message-window): Display too long lines in a new
9395
window. Add a temporary pre-command-hook to remove the multiline
9396
window before the next command is executed.
19825
(slime-net-connect): Prefix the connection buffer name with a space to
19826
avoid accidental deletion.
19828
2003-11-04 09:03 heller
19830
* swank-openmcl.lisp, swank-sbcl.lisp:
19832
(arglist-string): Pass *buffer-package* to find-symbol-designator.
19834
2003-11-04 09:02 heller
19838
Fix test-suite for SBCL.
19840
2003-11-04 01:03 heller
19842
* slime.el, swank.lisp:
19844
Duh! I'd better run the test suite _before_ committing.
19846
2003-11-04 00:26 heller
19852
2003-11-04 00:22 heller
19854
* swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp:
19856
(arglist-string): Don't intern the function name. Use find-symbol-designator
19859
2003-11-04 00:20 heller
19863
(case-convert, find-symbol-designator): New functions.
19865
2003-11-04 00:19 heller
19869
(slime-display-message-or-view, slime-remove-message-window): Also
19870
display too long lines in a new window. Add a temporary
19871
pre-command-hook to remove the multiline window before the next
19872
command is executed.
19873
(slime-display-buffer-region): Some of the comments where out of sync
9398
19876
(slime-complete-symbol): Save the window configuration before
9399
19877
displaying the completions and try to restore it later. The
9669
20477
(slime-sync-state-stack): Use Emacs-21 time-date functions.
9670
20478
(seconds-to-time, time-less-p, time-add): Compatibility defuns.
9672
2003-10-22 Luke Gorrie <luke@bluetail.com>
9674
* slime.el (slime): With a prefix argument, prompt for the port
9675
number to use for communication with Lisp. This is remembered for
9678
2003-10-22 Hannu Koivisto <azure@iki.fi>
9680
* slime.el (slime-space): Now allows one to insert several spaces
9681
with a prefix argument.
9683
2003-10-21 Luke Gorrie <luke@bluetail.com>
9685
* slime.el (slime-space): Don't give an error when not connected,
9688
* swank-sbcl.lisp (swank-compile-string): Include only one
9689
:SOURCE-PATH attribute in the plist, and replace the front element
9690
with a 0 (fixes a problem probably due to recent hacks to the
9691
elisp source-path lookups).
9693
* slime.el (inferior-slime-mode): New minor mode for use with
9694
`inferior-lisp-mode'. Defines a subset of the `slime-mode' keys
9695
which don't clash with comint (e.g. doesn't bind M-{p,n}).
20480
2003-10-22 21:05 lgorrie
20486
2003-10-22 21:04 lgorrie
20490
(slime): With a prefix argument, prompt for the port number to use for
20491
communication with Lisp. This is remembered for future connections.
20493
2003-10-22 19:54 lgorrie
20499
2003-10-22 19:48 lgorrie
20503
(slime-space): Now allows one to insert several spaces with a prefix
20504
argument. (Patch from Hannu Koivisto)
20506
2003-10-21 22:51 lgorrie
20512
2003-10-21 22:51 lgorrie
20516
(slime-space): Don't give an error when not connected, to avoid
20519
2003-10-21 22:38 lgorrie
20523
outline-mode heading tweak.
20525
2003-10-21 21:45 lgorrie
20531
2003-10-21 21:36 lgorrie
20535
(swank-compile-string): Include only one :SOURCE-PATH attribute in the
20536
plist, and replace the front element with a 0 (fixes a problem
20537
probably due to recent hacks to the elisp source-path lookups).
20539
2003-10-21 21:29 lgorrie
20545
2003-10-21 21:18 lgorrie
20551
2003-10-21 21:04 lgorrie
20555
(inferior-slime-mode): New minor mode for use with
20556
`inferior-lisp-mode'. Defines a subset of the `slime-mode' keys which
20557
don't clash with comint (e.g. doesn't bind M-{p,n}).
9696
20559
(slime-keys): List of keybinding specifications.
9697
(slime-find-buffer-package): If we don't find the "(in-package" by
9698
searching backwards, then try forwards too.
9700
* swank.lisp (completions): Fixed semantics: should now consider
9701
only/all completions that would not cause a read-error due to
9702
symbol visibility. Also avoiding duplicates and sorting on
9705
2003-10-20 Luke Gorrie <luke@bluetail.com>
9707
* swank.lisp (completions): Slight change of semantics: when a
9708
prefix-designator is package-qualified, like "swank:", only match
9709
symbols whose home-package matches the one given - ignore
9712
* slime.el: Updated test suite to work with the different backends:
20561
2003-10-21 12:59 lgorrie
20563
* ChangeLog, swank.lisp:
20565
Now sorting completions on symbol-name instead of
20566
`present-symbol-before-p'
20568
2003-10-21 12:48 lgorrie
20574
2003-10-21 12:47 lgorrie
20578
(completions): Fixed semantics: should now consider only/all
20579
completions that would not cause a read-error due to symbol
20580
visibility. Also avoiding duplicates, and sorting the results as with
20583
2003-10-20 19:51 lgorrie
20589
2003-10-20 19:36 lgorrie
20595
2003-10-20 19:36 lgorrie
20599
(completions): Slight change of semantics: when a prefix-designator is
20600
package-qualified, like "swank:", only match symbols whose
20601
home-package matches the one given - ignore inherited symbols.
20603
2003-10-20 19:29 lgorrie
20609
2003-10-20 19:29 lgorrie
20613
Updated test suite to work with the different backends:
9713
20614
(find-definition): Lookup definitions in swank.lisp.
9714
20615
(arglist): Lookup arglists of functions in swank.lisp.
9716
2003-10-20 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9718
* slime.el (interactive-eval): Make test case independent of
9721
2003-10-20 Luke Gorrie <luke@bluetail.com>
9723
* swank-cmucl.lisp (clear-xref-info): Conditionalised
9724
xref:*who-is-called* and xref:*who-macroexpands* with
9725
#+CMU19. This makes SLIME compatible with CMUCL 18e, but also
9726
disables the `who-macroexpands' command in any CMUCL version that
9727
doesn't have the "19A" feature (which does break the command in
9728
some snapshot builds that can actually support it).
9730
2003-10-20 Daniel Barlow <dan@telent.net>
9732
* swank.lisp (*notes-database*): tyop fix
9734
* swank-sbcl.lisp (throw-to-toplevel): select TOPLEVEL restart
9735
instead of throwing to a catch that no longer exists
9737
* slime.el: change some strings containing 'CMUCL' to more
9738
backend-agnostic phrases
9740
2003-10-19 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9742
* slime.el, swank-cmucl.lisp, swank.lisp: First shoot at input
9745
* swank-sbcl.lisp, swank-openmcl.lisp: Bind *slime-input* and
9746
*slime-io* to dummy values.
9748
2003-10-19 Luke Gorrie <luke@bluetail.com>
9750
* slime.el (slime): Connection setup is now asynchronous, with
9751
retrying on a timer. This makes it possible to bring the server up
9752
by hand while debugging. `M-x slime' while already connected will
9753
cause the old connection to be dropped and a new one established.
9754
(slime-disconnect): New command to disconnect from Swank, or
9755
cancel asynchronous connection attempts when not yet connected.
9756
(slime-state/event-panic): Illegal events in the communication
9757
state machine now trigger a general panic that disconnects from
9758
Lisp, and displays a message describing what has happened. This is
9760
(slime-connect): Print a message during connection attempts unless
9761
the minibuffer is active (it's annoying to get messages while
9762
trying to enter commands).
9764
2003-10-18 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9766
* slime.el: Fix some bugs in the state machine and be a bit more
9767
careful when processing pending input.
9768
(slime-compile-region): New command.
9771
2003-10-17 James Bielman <jamesjb@jamesjb.com>
9773
* .cvsignore: Add OpenMCL and SBCL fasl file extensions.
9775
* swank-openmcl.lisp (who-calls): Fix bug where we would try to
20617
2003-10-20 19:13 heller
20623
2003-10-20 19:11 heller
20627
interactive-eval: Test case independent of *print-case*.
20629
2003-10-20 17:12 lgorrie
20633
Updated: works with CMU18e, and with SBCL requires sb-introspect.
20635
2003-10-20 17:10 lgorrie
20641
2003-10-20 17:09 lgorrie
20643
* swank-cmucl.lisp:
20645
(clear-xref-info): Conditionalised xref:*who-is-called* and
20646
xref:*who-macroexpands* with #+CMU19. This makes SLIME compatible with
20647
CMUCL 18e, but also disables the `who-macroexpands' command in any
20648
CMUCL version that doesn't have the "19A" feature.
20650
2003-10-20 15:56 dbarlow
20652
* ChangeLog, slime.el, swank-sbcl.lisp, swank.lisp:
20656
2003-10-19 23:43 heller
20662
2003-10-19 23:40 heller
20664
* swank-sbcl.lisp, swank-openmcl.lisp:
20666
Bind *slime-input* and *slime-io* to dummy values.
20668
2003-10-19 23:39 heller
20672
First shoot at input redirection.
20673
*slime-input*, *slime-io*: New variables.
20675
2003-10-19 23:38 heller
20677
* swank-cmucl.lisp:
20679
First shoot at input redirection.
20680
slime-input-stream: New structure.
20681
*read-input-catch-tag*: New variable.
20682
slime-input-stream/n-bin, take-input: New functions.
20683
serve-request: Bind input streams.
20685
2003-10-19 23:36 heller
20689
Support for input redirection.
20690
(slime-activate-state, slime-evaluating-state,
20691
slime-read-input-state): Add new read-input-state.
20692
(slime-show-output-buffer): New function.
20694
slime-hide-style-warning-count-if-zero: Make suppression of
20695
style-warnings customizable.
20697
(sldb-show-frame-details): Fix indentation of catch-tags.
20699
2003-10-19 18:17 lgorrie
20705
2003-10-19 18:17 lgorrie
20709
(slime-connect): Print a message during connection attempts unless the
20710
minibuffer is active (it's annoying to get messages while trying to
20713
2003-10-19 14:25 lgorrie
20719
2003-10-19 14:25 lgorrie
20723
(slime-state/event-panic): Illegal events in the communication state
20724
machine now trigger a general panic that disconnects from Lisp and
20725
displays a message describing what has happened. This is a bug
20728
2003-10-19 12:45 lgorrie
20734
2003-10-19 12:45 lgorrie
20738
(slime): Connection setup is now asynchronous, with retrying on a
20739
timer. This makes it possible to bring the server up by hand while
20740
debugging. `M-x slime' while already connected will cause the old
20741
connection to be dropped and a new one established.
20743
(slime-disconnect): New command to disconnect from Swank, or cancel
20744
asynchronous connection attempts when not yet connected.
20746
2003-10-19 12:05 lgorrie
20750
s/Christopher/Christophe/g -- oops!
20752
2003-10-18 22:14 heller
20758
2003-10-18 22:06 heller
20762
(slime-dispatch-event, slime-activate-state, slime-push-state,
20763
slime-pop-state): Add a process-input argument to control processing
20764
of pending input. The argument should be true when the function is
20765
called in "tail position". Modify callers accordingly.
20767
(slime-evaluating-state): Process the available input after printing
20768
the "Evaluation aborted." message.
20770
(slime-debugging-state): Decrement sldb-level on :debug-return events.
20771
The sldb buffer was not reinitialized in programs like (progn (break)
20772
(break) t), because the sldb-level had not changed.
20774
(slime-compile-region, compile-string): New functions.
20775
(slime-compile-defun): Use compile string.
20776
(slime-goto-location, slime-goto-source-location): Use full source
20777
path when (eq from :stream). Needed for compile-region.
20779
(slime-show-note-counts, slime-note-count-string): Suppress style
20780
warnings when their count is zero.
20782
(sldb-default-action/mouse): Emacs20 compatibility fix.
20784
slime-evaluating-state-activation-hook: Hook for testing.
20785
(slime-time<, slime-time-add, slime-sync-state-stack): Utilities for testing.
20786
(loop-interrupt-quit, loop-interrupt-continue-interrupt-quit,
20787
interactive-eval): New tests.
20789
2003-10-18 07:07 jbielman
20795
2003-10-18 07:07 jbielman
20799
Add OpenMCL and SBCL fasl file extensions.
20801
2003-10-18 07:06 jbielman
20803
* swank-openmcl.lisp:
20805
(who-calls): Fix bug where we would try to
9776
20806
take the TRUENAME of NIL when source information isn't available
9778
(backtrace-for-emacs): Clean up the backtrace code a bit in
20808
(backtrace-for-emacs): Clean up the backtrace code a bit in
9779
20809
preparation for implementing FRAME-LOCALS.
9780
20810
(frame-catch-tags): Implement a stub version of this.
9781
20811
(frame-locals): Implemented fully for OpenMCL.
9783
* swank-loader.lisp (compile-files-if-needed-serially): Be a little
20813
2003-10-18 07:06 jbielman
20815
* swank-loader.lisp:
20817
(compile-files-if-needed-serially): Be a little
9784
20818
more verbose when compiling files.
9786
2003-10-17 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9788
* swank.lisp, swank-sbcl.lisp, swank-openmcl.lisp,
9789
swank-cmucl.lisp: Move more stuff to swank.lisp.
9791
2003-10-17 Luke Gorrie <luke@bluetail.com>
9793
* slime.el (slime-post-command-hook): Check that we are connected
9794
before trying to process input.
20820
2003-10-17 23:19 heller
20826
2003-10-17 23:18 heller
20828
* swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
20831
Move more stuff to swank.lisp.
20833
2003-10-17 21:55 lgorrie
20839
2003-10-17 21:55 lgorrie
20843
(slime-post-command-hook): Check that we are connected before trying
9795
20846
(slime-net-connect): Handle `network-error' condition for XEmacs
9796
20847
21.5. (Thanks Raymond Toy.)
9798
* swank-sbcl.lisp: Report style-warnings separately from notes
9799
(patch from Christophe Rhodes). Use REQUIRE to load sb-introspect
9800
instead of loading the source file (requires the sb-introspect
9801
library to be installed, which doesn't yet happen in the
9802
sourceforge-lagged SBCL anoncvs, but does in the real one).
9804
* slime.el (slime-style-warning-face): Added style-warnings, which
9805
are between a warning and a note in severity. (Patch from
9808
* test.sh: When the test fails to complete, print "crashed"
9809
instead of reporting nonsense.
9811
2003-10-17 James Bielman <jamesjb@jamesjb.com>
9813
* swank.lisp (apropos-symbols): Change back to using the standard
9814
2-argument APROPOS-LIST and check symbols explicitly when
9815
EXTERNAL-ONLY is true.
9816
Move loading of sys-dependent backend code into 'swank-loader'.
9818
* swank-sbcl.lisp: Moved declarations of *PREVIOUS-COMPILER-CONDITION*
9819
into 'swank.lisp' to kill warnings about undefined variables.
9821
* swank-openmcl.lisp (handle-compiler-warning): Use source position
9822
instead of function name for warning locations.
9823
(swank-compile-string): Compile into a temporary file instead of
9824
using COMPILE so finding warning positions works when using C-c C-c.
9825
(compute-backtrace): Don't display frames without a function.
9826
(apropos-list-for-emacs): Implement APROPOS.
9827
(who-calls): Implement WHO-CALLS.
9828
(completions): Implement COMPLETIONS.
9829
Use NIL instead of zero so FRESH-LINE does the right thing.
9831
* slime.el (slime-maybe-compile-swank): Removed function---compile
9832
the backend using 'swank-loader.lisp' instead.
9833
(slime-backend): Changed default backend to 'slime-loader'.
9834
(slime-lisp-binary-extension): Deleted as this is no longer needed.
9836
* swank-loader.lisp: New file.
9838
2003-10-17 Luke Gorrie <luke@bluetail.com>
9840
* slime.el (slime-net-connect): Check that
9841
`set-process-coding-system' is fbound before calling it. This is
9842
needed in the XEmacs I built from sources.
9844
2003-10-17 Daniel Barlow <dan@telent.net>
9846
* swank-sbcl.lisp: Transplanted Helmut's serve-event server to
9847
replace the existing thread-using server. SLIME now has no
20849
2003-10-17 21:48 lgorrie
20851
* ChangeLog, swank.lisp:
20855
2003-10-17 21:47 lgorrie
20859
(slime-style-warning-face): Added style-warnings, which are between a
20860
warning and a note in severity. (Patch from Christopher Rhodes).
20862
2003-10-17 21:45 lgorrie
20866
Report style-warnings separately from notes (patch from Christopher
20869
Use REQUIRE to load sb-introspect instead of loading the source file
20870
(requires the sb-introspect library to be installed, which doesn't yet
20871
happen in the sourceforge-lagged SBCL anoncvs, but does in the real
20874
2003-10-17 21:45 lgorrie
20878
When the test fails to complete, print "crashed" instead of reporting
20881
2003-10-17 21:09 jbielman
20883
* ChangeLog, slime.el, swank-cmucl.lisp, swank-loader.lisp,
20884
swank-openmcl.lisp, swank-sbcl.lisp, swank.lisp:
20887
Many fixes for the OpenMCL port:
20889
* swank.lisp (apropos-symbols): Change back to using the standard
20890
2-argument APROPOS-LIST and check symbols explicitly when
20891
EXTERNAL-ONLY is true.
20892
Move loading of sys-dependent backend code into 'swank-loader'.
20894
* swank-sbcl.lisp: Moved declarations of *PREVIOUS-COMPILER-CONDITION*
20895
into 'swank.lisp' to kill warnings about undefined variables.
20897
* swank-openmcl.lisp (handle-compiler-warning): Use source position
20898
instead of function name for warning locations.
20899
(swank-compile-string): Compile into a temporary file instead of
20900
using COMPILE so finding warning positions works when using C-c C-c.
20901
(compute-backtrace): Don't display frames without a function.
20902
(apropos-list-for-emacs): Implement APROPOS.
20903
(who-calls): Implement WHO-CALLS.
20904
(completions): Implement COMPLETIONS.
20905
Use NIL instead of zero so FRESH-LINE does the right thing.
20907
* slime.el (slime-maybe-compile-swank): Removed function---compile
20908
the backend using 'swank-loader.lisp' instead.
20909
(slime-backend): Changed default backend to 'slime-loader'.
20910
(slime-lisp-binary-extension): Deleted as this is no longer needed.
20912
* swank-loader.lisp: New file.
20914
2003-10-17 19:42 lgorrie
20920
2003-10-17 19:42 lgorrie
20924
(slime-net-connect): Check that 'set-process-coding-system' is fbound
20925
before calling it. This is needed in the XEmacs I built from sources.
20927
2003-10-17 04:08 dbarlow
20931
<rtoy_> Ok. There is a mistake in the local vars part in swank.lisp.
20932
;;; End needs a colon at the end to match the colon on ;;; Local Variables:
20934
2003-10-17 03:39 dbarlow
20940
2003-10-17 03:38 dbarlow
20944
Transplanted Helmut's serve-event server to
20945
replace the existing thread-using server. SLIME now has no
9848
20946
dependency on SB-THREAD
9850
* slime.el (slime-find-buffer-package): handle errors from (read)
20948
2003-10-17 03:38 dbarlow
20952
(slime-find-buffer-package): handle errors from (read)
9851
20953
for the case where the buffer ends before the in-package form does
9852
20954
(slime-set-package): insert missing comma
9853
20955
(slime-goto-source-location): sbcl has a disagreement with emacs
9854
20956
over the meaning of a character position. Level up with
9857
* assorted typo fixes
9859
2003-10-16 Luke Gorrie <luke@bluetail.com>
9861
* slime.el (slime-forward-source-path): Improved somewhat. Seems
9862
to work for all common cases except backquote. Backquote is
9863
tricky, because the source-paths are based on the reader's
9865
* (let ((*print-pretty* nil))
9866
(print (read-from-string "`(a ,@(b c) d)")))
9868
(COMMON-LISP::BACKQ-CONS (QUOTE A)
9869
(COMMON-LISP::BACKQ-APPEND (B C)
20959
2003-10-17 03:37 dbarlow
20965
2003-10-17 00:56 lgorrie
20969
Don't bother limiting retries.
20970
Increase max-lisp-eval-depth (possibly cheating)
20972
2003-10-16 23:29 lgorrie
20977
(setq debug-on-quit t)
20978
(setq slime-swank-connection-retries 50)
20980
2003-10-16 23:28 lgorrie
20982
* ChangeLog, .cvsignore:
20986
2003-10-16 23:28 lgorrie
20990
(slime-forward-source-path): Improved somewhat. Seems to work for all
20991
common cases except backquote. Backquote is tricky, because the
20992
source-paths are based on the reader's expansion, e.g.:
20994
* (let ((*print-pretty* nil))
20995
(print (read-from-string "`(a ,@(b c) d)")))
20997
(COMMON-LISP::BACKQ-CONS (QUOTE A)
20998
(COMMON-LISP::BACKQ-APPEND (B C)
9871
21001
Must investigate whether we need to write a hairy
9872
21002
backquote-traversing state machine or whether this is something
9873
21003
that could be fixed in CMUCL.
9875
* swank*.lisp (with-trapping-compiler-notes): This macro is now
9876
defined here, and expands to a call to the backend-defined
9877
`call-trapping-compiler-notes' with the body wrapped in a
9878
lambda. This is to avoid swank.lisp referring to macros in the
9879
backends -- it gets compiled first so it thinks they're functions.
9881
* slime.el (slime-swank-connection-retries): New default value is
9882
`nil', which means unlimited retries (until user aborts). Retry
9883
interval also reduced from once per second to four times per
9886
2003-10-16 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9888
* swank-cmucl.lisp, swank.lisp: Fix CMUCL support.
9890
2003-10-15 Daniel Barlow <dan@telent.net>
9892
* swank.lisp: rearrange the backends. rename swank.lisp to
9893
swank-cmucl.lisp, then create new swank.lisp which loads an
9894
appropriate backend according to *features*. Next up,
9895
identify common functions in the backends and move them
9898
2003-10-15 Helmut Eller <e9626484@stud3.tuwien.ac.at>
9900
* slime.el: Inspector support. list-callers, list-callees
9901
implemented without xref.
9903
* swank.lisp: Lisp side for inspector and list-callers,
9904
list-calees. Better fdefinition finding for struct-accessors.
9907
2003-10-15 Luke Gorrie <luke@bluetail.com>
9909
* slime.el (slime-point-moves-p): Macro for executing subforms and
9910
returning true if they move the point.
9912
* test.sh: New file to run the test suite in batch-mode. Will need
9913
a little extending to allow configuring the right variables to
9914
work with non-CMUCL backends.
9916
* slime.el: Set `indent-tabs-mode' to nil. This makes diffs look
21005
2003-10-16 23:03 lgorrie
21009
Fixed braino in previous change.
21011
2003-10-16 23:03 lgorrie
21013
* swank-cmucl.lisp, swank-openmcl.lisp:
21015
Fixed braino in previous change: call-trapping-compilation-notes was
21018
2003-10-16 22:05 lgorrie
21020
* ChangeLog, swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
21023
The macro `with-trapping-compiler-notes' is now defined in the
21024
portable code, and expands to a call to the backend-defined
21025
`call-trapping-compiler-notes' with the body wrapped in a lambda. This
21026
is to avoid swank.lisp referring to macros in the backends -- it gets
21027
compiled first so it thinks they're functions.
21029
2003-10-16 18:10 lgorrie
21033
Fixed braino in previous change.
21035
2003-10-16 18:08 lgorrie
21041
2003-10-16 18:07 lgorrie
21045
(slime-swank-connection-retries): New default value is `nil', which
21046
means unlimited retries (until user aborts). Retry interval also
21047
reduced from once per second to four times per second.
21049
2003-10-16 13:13 heller
21055
2003-10-16 13:10 heller
21057
* swank-cmucl.lisp:
21059
(read-next-form): Isn't quite portable. Redefine it here.
21060
(read-symbol/package): Deleted. (Was not used.)
21061
(function-source-location): Deal with struct-slot setters.
21063
2003-10-16 13:08 heller
21067
swank::*sysdep-pathname*: Use defparameter so that cmucl loads the fasl file.
21068
(compiler-notes-for-emacs): Got lost during refactoring.
21070
2003-10-16 04:05 dbarlow
21074
silly packaging mistake
21076
2003-10-16 01:02 dbarlow
21078
* swank-openmcl.lisp:
21082
2003-10-16 00:48 dbarlow
21084
* swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
21088
Third portablizing iteration: more refactoring common bits
21090
pprint-eval set-package *compiler-notes* clear-compiler-notes
21091
*notes-database* clear-note-database features canonicalize-filename
21092
compiler-notes-for-file compiler-notes-for-emacs measure-time-interval
21093
call-with-compilation-hooks
21094
list-all-package-names apropos-symbols print-output-to-string
21095
print-description-to-string describe-symbol describe-function
21096
apply-macro-expander swank-macroexpand-1 swank-macroexpand
21099
2003-10-16 00:02 dbarlow
21101
* swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
21104
Second iteration refactoring common bits:
21106
server-port *swank-debug-p* start-server *emacs-io* *slime-output*
21107
read-next-form read-form *redirect-output* read-from-emacs
21108
send-to-emacs prin1-to-string-for-emacs defslimefun *buffer-package*
21109
from-string to-string guess-package-from-string eval-string
21110
interactive-eval defslimefun-unimplemented
21113
2003-10-15 23:24 dbarlow
21115
* ChangeLog, swank-cmucl.lisp, swank-openmcl.lisp, swank-sbcl.lisp,
21118
First checkin on the way to rearranging the backends. Rename
21119
swank.lisp to swank-cmucl.lisp, then create new swank.lisp which loads
21120
an appropriate backend according to *features*.
21122
Next, identify common functions in the backends and move them into
21125
2003-10-15 19:47 heller
21131
2003-10-15 19:39 heller
21135
(slime-inspect, slime-list-callers, slime-list-callees): New commands.
21137
(destructure-case): Avoid multiple otherwise cases (breaks in xemacs).
21139
(slime-make-state-function): Put inside a eval-when-compile.
21143
2003-10-15 19:30 heller
21147
*swank-io-package*: Import t and quote.
21149
(prin1-to-string-for-emacs): Use standard-io-syntax.
21151
(*previous-compiler-condition*, *previous-context*,
21152
handle-notification-condition, clear-compiler-notes,
21153
compiler-note-for-emacs, minimal-compiler-note-for-emacs,
21154
severity-for-emacs): Try to deal with error messages without context
21157
(list-callers, list-callees): Find callers by inspecting the constant
21158
pool of code components.
21160
(find-fdefinition, function-debug-info, fdefinition-file,
21161
code-definition-file): Deleted.
21165
2003-10-15 18:56 lgorrie
21171
2003-10-15 18:23 lgorrie
21175
Added note about FAIRLY-STABLE tag.
21177
2003-10-15 18:19 lgorrie
21183
2003-10-15 17:01 lgorrie
21189
2003-10-15 16:59 lgorrie
21193
(slime-point-moves-p): Macro for executing subforms and returning true
21194
if they move the point.
21196
2003-10-15 16:59 dbarlow
21198
* ChangeLog, README, README.sbcl:
21200
Updated verbiage to reflect multiple backends and change of hosting provider
21202
2003-10-15 16:44 lgorrie
21204
* ChangeLog, test.sh:
21208
2003-10-15 16:43 lgorrie
21212
Set `indent-tabs-mode' to nil. This makes diffs look
9918
(slime-start-swank-server): Now passing the port number to
21214
(slime-start-swank-server): Now passing the port number of
9919
21215
SWANK:START-SERVER.
9920
21216
(slime-evaluating-state): Debugging synchronous evaluations with
9921
21217
recursive edits now works.
9922
(slime-forward-sexp): Added support for #|...|# reader comments.
21218
(slime-forward-sexp): Added support for #|...|# reading comments.
9923
21219
(sldb-hook): New hook for entry to the debugger (used for the test
9925
21221
(slime-run-tests): Reworked the testing framework. Now presents