[O] org-velocity only returns top-level headlines?

2013-08-29 Thread Adam Porter
Hi, I'm using org 8.0.7 and I just installed org-velocity from git master. It seems to work, but when searching, it only displays top-level headlines. For example, I have a log.org file with a datetree like this: * 2013 ** 2013-07 July *** 2013-07-19 Friday Found a peanut last night ***

Re: [O] org-tree-to-indirect-buffer: multiple buffers; buffer name containing ID

2013-11-06 Thread Adam Porter
Bastien bzg at gnu.org writes: The attached patch does name indirect buffers after the current tree heading -- thanks for this idea. Would anyone else find this useful? Yes, please. :)

Re: [O] Mobile org - add new items to org file

2013-11-06 Thread Adam Porter
Chris Henderson henders254 at gmail.com writes: Is there any way to make the new entries go to my gtd.org file instead? Also: would it be possible to define where in gtd.org file the new entries should go, like some new entries should go under Tasks and some should go under Projects. There is

Re: [O] fontification lost when using org-goto

2016-04-07 Thread Adam Porter
Julien Cubizolles free.fr> writes: > I've encountered this problem with several themes (dracula, naquadah) > but not with emacs -Q. Are there some special faces to define ? There are quite a few org-mode faces, like org-level-{1..8} for headings. Do you see this behavior with all themes? For

Re: [O] keybinding for inserting simple item, simple plain list

2016-04-07 Thread Adam Porter
org-meta-return (bound to M-RET by default) does this when you're in a plain list. If you're not in a plain list, it inserts a heading. So just put the point in a list and it should do what you want. If you want a key to both create a plain list when you're not in one and add another item when

Re: [O] how to disable smart-tab only on org headline?

2016-04-07 Thread Adam Porter
Upon closer inspection I see that smart-tab-mode refuses to activate in org-mode, so the behavior you're seeing probably is not caused by smart-tab. For me, if the point is on an Org heading without text, like (point marked by "|"): * | lorem ipsum and I press TAB, Org indents the heading,

Re: [O] how to disable smart-tab only on org headline?

2016-04-07 Thread Adam Porter
Hi, It looks like it may be a simple fix to make smart-tab call org-cycle in org-mode. I forked the repo and made the change: https://github.com/alphapapa/smart-tab/tree/org-mode Note, I have not tested it, but I think it should work. Let me know what you find out.

Re: [O] [OT] Git plus Syncthing: breaking hard links

2016-04-06 Thread Adam Porter
Hi Eric, Sorry I'm late, just thought I'd share an idea: did you try symlinks? A symlink points to a path, not an inode, so it shouldn't get broken like a hard link.

Re: [O] [OT] Git plus Syncthing: breaking hard links

2016-04-06 Thread Adam Porter
Hi again Eric, On second thought, while symlinks may be worth trying, they might not work. I've noticed similar issues using Dropbox. If you put the file in your git repo and the symlink in Syncthing's repo, I'm guessing Syncthing will not follow the symlink, in which case it wouldn't sync the

[O] Update to helm-org-rifle

2016-04-13 Thread Adam Porter
Just a note to let you all know that I've updated helm-org-rifle: https://github.com/alphapapa/helm-org-rifle I added commands to search directories and files (as opposed to only open buffers). This should be useful for users who don't keep all of their Org files open, or who use smaller Org

Re: [O] [OT] A new web browser‽

2016-04-08 Thread Adam Porter
Marcin Borkowski mbork.pl> writes: > https://vivaldi.com/ > > Did anyone hear about it? Any thoughts/experiences? "Taking notes > while browsing" seems to be something close to org-capture, no? > Keyboard-driven might mean either vim-like or emacs-like bindings, or > (hopefully) configurable

Re: [O] [OT] A new web browser‽

2016-04-09 Thread Adam Porter
Marcin Borkowski mbork.pl> writes: > I'm not an Opera user, so please enlighten me: what was wrong with it? > (The only info about Opera I have is from one of my friends, who liked > it a lot a few years ago.) I've never really been an Opera user either, other than trying it briefly. >From

Re: [O] Fxporting a new markup

2016-04-09 Thread Adam Porter
Adam Porter alphapapa.net> writes: > I don't know if this answers your question, but you can export HTML tags > like this: > > Keyboard shortcut: html:C-c C-c html: I'm not sure what happened there, but the manual explains that technique here: http://org

Re: [O] how to disable smart-tab only on org headline?

2016-04-09 Thread Adam Porter
Xebar Saram gmail.com> writes: > im pretty sure smart tab activates when im in org, when i issue C-h k i get this > > > It is bound to TAB, , . > > (yas-expand FIELD) > > Expand a snippet before point. If no snippet > expansion is possible, call command `smart-tab'. > > > and i also see

Re: [O] Fxporting a new markup

2016-04-09 Thread Adam Porter
I don't know if this answers your question, but you can export HTML tags like this: Keyboard shortcut: @@html:@@C-c C-c@@html:@@

Re: [O] How to do proper folding and semantic markup

2016-04-05 Thread Adam Porter
Eduardo Mercovich mercovich.net> writes: > Excuse me if this sounds almost philosophical, but in which situation an > indirect buffer may be better that just focusing on the same (original) > buffer? For example, when you are toying with potentially big > modifications and don't want to replace

Re: [O] [OT] A new web browser‽

2016-04-11 Thread Adam Porter
Eric Abrahamsen ericabrahamsen.net> writes: > I had no idea Firefox did this... ...You're not the only one...

Re: [O] Generate custom org-agenda

2016-04-11 Thread Adam Porter
I think you just need this: (org-agenda ARG ORG-KEYS RESTRICTION)

Re: [O] Is it possible to call some function after capture?

2016-04-03 Thread Adam Porter
Marcin Borkowski mbork.pl> writes: > I know about `org-capture-after-finalize-hook', but is it possible for > a function in there to know which capture template was used? Hi Marcin, You might be able to use the :key property of org-capture-plist, which records the selection key of the template

Re: [O] Multipart/Alternative reply to email?

2016-04-03 Thread Adam Porter
As a follow-up to the other replies in this thread, you might be able to use Pandoc to convert the HTML to Org. That's what I do in org-protocol-capture-html, and it works very well.

Re: [O] How to rename the agenda in org-mode?

2016-04-03 Thread Adam Porter
Eric S Fraga ucl.ac.uk> writes: > > On Sunday, 3 Apr 2016 at 18:26, Sharon Kimble wrote: > > [...] > > > Okay, so how can I get the name shortened please? I've just measured it > > and its actually taking up 3.5 inches! That is ridiculous and shouldn't > > happen, so how can it be

Re: [O] How to rename the agenda in org-mode?

2016-04-03 Thread Adam Porter
Oops, that'll teach me to edit elisp without aggressive-indent-mode. :) This should work: (advice-add 'tabbar-buffer-tab-label :before-until (lambda (tab) (with-current-buffer (buffer-name (tabbar-tab-value tab)) (when (equal major-mode

Re: [O] uncommnet-region behavior in org-src blocks

2016-04-03 Thread Adam Porter
Ken, just wanted to say thanks for sharing this. I noticed this recently and wondered about fixing it, and this does it!

Re: [O] How to do proper folding and semantic markup

2016-04-04 Thread Adam Porter
Eduardo Mercovich mercovich.net> writes: > Also less known that it deserves, for focusing I do use narrowing a lot: Yeah, that's basically what tree-to-indirect does, it makes an indirect buffer and then narrows it. So you can widen the indirect buffer and get another view of the whole buffer.

[O] Update to org-protocol-capture-html

2016-04-03 Thread Adam Porter
Hi, Just a note to let you all know that I've updated org-protocol-capture-html: https://github.com/alphapapa/org-protocol-capture-html I've improved the instructions, and I added support for python-readability, which extracts articles from web pages. This makes it easy to quickly capture a

Re: [O] How to do proper folding and semantic markup

2016-04-03 Thread Adam Porter
Hi Eduardo, Just a note, you mentioned that you find the folding very useful, so you might want to try out the org-tree-to-indirect-buffer command. It's very helpful when you're working on a large Org file and only want to work on certain parts of it. I don't see it mentioned often, so I'm not

Re: [O] Detect parent with SCHEDULED or DEADLINE

2016-04-13 Thread Adam Porter
Hi Christophe, I'm still using Org 8.2.4 from Ubuntu Trusty (I'll upgrade Org one of these days...), and I tested your code, and it seems to work properly. For example, testing on this tree: #+BEGIN_SRC org * Test tree ** TODO Parent todo DEADLINE: <2016-04-15 ven.> :PROPERTIES: :ParentProp:

Re: [O] Is there an easy way converting html -> orgmode?

2016-04-24 Thread Adam Porter
"numbch...@gmail.com" writes: > ​Is there relative project which can convert and save current web page > from browser to Org-mode type file?​ Yes, see http://github.com/alphapapa/org-protocol-capture-html :)

Re: [O] org-todo-yesterday and 23:59

2016-04-21 Thread Adam Porter
Samuel Wales writes: > can org-todo-yesterday be made to use [2016-04-20 Wed] instead of > [2016-04-20 Wed 23:59]? I guess you could add :after advice to the function and remove the time from the new timestamp.

Re: [O] org-todo-yesterday and 23:59

2016-04-22 Thread Adam Porter
Adam Porter <a...@alphapapa.net> writes: > Samuel Wales <samolog...@gmail.com> writes: > >> can org-todo-yesterday be made to use [2016-04-20 Wed] instead of >> [2016-04-20 Wed 23:59]? > > I guess you could add :after advice to the function and remo

Re: [O] dotfile managment with #+BEGIN_SRC conf code blocks?

2016-04-22 Thread Adam Porter
The conf-mode package may also be useful. I get syntax highlighting in conf blocks just by having it installed.

Re: [O] whether in drawer?

2016-04-28 Thread Adam Porter
Samuel Wales writes: > thank you. for years i have been trying to advise undo-tree to deal > with visibility properly. namely, to not try to undo or redo > invisibly, but also not to leave too much stuff visible. maybe if i > can get it to do canonical visibility except

Re: [O] How to reorder a footnote list?

2016-04-28 Thread Adam Porter
Sharon Kimble writes: > Org-mode likes to set the footnotes in its 'reference' > section in reverse order, i.e. [fn:60] [fn:59] etc. But in my case it > was going [fn:1] [fn:2] etc. Hmm, this seems strange to me. It hasn't worked that way for me in the past, and I

Re: [O] How to reorder a footnote list?

2016-04-27 Thread Adam Porter
I don't understand: you want the footnotes to be in reverse order? I know very little about latex, so I'm sorry if this is just noise. BTW, this won't help now, and is not meant to be snarky, but keeping your org files in a git repo would help with a situation like this, because you could find

Re: [O] M-x cfw:open-org-calendar not working

2016-04-27 Thread Adam Porter
I would try opening the el files and eval-buffer in each one, then see if the commands are available.

Re: [O] How to reorder a footnote list?

2016-04-28 Thread Adam Porter
Sharon Kimble writes: > I now have '#+STARTUP: fnadjust' in the preamble immediately below the > title, author and date fields and this reorders the footnote list so it > is now going [fn:1] [fn:2] [fn:3] etc, and adds the new footnote at the > end of the list. There

Re: [O] Detect parent with SCHEDULED or DEADLINE

2016-04-14 Thread Adam Porter
Christophe Schockaert writes: > (save-excursion > (save-restriction > (widen) Hi Christophe, Thanks for sharing the solution! Here's something you might want to add to it, something I recently discovered. The `org-with-wide-buffer' macro can replace

Re: [O] Several %(expression) in org-agenda-prefix-format

2016-04-14 Thread Adam Porter
laurent.jucqu...@posteo.de writes: > I've come up with the following (mal-functionning) > org-agenda-prefix-format: > > %(org-get-entry (point) "Case" t) %(org-entry-get (point) "CaseNum" t) > %(org-entry-get (point) "FiscalYear" t) > > But this only gives me : > > Dupond : My first pleadings Hi

Re: [O] BUG: Wrong indentation inside src block

2016-04-15 Thread Adam Porter
fm4d writes: > Hello, I found an indentation bug in the master branch. > > Steps to reproduce: > > * Test 1 > ** Test 2 > #+BEGIN_SRC emacs-lisp > (setq foo 1 > bar 2) > #+END_SRC > > Paste this code into org-mode buffer with org-startup-indented turn on >

Re: [O] [OT] A new web browser‽

2016-04-15 Thread Adam Porter
Ramon Diaz-Uriarte writes: > Faster? How did you do that? For me it is slower, noticeably (I estimate no > less than 3 to 4 times; from less than one second to about two or more > seconds in many simple tasks such as opening a link from a email under > emacs; yes, I am reusing

Re: [O] Several %(expression) in org-agenda-prefix-format

2016-04-15 Thread Adam Porter
Thanks for the LOL. :D

Re: [O] BUG: Wrong indentation inside src block

2016-04-16 Thread Adam Porter
fm4d writes: > I can see that I should have explain it with more clarity. > I am using and the actual code is indented correctly inside > and when tangled, BUT it is displayed incorrectly in the > src block after I return from and org-indent-mode is on. > The code I posted

Re: [O] [PATCH] Make lexical eval default for elisp src blocks

2016-04-17 Thread Adam Porter
John Kitchin writes: Forgive my ignorance--I haven't really dug into lexical scoping yet--but what is the basic effect will this change have on elisp code blocks? Say I'm doing some sort-of literate development and I have some code blocks that `setq' here and there,

Re: [O] Problems with M- on Emacs 25.

2016-04-17 Thread Adam Porter
Ian Barton writes: > c-h w org-metaup > org-metaup is on > > which seems to indicate that the key is correctly bound. > > (require 'org) > (require 'ob-tangle) > (eval-after-load "org" > '(progn > (define-key org-mode-map (kbd "M-") 'org-metadown) >

Re: [O] Detect parent with SCHEDULED or DEADLINE

2016-04-14 Thread Adam Porter
Nicolas Goaziou writes: > Actually, `org-entry-get-with-inheritance' is an internal function, > which shouldn't be called at all. The entry point is `org-entry-get', > which can be called with an appropriate INHERIT optional argument. Ah, I see. So I guess the solution

Re: [O] How to export ASCII paintings to HTML

2016-04-20 Thread Adam Porter
Luis writes: > Still get the build error: org-html-table-cell: Args out of range: > [left left left], 3 It would be easier to help if you provided the code you're trying to export, e.g: #+BEGIN_SRC org * A heading Some text #+BEGIN_VERBATIM | this is cool --->

Re: [O] How to export ASCII paintings to HTML

2016-04-20 Thread Adam Porter
I think you're looking for #+BEGIN_VERBATIM. :)

Re: [O] Exporting Org markup unrendered to html

2016-04-18 Thread Adam Porter
Hi Michael, That is very cool! Thanks for sharing. I can imagine integrating that with org-habits somehow. You might consider putting the lisp files on GitHub somewhere.

Re: [O] Screenshot of agenda: agenda is not shown in time

2016-04-13 Thread Adam Porter
Hi Karl, This seems strange to me too. I tested your code and found that the screenshot always showed the pre-agenda state of the frame, showing the lisp window at the top and the helm-M-x window at the bottom, the way it looked when I hit RET to run the command. However, I tried stepping

Re: [O] Detect parent with SCHEDULED or DEADLINE

2016-04-13 Thread Adam Porter
rom 3074c8ad92a7f822374544afa9f9ada61197e4da Mon Sep 17 00:00:00 2001 From: Adam Porter <a...@alphapapa.net> Date: Wed, 13 Apr 2016 22:37:43 -0500 Subject: [PATCH] org.el: Fix getting special properties (org-entry-get-with-inheritance): If property is an special property, get it with org-entry-properties inste

Re: [O] how to speed up an org-mode file?

2016-07-28 Thread Adam Porter
Sharon Kimble writes: Sorry for the late reply, but I thought I would add, the problem is likely some other packages you have activated, or maybe some particular combination of org-mode settings. As someone else suggested, starting with a clean Emacs configuration

Re: [O] ox-freemind

2016-07-28 Thread Adam Porter
marvin doyley writes: > I am playing with the org-mode to freemind exporter and was wondering > how to show an association between two nodes. For example, lets say I > have an org-file > > #+title: Cars > * Models > ** BMW > * Colors > ** Black > I would like to link

Re: [O] Potential feature request – more automatic updating of cookies

2016-07-28 Thread Adam Porter
Jorge Peixoto de Morais Neto writes: > Should I request the feature of Org automatically updating cookies when using > structure editing commands such as C-c C-x C-w, C-c C-x C-y, , > and friends?  Would it be worth the development cost?  I > unfortunately cannot develop

Re: [O] ANNOUNCE: GNU Hyperbole 6.0.1 for Emacs 24.4 - 25 is released

2016-07-29 Thread Adam Porter
Charles Philip Chan writes: > Robert Weiner writes: > >> GNU Hyperbole (pronounced Ga-new Hi-per-bo-lee), or just Hyperbole, is >> an amazing programmable hypertextual information management system >> implemented as a GNU Emacs package. This is the first public

Re: [O] Bug: Reading currently clocked headline interferes with org-capture-finalize [8.3.4 (8.3.4-93-g0d72c3-elpaplus @ /home/joe/.emacs.d/elpa/org-20160627/)]

2016-07-29 Thread Adam Porter
Joe, thanks for reporting this! I have been noticing this for a while now, but I always thought it must have been a config problem on my end. (Or maybe it is, and we both have it? haha) Just to be clear, here's how I seem to experience it: 1. Clock in any item. 2. Run org-capture with a

Re: [O] make some tangled dotfiles file executable during babel tangling?

2016-07-29 Thread Adam Porter
Xebar Saram writes: > i have officaly moved over to manage all my dotfiles with orgmode > based on this excellent post: > https://expoundite.net/guides/dotfile-management Hey Z, that's really cool, thanks for sharing it!

Re: [O] make some tangled dotfiles file executable during babel tangling?

2016-07-29 Thread Adam Porter
Xebar Saram writes: > i have officaly moved over to manage all my dotfiles with orgmode > based on this excellent post: > https://expoundite.net/guides/dotfile-management Hey Z, thanks for sharing, that's very cool!

Re: [O] Bug: Reading currently clocked headline interferes with org-capture-finalize [8.3.4 (8.3.4-93-g0d72c3-elpaplus @ /home/joe/.emacs.d/elpa/org-20160627/)]

2016-07-30 Thread Adam Porter
Nicolas Goaziou writes: > FWIW I cannot reproduce it on development version with the following > template: > > ("c" "clocks" entry >(file "/tmp/bug.org") "* %?" :clock-in t :clock-resume t) > > IOW the previous clock is properly resumed. Thanks, Nicolas. I'll have

Re: [O] [ANN] thi.ng/org-spec template for tech specs & HTML export theme

2016-08-02 Thread Adam Porter
That looks really nice, thanks for sharing. The automatic changelog from last git tag is nifty.

Re: [O] capture with iceweasel/firefox -- nothing works

2016-07-21 Thread Adam Porter
Samuel Wales gmail.com> writes: > however, i never found any good instructions on what to do to add js > to bookmarks. > i have a menu bar and a location bar + icons. i'd like a button or > icon on the latter if possible. my previous thrashing around caused a > >> symbol which is a drop down

Re: [O] org-ref: renaming/moving an entire pdf library according to a bibtex file

2016-09-13 Thread Adam Porter
Martin Leduc writes: > However, is there a way to bypass the download > (because I already have the file) and to directly move/rename the pdf > to the bibtex-pdfs/ folder while validating my bibtex entry (or > creating a new one, does not matter) ? I haven't yet used org-ref

Re: [O] custom port for postgresql

2016-09-13 Thread Adam Porter
Jakob Lombacher writes: > -(defun org-babel-sql-dbstring-postgresql (host user database) > +(defun org-babel-sql-dbstring-postgresql (host port user database) Hi Jakob, Two suggestions: 1. Generally people put something like "[PATCH]" in the subject so that the

Re: [O] Trouble with capture template and prompt

2016-09-13 Thread Adam Porter
Bart Bunting writes: > Several of the entries I do not use but thought I should include the > entire variable. Hi Bart, Well, that looks okay to me. Going back to the original error message you provided, isn't C-c ! bound to insert an inactive org timestamp by default?

Re: [O] using rgrep, ag, etc in folded org files?

2016-09-12 Thread Adam Porter
You might find this package useful (it's mine ;): https://github.com/alphapapa/helm-org-rifle Or you can install it from MELPA. I have plans to look into using external tools to find matches someday. git grep seems like the most promising, but maybe ag or agrep could work too. In the meantime,

Re: [O] capture with iceweasel/firefox -- nothing works

2016-09-12 Thread Adam Porter
Samuel, in case you missed it, you might find this message helpful: Message-ID:

Re: [O] Trouble with capture template and prompt

2016-09-12 Thread Adam Porter
Bart Bunting writes: > The error that is shown in the messages buffer is: > > Template key: > Capture abort: (error Key sequence C-c ! starts with non-prefix key C-c) I think this means that you have tried to specify the capture template key incorrectly. It would be

Re: [O] Trouble with capture template and prompt

2016-09-15 Thread Adam Porter
Bart Bunting writes: Hi Bart, > I sort of had already narrowed it down but am unsure of how to debug > further. > > Removing %^{Todo} from the template and everything works. Just a shot in the dark, which shouldn't make any difference, but try this template, which works

Re: [O] org-board -- bookmarking and archival

2016-09-15 Thread Adam Porter
Hi Charles, Thanks for sharing that, I will check it out. As was mentioned, it seems ripe for integrating with browser capture. On that note, have you seen org-protocol-capture-html? For articles that are primarily text, I've been capturing articles directly in Org format, but your package

Re: [O] org-file-apps settings?

2016-09-15 Thread Adam Porter
Hi Matt, I'm not sure what the solution is for your system, but here's my configuration: org-file-apps is a variable defined in `org.el'. Its value is ((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default)) I'm on Ubuntu Trusty on this system, and

Re: [O] iOrg

2016-09-15 Thread Adam Porter
Thorsten Jolitz writes: > [WARNING: this is an extremely long post with lots of boxquotes that > might turn out unreadable, you might want to consider this as spam > and just ignore it] Hi Thorsten, I guess I have missed iOrg before, because this looks very interesting! If

Re: [O] org-capture always asks me if i want to deelte excess backup versions of bookmarks?

2016-09-15 Thread Adam Porter
Xebar Saram writes: Hey Z, > i have set bookmark saving to t (bookmark-save-flag 1) Just FYI, t is not the same as 1 here. Check the help for that variable. :) > yet now every time i finish a org-capture i get this dialog: > > Delete excess backup versions of

Re: [O] duration without hours?

2016-09-15 Thread Adam Porter
Matt Price writes: > I have a bunch of questions but will start with what is maybe the most > basic: can I write durations in minutes and seconds only? the extra > 00: is sort of annoying to type when I am tired. I'd recommend using org-capture to add to the table, and use

Re: [O] org-agenda: different face (color) per file?

2016-09-16 Thread Adam Porter
Xebar Saram writes: > this seems it should be trivial but googling didnt help. my org-agenda > view is made out of 5-6 files. can one define a different face (mainly > color) per file? There's no way to do this that I know of, but I guess you could try two approaches: 1.

Re: [O] open pdfs in subdirectories in org-ref

2016-09-23 Thread Adam Porter
童俊翔 writes: > But I failed. What is the problem? Thank you for your help! We need you to be more descriptive than "But I failed." What exactly happens?

Re: [O] mass conversion?

2016-10-07 Thread Adam Porter
Sharon Kimble writes: > In an org-mode document which is then converted I'm using the latex > glossary package, which shows my glossary items as '\gls{foo}'. I'm now > getting to the stage of having a paper copy of the latexed PDF but am > finding that the glossary

Re: [O] [RFC] Change visibility for bracket links

2016-10-07 Thread Adam Porter
Nicolas Goaziou writes: > I'd like to make the following change to bracket links display (i.e., > when `org-highlight-links' contains `bracket', which is the default). > > Basically, I want to leave a visible pair of brackets around the link, Hi Nicolas, I understand

Re: [O] [RFC] Change visibility for bracket links

2016-10-07 Thread Adam Porter
Clément Pit--Claudel writes: Hi Clément, > Adam, what do you think of my earlier suggestion (displaying the > brackets when the pointer is on them, hiding them otherwise? (In the > style of prettify-symbols-mode with unprettify-symbol-at-point) Sorry, I missed that in

Re: [O] Disable org-babel-inline-result-wrap per inline code?

2016-09-21 Thread Adam Porter
"David A. Gershman" writes: > Given the following line: > > * Date: src_perl[:results output :exports none]{print 2016;} > > The result '2016' is surrounded by '=' so that HTML export results in > tags surrounding > the '2016'. > > According to the manual section

Re: [O] Capture with org-directory not working?

2016-09-20 Thread Adam Porter
Rainer Krug writes: > Could you please provide an example? It is not clear to me what you mean - I > prefer simpler! Sure, here's an abbreviated example of custom-set-variables from my init.el: #+BEGIN_SRC elisp (custom-set-variables ;; custom-set-variables was added

Re: [O] [OT] List member's email cracked?

2016-09-20 Thread Adam Porter
Clément Pit--Claudel writes: > Do you have reasons to believe it was actually from that address? > (email headers are very easy to spoof) Yeah, this is known as a "joe-job." Never trust any headers in spam except the ones that come from your mail server.

Re: [O] Capture with org-directory not working?

2016-09-20 Thread Adam Porter
Rainer M Krug writes: > Thanks! the problem was the missing comma, as I had the backquote > already there. This must have changed some time ago, as I used these > templates before. This is working now. > > But now I realized that my other in-file capture templates are giving >

Re: [O] Capture with org-directory not working?

2016-09-21 Thread Adam Porter
Rainer Krug writes: > But It seems to abusing the basic idea of custom-set-variables as this > sounds as if it is used by the customise interface. What I mean is, you can use the customize interface to store your org-capture-templates. It's already set up for that. You can

Re: [O] Capture Bug?

2016-09-21 Thread Adam Porter
li...@wilkesley.net writes: > I have a capture template which prompts for a file name and uses this > to create a filename with a datestamp: > > (defun capture-pelican-draft-file (path) > (let ((name (read-string "Name: "))) > (expand-file-name (format "%s-%s.org" >

Re: [O] Capture Bug?

2016-09-21 Thread Adam Porter
li...@wilkesley.net writes: > the previous commit looks as though it > might have been the one responsible: > > commit 5485170263a46fa17db67b0324c4c4e48bcdfe49 > Author: Nicolas Goaziou > Date: Fri Jun 24 01:11:49 2016 +0200 > > org-capture: Remove forbidden value

Re: [O] Disable org-babel-inline-result-wrap per inline code?

2016-09-21 Thread Adam Porter
"David A. Gershman" writes: > FWIW, Eric had the solution: > > #+MACRO: gendate src_perl[:results output raw]{print ($1*5);} Ah, yes, I tend to forget that :results can take multiple args. > P.S. I should start a blog with all I learn on this. Someone could > benefit

Re: [O] Potential feature request – more automatic updating of cookies

2016-09-17 Thread Adam Porter
Jorge <jorge13...@gmail.com> writes: > [Now sending to the whole list] > On 29 July 2016 at 00:53, Adam Porter <a...@alphapapa.net> wrote: >> It might be enough to advise a few functions to call >> org-update-statistics-cookies, e.g.: >> >> (advi

Re: [O] Add org-bookmark-heading to Org proper?

2016-09-22 Thread Adam Porter
Nicolas Goaziou writes: Hi Nicholas, > I think Org could benefit from a shrunk version of this library, i.e., > `org-bookmark-make-record' and `org-bookmark-jump'. > > However I'm not convinced about `org-bookmark-jump-indirect' since this > variable complicates code and

[O] Bug with behavior of point in cycle commands?

2016-09-22 Thread Adam Porter
I came across this discussion today: http://emacs.stackexchange.com/questions/27210/how-to-prevent-org-global-cycle-glitch It seems like a bug to me, because the visual position of the point does not match its actual position. Shouldn't the cycle commands adjust the point to match where it

Re: [O] Capture Bug?

2016-09-21 Thread Adam Porter
Nick Dokos writes: > That's not going to work: unquoting[fn:1] evaluates the unquoted > element during the setting of org-capture-templates. That would have > the effect of evaluating the function call when the setq is evaluated, > whereas the intent here is to evaluate the

Re: [O] Feedback on changes to org-id

2016-09-21 Thread Adam Porter
Aaron Ecay writes: > The API has the following two functions already: > - org-id-find-file-for: id -> file-name > - org-id-find-id-in-file: id file -> position > > Imagine I add to this API org-id-find-marker: id -> marker. Then I > think we can deprecate (and eventually

Re: [O] Add org-bookmark-heading to Org proper?

2016-09-22 Thread Adam Porter
Kaushal Modi writes: > I have seen mailing list references like the one below a couple of > times. But they have never worked for me. Email clients in browser > like gmail/inbox treat them as email addresses. So when I click them, > I get a compose window with To: email

Re: [O] Feedback on changes to org-id

2016-09-22 Thread Adam Porter
Aaron Ecay writes: > Any change to the API would leave in place a compatibility alias for a > significant period of time (at least one major version of Org), and > there would be deprecation warnings to encourage package authors to > switch to the new API. So packages like

Re: [O] Add org-bookmark-heading to Org proper?

2016-09-22 Thread Adam Porter
Aaron Ecay writes: > The first question that arises is whether you have > completed the copyright assignment process described at > : an > assignment is necessary for any patches to org-mode core. I was expecting

Re: [O] Feedback on changes to org-id

2016-09-22 Thread Adam Porter
Rasmus writes: > I didn't try your package, but from the description it simply allows one > to use the standard Emacs bookmark system, correct? (I’m surprised it > doesn’t work with org files out of the box). Yes, that's right. I was surprised as well, that's why I did it. :)

[O] Add org-bookmark-heading to Org proper?

2016-09-22 Thread Adam Porter
As mentioned in <87oa3gs8tc@gmx.us>, some changes to the org-id functions are being proposed. My org-bookmark-heading package uses org-id-find, so if that function changes or is removed, I'd have to change the package for newer Org versions. Given that, now might be a good time to consider

Re: [O] Something to watch out for when including files

2016-09-20 Thread Adam Porter
Eric S Fraga writes: > Took me a very long time to figure out... the simple solution was to > remove that noexport section entirely from the preamble file. Those are the worst to track down! Thanks for sharing. This would make a good blog post too. :)

Re: [O] Inline HTML?

2016-09-20 Thread Adam Porter
This may be what you're looking for: http://orgmode.org/manual/Quoting-HTML-tags.html

Re: [O] org-agenda: different face (color) per file?

2016-09-16 Thread Adam Porter
Understandable. :) Well, another option would be to create a custom agenda command that put items from different files in different sections. Check the docs for the org-agenda-custom-commands variable (and google it for many examples).

Re: [O] iOrg

2016-09-17 Thread Adam Porter
Thorsten Jolitz writes: Hi Thorsten, > iOrg is two things: Thanks, now I understand much better, > From my point of view, Org-mode's greatest strength (being integrated in > powerful Emacs) is kind of a weakness too. Did you ever try to write Org > syntax without any editor

Re: [O] working with tables can be quite painful...

2016-09-17 Thread Adam Porter
In case this helps anyone, I've found this code makes profiling a lot easier. It automatically instruments the desired functions, runs the code you want to test, removes the instrumentation, and presents the results. #+BEGIN_SRC elisp (defmacro profile-org (times body) `(let (output)

  1   2   3   4   5   >