Re: Incorrect expansion of %?

2014-04-01 Fir de Conversatie Gary Johnson
On 2014-03-12, Nikolay Pavlov wrote: On Mar 11, 2014 11:53 PM, Gary Johnson wrote: On 2014-03-11, Nikolay Pavlov wrote: After my patch was included you can use (mentioned in second or third message in this thread)     :w !diff %:S Appending :S is easy enough to be a good

Re: Incorrect expansion of %?

2014-03-11 Fir de Conversatie Ben Fritz
On Tuesday, March 4, 2014 1:15:40 AM UTC-6, Gary Johnson wrote: Using a GUI file manager, I opened this file with gvim. I made some changes to it, then tried comparing the changed buffer with the copy on disk with this command which I have used for years: :w !diff % -

Re: Incorrect expansion of %?

2014-03-11 Fir de Conversatie Ingo Karkat
On 11-Mar-2014 15:14 +0100, Ben Fritz wrote: On Tuesday, March 4, 2014 1:15:40 AM UTC-6, Gary Johnson wrote: Using a GUI file manager, I opened this file with gvim. I made some changes to it, then tried comparing the changed buffer with the copy on disk with this command which I have

Re: Incorrect expansion of %?

2014-03-11 Fir de Conversatie Charles Campbell
Ingo Karkat wrote: On 11-Mar-2014 15:14 +0100, Ben Fritz wrote: snip Isn't this situation what shellescape() is designed for? That's not saying shellescape() will work, but I think it's supposed to work, unlike using a bare % which should always work for internal Vim commands but will only

Re: Incorrect expansion of %?

2014-03-11 Fir de Conversatie Nikolay Pavlov
On Mar 11, 2014 9:51 PM, Charles Campbell charles.e.campb...@nasa.gov wrote: Ingo Karkat wrote: On 11-Mar-2014 15:14 +0100, Ben Fritz wrote: snip Isn't this situation what shellescape() is designed for? That's not saying shellescape() will work, but I think it's supposed to work, unlike

Re: Incorrect expansion of %?

2014-03-11 Fir de Conversatie Gary Johnson
On 2014-03-11, Charles Campbell wrote: Ingo Karkat wrote: On 11-Mar-2014 15:14 +0100, Ben Fritz wrote: snip Isn't this situation what shellescape() is designed for? That's not saying shellescape() will work, but I think it's supposed to work, unlike using a bare % which should always

Re: Incorrect expansion of %?

2014-03-11 Fir de Conversatie Gary Johnson
On 2014-03-11, Nikolay Pavlov wrote: On Mar 11, 2014 9:51 PM, Charles Campbell wrote: Ingo Karkat wrote: On 11-Mar-2014 15:14 +0100, Ben Fritz wrote: snip Isn't this situation what shellescape() is designed for? That's not saying shellescape() will work, but I think it's

Re: Incorrect expansion of %?

2014-03-11 Fir de Conversatie Nikolay Pavlov
On Mar 11, 2014 11:53 PM, Gary Johnson garyj...@spocom.com wrote: On 2014-03-11, Nikolay Pavlov wrote: On Mar 11, 2014 9:51 PM, Charles Campbell wrote: Ingo Karkat wrote: On 11-Mar-2014 15:14 +0100, Ben Fritz wrote: snip Isn't this situation what shellescape() is

Re: Incorrect expansion of %? (with patch)

2014-03-10 Fir de Conversatie Gary Johnson
On 2014-03-08, Bram Moolenaar wrote: Gary Johnson wrote: On 2014-03-04, Gary Johnson wrote: On 2014-03-04, Christian Brabandt wrote: Am 2014-03-04 08:15, schrieb Gary Johnson: There is a difference between the expansion of % and Ctrl-R % on the command line. I use

Re: Incorrect expansion of %? (with patch)

2014-03-08 Fir de Conversatie Bram Moolenaar
Gary Johnson wrote: On 2014-03-04, Gary Johnson wrote: On 2014-03-04, Christian Brabandt wrote: Am 2014-03-04 08:15, schrieb Gary Johnson: There is a difference between the expansion of % and Ctrl-R % on the command line. I use Dropbox to keep a number of my configuration

Re: Incorrect expansion of %? (with patch)

2014-03-06 Fir de Conversatie Gary Johnson
On 2014-03-04, Gary Johnson wrote: On 2014-03-04, Christian Brabandt wrote: Am 2014-03-04 08:15, schrieb Gary Johnson: There is a difference between the expansion of % and Ctrl-R % on the command line. I use Dropbox to keep a number of my configuration files, including my ~/.vim

Re: Incorrect expansion of %?

2014-03-04 Fir de Conversatie Christian Brabandt
Am 2014-03-04 08:15, schrieb Gary Johnson: There is a difference between the expansion of % and Ctrl-R % on the command line. I use Dropbox to keep a number of my configuration files, including my ~/.vim directory, synchronized between various machines running Linux and Windows. Today I

Re: Incorrect expansion of %?

2014-03-04 Fir de Conversatie Gary Johnson
On 2014-03-04, Christian Brabandt wrote: Am 2014-03-04 08:15, schrieb Gary Johnson: There is a difference between the expansion of % and Ctrl-R % on the command line. I use Dropbox to keep a number of my configuration files, including my ~/.vim directory, synchronized between various

Incorrect expansion of %?

2014-03-03 Fir de Conversatie Gary Johnson
There is a difference between the expansion of % and Ctrl-R % on the command line. I use Dropbox to keep a number of my configuration files, including my ~/.vim directory, synchronized between various machines running Linux and Windows. Today I discovered this file in the ~/Dropbox/vimfiles of a