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. ------------------------------------------------------------------------ If point is on a heading followed by a subheading without any text in between, the export process is using the tree starting with the subheading instead of the tree starting from point position. If instead you have some text after the first heading and before the subheading, the tree that is exported is the tree starting from point position, as expected. I’m assuming this is a bug, but maybe I’m missing something. For example, take a buffer containing just this: * The title ** A subtitle Some text If I export this to an HTML buffer, with point at the beginning of the first line and after setting the scope to ‘subtree’, I get an HTML buffer whose title is “A subtitle”. If I follow the same steps on a buffer containing just this: * The title Some text ** A subtitle I get an HTML buffer whose title is “The title”. This doesn’t happen with Org 9.5.5. In both cases, I get what I expect, viz. an HTML buffer whose title is “The title”. I can reproduce this with the following minimal configuration: I can reproduce this behavior with the following minimal config: (setq straight-check-for-modifications '(check-on-save find-when-checking)) (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) (setq-default use-package-enable-imenu-support t) (setq straight-use-package-by-default t) (straight-use-package 'use-package) (setq use-package-verbose nil use-package-compute-statistics t use-package-expand-minimally t use-package-always-defer t) (straight-register-package 'org) (use-package org :ensure t) Emacs : GNU Emacs 28.2 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.5 (Build 21G72)) of 2022-09-15 Package: Org mode version 9.6 (9.6-gb3da42 @ /Users/apc/.emacs.d/straight/build/org/)