lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Removing empty messages from static_assert()


From: Greg Chicares
Subject: Re: [lmi] Removing empty messages from static_assert()
Date: Sat, 10 Feb 2018 18:00:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 2018-02-10 14:49, Vadim Zeitlin wrote:
> On Fri, 9 Feb 2018 23:12:52 +0000 Greg Chicares <address@hidden> wrote:
[...]
> GC> 
> GC> /opt/lmi/src/lmi[0]$for z in `grep --files-with-match static_assert 
> *.?pp`; do <$z >../stash/$z sed -e '/static_assert/s/, "");/);/' ; done       
>   
> 
>  Just for the record, I didn't do my changes like this,

I was so certain that you wouldn't just run a script and commit
whatever it did blindly, that it wouldn't even have occurred to
me to ask. I only use 'sed' as a cross-check.

> even if it was
> tempting, but manually (well, ":git grep static-assert" and "s/, \?""//"
> and then just Ctrl-N/"&" many times kind of manually, but still) to be sure
> I didn't miss any corner cases.

It's always interesting to compare editing commands. I assume
':git' is provided by some plugin, but...

:scriptnames
 9: /var/lib/vim/addons/plugin/fugitive.vim

is it some plugin other than 'fugitive'?

And what's Ctrl-N? It just seems to move the cursor down, like 'j'.
I looked it up in the manual, and it seems to do some kind of
completion in insert mode, but if I try 'i<C>N' it "scans" stuff
for several seconds and then says:
  -- Keyword completion (^N^P) match 1 of 12336
Is that what you're doing? And does it depend on some custom
configuration or plugin?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]