NEVER EVER EVER use a damned bench grinder or anthing else electric or powered. Once the blade is heated up, you'll lose the temper, and it'll never hold an edge again.
There's a great myth that anything that warms a blade up will destroy the temper.
The fact is that to affect the temper you have to raise the temperature above the final heat-treatment temperature. That is a minimum of about 300F and is considerably higher on most blades. Water boils a little over 200F. So, as long as you don't heat the blade up enough to boil water, you've got at least about a hundred degrees F of safety margin.
Most custom makers sharpen their blades with some sort of electric grinder. So, they can't be all wrong.
Now, if your grinder is going so fast that you can see sparks, then, yes, you have destroyed the temper of the very edge of the blade. Those sparks are burning steel and steel burns a lot hotter than 300F. So, the sparks are a clear sign that things got above 300F. But, only at the very edge. Even in this case, it is usually only necessary to remove a few hundredths of an inch of the blade to get back to well-tempered steel.
The typical electric "sharpeners" are pretty brutal on a knife. Furthermore, these devices are typically designed to sharpen knives made of soft steel since most kitchen knives are pretty soft. Most of the knives we typically have are made of much harder steel. These classic electric sharpener not only won't do a good job, but the knife will actually dammage the machine.
So, our friend Mr. Lothar.OTHP, is correct that the classic electric kitchen knife sharpener (often attached to a can opener), is not a good idea.