Re: Unable to get current or via use-package

2022-02-20 Thread Loris Bennett
Hi João, João Pedro de Amorim Paula writes: > On 18 February 2022 18:32, João Pedro de Amorim Paula > wrote: > >> I ended up not posting the link[1] I referred to in the first e-mail, > > Welp, seems like I did it again... But no harm done this time, all the > necessary code was attached anywa

Re: Unable to get current or via use-package

2022-02-18 Thread João Pedro de Amorim Paula
On 18 February 2022 18:32, João Pedro de Amorim Paula wrote: > I ended up not posting the link[1] I referred to in the first e-mail, Welp, seems like I did it again... But no harm done this time, all the necessary code was attached anyway :P Forgetfully, -- João Pedro de Amorim Paula IT unde

Re: Unable to get current or via use-package

2022-02-18 Thread João Pedro de Amorim Paula
On 17 February 2022 16:00, "Loris Bennett" wrote: > What exactly would you like me to test? I ended up not posting the link[1] I referred to in the first e-mail, but since then I got back home and tested the functions provided there seem to be doing what I expected. With it, I can force Emacs to

Re: Unable to get current or via use-package

2022-02-17 Thread Loris Bennett
Hi João, João Pedro de Amorim Paula writes: > On 09 February 2022 16:51, "Loris Bennett" wrote: > >> Thanks, that did the trick. I was hoping that when I use the same >> init.el on a different machine I wouldn't have to remember anything and >> use-package would automatically install the lates

Re: Unable to get current or via use-package

2022-02-10 Thread João Pedro de Amorim Paula
On 10 February 2022 17:57, João Pedro de Amorim Paula wrote: > I had a similar issue in the recent past and was able to come up with a > solution using the built-in package.el. Not sure how to make it work > with use-package, but that at least seems to solve the issue of it not > installing the

Re: Unable to get current or via use-package

2022-02-10 Thread João Pedro de Amorim Paula
On 09 February 2022 16:51, "Loris Bennett" wrote: > Thanks, that did the trick. I was hoping that when I use the same > init.el on a different machine I wouldn't have to remember anything and > use-package would automatically install the latest version. Seemingly > not :-/ I had a similar issu

Re: Unable to get current or via use-package

2022-02-10 Thread Tim Cross
Ihor Radchenko writes: > Tim Cross writes: > >>> Is that necessary? Can't I just use the package manager to update Org >>> along with any other packages? Or does the issue about not visiting and >>> .org file before installing via the package manager apply to updates >>> too? >>> >> >> Even

RE: Unable to get current or via use-package

2022-02-10 Thread Cook, Malcolm
Hi Loris, > > I tend to use the org-mode from the package manager, but do not do it > > interactively from within emacs. Instead, which when I want to refresh org, > > I do from the command line: > > > > emacs -Q -batch -eval "(progn (require 'package) (package-initialize) > > (package-refresh-

Re: Unable to get current or via use-package

2022-02-10 Thread Ihor Radchenko
Tim Cross writes: >> Is that necessary? Can't I just use the package manager to update Org >> along with any other packages? Or does the issue about not visiting and >> .org file before installing via the package manager apply to updates >> too? >> > > Even with updates, it is still important t

Re: Unable to get current or via use-package

2022-02-10 Thread Tim Cross
Loris Bennett writes: > "Cook, Malcolm" writes: > >> >> emacs -Q -batch -eval "(progn (require 'package) (package-initialize) >> (package-refresh-contents) (package-install 'org))" > > Is that necessary? Can't I just use the package manager to update Org > along with any other packages?

Re: Unable to get current or via use-package

2022-02-09 Thread Loris Bennett
"Cook, Malcolm" writes: >>(use-package org >>:ensure org-contrib) > > I believe `:ensure org-contrib` is no longer needed. Well, I would need it if I actually wanted anything from org-contrib, but I really have to check whether this is still the case. > I tend to use the org-mode from the packa

Re: Unable to get current or via use-package

2022-02-09 Thread Greg Minshall
Loris, et al., > Thanks, that did the trick. I was hoping that when I use the same > init.el on a different machine I wouldn't have to remember anything and > use-package would automatically install the latest version. Seemingly > not :-/ this is maybe an appropriate time to insert a plug for s

RE: Unable to get current or via use-package

2022-02-09 Thread Cook, Malcolm
>(use-package org >:ensure org-contrib) I believe `:ensure org-contrib` is no longer needed. I tend to use the org-mode from the package manager, but do not do it interactively from within emacs. Instead, which when I want to refresh org, I do from the command line: emacs -Q -batch -e

Re: Unable to get current or via use-package

2022-02-09 Thread Loris Bennett
Hi Eric, Eric S Fraga writes: > On Wednesday, 9 Feb 2022 at 14:25, Loris Bennett wrote: >> Is this a problem use-package has with built-in packages, as described here >> >> https://github.com/jwiegley/use-package/issues/319 > > Yes, I think so. > > What happens if you "M-x package-list-packag

Re: Unable to get current or via use-package

2022-02-09 Thread Eric S Fraga
On Wednesday, 9 Feb 2022 at 14:25, Loris Bennett wrote: > Is this a problem use-package has with built-in packages, as described here > > https://github.com/jwiegley/use-package/issues/319 Yes, I think so. What happens if you "M-x package-list-packages" and then install org from there? (use "

Unable to get current or via use-package

2022-02-09 Thread Loris Bennett
Hi, After Emacs started nagging me with the following IMPORTANT: please install Org from GNU ELPA as Org ELPA will close before Org 9.6 I set in init.el (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/";) ("nongnu" . "http://elpa.nongnu.org/nongnu/";)