Yakov Lerner wrote:
On 10/13/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
Benji Fisher wrote:
> While replying to a post on the vim users' list, I noticed a slight
> problem.  The diff commands set some options, but this is not reported
> with "verbose set".  For example
>
> :e foo.txt
> :set fdm=marker
> :diffsplit bar.txt
> :wincmd w     " back to foo.txt
> :verbose set fdm?
>   foldmethod=diff
> :only
> :verbose set fdm?
>   foldmethod=manual
>
>                                       --Benji Fisher
>

Since you entered the built-in command which changed the 'fdm' option at the keyboard, there is no script or modeline to 'verbose'ly report. Or is the file actually not "manual"ly folded at the last step? I don't understand in what
way the "actual behaviour" differs from the "expected behaviour".

The copy of command itself could be remembered
to be printed later by 'verbose set fdm?', like this:
   Last set from interactive, 33 commands ago ':diffsplit bar.txt'
Or the first 80 chars of the command, in case it was too long
(single vim command half million characters long was discussed
recently on the list ... although it was not typed interactively on
vim command line ... )

Alternatively, 'Last set from' could refer to command number as it
appears in the :history (commands are numbered there). But if that
command was too long ago that it dropped from history, you can't
see it using :history.

Just my 5c

Yakov


Maybe; but IMHO that would be a "request for enhancement", not a "bug". I thought Benji meant that Vim was not behaving as advertised.


Best regards,
Tony.

Reply via email to