resolve warnings in emacs 29
In org-tree-slide-move-next-tree: org-tree-slide.el:369:21: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
In org-tree-slide--stop: org-tree-slide.el:583:4: Warning: ‘org-show-siblings’ is an obsolete function (as of 9.6); use ‘org-fold-show-siblings’ instead.
In org-tree-slide--display-tree-with-narrow: org-tree-slide.el:610:15: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead. org-tree-slide.el:613:6: Warning: ‘org-show-entry’ is an obsolete function (as of 9.6); use ‘org-fold-show-entry’ instead.
In org-tree-slide--first-heading-with-narrow-p: org-tree-slide.el:944:32: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
In outline-show-children: org-tree-slide-compt.el:20:9: Warning: ‘outline-view-change-hook’ is an obsolete variable (as of 29.1).
need to check below:
- https://github.com/takaxp/org-mode/blob/main/lisp/org-compat.el
- https://github.com/emacs-compat/compat/blob/main/compat-29.el
FYI, deduplicated Compile-Log outputs when doing byte-compile-file:
- ‘org-show-entry’ is an obsolete function (as of 9.6); use ‘org-fold-show-entry’ instead.
- ‘org-show-siblings’ is an obsolete function (as of 9.6); use ‘org-fold-show-siblings’ instead.
- ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
Regarding 3., for point-at-bol I recommend line-beginning-position since from Emacs 29.1 point-at-bol is just alias for line-beginning-position.
Doing C-h f point-at-bol should show: point-at-bol is an alias for ‘line-beginning-position’ in ‘subr.el’.