From: Ihor Radchenko <yantar92@gmail.com>
To: 56837@debbugs.gnu.org
Subject: bug#56837: 28.1.90; `current-indentation' sometimes returns zero inside invisible text
Date: Sat, 30 Jul 2022 15:56:39 +0800 [thread overview]
Message-ID: <875yjfrq2w.fsf@localhost> (raw)
Hi,
Try to do the following:
1. emacs -Q
2. M-x outline-mode
3. Insert
* something
a
* else
4. Move point to "* <point>something"
5. <TAB> to fold the outline
6. M-: (save-excursion (search-forward " a") (current-indentation))
;; => 2
7. M-: (remove-from-invisibility-spec '(outline . t))
8. M-: (add-to-invisibility-spec '(outline))
9. M-: (save-excursion (search-forward " a") (current-indentation))
;; => 0; expected: => 2
First reported in https://orgmode.org/list/87k0h49s7z.fsf@localhost
Best,
Ihor
next reply other threads:[~2022-07-30 7:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-30 7:56 Ihor Radchenko [this message]
2022-07-30 8:51 ` bug#56837: 28.1.90; `current-indentation' sometimes returns zero inside invisible text Eli Zaretskii
2022-07-30 9:08 ` Ihor Radchenko
2022-07-30 10:08 ` Eli Zaretskii
2022-07-30 11:27 ` Ihor Radchenko
2022-07-30 11:38 ` Eli Zaretskii
2022-07-30 11:49 ` Ihor Radchenko
2022-07-30 13:25 ` Eli Zaretskii
2022-07-30 16:35 ` Eli Zaretskii
2022-07-31 8:12 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yjfrq2w.fsf@localhost \
--to=yantar92@gmail.com \
--cc=56837@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.