Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Parenthesis and Indent re-arangement #54

Open
ghost opened this issue Sep 4, 2017 · 4 comments
Open

Parenthesis and Indent re-arangement #54

ghost opened this issue Sep 4, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 4, 2017

Hello Shaun,

There is an issue happens in both Indent and Paren mode: When adding a ; comment inside a function at the right side of a form, parinfer adds parenthesis and re-arranges everything.
For example:

It's written normally (and works ok):
(defun convert-to-letter (num)
  (cond ((equal num 1) "O")
        ((equal num 10) "X") 
        (t " ")))

and when adding a ; comment to any of the cond's clauses, it's becoming:
(defun convert-to-letter (num)
  (cond ((equal num 1) "O"))  ; some comment
  ((equal num 10) "X")
  (t " ")) 

Emacs 25.2

Thank you very much.
nicon

@fmnoise
Copy link

fmnoise commented Sep 7, 2017

works good for me, probably it's some another plugin behavior

emacs 25.2  
parinfer 20170710.821

@ghost
Copy link
Author

ghost commented Sep 7, 2017

Do you have any idea of how i could trace this?
Should i disable them all and enable them back one by checking parinfer?

nicon

@fmnoise
Copy link

fmnoise commented Sep 7, 2017

yes, I think that's good approach

@ghost
Copy link
Author

ghost commented Sep 7, 2017

Ok thanx. I'll try and let you know about it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant