Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please ignore #7

Closed
pierre-rouleau opened this issue Mar 6, 2021 · 1 comment
Closed

please ignore #7

pierre-rouleau opened this issue Mar 6, 2021 · 1 comment

Comments

@pierre-rouleau
Copy link

  • Lispy version: lispy-20210121.926
  • Tested on Emacs 26.3 and 27.1
  • Wanted behavior description: lispy-unbind-variable doc
  • Observed behavior:

Start with the following code and placing the cursor at the same position as described in the linked document above:

defun foobar ()
  (let ((x 10)
	(y 20)
	(z 30))
    (foo1 x y z)
    (foo2 x z y)
    (foo3 y x z)
    (foo4 y z x)
    (foo5 z x y)
    (foo6 z y x)))

Type xu and the result currently is:

(defun foobar ()
  (let ((y 20)
        (z 30))
    (foo1 x y z)
    (foo2 x z y)
    (foo3 y x z)
    (foo4 y z x)
    (foo5 z x y)
    (foo6 z y x)))

Notices that the variable x has been left as-is inside the code instead of being replaced by it's previously bound value of 10 as described in the documentation.

I have not yet looked into the code, but is it possible some statements were removed since the original code tested to write the documentation was done?

--

Despite this minor problem, this package is great! Thanks!!

@pierre-rouleau
Copy link
Author

Wrong depot...

@pierre-rouleau pierre-rouleau changed the title Bug?: lispy-unbind-variable does not replace the unbound variable with its value as described in docs please ignore Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant