From: Steinar Bang <sb@dod.no>
To: help-gnu-emacs@gnu.org
Subject: Emacs 29: Package netrc is deprecated
Date: Mon, 06 May 2024 21:43:27 +0200 [thread overview]
Message-ID: <87r0eepvz4.fsf@dod.no> (raw)
Just upgraded from emacs 28 to emacs 29.3 and got the minibuffer
message:
Package netrc is deprecated
Here is my netrc usage (it is to retrieve the username and password for
my wordpress blog for use with org2blog):
;; org-mode blogging setup
(when (and
(locate-library "org2blog")
(locate-library "metaweblog"))
(require 'org2blog)
(require 'netrc)
(if (locate-library "ox-wp")
(load-library "ox-wp"))
(setq blog (netrc-machine (netrc-parse netrc-file) "blog.mydomain.com" t))
(setq org2blog/wp-blog-alist
(list
(list "blogs-blogg"
:url "http://blog.mydomain.com/xmlrpc.php"
:username (netrc-get blog "login")
:password (netrc-get blog "password")))))
Any suggestions for what i should replace netrc with are appreciated.
According to git I set this up om May 1 2012 so it is hard to remember
what I was thinking back then and why I used the netrc package (I
probably just wanted to get it working and, once it did, promptly forgot
about it).
Thanks!
- Steinar
next reply other threads:[~2024-05-06 19:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-06 19:43 Steinar Bang [this message]
2024-05-07 2:47 ` Emacs 29: Package netrc is deprecated Stefan Monnier via Users list for the GNU Emacs text editor
2024-05-07 14:58 ` Steinar Bang
2024-05-07 15:12 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-05-19 11:36 ` Steinar Bang
2024-05-14 7:35 ` Robert Pluim
2024-05-19 11:58 ` Steinar Bang
2024-05-20 9:10 ` Robert Pluim
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0eepvz4.fsf@dod.no \
--to=sb@dod.no \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.