From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sBKNKKCQTmVCQgAAG6o9tA:P1 (envelope-from ) for ; Fri, 10 Nov 2023 21:20:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sBKNKKCQTmVCQgAAG6o9tA (envelope-from ) for ; Fri, 10 Nov 2023 21:20:48 +0100 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 38C31337AF for ; Fri, 10 Nov 2023 21:20:48 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=I9J5pgfm; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699647648; a=rsa-sha256; cv=none; b=frUCvspHBqS08+QQBtMqJ5SVi6J7hEecVNdQ/PGiKaWGvvmicyIjZbo4sQeltZ1lmNnzz2 Ydhi/MH1La0IN6CVNHPnjgpWArUPAhAUcI6GWAFnDQYcGAL3epRuldRe69BrsWsuhZKUbr 4U5NcG4RoAveJDet4nGIIQrC7LEOv7/ov7IkVnQD7qGLgQeS7auCstaccfMlmdunzXeiBk PVn2ZBDP2PCwD/zI2jMHZSsCpvZ/Pz0Y7H0Z1c/9hNc+fUl8ktP+gRncXD9c1q+fO4MmxV VwxPeBsZKoi39o81ctTR0UMMDv5VWe2SqWEh7c/dMCaZssw8UTvcDups0aJvTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=I9J5pgfm; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699647648; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0CEqEDpsvASBxtJgCfXn8yH0C+GrApwcVix1tNwCvgw=; b=c//xxweaU/BTVMsne300xNLLDjJvbOmqQ6rUKLi1qIo56JuFn4MOEbOPDMJpm0mnKKbNh7 Je83e/FATM9/0HnNUnU/U7w4ty+5ZA+OvUOcyDWiUJkYLqqAusnk2C/vB+QEH9ye+Ld1IY 5GuxyDCPqrH/uDO7gVXEcpVY53xSgwEl2NN88xQJNawS7kv/yn55hMqctV4WytTYxonxjB sz+7SL8se1IydC9OdGD7KloKSZwJkv2EvS7tJyOFdLDpxENlY/N1bBusgYq4hChVZve1wv XY8z97ey1WieFyWFeppAkB+dh09jQtZ0Tp6u1wofqz8G0jjp0ye9zBbQCPqpCg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1Xyu-00016s-Ja; Fri, 10 Nov 2023 15:19:57 -0500 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 1r1Xyp-000130-2k for emacs-orgmode@gnu.org; Fri, 10 Nov 2023 15:19:52 -0500 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r1Xym-0007SH-Po for emacs-orgmode@gnu.org; Fri, 10 Nov 2023 15:19:50 -0500 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-507cb194e30so303306e87.1 for ; Fri, 10 Nov 2023 12:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699647587; x=1700252387; darn=gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0CEqEDpsvASBxtJgCfXn8yH0C+GrApwcVix1tNwCvgw=; b=I9J5pgfmwmDltcku9J3W5bUxqlE+6Z/E/nBEsDpgdTV3ecrFnw+FULw7ifj7gI9ci6 DCEnZ1gYc9Kn2vr3qKKPNn8dESlhU9d67WF0gshvCAA1xNK/Bj2TLD+unWsXklx0SnUR 56/h4Lgmx8X4d1Y/73cDrmmpUJhyZFV1m0qUwDYD0xJiSSuJikosQFB5aiqQIYdMA/SN pOygSkT+o9a2FgmoU9JH9mkH3ES8/aSPU8ESal18Qc1HWRY/f6XDffDzT+OfbPpthVvX HbRu4c3GBdguNb5yEI+sCMNxWNQTG+hqr9aUl/xH6fFkRevUQ2b4zDV7Pol1qMm2XU/q 7DbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699647587; x=1700252387; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0CEqEDpsvASBxtJgCfXn8yH0C+GrApwcVix1tNwCvgw=; b=iOnpjjmnRMonksmlp4VLDhiUzMboe35CjGvx2kDq3oF39EGd4OnNas+OKncIynoJkz PNHNH0DGjZW9LBU6gfkUhp81i5k9R4jFmh35r3YrFOW4YiDqGhAv9EIe0zshME4Zh0vj Bx5wNpjSLWvK1sX/yRuouGJgPvghkIgxrBbuiiJVQ2tA+fO5v+PzvYBz+OeGUpLBxWJp +sDh7XGcKsL5TxMjNXkn/p8cMAsOjngiqxHrFicbK6dM6JRU3imUAHnzAfqiBUHmVv7H W3ztlduHhXKEjr1khoHsCpVMKVHRMOH7SaL7bF8c2L64/9VHS7HKd7QSFuaiXpzW7lwS vfOQ== X-Gm-Message-State: AOJu0Yza22oZaNxSSiFYi3WRXh9DjpvzUDDPq8o0f2XkNDk+qy19DlhI 1wWffjmClJUZHf+jgFaQvSq62gL5NcLBsb3odN4= X-Google-Smtp-Source: AGHT+IEK6c1ydDFPQO/FtbBEAFoPpX+hwsZoZPqCVG88fjY9Hva1hXij/ylBvzOYWKh1ZYGI87E5y480T7J+Gdc8c0M= X-Received: by 2002:a19:2d09:0:b0:509:17cd:691a with SMTP id k9-20020a192d09000000b0050917cd691amr166018lfj.2.1699647586294; Fri, 10 Nov 2023 12:19:46 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6520:193:b0:27d:3e6c:86b2 with HTTP; Fri, 10 Nov 2023 12:19:45 -0800 (PST) In-Reply-To: References: From: Samuel Wales Date: Fri, 10 Nov 2023 13:19:45 -0700 Message-ID: Subject: Re: [BUG] tmp [9.7-pre (release_9.6.10-881-g595a32 @ /home/ps/.emacs.d/org-mode-git/lisp/)] To: Paul Stansell Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=samologist@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Queue-Id: 38C31337AF X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.42 X-Spam-Score: -9.42 X-TUID: +rShPNkp9mY+ not a real ans but maybe related history. iirc outline.el made the decision to consider an entry not to include its final newline. org derives from that and did not comprehensively change that. there have been bugs. On 11/10/23, Paul Stansell wrote: > Hello, > > When using Org Mode version 9.7-pre (release_9.6.10-881-g595a32) the > following happens that doesn't happen when using Org Mode version 9.5.5 > (release_9.5.5 @ /usr/share/emacs/28.2/lisp/org/)]: > > When the cursor is at the end of a folded section, that is, immediately > after the ellipses, and return is pressed the folded section is made > visible (i.e., it is unfolded). > > > This is particularly problematic when adding a new section after the last > section in an org file. If the last section is folded it seems impossible > to get the cursor beyond the final ellipses so when adding a new section > below this one (using return or Alt-return) the previous section is > always opened. For sections that aren't the last one can put the cursor at > the start of the next section and press Alt-return to insert a new section > above it without unfolding any sections. > > Kind regards, > > Paul > > # ============================================================== > > Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.37, cairo version 1.16.0) > of 2023-03-16, modified by Debian > Package: Org mode version 9.7-pre (release_9.6.10-881-g595a32 @ > /home/ps/.emacs.d_Kubuntu-23.04/org-mode-git/lisp/) > > current state: > ============== > (setq > org-link-elisp-confirm-function 'yes-or-no-p > org-bibtex-headline-format-function 'org-bibtex-headline-format-default > org-log-done 'time > org-fontify-done-headline nil > org-log-into-drawer t > org-startup-folded 'content > org-persist-after-read-hook '(org-element--cache-persist-after-read) > org-format-latex-options '(:foreground "Yellow" :background default :scale > 1.2 > :html-foreground "Black" :html-background > "Transparent" > :html-scale 1.07 :matchers ("begin" "$1" "$" > "$$" "\\(" "\\[")) > org-export-before-parsing-hook '(org-attach-expand-links) > org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe > org-babel-header-arg-expand) > org-archive-hook '(org-attach-archive-delete-maybe) > org-file-apps '((auto-mode . emacs) ("\\.odt\\'" . "libreoffice %s") > ("\\.docx\\'" . "libreoffice %s") ("\\.xlsx\\'" . > "libreoffice %s") > ("\\.png\\'" . "xv %s") ("\\.jpg\\'" . "xv %s") > ("\\.jpeg\\'" . "xv %s") > ("\\.webp\\'" . "xv %s") ("\\.pdf\\'" . "okular \"%s\"") > ("\\.xoj" . "xournal %s") ("\\.xopp" . "xournalpp %s")) > org-odt-format-inlinetask-function > 'org-odt-format-inlinetask-default-function > org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS > WIDTH)"] > org-cycle-hook '(org-cycle-hide-archived-subtrees > 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] > #[0 "\300\301\302\303\304$\207" > [add-hook change-major-mode-hook org-fold-show-all > append local] 5] > #[0 "\300\301\302\303\304$\207" > [add-hook change-major-mode-hook > org-babel-show-result-all append local] > 5] > org-babel-result-hide-spec org-babel-hide-all-hashes) > org-babel-load-languages '((R . t) (emacs-lisp . t) (gnuplot . t) (octave > . t) (python . t) > (fortran . t) (sql . t) (ditaa . t) (dot . t) > (shell . t)) > org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] > org-latex-format-headline-function > 'org-latex-format-headline-default-function > org-confirm-shell-link-function 'yes-or-no-p > org-adapt-indentation t > org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME > CONTENTS)"] > outline-isearch-open-invisible-function 'outline-isearch-open-invisible > org-highlight-latex-and-related '(latex) > org-odt-format-headline-function 'org-odt-format-headline-default-function > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-babel-tangle-lang-exts '(("fortran" . "F90") ("python" . "py") > ("emacs-lisp" . "el") > ("elisp" . "el")) > org-src-mode-hook '(org-src-babel-configure-edit-buffer > org-src-mode-configure-edit-buffer) > org-confirm-elisp-link-function 'yes-or-no-p > org-clock-out-remove-zero-time-clocks t > org-hide-leading-stars t > org-todo-keywords '((sequence "TODO(t!)" "MAYBE(m!)" "STARTED(s!)" > "WAITING(w@/!)" "|" > "DONE(d)" "INFO(i!)" "CANCELLED(c@)" "UNFINISHED(u@)" > "ABANDONED(a@)") > ) > org-id-link-to-org-use-id t > org-speed-command-hook '(org-speed-command-activate > org-babel-speed-command-activate) > org-html-format-inlinetask-function > 'org-html-format-inlinetask-default-function > org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default > org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] > org-confirm-babel-evaluate nil > org-fold-core-isearch-open-function 'org-fold--isearch-reveal > org-clock-in-switch-to-state "STARTED" > org-clock-persist 'history > org-latex-format-inlinetask-function > 'org-latex-format-inlinetask-default-function > org-persist-before-write-hook '(org-element--cache-persist-before-write) > org-tab-first-hook '(org-babel-hide-result-toggle-maybe > org-babel-header-arg-expand) > org-link-shell-confirm-function 'yes-or-no-p > org-babel-pre-tangle-hook '(save-buffer) > org-clock-display-default-range 'untilnow > org-agenda-loop-over-headlines-in-active-region nil > org-todo-keyword-faces '(("TODO" :foreground "light pink" :weight bold) > ("MAYBE" :foreground "light pink" :weight bold) > ("STARTED" :foreground "gold" :weight bold) > ("DONE" :foreground "light green" :weight bold) > ("WAITING" :foreground "gold" :weight bold) > ("CANCELLED" :foreground "light green" :weight > bold) > ("UNFINISHED" :foreground "light green" :weight > bold) > ("ABANDONED" :foreground "light green" :weight > bold)) > org-occur-hook '(org-first-headline-recenter) > org-export-with-drawers '("LATEX_DRAW") > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-link-parameters '(("attachment" :follow org-attach-follow :complete > org-attach-complete-link) > ("eww" :follow org-eww-open :store > org-eww-store-link) > ("rmail" :follow org-rmail-open :store > org-rmail-store-link) > ("mhe" :follow org-mhe-open :store > org-mhe-store-link) > ("irc" :follow org-irc-visit :store > org-irc-store-link :export > org-irc-export) > ("info" :follow org-info-open :export > 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 > org-bbdb-export :complete > org-bbdb-complete-link :store org-bbdb-store-link) > ("w3m" :store org-w3m-store-link) > ("doi" :follow org-link-doi-open :export > org-link-doi-export) > ("id" :follow org-id-open) ("file+sys") > ("file+emacs") > ("shell" :follow org-link--open-shell) > ("news" :follow > #[514 "\301\300\302 Q \"\207" ["news" browse-url > ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("mailto" :follow > #[514 "\301\300\302 Q \"\207" ["mailto" browse-url > ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("https" :follow > #[514 "\301\300\302 Q \"\207" ["https" browse-url > ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("http" :follow > #[514 "\301\300\302 Q \"\207" ["http" browse-url > ":"] 6 > "\n\n(fn URL ARG)"] > ) > ("ftp" :follow > #[514 "\301\300\302 Q \"\207" ["ftp" browse-url > ":"] 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-html-format-headline-function > 'org-html-format-headline-default-function > org-metaup-hook '(org-babel-load-in-session-maybe) > org-clock-history-length 28 > org-clock-into-drawer "CLOCK" > ) > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com