unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs 29: Package netrc is deprecated
@ 2024-05-06 19:43 Steinar Bang
  2024-05-07  2:47 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 8+ messages in thread
From: Steinar Bang @ 2024-05-06 19:43 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-20  9:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 19:43 Emacs 29: Package netrc is deprecated Steinar Bang
2024-05-07  2:47 ` 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

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).