all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.