From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72318 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.gnus.general Subject: Re: Password protection Date: Thu, 30 Sep 2010 19:13:02 +0200 Message-ID: <87r5gbw3xd.fsf@gmx.de> References: <87sk0t3oxm.fsf@lifelogs.com> <87fwwszd1i.fsf@lifelogs.com> <87wrq4wcpc.fsf@lifelogs.com> <87tyl8xp7u.fsf@gmx.de> <87eiccw9ku.fsf@lifelogs.com> <87vd5nx5wa.fsf@gmx.de> <87tyl76v2k.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285866828 5109 80.91.229.12 (30 Sep 2010 17:13:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 17:13:48 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20691@lists.math.uh.edu Thu Sep 30 19:13:47 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1MhX-0003NC-7M for ding-account@gmane.org; Thu, 30 Sep 2010 19:13:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P1MhW-0004zW-4Y; Thu, 30 Sep 2010 12:13:46 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P1MhU-0004zF-8g for ding@lists.math.uh.edu; Thu, 30 Sep 2010 12:13:44 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P1MhQ-0003Pg-21 for ding@lists.math.uh.edu; Thu, 30 Sep 2010 12:13:44 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22] helo=mail.gmx.net) by quimby.gnus.org with smtp (Exim 3.36 #1 (Debian)) id 1P1MhP-0001dQ-00 for ; Thu, 30 Sep 2010 19:13:39 +0200 Original-Received: (qmail invoked by alias); 30 Sep 2010 17:13:08 -0000 Original-Received: from p4FC18A28.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.193.138.40] by mail.gmx.net (mp026) with SMTP; 30 Sep 2010 19:13:08 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/dQhtBU/rdGkRrvVOPJ3xnkTb23KQwwnW6bB9SMV A+gnaGY4bAxqWu In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 30 Sep 2010 18:47:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72318 Archived-At: Lars Magne Ingebrigtsen writes: > Ted Zlatanov writes: > >> If it doesn't break existing code, doesn't slow Emacs down, and provides >> needed functionality we can't get in any other way, they'll probably OK >> it. Do you or Michael want to make a proposal or should I? > > I'm not quite sure how it's going to be used, either. Today, nnimap says > > (process-send-string ... (format "LOGIN %S %S" user password)) > > That, obviously, can't work any more. So in what circumstances will > this appear? If it's only in new functions like process-send-password, > then it kinda seems like the type isn't needed, because we could just > load it into the C layer without ever exporting it back to the Lisp > layer at all... The object might be used whereever a string is allowed, even as substring of another string. Similar to objects handled by number-or-marker-p, which accepts a number or a marker object. process-send-string would recognize, that the string returned by (format ...) contains a password object, and it would expand it. Best regards, Michael.