From: Simon Josefsson <jas@extundo.com>
Subject: Re: PGG and 'pgg-sign' command.
Date: Sun, 10 Nov 2002 09:06:59 +0100 [thread overview]
Message-ID: <iluisz5q258.fsf@latte.josefsson.org> (raw)
In-Reply-To: <kpel9v55in.fsf@wintermute.casa> (Jorge Godoy's message of "Sat, 09 Nov 2002 09:47:28 -0200")
Jorge Godoy <godoy@ieee.org> writes:
> I'm trying to use 'pgg-sign', but although it makes the screen blink
> and repositions the cursor at the beginning of the screen, nothing
> happens and the message isn't signed. When I use pgg-sign-region with
> a marked region, everything works just fine.
The patch below should fix it, but it is ugly and the same solution
doesn't work for pgg-encrypt. Elisp Q: How do I interactively call a
function specifying the parameters directly?
--- pgg.el.~6.9.~ 2002-10-30 19:40:41.000000000 +0100
+++ pgg.el 2002-11-10 09:06:30.000000000 +0100
@@ -228,7 +228,10 @@
If optional arguments START and END are specified, only sign data
within the region."
(interactive "")
- (pgg-sign-region (or start (point-min)) (or end (point-max)) cleartext))
+ (save-excursion
+ (set-mark (or start (point-min)))
+ (goto-char (or end (point-max)))
+ (call-interactively 'pgg-sign-region)))
;;;###autoload
(defun pgg-verify-region (start end &optional signature fetch)
next prev parent reply other threads:[~2002-11-10 8:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-09 11:47 Jorge Godoy
2002-11-09 23:10 ` Josh Huber
2002-11-10 12:52 ` Jorge Godoy
2002-11-10 8:06 ` Simon Josefsson [this message]
2002-11-10 13:53 ` Jorge Godoy
2002-11-11 5:21 ` Simon Josefsson
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=iluisz5q258.fsf@latte.josefsson.org \
--to=jas@extundo.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.
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 NNTP newsgroup(s).