summaryrefslogtreecommitdiff
path: root/elisp/geiser-chicken.el
AgeCommit message (Collapse)Author
2016-09-30Use (car (process-lines ...)) instead of (shell-command ...)Jordan Brown
`shell-command` assumes Bourne-shell-compatible quoting, which doesn't work when the user isn't using a Bourne-compatible shell. Instead of futzing about with quoting, we can just use `process-lines` to execute a process and pass it arguments directly.
2016-09-17Allows Chicken to limit the number of symbols provided to Geiserdleslie
- Also cleaned up the namespace a little.
2016-08-10Adds required modules to binary parametersDan Leslie
-This causes chicken to fail to run if it cannot find the required modules for Geiser; and will tell the user that the module is missing.
2016-08-10Remove compilation of chicken moduleDan Leslie
This was causing confusion and bug reports on a semi-regular basis. Disable it for now until a better solution is made.
2016-01-19Fuzzy matching for Chicken AutoDoc and CompletionsDan Leslie
Because Chicken allows symbols to be imported with prefixes, and because 'apropos' does not provide any utility to match with the loaded prefixes, it is difficult to acquire information about prefixed symbols. This solution hacks around the issue by providing naive fuzzy-matching. If no match for a symbol can be found then the first character is dropped and matching is attempted again; the process is repeated until matches are found or the entire symbol is consumed. Also removes the (now redundant and slow) geiser-chicken-prefix-delimiters.
2015-12-30Oops: shell-quote-binary -> shell-quote-argumentJose Antonio Ortega Ruiz
2015-12-26Quoting binary on version checks (issue #117)Jose Antonio Ortega Ruiz
We could probably be even more robust, but i am being a bit lazy instead.
2015-12-05Completions didn't work after first symbol in sexpDan Leslie
2015-12-05Fixes for Literals, Errors and ModulesDan Leslie
If literals were present chicken wouldn't provide any autodocumentation due to an error. Module evaluation was failing due to poor input. Chicken's Error output was failing to parse - Filter out all non-symbols from the autodoc set - Properly escape module names - Add "Error" to the set of accepted error prefixes
2015-10-21Use OS-specific quotes when asking for versionsJose Antonio Ortega Ruiz
Fixes #95. This is @kovrik's patch, with 80-columns max formatting.
2015-10-03Minor improvementsDan Leslie
Removed the unnecessary csi reference Added a flag to force build an so
2015-10-03Converts toplevel methods to prefixed methodsDan Leslie
This seems to improve speed; in a large environment I witnessed a regular 100ms increase in speed for autodoc.
2015-09-30Follow suit and complete quoted symbols in all schemesJose Antonio Ortega Ruiz
I kind of dislike completion on symbols, because a quote reads to me as 'stop evaluating', and a symbol per se has infinite possible conversions. But, on the other hand, not completing has no practical advantage, and, moreover, we're already completing symbols inside quoted lists (e.g. try M-TAB next to `'(defi`)), so my prejudices are not even consistent. So here we go!
2015-09-30Merge remote-tracking branch 'dleslie/master'Jose Antonio Ortega Ruiz
2015-09-27Limits search to the line beginningDan Leslie
- Also adds page breaks to geiser-chicken.el
2015-09-27Clean up indentation rulesAlex Kost
Move general indentation rules to "geiser-syntax".
2015-09-27Use 'geiser-chicken-extra-keywords'Alex Kost
2015-09-27Add general font-lock keywords for all implementationsAlex Kost
Move general RNRS/SRFI keywords from "geiser-chicken" to "geiser-syntax".
2015-09-27Add 'geiser-syntax--simple-keywords'Alex Kost
Use this function instead of repeating the same code in each implementation.
2015-09-25Adds the ability to have sub-word delimitersDan Leslie
Many chickeners use prefixes when importing eggs, which breaks completions. This commit adds the ability to define custom prefix delimiters, with : and # pre-defined due to their common usage.
2015-09-01Add compiled .so caching to Chicken supportDan Leslie
- Now give compile-file a reasonable destination for the output - Check for aforementioned output and skip the compile if exists - None of the above happens if the system-type is 'windows-nt, which may not be a necessary restriction. And, the existing geiser-chicken-compile-geiser-p var applies. Resolves jaor/geiser#73 for non-windows system
2015-08-31Kill those TABsJose Antonio Ortega Ruiz
2015-08-31Merge remote-tracking branch 'dleslie/proper-windows-loading'Jose Antonio Ortega Ruiz
2015-08-28Adds necessary parameter to csi for Windows.Dan Leslie
-:c is required to make csi behave nicely with Emacs on Windows. This ought to resolve jaor/geiser#67
2015-08-27Now suppress loading messagesDan Leslie
Chicken won't become available to Geiser until it's actually done loading. A number of bugs are related to this, including jaor/geiser#68 but also some quizzically flaky completion behaviour. The fix is to suppress output to STDOUT until Chicken is ready; output to STDERR is not suppressed, so if bad things happen it will still appear in the geiser messages buffer. This may fix jaor/geiser#68
2015-07-01geiser-chicken.el: add indentation rule for `with-output-to-pipe'Mario Domenech Goulart
Signed-off-by: Mario Domenech Goulart <mario.goulart@gmail.com>
2015-05-17Various improvementsDan Leslie
- Can now optionally compile Geiser components for enormous speed improvements; enabled by default - Apropos was returning many duplicates, which was causing slowdowns; duplicates are now filtered - Now check for #<unspecified> results and return something - Fixed a typo in a comment - Fixed a typo in calling string-length
2015-05-06Compile instead of Load, should speed up.Dan Leslie
2015-02-09Documentation updates and nits for FreijaJose Antonio Ortega Ruiz
Preparing the release of 0.7, which will feature support for Chicken thanks to Dan and Freija!
2015-02-09Initial Chicken supportDan Leslie