Re: [WISH] Allow to hide the '*Org Help*' in 'org-goto' [9.5.2 (release_9.5.2-13-gdd6486 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-02-22 Thread Rudolf Adamkovič
Ihor Radchenko  writes:

> If you want to hide *Org Help* buffer, you can customise your
> display-buffer-alist:
>
> [...]

It works and TIL!  Thank you, Ihor.

Rudy
-- 
"Strange as it may sound, the power of mathematics rests on its evasion
of all unnecessary thought and on its wonderful saving of mental
operations."
-- Ernst Mach, 1838-1916

Rudolf Adamkovič  [he/him]
Studenohorská 25
84103 Bratislava
Slovakia



Re: [WISH] Allow to hide the '*Org Help*' in 'org-goto' [9.5.2 (release_9.5.2-13-gdd6486 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-02-22 Thread Ihor Radchenko
Rudolf Adamkovič  writes:

>> org-goto-location: Wrong type argument: stringp, nil
>
> Could we make it so that setting the 'org-goto-help' to 'nil' makes Org
> not show the help window for those who do not need it?

org-goto-help is a constant. It is not meant to be used to control
showing or not showing the *Org Help* buffer.

If you want to hide *Org Help* buffer, you can customise your
display-buffer-alist:

(add-to-list 'display-buffer-alist
 `(,(rx "*Org Help*")
   display-buffer-no-window
   (allow-no-window . t)))

Best,
Ihor



[WISH] Allow to hide the '*Org Help*' in 'org-goto' [9.5.2 (release_9.5.2-13-gdd6486 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-02-21 Thread Rudolf Adamkovič



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.

Hello smart people!

Today, I learned about 'org-goto' and started using it.  I set the
'org-goto-auto-isearch' variable to 'nil' for better navigation (and
also because I do not have the arrow keys).  Then, I took notes on the
'org-goto' keyboard shortcuts that I plan to use.  Finally, I decided to
set the 'org-goto-help' variable to 'nil' to hide the help window, but
that resulted in the error:

> org-goto-location: Wrong type argument: stringp, nil

Could we make it so that setting the 'org-goto-help' to 'nil' makes Org
not show the help window for those who do not need it?

Thank you.

Rudy

Emacs  : GNU Emacs 29.0.50 (build 7, x86_64-apple-darwin21.2.0, NS 
appkit-2113.20 Version 12.1 (Build 21C52))
 of 2022-02-15
Package: Org mode version 9.5.2 (release_9.5.2-13-gdd6486 @ 
/Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)

current state:
==
(setq
 org-agenda-prefix-format "* % t% s"
 org-link-elisp-confirm-function 'yes-or-no-p
 org-agenda-skip-deadline-prewarning-if-scheduled t
 org-cite-insert-processor 'citar
 org-bibtex-headline-format-function #[257 "\300.\236A\207" [:title] 3 "\n\n(fn 
ENTRY)"]
 org-agenda-scheduled-leaders '("Scheduled:" "Scheduled %d×:")
 org-agenda-custom-commands '(("a" "Agenda"
   ((agenda ""
 ((org-agenda-overriding-header "Fortune")
  (org-agenda-files nil) (org-agenda-span 1)
  (org-agenda-day-face-function
   (lambda (_) 'font-lock-comment-face))
  (org-agenda-format-date
   (lambda (_) (my/fortune-string)))
  )
 )
(agenda ""
 ((org-agenda-overriding-header "\nToday")
  (org-agenda-start-on-weekday nil)
  (org-agenda-span 1)
  (org-agenda-format-date
   'my/org-agenda-format-date-not-aligned)
  (org-agenda-day-face-function
   (lambda (_) 'calendar-today))
  (org-agenda-skip-function
   '(org-agenda-skip-entry-if 'todo 'done))
  )
 )
(todo "NEXT|NEXT-IN|ON-HOLD"
 ((org-agenda-overriding-header "\nNext 
actions")
  (org-agenda-todo-ignore-scheduled 'all)
  (org-agenda-todo-ignore-timestamp 'future)
  (org-habit-show-habits nil))
 )
(agenda ""
 ((org-agenda-overriding-header "\nTomorrow")
  (org-agenda-start-day "+1d") (org-agenda-span 
1)
  (org-agenda-format-date
   'my/org-agenda-format-date-not-aligned)
  (org-habit-show-habits-only-for-today nil)
  (org-habit-scheduled-past-days 0))
 )
(agenda ""
 ((org-agenda-overriding-header "\nNear future")
  (org-agenda-start-day "+2d")
  (org-agenda-start-on-weekday nil)
  (org-agenda-span 7) (org-habit-show-habits 
nil))
 )
(todo "WAIT-FOR"
 ((org-agenda-overriding-header "\nWaiting")))
)
   )
  )
 org-startup-folded 'show2levels
 org-babel-after-execute-hook '(org-display-inline-images)
 org-agenda-skip-scheduled-if-done t
 org-agenda-files '("~/agenda.org" "~/agenda-work.org")
 org-capture-templates '(("d" "Default" entry
  (file+headline "~/agenda.org" "Captured") "* %?\n%i\n"
  :prepend t)
 )
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-link-descriptive nil
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-cite-follow-processor 'citar
 org-file-apps '(("\\.pdf\\'" . emacs) (auto-mode . emacs) (directory . emacs)