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

Not able to create a notebook via org-notebook-new-notebook #5

Open
bigDaddyS1oth opened this issue Jan 7, 2018 · 2 comments
Open

Comments

@bigDaddyS1oth
Copy link

It's sort of a weird issue. I'm just taking notes while learning Apache Spark through a course I got on Udemy.

Behaviour

Doing M-x org-notebook-new-notebook and typing in a name for the notebook (for me it's ~/Documents/OrgProgShit/Apache-Spark) and upon pressing RET the minibuffer will show Notebook name: ~/Audio. Pressing RET again says /home/my_user/Audio/[some random audio file in that directory]. This happens always regardless of the name given for the new notebook, whether you type in .org after the name, and if there's a specific created empty directory for the new notebook.

Expected Behaviou

Actually being about to create a new notebook, or at least getting an error for why I can't create one.

Configuration files

Here's all I have in a file that I load in my init.el for Org stuff (path to it is ~/.emacs.d/layers/org/org-cfg.el):

;; Couple of basic keys (others will be in keys.el)
(global-set-key (kbd "C-c l") 'org-store-link)
(global-set-key (kbd "C-c a") 'org-agenda)
(global-set-key (kbd "C-c c") 'org-capture)
(global-set-key (kbd "C-c b") 'org-iswitchb)

(setq org-todo-keywords
      '((sequence "TODO(t)" "|" "DONE(d)")
	(sequence "WAITING(w)" "VERIFY(v)" "IDLE(i)" "|" "ALMOST(a)" "FIXED(x)")
	(sequence "|" "FEEDBACK(e)")
	(sequence "|" "CANCELED(c)")))

;; Buncha Orgmode addons
(use-package org-autolist
  :ensure t
  :hook (org-mode-hook . org-autolist-mode))

(use-package org-brain
  :ensure t
  :after org-mode)

(use-package org-notebook
  :ensure t)

(use-package org-journal
  :ensure t
  :after org-mode)

(use-package org-ref
  :ensure t
  :after org-mode)

(use-package org-edit-latex
  :ensure t
  :after org-mode)
;;

; Fancy Bullets
(use-package org-bullets
  :ensure t
  :commands 'org-mode
  :init
  (add-hook 'org-mode-hook 
  		(lambda () (org-bullets-mode 1))))
;
;;

;; Extra Org-Babel packages
(use-package ob-async
  :ensure t)

(use-package ob-browser
  :ensure t)

(use-package ob-kotlin
  :ensure t)

(use-package ob-hy
  :ensure t)

;;
(provide 'org-cfg)
;; EOF

System Info and such

OS: GNU/Linux
Emacs Version: 25.3.1
Org Version (from Melpa): 2017-12-25
Org-Notebook Version (from Melpa): 2017-03-21.2152

@Rahi374
Copy link
Owner

Rahi374 commented Jan 25, 2018

I was unable to reproduce the problem.

I suspect, based on a static code trace, that ido-read-file-name is probably causing the problem.

Could you please try on a "fresh install" of emacs? As in make a temporary dir with a skeletal .emacs which includes practically just org-notebook and then HOME=tmpdir emacs

@ghost
Copy link

ghost commented May 5, 2020

Same problem here, using Doom Emacs. Prompt gets stuck on "New Notebook Name"

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