From: Luc Teirlinck <teirllm@dms.auburn.edu>
Subject: vis-mode
Date: Sun, 15 Jun 2003 21:16:23 -0500 (CDT) [thread overview]
Message-ID: <200306160216.h5G2GNI08218@eel.dms.auburn.edu> (raw)
I have started to rewrite info.texi. (I had to familiarize myself
with texinfo first, as I had never used it before.)
I would like to check in vis-mode, discussed before, with all changes
suggested by Richard. I will not give it any binding, whether in info
or elsewhere. I would want to know in which file I am supposed to put
it, however.
===File ~/vis-mode.el=======================================
(make-variable-buffer-local 'saved-buffer-invisibility-spec)
(defvar saved-buffer-invisibility-spec nil
"Saved value of buffer-invisibility-spec when `vis-mode' is on.")
(define-minor-mode vis-mode
"Toggle vis-mode.
With argument ARG turn vis-mode on iff ARG is positive..
Enabling vis-mode sets `buffer-invisibility-spec' to nil, after
saving the old value in the variable
`saved-buffer-invisibility-spec', making all invisible text in
the buffer visible.
Disabling vis-mode restores the saved value of
`buffer-invisibility-spec'."
:lighter " Vis"
(if vis-mode
(progn
(setq saved-buffer-invisibility-spec buffer-invisibility-spec
buffer-invisibility-spec nil))
(setq buffer-invisibility-spec saved-buffer-invisibility-spec
saved-buffer-invisibility-spec nil)))
============================================================
reply other threads:[~2003-06-16 2:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200306160216.h5G2GNI08218@eel.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
/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).