syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.56k stars 4.9k forks source link

[helm] helm find-files allow non-existing file #16448

Closed sunlin7 closed 5 days ago

sunlin7 commented 1 week ago

Hi, It will failed for SPC f F on a file name which dose NOT exists when helm layer enabled. According https://github.com/emacs-helm/helm/issues/2154, we can set the variable helm-ff-allow-non-existing-file-at-point to support finding file at point for non-exiting file. Reproduce steps: Enable the helm layer, and press SPC f F on a string like "/tmp/test.new" for a non-existing file, with the variable helm-ff-allow-non-existing-file-at-point be t or nil.

smile13241324 commented 5 days ago

Sounds like a useful setting, lets merge it.

sunlin7 commented 5 days ago

Thank you !