From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26105 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Numbering invisible parts Date: 31 Oct 1999 22:42:10 -0500 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nwvs2ane5.fsf@tiger.jia.vnet> References: <87aeoz14yq.fsf@pc-hrvoje.srce.hr> <87k8o3yrn9.fsf@pc-hrvoje.srce.hr> <2n1zabapsf.fsf@tiger.jia.vnet> <87bt9ezzo4.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163375 17611 80.91.224.250 (21 Oct 2002 01:22:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:22:55 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id WAA21355 for ; Sun, 31 Oct 1999 22:44:26 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id VAB14430; Sun, 31 Oct 1999 21:44:24 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 31 Oct 1999 21:44:43 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id VAA13794 for ; Sun, 31 Oct 1999 21:44:32 -0600 (CST) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id WAA21340 for ; Sun, 31 Oct 1999 22:44:01 -0500 (EST) Original-Received: from heart.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id WAA06271 for ; Sun, 31 Oct 1999 22:43:38 -0500 (EST) Original-Received: (from zsh@localhost) by heart.cs.rochester.edu (8.9.3/8.9.3) id WAA02236; Sun, 31 Oct 1999 22:42:10 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Hrvoje Niksic's message of "01 Nov 1999 03:57:47 +0100" Original-Lines: 43 User-Agent: Gnus/5.07009701 (Pterodactyl Gnus v0.97.1) XEmacs/21.2 (Shinjuku) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26105 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26105 >>>>> "Hrvoje" == Hrvoje Niksic writes: [...] Hrvoje> Thanks; this is cool, although it breaks the usual Hrvoje> "no-argument-means-1" assumption with cooked numerical Hrvoje> prefixes. Hrvoje> However, it only partially fixes my problem, because I would Hrvoje> like `1 b' (or just b) to work on the first button I see, `2 Hrvoje> b' on the second, etc. Hrvoje> Maybe numbering invisible parts should be an option? I never Hrvoje> want to number invisible parts, while Kai always wants to Hrvoje> number them. Sounds like we need an option to settle our Hrvoje> differences. :-) The numbers come from dissecting function. They are kinda like the IDs of parts. Though some buttons are displayed, they need ID. Suppose a complicated case like (message/rfc822 is an attachment part) [1. multipart/mixed] [2. message/rfc822] [7. multipart/mixed] [8. image/jpeg] [9. text/plain] [3. multipart/mixed] [4. image/gif] [5. text/html] [6. image/bmp] Why I got such numbered buttons? Because part message/rfc822 is dissected when it is displayed. So we get unordered buttons. Suppose we could number the buttons in order. How about (un)display the message/rfc822 button? We still get non-contiguous buttons. (In pGnus, undisplaying a button does not affect its sibling buttons. I don't think relabeling them is reasonable.) -- Shenghuo ZHU