From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79079 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: folded group view Date: Mon, 13 Jun 2011 17:07:16 +0200 Message-ID: <877h8pg47v.fsf@yun.yagibdah.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307977708 15478 80.91.229.12 (13 Jun 2011 15:08:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 15:08:28 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27378@lists.math.uh.edu Mon Jun 13 17:08:23 2011 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 1QW8kZ-0001lD-B1 for ding-account@gmane.org; Mon, 13 Jun 2011 17:08:23 +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 1QW8jc-0007WC-NR; Mon, 13 Jun 2011 10:07:24 -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 1QW8ja-0007Vx-0I for ding@lists.math.uh.edu; Mon, 13 Jun 2011 10:07:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QW8jY-0001Qe-Gg for ding@lists.math.uh.edu; Mon, 13 Jun 2011 10:07:21 -0500 Original-Received: from static.73.179.46.78.clients.your-server.de ([78.46.179.73]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QW8jW-0004DJ-GA for ding@gnus.org; Mon, 13 Jun 2011 17:07:18 +0200 Original-Received: from lee by static.73.179.46.78.clients.your-server.de with local (Exim 4.76) (envelope-from ) id 1QW8jU-0004JH-Ts for ding@gnus.org; Mon, 13 Jun 2011 17:07:16 +0200 Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79079 Archived-At: Hi, is it possible to have a "folded" group view? I=C2=B4ll give an example to explain what I mean: Let=C2=B4s say you have the following groups shown in your group buffer: bogus mail.example.good mail.misc.abc mail.misc.def mail.misc.afiaf mail.misc.asfafmmf mail.test.local mail.test.remote some.other.example.asdfasf some.other.example.more That=C2=B4s an "unfolded" display. With a "folded" display, it would look like this: bogus mail.* some.* Now go to the line that shows "mail.*" and unfold the next level of it. You=C2=B4d see: bogus -------------- mail.example.good mail.misc.* mail.test.* -------------- some.* Note that it intentionally shows "mail.example.good" instead of "mail.example.*". If there was also "mail.example.bad", it would show "mail.example.*", of course. When you unfold "mail.misc.*", you get: bogus mail.example.good -------------- mail.misc.abc mail.misc.def mail.misc.afiaf mail.misc.asfafmmf -------------- mail.test.* -------------- some.* Optionally, all the groups not unfolded could be exempt from being displayed, so having unfolded two levels of "mail.*", you=C2=B4d only see it as a "current hierarchy": -------------- mail.misc.abc mail.misc.def mail.misc.afiaf mail.misc.asfafmmf -------------- Some settings about folding could be specified as group-parameters, so that hierachies can be exempt from being folded and users can specify what seperator to use. When searching for group names, the groups hidden in the fold should still be found: think of org-mode ... The seperating lines are to indicate that either a hierarchy is unfolded or that only the current hierachy is displayed. Another idea that comes to mind is "reverse folding" and "partial folding": Reverse folding would operate with the group names reversed, like "abc.misc.mail" instead of "mail.misc.abc". Partial folding would allow you to use arbitrary parts of group names to fold them on, either specified as windcard strings, or as levels of hierarchy: If you=C2=B4d set your partial folding specifier to ".*example.*= ", you=C2=B4d see: bogus mail.misc.abc mail.misc.def mail.misc.afiaf mail.misc.asfafmmf mail.test.local mail.test.remote -------------- *.example.* If you=C2=B4d set the partial folding specifier to 3, you=C2=B4d get: bogus -------------- mail.example.good mail.misc.* some.other.* some.other.* Is there anything like this already built in? If not, please consider it a feature request :)