The NetHack source contains code for several currently unimplemented features. Some of them are marked deferred, so they may or may not make it into the next version. Many of the following features are included in SLASH'EM.
The beholder (e): a type of floating eye (in fact many eyes on stalks coming out of an even bigger eye; derived from Dungeons & Dragons) with 5 gaze attacks: slowing, sleep, disintegration, stoning, and cancellation.
Depending on how the gaze attacks work (none of them are coded yet), the beholder could be an exceptionally nasty enemy.
The shimmering dragon (D): This would leave shimmering dragon scales and let you create shimmering dragon scale mail, which would confer displacement. Monster displacement is not yet implemented, which may be why this dragon is not yet present. There would be corresponding baby shimmering dragons.
Charon (@) and Cerberus are present in the source code if CHARON is defined, but even if it is, they are both unique monsters which are not placed by any current map. Charon is a very high level peaceful human who, if true to his name's mythology, will ferry the player across the also-yet-to-be-implemented river Acheron/Styx for a fee.
Cerberus is a very high level dog who is tangentially related to Charon in Greek mythology, as the guardian of the gates to Hades. In the SLethe patch, he appears on the final level of the Lethe Gorge.
The spellbook of flame sphere and spellbook of freeze sphere: creates a tame flaming/freezing sphere which will eventually explode at hostile monsters. These spells are fully implemented into SLASH'EM and are starting objects for Flame Mages and Ice Mages respectively.
A special artifact attack of magic missiles (analogous to Fire Brand's fire, Frost Brand's cold, and Mjollnir's lightning), has been implemented. The weapon's description, most likely a placeholder, is "imaginary widget".
There is code for "burying" both you and monsters ("The floor opens up and swallows <monster>!"). You can be buried, and stay alive for a while (eventually suffocating), and you have the opportunity to tunnel out.
There is code that gives a 1 in 25 chance of applied bullwhips yanking a monster's weapon away from it, and it hitting you.
There is code that lets monsters use scrolls of fire as a last-resort offense.
There is code for creating force fields over an area of the map.
There is a hint that randomising the order of the elemental planes is a possibility.
There is code to give elves a luck penalty for wielding cold iron.
The code for snagging shop inventory from outside the shop (currently requires a grappling hook) has a comment mentioning the possibility of telekinesis. This is partially coded in several functions to do with picking up items.  
There is a very slight hint that deafness may be implemented.
There is code regarding invisible objects.
- Defunct features: Features that have been present in some previous version of NetHack but have since been removed.
- ↑ Monst.c#line351
- ↑ Monst.c#line1276
- ↑ Monst.c#line1585
- ↑ Monst.c#line2010
- ↑ Monst.c#line2501
- ↑ Monst.c#line302
- ↑ Objects.c#line836
- ↑ Objects.c#line837
- ↑ Spell.c#line170
- ↑ Makemon.c#line474
- ↑ Shk.c#line81
- ↑ Objnam.c#line2083
- ↑ Artifact.c#line1000
- ↑ Dig.c#line1456
- ↑ Apply.c#line2288
- ↑ Muse.c#line1083
- ↑ Region.c#line803
- ↑ Topten.c#line113
- ↑ Wield.c#line183
- ↑ you.h#line178
- ↑ shk.c#line441
- ↑ pickup.c#line978
- ↑ pickup.c#line1142
- ↑ pickup.c#line1238
- ↑ apply.c#line215
- ↑ obj.h#line83