From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 22 07:47:36 2014 Received: (at submit) by debbugs.gnu.org; 22 Nov 2014 12:47:36 +0000 Received: from localhost ([127.0.0.1]:41426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XsA6B-0002DW-1G for submit@debbugs.gnu.org; Sat, 22 Nov 2014 07:47:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43285) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XsA66-0002DJ-Od for submit@debbugs.gnu.org; Sat, 22 Nov 2014 07:47:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsA61-00037l-If for submit@debbugs.gnu.org; Sat, 22 Nov 2014 07:47:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsA61-00037R-FI for submit@debbugs.gnu.org; Sat, 22 Nov 2014 07:47:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsA5w-0007Sx-I5 for bug-gnu-emacs@gnu.org; Sat, 22 Nov 2014 07:47:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsA5o-0002yp-FV for bug-gnu-emacs@gnu.org; Sat, 22 Nov 2014 07:47:20 -0500 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:50422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsA5o-0002ye-4Z for bug-gnu-emacs@gnu.org; Sat, 22 Nov 2014 07:47:12 -0500 Received: by mail-wi0-f172.google.com with SMTP id n3so1692419wiv.5 for ; Sat, 22 Nov 2014 04:47:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=MbsXstjkApka4VB0ITVKqT70G2Xdve6Jwov1HdIA1No=; b=I6SJlhnpvnPBzVXzoDTO1uz7qaRxacgdtBhV2r0+qKlxiGkwwp3o1KR0+/Wby5NVaF QuKs4NcMHdSgHeOY3iTorxt0b5FqYtr+tMbyDpivgqvgBTwIsH3dBEBG73SQt+6cKQSu Kax/z55+0RNtsKqlYYWXkaKNBWBfDrPPyF0NsT0gNhVQwlxOoL4hV+JgeIc3TPVLhDwU ieVMpdyHnuUJYcq3+3ivIOKrtfV9VY2bmgLrqPUizfOGIpkwJRN3DHLgJ+8GdF9D70ia A6B0Opmc37ouN2C7gWqdh1UPkTe0TEfsFBojSI8xsM8bJkEVymskGiAhrE3aveEEzn/D M8YQ== X-Received: by 10.194.85.83 with SMTP id f19mr17645911wjz.20.1416660431234; Sat, 22 Nov 2014 04:47:11 -0800 (PST) Received: from [192.168.0.12] (89-69-99-218.dynamic.chello.pl. [89.69.99.218]) by mx.google.com with ESMTPSA id gy4sm3158861wib.11.2014.11.22.04.47.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 22 Nov 2014 04:47:10 -0800 (PST) Message-ID: <547085CC.3030402@gmail.com> Date: Sat, 22 Nov 2014 13:47:08 +0100 From: =?UTF-8?B?Ikpvc8OpIEEuIFJvbWVybyBMLiI=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 25.0.50; [Easy PG] error in process filter Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Dear Emacs maintainers, There's a little bug in the logic of the Easy PG Assistant: whenever one tries to execute the `epa-decrypt-region' function on any region the following error occurs: error in process filter: epg--process-filter: Wrong type argument: listp, epa-passphrase-callback-function This is caused by an incompatibility between epg.pl and epa.pl, looks like the changes in interface in the former haven't been reflected in the latter. The following patch fixes this specific bug: ====================== CUT HERE ===================================== --- bug/emacs_trunk/lisp/epa.el 2014-11-20 20:11:39.475380000 +0100 +++ fix/emacs_trunk/lisp/epa.el 2014-11-22 13:21:46.191478570 +0100 @@ -853,12 +853,8 @@ (save-excursion (let ((context (epg-make-context epa-protocol)) plain) - (setf (epg-context-passphrase-callback context) - #'epa-passphrase-callback-function) - (setf (epg-context-progress-callback context) - (cons - #'epa-progress-callback-function - "Decrypting...")) + (epg-context-set-passphrase-callback context #'epa-passphrase-callback-function) + (epg-context-set-progress-callback context #'epa-progress-callback-function) (if epa-pinentry-mode (setf (epg-context-pinentry-mode context) epa-pinentry-mode)) (message "Decrypting...") ====================== CUT HERE ===================================== There are other places where `setf' is being still used in epa.el to set different epg values. It'd be good if someone could have a look at that. In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2014-11-20 on moksha Repository revision: mina86@mina86.com-20141117204835-paxrwolqd1cgwtdp Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Debian GNU/Linux unstable (sid) Configured using: `configure --prefix=/usr --with-xpm --with-jpeg --with-tiff --with-png --with-rsvg --with-x --with-x-toolkit=gtk --with-xft --with-m17n-flt --with-libotf' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_ALL: pl_PL.UTF-8 value of $LC_CTYPE: pl_PL.UTF-8 value of $LANG: pl_PL.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t global-undo-tree-mode: t undo-tree-mode: t ido-everywhere: t openwith-mode: t recentf-mode: t global-surround-mode: t surround-mode: t evil-mode: t evil-local-mode: t diff-auto-refine-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent messages: Updating buffer list...done Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help Mark set Decrypting... Processing /tmp/epg-input7092jo: ...done Decrypting...done Replace the original text? (y or n) y Malformed quoted-printable text [2 times] (No files need saving) When done with this frame, type C-x 5 0 Load-path shadows: /home/ja/.emacs.d/elpa/sunrise-x-tabs-1.445/sunrise-x-tabs hides ~/emacs/sunrise-x-tabs /home/ja/.emacs.d/elpa/sunrise-commander-6.455/sunrise-commander hides ~/emacs/sunrise-commander /home/ja/.emacs.d/elpa/sunrise-x-checkpoints-1.440/sunrise-x-checkpoints hides ~/emacs/sunrise-x-checkpoints /home/ja/.emacs.d/elpa/sunrise-x-loop-3.423/sunrise-x-loop hides ~/emacs/sunrise-x-loop /home/ja/.emacs.d/elpa/sunrise-x-popviewer-3.444/sunrise-x-popviewer hides ~/emacs/sunrise-x-popviewer /home/ja/.emacs.d/elpa/sunrise-x-tree-1.450/sunrise-x-tree hides ~/emacs/sunrise-x-tree /home/ja/.emacs.d/elpa/sunrise-x-modeline-2.423/sunrise-x-modeline hides ~/emacs/sunrise-x-modeline /home/ja/.emacs.d/elpa/sunrise-x-mirror-2.423/sunrise-x-mirror hides ~/emacs/sunrise-x-mirror /home/ja/.emacs.d/elpa/auto-complete-20141111.2346/auto-complete-config hides ~/emacs/auto-complete/auto-complete-config /home/ja/.emacs.d/elpa/auto-complete-20141111.2346/auto-complete-pkg hides ~/emacs/auto-complete/auto-complete-pkg /home/ja/.emacs.d/elpa/auto-complete-20141111.2346/auto-complete hides ~/emacs/auto-complete/auto-complete ~/emacs/agda/eri hides /usr/share/emacs/site-lisp/agda/eri ~/emacs/agda/agda2-highlight hides /usr/share/emacs/site-lisp/agda/agda2-highlight ~/emacs/agda/annotation hides /usr/share/emacs/site-lisp/agda/annotation ~/emacs/agda/agda2 hides /usr/share/emacs/site-lisp/agda/agda2 ~/emacs/agda/agda-input hides /usr/share/emacs/site-lisp/agda/agda-input ~/emacs/agda/agda2-mode hides /usr/share/emacs/site-lisp/agda/agda2-mode ~/emacs/agda/agda2-abbrevs hides /usr/share/emacs/site-lisp/agda/agda2-abbrevs ~/emacs/agda/agda2-queue hides /usr/share/emacs/site-lisp/agda/agda2-queue /usr/share/emacs/site-lisp/autotest-mode hides /usr/share/emacs/site-lisp/autoconf/autotest-mode ~/emacs/whitespace hides /usr/share/emacs/25.0.50/lisp/whitespace /usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/25.0.50/lisp/textmodes/flyspell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/25.0.50/lisp/textmodes/rst /usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/25.0.50/lisp/textmodes/ispell /home/ja/.emacs.d/elpa/emms-20141104.1238/tq hides /usr/share/emacs/25.0.50/lisp/emacs-lisp/tq Features: (shadow mail-extr emacsbug sendmail qp ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff vc-bzr shell mule-util gnutls parse-time mm-archive network-stream starttls url-http tls url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers finder-inf dabbrev imenu jka-compr debug eieio-opt speedbar sb-image ezimage dframe find-func ibuf-ext ibuffer wdired executable ffap thingatpt url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util password-cache url-vars epa-file vc-git misearch multi-isearch sunrise-x-loop sunrise-x-mirror sunrise-x-modeline sunrise-x-popviewer sunrise-x-tabs sunrise-x-tree sunrise-x-embed sunrise-commander term ehelp sort hl-line find-dired pcomplete comint ansi-color esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-util esh-mode disp-table enriched desktop frameset help-mode epa derived epg smex pp undo-tree diff server ecb-snapshot-autoloads less-autoloads info package epg-config css-mode smie minibuf-isearch browse-url flyspell ispell cl-macs org-install ido-goto-symbol ido openwith recentf tree-widget dired-dd dired-dd-b3-menu dired-x dired-aux evil-numbers surround devilize-nxml evil evil-integration evil-maps evil-commands evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common windmove rect evil-digraphs evil-vars psvn advice wid-edit cl gv log-edit message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader ring pcvs-util add-log diff-mode easy-mmode easymenu edmacro kmacro cl-loaddefs cl-lib slime-autoloads proof-site proof-autoloads pg-vars time-date savehist cus-start cus-load tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 335082 57582) (symbols 48 38224 0) (miscs 40 631 705) (strings 32 83383 17956) (string-bytes 1 2368192) (vectors 16 40004) (vector-slots 8 1387730 187364) (floats 8 200 483) (intervals 56 5099 1052) (buffers 976 38) (heap 1024 84116 15685)) Cheers, -- José A. Romero L. escherdragon@gmail.com "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed) From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 28 02:03:08 2014 Received: (at 19150-done) by debbugs.gnu.org; 28 Nov 2014 07:03:08 +0000 Received: from localhost ([127.0.0.1]:48044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuFa8-0004RJ-Bw for submit@debbugs.gnu.org; Fri, 28 Nov 2014 02:03:08 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:47130) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuFa5-0004R8-TR for 19150-done@debbugs.gnu.org; Fri, 28 Nov 2014 02:03:06 -0500 Received: from du-a.org ([2001:e41:db5e:fb14::1]:53218 helo=localhost.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XuFa5-0006hC-3j; Fri, 28 Nov 2014 02:03:05 -0500 Message-ID: From: Daiki Ueno To: =?iso-8859-1?Q?Jos=E9_A=2E_Romero_L=2E?= Subject: Re: bug#19150: 25.0.50; [Easy PG] error in process filter References: <547085CC.3030402@gmail.com> Date: Fri, 28 Nov 2014 16:03:01 +0900 In-Reply-To: <547085CC.3030402@gmail.com> (=?iso-8859-1?Q?=22Jos=E9?= A. Romero L."'s message of "Sat, 22 Nov 2014 13:47:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19150-done Cc: 19150-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) "Jos=E9 A. Romero L." writes: > - (setf (epg-context-passphrase-callback context) > - #'epa-passphrase-callback-function) > - (setf (epg-context-progress-callback context) > - (cons > - #'epa-progress-callback-function > - "Decrypting...")) > + (epg-context-set-passphrase-callback context #'epa-passphrase-call= back-function) > + (epg-context-set-progress-callback context #'epa-progress-callback= -function) [...] > There are other places where `setf' is being still used in epa.el to set > different epg values. Thanks for the report and analysis. Yes, we should still use `epg-context-set-*-callback' there. I've pushed a fix: http://git.sv.gnu.org/cgit/emacs.git/commit/?id=3Df33ec1f5 Regards, -- Daiki Ueno From unknown Fri Aug 15 14:14:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Dec 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator