summaryrefslogtreecommitdiff
path: root/elisp
AgeCommit message (Collapse)Author
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
2015-09-09Autoload geiser-connect-local as wellChristoph Egger
2015-09-08Ensuring switch-to-geiser asks for an implementationJose Antonio Ortega Ruiz
Should fix issue #85
2015-09-07Add highlighting for geiser-custom--defcustom/deffaceAlex Kost
2015-09-06repl: Add 'save-history' argument to 'geiser-repl--send'Alex Kost
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-08-14Don't try to turn on geiser-mode in non-scheme buffersJose Antonio Ortega Ruiz
xscheme defines its own scheme-interaction-mode that, quite rudely if you ask me, calls not only its hooks, but also scheme-mode's. Among them, turn-on-geiser-mode, causing havoc to users of xscheme's run-scheme function. We, ahem, fix this problem by checking that we're actually in scheme-mode when our hook is called. Thanks to Federico Beffa for his reports.
2015-08-14Modifies geiser--cut-version regexDan Leslie
Minor and Patch versions are now optional.
2015-08-14Closes jaor/geiser#65Dan Leslie
geiser--cut-version only supports single-digit minor versions. - Improves the regex to support multiple-digit minor versions. Contributed by @kovrik
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