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

evilnc-comment-or-uncomment-lines fail to uncomment for autoconf #3

Closed
hongxuchen opened this issue Mar 21, 2013 · 6 comments
Closed

Comments

@hongxuchen
Copy link

It does work when I comment some line, and it always adds dnl to the begin of the line. However It fails to uncomment, neither # nor dnl of the commented line.

FYI, the minor modes that are activated is as belows:

Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption Auto-Fill
Autopair Autopair-Global Column-Number Desktop-Save Display-Time Evil Evil-Local
File-Name-Shadow Font-Lock Global-Auto-Complete Global-Auto-Revert
Global-Font-Lock Global-Linum Global-Pointback Global-Undo-Tree
Goto-Address-Prog Ido-Everywhere Ido-Ubiquitous Line-Number Linum Mouse-Wheel
Openwith Pointback Recentf Shell-Dirtrack Show-Paren Tooltip Transient-Mark
Undo-Tree Yas Yas-Global

Thanks,
Hongxu Chen

@redguardtoo
Copy link
Owner

yes, I can reproduce it. it works on the first line of configure.ac only. wierd.

@redguardtoo
Copy link
Owner

a bug in autoconf-mode, I already sent the bug report to emacs maintainer

@hongxuchen
Copy link
Author

I just found the comment/uncomment keymaps in Emacs is a bit confusing. According to this page, M-; and C-u M-; can comment/uncomment a line, but actually I tried so many file types but found that the uncomment behavior is not right. BTW, would please also post the link address so that I can also see the bug report?Thanks.

@redguardtoo
Copy link
Owner

The bug report is sent by email. So you can find my email on their mailing list (http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-03/msg00891.html). comment-dwim is the default command when you press M-;. My plugin just replace that command because as you can find out by yourself, comment-dwim is crap.

@redguardtoo
Copy link
Owner

Looks emacs developers are busy to fix other bugs. I even contact the author of autoconf.el.
Anyway, here is my workaround. See d3581dc , at least evil-nerd-commenter is functional now even the official Emacs doesn't work. Another reason to stick to my plugin? ;)

@hongxuchen
Copy link
Author

chen bin notifications@github.com writes:
That's really nice, thanks.

Looks emacs developers are busy to fix other bugs. I even contact the author of
autoconf.el.
Anyway, here is my workaround. See d3581dc , at least evil-nerd-commenter is
functional now even the official Emacs doesn't work. Another reason to stick to
my plugin? ;)


Reply to this email directly or view it on GitHub.

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

2 participants