Posts
49
Comments
69
Trackbacks
0
Emacs powershell-mode.el updated to v0.5

Here is the updated file. The old v0.4 version can still be downloaded as well. Many thanks to Richard Bielawski for taking the time to update some things and fix bugs. Change list from Richard's diff:

  • Indenting fixed on <tab>
  • Elseif keyword added
  • Support standard comment func
  • Bug fixed when visiting files in major mode

I didn't do a thorough test, simply used it in the following scenarios: visiting file, auto-load, colorization, indenting via <tab> and editing.

Apologies for the dastardly delay--but if you have improvements and suggestions / snippets, I'd be happy to include them and give you due credit.

Thanks again Richard!

 

del.icio.us Tags: ,

Technorati Tags: ,
posted on Tuesday, August 19, 2008 7:52 PM Print
Comments
Gravatar
# re: Emacs powershell-mode.el updated to v0.5
Martin S
9/25/2008 8:29 AM
  
Thanks for updating it!
I do get an error upon typing M-x powershell-mode, namely: File mode specification error: (wrong-type-argument stringp t)

I am using native Emacs-22.1 under Win XP.

After the error, the mode still seems to work. What is wrong?
Gravatar
# re: Emacs powershell-mode.el updated to v0.5
Vivek
11/24/2008 8:13 PM
  
Martin:
Not sure, I am using a recent csv version more recent than what you have and get no error. However, if the mode continues to work, I would ignore it till your next emacs upgrade.

If it continues to cause problems let me know and I'll downgrade my emacs version and see what's up.
Thanks
Gravatar
# re: Emacs powershell-mode.el updated to v0.5
Alan B
12/17/2008 6:30 AM
  
I have XEmacs 21.4 and I'm getting these errors also.
Gravatar
# re: Emacs powershell-mode.el updated to v0.5
Alan B
12/17/2008 7:02 AM
  
I did some investigating. The problem is powershell-setup-imenu.
`require' is a built-in function
(require FEATURE &optional FILENAME), but you pass t as a filename where a stringp is expected. Also I don't have which-func.
Gravatar
# re: Emacs powershell-mode.el updated to v0.5
Vivek
12/25/2008 4:38 PM
  
I'll take a look when I get the next chance... Thanks for reporting it.

FWIW, you can take that entire imenu section out for now if this bugs you enough to prevent real work :)

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 3 and 7 and type the answer here:
News
A little slow these days as I'm busy working on exchangelabs.com. I will try and post tidbits when I get some time. Enjoy the older posts till then!