From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8299 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.user Subject: Re: Problem could be encode-coding-region Date: Thu, 30 Nov 2006 17:14:44 +0100 Message-ID: <87odqoewsr.fsf@mat.ucm.es> References: <87r6vn8u48.fsf@mat.ucm.es> <87ejrm8c2j.fsf_-_@mat.ucm.es> <87u00hnsk9.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164904827 28835 80.91.229.2 (30 Nov 2006 16:40:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2006 16:40:27 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Nov 30 17:40:24 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GpoxJ-00056a-0Q for gegu-info-gnus-english@m.gmane.org; Thu, 30 Nov 2006 17:40:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpoxI-0003CC-Ja for gegu-info-gnus-english@m.gmane.org; Thu, 30 Nov 2006 11:40:12 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!feeder.news-service.com!news2.euro.net!transit.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 38 Original-NNTP-Posting-Host: maportatil10.quim.ucm.es Original-X-Trace: quimby.gnus.org 1164903266 19914 147.96.7.218 (30 Nov 2006 16:14:26 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 30 Nov 2006 16:14:26 +0000 (UTC) X-Hashcash: 1:20:061130:gnu.emacs.gnus::GqBNIFd36rwjTt1U:0004QOm User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.18 (linux) Cancel-Lock: sha1:RFqWlXEFlX+XbFrGskbPoH5VrSU= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78484 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8299 Archived-At: >>>>> In <87u00hnsk9.fsf@mat.ucm.es> Uwe Brauer wrote: Katsumi> Yes, using `pgg-sign-region' and `pgg-encrypt-region' causes Katsumi> such an error. But do you really need to use them? If so, >> I thought I have to use them, what other signing and encryption >> function exists for gnupgp??? My setting is >> (setq pgg-cache-passphrase t >> pgg-default-scheme 'gpg >> pgg-default-user-id "oub" >> pgg-passphrase-cache-expiry 1800 >> pgg-scheme 'gpg) > Another way is to use the APEL XEmacs package[1] which provides > some dummy Mule functions except `buffer-file-coding-system'. I > verified I can use `pgg-sign-region' and `pgg-encrypt-region' in > XEmacs 21.4.19 (with no mule no file-coding) by putting the > following snippet in the XEmacs init file. > (require 'poem) > (defvar buffer-file-coding-system nil) You are correct, indeed now pgg-sign-region and pgg-encrypt-region work! Thank you very much. However and there is a big however when I use (mml-secure-message-sign-pgpmime) which uses that function Then the signing seems to be ignored, that is the tag <#secure method=pgpmime mode=sign> is inserted as it should, asked for the passwd but then nothing happens. Shall I debug (mml-secure-message-sign-pgpmime)? I am very puzzled now. As I said before vm-pgg works. So the culprit seems to be mml-secure-message-sign-pgpmine, what other function could I use ???? Uwe Brauer