From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.devel Subject: MH-E folder completion Date: Sun, 03 Jul 2011 13:13:19 -0700 Organization: Newt Software Message-ID: <2676.1309723999@olgas.newt.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309724013 8969 80.91.229.12 (3 Jul 2011 20:13:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2011 20:13:33 +0000 (UTC) Cc: mh-e-devel@lists.sourceforge.net To: emacs-devel@gnu.org Original-X-From: mh-e-devel-bounces@lists.sourceforge.net Sun Jul 03 22:13:29 2011 Return-path: Envelope-to: gmmd-mh-e-devel@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdT2n-0004MA-20 for gmmd-mh-e-devel@m.gmane.org; Sun, 03 Jul 2011 22:13:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1QdT2l-00029f-Fq; Sun, 03 Jul 2011 20:13:27 +0000 Original-Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1QdT2k-00029X-UR for mh-e-devel@lists.sourceforge.net; Sun, 03 Jul 2011 20:13:26 +0000 X-ACL-Warn: Original-Received: from tassie.newt.com ([66.135.50.201]) by sog-mx-2.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1QdT2j-0000tn-PA for mh-e-devel@lists.sourceforge.net; Sun, 03 Jul 2011 20:13:26 +0000 Original-Received: from olgas.newt.com (c-67-169-87-56.hsd1.ca.comcast.net [67.169.87.56]) by tassie.newt.com (Postfix) with ESMTPSA id 775181A408B; Sun, 3 Jul 2011 13:13:20 -0700 (PDT) Original-Received: by olgas.newt.com (Postfix, from userid 1000) id AEEAE156121; Sun, 3 Jul 2011 13:13:19 -0700 (PDT) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id AA6A6156117; Sun, 3 Jul 2011 13:13:19 -0700 (PDT) X-Mailer: MH-E 8.2+bzr; nmh 1.3; GNU Emacs 23.2.1 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Mail-Followup-To: emacs-devel@gnu.org, mh-e-devel@lists.sourceforge.net X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1QdT2j-0000tn-PA X-BeenThere: mh-e-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Forum for the MH-E developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: mh-e-devel-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.mail.mh-e.devel:13243 gmane.emacs.devel:141505 Archived-At: Hi Stefan, I'm *finally* getting around to testing your completion code that you added to MH-E. Your original outline was: 1- use completion-in-region (new in Emacs-23.2) instead of mh-complete-word 2- change the completion tables to obey the completion-boundaries, which should also make them support partial-completion (e.g. complete +a/b/c to +alt/bob/calls). The second feature sounds very useful, and it even seems to be working! Which is amazing because you didn't have MH with which to test. I'll be testing your fallback code on XEmacs21 momentarily, but first I share to share one observation and discuss it. The old behavior looked like this: Visit folder (default +inbox): +lists/TAB Possible completions are: +lists/acm +lists/alerts/ +lists/all-battery +lists/aob +lists/appframework +lists/aquadivelog ... However, the new behavior looks like this: Visit folder (default +inbox): +lists/TAB Possible completions are: acm alerts/ all-battery aob appframework aquadivelog ... I think the old behavior looks more natural to an MH user since you're building up a folder string that you could pass to an MH command. I'm guessing that the Emacs folks would say that the latter behavior is better for Emacs users, and that the complete folder string can be viewed in the minibuffer. Yes? I'd like to open up the discussion to Emacs and MH-E developers to ensure that the new behavior is preferable for MH users and Emacs users alike, and if not, what the appropriate behavior should be. Thanks. -- Bill Wohler aka http://www.newt.com/wohler/ GnuPG ID:610BD9AD ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2