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

Beginning of buffer is treated as special position #25

Closed
d12frosted opened this issue Sep 28, 2016 · 3 comments
Closed

Beginning of buffer is treated as special position #25

d12frosted opened this issue Sep 28, 2016 · 3 comments

Comments

@d12frosted
Copy link

Hey,

Looks like worf-mode treats beginning of buffer as special position, so instead of inserting letters it executes underlying commands.

  1. Open any org file or create empty buffer with org-mode enabled.
  2. Go to beginning of buffer.
  3. Type H.
  4. Notice Nothing here, move along in the echo area.

Instead I would like H letter to be inserted.

To be honest it would not be such a pain if it's wasn't the same in org-campture-mode. In some templates capture buffer is empty and you have to escape via C-q first letter you type. I know that it's possible to disable worf-mode via org-capture-mode-hook, but I find worf-mode useful in that mode as well.

Is such behaviour a bug? Or is it by design? If so, is it possible to change it? 😸

Thanks in advance.

P. S. Many thanks for this wonderful package!

@abo-abo
Copy link
Owner

abo-abo commented Sep 29, 2016

Is such behaviour a bug? Or is it by design? If so, is it possible to change it? 😸

Yea, it's a bug. I encounter it from time to time and just press C-q H because I'm lazy.

@abo-abo
Copy link
Owner

abo-abo commented Sep 29, 2016

I think the original idea was to press a to insert a heading in a new file. Dumb idea, since * does the same:)

@d12frosted
Copy link
Author

d12frosted commented Sep 29, 2016

Well, hitting a is faster for sure. But in some cases I don't want to start org-mode file with heading 😸 Thanks for a fix. I'll take a look once it's on MELPA.

Update

Ah, just looked at your change. Should do the trick 😸

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