From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kETwDYQD/GXDgQAA62LTzQ:P1 (envelope-from ) for ; Thu, 21 Mar 2024 10:53:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kETwDYQD/GXDgQAA62LTzQ (envelope-from ) for ; Thu, 21 Mar 2024 10:53:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.jp header.s=2017 header.b=XukyYdwG; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.jp ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711014788; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=J3LOno23SQyuANsztXiSPLSc4y/3+nNM5aeIwKUgGBE=; b=qFv2Geq+10LP/CLylQOPaRlNFRGqIBmYfkEjZI+jbcwqEFUW9743ssE8wLkLrI7y3ayOpl /s1BYx7Sv4scU9VggblO/6HructYG8QQmL+wOuc5jzzijZAhnHeL9StmZX4zBJdVx5SMiS CESsKBdKPtfmR9662KPI+rV9jJZ+/g7vXVOkat9HOA9B8rKEliS5YLrSLI8QPXStSWNYKw ES1UCwoTDT4MGl87srR5xrHdG4xpBFIBGxczCIkbnIij8AlQPt8w/04w6T2MKwJ9tFzpWb LKqq/5Hfa2PNRvaTyT0EdC5q/o4rXhQz7MIjfEhqAtoD2VoKyGqGXeux1WRThg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.jp header.s=2017 header.b=XukyYdwG; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.jp ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711014788; a=rsa-sha256; cv=none; b=szJ60/hHKeHqKXvtPJcLKrsOHc7N7bVZthcPFIaLvXwYUVPGdg1wvypoDvAeZbmN+rPNbw cTOSCBdFXNpVhi6yQjGJWu62IjAcWiuSTDjUPg7GgqdC/92zzcc9tLr2RNV1cJl/wckKQC DKlj+jRuAXcODuuXsz6XvfH1TiPSbldj+ZB3VWsLFM+kQrRGvoK/LUbG0COGLzEZWrB1BU GWVOFI19O1wY0IiUdfWBZAmYXstsxJiBfPzEfRodhXP2AunFcACUi15S9gsVRJdh2vLo4B lLKdsg0lwOqxxtuwwBPiGOR79fGByybC98HOHojVhUppWIiY6RKuJkj1TP6tzg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C190A3991E for ; Thu, 21 Mar 2024 10:53:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rnF5m-0002hc-IG; Thu, 21 Mar 2024 05:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rnF5k-0002hU-Le for emacs-orgmode@gnu.org; Thu, 21 Mar 2024 05:52:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rnF5h-0005cU-5R for emacs-orgmode@gnu.org; Thu, 21 Mar 2024 05:52:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 12B82240101 for ; Thu, 21 Mar 2024 10:52:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017; t=1711014722; bh=tO2XfB1Eg2ZMyBvtBNkOi2WBYbDV2Czy6JXT5jQBV5g=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:Message-ID:From; b=XukyYdwGFpIrx2rieWxQnX5J2IrRjwVHGJ/jDQkScz94MeXU+ZH2XsRVHq1X9FX6m xwC2T5iNnKEsF2xXfSSP0vSIHOqMWgcI/vG7wgn8XnUmf8coTQ1yLukuliYTO1pt7U Q0VE+Zo+RBsEU7PyfxeBhqko4hMaQ8d3QLidVCpPzIkNLTviVHcCb4MnBayGMIfz1K 3AG5z3h/Fxuy41IL2F4QpULgJdGpIwaf7WXVzeWaKSbz7t8J+KdtmrlCAdsyerpntA AIxrobmvc4oTlI9Ej9ZncJdjYGhe8U72GN/iIWNej9Bu/Ut1+ZQNRaUp31KPGl36nR pC23RrlwoNBjw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V0gjF3pSjz9rxN for ; Thu, 21 Mar 2024 10:52:01 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Thu, 21 Mar 2024 09:52:01 +0000 From: c.buhtz@posteo.jp To: emacs-orgmode@gnu.org Subject: [BUG] Improve error message "org-back-to-heading: Before first headline at position 1" [9.6.8 =?UTF-8?Q?=28release=5F=39=2E=36=2E=38-=33?= =?UTF-8?Q?-g=32=31=31=37=31d=20=40/usr/local/share/emacs/=32=39=2E=31=2E?= =?UTF-8?Q?=35=30/lisp/org/=29=5D?= Message-ID: <183442a86474942714ec2a8476f49a51@posteo.de> Received-SPF: pass client-ip=185.67.36.66; envelope-from=c.buhtz@posteo.jp; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.81 X-Spam-Score: -8.81 X-Migadu-Queue-Id: C190A3991E X-TUID: /L7XogoUHtO/ Hello, using the first time this Emacs in build bug report thing. But have to=20 send the mail via copy & paste because the bug reporter didn't work out=20 of the box. The "From" field is not valid. Modified it manually in the buffer. But=20 didn't work. Emacs tried to use STARTTLS with posteo.de:25 which is wrong I think.=20 Should be port 587 but don't know how to set this. OK, now the real problem: This is not a support question about how to solve a problem or the error message I do report here. It is a request to improve that error message to help users understand the real problem and find a solution by their own. I get the this error message in context when using the Org attachments feature (C-c C-a plus c). "org-back-to-heading: Before first headline at position 1 in=20 buffer..." I have no idea about the brackground here. And I also not a regular user of orgs attachment feature. So I can not provide a better error message. This will be up to you. Thank you. Kind Christian Buhtz Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Emacs : GNU Emacs 29.1.50 (build 1, aarch64-unknown-linux-gnu) of 2023-09-14 Package: Org mode version 9.6.8 (release_9.6.8-3-g21171d @=20 /usr/local/share/emacs/29.1.50/lisp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-link-elisp-confirm-function 'yes-or-no-p org-roam-db-gc-threshold 314572800 org-hide-emphasis-markers t org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3=20 "\n\n(fn ENTRY)"] org-download-file-format-function 'org-download-file-format-default org-roam-node-display-template #("${title:*} ${tags:20}" 11 21 (face=20 org-tag)) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-export-before-parsing-hook '(org-attach-expand-links) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe=20 org-babel-header-arg-expand) org-roam-find-file-hook '(org-roam-buffer--setup-redisplay-h org-roam--register-completion-functions-h org-roam--replace-roam-links-on-save-h org-roam-db-autosync--setup-update-on-save-h) org-archive-hook '(org-attach-archive-delete-maybe) org-edit-src-content-indentation 0 org-cycle-hook '(org-cycle-hide-archived-subtrees=20 org-cycle-show-empty-lines org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-mode-hook '(#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] buhtzology/org-mode-visual-fill org-bullets-mode #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-fold-show-all=20 append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook=20 org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes buhtzology/org-mode-setup (closure (t) nil (display-line-numbers-mode 0))) org-roam-ref-annotation-function 'org-roam-ref-read--annotation org-roam-directory "~/.my.org-roam" org-ellipsis "=E2=86=93" org-roam-db-node-include-function #[0 "\300\207" [t] 1] org-download-abbreviate-filename-function 'file-relative-name org-confirm-shell-link-function 'yes-or-no-p org-download-annotate-function 'org-download-annotate-default outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-roam-capture-preface-hook '(org-roam-capture--try-capture-to-ref-h) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-capture-prepare-finalize-hook=20 '(org-roam-capture--install-finalize-h) org-roam-preview-function 'org-roam-preview-default-function org-src-mode-hook '(org-src-babel-configure-edit-buffer=20 org-src-mode-configure-edit-buffer) org-roam-db-autosync-mode t org-confirm-elisp-link-function 'yes-or-no-p org-log-buffer-setup-hook '(org-roam-log--setup) org-roam-capture-new-node-hook=20 '(org-roam-capture--insert-captured-ref-h) org-structure-template-alist '(("rc" . "src rconsole") ("r" . "src R")=20 ("pc" . "src PyCon") ("p" . "src Python") ("a" . "export=20 ascii") ("c" . "center") ("C" . "comment") ("e" . "example") ("E" . "export") ("h" . "export html") ("l" . "export=20 latex") ("q" . "quote") ("s" . "src") ("v" . "verse")) org-speed-command-hook '(org-speed-command-activate=20 org-babel-speed-command-activate) org-bullets-bullet-list '("=E2=96=A0" "=E2=97=8B" "=E2=97=8F" "=E2=97=8B"= "=E2=97=8F" "=E2=97=8B" "=E2=97=8F") org-fold-core-isearch-open-function 'org-fold--isearch-reveal org-persist-before-write-hook=20 '(org-element--cache-persist-before-write) org-tab-first-hook '(org-babel-hide-result-toggle-maybe=20 org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-roam-completion-everywhere t org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-roam-log-setup-hook '(org-roam--register-completion-functions-h) org-metadown-hook '(org-babel-pop-to-session-maybe) org-roam-node-annotation-function 'org-roam-node-read--annotation org-link-parameters '(("eww" :follow org-eww-open :store=20 org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store=20 org-mhe-store-link) ("irc" :follow org-irc-visit :store=20 org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export=20 org-info-export :store org-info-store-link :insert-description org-info-description-as-command) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export=20 org-bbdb-export :complete org-bbdb-complete-link :store=20 org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("roam" :follow org-roam-link-follow-link) ("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-roam-id-open) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url=20 ":"] 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url=20 ":"] 6 "\n\n(fn URL ARG)"] ) ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url=20 ":"] 6 "\n\n(fn URL ARG)"] ) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-roam-capture-templates '(("d" "default" plain "%?" :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+date: [%<%Y-%m-%d %H:%M>]") :unnarrowed t) ("b" "Bibliographic notes" plain "\n* Source\n- Author :: %^{Author}\n-=20 Title :: ${title}\n- Year :: %^{Year}\n- doi ::=20 [[https://doi.org/%^{DOI}][%\\3]]\n\n* Summary\n%?" :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+date: [%<%Y-%m-%d %H:%M>]\n#+filetags: Bib") :unnarrowed t) ("p" "project" plain "* Goals\n\n%?\n\n* Tasks\n\n** TODO Add=20 initial tasks\n\n* Dates\n\n" :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+date: [%<%Y-%m-%d %H:%M>]\n#+filetags: Project") :unnarrowed t) ("w" "Wiki" plain "%?" :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+date: [%<%Y-%m-%d %H:%M>]\n#+filetags: Wiki") :unnarrowed t) ("m" "Meta" plain "*=20 ${title}\nSammelbecken zum Thema\n%?" :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+date: [%<%Y-%m-%d %H:%M>]\n#+filetags: Meta") :unnarrowed t) ) org-metaup-hook '(org-babel-load-in-session-maybe) org-download-link-format-function=20 'org-download-link-format-function-default org-download-image-dir "./attachments/images" org-roam-indirect-buffer-hook=20 '(org-roam--register-completion-functions-h) )