unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: stardiviner <numbchild@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: [Question] I want to know what invoked auth-source
Date: Sat, 01 Feb 2020 14:18:58 +0800	[thread overview]
Message-ID: <87v9oq7ru5.fsf@gmail.com> (raw)
In-Reply-To: <jwv7e17wpxq.fsf-monnier+emacs@gnu.org>


Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Recently I found a problem when using auth-source, I've been prompted to input
>> password to decrypt auth-source whcih serect file is ecrypted by GnuPG, I use
>> EasyPG in Emacs.
>>
>> I want to know what invoked auth-source. Maybe I can add an advice on some
>> function to know what Emacs extension or function invoked. (Maybe this should be
>> done on EasyPG side?)
>
> Beside using `M-x debug-on-entry` on some appropriate auth-source
> function before re-triggering the problem, you might also be able to use
> `M-: (debug)` when you're prompted for the password.
>
>
>         Stefan

This is useful, thanks Stefan.

-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      



      reply	other threads:[~2020-02-01  6:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31  8:42 [Question] I want to know what invoked auth-source stardiviner
2020-01-31  9:27 ` Robert Pluim
2020-01-31 13:04   ` Noam Postavsky
2020-02-01  6:24     ` [SOLVED] " stardiviner
2020-01-31 16:30 ` Stefan Monnier
2020-02-01  6:18   ` stardiviner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9oq7ru5.fsf@gmail.com \
    --to=numbchild@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).