From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ACxvD/iSRmK4lAAAgWs5BA (envelope-from ) for ; Fri, 01 Apr 2022 07:51:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QOYXCPiSRmJfCAEAG6o9tA (envelope-from ) for ; Fri, 01 Apr 2022 07:51:52 +0200 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 99C9425744 for ; Fri, 1 Apr 2022 07:51:51 +0200 (CEST) Received: from localhost ([::1]:35902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naACL-0002jD-Up for larch@yhetil.org; Fri, 01 Apr 2022 01:51:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZvZs-0006up-Ed for emacs-orgmode@gnu.org; Thu, 31 Mar 2022 10:15:09 -0400 Received: from [2607:f8b0:4864:20::132] (port=34494 helo=mail-il1-x132.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZvZq-0004Qk-IR for emacs-orgmode@gnu.org; Thu, 31 Mar 2022 10:15:08 -0400 Received: by mail-il1-x132.google.com with SMTP id r11so16826738ila.1 for ; Thu, 31 Mar 2022 07:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=t483wzHcwccPEp6f8pc19yx52YbfskVlevHgxV5gxHw=; b=Own/iVhdaUpgnjeR9Gjwcxv7ALnXzx1rcESKqtUOXB6fTs7cvkBY9GYMwezDG5vPy4 UypfA8fBFpKcjd44qgOM1J9+312ek06yC+kxi4CoSEB5KsJp9Ilt/p9XDBBxRmAJ1dqL KfVK30tpEAixE89O+uuAlJk6HwuwwGGYgqbVgyE0szdNL1w3N5f3Qg4H6x6mZ4rxJrgn Z41dgcCFxOjWUkWFLbJy/2k+mvXHU/5QYyzbGqsimcgVayDDTHVwjBA3SiKb65lnEshI k75MNKvOf4V7QtMBTjz0e6oItETv55uRrOaKs/jiNxjDuzU7pMSMBxS5LBR5Z1gVrbg+ 3SQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=t483wzHcwccPEp6f8pc19yx52YbfskVlevHgxV5gxHw=; b=mAvpAGyFdnFxUtlStNTNNpGg5+96CR8xkCPbOPuFhU66knZO3szBM3pMoaeCDv53hL 4fKYNbBfvP/vtznkV7WWwFfzphYSfIfLGCJvXYHj5J6lo73FyuWVVtZqQWmHW1Mx02Ll t5Y3w7/b4g0b9vG4GxGjOAXKovG+xLVx2Lddz9k3elggv1vaKFCmHYkAtDobVaMn6b1V xMKk4RKDacde2dlYnJAjlRuF8w0L+1Z073APlWeT1Q1d9KlZqxKN8gDO1gM0mxFdraHb zrsUWgzWzfs7CkseP38CTNETsp1y1JHVNIjlaowE6kvu2GcWvPlv3cIDEeYUbV5jAXeG qcSw== X-Gm-Message-State: AOAM533NnMmd91qBb73yxKsRverLzehCq5QH7zNXrgGDQAZBBpkuwmwb 3mL0SuaDqyPJda5DwirCutu+g9rPMUbqL/dX0hiCCt9A/+g= X-Google-Smtp-Source: ABdhPJxtGyI7eKrJx22WQuRwEOOvpzK5DS/nCF6iymzbmcgbgkClckb3Wt/7KJPE30Ub/oxf49c75iAPPETChc9uBpU= X-Received: by 2002:a92:d704:0:b0:2c7:9ca5:3f5a with SMTP id m4-20020a92d704000000b002c79ca53f5amr13233607iln.190.1648736094097; Thu, 31 Mar 2022 07:14:54 -0700 (PDT) MIME-Version: 1.0 From: jebb Bungo Date: Thu, 31 Mar 2022 10:14:43 -0400 Message-ID: Subject: org-return not being given 't' for INDENT parameter To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000037962c05db844952" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::132 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::132; envelope-from=zixx999@gmail.com; helo=mail-il1-x132.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 01 Apr 2022 01:42:09 -0400 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648792311; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=t483wzHcwccPEp6f8pc19yx52YbfskVlevHgxV5gxHw=; b=sG318UXID6tjdvZ0M+qVy5jtGLz3o+YySLma33vZpEOYu5m4ei2P24r+6+198znw7n9xHP ElfSgk2iHcPVKZ1QCP0zFLbGr1KvUEpIOVBMzrXyng5Xs4f63MsR8dJGAnAPM00lzh1qdO 4yfKzVhI5w3DRIGzTcp1atLEXD8FlqbA8kFbweoJLIFmUfNRujW0OSHOPPwq7NdTn+2B6z wL1L9u/ZPpk6XJxlherFkV44h4P+ZqA/lsgSK+bTb9wWQQAp5o9fwGIg254/xtqOPmb5tb P0FAkxVreBtWL/6Qus4/Lu9A/jbn0B9PO1xKGCLFP3zGYQC1ZZWwajEPYwR/HA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648792311; a=rsa-sha256; cv=none; b=ZXWECggFPnb21DJXaIZp1H7AX5e0FCnUSDb9TpZ/kDTxcO7+j68ANiZIUNZyFMN/gTzWF6 MPZkRlfonkPMhN7OUljJblbQ5URSITYgCiugkx7h93x6KnsNXCC4Xvdz+1EaQwZQeGkJWG jrKJgkGjA+gmK4+S0X9O1XBJ/JKYwfZ7HrFPeQTkv3OSdUpV8p6e3QR76hEala8co8GrCB kN4xZvZpHVqJW/zyFr48A3wV+Ra6aUVpO64eRAkYTfq49C+re13FqMc9Kj8Xzj5ps83GyF foLLdDC/6z+DqsQmbgsHOduysHn0Sb/rG+ngm9TcqCwIksFU/X3ACfpujCvhXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Own/iVhd"; 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" X-Migadu-Spam-Score: -5.37 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Own/iVhd"; 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" X-Migadu-Queue-Id: 99C9425744 X-Spam-Score: -5.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: FpS10ocCjxIr --00000000000037962c05db844952 Content-Type: text/plain; charset="UTF-8" Hello, I am having an odd behavior with org-return. I use hard indents, and I have set 'org-adapt-indentation' to t in my .emacs file. However, I have noticed that sometimes when I press RET under a heading, instead of getting an indent to match the indentation of the heading after the *'s, point is set right at 0. For example, the expected behavior of pressing RET at the end of the line '* Heading' would be that point is placed on the next line below the heading, at column 2. I am having an issue pinpointing what is causing the error, however, as I haven't found any consistency. Sometimes RET works as expected in my files, othertimes it does not. The bug does seem to only 'fix' in between instances of Emacs. I run Emacs as a daemon, and I noticed that sometimes the files will work and other times not work, but only between instances of the daemon/between system boots. I have tried restarting org mode through the menu-bar option "restart org-mode (new version)", as well as disabling and renabling org-mode, as well as simply calling org-mode. No avail. When I tried to debug the function, I really didn't have a clue what I was doing, but I think I narrowed the issue down to org-mode not getting the right context on where point is. I think this because org-return functions as expected when called with 't' as an argument, such as (org-return t), but I get the issue when calling just (org-return), which is bound to RET. My work-around, for the time being, has just been to disable electric-indent-mode, and use C-J to get the desired behavior, as that calls (org-return-and-maybe-indent), and gives t if org-adapt-indentation is t and electric-indent-mode is disabled. I apologize if my bug report is not up to scratch, but I have tried my best to give as much detail as I can, and this is my first time trying a bug report, as I am unsure how to proceed with this on my own. Thank you, Kevan B. --00000000000037962c05db844952 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am having an odd be= havior with org-return. I use hard indents, and I have set 'org-adapt-i= ndentation' to t in my .emacs file. However, I have noticed that someti= mes when I press RET under a heading, instead of getting an indent to match= the indentation of the heading after the *'s, point is set right at 0.= For example, the expected behavior of pressing RET at the end of the line = '* Heading' would be that point is placed on the next line below th= e heading, at column 2.

I am having an issue pinpo= inting what is causing the error, however, as I haven't found any consi= stency. Sometimes RET works as expected in my files, othertimes it does not= . The bug does seem to only 'fix' in between instances of Emacs. I = run Emacs as a daemon, and I noticed that sometimes the files will work and= other times not work, but only between instances of the daemon/between sys= tem boots.

I have tried restarting org mode throug= h the menu-bar option "restart org-mode (new version)", as well a= s disabling and renabling org-mode, as well as simply calling org-mode. No = avail.

When I tried to debug the function, I reall= y didn't have a clue what I was doing, but I think I narrowed the issue= down to org-mode not getting the right context on where point is. I think = this because org-return functions as expected when called with 't' = as an argument, such as (org-return t), but I get the issue when calling ju= st (org-return), which is bound to RET.

My work-ar= ound, for the time being, has just been to disable electric-indent-mode, an= d use C-J to get the desired behavior, as that calls (org-return-and-maybe-= indent), and gives t if org-adapt-indentation is t and electric-indent-mode= is disabled.

I apologize if my bug report is not = up to scratch, but I have tried my best to give as much detail as I can, an= d this is my first time trying a bug report, as I am unsure how to proceed = with this on my own.

Thank you,
Keva= n B.
--00000000000037962c05db844952--