Bug#410300: [Alpine-alpha] Debian Bug#410300: alpine: addressbook sort-order cannot be changed

2007-03-07 Thread Asheesh Laroia

On Sun, 11 Feb 2007, Asheesh Laroia wrote:

A Debian user reported this problem with Alpine 0.81 and that it persists 
in Alpine 0.82:


The line addrbook-sort-rule=nickname in .pinerc hass no effect. The 
addressbook will still sorted by the default fullname-with-lists-last.


I can report that this bug persists in Alpine 0.83.  I'm CC:ing the Debian 
bug, which can be viewed on the web at 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410300 .


It's particulary confusing because it looks like reasonable logic is in 
place around line 2348-2352 of pith/adrbklib.c.


I don't mean to be a whiner, even though I've posted a couple of bugs 
lately; rather, thanks for all the great work that's being put into 
Alpine!


-- Asheesh.

--
Once is happenstance,
Twice is coincidence,
Three times is enemy action.
-- Auric Goldfinger


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410300: [Alpine-alpha] Debian Bug#410300: alpine: addressbook sort-order cannot be changed

2007-03-07 Thread Steve Hubert

On Wed, 7 Mar 2007, Asheesh Laroia wrote:


On Sun, 11 Feb 2007, Asheesh Laroia wrote:

A Debian user reported this problem with Alpine 0.81 and that it persists 
in Alpine 0.82:


The line addrbook-sort-rule=nickname in .pinerc hass no effect. The 
addressbook will still sorted by the default fullname-with-lists-last.


I can report that this bug persists in Alpine 0.83.  I'm CC:ing the Debian 
bug, which can be viewed on the web at 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410300 .


It's particulary confusing because it looks like reasonable logic is in place 
around line 2348-2352 of pith/adrbklib.c.


I don't mean to be a whiner, even though I've posted a couple of bugs lately; 
rather, thanks for all the great work that's being put into Alpine!


-- Asheesh.


Thanks for your persistence. Here's a patch.

Steve

Index: pith/adrbklib.c
===
--- pith/adrbklib.c (revision 473)
+++ pith/adrbklib.c (working copy)
@@ -382,6 +382,10 @@
 if(!ab-fp)
   goto bail_out;

+ab-sort_rule = sort_rule;
+if(pab-access == ReadOnly)
+  ab-sort_rule = AB_SORT_RULE_NONE;
+
 if(ab){
/* allocate header for expanded lists list */
ab-exp  = (EXPANDED_S *)fs_get(sizeof(EXPANDED_S));


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410300: alpine: addressbook sort-order cannot be changed

2007-02-11 Thread Asheesh Laroia

On Fri, 9 Feb 2007, Martin Ziegler wrote:


The line addrbook-sort-rule=nickname
in .pinerc hass no effect. The addressbook will
still sorted by the default fullname-with-lists-last.


Martin, can you double-check for me if this is still the case with Alpine 
0.82?  If so, I'll push it upstream.


-- Asheesh.

--
Q:  How do you stop an elephant from charging?
A:  Take away his credit cards.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410300: Debian Bug#410300: alpine: addressbook sort-order cannot be changed

2007-02-11 Thread Asheesh Laroia
A Debian user reported this problem with Alpine 0.81 and that it persists 
in Alpine 0.82:


The line addrbook-sort-rule=nickname in .pinerc hass no effect. The 
addressbook will still sorted by the default fullname-with-lists-last.


Let me know if there's any more info I can provide.  The Debian bug is 
available at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410300 .


-- Asheesh.

--
A kind of Batman of contemporary letters.
-- Philip Larkin on Anthony Burgess


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410300: alpine: addressbook sort-order cannot be changed

2007-02-09 Thread Martin Ziegler
Package: alpine
Version: 0.81+dfsg-1
Severity: normal


The line addrbook-sort-rule=nickname
in .pinerc hass no effect. The addressbook will 
still sorted by the default fullname-with-lists-last.

Regards,
Martin Ziegler

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages alpine depends on:
ii  libc6   2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libldap22.1.30-13.2  OpenLDAP libraries
ii  libncurses5 5.5-5Shared libraries for terminal hand
ii  libpam0g0.79-4   Pluggable Authentication Modules l
ii  libssl0.9.8 0.9.8c-4 SSL shared libraries

alpine recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]