Timeline for Orgmode link description without https
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 22, 2022 at 2:33 | history | edited | aaa | CC BY-SA 4.0 |
Finally fixed the remaining ‘%:link’
|
Feb 17, 2022 at 0:11 | comment | added | fred | After adding %c that worked. Thanks so much! | |
Feb 17, 2022 at 0:09 | vote | accept | fred | ||
Feb 15, 2022 at 5:30 | comment | added | aaa |
@NickD you were right about the c ↔link discrepancy: I fell back into the habits of dealing with org-protocol , forgetting that the OP has links coming from a different source. Thanks! As for a function, IMO that would be overkill just for the regexes—though dispensing with some backslashes would be nice. However, it might make sense if I add the ability to switch off the replacement of extensions or to customize it, as suggested by my edit. I'll think a bit later of how to better organize that.
|
|
Feb 15, 2022 at 5:10 | history | edited | aaa | CC BY-SA 4.0 |
deleted 8 characters in body
|
Feb 15, 2022 at 4:59 | history | edited | aaa | CC BY-SA 4.0 |
added 715 characters in body
|
Feb 15, 2022 at 1:29 | comment | added | NickD |
Capture templates are confusing enough as it is: they don't need the additional confusion that regexps introduce. IMO, it would be better to define a function that does the transformation (and encapsulates the regexps), and then just call the function in the template. Also, can you explain the difference between %c as the OP had it and %:link as you have it?
|
|
Feb 14, 2022 at 23:59 | history | answered | aaa | CC BY-SA 4.0 |