From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71DD2138330 for ; Thu, 8 Sep 2016 08:08:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E0D721C1E8; Thu, 8 Sep 2016 08:07:54 +0000 (UTC) Received: from smarthost03c.mail.zen.net.uk (smarthost03c.mail.zen.net.uk [212.23.1.22]) by pigeon.gentoo.org (Postfix) with ESMTP id F33FD21C1D6 for ; Thu, 8 Sep 2016 08:07:52 +0000 (UTC) Received: from [82.69.80.10] (helo=peak.localnet) by smarthost03c.mail.zen.net.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bhuND-0003xC-Fi for gentoo-user@lists.gentoo.org; Thu, 08 Sep 2016 08:07:51 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Wastebin or trash? Date: Thu, 08 Sep 2016 09:07:50 +0100 Message-ID: <5266069.YhiAUk0eP0@peak> User-Agent: KMail/4.14.10 (Linux/4.7.2-gentoo; KDE/4.14.23; x86_64; ; ) In-Reply-To: <1942358.p1XUsEjg4I@dell_xps> References: <2985253.X3bczSHdg9@peak> <1942358.p1XUsEjg4I@dell_xps> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost03c-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 463f03e7-bc25-4569-b933-c89fcae9bdbd X-Archives-Hash: 37576f1776bf556d0fe96469727e42b1 On Wednesday 07 Sep 2016 20:28:27 Mick wrote: > On Wednesday 07 Sep 2016 20:51:51 Alan McKinnon wrote: > > On 07/09/2016 19:53, Simon Thelen wrote: > > > On 16-09-07 at 18:41, Mick wrote: > > >> On Thursday 08 Sep 2016 00:47:13 Andrew Lowe wrote: > > >>> On 07/09/16 23:45, Peter Humphrey wrote: > > >>>> Hello list, > > >>>> > > >>>> As I said in the "emerge @system" thread, I've built a fresh ~amd64 > > >>>> system > > >>>> on this i7 box. I also created a new user directory for myself, > > >>>> copying > > >>>> in > > >>>> only .bash*, .gkrellm2 and .mozilla. > > >>>> > > >>>> After spending a good long time setting up KDE and friends just the > > >>>> way > > >>>> I > > >>>> like them, the one remaining task was to set up KMail and import my > > >>>> 1000-or- so messages. That worked all right, with just the one same > > >>>> exception as before: KMail's recycle bin is call "trash" in the > > >>>> folder > > >>>> list, but the right-click menu on it offers to "empty wastebin". > > >>>> > > >>>> I'm sure I have all my linguas, l10ns i18ns and everything set up > > >>>> right, > > >>>> so > > >>>> I think I'm just seeing an intermediate stage in KMail development. > > >>>> > > >>>> Is anyone else seeing this? > > >>>> > > >>> I'm reading this whilst sitting in Perth, Australia so both should > > read > > > >>> "Rubbish Bin" or possibly "Wheelie Bin" ;) > > >> > > >> One IMAP4 account of mine shows 'Bin' and another shows 'Trash'. As > > >> I > > >> understand it you need to configure the locale on the mail server. > > > > > > IMAP itself does not have a concept of "Trash", the creation of such a > > > mailbox is the prerogative of the client (unless the server itself > > > feels > > > that the imap client doesn't know what it's doing and moves deleted > > > emails into a different mailbox; not that I've ever seen a mail server > > > do that), therefore changing the locale on the mail server won't help > > > and it is indeed something on the client that needs to be changed. > > Yes, you're right. The IMAP4 protocol uses tags to signify deleted > messages, which until they are expunged stay on the server. > > Most mail clients typically move messages flagged as deleted into a > bin/trash/deleted IMAP4 mailbox (i.e. the representation of a mail client > folder) if configured to do so. The name of the mailbox is down to the > user, if created manually, or down to the presets of the mail client GUI. > If a webmail or desktop mail client is used, then the language settings > (on the webmail server or local PC) come into play. > > One of my accounts has GB settings, hence the 'bin' folder. The other > appears to have US settings, hence the 'trash' folder. > > > Or maybe wastebin in "empty wastebin" is a simple common noun whereas > > the folder called "Trash" is a proper noun. > > > > KDE widgets in my experience often have oddities like this. > > > > If it's something like that, you may have to find the file containing > > display strings and change it there > > This may be a bit drastic. In my experience changing locale on the local > client, or the remote webmail server if one exists sorts this out. > > Using local Vs server-side subscriptions on Kmail may affect the outcome > between different clients. Sorry gents, but this has nothing to do with IMAP: the phenomenon is purely internal to KMail. Besides, I only have POP3 accounts (which I suppose I could have said before but it didn't seem significant). Alan is closest: it's a matter of string contents somewhere in the KMail code. I just don't know whereabouts - nor do I want to fiddle around in the guts of the program, which is quite fragile enough already. One thing is being defined twice, or else it's defined once and only called in one of the two places where it should be, the other being hard coded. I've noticed both "trash" and "Wastebin" being used at different times over the last year, which hints at instability of program design and development management systems. -- Rgds Peter