Re: [PATCH] Improve documentation of 'modified' (Was: Bug in 7.3.301: 'modified' not set when buffer changed by BufRead autocommand)

2011-09-09 Fir de Conversatie Bram Moolenaar
Gary Johnson wrote: > On 2011-09-07, Gary Johnson wrote: > > On 2011-09-07, James Vega wrote: > > > On Wed, Sep 07, 2011 at 02:16:59PM -0700, Gary Johnson wrote: > > > > When a buffer is modified by a BufRead autocommand or by a filetype > > > > plugin, 'modified' is not set. > > > > > > This is

[PATCH] Improve documentation of 'modified' (Was: Bug in 7.3.301: 'modified' not set when buffer changed by BufRead autocommand)

2011-09-08 Fir de Conversatie Gary Johnson
On 2011-09-07, Gary Johnson wrote: > On 2011-09-07, James Vega wrote: > > On Wed, Sep 07, 2011 at 02:16:59PM -0700, Gary Johnson wrote: > > > When a buffer is modified by a BufRead autocommand or by a filetype > > > plugin, 'modified' is not set. > > > > This is documented in the text below ":help

Re: Bug in 7.3.301: 'modified' not set when buffer changed by BufRead autocommand

2011-09-07 Fir de Conversatie Gary Johnson
On 2011-09-07, James Vega wrote: > On Wed, Sep 07, 2011 at 02:16:59PM -0700, Gary Johnson wrote: > > When a buffer is modified by a BufRead autocommand or by a filetype > > plugin, 'modified' is not set. > > This is documented in the text below ":help gzip-example". > > The commands executed fo

Re: Bug in 7.3.301: 'modified' not set when buffer changed by BufRead autocommand

2011-09-07 Fir de Conversatie James Vega
On Wed, Sep 07, 2011 at 02:16:59PM -0700, Gary Johnson wrote: > When a buffer is modified by a BufRead autocommand or by a filetype > plugin, 'modified' is not set. This is documented in the text below ":help gzip-example". The commands executed for the BufNewFile, BufRead/BufReadPost, BufWri

Bug in 7.3.301: 'modified' not set when buffer changed by BufRead autocommand

2011-09-07 Fir de Conversatie Gary Johnson
When a buffer is modified by a BufRead autocommand or by a filetype plugin, 'modified' is not set. To show this, create a simple file (testfile) containing these lines: abc def ghi >From a shell prompt, execute this command: vim -u NONE --cmd 'au BufRead * %s/e//' -c 'set lastst