* Remove committed keyword expansions. vim-stuff
authorMahlon E. Smith <mahlon@martini.nu>
Thu, 30 Jul 2009 09:35:10 -0700
branchvim-stuff
changeset 10 a8f9271a7cab
parent 9 0d8306685c5c
child 11 a9ebb6c22d14
* Remove committed keyword expansions. * Update copyright. * Fix glimpseindex problems for the vast majority of errors, otherwise display error for easier user debugging (instead of reporting false success.)
colorschemes/deveiate.vim
glimpse/plugin/glimpse.vim
specky/doc/specky.txt
--- a/colorschemes/deveiate.vim	Mon Jun 01 14:33:54 2009 +0000
+++ b/colorschemes/deveiate.vim	Thu Jul 30 09:35:10 2009 -0700
@@ -9,7 +9,7 @@
 " Drop this into your ~/.vim/colors directory, then load it via
 "       :colorscheme deveiate
 "
-" $Id: deveiate.vim 72 2008-07-02 22:24:58Z mahlon $
+" $Id$
 
 
 " ----------------------------------------
--- a/glimpse/plugin/glimpse.vim	Mon Jun 01 14:33:54 2009 +0000
+++ b/glimpse/plugin/glimpse.vim	Thu Jul 30 09:35:10 2009 -0700
@@ -8,7 +8,10 @@
 " Mahlon E. Smith <mahlon@martini.nu>
 " $Id$
 "
-" Here's a tcsh alias that's nice too!
+" Here's a bash function that's nice too!
+" function g() { command glimpse -winO -F `pwd` $1 | sed 's|^`pwd`/||'; }
+"
+" And a tcsh alias, while we're at it!
 " alias g 'glimpse -winO -F `pwd` \!:1 | sed -e "s|^`pwd`/||"'
 "
 
@@ -138,8 +141,14 @@
 function! <SID>GlimpseIndex()
 	let l:cmd = 'glimpseindex ' . g:glimpseindexFlags . ' -f .'
 	let l:cwd = getcwd()
-	silent! lgetexpr( system(l:cmd) )
+	let $LC_ALL = 'C'
+	let l:index_output = system(l:cmd)
+	let l:index_exit = v:shell_error
 	call s:err( "Updated indexes for '" . l:cwd . "'" )
+	if l:index_exit != 0
+		call s:err( "Uh oh, " . l:cmd . " exited with " . l:index_exit. "!  Output follows:" )
+		call s:err( l:index_output )
+	endif
 endfunction
 
 
--- a/specky/doc/specky.txt	Mon Jun 01 14:33:54 2009 +0000
+++ b/specky/doc/specky.txt	Thu Jul 30 09:35:10 2009 -0700
@@ -302,7 +302,7 @@
 Specky is distributed under the BSD license.
     http://www.opensource.org/licenses/bsd-license.php
 >
-    Copyright (c) 2008, Mahlon E. Smith <mahlon@martini.nu>
+    Copyright (c) 2008-2009, Mahlon E. Smith <mahlon@martini.nu>
     All rights reserved.
 
     Redistribution and use in source and binary forms, with or without