Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax)

2022-03-23 Thread João Pedro de Amorim Paula
On 20 March 2022 18:19, Ihor Radchenko wrote: > Also, if anyone agrees with my arguments below, do not stay silent and > drop a "+1" email below. Otherwise, this whole thing will be stalled. > There is no point discussing technical aspects, if there is no interest. It isn't really something

Re: Move or rename a file in a link

2022-03-22 Thread João Pedro de Amorim Paula
On 19 March 2022 11:25, Juan Manuel Macías wrote: > #+begin_src emacs-lisp > (defun my-org-rename-link-file-at-point () > (interactive) > (let* ((curr-dir (if (equal (org-element-property :type > (org-element-context)) "attachment") >(concat

Re: Move or rename a file in a link

2022-03-18 Thread João Pedro de Amorim Paula
Regards, -- João Pedro de Amorim Paula IT undergraduate at Universidade Federal do Rio Grande do Norte (UFRN)

Re: Move or rename a file in a link

2022-03-09 Thread João Pedro de Amorim Paula
(setq new-path (concat new-path (file-name-nondirectory current-path))) > (setq new-path new-path)) > (my-org-replace-link-file current-path > (replace-regexp-in-string curr-dir "" new-path > > #+end_src > Thanks for sha

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 Pa

Re: Unable to get current or via use-package

2022-02-18 Thread João Pedro de Amorim Paula
ion available for built-in packages and using that programatically, without having to use the Package List interface. Regards, -- João Pedro de Amorim Paula IT undergraduate at Universidade Federal do Rio Grande do Norte (UFRN) init.el Description: application/emacs-lisp

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 >

Re: Unable to get current or via use-package

2022-02-10 Thread João Pedro de Amorim Paula
ng ATM I couldn't test it against Emacs 27, so it would be great if you could check it. Cheers, -- João Pedro de Amorim Paula IT undergraduate at Universidade Federal do Rio Grande do Norte (UFRN)

Re: Suggestion: convert dispatchers to use transient

2022-02-05 Thread João Pedro de Amorim Paula
On 05 February 2022 18:49, Samuel Wales wrote: > jus want to state the obvious here in case it is useful [but everybody > probbly lready knows] --- not everybody uses packages or maybe trusts > them has internet etc. Indeed! What I posted assumes using packages, but they also work with any

Re: Suggestion: convert dispatchers to use transient

2022-02-05 Thread João Pedro de Amorim Paula
main function that I use, if FORCE is non-nil it will download and install the package from the archives even if it is built-in. Best regards, -- João Pedro de Amorim Paula IT undergraduate at Universidade Federal do Rio Grande do Norte (UFRN)

Re: [PATCH] Add support for $…$ latex fragments followed by a dash

2022-02-01 Thread João Pedro de Amorim Paula
roperty. [1] https://typeof.net/Iosevka/ Best regards, -- João Pedro de Amorim Paula IT undergraduate at Universidade Federal do Rio Grande do Norte (UFRN)