Re: [O] Moving my init.el to Org

2014-09-01 Thread Oleh
MELPA. I use my own package to navigate and maintain code (https://github.com/abo-abo/lispy). Here's a short screencast if you haven't seen it before: https://vimeo.com/86894158. regards, Oleh

Re: [O] Moving my init.el to Org

2014-09-03 Thread Oleh
nline since it's a hassle to put it up. > Or how do you do it, that the e.g. javascript.el is only loaded when a > js file is opened? Because this is exactly what I would like to have. It's a three-part setup that goes like this. In hooks.el that's loaded unconditionally: ...

[O] issue with `org-insert-heading'

2014-09-19 Thread Oleh
star. That way they are proper headings with empty headlines. best regards, Oleh

Re: [O] Org Babel Clojure No Prettyprint

2014-10-27 Thread Oleh
Hi, I've just pushed a fix for this. See if works now. regards, Oleh On Wed, Oct 22, 2014 at 3:42 AM, Prathyush wrote: > Hi, > > I was trying to use org-babel-clojure to pretty print a collection and found > out that it always evaluated to: > > "Code block produced

[O] [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region

2014-11-29 Thread Oleh
(set-mark (point)) (goto-char pt) #+end_src The only thing left to do is to patch `org-edit-src-code'. regards, Oleh From 66f117d3bab3be682f136a74376ac8e5ca92876a Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Sat, 29 Nov 2014 13:20:41 +0100 Subject: [PATCH] org-src:

Re: [O] [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region

2014-11-29 Thread Oleh
I've defined a custom `org-babel-edit-prep:elisp' that does this, but it's not allowed to mark region in this function. A patch to `org-edit-src-code' is required for this. Just to sum it up: I want a custom `org-babel-edit-prep:elisp' to be able to mark region, even if it wasn't marked before. regards, Oleh

Re: [O] [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region

2014-11-29 Thread Oleh
eed to turn it into > a general mechanism. Well, I'm not trying to push my markup or anything, I just want my custom `org-babel-edit-prep:elisp' to be able to mark the region. Currently I'm not given that option. > Isn't an advice enough? I don't know how this would work. `org-babel-edit-prep:elisp' is already the exit point of `org-edit-src-code' and it's not allowed to mark the region. regards, Oleh

Re: [O] [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region

2014-12-09 Thread Oleh
mat-patch, and reference the > current thread in the commit message? I can just push it through if you don't mind. I have push access. Is this OK as reference: http://article.gmane.org/gmane.emacs.orgmode/93053 ? regards, Oleh

Re: [O] How to show/hide the snippet block in org-babel when the cursor is inside the snippet text

2014-12-16 Thread Oleh
oving the cursor every time is > not nice. There's a feature like this in https://github.com/abo-abo/worf (installable also from MELPA). If you're in a source block, "[" will bring you to its start, and "i" will hide/unhide it. You can use "j"/"k"/"i" to quickly navigate and fold many source blocks within one heading. regards, Oleh

[O] Bug: bad fontification

2015-01-03 Thread Oleh
ter =bar=. regards, Oleh

Re: [O] org-download.el

2015-01-15 Thread Oleh
issue is with dnd, otherwise it's with the downloading itself. The default `org-download-backend 'uses `url-retrieve', which is a part of Emacs, so if it doesn't work then it's an Emacs bug. regards, Oleh

Re: [O] org-download.el

2015-01-18 Thread Oleh
mat "[[%s]]" filename)) (org-display-inline-images))) If this one doesn't work as well, I can proceed from there. regards, Oleh

Re: [O] org-download.el

2015-01-18 Thread Oleh
Hi all, I've made a blog post regarding today's improvements to org-download at http://oremacs.com/2015/01/18/sprucing-up-org-download/. The post also links to a video demo: https://www.youtube.com/watch?v=dAojpHR-6Uo regards, Oleh

Re: [O] org-download.el

2015-01-19 Thread Oleh
> good signal~ OK, this means that at least `org-download-yank` can be fixed very soon. And, as I recall, the dnd works for some OSX users. Let's not bother the nice org-people and continue the discussion here: https://github.com/abo-abo/org-download/issues/11 regards, Oleh

[O] org-mode automatically sets bookmarks org-capture-last-stored etc.

2013-07-18 Thread Oleh
ively. Also it would be nice to customize the default names of these bookmarks. For the moment, I've just disabled in the source the "org-capture-last-stored-marker" and renamed the others to "oc: org-capture-last-stored-marker" and "or: org-refile-last-stored". But messing with the source is not a permanent solution. regards, Oleh

Re: [O] org-mode automatically sets bookmarks org-capture-last-stored etc.

2013-07-18 Thread Oleh
Since there's no reaction, I'll just show my view of how it could be done. I attach the patch. regards, Oleh On Thu, Jul 18, 2013 at 10:34 AM, Oleh wrote: > Hi all, > > I'd like to point out that it's inconvenient for me > that org stores the bookmarks "or

Re: [O] org-mode automatically sets bookmarks org-capture-last-stored etc.

2013-07-18 Thread Oleh
On Thu, Jul 18, 2013 at 2:41 PM, Oleh wrote: > Since there's no reaction, I'll just show my view of how it could be done. > I attach the patch. > > regards, > Oleh > > > On Thu, Jul 18, 2013 at 10:34 AM, Oleh wrote: > >> Hi all, >> >> I&#x

[O] [PATCH] [TINYCHANGE] optional `bookmark-set'

2013-07-19 Thread Oleh
Hi all, I've added an option to customize the bookmark names that org-mode sets. I'm new to this list and I'd appreciate some feedback. I've posted yesterday, but there was no reply. regards, Oleh 0001-Capture-Refile-use-bookmark-set-conditionally.patch Description: Binary data

[O] [bug?] inherit tags before org-refile

2013-07-23 Thread Oleh
gards, Oleh

Re: [O] shortcut to create a heading already with todo included

2013-07-23 Thread Oleh
uot;) ;; more templates here )) (global-set-key (kbd "C-~") 'org-capture) regards, Oleh On Tue, Jul 23, 2013 at 2:48 PM, Xebar Saram wrote: > Hya guys > > i know this is probably a silly question but does anyone know how to make a > shortcut that inserts a heading

[O] org-speed-commands-default 1 2 3

2013-07-23 Thread Oleh
r to `org-shifttab'. I don't know if people want this, but I like to just put the idea out there. As an extra plus, it's similar to magit shortcuts. regards, Oleh

[O] org-mode `org-capture-templates' %(sexp) must return string restriction

2013-07-26 Thread Oleh
uot; entry (file+headline (concat org.d "gtd.org") "Tasks") "* TODO %(org-set-tags-to \"ELISP\")%^{Brief Description}\n Added: %U %i\n %?\n"))) Any opinions on this? regards, Oleh

[O] org-speed-commands and `org-beginning-of-line-tip'

2013-08-01 Thread Oleh
) (org-beginning-of-line Basically, an additional C-a when already at the beginning of line takes you to the previous heading, where speed commands are possible. Since the normal C-a would do nothing in this case, it's a straight upgrade. regards, Oleh

Re: [O] org-speed-commands-default 1 2 3

2013-08-08 Thread Oleh
On Thu, Aug 8, 2013 at 9:01 AM, Carsten Dominik wrote: > > On 23.7.2013, at 15:48, Oleh wrote: > >> Hi all, >> >> I've recently started using `org-use-speed-commands', and I like it a lot, >> except I had to make one tweak: >> >>(setq o

Re: [O] org-speed-commands-default 1 2 3

2013-09-03 Thread Oleh
of one group to another with "1hh2n". With numeric arguments this would be: "C-1 S-TAB C-p C-p C-2 S-TAB C-n". With speed bindings, I'm not even moving my fingers - I just have the left hand on "123" and the right hand on "hn". Anyway, to each his own:)

[O] Bug: *bold* text isn't fontified unless text is changed on the same line [8.1 (release_8.1-3-ga005db)]

2013-09-27 Thread Oleh
test /italic/ ** underlined test _underlined_ ** code test =code= ** verbatim test ~verbatim~ ** strike-through test +strike-through+ Tested with org-mode from git, as well as with emacs -q. regards, Oleh

[O] ob-clojure.el alternative using nrepl

2013-10-03 Thread Oleh
Hi all, Current method of clojure evaluation is through slime. I couldn't get it to work, when I tried long ago. So I attach one that uses nrepl. Switching between the two should be as easy as using (require 'ob-clojure) or (require 'ob-clojure-nrepl). regards, Oleh

Re: [O] ob-clojure.el alternative using nrepl

2013-10-03 Thread Oleh
I guess that I forgot the attachment. Oleh On Thu, Oct 3, 2013 at 5:45 PM, Oleh wrote: > Hi all, > > Current method of clojure evaluation is through slime. > I couldn't get it to work, when I tried long ago. > So I attach one that uses nrepl. > Switching between the t

Re: [O] ob-clojure.el alternative using nrepl

2013-10-03 Thread Oleh
Here's an updated patch. I use defalias, is that OK? Oleh On Thu, Oct 3, 2013 at 6:23 PM, Bastien wrote: > Hi Oleh, > > Oleh writes: > > > Should I rather put the code in ob-clojure.el with something like > > (defcustom ob-clojure-method nrepl)? > &g

Re: [O] ob-clojure.el alternative using nrepl

2013-10-03 Thread Oleh
Hi Eric, I can make the changes tomorrow. Or you can make them now if you like. I required ob-tangle because it's a pre-requisite for ob-clojure: an error is thrown if I try to load ob-clojure before ob-tangle. So it makes sense to me to require it. regards, Oleh On Thu, Oct 3, 2013 at 8:

Re: [O] ob-clojure.el alternative using nrepl

2013-10-04 Thread Oleh
rify, this code will work: (setq org-babel-tangle-lang-exts nil) (require 'ob-clojure) whereas (require 'ob-clojure) will not. regards, Oleh > Alright, I just pushed this up. > > Thanks for testing, I haven't used Clojure in a couple of years now > (since happily mov

Re: [O] capture, attach, link files from web

2013-10-07 Thread Oleh
match-string 2 name) (match-string 1 name)) name) (add-to-list 'org-capture-templates '("p" "Pdf article" entry (file+olp (concat org.d "gtd.org") "Projects" "Scientific Articles")

Re: [O] capture, attach, link files from web

2013-10-08 Thread Oleh
ead "Simulation of cavitation in water saturated porous media considering effects of dissolved air" by D Gawin, L Sanavia Since this file is an org attachment, it's synchronized along with my whole org folder to my laptop. regards, Oleh On Tue, Oct 8, 2013 at 12:43 PM, Myl

[O] C-S-up and C-S-down throws an error

2013-10-15 Thread Oleh
ds. But that's just my opinion. regards, Oleh

[O] Drag images from Firefox to org-mode

2013-10-16 Thread Oleh
-mode. It will be downloaded in async to a subdirectory of the current directory and the link will be inserted at point. For stubborn images that are links I can right click to copy image location and call `org-store-image-clipboard' interactively. I hope it's useful to someone and that I'm not re-implementing standard functionality. regards, Oleh regards, Oleh

Re: [O] Drag images from Firefox to org-mode

2013-10-16 Thread Oleh
option for local files. Other suggestions can be raised as issues on github, so it's easier to keep track of them. regards, Oleh On Wed, Oct 16, 2013 at 4:22 PM, Xebar Saram wrote: > Thx Oleh ,This is really amazing! > > Ive been waiting for ages for something like this. a

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Oleh
was giving me some garbage in addition to the image. So unless I know reliably the format of the garbage I can't use url-retrieve. But if I figure it out, I could add url-retrieve as the third custom method. The updates are at https://github.com/abo-abo/org-download regards, Oleh On Thu, Oct 1

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Oleh
Hi Carsten, You can commit it whenever you like. I don't currently have access to Windows or OSX, so it's hard to see if the code works everywhere. regards, Oleh On Fri, Oct 18, 2013 at 11:28 AM, Carsten Dominik wrote: > Hi Oleh, > > this is very nice thank you. > &g

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Oleh
Hi Nicolas, I've just tested Rick Frankel's code, and I got a broken jpg (it's half green and distorted). It appears so it org-mode inline and in eog, but it displays properly in its own Emacs buffer. Looks like it needs more work. regards, Oleh On Fri, Oct 18, 2013 at 11

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Oleh
> > > Did you try the url-retrieve or the url-retrieve-alt branch ? > The url-retrieve-alt branch. Oleh

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Oleh
d for when called with a prefix arg, but I don't know how to do that yet. regards, Oleh On Fri, Oct 18, 2013 at 8:24 PM, Rick Frankel wrote: > On 2013-10-18 11:36, Nicolas Richard wrote: > >> Note that using >> (let ((coding-system-for-write 'no-conversion)) >>

Re: [O] Drag images from Firefox to org-mode

2013-10-19 Thread Oleh
to the office. Please send me (again) the url of the github repos with > the current set of changes and I will update it so that it will allow > the current functionality but have less magical default behavior. > The repo is at https://github.com/abo-abo/org-download. I'll probably add some fixes and functionality in the meantime. regards, Oleh

Re: [O] Drag images from Firefox to org-mode

2013-10-21 Thread Oleh
gt; > message/option to fix. > > I suggest that the right place for those files is as attachment, and > that's where customization should happen. The function choosing the > right place (i.e. org-download--dir) could be turned into a defvar or > defcustom which could then be set either to #'org-download--dir or > #'org-attach-dir. Yes, this should be added. Oleh

[O] [PATCH] ob-ruby.el fix for :session parameter

2013-10-21 Thread Oleh
n :results output s = "1" s = "2" s = "3" puts s #+end_src #+RESULTS: : : 3 I just wrap the code in "conf.echo=false\n" and "\nconf.echo=true\n". I have to set it back to true, otherwise it hangs. regards, Oleh 0001-ob-ruby.el-fix-result-of-results-output-session-comb.patch Description: Binary data

Re: [O] [PATCH] ob-ruby.el fix for :session parameter

2013-10-21 Thread Oleh
Hi Eric, Here's the update. regards, Oleh On Mon, Oct 21, 2013 at 7:42 PM, Eric Schulte wrote: > Hi Oleh, > > Thanks for submitting this patch. Instead of the current progn/setq > approach could you simply add your the "conf.echo=false\n" lines to the > follow

[O] [PATCH] improve doc for org-use-speed-commands

2013-10-23 Thread Oleh
o add this lambda to the docstring. regards Oleh 0001-lisp-org.el-add-an-example-for-org-use-speed-command.patch Description: Binary data

Re: [O] Drag images from Firefox to org-mode

2013-10-23 Thread Oleh
On Wed, Oct 23, 2013 at 7:13 PM, Rick Frankel wrote: > On 2013-10-20 16:42, Nicolas Richard wrote: >> >> Oleh writes: >> This can be fixed with a platform-aware function that checks both the >> clipboard and the cut-buffer. >> >> I suggest to ask for a s

Re: [O] Setting the PDF viewer

2013-10-26 Thread Oleh
t;) ("\\.pdf::\\([0-9]+\\)\\'" . "evince \"%s\" -p %1") ("\\.pdf.xoj" . "xournal %s"))) Just change evince to your favorite viewer. And make sure that you're calling `org-return' to open (it&#

[O] [PATCH] lisp/ob-C.el (org-babel-C-execute): turn on inhibit-lisp eval

2013-10-30 Thread Oleh
Hi all, Here's a patch to turn this: #+begin_src C :results output puts("[1] 2 3 3"); #+end_src #+RESULTS: : [1] into this: #+begin_src C :results output puts("[1] 2 3 3"); #+end_src #+RESULTS: : [1] 2 3 regards, Oleh From 3cde8ae1316762e106c2229a1661b31de56bc3f9

Re: [O] [PATCH] improve doc for org-use-speed-commands

2013-11-05 Thread Oleh
Hi Bastien, Here's the updated patch. regards, Oleh On Tue, Nov 5, 2013 at 5:34 PM, Bastien wrote: > Hi Oleh, > > Oleh writes: > >> I have my headings abbreviated to one star and often >> instead of executing org-speed-command, I get a letter inserted >> bec

[O] Is it possible to delay org-babel fontification if the source block isn't visible?

2013-11-18 Thread Oleh
+STARTUP: folded, so I'm thinking that there could be an optimization that fontifies a source block only when it's visible. Is this feasible/already implemented? regards, Oleh

Re: [O] Keyboard shortcut - is there a principle behind them?

2013-12-06 Thread Oleh
tcuts are set in stone. You can customize all of them if you want to do so. For instance, and probably a lot of people will disagree, it doesn't make sense for me to have `previous-line' on C-p. So I swap C-p and C-h: (keyboard-translate ?\C-h ?\C-p) (keyboard-translate ?\C-p ?\C-h) Oleh O

[O] [PATCH] Add ob-J.el

2013-12-20 Thread Oleh
Hi all, Here's a patch to add babel support for J. I couldn't figure out how to make ob-J.elc a target for make, maybe someone can fix this. regards, Oleh From 0139af8534dc33911ed1a24a9702a156ae46c99d Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Fri, 20 Dec 2013 14:43:59 +01

Re: [O] [PATCH] Add ob-J.el

2013-12-21 Thread Oleh
Hi Tom, Yes, I'll write the documentation some time soon. regards, Oleh On Fri, Dec 20, 2013 at 6:22 PM, Thomas S. Dye wrote: > Aloha Oleh, > > Oleh writes: > >> Hi all, >> >> Here's a patch to add babel support for J. >> I couldn't figure o

Re: [O] [PATCH] Add ob-J.el

2013-12-21 Thread Oleh
DO Something work-related 5 SCHEDULED: <2013-12-27 Fri 10:00 +1w> > If you have time to put some documentation up on Worg as a new [1] > linked from [2] that'd be great. I'll do this soon. regards, Oleh

Re: [O] [BUG] Add ob-J.el

2013-12-21 Thread Oleh
or inf-ruby. But as it's just a simple comint interaction, I could eventually remove this dependency. regards, Oleh

[O] Make ,* show up as * in babel blocks

2013-12-23 Thread Oleh
rd-comma-star) Is this good enough to add to org-babel core? Maybe someone has a different option to fix the issue? regards Oleh

Re: [O] [PATCH] Add ob-J.el

2013-12-24 Thread Oleh
Hi all, The doc for ob-J is now available at http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-J.html regards, Oleh On Fri, Dec 20, 2013 at 6:22 PM, Thomas S. Dye wrote: > Aloha Oleh, > > Oleh writes: > >> Hi all, >> >> Here's a patch to add babel

Re: [O] Drag images from Firefox to org-mode

2014-01-04 Thread Oleh
Hi all, Here's a patch to add org-download to org-mode. I've had the additional features (the screenshots and local files) implemented some time ago, but never got around to wrapping it up. Feedback welcome. regards Oleh > There's still two functionality bits that I want to

[O] Navigating org-mode customization file

2014-01-12 Thread Oleh
y, maybe it's useful for at least one more person other than me. The code is at https://github.com/abo-abo/lispy, as well as "lispy" in MELPA. It's not necessary to enable `lispy-mode' to call `lispy-goto' with M-x. However, if it's enabled, the shortcut is "g" when point is positioned before "(" or after ")" in the code. regards, Oleh

[O] Screencast of lispy.el with org-mode code base

2014-02-17 Thread Oleh
s tags to the database and no parsing is done further unless some files have changed. I also demonstrate near the end of the video how to customize the info you get for the top-level tags. So initially `eval-after-load` tags were plain and didn't show what they were doing. But then I added `(eval-after-load . 1)` to `lispy-tag-arity` and after a call to `lispy-build-semanticdb` the `eval-after-load` tags include one more sexp, which is the file argument of the form. I hope you like the package and feedback is welcome. regards, Oleh

[O] Does org export have something like Lisp quasiquote and unquote?

2014-02-19 Thread Oleh
HTML #+END_HTML Is something like this possible? regards, Oleh

Re: [O] Does org export have something like Lisp quasiquote and unquote?

2014-02-19 Thread Oleh
tion with a makefile-like mechanism. Here's the org file that I'm working on: https://raw.github.com/abo-abo/lispy/gh-pages/index.org. As you see a lot of redundancy there and also several huge ugly HTML blocks. Btw, is there a way to #include HTML blocks? Here's the export result: http://abo-abo.github.io/lispy/. regards, Oleh

Re: [O] Does org export have something like Lisp quasiquote and unquote?

2014-02-20 Thread Oleh
x27;s results on export. > > Take a look at the (info "(org) Working With Source Code") portion of > the Org-mode manual. > Thanks, I'll look there. Is it possible to have a code block that evals to a string wrapped in #+BEGIN_HTML, #+END_HTML and be treated as a HTML block on export? regards, Oleh

[O] ~"~ doesn't register as verbatim

2014-02-22 Thread Oleh
quot; on HTML export? regards, Oleh

Re: [O] ~"~ doesn't register as verbatim

2014-02-24 Thread Oleh
Found the work-around: @@html:"@@ will do what I want. regards, Oleh On Sat, Feb 22, 2014 at 5:06 PM, Oleh wrote: > Hi all, > > I'm using verbatim markers to export them as in HTML. > But ~"~ isn't recognized as verbatim. I've tried fiddling with >

Re: [O] Drag and drop, pasting images and files

2014-02-24 Thread Oleh
mented at org-mode/contrib/lisp/org-download.el. All you have to do is: (require 'org-download) It also does screenshots. Any issues can be reported to https://github.com/abo-abo/org-download/issues regards, Oleh

Re: [O] ~"~ doesn't register as verbatim

2014-02-25 Thread Oleh
> Hello Alan, > > Alan Schmitt wrote: >> Oleh writes: >>> On Sat, Feb 22, 2014 at 5:06 PM, Oleh wrote: >>>> I'm using verbatim markers to export them as in HTML. >>>> But ~"~ isn't recognized as verbatim. I've tried fiddl

Re: [O] ~"~ doesn't register as verbatim

2014-02-25 Thread Oleh
mph-re` directly, instead I set `org-emphasis-alist` to itself and let the customize interface call the handler for me. regards Oleh

Re: [O] Drag and drop, pasting images and files

2014-02-25 Thread Oleh
> Niiice! Thanks for sharing Oleh. > > Does anyone know if a paste hook would be possible for the exact same use > case? > `org-download-yank` will insert the image based on the address in the kill ring. Address can be a path to a local file (remember "0 w" in `dired`)

Re: [O] differnace between

2014-02-25 Thread Oleh
with another PC should also work, as org will search for the needed id across all known org files. So as long as the file you move across different PCs is in the search path, the links will still work. regards, Oleh

[O] (eval-when-compile (require 'async)) in org-download.el

2014-02-27 Thread Oleh
ts include: - setting `no-byte-compile` locally in org-download.el - suggesting to use `(require 'org-download "org-download.el")` instead of `(require 'org-download)` regards, Oleh

[O] [PATCH] lisp/org.el (org-open-at-point): prioritize link

2014-02-27 Thread Oleh
Hi all, Can someone check this patch and commit it. It allows to open links that look like this: [[id:164552ee-b92d-4af6-9570-60d039876fac][=foobar=]] regards, Oleh From 6e848b0e601c9a28300b00aafcef8f2efda973f4 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Thu, 27 Feb 2014 14:23:35

[O] How to ensure that (org-get-heading) is pretty?

2014-03-03 Thread Oleh
and hasn't been expanded yet, `org-get-heading` returns a plain string. What's a proper way to make `org-get-heading` always return a fontified string? regards, Oleh

Re: [O] Screencast of lispy.el with org-mode code base

2014-03-04 Thread Oleh
o/lispy/gh-pages/index.org. Actually, I have a few questions on the org to HTML export of this document: How do I make HTML links that refer to heading, e.g. not http://abo-abo.github.io/lispy/#sec-3-1, but http://abo-abo.github.io/lispy/#lispy-forward? And is there a good method to put babel source blocks into a HTML table? I'm just using #+HTML: at the moment and it's pretty ugly. regards, Oleh

Re: [O] Screencast of lispy.el with org-mode code base

2014-03-04 Thread Oleh
'... > Thanks again, Sebastien, I'm off to make an epic macro to replace all those ID with CUSTOM_ID. regards, Oleh

Re: [O] How to ensure that (org-get-heading) is pretty?

2014-03-04 Thread Oleh
my implementation is using font-locked strings, while `helm-org-headlines` uses plain strings. And I don't like the whole menu-like interface. A list is better in my opinion. So the question still stands. regards, Oleh

Re: [O] advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?

2014-03-04 Thread Oleh
Then just give a few headings a unique enough name and you're done. regards, Oleh On Tue, Mar 4, 2014 at 4:43 PM, Xebar Saram wrote: > Hi all > > i find the normal C-c w then manually choosing a file to allocate each > 'capture' pretty slow. i am looking for any advice

[O] Links in tables: could the plain text also look good?

2014-03-06 Thread Oleh
oved. I'd like some feedback on whether: - it's done already and I just haven't enabled this behavior - it can't be done because of some complex issue - it can be done, but just isn't a priority In the third case maybe some pointers on where to start implementing would help. regards, Oleh

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Oleh
quot;g" and "h" - those are my two favorites. `helm` and `ace-jump-mode` respectively are required in order for these commands to work. I'm planning to add the package to MELPA, so the dependencies would be downloaded automatically, but I don't want to add it until I've assigned all the alphanumeric keys:) regards, Oleh

Re: [O] Get to next NEXT headline with one key

2014-03-09 Thread Oleh
at minimizing the amount that you have to remember. I don't know much about vim, but I've glimpsed its notion of verb-modifier-object, at least the modifier-verb part: "Kn" is the modifier (keyword-next) and "j" is the verb (down). Or "4" is the modifier (4 times) and "j" is the verb etc. You don't have to remember each combination together, you just have to remember the components and combine them as you like. So my suggestion for you is consider not defining `set-keyword-next` and binding it to some random free key binding, but using "Kn" for a while, maybe it'll grow on you. I can think of one more use for "Kn": "Kn+" could add a heading with keyword "NEXT" ("+" is the verb to add an empty heading). regards, Oleh

[O] `org-attach-file-list' doesn't allow dotfiles

2014-03-10 Thread Oleh
) nil x)) + (mapcar (lambda (x) (if (string-match "^\\.\\.?$" x) nil x)) (directory-files dir nil "[^~]\\'" Is there a reason behind this dot file restriction? Would anything break if the proposed change was made? regards, Oleh

Re: [O] advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?

2014-03-11 Thread Oleh
> On Tue, Mar 4, 2014 at 6:19 PM, Xebar Saram wrote: > Thx Oleh > you said you dont refile much latley, is there a better solution ;-) There is, actually. It's quite simple: capture all the tasks into the proper place right away, instead of dumping them into one place and sor

Re: [O] advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?

2014-03-11 Thread Oleh
> I can post the code on github if anyone's interested in the details. > > yes please :) > Posted here: https://github.com/abo-abo/org-fu Oleh

[O] [PATCH] org.el (org-delete-property): Remove bogus properties

2014-03-12 Thread Oleh
Hi all, Can someone have a look at this patch and check it in? It fixes `org-delete-property` offering to delete "CATEGORY" property although it's not present. Also skip completion when there's only one candidate. regards, Oleh From ad4415a4cbf67955c636b8a3384f3163cac61462

Re: [O] [PATCH] org.el (org-delete-property): Remove bogus properties

2014-03-13 Thread Oleh
Hi Bastien, I've pushed a bugfix related to the patch. `org-entry-delete' was being called with 3 args, although it takes 2. I hope I understood it correctly. Could you please check? regards, Oleh On Wed, Mar 12, 2014 at 7:22 PM, Bastien wrote: > Hi Oleh, > > Oleh write

Re: [O] Screencast of lispy.el with org-mode code base

2014-03-14 Thread Oleh
er a `macroexpand-all`. And look at `lispy-flatten` ("xf"): |(org-defkey org-mode-map [(meta up)]'org-metaup) -> |(define-key org-mode-map (org-key [(meta up)]) 'org-metaup) Nifty, right? regards, Oleh

Re: [O] mark parent element?

2014-03-14 Thread Oleh
(set-mark (point)) > (goto-char (plist-get parent-props :end)) > (exchange-point-and-mark) > ))) > ) > ) The probelm here is that `(org-element-at-point)` doesn't always have a parent. I'm using plain outline functions for this purpose. See `worf-mark-left' at https://github.com/abo-abo/worf/blob/master/worf.el. regards, Oleh

Re: [O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode

2014-04-10 Thread Oleh
Hi, I tried to have a look at your patch, but ob-scheme has stopped working for me. Can you send me the minimal init.el to make your scheme-test.org work in interactive mode? regards, Oleh On Tue, Apr 8, 2014 at 3:56 PM, KDr2 wrote: > Hi, folks > > Has anyone reviewed this patch? Or i

[O] update to ob-clojure.el

2014-04-10 Thread Oleh
lete? And maybe 'slime as well? regards, Oleh

Re: [O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode

2014-04-10 Thread Oleh
ault-implementation 'guile) > I've got emacs trunk, GNU Guile 2.0.9, geiser from MELPA and I'm getting the results in a *Geiser dbg* window instead of org-mode when I eval. So the issue is either with ob-scheme or with my geiser, which is the development version, but I don't see why it shouldn't work. regards, Oleh

Re: [O] [ANN] Firefox extension for org-protocol and org-capture

2014-04-10 Thread Oleh
g/fr/firefox/addon/org-mode-capture/ > (review pending from Mozilla people). Hi Olivier, Thanks for the great extension. No more meddling with bookmarks and keyconfig for me:). Oleh

Re: [O] update to ob-clojure.el

2014-04-10 Thread Oleh
quot;. I've reverted it. I'll keep this in mind for future commits, thanks. regards, Oleh

Re: [O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode

2014-04-10 Thread Oleh
Of course it works, that's the first thing I tried. The issue probably is that the implementation of geiser functions that ob-scheme uses has been changed. Oleh On Thu, Apr 10, 2014 at 11:02 AM, KDr2 wrote: > Does your "M-x run-geiser" work? It will lead you to a schem

Re: [O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode

2014-04-10 Thread Oleh
> Version of geiser I installed: geiser-20140326.951, If it has been changed, > it must be changed in the past 2 weeks ... > That's exactly the version that I have. Which org-mode are you using?

Re: [O] update to ob-clojure.el

2014-04-14 Thread Oleh
to work with org when I tried a year ago, so I don't know if it's working now. And CIDER replaces nREPL, so nREPL should be dropped at some point. On the other hand, since nREPL isn't being edited now it's unlikely to produce the same problem as CIDER did (the function used by ob-clojure was removed from CIDER). regards, Oleh

Re: [O] ob-clojure: ':results pp' parses the output as a string value

2014-04-14 Thread Oleh
Hi Phil, Could you test my last commit? Your case should be working now. regards, Oleh

Re: [O] Fast Access to TODO States without C-t

2014-04-15 Thread Oleh
t;hjkl" behave like Meta+arrows "cf" - make "hjkl" behave like Shift+Meta+arrows "cs" - make "hjkl" behave line Shift+arrows "q" - return from the four modes above Try it out, perhaps you'll like it. regards, Oleh

Re: [O] Organizing org-mode files: Tree view

2014-04-28 Thread Oleh
g-wiki-not-found `((name . "Create org-wiki") (dummy) (action . (lambda (x) (helm-switch-to-buffer (find-file (format "%s/%s.org" helm-org-wiki-directory x))) ;;;###autoload (defun helm-org-wiki () "Select an org-file to jump to." (interactive) (helm :sources '(helm-source-org-wiki helm-source-org-wiki-not-found))) (provide 'helm-org-wiki) regards, Oleh

[O] bug#14910: org-mode `org-open-at-point' doesn't follow id links

2013-07-23 Thread Oleh Krehel
ly so that the links work the same for all users. Imagine that I've sent him a pdf with links that don't work and then I told him that he needs to install some specific software from who knows where just to make the pdf links work. regards, Oleh

  1   2   >