Hi, as difficulties have been reported WRT py-shell-name and the like being buffer-local, consider to drop that, making them normal vars. Just FYI, please tell if any objections, Cheers, Andreas