From: Jorge Godoy <godoy@ieee.org>
Subject: Re: PGG and 'pgg-sign' command.
Date: Sun, 10 Nov 2002 11:53:14 -0200 [thread overview]
Message-ID: <kplm418rat.fsf@wintermute.casa> (raw)
In-Reply-To: <iluisz5q258.fsf@latte.josefsson.org> (Simon Josefsson's message of "Sun, 10 Nov 2002 09:06:59 +0100")
Simon Josefsson <jas@extundo.com> writes:
> 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)
I guess that the solution pointed out by Josh Hubber
(<87znsil4pb.fsf@mail.paradoxical.net>) solves the problem and even
make this command useless... I know that you added them because of
some prior message of mine, but what do you think about mapping
'pgg-sign' and 'pgg-encrypt' to those mml- equivalent options?
See you,
--
Godoy. <godoy@ieee.org>
next prev parent reply other threads:[~2002-11-10 13:53 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
2002-11-10 13:53 ` Jorge Godoy [this message]
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=kplm418rat.fsf@wintermute.casa \
--to=godoy@ieee.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.
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).