Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org-novelist-link-to-story mentioned but doesn't exist #21

Open
Thaodan opened this issue Oct 19, 2024 · 3 comments
Open

org-novelist-link-to-story mentioned but doesn't exist #21

Thaodan opened this issue Oct 19, 2024 · 3 comments

Comments

@Thaodan
Copy link

Thaodan commented Oct 19, 2024

The readme mentions it but it doesn't exist.

@sympodius
Copy link
Owner

I'm not sure why you think it doesn't exist? It should be accessible from the menu, or as a command with M-x. Are those options not working for you? I've linked to it in the source code here:

(defun orgn-link-to-story (linked-story-folder)

@Thaodan
Copy link
Author

Thaodan commented Oct 22, 2024

The command isn't called org-novelist-link-to-story but orgn-link-to-story. Either the function name is wrong or the readme.

Further I noticed that the mode doesn't define a keymap or instruct the user to define one. My girlfriend uses the mode for her writing, using M-x isn't good UX.

@sympodius
Copy link
Owner

The command isn't called org-novelist-link-to-story but orgn-link-to-story. Either the function name is wrong or the readme.

Org Novelist uses Shorthands so that the code doesn't get too messy. Emacs interns orgn-link-to-story as org-novelist-link-to-story. Every user function in Org Novelist is set up this way. The code telling Emacs how to interpret it is here:

;; read-symbol-shorthands: (("orgn-" . "org-novelist-"))


My girlfriend uses the mode for her writing

I'm always glad to hear people are using Org Novelist! I hope she's enjoying it.


Further I noticed that the mode doesn't define a keymap or instruct the user to define one. [...] using M-x isn't good UX.

I prefer M-x, but it's all subjective. Still, I've added instructions for custom key bindings in the README on the development branch if you'd like to try them. There are already menu options for all the user functions in the current release (v0.0.3a).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants