VM

imap account completion stopped working (between rev 1187 & 1209)

Bug #783671 reported by John Hein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Released
Low
Anthony Mallet

Bug Description

When I try to tab complete my imap account after vm-visit-imap-folder, I get:

Visit IMAP folder: [No completions]

Manually starting to enter the account name - even just the first letter - then tab to complete works. It's just when I hit tab when the minibuffer folder prompt is empty that 'No completions' is reported.

Tags: imap new

Related branches

Revision history for this message
John Hein (xpqheqdvq4) wrote :

I should have said that I have three entries in vm-imap-account-alist and have not tried varying that to see if the behavior changes.

Revision history for this message
Uday Reddy (reddyuday) wrote : Re: [Bug 783671] [NEW] imap account completion stopped working (between rev 1209 & 1226)

If you close emacs and start a new session, does it work ok?

The mailbox names are cached internally to make the completion happen in
real-time, but I think I am not doing enough to maintain this cache. You
can look at the variable vm-imap-account-folder-cache to see what is in it.

Cheers,
Uday

Revision history for this message
Uday Reddy (reddyuday) wrote :

Sorry I misread your bug report the first time. You are talking about
account names rather than mailbox names.

You mean to say this used to work before revision 1209 (or possibly,
revision 1208)?

Cheers,
Uday

Changed in vm:
assignee: nobody → Anthony Mallet (anthony-mallet)
Revision history for this message
Uday Reddy (reddyuday) wrote : Re: imap account completion stopped working (between rev 1209 & 1226)

Anthony, this might be a problem with your patch. Can you take a look?

Revision history for this message
John Hein (xpqheqdvq4) wrote :

Argh. I meant some time between 1187 (worked) and 1208 (didn't). Sorry.

summary: - imap account completion stopped working (between rev 1209 & 1226)
+ imap account completion stopped working (between rev 1187 & 1209)
Revision history for this message
Anthony Mallet (anthony-mallet) wrote :

Yup, this was a problem in 1208. Not exactly with my patch, but closely related ;). That's related to your changes to account-list vs. completion-list which is now computed only in the case when a folder is defined.

The attached patch fix the problem for me (diffed against 1226)

Revision history for this message
John Hein (xpqheqdvq4) wrote :

applying the patch to revno 1230 fixes it (for <TAB> or now <SPC> completion thanks to Anthony and rev 1229)

Uday Reddy (reddyuday)
Changed in vm:
status: New → Fix Committed
importance: Undecided → Low
milestone: none → 8.2.0
tags: added: imap new
Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.