Coder Social home page Coder Social logo

scheme-complete's People

Contributors

ashinn avatar lockywolf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

scheme-complete's Issues

run-tests.sh fails when run in emacs shell (trivial patch included)

Running run-tests.sh in an emacs shell buffer fails with an odd message. I believe the problem is caused by the EMACS environment variable being set to 't' in emacs shells. The following patch seems to fix things.

--- a/run-tests.sh
+++ b/run-tests.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if [ -z ${EMACS} ]; then
+if [ -z ${EMACS} -o ! -x ${EMACS} ]; then
    if [ -x "/Applications/Emacs.app/Contents/MacOS/Emacs" ]; then``
        EMACS="/Applications/Emacs.app/Contents/MacOS/Emacs"
    else

scheme-r5rs-info

Hi,

trying to use scheme-complete with mit-scheme I've found that scheme-r5rs-info doesn't work correctly. The following patch solves the problem for me (I'm not able to attach the file to this message).

--- scheme-complete-master/scheme-complete.el.orig  2015-12-25 21:59:09.896909029 +0100
+++ scheme-complete-master/scheme-complete.el   2015-12-25 21:59:17.924993998 +0100
@@ -591,7 +591,7 @@
            '((exact->inexact (lambda (z) z))
              (inexact->exact (lambda (z) z)))
            (mapcar #'(lambda (x)
-                       (list x (scheme-env-lookup *scheme-r7rs-info* x)))
+                       (scheme-env-lookup *scheme-r7rs-info* x))
                    *scheme-r5rs-bindings*))))
   *scheme-r5rs-info*)

Regards,
Fede

litte help please

Hi,

I try to make it work scheme-complete on emacs 25.3.1. I install it on ~/emacs.d/ext.
Made a key binding after loading the module :

(eval-after-load 'scheme
   '(define-key scheme-mode-map "\t" 'scheme-complete-or-indent))

But I always get the same message when I try tab key:
"Can't find completion for ..."

Everything I try... I tried to test with your example:
(string-ref (n^
with the same results.

Did I miss something ?

Regard,

Usage/installation question

Hey Alex,

I'm having trouble with the setup or configuration.

After adding the following to my .emacs and loading:


(autoload 'scheme-smart-complete "scheme-complete" nil t)

(eval-after-load 'scheme
  '(define-key scheme-mode-map "\t" 'scheme-complete-or-indent))

(autoload 'scheme-get-current-symbol-info "scheme-complete" nil t)
(add-hook 'scheme-mode-hook
  (lambda ()
    (make-local-variable 'eldoc-documentation-function)
    (setq eldoc-documentation-function 'scheme-get-current-symbol-info)
    (eldoc-mode)))

(setq lisp-indent-function 'scheme-smart-indent-function)

When I <tab> in a file in scheme-mode, the minibuffer alerts me that

Wrong type argument: commandp, scheme-complete-or-indent

I checked myself, and (commandp 'scheme-complete-or-indent) is in fact nil.

Advice?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.