Git Product home page Git Product logo

ivy-yasnippet's People

Contributors

conao3 avatar mkcms avatar

Stargazers

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

Watchers

 avatar  avatar

ivy-yasnippet's Issues

Accidentary enter mini-buffer prompt if candidate snippet have completing-read

Accidentary enter mini-buffer prompt if candidate snippet have completing-read.

repro step

  1. save below snippet as ~/snippet/org-mode/begin_src
# name: begin_src
# key: begin_src
# --
#+begin_src ${1: $$(yas-completing-read "Prompt: "
(append
 '("C++")
 (mapcar
  (lambda (elm)
    (substring (symbol-name elm) 3))
  (cl-remove-if-not
   (lambda (elm)
     (string-prefix-p "ob-" (symbol-name elm)))
   features))))}
  $0
#+end_src
  1. open some org-mode
  2. M-x ivy-yasnippet
  3. move to begin_src candidate
  4. Now prompt enter new completing-read state, mini-buffer say Prompt:.

Assist in porting to consult

consult is a package that tries to bring ivy like completions (with live previews, incremental narrowing and asynchronous commands) to the base completing-read interface (which can be used with ido, selectrum, etc.). I'm currently in the process of porting ivy-yasnippet to consult (See consult#173) and I'd like to ask whether you'd be willing to help explain some of the implementation details of ivy-yasnippet which I've graciously (copied and pasted) adapted for the consult--read interface.

`ivy-yasnippet` executes custom lisp on Org snippet before I exit the minibufer, giving me an `ivy-read` error

Runtime Environment

Issue

  • This is the snippet in question:
# key: bk
# name: Add books to my catalogue
# expand-env ((yas-indent-line 'fixed))
# --
** T ${1:Title}
:PROPERTIES:
:TITLE:    $1
:TYPE:     ${2:$$(yas-choose-value '("     Book" "     Article" "     Other"))}
:GENRE:    ${3:Genre} 
:AUTHOR:   ${4:Author}
:LINK:     ${6:Wikipedia}$0
:CREATED:  `(insert (format-time-string "[%a, %y-%m-%d]"))`
:START:    `(let ((x(org-time-stamp-inactive))))`
:END:      Unknown
:COMPLETE: $5%
:END:

When I cycle through this particular Org Mode snippet with ivy-yasnippet, I get the following error:

ivy-read: Command attempted to use minibuffer while in minibuffer

I'm, therefore, unable to execute the snippet via ivy-yasnippet.

An error occurred while installing ivy-yasnippet

When loading spacemace devel 0.300 on Emacs 25.1.1 I getL

"An error occurred while installing ivy-yasnippet (error: (error Package emacs-25.3 is unavailable))"

Does ivy-yasnipet only works with newer emacs versions?

Thank You

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.