From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86264 Path: news.gmane.org!not-for-mail From: Jens Lechtenboerger Newsgroups: gmane.emacs.gnus.general Subject: Re: Refactoring of mml1991.el, mml2015.el, mml-smime.el Date: Sat, 07 Nov 2015 21:28:21 +0100 Message-ID: <87io5d7dwa.fsf@informationelle-selbstbestimmung-im-internet.de> References: <86wq8xffpv.fsf@informationelle-selbstbestimmung-im-internet.de> <87k2qmsrt1.fsf@informationelle-selbstbestimmung-im-internet.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1446928192 29879 80.91.229.3 (7 Nov 2015 20:29:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Nov 2015 20:29:52 +0000 (UTC) Cc: Daiki Ueno To: ding@gnus.org Original-X-From: ding-owner+M34497@lists.math.uh.edu Sat Nov 07 21:29:41 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZvA7I-0002SI-00 for ding-account@gmane.org; Sat, 07 Nov 2015 21:29:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1ZvA6J-000855-2c; Sat, 07 Nov 2015 14:28:39 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZvA6G-00084b-0Q for ding@lists.math.uh.edu; Sat, 07 Nov 2015 14:28:36 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZvA6D-0007Rv-IV for ding@lists.math.uh.edu; Sat, 07 Nov 2015 14:28:35 -0600 Original-Received: from mx2.mailbox.org ([80.241.60.215]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ZvA6A-0001tF-OQ for ding@gnus.org; Sat, 07 Nov 2015 21:28:30 +0100 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 0A66340049; Sat, 7 Nov 2015 21:28:24 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id ooVEocW9ekoL; Sat, 7 Nov 2015 21:28:22 +0100 (CET) OpenPGP: id=0xA142FD84; url=http://www.informationelle-selbstbestimmung-im-internet.de/A142FD84.asc Mail-Followup-To: ding@gnus.org, Daiki Ueno User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86264 Archived-At: On 2015-11-06, at 11:10, Daiki Ueno wrote: > Jens Lechtenboerger writes: > >> On 2014-09-21, at 12:08, Jens Lechtenboerger wrote: >> In my code, each pair is replaced with a single variable with the prefix >> =E2=80=9Cmml-epg-openpgp=E2=80=9D, e.g., =E2=80=9Cmml-epg-openpgp-cache-= passphrase=E2=80=9D. >> >> Concerning S/MIME, I introduced the same variables with prefix >> =E2=80=9Cmml-epg-smime=E2=80=9D. > > The prefix "mml-epg" sounds a bit too much implementation detail. How > about renaming those prefixes to mml{,-secure}-pgpmime / > mml{,-secure}-smime and moving to mml-sec.el? > > (I would use the word "pgpmime" to distinguish PGP/MIME signatures from > inline PGP signatures. I remember there is already a use of the word in > Gnus). Yes, I can move that to mml-sec.el. However, note that I=E2=80=99m not restricting functionality to pgpmime. Inline PGP is still available (via mml1991.el). The variables whose names include =E2=80=9Copenpgp=E2=80= =9D in my code cover pgpmime (mml2015.el) as well as inline PGP (mml1991.el). Therefore, I=E2=80=99d like to use =E2=80=9Copenpgp=E2=80=9D instead of =E2= =80=9Cpgpmime=E2=80=9D. Moreover, in mml-sec.el the variables mml-secure-cache-passphrase and mml-secure-passphrase-cache-expiry are defined, which have specialized versions in mml-smime.el, mml1991.el, and mml2015.el, which I meant to delete or to supersede by two new variables (for OpenPGP and S/MIME). So far, I didn=E2=80=99t receive strong feedback on the related issue of my e-mail (passphrase caching in Emacs vs gpg-agent). Now I wonder whether to get rid of all of them except those in mml-secure.el (with a recommendation to use gpg-agent). How should I proceed from here? Ask for opinions on other mailing lists such as the following two? https://lists.gnu.org/mailman/listinfo/info-gnus-english https://lists.gnu.org/mailman/listinfo/help-gnu-emacs > I saw a few functions prefixed with "jl-". Maybe they can be moved to > mm-util.el or gnus-util.el? Indeed, gnus-util.el seems appropriate. Best wishes Jens