-
Notifications
You must be signed in to change notification settings - Fork 119
Ident breaks for files starting with a shebang #27
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
Comments
Sorry but I cannot replicate this. If I copy-paste the example you give then I do get indentation when I press Tab at that point. What version of Emacs are you using and what are the values of |
emacs: GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12) of 2012-11-06 on zarquon php-mode-version-number: 1.6.6 |
That will help a lot. Thanks. |
I switched back to the versions you described above and unfortunately still could not replicate this issue. So for the time being I am at a loss. However I am going to leave this bug open just in case someone runs into the same problem. There is another open issue related to indentation I need to address so I am hoping that I fix this issue too in the cross-fire. |
I cannot duplicate this issue too. On my Emacs 24.2.90.1 and php-mode 1.9 indentation is ok. |
Thanks for the report marcinant. @etu I have asked a few friends to try out this issue on their machines and could not replicate it as well, so honestly I am at a loss. I am going to close this bug, however I keep a personal project todo-list in the folder and I am keeping this item on there, just so I will remember to keep an eye open for it. I'm sorry I haven't been able to figure out why it does not work for you the way it should. But there is a test case in the repository now so that I (and anyone else) can check to see if any future work done regarding indentation has an effect. Hopefully we'll figure this out soon. |
emacs-php#29, emacs-php#42 This massively cuts back on the elisp code needed.
@ejmr: I regret to report this DOES still happen, in the worst possible way: Irreproducible. Retelling:
Can the fact the error goes away when you reopen the buffer help fix this pesky varmint?
|
@forthrin I no longer maintain or work on PHP Mode, and nowadays usually do not respond to notifications about it, but I want to make sure @zonuexe is aware of this issue. He is the current maintainer, and more importantly he will do a much better job than me at figuring out a solution to this issue. For what it's worth, I tried to duplicate the error again, yet again I could not. Some important info from the output of
@zonuexe Please let me know if any other info would help you in debugging this. As an aside, maybe it would be a good idea to re-open this issue and also create a GitHub label like "Cannot Reproduce" or something similar, something to indicate that there is a bug but it is not one everyone can reliably duplicate. |
@forthrin @ejmr Thanks for suggestion. (By the way, because I am not the owner of this repository, I can not receive notification of all issues from GitHub's features and mails. But since I use NotHub, if I am luckily in front of the computer I can detect all notifications at the same time. ) |
I'm closing it because it looks like there is no problem today. |
Yeah, I do scripting in PHP sometimes, and want to run them as executables like any other file.
The common way to do this is:
Results in no indent.
The text was updated successfully, but these errors were encountered: