From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18279 Path: news.gmane.org!not-for-mail From: Alice Bob Newsgroups: gmane.emacs.gnus.user Subject: Re: how to set gnus authinfo file Date: Sun, 03 Jul 2016 19:17:17 +0800 Organization: What me? Message-ID: <8737nrrmwy.fsf@riseup.net> References: <87fusjj5p2.fsf@riseup.net> <874m8yipax.fsf@riseup.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1467544831 12926 80.91.229.3 (3 Jul 2016 11:20:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2016 11:20:31 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jul 03 13:20:29 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bJfRr-0007lu-NC for gegu-info-gnus-english@m.gmane.org; Sun, 03 Jul 2016 13:20:27 +0200 Original-Received: from localhost ([::1]:42175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJfRq-0003gS-Su for gegu-info-gnus-english@m.gmane.org; Sun, 03 Jul 2016 07:20:26 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin1!goblin.stu.neva.ru!uio.no!quimby.gnus.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 30 Original-NNTP-Posting-Host: politkovskaja.torservers.net Original-X-Trace: quimby.gnus.org 1467544661 13856 77.247.181.165 (3 Jul 2016 11:17:41 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 3 Jul 2016 11:17:41 +0000 (UTC) User-Agent: Emacs/Gnus Cancel-Lock: sha1:BNDZ/XgMQxY20v7XbIPYRwXLMHM= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:89406 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18279 Archived-At: Emanuel Berg writes: > Alice Bob writes: > >> I would like to change the default location >> of .authinfo.gpg file. For example, put it >> under ~/.emacs.d/gnus/.authinfo.gpg >> >> I cannot find a way to do this. > > Try > > M-x apropos-value RET authinfo RET > > It seems `auth-sources' is what you seek. Yeah, I have now changed to `auth-sources' instead of `nnimap-authinfo-file'. > >>>From the help: "Entries are tried in the order > in which they appear." > > But - why move it from the home dir? What is > the gain in that? Ha, this is my idead: since `authinfo.gpg' is only for Gnus mail authentication, why not put it under emacs directory? File under home (~/.authinfo.gpg) should be used for the whole user account. Is this reasonable? -- horizon