[O] ob-sql company

2019-07-01 Thread Ag Ibragimov
I've been using ob-sql to query DBs right from Org-mode and I love it. The only thing I could wish for is auto-completion. Does anyone know if it is possible at all to make it work so Company would show possible table/column names? That would be huge and then I wouldn't have to use external t

[O] Bug: org-read-date ignores hours?

2019-10-22 Thread Ag Ibragimov
When I use (org-read-date t) and type something like "+2m" it works as expected, but for some reason if I type something like "+2h" it returns datetime with no changes. Expected - two hours in the future. Am I missing something?

Automatic LaTeX preview toggling

2020-02-13 Thread Ag Ibragimov
I just recently discovered that this excellent code snippet that I found long time ago here: http://slumpy.org/blog/2017-02-01-automatic-latex-preview-in-org-mode which is based on even older post originally written by John Kitchin: http://kitchingroup.cheme.cmu.edu/blog/2015/10/09/Automatic-

Analyze tangled files

2020-03-03 Thread Ag Ibragimov
Is there a way to compare all tangled files with the content of an Org document and see a diff? I hope I'm explaining it right. Basically, I want for every source block in my Org document to find corresponding tangled file and compare it with all the source blocks that tangle into that file.

[O] Bug: org-insert-link doesn't work for URL links [9.1.4 (9.1.4-13-g84cb63-elpaplus @ /Users/ag.ibragimov/.emacs.d/elpa/26.0/develop/org-plus-contrib-20171218/)]

2017-12-27 Thread Ag Ibragimov
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. --

[O] Bug: refile from capture template doesn't update org-clock-current-task [9.1.6 (9.1.6-57-gec8590-elpaplus @ /Users/ag.ibragimov/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/)]

2018-02-19 Thread Ag Ibragimov
I'm not sure if that's a legitimate bug, just something I have run into on my Spacemacs config # Description org-clock-current-task doesn't update mode-line after refile on capture # To reproduce: Create a capture template with :clock-in and :clock-keep fields, e.g.: ("i" "Immediate" entry (f

[O] Feature request: results type json

2018-03-28 Thread Ag Ibragimov
Sorry, I don't know the best medium to convey ideas and I'm afraid not qualified (familiar with org-mode codebase) to submit a PR for this. I wonder how difficult would be to add the possibility to have babel src block results to be rendered as json? Basically a new result type https://orgmode.org

[O] Bug: ordered lists that start at > 1 don't work? [9.1.13 (9.1.13-elpaplus @ /home/ag/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180730/)]

2018-08-04 Thread Ag Ibragimov
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [O] Bug: ordered lists that start at > 1 don't work? [9.1.13 (9.1.13-elpaplus @ /home/ag/.emacs.d/elpa/26.1/develop/org-plus-contrib-20180730/)]

2018-08-04 Thread Ag Ibragimov
this subject could be more elaborate. Thank you, Ag Hello, On Sat, Aug 4, 2018, 8:12 AM Ag Ibragimov wrote: According to the documentation: > If you want a list to start with a different value (e.g., > 20), start > the text of the item with [@20] it doesn't seem to work for

Re: Can't turn off hide-stars

2020-03-27 Thread Ag Ibragimov
Have you tried tweaking org-hide face? Maybe the problem is with the font you use, is it monospaced? On Thu 26 Mar 2020 at 22:40, Lawrence Bottorff wrote: I have searched high and low through my init/config and I can't find where orgmode is suppressing the display of leading asterisks of he

Question on contributing to Org-mode

2020-06-13 Thread Ag Ibragimov
I have never ever before tried contributing patches to Org-mode, mainly because it is such a big project that I am rarely sure if whatever I'm trying to do is right. Finally, I've found something that perhaps I could improve. Namely, I wanted to extend Clojure code blocks to be executed with

ob-sql src blocks with a totally custom engine

2020-06-16 Thread Ag Ibragimov
Is it possible to have source code SQL blocks that are processed with a custom command line tool? e.g. how can I make something like this to work: #+begin_src sql :cmdline "osqueryi --json" select * from processes limit 5; #+end_src For those who don't know what osquery is, here's a quote from

Re: Question on contributing to Org-mode

2020-06-17 Thread Ag Ibragimov
re-backend 'clj-cli) + (ob-clojure-eval-with-clj expanded params (org-babel-result-cond result-params result (condition-case nil (org-babel-script-escape result) On Sat 13 Jun 2020 at 17:19, Kyle Meyer wrote: Ag Ibragimov writes: M-x emacs-version and org-version

patch: ob-clojure improvements

2020-06-19 Thread Ag Ibragimov
Hi everyone, here's my attempt to add clojure CLI and babashka support for ob-clojure.el - Adds a header parameter to override org-babel-clojure-backend - Adds :args param (right now only used for clojure-cli) I have tested it with these minimal cases: #+begin_src clojure :backend clj-cli :arg

Smart processing of http(s) links

2020-06-28 Thread Ag Ibragimov
I want to make something like this: Whenever I I use org-insert-link and it turns out to be a URI that starts with "https://github.com"; I would like it to be processed differently than any other link, one example - if it is a PR or a Github Issue, I'd like it to fetch summary(title) of it and

Re: Smart processing of http(s) links

2020-06-28 Thread Ag Ibragimov
org-link-make-description-function 'org-link-make-description-function*) #+end_src https://gist.github.com/agzam/b2f2d441acb96e1d693a2c81e9c4518f On Sun 28 Jun 2020 at 14:02, Kyle Meyer wrote: Ag Ibragimov writes: Whenever I I use org-insert-link and it turns out to be a URI that starts with "https://gith

Re: Smart processing of http(s) links

2020-06-28 Thread Ag Ibragimov
seems more complicated and requiring more maintenance than just typing the appropriate description when you insert the link. Actually, it is not. See my reply to Kyle. You still can modify the link description, it just gives you an option to make it as the title of the GitHub issue or PR. htt

[BUG] jump-to-captured no longer works [9.6 (9.6-??-1c7acb4 @ /Users/aibragim/.emacs.d/.local/straight/build-28.2/org/)]

2022-09-28 Thread Ag Ibragimov
Org capture no longer jumping to destination, even when :jump-to-captured set to t in the capture template. Emacs : GNU Emacs 28.2 (build 2, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-09-28 Package: Org mode version 9.6 (9.6-??-1c7acb4 @ /Users/aibragi

Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-10-25 Thread Ag Ibragimov
Can't you just use one of hooks (e.g., eww-after-render-hook) where you inspect the URL and if it's .org, just change the mode? This should be trivial to do, I think. Jean Louis writes: > This wish request is related to Emacs EWW and Org mode. > > Please make EWW recognize Org file when served

[no subject]

2022-10-25 Thread Ag Ibragimov
> I am unable to reproduce on my side using the latest main branch. > Can you please provide detailed steps you performed to get the erroneous > behaviour? See https://orgmode.org/manual/Feedback.html I'm very sorry for wasting your time, it looks like I had org-capture-after-finalize-hook point

[BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-05 Thread Ag Ibragimov
Tangling Clojure code blocks appear to be broken. Repro steps: - Create a Clojure source block, e.g., #+begin_src clojure :tangle foo.clj {:foo :bar} #+end_src - Tangle it, M-x org-babel-tangle - Check the file content Observed: It's wrapping the content into `(prn (binding [*out* (java.i

Re: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-07 Thread Ag Ibragimov
Ihor Radchenko writes: > I see the expected result on my side. I'm using the latest, org-version reports "Org mode version 9.7 (9.7-??-fdea200 ..." This particular line here is causing the problem I described: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/ob-clojure.el#n191 `

org-agenda-list should respect org-agenda-max-entries

2021-02-16 Thread Ag Ibragimov
While going through the source code, I've noticed that org-agenda-list scans all the files in org-agenda-files and processes all Org items those files contain. However, it seems when org-agenda-max-entries or org-agenda-max-todos are not nil, it still processes every entry, and only after bu