emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yusef Aslam <YUZi54780@outlook.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Org-cycle strange behaviour in Emacs 29.0.50 [9.5.3 (9.5.3-g0b07b3 @ /home/yaslam/.emacs.d/straight/build/org/)]
Date: Tue, 10 May 2022 18:07:37 +0000	[thread overview]
Message-ID: <CWXP265MB6314E93623660BE9320DB76AFDC99@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CWXP265MB6314343B5128CAB7CD6DEE90FDC99@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>

[-- Attachment #1: Type: text/plain, Size: 3116 bytes --]

My org-mode config:
(use-package org
  :commands (org-capture org-agenda)
  :bind (("C-c l" . org-store-link)
("C-c a" . org-agenda)
("C-c c" . org-capture)
("C-c g" . org-capture-goto-file)
(:map org-mode-map
      ("<double-mouse-1>" . org-cycle)
      ("<f8>" . org-tree-slide-mode)
      ("S-<f8>" . org-tree-slide-skip-done-toggle)))
  :config
  ;; (org-indent-mode)
  (visual-line-mode 1)
  ;; Improve org mode looks
  (setq org-startup-folded t)
  (setq org-startup-with-inline-images t)
  (setq org-image-actual-width '(600))
  (setq org-startup-indented nil)
  (setq org-pretty-entities nil)
  (setq org-hide-emphasis-markers nil)
  (setq org-hide-leading-stars nil)
  ;; For navigation in the `org-goto' buffer
  (setq org-goto-auto-isearch nil)
  ;; Set org files directory
  (setq org-directory "~/Documents/GTD")
  ;; Set org agenda files location
  (setq org-agenda-files '("~/Documents/GTD/Tasks"))

  ;; Configuring Org Capture Templates
  ;; https://orgmode.org/manual/Capture-templates.html
  ;; https://orgmode.org/manual/Template-elements.html
  ;; http://howardism.org/Technical/Emacs/capturing-intro.html
  (setq org-capture-templates
'(("t" "Todo" entry (file+headline "~/Documents/GTD/Tasks/gtd.org" "Tasks")
           "* TODO %?\n  %i\n  %a")
 ("n" "Notes" plain (file "~/.notes")
  "* ENTER NOTE TITLE HERE%?\n")
 ("r" "Random Note" plain (file "~/.notes")
  "* Random Note\n%?"
  :empty-lines 0)
 ("p" "Project Idea" plain (file "~/Documents/GTD/Tasks/projects.org")
  "* TODO (ENTER PROJECT NAME HERE)%?\n"))))
________________________________
From: Yusef Aslam
Sent: Tuesday, May 10, 2022 11:05 AM
To: emacs-orgmode@gnu.org <emacs-orgmode@gnu.org>
Subject: [BUG] Org-cycle strange behaviour in Emacs 29.0.50 [9.5.3 (9.5.3-g0b07b3 @ /home/yaslam/.emacs.d/straight/build/org/)]

Emacs  : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0)
 of 2022-05-09
Package: Org mode version 9.5.3 (9.5.3-g0b07b3 @ /home/yaslam/.emacs.d/straight/build/org/)

I have strange behaviour in Emacs 29.0.50 and the org-cycle function inside org-mode, my config is normal and I haven't changed the behaviour for the TAB key inside org-mode.

When I am in an org-mode document, pressing TAB doesn't show subtrees, I bound org-cycle to double click on the mouse and it works everytime, just when pressing TAB on a heading, it doesn't show the content of that heading until I unfocus and then refocus the Emacs window.

I switched back to Emacs 27.2 and went into one of my files that are in org-mode, and org-cycle works perfectly when pressing TAB everytime.

This might be an issue not related to org-mode in Emacs 29.0.50, but pressing TAB in markdown-mode for example which also collapses heading content, it works perfectly when pressing TAB to show contents, and pressing TAB again to hide contents, but just in org-mode on Emacs 29.0.50 pressing TAB has strange behaviour, so I thought that org-cycle (the function that is called when pressing TAB by default) would be the problem, but I don't know.

[-- Attachment #2: Type: text/html, Size: 6498 bytes --]

  reply	other threads:[~2022-05-11  5:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10 18:05 [BUG] Org-cycle strange behaviour in Emacs 29.0.50 [9.5.3 (9.5.3-g0b07b3 @ /home/yaslam/.emacs.d/straight/build/org/)] Yusef Aslam
2022-05-10 18:07 ` Yusef Aslam [this message]
2022-05-11 13:32 ` Ihor Radchenko
     [not found] <CWXP265MB631483E5951866E7AB3DDB96FDCA9@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>
     [not found] ` <87o801pioy.fsf@localhost>
     [not found]   ` <CWXP265MB63142FC4765EC16670C25D69FDCA9@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>
     [not found]     ` <87ilq9phg8.fsf@localhost>
     [not found]       ` <CWXP265MB6314373147616A5CEF86EE0EFDCA9@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>
     [not found]         ` <CACnOyijqBU+4AV-WbpXcxj=mdGntkimuc469EUrrRdgA326tYQ@mail.gmail.com>
     [not found]           ` <CWXP265MB6314FE84ED99608C8A931C90FDCA9@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>
     [not found]             ` <CACnOyigGkN=r66eY4=O+zqq7AnfqQXwbfM=EB0MdYK4p+Y-pmg@mail.gmail.com>
     [not found]               ` <CWXP265MB631455A1D9F1C05DACE14272FDCA9@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>
     [not found]                 ` <CACnOyiiEPw5OscgJP9=eAobJgrEBN_rDMvfMhqPpAb06BkS8zQ@mail.gmail.com>
     [not found]                   ` <CWXP265MB63149A82DCCB21B7DBD0B46CFDCA9@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>
     [not found]                     ` <CACnOyihV=kz7ibogSD2Kpykx9q+pggRg8_f671LoMSU3WHsMXg@mail.gmail.com>
     [not found]                       ` <CWXP265MB6314604322ABC2AAFBEC2B63FDCA9@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>
     [not found]                         ` <87h75sbpy4.fsf@localhost>
     [not found]                           ` <87ee0w2syq.fsf@YUZi54780@outlook.com>
     [not found]                             ` <87o800b3x4.fsf@YUZi54780@outlook.com>
     [not found]                               ` <87lev4b3sg.fsf@YUZi54780@outlook.com>
     [not found]                                 ` <CWXP265MB63140FB3E3DA9EF43DE5878DFDCD9@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM>
2022-05-15  1:58                                   ` 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=CWXP265MB6314E93623660BE9320DB76AFDC99@CWXP265MB6314.GBRP265.PROD.OUTLOOK.COM \
    --to=yuzi54780@outlook.com \
    --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).