[O] [PATCH] org-agenda: make log and clockreport modes local

2018-02-21 Thread Nicolas Dudebout
`org-agenda-show-log' indicates if the the current agenda buffer has log-mode enabled. When building a new agenda buffer, it gets its value from `org-agenda-start-with-log-mode'. It is is semantically a buffer local variable: when creating a new agenda buffer you expect it to be set to the value

[O] org alters output of bash code blocks when run with :session

2018-02-21 Thread Tyler Smith
Hi, (originally posted to emacs.stackexchange[1] with no answers, ) I am running a short bash command from an org mode code block, using the program `fold` to wrap it at 60 characters. If I run the code without a session argument, the results display as expected. However, when I set the session

Re: [O] Expose value-begin and value-end instead of just value in org-element API

2018-02-21 Thread Somelauw .
Thank you for your response. 2018-02-21 12:17 GMT+01:00 Nicolas Goaziou : > You get the beginning of the code of a source block with > > (org-with-point-at (org-element-property :post-affiliated element) > (line-beginning-position 2)) > > and its end with > > (org-with-point-at (org-elemen

Re: [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-21 Thread Nicolas Goaziou
Hello, Ag Ibragimov writes: > 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

Re: [O] Feature request: shrink according to alignment (was Re: Org table columns without width cookies get shrunk on TAB)

2018-02-21 Thread Julius Dittmar
Am 21.02.2018 um 12:45 schrieb Nicolas Goaziou: > I agree right-aligned -- and center-aligned -- fields are not perfect, > but I cannot think of a good design for these at the moment. OK. I can live with that. Julius

Re: [O] Feature request: shrink according to alignment (was Re: Org table columns without width cookies get shrunk on TAB)

2018-02-21 Thread Nicolas Goaziou
Hello, Julius Dittmar writes: > What I think this was about: Assume, the following table is set up for > right-aligned output (that's one of the things I don't know how to do, > but that's fine with me): > > | a very long entry which enforces a long table cell | > |a

Re: [O] Expose value-begin and value-end instead of just value in org-element API

2018-02-21 Thread Nicolas Goaziou
Hello, John Kitchin writes: > +1 on this. > > I also have some janky code to do things like go to the beginning/end of > the value in a src block. Here is my solution to mark the code in a src > block. > > (defun ob-ipython-mark-code () > "Mark the code in the block." > (interactive) > (or

[O] stuck: templates don't work anymore: org-complete-expand-structure-template vs org-insert-structure-template

2018-02-21 Thread Uwe Brauer
Hi As I learned, unfortunately for me, org-complete-expand-structure-template is gone and has been replaced by org-insert-structure-template Now I have, for example, the following template via customize ("s" "#+begin_src matlab :results output latex :exports results :eval never-export