emacs-ess / ESS

Emacs Speaks Statistics: ESS
https://ess.r-project.org/
GNU General Public License v3.0
626 stars 161 forks source link

Non-nil ess-auto-width mutes install.packages in ess-smart-comma #1196

Open zauster opened 2 years ago

zauster commented 2 years ago

Hey,

when I set ess-auto-width to something non-nil (such as 'window or 'frame) and then use , (ess-smart-comma) to install a package, the frame freezes (you can still see selection output in the minibuffer) until the package is installed. There is no output whatsoever in the inferior R buffer (so if you install a "big" package like Rcpp this way, you are left long minutes with an unresponsive frame and have no idea what's going on).

If ess-auto-width is nil, everything works as intended: after selecting a package to install, the cursor moves to the inferior R buffer and you can follow the installation process output as it appears.

Tested with emacs -Q -l ~/.config/emacs/.local/straight/repos/ESS/lisp/ess-site.el and emacs 28.1. I searched the issues but found no issue that seemed similar.