Re: [O] why org capture finalise asks for deleting bookmarks every time

2015-06-19 Thread Kyle Meyer
Q wrote: > When I finished typing in a capture buffer, I hit C-c C-c, > this is what I get in the message buffer, looks like emacs is trying to save > all opened file and then delete backup of bookmarks. How do I avoid all this? What are bookmark-save-flag and org-capture-bookmark set to? I don

Re: [O] Order of TODO entries by `org-sort-entries' [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)]

2015-06-21 Thread Kyle Meyer
Hi, Simen Heggestøyl wrote: > Hi! > > Consider the following outline tree: > > * Tasks > ** TODO [#B] B > ** DONE C > ** TODO [#A] A > > When calling `org-sort-entries' on the top level headline, and > selecting `o' to sort by TODO order, the order becomes the following: > B, A, C. However, I wou

[O] [PATCH] org-clone-subtree-with-time-shift: Accept 0 clones

2015-06-21 Thread Kyle Meyer
onsistent with the documented behavior. >From 37a917e4f7e4d2c05355735ab08f1f555b9dc942 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 21 Jun 2015 21:46:54 -0400 Subject: [PATCH] org-clone-subtree-with-time-shift: Accept 0 clones * lisp/org.el (org-clone-subtree-with-time-shift): All

Re: [O] [PATCH] org-clone-subtree-with-time-shift: Accept 0 clones

2015-06-22 Thread Kyle Meyer
e596d7d9a2687f8f553997e2a75fe40f1424ef3 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 21 Jun 2015 21:46:54 -0400 Subject: [PATCH] org-clone-subtree-with-time-shift: Accept 0 clones * lisp/org.el (org-clone-subtree-with-time-shift): Allow argument specifying number of clones to be 0. * te

[O] [PATCH] org-add-planning-info: Improve deletion handling

2015-06-26 Thread Kyle Meyer
OOK: - State "DONE" from "TODO" [2015-06-26 Fri 23:38] :END: >From 6315be9e7a83cd9837807c2eb87ed7b3c6b70997 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 26 Jun 2015 21:33:34 -0400 Subject: [PATCH] org-add-planning-info: Improve deletion handling

Re: [O] insert default template when I create a new org buffer?

2015-07-01 Thread Kyle Meyer
Matt Price wrote: > I have the notion I should be able to have emacs just insert the > template for me when the buffer is created. Maybe what I need is > "auto-insert-mode" but I can't quite figure out how to have it run a > function. Was hoping someone else had figured it out already! Perhaps

Re: [O] insert default template when I create a new org buffer?

2015-07-01 Thread Kyle Meyer
Kyle Meyer wrote: > Matt Price wrote: >> I have the notion I should be able to have emacs just insert the >> template for me when the buffer is created. Maybe what I need is >> "auto-insert-mode" but I can't quite figure out how to have it run a >> func

[O] [PATCH] org-closest-date: Don't accept canceled repeater

2015-07-10 Thread Kyle Meyer
Hello, The attached patch fixes an arithmetic error that occurs when calling org-agenda on a file that contains a heading with a canceled repeater. -- Kyle >From 61cba7d42e19479ad3137f0f1ee01dc116d853e2 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 10 Jul 2015 22:34:24 -0400 Subj

Re: [O] [PATCH] org-closest-date: Don't accept canceled repeater

2015-07-13 Thread Kyle Meyer
Hi Rasmus, Rasmus wrote: [...] > I'm happy to push your commit, but I don't really know what you mean by > canceled repeater. Since you are the expert, would you mind posting an > example of a document with the error you fix? Sorry, I should have included an example. If I have a heading that l

Re: [O] [PATCH] org-closest-date: Don't accept canceled repeater

2015-07-15 Thread Kyle Meyer
Rasmus wrote: > Kyle Meyer writes: >> ** TODO h >> DEADLINE: <2015-07-13 Mon +3w> >> >> and I run org-todo with a numeric prefix of -1, the repeater is canceled >> by changing it to +0w: > > I see. Shouldn't org-todo rather remove the re

[O] Backports from Emacs repo

2015-07-26 Thread Kyle Meyer
Hello, I've backported changes touching Org files in the main Emacs repo (lisp/org/*.el, doc/misc/org.texi, and etc/refcards/orgcard.tex) since the last Org mode sync with Emacs. These changes are in the temporary branch 'backport-master'. I'll wait to perform the actual merge to master until af

Re: [O] How to escape "[" and "]" characters in org-mode links

2015-07-29 Thread Kyle Meyer
Ivanov Dmitry wrote: > Hi, Xiha > > Unfortunately URL encoding the [ and ] doesn't work for me. Try to > reproduce it. Create 2 files: > > file.txt. Content: > > $form['text1'] > > $form['text2'] > > file.org. Content: > ---

Re: [O] How to escape "[" and "]" characters in org-mode links

2015-08-02 Thread Kyle Meyer
Nicolas Goaziou wrote: > Hello, > > Ivanov Dmitry writes: > >> Unfortunately URL encoding the [ and ] doesn't work for me. Try to >> reproduce it. Create 2 files: >> >> file.txt. Content: >> >> $form['text1'] >> >> $form['text2'] >> ---

Re: [O] org-src-fontify-natively stops working in 8.3

2015-08-04 Thread Kyle Meyer
Kaushal wrote: > Hi, > > The source code block fontification stops working in all my org files in > version 8.3. Sorry, this was broken by my backport (d81e6b5) and the following merge to master. I should have caught this because 99f ("org-src.el (org-src-font-lock-fontify-block): Do not use

Re: [O] comment trees in 8.3

2015-08-05 Thread Kyle Meyer
Samuel Wales wrote: > git maint -> new git maint caused this. > > On 8/5/15, Samuel Wales wrote: >> agenda shows them. >> >> org-agenda-skip-comment-trees is non-nil. I can't reproduce this running emacs -Q with the current master (b5f5d66) and Emacs 24.5.1 using the following test file as the

Re: [O] wrong type argument listp... org-element-set-contents

2015-08-08 Thread Kyle Meyer
Hello, Peter Salazar wrote: [...] > The error says: > (wrong-type-argument listp #("Test document" 0 13 (:parent (#1 > org-element-set-contents(#("Test document" 0 13 (:parent (#0 Is this the same issue as here? http://permalink.gmane.org/gmane.emacs.orgmode/99535? Things may have

Re: [O] latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn

2015-08-08 Thread Kyle Meyer
Hello, Xebar Saram wrote: > Hi > > just updated org today and now i get this error on startup: > > > Invalid function: org-babel-header-args-safe-fn > > is this related to the new release? It may be related to an issue with compiling during the package update[1]. Magit has also had problems wit

Re: [O] elpa upgrade to 8.3.1 on emacs 24.5

2015-08-08 Thread Kyle Meyer
Kaushal wrote: > That's odd. `setq-local` macro was added in emacs 24.3; it is in subr.el. > > (defmacro setq-local (var val) > "Set variable VAR to value VAL in current buffer." > ;; Can't use backquote here, it's too early in the bootstrap. > (list 'set (list 'make-local-variable (list 'qu

Re: [O] wrong type argument listp... org-element-set-contents

2015-08-08 Thread Kyle Meyer
Peter Salazar wrote: > Yes! That worked. What does this mean? > > I tried going to package-list-packages and uninstalling and reinstalling > org, but that didn't help. What's my next step? > > On Sat, Aug 8, 2015 at 9:27 AM, Nicolas Goaziou > wrote: > >> Peter Salazar writes: >> >> > Sure, I'll

Re: [O] wrong type argument listp... org-element-set-contents

2015-08-08 Thread Kyle Meyer
Peter Salazar wrote: > Yes, that worked! Thank you so much! Great. Just for future reference, these were the steps that worked? - C-u M-x org-reload - Uninstall and then reinstall from package-list-packages menu. -- Kyle

Re: [O] latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn

2015-08-08 Thread Kyle Meyer
Xebar Saram wrote: > Hi Kyle > > i tried uninstall and install with no success What if you do 'C-u M-x org-reload' before this uninstall/reinstall? -- Kyle

Re: [O] Babel error on init with 8.3.1

2015-08-09 Thread Kyle Meyer
Hello, Ryan Schuetzler wrote: > On startup with the latest 8.3 release I now get an error: > > Invalid function: org-babel-header-args-safe-fn This seems to be related to a previous thread: http://thread.gmane.org/gmane.emacs.orgmode/99644 Although this isn't how the issue was solved on th

Re: [O] BUG REPORT - problem with org.elc on clocking out

2015-08-09 Thread Kyle Meyer
Hello, Sharon Kimble wrote: > I'm finding that when I clock out now I get the following error report I cannot reproduce this with 'emacs -Q' and the following test. Clocking in (C-c C-x C-i) and then out (C-c C-x C-o) on the following heading * h results in * h :LOGBOOK:

Re: [O] current head croaks on export since commit "Backport commit 3a5f751 from Emacs master branch"

2015-08-10 Thread Kyle Meyer
Robert Klein wrote: > Hi, > > when I export a file with current org main I get the following error > (git-bisect-identified commit below): [...] > git bisect bad > ef9637030456b153fd834f4c9202a9264d5ef18d is the first bad commit > commit ef9637030456b153fd834f4c9202a9264d5ef18d > Author: Stefan M

Re: [O] current head croaks on export since commit "Backport commit 3a5f751 from Emacs master branch"

2015-08-10 Thread Kyle Meyer
Kyle Meyer wrote: [...] > The backport changed a '(while (setq VAR (pop LIST)))' to > '(dolist (VAR LIST))', which exposes this, but '(nil)' should not be > passed as a list of files in the first place. Fixed in 44c8cd7. -- Kyle

Re: [O] Subject: Bug: org-time-stamp-inactive on the end of a CLOCK interval edits start time [8.3.1 (8.3.1-elpaplus @ c:/Users/clange/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-10 Thread Kyle Meyer
Christoph LANGE wrote: [...] > Running "emacs -q" and then (package-initialize) and then opening a > minimal file like > > * Hello > CLOCK: [2015-08-07 Fri 10:14]--[2015-08-07 Fri 10:20] => 0:06 > > was enough to reproduce the bug. I.e. C-c ! or C-c . on the second > timestamp prompted me with

Re: [O] BUG REPORT - problem with org.elc on clocking out

2015-08-10 Thread Kyle Meyer
Sharon Kimble wrote: [...] >> Do you still get the error after running 'C-u M-x org-reload'? >> > Yes, its still occurring even after closing and restarting emacs. Just restarting emacs will still use the compiled files. Did you try 'C-u M-x org-reload' (the C-u prefix loads the *.el files inste

Re: [O] BUG REPORT - problem with org.elc on clocking out

2015-08-10 Thread Kyle Meyer
Sharon Kimble wrote: > Kyle Meyer writes: [...] >> Just restarting emacs will still use the compiled files. Did you try >> 'C-u M-x org-reload' (the C-u prefix loads the *.el files instead of >> *.elc)? >> > I've just updated org+contrib to todays

Re: [O] Babel error on init with 8.3.1

2015-08-10 Thread Kyle Meyer
Peter Salazar wrote: > Thanks. Tried that, but then when I launch regular Emacs with my init file, > I still get this error: > https://gist.github.com/512c4934d5351a47b2a1 > > Any other ideas? Maybe the builtin Org is being loaded before your elpa version. (In the backtrace you posted from your

Re: [O] Babel error on init with 8.3.1

2015-08-10 Thread Kyle Meyer
Peter Salazar wrote: >> Maybe the builtin Org is being loaded before your elpa version. (In the >> backtrace you posted from your startup, I see a find-file call with an >> Org file.) What does org-version say? > Did that, same error. When I run $ emacs -Q and then immediately do > org-version,

Re: [O] Html export error

2015-08-11 Thread Kyle Meyer
Hello, flaviomo...@unb.br (Flávio L. C. de Moura) wrote: > Hi, > > After the last org update, I am getting an error concerning the head of the > org file: [...] > If I org-html-export-as-html then I get: > > apply: Wrong type argument: listp, #("Flávio L. C. de Moura" 0 21 > (:parent (#0))) This

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-11 Thread Kyle Meyer
Matthew MacLean wrote: > Yo~! > > fa5fd6351605912ec75e783cb626497b1ebe471e introduced a change where > org-babel-script-escape stopped accepting numbers. This caused an issue in > ob-ruby.el where when trying to evaluate something like "2 + 2", you would > get the message: > > `org-babel-script-

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-11 Thread Kyle Meyer
Kyle Meyer wrote: > It seems like org-babel-execute already covers this processing. s/org-babel-execute/org-babel-execute:ruby/ -- Kyle

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-11 Thread Kyle Meyer
Matthew MacLean wrote: > Yeah, my initial patch was actually for ob-ruby, though, when looking for > the change that broke it for the report, I found a change in behaviour of > the escaping function and figured that Ruby might not be the only thing > broken. Yes, that makes sense, but glancing at

Re: [O] org-block-background in 8.3.1?

2015-08-11 Thread Kyle Meyer
Luke Crook wrote: > I'm not sure if I still need to set "org-block-background" in 8.3.1. > > But if I do need to continue setting this, what is the new name for "org- > block-background"? > > (set-face-attribute 'org-block-background nil > :height (round (* 0.9 (face-attribute

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-11 Thread Kyle Meyer
Matthew MacLean wrote: [...] > ...here is the git format-patch of the ob-ruby.el change! > I also created one for a test to check for basic Ruby evaluation > capabilities. It should catch errors that break evaluation like this in > ob-ruby. Thanks. The code change looks good to me and fixes the

Re: [O] org-block-background in 8.3.1?

2015-08-12 Thread Kyle Meyer
Sebastien Vauban writes: > Kyle Meyer writes: >> org-block-background was removed in f8b42e8 ("Don't use an overlay for >> src blocks backgrounds", 2014-07-28) for performance reasons. > > IIRC, we never saw a profiler report showing that it slowed down buf

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Kyle Meyer
Matthew MacLean writes: > Alright, done. Is this acceptable? (Provided that tests don't count towards > line count, of course) Thanks. A few minor comments on the commit message. > Subject: [PATCH] ob-ruby: Fix double-escaping > > * lisp/ob-ruby.el: Remove second call to > `org-babel-ruby-ta

Re: [O] :PROPERTIES: right after ?

2015-08-12 Thread Kyle Meyer
Hello, Boyan Penkov writes: > Hey folks, > > Is is the case that, syntactically, the :PROPERTIES: drawer must be > immediately after the :SCHEDULED: line? Yes, as of version 8.3: http://orgmode.org/Changes.html This includes a function you can use to fix up your files. -- Kyle

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Kyle Meyer
Matthew MacLean writes: > In that case... Here is another patch with your suggestions. I've pushed this (stripping out the test). Thank you for the fix. -- Kyle

Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links

2015-08-12 Thread Kyle Meyer
Bastien Guerry writes: > Nicolas Goaziou writes: > >> Wasn't it a goal to slowly move away from contrib/ and use either ELPA >> or core instead? > > Yes, it is still a goal -- but we don't know when this will happen so > in the meantime, adding a package to contrib/ is okay. OK, I've added it t

Re: [O] M-x org-publish in 8.3.1 results in error "org-check-agenda-file: Wrong type argument: stringp, nil"

2015-08-15 Thread Kyle Meyer
Omid writes: > Hello, > > In Emacs 24.5.1, after updating to the latest Org mode in ELPA > (8.3.1-16-gf6aa53-elpa), org-publish results in the error > > "org-check-agenda-file: Wrong type argument: stringp, nil" I believe this is the same issue as below and should be fixed as of 44c8cd7 ("org-ma

Re: [O] org-shiftright and org-shiftleft bug ?

2015-08-15 Thread Kyle Meyer
David Bonnafous writes: > hi, > > since commit 6f9184a294e4e7914041c2ae42ef147d11e9ebec on file > lisp/org-clock.el on branch 'maint' the functions org-shiftright and > org-shiftleft don't work anymore: Emacs is frozen. I cannot reproduce this using org-shift{left,right} in various contexts.

Re: [O] org-shiftright and org-shiftleft bug ?

2015-08-15 Thread Kyle Meyer
David Bonnafous writes: > my test is: > > 1- I launch emacs -Q > 2- I open a simpe file with those 3 lines > > (add-to-list 'load-path "~/etc/Emacs/org-mode/lisp") > (org-reload) If this is an Org file, then you have already loaded the builtin Org. Try evaluating the first line (e.g., with --eva

Re: [O] M-x org-publish in 8.3.1 results in error "org-check-agenda-file: Wrong type argument: stringp, nil"

2015-08-15 Thread Kyle Meyer
Omid writes: > but now a new error arises upon M-x org-publish: > > user-error: No language for src block: (unnamed) Are you using source blocks without a language specified? #+BEGIN_SRC ... #+END_SRC Here is the post that lead to the change: http://thread.gmane.org/gmane.emacs.o

Re: [O] Bug: property ":CLOCK_MODELINE_TOTAL: today" has no effect.

2015-08-16 Thread Kyle Meyer
Dmitri Makarov writes: > After update to Org-mode version 8.3.1 (8.3.1-16-gf6aa53-elpa) the > property "CLOCK_MODELINE_TOTAL" value "today" has no effect. The > modeline timing for a task display the total time for the task, not > the time since the start of the current day. > > GNU Emacs 25.0.5

Re: [O] Bug: property ":CLOCK_MODELINE_TOTAL: today" has no effect.

2015-08-16 Thread Kyle Meyer
Dmitri Makarov writes: > The problem seems to be in the order of :PROPERTIES: v. :LOGBOOK:. As of 8.3, the properties drawer must immediately follow any planning info. The link below has a function that will fix up your files. http://orgmode.org/Changes.html -- Kyle

Re: [O] ob-ruby org-babel-ruby-table-or-string numeric argument patch

2015-08-16 Thread Kyle Meyer
Hi Nicolas, This is a duplicate that has finally come through: http://thread.gmane.org/gmane.emacs.orgmode/99888 -- Kyle

Re: [O] Bug: babel load error [8.3.1 (8.3.1-16-gf6aa53-elpaplus @ /Users/chromiak/.emacs.d/elpa/org-plus-contrib-20150810/)]

2015-08-17 Thread Kyle Meyer
"Chromiak, Walter" writes: > 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-mode mailing list.

Re: [O] Bug: babel load error [8.3.1 (8.3.1-16-gf6aa53-elpaplus @ /Users/chromiak/.emacs.d/elpa/org-plus-contrib-20150810/)]

2015-08-18 Thread Kyle Meyer
"Chromiak, Walter" writes: >> Uninstall Org from the package-list-packages menu, restart Emacs making >> sure that Org has not been loaded, and then install Org again from the >> package-list-packages menu. > Thank you. I did exactly that, twice, once with the gnu package-list > version and once

Re: [O] Bug: src block face [8.3.1 (8.3.1-56-g17a225-elpaplus @ /Users/ctanis/.emacs.d/elpa/org-plus-contrib-20150817/)]

2015-08-18 Thread Kyle Meyer
"Tanis, Craig" writes: > SRC blocks don't show correct face when a language is specified. > > #+begin_src > correctly shows in 'org-block face > #+end_src > > #+begin_src language > incorrectly shows in 'default face > #+end_src I suspect that in your second block you're using text the would h

Re: [O] Bug: src block face [8.3.1 (8.3.1-56-g17a225-elpaplus @ /Users/ctanis/.emacs.d/elpa/org-plus-contrib-20150817/)]

2015-08-18 Thread Kyle Meyer
"Tanis, Craig" writes: > I don't suppose there's some way to get the best of both worlds: > visibly distinct org-blocks with mode-specific keyword fontification? Not that I'm aware of (but see the recent thread on the removed org-block-background face [1]). You could change the org-block-begin-

Re: [O] Valid use cases for lists?

2015-08-19 Thread Kyle Meyer
Chris Patti writes: > Can anyone give me an example of when it's a good idea to use lists > rather than headlines? I think there are quite a few, but here's one example. I keep a heading with a list of links to potentially interesting articles that I don't have time to process at the moment whe

Re: [O] 8.3.1 bug or misunderstanding -- inline archive

2015-08-20 Thread Kyle Meyer
Hymie! writes: > I have a few items in my org file that are tagged "ARCHIVE". They show up > grey in my emacs window. > > If I sit the cursor on the * bullet and hit TAB, I get a message that says > "Subtree is archived and stays closed. Use to cycle it anyway." > > However, if I sit the curso

[O] Babel support for Stan

2015-08-24 Thread Kyle Meyer
Hi all, I'd like to put ob-stan.el (attached) in the contrib directory. It adds support for the Stan [1] programming language. I wrote it a while back, but a recent post on the Stan ML [2] made me think that others may find it useful (although I'd guess that the intersection of Stan and Org user

Re: [O] Babel support for Stan

2015-08-24 Thread Kyle Meyer
Nicolas Goaziou writes: > I think core is fine for new languages, but you need to update file > headers accordingly. Will do. > A few comments follow. Thanks for your comments. Updated. > You don't use `org-babel-stan-cmdstan-directory' to store FILE, i.e., > FILE is saved in current directo

Re: [O] Babel support for Stan

2015-08-24 Thread Kyle Meyer
Hi Tom, Thomas S. Dye writes: [...] > If it does go there, please consider stubbing out some documentation > using the template here: > > http://orgmode.org/w/?p=worg.git;a=blob;f=org-contrib/babel/languages/ob-doc-template.org;hb=HEAD Thanks for the pointer. -- Kyle

Re: [O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Kyle Meyer
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > Eric S Fraga writes: > >> Replies need not be written to go to both you and the list. > > I would add: and should not. Otherwise people subscribed to the list > get the message twice. Directing a reply to somebody and cc'ing the l

Re: [O] HTML export doesn't work when #+TITLE: is added

2015-08-27 Thread Kyle Meyer
Hello, Lohan Gunaweera writes: > I am running org-mode 8.3.1 with Emacs 24.5.1. When I attempt to export > a file that contains #+TITLE: the export fails. Instead I am shown the > following message: > > "Wrong type argument: listp, #("Title_of_the_document" 0 40 (: parent (#0))) This looks simi

Re: [O] Worg isn't publishing

2015-08-28 Thread Kyle Meyer
Thomas S. Dye writes: > Aloha all, > > Worg hasn't published for several days. > > All the best, > Tom I pushed to Worg last night and noticed that it did not update. I recorded the message below but hadn't got around to emailing the list. 0 git … push -v origin master:refs/heads/master

Re: [O] [BUG?] Org Mode 20150831, ob-R not working

2015-09-02 Thread Kyle Meyer
Hello, thomas writes: > Hi There, > > updating from Org Mode 20150713 to 20150831 (Elpa package) gives me an > error at startup: > > #+BEGIN_EXAMPLE > Warning (initialization): An error occurred while loading > `/home/thomas/.emacs': > > Invalid function: org-babel-header-args-safe-fn When this

Re: [O] org-do-**mote does not work properly on empty headings

2015-09-02 Thread Kyle Meyer
Hello, Konstantin Kliakhandler writes: > Hello, > > When I start a new heading and don't add text yet but click M-right/M-left, > new spaces are tacked to the end so that when I do begin to write, > sometimes there are too many spaces at the front. [...] > Steps to reproduce: > 1. Make a headi

Re: [O] org-do-**mote does not work properly on empty headings

2015-09-02 Thread Kyle Meyer
Konstantin Kliakhandler writes: >(setq org-todo-keywords > '((type "TODO(t!)" "|" "DONE(d!)" "CANCELLED(c@)") >(type "HABIT(h!)" "|" "DONE(d!)") >(type "WAITING(w@/!)" "FUTURE(f!/@)" "STARTED(s@/!)" "|" > "DONE(d!)") >(type "|" "NOTE(n)" "NUMBER(#

Re: [O] Tangling from indirect buffer

2015-09-04 Thread Kyle Meyer
Rainer M Krug writes: > Hi > > it seems that tangling from an indirect buffer does not work. Is this by > design or a bug? I don't think that's by design. > Would it be possible to make this possible? Does the below patch work for you? If so, I can test it more thoroughly and send a proper pa

Re: [O] org-entry-get behaviour

2015-09-04 Thread Kyle Meyer
Hi, Martin Kaffanke writes: > Hi there, > > I can see now, that (org-entry-get (point) "foo") is nil, if > :PROPERTIES: follows the CLOCK: entry. Has it changed to be that > :PROPERTIES: now must be the first thing of the entry? Yes. > If so, how can I > change all my entries at once instead

Re: [O] using variables with :dir

2015-09-05 Thread Kyle Meyer
"Arthur A. Gleckler" writes: > Is it possible to use variables with :dir? For example, I've tried this, > but no substitution of ${SRFI} seems to happen: > > #+BEGIN_SRC sh :dir ~/srfi/split/srfi-${SRFI} :results output silent > :session local > git push > #+END_SRC There may be a better way,

[O] [DEV] Text quoting backports

2015-09-05 Thread Kyle Meyer
Hello, There have been several commits made recently in the Emacs repo related to quoting style in docstrings and messages. I've backported the changes touching Org files and pushed to the branch maint-quotes. I put them there instead of installing them directly on maint to allow time for things

Re: [O] [DEV] Text quoting backports

2015-09-06 Thread Kyle Meyer
Rasmus writes: > Isn't this dependent on Emacs 25? Currently maint target emacs 23 and master > targets 24.3. They will only affect Emacs 25 users, but IIUC none of these would break the any supported Emacs versions. If the Emacs version doesn't have functions that look at text-quoting-style an

[O] [PATCH] Fix tangling in indirect buffers

2015-09-08 Thread Kyle Meyer
Rainer M Krug writes: > Kyle Meyer writes: > >> Rainer M Krug writes: >> >>> Hi >>> >>> it seems that tangling from an indirect buffer does not work. Is this by >>> design or a bug? >> >> I don't think that's by des

Re: [O] [error] orgmode git on emacs 25 - HEAD - org-global-cycle

2015-09-09 Thread Kyle Meyer
Hi, Rainer M Krug writes: > Hi > > when doing global cycling using org in emacs 25.0.50.1, I get an "Before > first heading" error (see backtrace below). > > It doesn't matter if the cursor is before or after the first header in > the document. > > Is this something in my settings or the combina

Re: [O] [PATCH] Fix tangling in indirect buffers

2015-09-09 Thread Kyle Meyer
Nicolas Goaziou writes: > Kyle Meyer writes: > >> Patch against maint attached. > > LGTM. Thank you. Thanks for having a look. Pushed. -- Kyle

Re: [O] Merge branch 'maint'

2015-09-09 Thread Kyle Meyer
Hello, Oleh Krehel writes: > Hi all, > > Was the issue of abundant "Merge branch 'maint'" commit messages > discussed before? I couldn't find a reference... > > It's not a big deal, really, but I personally prefer to have linear > history with commits that actually do stuff. And it should be eas

Re: [O] Merge branch 'maint'

2015-09-10 Thread Kyle Meyer
Oleh Krehel writes: > Why not just cherry-pick the commits from master onto maint, or the > other way around? That would result in no merge commits. The result of doing that is IMO worse than many merge commits. For each fix in maint, you'd end up with two commits that are linked only by a patc

Re: [O] Favorite way of syncing?

2015-09-11 Thread Kyle Meyer
Myles English writes: >> I was wondering what is your favorite way of syncing your org files >> and everything. > > For org files I use git combined with myrepos and it has been working > very well for me for several years. For dotfiles I recently discovered > vcsh, also synced via myrepos. It

Re: [O] Bug: babel python indentations fail in sessions [8.3.1]

2015-09-16 Thread Kyle Meyer
Hello, Benda Xu writes: > Dear All, > > The following code block fails: > >#+BEGIN_SRC python :results output :session > for i in (1, 2): > pass > print "hey" >#+END_SRC > > >#+RESULTS: >: >: ... ... File "", line 3 >: print "hey" >: ^

Re: [O] [PATCH v2] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Kyle Meyer
Richard Hansen writes: >(with-temp-buffer > +(cd (file-name-directory file)) > (org-mode) > (insert (org-file-contents file 'noerror)) Why not just set default-directory instead of c

Re: [O] [PATCH v2] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Kyle Meyer
Richard Hansen writes: > Should I use cd-absolute instead of setting default-directory > directly? It does some sanity checks (among other things) that seem > worthwhile. Looking at these checks, I don't think they are useful in this context, and some change the intended behavior. * One check

Re: [O] Is there an environment for Org syntax?

2014-03-14 Thread Kyle Meyer
n theme, though I know nothing about > it), but AFAIK they are not distributed with Org at this time. Another option for syntax highlighting in HTML is htmlize. After installing htmlize, =(require 'htmlize)= should be all that's needed. -- Kyle Meyer

[O] Spacing after sorting a heading

2014-04-12 Thread Kyle Meyer
Hi, I prefer to have a blank line before headings (and have set `org-blank-before-new-entry' for this effect), but I can't figure out how to preserve this spacing when sorting trees. , | * First heading | | ** | | btext | | ** | | atext | | * Second heading ` If "First heading"

Re: [O] Spacing after sorting a heading

2014-04-17 Thread Kyle Meyer
On 04/17/14 06:52, Bastien wrote: > I fixed this in maint, let me know if this works for you. Works great. Thanks! -- Kyle

[O] [PATCH] org-find-exact-heading-in-directory: Use full path

2014-04-29 Thread Kyle Meyer
* lisp/org.el (org-find-exact-heading-in-directory): Use full path for files. When the path is not included, `org-find-exact-heading-in-directory' will fail when the current value of `default-directory' is different from the argument DIR. TINYCHANGE --- lisp/org.el | 2 +- 1 file changed, 1 inse

[O] [BUG] Formatting of bracketed numbers in included source files

2014-04-29 Thread Kyle Meyer
Hello, I'm experiencing issues including a file during export if that file has a single number surrounded by brackets. ,[ test.org ] | #+include: "test.py" src Python ` ,[ test.py ] | x = [1] ` With the current master (51893a4), trying to export test.org leads to the following e

Re: [O] [BUG] Formatting of bracketed numbers in included source files

2014-04-30 Thread Kyle Meyer
Nicolas Goaziou wrote: [...] > Indeed. This should be fixed. Thank you for reporting it. Yes, the fix works well on my end. Thank you. -- Kyle

Re: [O] Heading vs Headline

2014-05-03 Thread Kyle Meyer
Sebastien Vauban wrote: [...] > Particularly in the Org Beamer documentation, headlines seems the most > used term while there is a tag "ignoreheading"... Function names in org.el tend to use "heading". #+begin_src sh grep defun org.el | grep heading | wc -l #+end_src #+RESULTS: : 28 #+begin_

Re: [O] using org-refile to sort research notes?

2014-05-06 Thread Kyle Meyer
Hi Jay, Jay Dixit wrote: [...] > 2. What's the best way to do this? Should I add all of my chapter.org files > to the agenda using org-agenda-file-to-front? I ask because these are not > TODO headings, just headings with notes and quotes, so I'm not sure if > using org-agenda functionality is app

Re: [O] Make org-iswitchb see all agenda files (not only opened ones)

2014-05-28 Thread Kyle Meyer
Florian Lindner wrote: > Hello, > > can I make org-iswitchb consider not only already opened files but all > agenda files, just like org-agenda? > > I tried one and two prefix arguments, but org-iswitchb always considers > only files that are already opened. `org-iswitchb' is restricted to open b

Re: [O] Make org-iswitchb see all agenda files (not only opened ones)

2014-05-28 Thread Kyle Meyer
Hi Bastien, Bastien wrote: > Hi Kyle, > > Kyle Meyer writes: > >> `org-iswitchb' is restricted to open buffers, but the function below >> should have the behavior you want. >> >> #+begin_src elisp >> (defun org-open-agenda-file () >>

Re: [O] Will there be an updated Org Mode in Emacs 25?

2016-07-19 Thread Kyle Meyer
Bastien Guerry writes: [...] >> last stable release in the 8.3.X series. > > I agree. Let me know if there is anything special to check before > releasing 8.3.5. If not, I will release it this afternoon. The backports from the main Emacs repo are up-to-date. -- Kyle

Re: [O] Bug: org-link-add does not exist

2016-08-08 Thread Kyle Meyer
Hello, Clément Pit--Claudel writes: > The documentation of org-add-link-type says: > > This function is obsolete since Org 9.0; > use `org-link-add' instead. > > But org-link-add doesn't seem to be defined anywhere. I believe this was already fixed with 7064667 (Update replacement for org-a

Re: [O] Avoid add-to-list on local variables

2017-01-04 Thread Kyle Meyer
Hello, Kaushal Modi writes: > Hi all, > > I just noticed this commit on emacs master branch: [...] > So I believe that these changes should be back-ported into the master > branch of org too? Thanks for the heads up. Those changes should be considered. I backport Org-related changes from th

Re: [O] Bug: org-clone-subtree-with-time-shift not asking for time-shift

2017-01-16 Thread Kyle Meyer
Karl Voit writes: > Hi! > > I wrote a blog article on how I am using Org with recurring events > or tasks: > http://karl-voit.at/2017/01/15/org-clone-subtree-with-time-shift/ > > As Michael Maurer stated in a comment below, > org-clone-subtree-with-time-shift does not ask for time-shift > dependi

Re: [O] Bug: org-clone-subtree-with-time-shift not asking for time-shift

2017-01-16 Thread Kyle Meyer
Nicolas Goaziou writes: > Thank you. I applied your patch with an additional check. Thanks. The additional check looks good, as it replaces an error with a more appropriate user-error and gives an error message that is a bit more specific. However, the re-positioning of the org-back-to-heading

Re: [O] Bug: org-clone-subtree-with-time-shift not asking for time-shift

2017-01-17 Thread Kyle Meyer
Nicolas Goaziou writes: > Karl Voit writes: [...] >> You're right, I can confirm your issue. I get "Before first headline >> at position 1 in buffer *temp*" as well. > > Fixed (hopefully) this time. Yes, c31462f33 resolved the issue. That commit also introduced a regression: a blank string

Re: [O] Bug: org-cycle-agenda-files is broken in org-mode version 8.2.10 (which ships with Emacs 25.1) [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/org/)]

2017-01-21 Thread Kyle Meyer
Gaurav Abbi writes: > The function org-cycle-agenda-files is broken in org-mode version 8.2.10 > (which ships with Emacs 25.1). Please refer to the SO link > http://emacs.stackexchange.com/questions/30110/cycle-through-agenda-files-list-not-working This is caused by Emacs's commit 3a5f75193e (*

Re: [O] org-babel-capitalize-example-region-markers

2017-01-24 Thread Kyle Meyer
Vicente Vera writes: > Hello. > > Just noticed that example block headings wrapping code evaluation > results appear downcased (arrows added): > > #+RESULTS: > > #+begin_example <= > ... some result... > #+end_example <= > > In ob-core.el, line 2438 there's a "hidden" variable that controls > w

Re: [O] org-babel-capitalize-example-region-markers

2017-01-24 Thread Kyle Meyer
Kyle Meyer writes: [...] >> Shouldn't this variable be public through the customize interface? > > Yes, I think it should be. And it would be consistent with > org-babel-results-keyword being a defcustom. [...] >> Also, it seems "capitalize" is the wrong v

Re: [O] Sync up the org in emacs master to org maint branch?

2017-01-25 Thread Kyle Meyer
Rasmus writes: > Kaushal Modi writes: [...] >> As a precaution that that does not repeat when emacs 26.x is released, >> should the org version in emacs master be synced with the now latest stable >> org version 9.0.4? > > Yes. We'd want at least one more release from maint, I think, so that'

Re: [O] Sync up the org in emacs master to org maint branch?

2017-01-26 Thread Kyle Meyer
Kaushal Modi writes: > On Thu, Jan 26, 2017 at 1:19 AM Kyle Meyer wrote: > >> We'd want at least one more release from maint, I think, so that'd be >> 9.0.5. > > Would it be OK to sync the current stable 9.0.4, I don't think that's a good idea.

Re: [O] org-babel-capitalize-example-region-markers

2017-01-26 Thread Kyle Meyer
Kyle Meyer writes: [...] > Here's a patch. I'll apply it to master in a day or two if there are no > objections. Applied with 9c111f63 (with :version changed from 25.2 to 26.1). -- Kyle

Re: [O] src block: 'C-c C-c can do nothing useful here' if cursor on blank line

2017-01-27 Thread Kyle Meyer
Eric S Fraga writes: > On Friday, 27 Jan 2017 at 18:44, John Hendy wrote: >> Perhaps this is the intended behavior, but I noticed that I go to >> execute a code block and get the message "C-c C-c can do nothing >> useful here" if I'm not on the actual src block definition or a line >> of code. If

<    1   2   3   4   5   6   7   8   9   10   >