[BUG?] `org-babel-tangle-comment-links' doesn't respect `org-babel-tangle-use-relative-file-links' [9.7.16 (9.7.16-ba9734 @ ~/.config/emacs/elpa/org-9.7.26/)]

2025-03-25 Thread João Pedro de Amorim Paula
Hi Org, I realized the function `org-babel-tangle-comment-links' won't return the relative file path regardless of the value of `org-babel-tangle-use-relative-file-links', is this the intended behaviour or a bug? Here's the source code for `org-babel-tangle-comment-links' for reference: (defun or

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 that

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 (abbreviate-file-nam

Re: Move or rename a file in a link

2022-03-18 Thread João Pedro de Amorim Paula
t me know. 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 Paula

Re: Unable to get current or via use-package

2022-02-18 Thread João Pedro de Amorim Paula
latest ELPA version 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 > in

Re: Unable to get current or via use-package

2022-02-10 Thread João Pedro de Amorim Paula
'm traveling 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 packa

Re: Suggestion: convert dispatchers to use transient

2022-02-05 Thread João Pedro de Amorim Paula
-archive package) (package-install package On the last one, the 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
ven property. [1] https://typeof.net/Iosevka/ Best regards, -- João Pedro de Amorim Paula IT undergraduate at Universidade Federal do Rio Grande do Norte (UFRN)