From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: mailcrypt help: argument to mc-encrypt
Date: Tue, 19 Aug 2003 10:08:45 -0600 [thread overview]
Message-ID: <3F424B8D.4000305@yahoo.com> (raw)
In-Reply-To: bhrplq$2dm7v$1@fido.engr.sgi.com
V. Balaji wrote:
> I'm trying to write a function to mailcrypt a buffer before saving... I
> can't figure out from the source what I should pass to mc-encrypt as its
> only argument. I've tried (mc-encrypt) with no argument, as well as what
> is shown here...
>
> (defun encrypt-and-save-buffer ()
> " Encrypt buffer before saving."
> (interactive)
> (mc-encrypt (current-buffer))
> (save-buffer))
Take a look at the definitions of mc-encrypt and mc-encrypt-region in
mc-toplev.el. I would try
(mc-encrypt 1)
or
(mc-encrypt-region 1 (point-min) (point-max))
--
Kevin Rodgers
prev parent reply other threads:[~2003-08-19 16:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-19 0:06 mailcrypt help: argument to mc-encrypt V. Balaji
2003-08-19 16:08 ` Kevin Rodgers [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=3F424B8D.4000305@yahoo.com \
--to=ihs_4664@yahoo.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.