I am using Emacs 24.5 (inside Spacemacs). I'd like to be able to generate a random 5 character string wherever my cursor inside emacs is by just pressing a single key, say F2.
A typical random string would be jb2nx with all letters always being lower-case. The seed values for randomg number generation at emacs's startup should always be different to stop emacs from generating the same sequence of random strings when it is opened up the next time.
NOTE:
I need this feature, to insert a unique word at point, to use it as a bookmark. This way I can open up to the line containing the random string from Org-mode e.g.
[[file:some-code-file::jb2nx][This line in the code-file]]
would be a line in my Org file. whereas jb2nx would be placed inside
a comment on the line being referenced in the code file.
I don't want to reference the line number directly after :: since, line numbers can change while editing the code file.
current-time. It is promised to be unique. - tom