From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Lennart Borgman" <lennart.borgman@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Editing of invisible text
Date: Sun, 26 Oct 2008 22:22:28 -0400 [thread overview]
Message-ID: <jwv1vy2dbje.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <e01d8a50810260632k73eaab70re364362b3f62845d@mail.gmail.com> (Lennart Borgman's message of "Sun, 26 Oct 2008 14:32:10 +0100")
> Emacs lets you edit invisible text. That is perhaps not bad, but it is
> bad that you can't see what you are doing when you are editing
> invisible text. Here is a suggestion on how to make this better:
> - Implement a minor mode that make all invisible text visible but with
> a special face (or background color) that tells the user this is
> really invisible text.
> - Ask the user if she/he want to turn on this minor mode for the
> buffer when invisible text is going to be changed.
> - Of course add a variable to override this behaviour when needed ;-)
I'm not sure which scenario you have in mind, but:
- editing invisible text is not a normal occurrence, since point is
normally moved outside of compositions, images, and invisible text
at the end of every toplevel command.
- reveal-mode was meant as a way to do just what you want (tho it was
also meant as a way to use outline-minor-mode differently and this
is how it evolved more than as a way to handle editing of invisible
text).
-- Stefan
prev parent reply other threads:[~2008-10-27 2:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-26 13:32 Editing of invisible text Lennart Borgman
2008-10-27 2:22 ` Stefan Monnier [this message]
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=jwv1vy2dbje.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
/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.