From: Paul Pogonyshev <pogonyshev@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: invisible text and navigation commands
Date: Sun, 1 Oct 2017 21:21:12 +0200 [thread overview]
Message-ID: <CAG7BpaqcLUAU_hWU8rDeVQSvnCMiNoqsYbzpYe59buYNQO+MpA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 614 bytes --]
Hi,
My mode implements filtering in a read-only buffer by attaching `invisible'
property to text chunks and then modifying `buffer-invsibility-spec'
variable. This way I can hide/show large pieces of text pretty much
instantly and without modifying anything. However, I noticed that commands
like M-f etc. still "see through" the hidden text and will stop at points
where something is hidden.
Question: is it somehow possible to make M-f and so on (of course, for
interactive use only) ignore invisible text completely, as if it was not
there at all? If not, could such a feature be implemented in future?
Paul
[-- Attachment #2: Type: text/html, Size: 726 bytes --]
next reply other threads:[~2017-10-01 19:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-01 19:21 Paul Pogonyshev [this message]
2017-10-02 13:50 ` invisible text and navigation commands Robert Weiner
2017-10-02 17:15 ` Paul Pogonyshev
2017-10-02 16:20 ` Eli Zaretskii
2017-10-02 17:21 ` Paul Pogonyshev
2017-10-03 0:44 ` Stefan Monnier
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG7BpaqcLUAU_hWU8rDeVQSvnCMiNoqsYbzpYe59buYNQO+MpA@mail.gmail.com \
--to=pogonyshev@gmail.com \
--cc=emacs-devel@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.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).