Posts
47
Comments
55
Trackbacks
0
Updated: PowerShell script editing mode for Emacs (powershell-mode.el)
I finally got around to updating my Monad... er.. PowerShell mode for Emacs. It has some minor changes, no functionality differences:
  • Updated all instances of vmsh --> poweshell now that the name change is official
  • File name changed from vmsh-mode.el --> powershell-mode.el
  • In your .emacs, please change from (require 'vmsh-mode) to (require 'powershell-mode)
  • Put the file in your site-list directory. \emacs\site-list or $home\site-lisp

That's it! Here is the file. BTW: the file you'll download is powershell-mode.el.txt. You neeed to remove the ".txt" extension before you can use it.

posted on Saturday, August 05, 2006 7:08 PM Print
Comments
Gravatar
# 
charles williams
9/22/2006 7:09 AM
  
Not really an emacs comment, rather a question:
Is there a shell like query analyzer for powershell? What I would like to do is select the shell commands I want to execute with the mouse and send the selected text to powershell for execution. Output from the commands could be inserted after the selection end point or into another pane (like query analyzer). If I knew how to talk with powershell at a programmatic level, I could probably cobble this up in wpf...

Any info would be appreciated.

thanks.
Gravatar
# 
yiding
10/29/2006 8:10 PM
  
sorry, but where do you define your powershell-indent-line?
Gravatar
# 
Steve
3/22/2007 2:03 AM
  
Indenting doesn't seem to work. I looked at the code but I don't really understand elisp well. Is there any chance you can take a peek at this? I'd really appreciate it.
Gravatar
# 
wade
3/22/2007 7:03 AM
  
powershell-mode.el doesn\'t byte-compile. Line 45 in powershell-electric-brace causes error \
Gravatar
# 
Martin
4/1/2007 12:04 PM
  
powershell-mode.el version 0.4 doesn\\\'t load (without compiling). Version 0.3 works fine.
Gravatar
# The character ‘\’ show not be consider special escape inside strings
Alexandre
6/11/2008 12:17 PM
  
Note that the escape character in pwdshell is not '\' but single '. The \ only behaviour as escape character inside regexp expressions.
Gravatar
# re: Updated: PowerShell script editing mode for Emacs (powershell-mode.el)
Vivek
8/19/2008 8:00 PM
  
Hi folks, the linked file has been updated to the most recent version and should address most issues. Please check the main blog for an entry on this:

www.viveksharma.com/.../...el-updated-to-v0.5.aspx

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 3 and 4 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!