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

Re: [PATCH] org-agenda: Skip formatting if format string is ""

2022-02-09 Thread Samim Pezeshki
Thanks Ihor for the detailed explanation, I updated the patch as you suggested. On Sun, Feb 6, 2022 at 12:53 PM Ihor Radchenko wrote: > Samim Pezeshki writes: > > > This commit prevents having extra spaces when the TODO format string is > an > > empty string (""). It was not working properly,

Re: Lazy load of org-protocol

2022-02-09 Thread Jim Porter
On 2/9/2022 8:46 AM, Max Nikulin wrote: It is not a problem to implement --apply in addition to --arg. [snip] For the purposes of this issue, I think either solution would probably work. It probably depends on what people think on emacs-devel. On a related note, there is still an issue with

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

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

Re: Lazy load of org-protocol

2022-02-09 Thread Max Nikulin
On 08/02/2022 17:44, Tianshu Wang wrote: Max Nikulin writes: Thank you, such approach, unlike mine example, does not have code duplication. On the other hand it loads org-protocol on any remote command, not only for "files" representing org-protocol URIs. Maybe defadvice in org-protocol.el

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

[PATCH] Fix org-set-tags-command active region bug

2022-02-09 Thread Alex Giorev
When `org-loop-over-headlines-in-active-region' is 'start-level, the command should loop only over the headings having the same level as the first one, but it loops over all headings in the region. This patch fixes the issue. From 289d6bdcb8328554c6dd4136d38f1220d239940e Mon Sep 17 00:00:00 2001

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/;)

Re: [PATCH] lisp/org-capture.el: Add hook & hook options to org-capture (Valentin Herrmann)

2022-02-09 Thread No Wayman
Ihor Radchenko writes: No Wayman writes: I've implemented what you're proposing here (and much more) in a package you may find useful a couple years ago. I pitched adopting some of the ideas into org-mode proper and was willing to do the work. My proposal was met with enthusiastic