Make directory option a global-local

2008-02-25 Fir de Conversatie Andrew McCarthy
Hi folks, I'm new to this list. Please let me know if I'm missing anything or should be posting on another list. I'm investigating this bug reported on Ubuntu's Launchpad: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/11899 The quick summary is that Mutt asked Vim to edit a file

Re: Make directory option a global-local

2008-02-25 Fir de Conversatie James Vega
On Mon, Feb 25, 2008 at 12:06:24PM +, Andrew McCarthy wrote: Thoughts? Any better/cleaner ideas? mkdir -p ~/.vim/tmp echo 'set directory=$HOME/.vim/tmp' .vimrc -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Make directory option a global-local

2008-02-25 Fir de Conversatie Andrew McCarthy
On Mon, Feb 25, 2008 at 07:57:02AM -0500, James Vega wrote: On Mon, Feb 25, 2008 at 12:06:24PM +, Andrew McCarthy wrote: Thoughts? Any better/cleaner ideas? mkdir -p ~/.vim/tmp echo 'set directory=$HOME/.vim/tmp' .vimrc That works alright, but I was hoping to avoid a total change to

Re: Make directory option a global-local

2008-02-25 Fir de Conversatie Matt Wozniski
On Mon, Feb 25, 2008 at 9:27 AM, Andrew McCarthy wrote: On Mon, Feb 25, 2008 at 07:57:02AM -0500, James Vega wrote: On Mon, Feb 25, 2008 at 12:06:24PM +, Andrew McCarthy wrote: Thoughts? Any better/cleaner ideas? mkdir -p ~/.vim/tmp echo 'set directory=$HOME/.vim/tmp'

Re: Make directory option a global-local

2008-02-25 Fir de Conversatie ThoML
Thoughts? Any better/cleaner ideas? If there actually is a problem, the problem IMHO would be that the temporary file is created in /tmp which doesn't lie in vim's responsibility though. What's the use of the swp file without the message text? If you set directory to ., the swp file will be