Comments (5)
I don't get it: as far as I remember these args were never &optional
. They were mandatory and now they are &key
. contrib/sly-mrepl.el
is the only user of this slyfun and it uses it with &key
args.
(It should use &optional
though, but that's another matter, and probably not terribly important. &key
args are probably not good over the wire as they waste bytes...)
commit 616f904a496f9b624dd94ffd5bb64718203aba00
Author: João Távora <[email protected]>
Date: Wed Nov 26 14:32:26 2014 +0000
Make C-c C-z and C-c C-~ available in all of SLY
* contrib/sly-mrepl.el (sly-mrepl): C-c C-z and C-c C-~ are useful
in `sly-mode-map' too.
(sly-mrepl--with-repl-for): Add edebug spec.
(sly-mrepl-sync-package-and-default-directory): Work even when no
directory and or package can be inferred. Add interactive
spec.
(sly-mrepl--eval-for-repl): Add docstring.
* contrib/slynk-mrepl.lisp (eval-for-mrepl): Fix typo.
(sync-package-and-default-directory): PACKAGE-NAME and DIRECTORY
are now keyword args.
from sly.
I was getting the error pasted below error but after a make clean/all it works fine, it must have been a stray .elc. I thought that because sly asked to recompile the files I was in the clear. I should have been more thorough. Sorry about that. It appears to be working fine. Btw, even though the args were never optional you do see the diff in the commit I linked showing changing them to optional?
unknown &KEY argument: "#:kiosko-crawl/peru21"
[Condition of type SB-INT:SIMPLE-PROGRAM-ERROR]
Restarts:
0: [*ABORT] Return to SLY's top level.
1: [ABORT] Abort thread (#<THREAD "sly-channel-1-mrepl-remote-1" RUNNING {1005FE2AB3}>)
Backtrace:
0: (SLYNK-MREPL:SYNC-PACKAGE-AND-DEFAULT-DIRECTORY "#:kiosko-crawl/peru21" "/home/puercopop/quicklisp/local-projects/kiosko/crawlers/") [more,optional]
1: ((LAMBDA NIL :IN SLYNK-MREPL:EVAL-FOR-MREPL))
2: (SLYNK::CALL-WITH-BINDINGS ((*PACKAGE* . #<PACKAGE "COMMON-LISP-USER">) (* . #1=(DRAKMA CLSS PLUMP)) (**) (***) (/ #1#) (//) ...) #<CLOSURE (LAMBDA NIL :IN SLYNK-MREPL:EVAL-FOR-MREPL) {100872571B}>)
3: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SLYNK-MREPL:EVAL-FOR-MREPL 1 (QUOTE SLYNK-MREPL:SYNC-PACKAGE-AND-DEFAULT-DIRECTORY) "#:kiosko-crawl/peru21" "/home/puercopop/quicklisp/local-projects/kiosko/crawlers/") ..
4: (EVAL (SLYNK-MREPL:EVAL-FOR-MREPL 1 (QUOTE SLYNK-MREPL:SYNC-PACKAGE-AND-DEFAULT-DIRECTORY) "#:kiosko-crawl/peru21" "/home/puercopop/quicklisp/local-projects/kiosko/crawlers/"))
5: (SLYNK:EVAL-FOR-EMACS (SLYNK-MREPL:EVAL-FOR-MREPL 1 (QUOTE SLYNK-MREPL:SYNC-PACKAGE-AND-DEFAULT-DIRECTORY) "#:kiosko-crawl/peru21" "/home/puercopop/quicklisp/local-projects/kiosko/crawlers/") "common-..
make check
...
Ran 186 tests, 179 results as expected, 6 unexpected, 1 skipped (2015-01-11 04:06:13-0500)
1 expected failures
6 unexpected results:
FAILED indent-30
FAILED indent-32
FAILED indent-84
FAILED indent-85
FAILED indent-86
FAILED sly-package-fu-test-package-used-p-test
1 skipped results:
SKIPPED autodoc-space-1
make: *** [check-fancy] Error 6
from sly.
@PuercoPop, I've seen that github diff, and everything seems fine. Aren't you confusing the very similarly named functions in contrib/sly-mrepl.el
and contrib/slynk-mrepl.lisp
? The first changed the args to optional and the second changed them to &key
Apropos the test failures, that's another matter. Those indentation tests have been failing in emacs 24.4 for a while now. But travis uses an older version of emacs that passes them. The sly-package-fu-test-package-used-p-test
is yet another matter, can you describe how you reproduce the failure in a separate issue?
from sly.
Oi, sorry I wasn't clear, after I did make clean make all I have no issue at all.
from sly.
I thought that because sly asked to recompile the files I was in the clear. I
You're talking about sly.el
asking to recompile itself right? Yes, it does give that false impression, I never liked it. It should much rather invoke "make compile" or don't even check. Anyway, you can also update from MELPA which should avoid those issues. But if you do that it's a slightly more cumbersome to hack on SLY itself and open pull requests...
from sly.
Related Issues (20)
- Problem with find-definition in Allegro 11 beta HOT 12
- Emacs update to 29.1 broke sly HOT 4
- Understanding sly-mrepl--syntax-propertize HOT 13
- Improper indenting of code after loop subclause "do" HOT 1
- How to disable that the REPL start with a drawing (Sylvester) HOT 5
- Code stepper. HOT 1
- Undefined behavior due to modifying shared constants HOT 20
- I have developed a simple way to search Common Lisp symbols with SLY; merge into this package or keep separate? HOT 3
- Standard and error output's become line buffered and non auto flushing
- How to show images in the SLY's REPL? HOT 8
- Setting `sly-lisp-implementations` to a command that has quotes HOT 4
- C-c C-z HOT 3
- comma misbehaving in the SLY mrepl HOT 2
- How to achieve vanilla completion HOT 14
- Bad defsystem indentation HOT 5
- sly-mrepl fails to load HOT 10
- Request: capture full `#p"..."` when running `sly-inspect`
- Allowing Spaces to Work Like Hyphens When Completing (Corfu - Orderless Standardization)
- Why is sly-stepper not an in-tree contrib? HOT 1
- fails to load HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sly.