Code Monkey home page Code Monkey logo

Comments (8)

tats avatar tats commented on July 21, 2024
  • .emacs, .mew.el and other configuration files are working configuration on the other machine.
  • When I run C-uZ, the process complete without any error but nothing happen.

To compare behaviors in your environments, evaluate
(setq mew-debug 'net), go to %inbox, type C-u Z, and then
look in the *Messages* buffer and the *Mew debug* buffer.

  • Looks some process doesn't work or skip in mew.el between line 241 and 262.

See the condition (consp arg) in mew-status-update() for C-u Z.
mew-imap-update() should be invoked, and finally the message
"Collecting mailbox list...done" should be displayed by mew-imap-sentinel().

from mew.

kazu-yamamoto avatar kazu-yamamoto commented on July 21, 2024

I can reproduce this:

<=SEND=>
isqu5990 LOGIN "kazu..." "...."

<LOGIN>
isqu5990 NO [ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)

Probably, two factor authentication is necessary.

from mew.

kazu-yamamoto avatar kazu-yamamoto commented on July 21, 2024

@yoshinari-nomura Would you summarize the status of authentication on gmail? Japanese is OK.

from mew.

juntakei avatar juntakei commented on July 21, 2024

<=SEND=>
isqu5990 LOGIN "kazu..." "...."

isqu5990 NO [ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure) ```

Probably, two factor authentication is necessary.

On the other machine, I can get access my inbox through another version of mew with same configuration files.
Mew version 6.7
GNU Emacs 25.1.2 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G1004)) of 2016-10-07

I will post debug message later today. Thanks.

from mew.

juntakei avatar juntakei commented on July 21, 2024

@tats, I set debug flag you mentioned and also did (setq mew-debug t), there is no useful message in Message buffer.

mew-imap-namespace: Type ’M-x universal-argumentZ’ to collect IMAP folders!
command-execute: Buffer is read-only: #<buffer %inbox>
debug
****Updating status...
8888Updating status...done

Then I added some debug message in the source to check your suggestions.In my case, the program skips the block line 227-237. But after adding debug message next to the line226. All the sudden it starts working. After the first folder check, now Mew is working fine now. If it may help for the community, I can erase my local folder and check the phenomenon again. Anyway thank you for all the suggestion and advises. I'm happy to be back Mew community. Thanks > @kazu-yamamoto

from mew.

tats avatar tats commented on July 21, 2024

@juntakei

mew-imap-namespace: Type ’M-x universal-argumentZ’ to collect IMAP folders!

Your Emacs seems to lost the key binding C-u to universal-argument,
so C-u Z cannot pass the argument to mew-status-update().

It should normally be:

(mew-substitute-for-summary "Type '\\[universal-argument]\\[mew-status-update]' to collect IMAP folders!")
"Type ’C-uZ’ to collect IMAP folders!"

(substitute-command-keys "\\<mew-summary-mode-map>\\[universal-argument]")
"C-u"

(substitute-command-keys "\\<global-map>\\[universal-argument]")
"C-u"

from mew.

juntakei avatar juntakei commented on July 21, 2024

@tats, you are right. It was caused by my local key binding. I remember I had same issue long time ago, may be in 90s. Kazu found it during a camp. Let me ask primitive question. When I manually typed M-x universal-argument [space] Z (it's replaced to "universal-argument-Z" )or M-x universal-argumentZ, emacs just say "no match". Anyway, now I can use Mew again and thank you for your advice.

@kazu-yamamoto , your issue posted above can be solved by using "Google App specific password". Please check this page. https://support.google.com/accounts/answer/185833?hl=en

Thank you, all!

from mew.

yoshinari-nomura avatar yoshinari-nomura commented on July 21, 2024

@yoshinari-nomura Would you summarize the status of authentication on gmail? Japanese is OK.

My IMAP XOAUTH2 branch is here: https://github.com/yoshinari-nomura/Mew/tree/mew-support-xoauth2
and some comments on the branch: https://groups.google.com/g/mew-ja/c/Hn9L27ll-eY/m/RBEYHOwqAwAJ

It works well for my daily use, but unfortunately, this would not be helpful for this issue.

By the way, Google is planning to turn off less secure app access to G Suite accounts:
https://workspaceupdates.googleblog.com/2019/12/less-secure-apps-oauth-google-username-password-incorrect.html

I recomment G Suite users to migrate to OAuth2 authentication.

from mew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.