1. Since g(x)=−∣x+2∣+3, we have g(x)⩾−2.
This implies that ∣x+2∣⩽5, which further implies that −5⩽x+2⩽5.
Solving for x, we get −7⩽x⩽3.
Thus, the solution set for the inequality g(x)⩾−2 is x∣−7leqslantxleqslant3.
2. Since f(x)=∣2x−1∣+2 and g(x)=−∣x+2∣+3, we have f(x)−g(x)=∣2x−1∣+∣x+2∣−1.
Let h(x)=∣2x−1∣+∣x+2∣−1. Then,
h(x)=⎩⎨⎧−3x−2,−x+2,3x,x⩽−2−2<x<21x⩾21
Thus, h(x)⩾23.
Since f(x)−g(x)⩾m+2 always holds true for x∈R, we have m+2⩽23.
Solving for m, we get m⩽−21.
Hence, the range of real number m is (−∞,−21].