You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use crux-rename-file-and-buffer, and I select a target directory but don't enter a new filename, then I expect the file to be moved to the new directory with the same filename, and the emacs buffer should track the renamed file, i.e. editing and saving the buffer should update the file in the new location.
Actual behavior
The file is moved to the new directory, but the minibuffer show an error message "Empty file name" and the buffer does not track the new file location.
Steps to reproduce the problem
Create a dummy file and dummy subdirectory in the same directory.
Visit the file in a buffer
Execute crux-rename-file-and-buffer
Enter the subdirectory name (or pick it from completion options), but do not type any new file name portion
Press enter
Proposed change to support the desired behavior
In crux-rename-file-and-buffer, insert the following as the first line inside the when-let* block:
Expected behavior
When I use
crux-rename-file-and-buffer
, and I select a target directory but don't enter a new filename, then I expect the file to be moved to the new directory with the same filename, and the emacs buffer should track the renamed file, i.e. editing and saving the buffer should update the file in the new location.Actual behavior
The file is moved to the new directory, but the minibuffer show an error message "Empty file name" and the buffer does not track the new file location.
Steps to reproduce the problem
crux-rename-file-and-buffer
Proposed change to support the desired behavior
In
crux-rename-file-and-buffer
, insert the following as the first line inside thewhen-let*
block:Environment & Version information
crux version information
Emacs version
The text was updated successfully, but these errors were encountered: