For example, a file named .cvimrc automatically gets renamed as .cvimrc.txt and
there is no way to override that with gist-supported-modes-alist to have no
extension since a . always gets appended.
If the file already has a name, then just use it! If it is a buffer with no file
associated then it's worthwhile guessing/asking about the filename, but don't
otherwise change it.
For example, a file named
.cvimrc
automatically gets renamed as.cvimrc.txt
and there is no way to override that withgist-supported-modes-alist
to have no extension since a.
always gets appended.https://github.com/defunkt/gist.el/blob/314fe6ab80fae35b95f0734eceb82f72813b6f41/gist.el#L210
If the file already has a name, then just use it! If it is a buffer with no file associated then it's worthwhile guessing/asking about the filename, but don't otherwise change it.