emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vlastimil Vondra <vlastimil.vondra@gmail.com>
To: rainer.stengele@online.de
Cc: bzg@altern.org, emacs-orgmode@gnu.org
Subject: Re: Unable to unfold a folded block having point directly after the folded block
Date: Thu, 20 Jul 2023 10:37:37 +0200	[thread overview]
Message-ID: <70b0bea6-002f-ce0e-6d8e-e5bcdf291713@gmail.com> (raw)
In-Reply-To: <4F0BFC4B.3030403@online.de>

Hi all,

I solved it by using "(org-end-of-line)" before "(org-cycle)"

(defun my/org-cycle (&optional arg)
   "adjust org-cycle"
   (interactive "P")
   (org-end-of-line)
   (org-cycle arg)
   )

I hope it could be useful to somebody.

Best regards,

Vlastimil Vondra



  reply	other threads:[~2023-07-20  8:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 13:43 Unable to unfold a folded block having point directly after the folded block Rainer Stengele
2012-01-02 18:53 ` Bastien
2012-01-03 10:58   ` Rainer Stengele
2012-01-04 10:27     ` Bastien
2012-01-10  8:52       ` Rainer Stengele
2023-07-20  8:37         ` Vlastimil Vondra [this message]
2023-07-20  8:46           ` Ihor Radchenko
     [not found]             ` <CACjq+cw3wMsyF=W-hPGYBkN_P9Ng5k96Ufk0J-9QRn6-+h16og@mail.gmail.com>
2023-07-20  9:20               ` Ihor Radchenko
2023-07-20  9:37                 ` Vlastimil Vondra
2023-07-20 22:04                   ` Evgenii Klimov
2023-07-21  7:30                   ` 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=70b0bea6-002f-ce0e-6d8e-e5bcdf291713@gmail.com \
    --to=vlastimil.vondra@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.stengele@online.de \
    /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).