summaryrefslogtreecommitdiff
path: root/elisp
AgeCommit message (Collapse)Author
2016-04-30Clean-up elisp codePeter
2016-04-30Add chez to Makefile, add autoloads for chezPeter
2016-04-30Add preliminary support for Chez SchemePeter
2016-04-26Add preliminary support for MIT/GNU Scheme.Peter
2016-04-23Define 'geiser-xref-mode' with 'define-derived-mode'Alex Kost
2016-04-23Define 'geiser-debug-mode' with 'define-derived-mode'Alex Kost
2016-04-23Define 'geiser-doc-mode' with 'define-derived-mode'Alex Kost
2016-04-23Initialize 'geiser-doc-mode-map' inside defvarAlex Kost
2016-04-23Fix indentation of named 'match-let'Alex Kost
This fixes a regression introduced by commit 424553e017718c54e219212b27a32b341ec6bd28.
2016-04-20Do not use 'geiser-xref--with-buffer' before it is definedAlex Kost
This is a fix similar to the one made in commit 8e75455dfbd46355d777c26366e7ccfcb59ace20.
2016-04-10Use assq instead of assoc in request and connection wrappersAlex Kost
2016-04-10Remove double call in 'geiser-con--connection-add-request'Alex Kost
Avoid calling 'geiser-con--request-string' twice by wrapping it into 'let'.
2016-04-07Fix REPL reconnectingAlex Kost
This fixes 2 issues: 1. Reconnecting to a remote process prompts for host/port, although it is not needed. 2. 'geiser-connect' should be used only if 'geiser-repl--address' is a host/port pair. When it is a socket file name, 'geiser-connect-local' should be used.
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.
2016-01-07Behave nicely with other company backendsDan Leslie
company-backends should not be overridden by modes, as users may have additional backends that they wish to use. The appropriate behaviour is to add your backend to the company-backends list. Also removed the overriding of what ought to be user-controlled variables.
2015-12-30Oops: shell-quote-binary -> shell-quote-argumentJose Antonio Ortega Ruiz
2015-12-27Avoiding uses of geiser-doc--with-buffer before its definitionJose Antonio Ortega Ruiz
As patiently pointed out by Alex Kost in the discussion of issue #121, using the macro defined by the geiser-popup--define macro before its actual definition causes problems when geiser is loaded after compilation. Thanks again, Alex and Federico.
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-14Fix geiser-connect-local for non-interactive useAlex Kost
Move prompting for a socket file name to the interactive form.
2015-12-05Removed changes to geiser-connectionDan Leslie
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-13Oops: font-lock-ensure is from the futureJose Antonio Ortega Ruiz
Should fix #105
2015-10-12So font-lock-fontify-buffer is for interactive useJose Antonio Ortega Ruiz
Fixed by using font-lock-ensure instead
2015-10-12Keeping the elisp compiler happyJose Antonio Ortega Ruiz
Mainly by reordering definitions so that functions are not used before defined. There are a couple of places where the compiler and I disagree (it complains withing eval-after-load), and a valid complain about functions defined via geiser-popup--define that should be addressed).
2015-10-05Merge remote-tracking branch 'alezost/indent+highlight'Jose Antonio Ortega Ruiz
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-10-03Add missing highlighting for 'syntax-case'Alex Kost
2015-10-03Add more highlighting/indentation for GuileAlex Kost
2015-10-03Add highlighting/indentation for testsAlex Kost
API for test suites is defined by SRFI-64.
2015-10-03Add highlighting/indentation for exceptionsAlex Kost
Exceptions are defined by R6RS, SRFI-18 and SRFI-34.
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-30Skip expression quote when getting a racket symbolMario Rodas
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-27Add 'geiser-guile--builtin-keywords'Alex Kost
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-23Remove Geiser faces from 'faces' custom groupAlex Kost
2015-09-16Add 'geiser-repl-buffer-name-function' variableAlex Kost
2015-09-10Speeding up debugger check (addresses #64)Jose Antonio Ortega Ruiz
Soooo, the long delay experienced when evaluating long string lists in Guile had nothing to do with the time took by emacs to read the response from the scheme process; that process is always a breeze, no matter or its format or number of newlines. The delay was provoked by an innocent looking function that scans the received string (which includes a prompt at the end as an EOT marker) to check whether Guile (or any other scheme) has just entered the debugger (that's done inside `geiser-con--connection-update-debugging`). For some reason, `string-match` on that kind of string using Guile's regexp for a debug prompt takes forever. Instead of trying to optimize the regular expression, i've just applied it to the *second* line of the received string, which is the one that contains the response's prompt.
2015-09-10Fix for geiser-connect-localJose Antonio Ortega Ruiz
This one should address #79. I'm very surprised this ever worked!
2015-09-10Moving implementation loading to geiser-repl (#82)Jose Antonio Ortega Ruiz
That way we avoid circularities in the load graph, always a good thing.
2015-09-10Redundant provide in define-geiser-implementationJose Antonio Ortega Ruiz
This is gone now, since we're diligent enough to always end our impl definitions with an explicit provide form. See PR #87 for a bit of discussion.
2015-09-09WhitespaceJose Antonio Ortega Ruiz