From: Guillaume MULLER <guillaume.muller@univ-st-etienne.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set
Date: Thu, 7 Jul 2022 17:52:11 +0200 [thread overview]
Message-ID: <a9d6462c-d49c-9660-3e7f-d887827b853e@univ-st-etienne.fr> (raw)
In-Reply-To: <87k08puqxk.fsf@localhost>
[-- Attachment #1.1: Type: text/plain, Size: 2696 bytes --]
Hi again,
Thanks for your answer and sorry for the duplicate.
I would be glad to help find if/where is the bug.
> Note that '(default . t) is _not_ the correct value. It should be
'((default . t)). Just in case.
Yes indeed. I had it right in my config. I made the mistake when I copied into the email.
> I tried to set org-M-RET-may-split-line to nil first followed by setting
> it to either t or '((default . t)). For both values, I am seeing
>
> * heading number
> * <>one
>
> which is expected behavior.
Are you using DoomEmacs or Vanilla Emacs?
More precisely, are you using org-mode "9.6-??-e9da29b6f" as I do? (This is the only version that gives me the strange behavior)
> Please, try to reproduce starting from emacs -Q (without Doom).
> See https://orgmode.org/manual/Feedback.html
I've tried several things, but it's not very clear to me how to get/test the specific version of org-mode that is comes with doom ("9.6-??-e9da29b6f").
What I tried:
- Getting an as-vanilla-as-possible DoomInstall, by removing my config.org and sync'ing Doom. I get the same "9.6-??-e9da29b6f" org version and erroneous behavior.
- Changing the version of org-mode used in Doom, by removing the directory and installing the one from MELPA (9.5.4). This gives me the correct behavior for org-meta-return, but it breaks too many other things in org to be usable.
- Using "vanilla" "emacs -Q" and running only org "9.6".
1. I've tried to manually load the org-version that comes with Doom, by writing & executing "(add-to-list 'load-path "/home/user/.emacs.d/modules/lang/org/lisp/autoload") (load "org")" from scratch buffer, then running org-reload
+ but I get org-version 9.3
+ and I can't find a way to edit the "load-path" "variable" to remove the native path ("/usr/share/emacs/27.1/lisp/org") from the list (sorry newbie here...)
2. I've tried to git clone the org-mode repo in /tmp, but don't see any tag/branch that would correspond to a "9.6" version of org.
+ I do see a commit matching e9da29b6f (e9da29b6fafe63abbc2774e9d485ac13d2811b65)
* I've tried to recover the code from this version "git checkout e9da29b6f ."
* Compiled it (make)
* Opened emacs -Q
* Wrote and executed "(add-to-list 'load-path "/tmp/org-mode/lisp/") (load "org")" in the scratch buffer
* Ran M-x org-reload
+ But "M-x org-version" still returns "Org mode version 9.5.4", and it works as expected
If you have any more hints on how I could setup an environment where I could test just org-mode "9.6-??-e9da29b6f" on a raw/vanilla emacs, I vwould be glad to test that.
Thanks in advance
--
Guillaume MULLER
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
next prev parent reply other threads:[~2022-07-07 15:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-06 16:40 org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set Guillaume MULLER
2022-07-07 11:01 ` Ihor Radchenko
2022-07-07 15:52 ` Guillaume MULLER [this message]
2022-07-08 4:49 ` Ihor Radchenko
2022-07-08 13:52 ` Guillaume MULLER
2022-07-09 3:44 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a9d6462c-d49c-9660-3e7f-d887827b853e@univ-st-etienne.fr \
--to=guillaume.muller@univ-st-etienne.fr \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).