Re: How might deleted messages be put in some setup for trash and fully deleted later?

2017-07-19 Thread Christian Brabandt

On Mi, 19 Jul 2017, Don Saklad wrote:

> How might deleted messages be put in some setup for trash then if no
> exceptions fully deleted later?

:set trash=

Have a look at the manual. Note this feature has been available as a 
patch in older versions, but recent mutt versions support this feature 
natively.

regards,
Christian
-- 
CCI Power 6/40: one board, a megabyte of cache, and an attitude...


Re: How might deleted messages be put in some setup for trash and fully deleted later?

2017-07-19 Thread Patrick Shanahan
* Don Saklad <dsak...@gnu.org> [07-19-17 16:18]:
> How might deleted messages be put in some setup for trash then if no
> exceptions fully deleted later?

instead of deleting on first look, save them to a folder intended for
deletion later and then delete from that folder when you feel like it.

ps, your editor does not line wrap and < 78 chars.
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Registered Linux User #207535@ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode


How might deleted messages be put in some setup for trash and fully deleted later?

2017-07-19 Thread Don Saklad
How might deleted messages be put in some setup for trash then if no exceptions 
fully deleted later?


Re: mutt does not more purge deleted messages

2016-02-12 Thread Michelle Konzack
Good day,

On 2016-01-29 00:31:16 Jostein Berntsen hacked into the keyboard:
> - Do you use mutt with the trash patch?
> http://cedricduval.free.fr/mutt/patches/#trash

The output of mutt shows:

[ command 'mutt -v' ]---
Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins und andere.
Mutt übernimmt KEINERLEI GEWÄHRLEISTUNG. Starten Sie »mutt -vv«, um
weitere Details darüber zu erfahren. Mutt ist freie Software. 
Sie können es unter bestimmten Bedingungen weitergeben; starten Sie
»mutt -vv« für weitere Details.

System: Linux 3.2.0-4-amd64 (x86_64)
ncurses: ncurses 5.9.20110404 (compiled with 5.9)
libidn: 1.25 (compiled with 1.25)
hcache backend: tokyocabinet 1.4.47
Einstellungen bei der Compilierung:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  +CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
Um die Entwickler zu kontaktieren, schicken Sie bitte
eine Nachricht (auf Englisch) an <mutt-...@mutt.org>.
Um einen Fehler zu melden, besuchen Sie bitte http://bugs.mutt.org/.

misc/am-maintainer-mode
features/ifdef
features/xtitles
features/trash-folder

But this would mean, mutt move the messages to another folder right?
This is not desired.  However, if I change the folder,  I  see  mutt
say "deleting NN messages"...  but nothing happen.

features/purge-message

Can it be, that this is faulty?

features/imap_fast_trash
features/sensible_browser_position
features-old/patch-1.5.4.vk.pgp_verbose_mime
features/compressed-folders
features/compressed-folders.debian
debian-specific/Muttrc
debian-specific/Md.etc_mailname_gethostbyname.diff
debian-specific/use_usr_bin_editor.diff
debian-specific/correct_docdir_in_man_page.diff
debian-specific/dont_document_not_present_features.diff
debian-specific/document_debian_defaults
debian-specific/assumed_charset-compat
debian-specific/467432-write_bcc.patch
debian-specific/566076-build_doc_adjustments.patch
misc/define-pgp_getkeys_command.diff
misc/gpg.rc-paths
misc/smime.rc
upstream/531430-imapuser.patch
upstream/537818-emptycharset.patch
upstream/543467-thread-segfault.patch
upstream/542817-smimekeys-tmpdir.patch
upstream/548577-gpgme-1.2.patch
upstream/553321-ansi-escape-segfault.patch
upstream/568295-references.patch
upstream/547980-smime_keys-chaining.patch
upstream/528233-readonly-open.patch
upstream/228671-pipe-mime.patch
upstream/383769-score-match.patch
upstream/578087-header-strchr.patch
upstream/603288-split-fetches.patch
upstream/537061-dont-recode-saved-attachments.patch
upstream/608706-fix-spelling-errors.patch
upstream/620854-pop3-segfault.patch
upstream/611412-bts-regexp.patch
upstream/624058-gnutls-deprecated-set-priority.patch
upstream/624085-gnutls-deprecated-verify-peers.patch
upstream/584138-mx_update_context-segfault.patch
upstream/619216-gnutls-CN-validation.patch
upstream/611410-no-implicit_autoview-for-text-html.patch
upstream/path_max
upstream/CVE-2014-0467.patch
upstream/771125-CVE-2014-9116.patch
misc/579967-fixes-german-translation.patch
mutt.org


> - Upgrade mutt to v. 1.5.23 to get a version with man bug fixes

Have tried it, but there is no change...

The deleted messages stay in the box forever as "deleted"  and  are  not
purged

> - Restart your mail server?

It is a local filesystem.  GMail and my Courier-IMAP  have  no  problems
with purging deleted messages

> - Check your system/mail logs if anything happened around 6 hours ago

Nothing.  Not even an update!

> Jostein

-- 
Michelle KonzackITSystems
GNU/Linux Developer 0033-6-61925193


Re: mutt does not more purge deleted messages

2016-01-29 Thread Michelle Konzack
Good day Jostein,

On 2016-01-29 00:31:16 Jostein Berntsen hacked into the keyboard:
> Have some updates happened on your system recently? Some things to
> check:

No

> - Do you use mutt with the trash patch?
> http://cedricduval.free.fr/mutt/patches/#trash

You mean

> - Upgrade mutt to v. 1.5.23 to get a version with man bug fixes

I am currently bound to Debian Wheeze 7.8 because the shit with  systemd
which does not work for me.

I will try to get/make a backport

> - Restart your mail server?

Purging of deleted message is working wit GMail and my  intranet  server
(courier) but NOT, if I access a private Maildir local without IMAP.

> - Check your system/mail logs if anything happened around 6 hours ago

Nothing, but I have edited something in my mutt configs and  now  it  is
not more working.  Anything is working fine with IMAP, so I did not care
but then I discovered the problem with the direct  (file)  access  to  a
Maildir.

-- 
Michelle KonzackITSystems
GNU/Linux Developer 0033-6-61925193


mutt does not more purge deleted messages

2016-01-28 Thread Michelle Konzack
Good evening,

I do not know, what I have done, but since arround 6  hours,  mutt  does
not purge deleted messages IF I access a "Maildir" localy without IMAP!

set delete=ask-yes

is unchanged for ages and it works perfectly with GMail my Intranet- and
public Mail-Server.

"$" does not work anymore for local directories...

Any suggestions what I could have doen wrong?

Note:   I accidentally deleted a backup of mu ~/.mutt/ folder,
hence no recovery possibel.

Thanks in avance

-- 
Michelle KonzackITSystems
GNU/Linux Developer 0033-6-61925193


Re: mutt does not more purge deleted messages

2016-01-28 Thread Jostein Berntsen

On 29.01.16,00:08, Michelle Konzack wrote:

Good evening,

I do not know, what I have done, but since arround 6  hours,  mutt  does
not purge deleted messages IF I access a "Maildir" localy without IMAP!

   set delete=ask-yes

is unchanged for ages and it works perfectly with GMail my Intranet- and
public Mail-Server.

"$" does not work anymore for local directories...

Any suggestions what I could have doen wrong?

Note:   I accidentally deleted a backup of mu ~/.mutt/ folder,
   hence no recovery possibel.



Have some updates happened on your system recently? Some things to check:

- Do you use mutt with the trash patch? 
http://cedricduval.free.fr/mutt/patches/#trash

- Upgrade mutt to v. 1.5.23 to get a version with man bug fixes
- Restart your mail server?
- Check your system/mail logs if anything happened around 6 hours ago


Jostein


Re: set up trash for deleted messages

2008-01-26 Thread William Yardley
On Wed, Jan 16, 2008 at 07:34:24AM +0100, Francis Moreau wrote:

 however if mutt considers to implement a very low quality trash, what does
 that mean ?
 
   1/ Mutt developpers are lazy ;)
   2/ There are so few people needing a trash by default that it
   really doesn't worth to implement a trash
3/ Mutt folks consider that having a trash is a bad idea and
they don't want to push people in using it.

I think a combination of 2+3. But I would really like to see cd's trash
folder patch integrated into mutt. I think there are enough reasons that
this approach is better than the macro approach, and there are enough
people who like to have a trash folder, that it makes sense to do
this.

w



Re: set up trash for deleted messages

2008-01-16 Thread Angel Olivera

On Wed 16.Jan.08 07:34, Francis Moreau wrote:
however if mutt considers to implement a very low quality trash, what 
does that mean ?


 1/ Mutt developpers are lazy ;)
 2/ There are so few people needing a trash by default that it
 really doesn't worth to implement a trash
  3/ Mutt folks consider that having a trash is a bad idea and
  they don't want to push people in using it.

My choice is obviously not 1/. I can't believe in the second point so I 
can only see 3/ therefore my initial question.


Sorry, but I have nothing to add to what Kyle (thoroughly) explained to 
help you understand this.


--
redondos


signature.asc
Description: Digital signature


Re: set up trash for deleted messages

2008-01-15 Thread Francis Moreau
On Jan 14, 2008 6:28 PM, Kyle Wheeler [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Monday, January 14 at 05:59 PM, quoth Francis Moreau:

 On Jan 14, 2008 5:59 PM, John Velman [EMAIL PROTECTED] wrote:
  This works for me ( in .muttrc).
 
  _
 
  # poor mans trash
 
 Honestly I'm wondering what's wrong with Trash.
 
 It seems that Trash is not really welcome in Mutt.

 By what metric? The fact that support for it isn't built-in (added via
 two simple hooks or via the trash patch linked on the mutt webpage:
 http://cedricduval.free.fr/mutt/patches/#trash) or are you seeing some
 sort of wider hostility to the existence of folders with that name?


Yes.

And poor man's trash comment doesn't sound that having a trash is a
clever idea. ISTR to see this comment on mutt website too.

 One way of understanding mutt's approach to email is as an email
 viewer. Mutt, given a folder, does its level best to manage that
 folder of email. Mutt is not targetted to managing a large collection
 of many folders of email; it has no support for searching multiple
 mailboxes at the same time, displaying messages from multiple
 mailboxes, displaying messages from multiple accounts, automatically
 transferring messages from an INBOX to other folders when you open
 the INBOX, etc. When viewing the contents of a folder, mutt makes *no*
 assumptions about the existence of ANY other folder or account. In
 that sense, mutt approaches mail very differently from other email
 applications: mutt does it on a folder-by-folder basis, while other
 applications (e.g. Thunderbird) approach it on an account-by-account
 basis. When you think about email on an account-by-account basis,
 things like folders with special purposes makes more sense. Thus, in
 other applications, delete means move to the account's Trash folder
 makes sense, while in mutt delete means mark the message as deleted
 makes more sense (why would mutt assume that you have (or should have)
 a special folder for deleted messages? By moving the message to a
 Trash folder, you are losing the information about where it came
 from.).


Right but is it really the point of having a Trash ?

Having a Trash is just a way to keep some no more usefull mails for an
amount of time because I can wrongly assume that I won't need them. I
really think that a lot of people have already deleted some mails then
a couple of days/weeks later wants to read them back. Who haven't done
such mistake ?

When searching for old information in Trash, I don't care if mutt
doesn't know where that email came from. I could easily decide where
to put this email if I want to keep it.

 However, you can easily make mutt behave more like an email is an
 account program by using hooks and other configuration features, and
 if that isn't enough, you can even patch mutt to add the functionality
 in a form you find personally palatable.


No doubt you can do that other ways. But that was not my point.

I was wondering what was bad to have a trash...

Thanks
-- 
Francis


Re: set up trash for deleted messages

2008-01-15 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

* Francis Moreau [EMAIL PROTECTED] [01-15-08 03:39]:
 
 I was wondering what was bad to have a trash...
 

Your answer:  Nothing is wrong with having a trash container.  You
are welcome to have a trash container if you wish one.  It is as
simple as that.  It is also fine to not have one for those of us who
do not want one.  There are two sides to the coin. 

My way to deal with trash is to automagically  six weeks of duplicate
messages and a search utility.

It's about choice, it's linux/mutt.

- -- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFHjLklClSjbQz1U5oRAukGAJoCBKpbUXEvodIOdqhhvuPH65Ht6wCdFKFn
x1yFKsHnuUdxJXKNMKK16rk=
=XNXE
-END PGP SIGNATURE-


Re: set up trash for deleted messages

2008-01-15 Thread Angel Olivera

On Tue 15.Jan.08 09:38, Francis Moreau wrote:

On Jan 14, 2008 6:28 PM, Kyle Wheeler [EMAIL PROTECTED] wrote:

On Monday, January 14 at 05:59 PM, quoth Francis Moreau:

It seems that Trash is not really welcome in Mutt.


By what metric? The fact that support for it isn't built-in (added via 
two simple hooks or via the trash patch linked on the mutt webpage:
http://cedricduval.free.fr/mutt/patches/#trash) or are you seeing some 
sort of wider hostility to the existence of folders with that name?


Yes.

And poor man's trash comment doesn't sound that having a trash is a 
clever idea. ISTR to see this comment on mutt website too.


You're probably just not familiar with the term. In this world, poor 
man's something means that this something is done in a very low quality 
way, as if it were an imitation of an original idea for which a full 
implementation would take more effort to achieve.


You can read other sources such as Wikipedia or UrbanDictionary for more 
(probably better) definitions.


--
redondos


signature.asc
Description: Digital signature


Re: set up trash for deleted messages

2008-01-15 Thread Francis Moreau
On Jan 15, 2008 11:05 PM, Angel Olivera [EMAIL PROTECTED] wrote:
 On Tue 15.Jan.08 09:38, Francis Moreau wrote:
  On Jan 14, 2008 6:28 PM, Kyle Wheeler [EMAIL PROTECTED] wrote:
  On Monday, January 14 at 05:59 PM, quoth Francis Moreau:
  It seems that Trash is not really welcome in Mutt.
 
  By what metric? The fact that support for it isn't built-in (added via
  two simple hooks or via the trash patch linked on the mutt webpage:
  http://cedricduval.free.fr/mutt/patches/#trash) or are you seeing some
  sort of wider hostility to the existence of folders with that name?
 
  Yes.
 
  And poor man's trash comment doesn't sound that having a trash is a
  clever idea. ISTR to see this comment on mutt website too.

 You're probably just not familiar with the term. In this world, poor

And you're probably right since my english doesn't really rock ;)

 man's something means that this something is done in a very low quality
 way, as if it were an imitation of an original idea for which a full
 implementation would take more effort to achieve.

however if mutt considers to implement a very low quality trash, what does
that mean ?

  1/ Mutt developpers are lazy ;)
  2/ There are so few people needing a trash by default that it
  really doesn't worth to implement a trash
   3/ Mutt folks consider that having a trash is a bad idea and
   they don't want to push people in using it.

My choice is obviously not 1/. I can't believe in the second point so I
can only see 3/ therefore my initial question.

-- 
Francis


Re: set up trash for deleted messages

2008-01-14 Thread John Velman
On Sun, Jan 13, 2008 at 02:15:45PM +1100, hce wrote:
 Hi,
 
 I saw some discussions on how to set up a trash for deleted messages,
 but could not find details. Could anyone show me:
 
 (a) a setup command to move all deleted messages to a trash file?
 
 (b) A key bind to delete messages in trash permanently?
 
 Thank you.
 
 Jim

This works for me ( in .muttrc).

_

# poor mans trash
folder-hook .  'macro index d save-message=trashenter'
folder-hook =trash 'macro index d delete-message'

-

I'm no expert, but apparently the first line puts everything in the trash
folder when you delete from to current folder (.).

The second line allows you to actually _delete_ stuff when you delete from
the trash folder.

(I forgot where I got this -- I certainly didn't invent it myself.)

Best,

John Velman


Re: set up trash for deleted messages

2008-01-14 Thread Francis Moreau
On Jan 14, 2008 5:59 PM, John Velman [EMAIL PROTECTED] wrote:
 This works for me ( in .muttrc).

 _

 # poor mans trash

Honestly I'm wondering what's wrong with Trash.

It seems that Trash is not really welcome in Mutt.

-- 
Francis


Re: set up trash for deleted messages

2008-01-14 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, January 14 at 05:59 PM, quoth Francis Moreau:
On Jan 14, 2008 5:59 PM, John Velman [EMAIL PROTECTED] wrote:
 This works for me ( in .muttrc).

 _

 # poor mans trash

Honestly I'm wondering what's wrong with Trash.

It seems that Trash is not really welcome in Mutt.

By what metric? The fact that support for it isn't built-in (added via 
two simple hooks or via the trash patch linked on the mutt webpage: 
http://cedricduval.free.fr/mutt/patches/#trash) or are you seeing some 
sort of wider hostility to the existence of folders with that name?

One way of understanding mutt's approach to email is as an email 
viewer. Mutt, given a folder, does its level best to manage that 
folder of email. Mutt is not targetted to managing a large collection 
of many folders of email; it has no support for searching multiple 
mailboxes at the same time, displaying messages from multiple 
mailboxes, displaying messages from multiple accounts, automatically 
transferring messages from an INBOX to other folders when you open 
the INBOX, etc. When viewing the contents of a folder, mutt makes *no*  
assumptions about the existence of ANY other folder or account. In 
that sense, mutt approaches mail very differently from other email 
applications: mutt does it on a folder-by-folder basis, while other 
applications (e.g. Thunderbird) approach it on an account-by-account 
basis. When you think about email on an account-by-account basis, 
things like folders with special purposes makes more sense. Thus, in 
other applications, delete means move to the account's Trash folder 
makes sense, while in mutt delete means mark the message as deleted 
makes more sense (why would mutt assume that you have (or should have) 
a special folder for deleted messages? By moving the message to a 
Trash folder, you are losing the information about where it came 
from.).

However, you can easily make mutt behave more like an email is an 
account program by using hooks and other configuration features, and 
if that isn't enough, you can even patch mutt to add the functionality 
in a form you find personally palatable.

What the trash patch does can be replicated by modifying your 
configuration, so there is no strong movement among the development 
group to add it to the tree, because that is essentially bloat (why 
add a second way of doing the same thing?).

~Kyle
- -- 
Formal symbolic representation of qualitative entities is doomed to 
its rightful place of minor significance in a world where flowers and 
beautiful women abound.
 -- Albert Einstein
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFHi5vXBkIOoMqOI14RAvcmAJ9Ort3atVM8aqlDUb12k3a+3X+SOwCfadlU
OXPJFyeC9qQ8XEYgBNinmRA=
=6PNi
-END PGP SIGNATURE-


set up trash for deleted messages

2008-01-12 Thread hce
Hi,

I saw some discussions on how to set up a trash for deleted messages,
but could not find details. Could anyone show me:

(a) a setup command to move all deleted messages to a trash file?

(b) A key bind to delete messages in trash permanently?

Thank you.

Jim


Re: Move deleted messages to trash

2002-02-01 Thread Rob 'Feztaa' Park


--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! David T-G spake thus:
 % I haven't tested it with these macros, but when I save a message to the
 % same folder it's in, it deletes the original message and appends the
 % message to the mailbox (so it immediately appears in the index).  Nothi=
ng
 % goofy about it.
=20
 How do you delete a message from the trash folder if you have those macros
 bound without resorting to something wonky like saving to /dev/null?

You're supposed to make a wonky folder-hook that deletes messages while
in the trash, but saves them to the trash folder from other folders. ;)

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
I'm always amazed to hear of air crash victims so badly mutilated
that they have to be identified by their dental records. What I can't
understand is, if they don't know who you are, how do they know who
your dentist is?
-- Paul Merton

--DocE+STaALJfprDB
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8WlohPTh2iSBKeccRAhrPAJ9E87FPX+6Gc/BrMsVe/OBUgy6zywCcDckM
ynQjyr+mt09P1TPEBzeRNII=
=nF+h
-END PGP SIGNATURE-

--DocE+STaALJfprDB--



Re: Move deleted messages to trash

2002-02-01 Thread David T-G

Rob --

...and then Feztaa said...
% 
% Alas! David T-G spake thus:
%  % I haven't tested it with these macros, but when I save a message to the
%  % same folder it's in, it deletes the original message and appends the
%  % message to the mailbox (so it immediately appears in the index).  Nothing
%  % goofy about it.
%  
%  How do you delete a message from the trash folder if you have those macros
%  bound without resorting to something wonky like saving to /dev/null?
% 
% You're supposed to make a wonky folder-hook that deletes messages while
% in the trash, but saves them to the trash folder from other folders. ;)

No, no, I know that; I was explaining why things got goofy.  It would be
much cleaner to use Cedric's trash_folder patch anyway :-)


% 
% -- 
% Rob 'Feztaa' Park
% [EMAIL PROTECTED]


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg24071/pgp0.pgp
Description: PGP signature


Re: Move deleted messages to trash

2002-01-31 Thread Phil Gregory

* Rob 'Feztaa' Park [EMAIL PROTECTED] [2002-10-01 20:15 -0700]:
 Alas! Andreas Reinhold spake thus:
  On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote:
 macro pager d save-message=trashenter move message to trash folder
  
  Thanks, this really works fine!
 
 Unless you happen to try to delete a message in the trash folder, then
 things get really goofy :)

I haven't tested it with these macros, but when I save a message to the
same folder it's in, it deletes the original message and appends the
message to the mailbox (so it immediately appears in the index).  Nothing
goofy about it.

-- 
[EMAIL PROTECTED] / DNRC / UMBC-LUG: http://linux.umbc.edu
PGP:  ID: D8C75CF5  print: 0A7D B3AD 2D10 1099  7649 AB64 04C2 05A6
--- --
Any system of 'justice' in which ignorance of the law is no exception, but
in which there are too many laws for any one person to know and remember,
_is by definition unjust_.
   -- McCandlish's Law of Unjust Bureaucracy,
  Stanton McCandlish, EFF online activist; 1993.
 --- --



Re: Move deleted messages to trash

2002-01-31 Thread David T-G

Phil --

...and then Phil Gregory said...
% 
% * Rob 'Feztaa' Park [EMAIL PROTECTED] [2002-10-01 20:15 -0700]:
%  Alas! Andreas Reinhold spake thus:
%   On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote:
%macro pager d save-message=trashenter move message to trash 
folder
...
%  Unless you happen to try to delete a message in the trash folder, then
%  things get really goofy :)
% 
% I haven't tested it with these macros, but when I save a message to the
% same folder it's in, it deletes the original message and appends the
% message to the mailbox (so it immediately appears in the index).  Nothing
% goofy about it.

How do you delete a message from the trash folder if you have those macros
bound without resorting to something wonky like saving to /dev/null?


% 
% -- 
% [EMAIL PROTECTED] / DNRC / UMBC-LUG: http://linux.umbc.edu


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg24052/pgp0.pgp
Description: PGP signature


Re: Move deleted messages to trash

2002-01-17 Thread Alain Bench

Hello James,

 On Tuesday, January 15, 2002 at 12:52:43 PM -0700, James Hamilton wrote:

 On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote:

 macro pager d save-message=trashenter move message to trash folder

 The method listed below makes me answer yes to each message I delete

Simply add a second enter at the end of each one of Justin's
macro definition, like this:

macro pager d save-message=trashenterenter move message to trash folder


Bye!Alain.



Re: Move deleted messages to trash

2002-01-16 Thread Andreas Herceg

On Tue, Jan 15, 2002 at 05:11:32PM -0600, Jeremy Blosser wrote:
| On Jan 15, Andreas Herceg [[EMAIL PROTECTED]] wrote:
|  On Tue, Jan 15, 2002 at 02:57:07PM -0500, Justin R. Miller wrote:
|  | Use what I recommended, in addition to a modified $delete value (consult
|  | the manual).  The delete confirmation dialog is optional :-)
|  
|  I don't think the $delete value will help. The delete confirmation comes
|  to action, only when deleting from the trash.
|  
|  I think whot James meant, was the confirmation to append the messages to
|  the trash-folder. At least that's my problem.
| 
| Then check $confirmappend.

Sure, I already had that Idea. What I tried was:

folder-hook trash set confirmappend=no

What I achieved this way is that appending a message *from* the trash
has not to be confirmed. Appending a message *to* trash has still to be
confirmed.


-- 
Andreas Herceg
[EMAIL PROTECTED]




Re: Move deleted messages to trash

2002-01-16 Thread David T-G

Andreas, et al --

...and then Andreas Herceg said...
% 
% On Tue, Jan 15, 2002 at 05:11:32PM -0600, Jeremy Blosser wrote:
% | On Jan 15, Andreas Herceg [[EMAIL PROTECTED]] wrote:
% |  On Tue, Jan 15, 2002 at 02:57:07PM -0500, Justin R. Miller wrote:
% |  | Use what I recommended, in addition to a modified $delete value (consult
% |  | the manual).  The delete confirmation dialog is optional :-)
% |  
% |  I don't think the $delete value will help. The delete confirmation comes
% |  to action, only when deleting from the trash.
% |  
% |  I think whot James meant, was the confirmation to append the messages to
% |  the trash-folder. At least that's my problem.
% | 
% | Then check $confirmappend.
% 
% Sure, I already had that Idea. What I tried was:
% 
% folder-hook trash set confirmappend=no
% 
% What I achieved this way is that appending a message *from* the trash
% has not to be confirmed. Appending a message *to* trash has still to be
% confirmed.

You've seen why that won't work.  Using a folder-hook on your current
folder, or changing the macro to turn it off and then on, would do the
trick.


% 
% 
% -- 
% Andreas Herceg
% [EMAIL PROTECTED]


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg23176/pgp0.pgp
Description: PGP signature


Re: Move deleted messages to trash

2002-01-16 Thread David T-G

James --

...and then James Hamilton said...
% 
% I usually delete a whole slue of messages at a time.  For example I had ~150 
messages to scan through in my inbox this morning.  Most of them spam system email 
etc.  Can someone suggest a way to mark them for deletion then when i sync-mailbox 
have the messages marked for deletion move to the trash folder?  The method listed 
below makes me answer yes to each message I delete which is much more work than just 
keeping a backup of everything I recieve and going to it when I am missing mail..

If you want to have a trash folder, I highly recommend Cedric Duval's
trash_folder patch.  Meanwhile, checking your $confirmappend and $delete
settings to set them to no (perhaps in your macro) will get rid of the
prompting.


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg23178/pgp0.pgp
Description: PGP signature


Re: Move deleted messages to trash

2002-01-15 Thread James Hamilton


I usually delete a whole slue of messages at a time.  For example I had ~150 messages 
to scan through in my inbox this morning.  Most of them spam system email etc.  Can 
someone suggest a way to mark them for deletion then when i sync-mailbox have the 
messages marked for deletion move to the trash folder?  The method listed below makes 
me answer yes to each message I delete which is much more work than just keeping a 
backup of everything I recieve and going to it when I am missing mail..

On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote:
 Thus spake Andreas Reinhold ([EMAIL PROTECTED]):
 
  i'm wondering how to tell my mutt to not completely delete messages
  marked with a D, but move them to my trash-folder instead.
  
  My sent messages are recorded in a sent-folder. I think storing
  deleted messages must be arranged in a similar way. But how? :)
 
   macro pager d save-message=trashenter move message to trash folder
   macro index d save-message=trashenter move message to trash folder
   macro pager \cD \et;save-message=trashenter move thread to trash folder
   macro index \cD \et;save-message=trashenter move thread to trash folder
 
 In addition, I have this to periodically clean the trash out.  Just
 change in, poke around, and change out. 
 
   folder-hook trash push 'D~r3d\n\cu.\n'
 
 -- 
 Justin R. Miller [EMAIL PROTECTED]
 View my website at http://codesorcery.net
 Please encrypt email using key 0xC9C40C31



-- 

James Hamilton
Southwest Cyberport
505-232-7992



Re: Move deleted messages to trash

2002-01-15 Thread Justin R. Miller

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thus spake James Hamilton ([EMAIL PROTECTED]):

 Can someone suggest a way to mark them for deletion then when i
 sync-mailbox have the messages marked for deletion move to the trash
 folder?  The method listed below makes me answer yes to each message I
 delete which is much more work than just keeping a backup of
 everything I recieve and going to it when I am missing mail..

Use what I recommended, in addition to a modified $delete value (consult
the manual).  The delete confirmation dialog is optional :-)

- -- 
Justin R. Miller [EMAIL PROTECTED]
View my website at http://codesorcery.net
Please encrypt email using key 0xC9C40C31

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8RImS94d6K8nEDDERAjK/AJoDJ1bFbsr2D11986WS9k9ChBYhOwCfawjG
CwvYIHYe6tjk6VD0u376g/Y=
=TZ6b
-END PGP SIGNATURE-



Re: Move deleted messages to trash

2002-01-15 Thread Andreas Herceg

On Tue, Jan 15, 2002 at 02:57:07PM -0500, Justin R. Miller wrote:
| Thus spake James Hamilton ([EMAIL PROTECTED]):
|  Can someone suggest a way to mark them for deletion then when i
|  sync-mailbox have the messages marked for deletion move to the trash
|  folder?  The method listed below makes me answer yes to each message I
|  delete which is much more work than just keeping a backup of
|  everything I recieve and going to it when I am missing mail..
| 
| Use what I recommended, in addition to a modified $delete value (consult
| the manual).  The delete confirmation dialog is optional :-)

I don't think the $delete value will help. The delete confirmation comes
to action, only when deleting from the trash.

I think whot James meant, was the confirmation to append the messages to
the trash-folder. At least that's my problem.


-- 
Andreas Herceg
[EMAIL PROTECTED]




Re: Move deleted messages to trash

2002-01-15 Thread Jeremy Blosser

On Jan 15, Andreas Herceg [[EMAIL PROTECTED]] wrote:
 On Tue, Jan 15, 2002 at 02:57:07PM -0500, Justin R. Miller wrote:
 | Thus spake James Hamilton ([EMAIL PROTECTED]):
 |  Can someone suggest a way to mark them for deletion then when i
 |  sync-mailbox have the messages marked for deletion move to the trash
 |  folder?  The method listed below makes me answer yes to each message I
 |  delete which is much more work than just keeping a backup of
 |  everything I recieve and going to it when I am missing mail..
 | 
 | Use what I recommended, in addition to a modified $delete value (consult
 | the manual).  The delete confirmation dialog is optional :-)
 
 I don't think the $delete value will help. The delete confirmation comes
 to action, only when deleting from the trash.
 
 I think whot James meant, was the confirmation to append the messages to
 the trash-folder. At least that's my problem.

Then check $confirmappend.



msg23144/pgp0.pgp
Description: PGP signature


Re: Move deleted messages to trash

2002-01-11 Thread Im Eunjea

* Rob 'Feztaa' Park [EMAIL PROTECTED] [2002-01-10 20:15]:
 Alas! Andreas Reinhold spake thus:
  On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote:
 macro pager d save-message=trashenter move message to trash folder
 macro index d save-message=trashenter move message to trash folder
 macro pager \cD \et;save-message=trashenter move thread to trash folder
 macro index \cD \et;save-message=trashenter move thread to trash folder
  
  Thanks, this really works fine!
 
 Unless you happen to try to delete a message in the trash folder, then
 things get really goofy :)
 

I would like to add this for safe :)

folder-hook trash 'bind index d delete-message'
folder-hook trash 'bind pager d delete-message'


-- 
Eunjea [EMAIL PROTECTED]
http://kldp.org/~eunjea/
GnuPG fingerprint: 08C9 2D3F 91B2 D395 2EFF  4C33 544C 321C E194 91CF



msg22911/pgp0.pgp
Description: PGP signature


Move deleted messages to trash

2002-01-10 Thread Andreas Reinhold

Hi,

i'm wondering how to tell my mutt to not completely delete messages marked 
with a D, but move them to my trash-folder instead.

My sent messages are recorded in a sent-folder. I think storing deleted
messages must be arranged in a similar way. But how? :)

cheers,
Andi
-- 
Killing in the name of...
Andreas Reinhold
[EMAIL PROTECTED]
http://www.nose-down.de



Re: Move deleted messages to trash

2002-01-10 Thread Justin R. Miller

Thus spake Andreas Reinhold ([EMAIL PROTECTED]):

 i'm wondering how to tell my mutt to not completely delete messages
 marked with a D, but move them to my trash-folder instead.
 
 My sent messages are recorded in a sent-folder. I think storing
 deleted messages must be arranged in a similar way. But how? :)

macro pager d save-message=trashenter move message to trash folder
macro index d save-message=trashenter move message to trash folder
macro pager \cD \et;save-message=trashenter move thread to trash folder
macro index \cD \et;save-message=trashenter move thread to trash folder

In addition, I have this to periodically clean the trash out.  Just
change in, poke around, and change out. 

folder-hook trash push 'D~r3d\n\cu.\n'

-- 
Justin R. Miller [EMAIL PROTECTED]
View my website at http://codesorcery.net
Please encrypt email using key 0xC9C40C31



msg22875/pgp0.pgp
Description: PGP signature


Re: Move deleted messages to trash

2002-01-10 Thread Andreas Reinhold

On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote:

   macro pager d save-message=trashenter move message to trash folder
   macro index d save-message=trashenter move message to trash folder
   macro pager \cD \et;save-message=trashenter move thread to trash folder
   macro index \cD \et;save-message=trashenter move thread to trash folder

Thanks, this really works fine!

cheers
Andi
-- 
Killing in the name of...
Andreas Reinhold
[EMAIL PROTECTED]
http://www.nose-down.de



Re: Move deleted messages to trash

2002-01-10 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* On 11-01-02 at 08:17 
* Andreas Reinhold said

 Hi,
 
 i'm wondering how to tell my mutt to not completely delete messages marked 
 with a D, but move them to my trash-folder instead.
 
 My sent messages are recorded in a sent-folder. I think storing deleted
 messages must be arranged in a similar way. But how? :)
 

There's a very good patch for this, which you can get at
mutt.justpickone.org (among other places I imagine) 
It's called patch-1.3.25.cd.trash_folder.1
You must also 'set trash=~Mail/Trash (or whatever.
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8PpcxHpvrrTa6L5oRAlllAKCm7jfYkDWgyNseioPL00RrmmS+8ACff6Zv
qJvYhNMT7Aej2HOEgne3cF0=
=hwhN
-END PGP SIGNATURE-



Deleted Messages

2002-01-08 Thread Todd Kokoszka

I want messages to disappear after I mark them deleted
or saved. Is there a way to do this in Mutt?

Thanks,
Todd

=
Todd Kokoszka
25, rue Richard Lenoir
75011 Paris
Tel. 01.43.72.77.08

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



Re: Deleted Messages

2002-01-08 Thread Jonathan Irving

Todd Kokoszka [EMAIL PROTECTED] [08 Jan 2002 08:32 -0800]:
 I want messages to disappear after I mark them deleted
 or saved. Is there a way to do this in Mutt?

You could make a macro like this:

   macro pager d delete-messagesync-mailbox

HTH (untested)

cheers
j
-- 
http://www.epic.org - Electronic Privacy Information Center



msg22613/pgp0.pgp
Description: PGP signature


Re: Deleted Messages

2002-01-08 Thread David T-G

Todd --

...and then Todd Kokoszka said...
% 
% I want messages to disappear after I mark them deleted
% or saved. Is there a way to do this in Mutt?

Just synchronize your mailbox.  With the default bindings, hit '$' and
anything with a 'D' by it will disappear.


% 
% Thanks,

HTH  HAND


% Todd


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg22616/pgp0.pgp
Description: PGP signature


Re: Deleted Messages

2002-01-08 Thread David Champion

On 2002.01.08, in [EMAIL PROTECTED],
Todd Kokoszka [EMAIL PROTECTED] wrote:
 I want messages to disappear after I mark them deleted
 or saved. Is there a way to do this in Mutt?

When the view limit is set to !~D, deleted message are present, but not
visible in the index view. Unforunately, the limit is only applied when
you set a limit, not continuously, so you need to re-apply the limit
with each deletion.

macro index d delete-messagelimit!~Denter

You'll still need to sync-mailbox ($) to remove them from the folder,
but using limit is much faster than synchronizing after each delete.


I like my deleted messages to fade away, too, but using a limit is a
little more trouble than I want (I can't really use other limits this
way) and I sometimes want to find messages marked for deletion again
before I sync. So I just use colors, instead.

color index brightblack default ~D

My terminal background color and my brightblack are similar colors, so
deleted messages take extra effort to find -- they effectively vanish
from casual view, while remaining present if I really want to find them.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



A folder fol deleted messages

2001-07-06 Thread Victor

While mutt's running I'd like all the deleted messages to be
automatically move from the various folders to a specific folder to be
kept for a strecth of time and be definetely deleted at my will and/or
exiting from mutt.

Is that possible with mutt and HOW?

Ciao

Vittorio

 



Re: A folder fol deleted messages

2001-07-06 Thread darren chamberlain

Victor [EMAIL PROTECTED] said something to this effect on 07/06/2001:
 While mutt's running I'd like all the deleted messages to be
 automatically move from the various folders to a specific folder to be
 kept for a strecth of time and be definetely deleted at my will and/or
 exiting from mutt.
 
 Is that possible with mutt and HOW?

Tag deleted messages, then move them to a folder called, e.g., Trash.

Something like:

macro index Y T~Denter;s=Trashenter

Is that what you want?

(darren)

-- 
Whatever is done for love is beyond good and evil.
-- Friedrich Neitzsche



Re: A folder fol deleted messages

2001-07-06 Thread darren chamberlain

darren chamberlain [EMAIL PROTECTED] said something to this effect on 
07/06/2001:
 Victor [EMAIL PROTECTED] said something to this effect on 07/06/2001:
  While mutt's running I'd like all the deleted messages to be
  automatically move from the various folders to a specific folder to be
  kept for a strecth of time and be definetely deleted at my will and/or
  exiting from mutt.
  
  Is that possible with mutt and HOW?
 
 Tag deleted messages, then move them to a folder called, e.g., Trash.
 
 Something like:
 
 macro index Y T~Denter;s=Trashenter
 
 Is that what you want?

You know what I love?  Responding to my own posts!

Add a sync-mailbox to the end of that macro, to complete the
process:

macro index Y T~Denter;s=Trashentersync-mailbox

(darren)

-- 
Elegance and truth are inversely related.
-- Becker's Razor



Re: A folder fol deleted messages

2001-07-06 Thread John Arundel

On Fri, Jul 06, 2001 at 10:39:56AM -0400, Justin R. Miller wrote:
 Here are a couple of macros that I use for a trash can:

The list archive is filled with 101 variations on this theme.

I haven't found a patch anywhere which implements a pukka trash folder. All
the macro solutions have various problems and inconsistencies, and they're
all different (of course), so it would be nice to see a simple

set trash=/mail/trash

in muttrc, with

unset trash

to turn it off.

I'm not yet at the point where I can do something like this, though having
put my head into all the nooks and corners of the mutt source has given
me a healthy respect for those that can...

J
--
I was an only child... eventually.
  - Steven Wright
_
  I prefer encrypted mail (see headers for PGP key)
Why encrypt? http://www.heureka.clara.net/sunrise/pgpwhy.htm
_

 PGP signature


Re: A folder fol deleted messages

2001-07-06 Thread Victor

Yes, it is! Thanks Darren

Vittorio 

darren chamberlain [mutt-users] 06/07/01 07:27 -0400:
 Victor [EMAIL PROTECTED] said something to this effect on 07/06/2001:
  While mutt's running I'd like all the deleted messages to be
  automatically move from the various folders to a specific folder to be
  kept for a strecth of time and be definetely deleted at my will and/or
  exiting from mutt.
  
  Is that possible with mutt and HOW?
 
 Tag deleted messages, then move them to a folder called, e.g., Trash.
 
 Something like:
 
 macro index Y T~Denter;s=Trashenter
 
 Is that what you want?
 
 (darren)
 
 -- 
 Whatever is done for love is beyond good and evil.
 -- Friedrich Neitzsche



Re: A folder fol deleted messages

2001-07-06 Thread Jeff Coppock

Thusly Thwacked By John Arundel:

   set trash=/mail/trash
 
 in muttrc, with
 
   unset trash
 
 to turn it off.
 

   While you're at it, add:

set trash_clean=30  # number of days to hold an email
  before permanently deleting it
unset trash_clean
   
   * also, a default value on the trash_clean of 30 days, maybe.
   
   I would assume that invoking the deletions would be upon
   starting Mutt, as opposed to a daemon-mode process.  I suppose
   this would be desireable for some.  Alternatives would be a
   macro or a script.

   my 2 cents,
   jc



Saving Deleted Messages

2000-10-06 Thread Pyuesh Daya

Hi All

Is there anyway that I can save mail that I have delete in the future.I already 
copymy
+mail that I send to people !!

Regards



Re: Saving Deleted Messages

2000-10-06 Thread Bob Bell

On Fri, Oct 06, 2000 at 02:09:14PM +, Nollaig MacKenzie [EMAIL PROTECTED] 
wrote:
 On 2000.10.06 12:52:15, you,
  the extraordinary Pyuesh Daya, opined:
  Is there anyway that I can save mail that I have delete in the future.I 
already copymy
  +mail that I send to people !!
 
 You could change the binding for "d" thus:
 
 macro index d s+wastebasket\n
 macro pager d s+wastebasket\n
 
 Then typing "d" would put a message into the
 folder "wastebasket" rather than deleting it.
 Would that fit your wish?

I do something similar to have mutt mimic Netscape Messenger.  From my muttrc:
  # (Safely) delete messages
  folder-hook . 'macro index d "delete-message"'
  folder-hook "!$" 'macro index d "save-message!.Trashenter"'
  folder-hook "!.wave4" 'macro index d "save-message!.Trashenter"'
  folder-hook . 'macro pager d "delete-message"'
  folder-hook "!$" 'macro pager d "save-message!.Trashenter"'
  folder-hook "!.wave4" 'macro pager d "save-message!.Trashenter"'
  folder-hook . 'macro pager D "delete-message"'

This changes 'd' to save message in two specific folders
(work-related e-mail).  In other folders, 'd' means delete.  In the
pager, 'D' is defined as delete universally.

-- 
Bob Bell [EMAIL PROTECTED]
-
 "In general, if you think something isn't in Perl, try it out,
  because it usually is.  :-)"
   -- Larry Wall, creator of the Perl programming language



Re: Saving Deleted Messages

2000-10-06 Thread Jason Helfman

Just make a macro for delete to go to say... =trash

On Fri, Oct 06, 2000 at 12:52:15PM -0700, Pyuesh Daya muttered:
| Hi All
| 
| Is there anyway that I can save mail that I have delete in the future.I already 
|copymy
| +mail that I send to people !!
| 
| Regards
| 

-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



Re: selecting deleted messages

2000-03-14 Thread Jorge Godoy

On Tue, Mar 14, 2000 at 12:15:37AM -0800, Eugene Lee wrote:

(SNIP)

 message as deleted, and moves my current select to message #38.  As far
 as I know, there is no mechanism within Mutt to remember your previous
 selection; thus there's no way to automagically jump from message #38
 back to message #36.

That was one of my questions... It would be a good implementation,
wouldn't it? :-)

--
Godoy.  [EMAIL PROTECTED] 

Setor de Publicações
Publishing Department   Conectiva S.A.



Re: selecting deleted messages

2000-03-14 Thread J McKitrick

On Mon, Mar 13, 2000 at 08:35:56PM -0800, Gary Johnson wrote:
 On Mon, Mar 13, 2000 at 08:16:18PM -0800, Gary Johnson wrote:
  On Tue, Mar 14, 2000 at 02:33:06AM +, J McKitrick wrote:
   On Mon, Mar 13, 2000 at 04:50:40PM -0800, Gary Johnson wrote:
 
 Sorry about that.  I didn't see the new messages in the other thread
 until after I sent that.  I've got to learn to read ALL the new messages
 in the list before responding.

That's OK gary, i need to read the whole thread before responding to
the messages that didn't answer the question when the answer is just a
little further down.  :-)

jm
-- 
-
Jonathon McKitrick  /  [EMAIL PROTECTED] \
"I prefer the term Artificial Person myself."/
-



[jcm@dogma.freebsd-uk.eu.org: selecting deleted messages]

2000-03-13 Thread J McKitrick


I know mutt has an option (resolve) to not move to the next message
after performing an action.  If i delete a message, is there any way
to get back to that message besides entering the message number?  The
index skips deleted messages when navigating, of course.

jm
-- 
-
Jonathon McKitrick  /  [EMAIL PROTECTED] \
"I prefer the term Artificial Person myself."/
-



Re: [jcm@dogma.freebsd-uk.eu.org: selecting deleted messages]

2000-03-13 Thread Mikko Hänninen

J McKitrick [EMAIL PROTECTED] wrote on Mon, 13 Mar 2000:
 If i delete a message, is there any way
 to get back to that message besides entering the message number?  The
 index skips deleted messages when navigating, of course.

With the previous-entry or next-entry functions perhaps?  They're bound
respectively to to K and J, by default.

No actual shortcut that I know of to get to the *exact* previous message
that you were in, regardless of which current new message ended up with
after a delete or save action with $resolve set.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
I don't want the whole world, I just want your half.



Re: [jcm@dogma.freebsd-uk.eu.org: selecting deleted messages]

2000-03-13 Thread Peter Poeml

On Mon, Mar 13, 2000 at 06:14:59PM +, J McKitrick wrote:
 
 I know mutt has an option (resolve) to not move to the next message
 after performing an action.  If i delete a message, is there any way
 to get back to that message besides entering the message number?  The
 index skips deleted messages when navigating, of course.

You can also go to the message just above the deleted one, and press
'u'. Will not work when there is no undeleted mail above or when there
are too many other deleted mails above, though. 

Another way is undelete-pattern (forgot the key binding for that)

Peter

-- 
 Dr Peter Poeml | Institute of epidemiology and social medicine
| Domagkstr. 3
| 48149 Muenster, Germany
| Tel +49-251-8356296



Re: [jcm@dogma.freebsd-uk.eu.org: selecting deleted messages]

2000-03-13 Thread David DeSimone

Peter Poeml [EMAIL PROTECTED] wrote:

 You can also go to the message just above the deleted one, and press
 'u'.  Will not work when there is no undeleted mail above or when
 there are too many other deleted mails above, though. 

This is really just a side-effect of the undelete operation, and it
won't work with $resolve is not set.  It is simpler to just use the
default keys that are bound to previous-message and next-message (as
opposed to previous-undeleted and next-undeleted, which the arrow keys
are bound to).  The default bindinds for these functions are "J" and
"K", which are the shifted letters.  VI users will find these bindings
convenient.  Others will likely not find them comprehensible.  :)

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: selecting deleted messages

2000-03-13 Thread Gary Johnson

On Mon, Mar 13, 2000 at 06:09:55PM +, J McKitrick wrote:
 I know mutt has an option (resolve) to not move to the next message
 after performing an action.  If i delete a message, is there any way
 to get back to that message besides entering the message number?  The
 index skips deleted messages when navigating, of course.

Navigate using upper-case letters 'J' and 'K'.

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: [jcm@dogma.freebsd-uk.eu.org: selecting deleted messages]

2000-03-13 Thread J McKitrick

Correction: my mistake.  I forgot shifted-J and K are different.
Thanks.

jm
-- 
-
Jonathon McKitrick  /  [EMAIL PROTECTED] \
"I prefer the term Artificial Person myself."/
-



Re: selecting deleted messages

2000-03-13 Thread Gary Johnson

On Tue, Mar 14, 2000 at 02:33:06AM +, J McKitrick wrote:
 On Mon, Mar 13, 2000 at 04:50:40PM -0800, Gary Johnson wrote:

  Navigate using upper-case letters 'J' and 'K'.
 
 Navigating isn't the problem, it's when i want to go to a message i
 just deleted.  Is there any way besides typing the message number?  It
 seems J and K only go to non-deleted messages.

That's odd.  I'm using "Mutt 1.0pre4us" and it has the following key
bindings (from the Index help):

J   next-entry move to the next entry
K   previous-entry move to the previous entry

j   next-undeleted move to the next undeleted message
k   previous-undeleted move to the last undelete message

So while 'j' and 'k' go to only undeleted messages, 'J' and 'K' allow me
to go to the deleted messages as well.  Maybe your 'J' and 'K' keys got
bound somehow to "next-undeleted" and "previous-undeleted".  Typing '?'
will display the current bindings.  If you want to set the 'J' and 'K'
bindings to their "normal" values, put the following in your ~/.muttrc:

bind index J next-entry
bind index K previous-entry

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: selecting deleted messages

2000-03-13 Thread Gary Johnson

On Mon, Mar 13, 2000 at 08:16:18PM -0800, Gary Johnson wrote:
 On Tue, Mar 14, 2000 at 02:33:06AM +, J McKitrick wrote:
  On Mon, Mar 13, 2000 at 04:50:40PM -0800, Gary Johnson wrote:

Sorry about that.  I didn't see the new messages in the other thread
until after I sent that.  I've got to learn to read ALL the new messages
in the list before responding.

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: deleted messages and arrows and key sequences

1999-12-16 Thread David T-G

Mikko --

...and then Mikko Hänninen said...
% Richard Hakim [EMAIL PROTECTED] wrote on Sat, 11 Dec 1999:
%  - In the index of a folder, I'd like the arrow key to scroll over deleted
% 
% The other answers you've gotten have been good, but I'd just like to
% point out that even with the default bindings (?) you can scroll up/down

Yep.


% in the index including the deleted messages if you use J/K for movement.
% No need to type in the msg number, though that works too.

That's what I like, since I'm a vi guy.


% 
% It's probably more sensible to rebind the arrow keys though...  Just
% pointing out an alternative approach that I personally use.

I was trying to figure out a way to get the arrow keys to behave like
that, but I couldn't find the symbol for a shifted arrow :-)  I'm sure
the key code/sequence exists, so ...  Is there a way to tell mutt to
bind a particular key code instead of j or J  or \cv or \eV or such?


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
"Why2k?  Well, I didn't think at the time that I could charge any more!"
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: index question about deleted messages

1999-02-16 Thread David DeSimone

Ken W [EMAIL PROTECTED] wrote:

 Since I normally use up and down instead of j and k, I wanted to
 make with shift-up or control-up to do J and K.

Most keyboards do not generate different codes for the shifted arrow
keys.  The usually generate the same codes whether you're pressing shift
or control or not.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



index question about deleted messages

1999-02-15 Thread Ken W

I have mutt set like elm, I think the default, to skip messages marked
for deletion in the index when going up or down, so I have to skip to
the particular message number to go to one marked for deletion.  Sorry
if this is already a feature, but I think it would be great to be able
to toggle this variable, 'resolve' I think, with something like
'shift-up' so if resolve it set, the cursor will move up one message,
whether marked for deletion or not, and vice versa if resolve is
unset.  Possible?

Thanks.


-Ken

-- 
[EMAIL PROTECTED]AIM: ScopusFest



Re: index question about deleted messages

1999-02-15 Thread Ken W

On Mon, Feb 15, 1999, Vikas Agnihotri wrote:
 
 We already have next/previous-undeleted(j/k) and next/previous-entry(J/K). 
 Nuff, me thinks.

That's what I was looking for.  Thanks.  Problem, though.  Since I
normally use up and down instead of j and k, I wanted to make with
shift-up or control-up to do J and K.  When I try to bind something like
"\Cup" for previous-message, upon restarting, mutt tells me:

previous-message: no such function in map

I have tried this in index and pager with the same error.

Is there something that I am overlooking here?

Thanks.


-Ken

-- 
[EMAIL PROTECTED]AIM: ScopusFest