(AP) -- U.S. stock indexes moved higher in midday trading Wednesday, led by gains in energy companies as the price of oil recovered from an early slide. Investors were also weighing the latest company earnings and deal news. Consumer staples companies were the biggest laggard.
KEEPING SCORE: The Dow Jones industrial average rose 39 points, or 0.2 percent, to 18,093 as of 12:14 p.m. Eastern time. The Standard & Poor's 500 index added two points, or 0.1 percent, to 2,103. The Nasdaq composite index gained 12 points, or 0.3 percent, to 4,952.
PRINT IT: Lexmark International surged 10 percent after the printer maker agreed to be bought by a group that includes Apex Technology and PAG Asia Capital for about $2.51 billion. The stock added $3.48 to $38.14.
CHARGE IT: Discover Financial Services climbed 7.6 percent after the credit card issuer and lender reported better-than-anticipated quarterly profit and sales as loan volume improved. The stock gained $4 to $56.55.
NO FIZZ: Coca-Cola slid 4.8 percent after the world's biggest beverage maker reported a lower profit for the first quarter. The company was squeezed by a strong dollar and charges related to the transformation of its North American operations. Coca-Cola fell $2.23 to $44.37.
STRONG QUARTER: VMWare jumped 13.2 percent after the cloud-computing company reported better-than-expected earnings. The stock climbed $6.80 to $58.26.
FOR SALE: Yahoo rose 3.4 percent a day after the Internet pioneer said that it is considering the sale of part or all of its Internet business. The news overshadowed its latest quarterly loss. The stock added $1.25 to $37.58.
NOT RECOMMENDED: Angie's List slid 5.3 percent after the online ratings service reported an unexpected loss and disappointing sales in the first quarter. The stock lost 41 cents to $8.16.
ENERGY: U.S. crude reversed an early morning slide. It was up 70 cents, or 1.7 percent, at $41.78 a barrel in New York. Brent crude, the international benchmark, was up 60 cents, or 1.4 percent, at $44.63 a barrel in London.
OVERSEAS: In Europe, Germany's DAX rose 0.7 percent, while the CAC-40 of France gained 0.6 percent. The FTSE 100 of leading British shares added 0.1 percent. Earlier in Asia, most markets closed lower. South Korea's Kospi fell 0.3 percent and Hong Kong's Hang Seng slid 0.9 percent. Japan's benchmark Nikkei 225 edged up 0.2 percent, while Australia's S&P/ASX 200 added 0.5 percent.
BONDS AND CURRENCIES: Bond prices rose. The yield on the 10-year Treasury note fell to 1.80 from 1.78 late Tuesday. In currency markets, the euro fell to $1.1333 from $1.1377, while the dollar rose to 109.46 yen from 109.13.