Re: [O] bug in orgmode parsing of results

2016-12-28 Thread daimrod
On 12/27/16 19:11, Charles C. Berry wrote: > On Tue, 27 Dec 2016, daimrod wrote: > >> Hi, >> >> I've found what I think is a bug in orgmode parsing. >> When the following file is parsed : >> >> * Test >> #+BEGIN_SRC emacs-lisp :ex

Re: [O] bug in orgmode parsing of results

2016-12-28 Thread daimrod
On 12/27/16 19:09, Nicolas Goaziou wrote: > Hello, > > daimrod writes: > >> #+RESULTS: >> :RESULTS: >> * Test2 >> :END: >> > [...] > >> (paragraph >> (:begin 98 :end 119 :contents-begin 109 :con

[O] bug in orgmode parsing of results

2016-12-27 Thread daimrod
Hi, I've found what I think is a bug in orgmode parsing. When the following file is parsed : * Test #+BEGIN_SRC emacs-lisp :exports results :results raw drawer (format "- Test2") #+END_SRC #+RESULTS: :RESULTS: - Test2 :END: The truncated result of `org-element-parse-buffer' is : (src-block (:l

Re: [O] Obsolete org contrib package

2016-11-10 Thread daimrod
On 11/10/16 10:50, Joost Kremers wrote: > > On Tue, Nov 08 2016, Joost Kremers wrote: >> Hi, >> >> On Tue, Nov 08 2016, Nicolas Goaziou wrote: >>> So you mean there is no equivalent to both >>> >>> (ebib-cur-entry-key) >> >> This one was what I was worried about, but on second thought, it >> sho

Re: [O] Obsolete org contrib package

2016-11-10 Thread daimrod
On 11/08/16 13:23, Nicolas Goaziou wrote: > Hello, > > Joost Kremers writes: > >> I just ran into org-ebib.el, a file that's part of org-contrib. >> I noticed that it uses functions from Ebib that were renamed pretty >> much exactly two years ago. (They're internal functions and thus got >> an

Re: [O] match on any TODO state

2015-07-30 Thread Daimrod
raly TODO > ie if i have this in my org file  > > #+TODO: TODO(t) EXP(e) | SUBMITTED(s) K_TRACK(k) PAUSED(p) DONE(d)  > > how can i match it by all the todos like TODO and EXP In the agenda match, I use TODO<>"". That is, all TODO keywords that aren't empty. Best, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] [PATCH] org-contacts.el: Catch 'nextfile in org-contacts-db

2015-07-01 Thread Daimrod
e, it is very likely users (or maybe even other parts of org-mode, I'haven't check) rely on it, and expect to catch exceptions. > +++ org-contacts-modif.el Wed Jun 24 09:13:56 2015 > [snip] I agree with the modifications of org-contacts.el. Maybe org-contacts.el should have its own version of `org-check-agenda-file' (e.g. named `org-contacts-check-contacts-file') until we find a better solution... WDYT? Best, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] org-log-reschedule: inactive time-stamp instead

2015-06-29 Thread Daimrod
any use case for an active timestamp at this location anyway? > If there is not, we could automatically convert it to an inactive > timestamp. > > WDYT? I don't have any use for an active location here. IMO it clutters the agenda with senseless entries. Best, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] org-log-reschedule: inactive time-stamp instead

2015-06-25 Thread Daimrod
har-equal) :test #'char-equal (add-hook 'org-log-buffer-setup-hook 'dmd-org-active-timestamp-to-inactive-when-rescheduled) It works for me but it should probably be fixed in org-mode itself. Best, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] Filters lost after reviving buried, sticky agenda

2015-06-24 Thread Daimrod
Nicolas Goaziou writes: > Daimrod writes: > >> Here is an updated version of the second patch : > > Both look good. Could you can push them. Thank you. Done, thank you. > Regards, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] Filters lost after reviving buried, sticky agenda

2015-06-23 Thread Daimrod
. ,org-agenda-regexp-filter) `(effort . ,org-agenda-effort-filter) - `(car . ,org-agenda-category-filter)) + `(cat . ,org-agenda-category-filter)) (if (org-agenda-use-sticky-p) (progn (put 'org-agenda-tag-filter :preset-filter nil) -- 1.9.1 Best, -- Dai

Re: [O] Filters lost after reviving buried, sticky agenda

2015-06-23 Thread Daimrod
ter) - `(car . ,org-agenda-category-filter)) + `(category . ,org-agenda-category-filter)) (if (org-agenda-use-sticky-p) (progn (put 'org-agenda-tag-filter :preset-filter nil) -- 1.9.1 -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] Filters lost after reviving buried, sticky agenda

2015-06-21 Thread Daimrod
Daniel Borchmann writes: > ghItlhpu' Daimrod : >>> My question is now: is this correct, or did I understand something >>> wrong? If my understanding is correct, how this bug be fixed more >>> elegantly? >> >> It doesn't work at startup when

Re: [O] [PATCH] org-contacts.el: Catch 'nextfile in org-contacts-db

2015-06-21 Thread Daimrod
er "Updating Org Contacts Database..." 0 (length org-contacts-files))) (i 0)) (dolist (file (org-contacts-files)) - (org-check-agenda-file file) (with-current-buffer (org-get-agenda-file-buffer file) (unless (eq major-mode 'org-mode) (error "File %s is not in `org-mode'" file)) -- 1.9.1 > Regards, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] Filters lost after reviving buried, sticky agenda

2015-06-21 Thread Daimrod
r) + `(re . ,org-agenda-regexp-filter) + `(car . ,org-agenda-category-filter)) (if (org-agenda-use-sticky-p) (progn (put 'org-agenda-tag-filter :preset-filter nil) -- 1.9.1 Best, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] [BUG] Bad escape with Babel + org-mode

2015-06-02 Thread Daimrod
Nicolas Goaziou writes: > Hello, > > Daimrod writes: > >> I've encountered a bug when using org-mode in source blocks. I'm using >> the latest version of org-mode from git: >> Org-mode version 8.3beta (release_8.3beta-1195-g1a7364 [...]) >> &

[O] [BUG] Bad escape with Babel + org-mode

2015-06-02 Thread Daimrod
less. e.g. * test 1 ^ point * test 2 ^ point * test 3 ^ point ... Best, -- Daimrod/Greg signature.asc Description: PGP signature

[O] ':post' Direct execution via Emacs Lisp

2015-03-27 Thread Daimrod
, that is, by calling an Emacs Lisp function, not another source block. However, the example only shows how to do it with another source block. Is my understanding correct or not? If so, how can I post process the result with an Emacs Lisp function? Cheers, -- Daimrod/Greg

Re: [O] Extra empty line at the top of the page when tangling.

2014-10-21 Thread Daimrod
;   use warnings; > >   open(my $fh, "<", "test.txt") >   or die "cannot open < file name: $!"; >   <> >   close($fh); > #+end_src > > #+NAME: output-all > #+begin_src perl >   while (my $line = <$fh>) { >   print $line; >   } > #+end_src > > Outputs a perl file, where the 1-st line is blank. What should I do to remove > it? -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] Link to named block

2014-10-20 Thread Daimrod
Bastien writes: > Hi Greg, Hi Bastien, > Daimrod writes: > >> I've made a small function to link to a named block in org files. >> >> #+BEGIN_SRC emacs-lisp >> (defun dmd--org-link-to-named-block () >> "Create an org-link to the named b

[O] Link to named block

2014-10-19 Thread Daimrod
` but it's a big function and I wonder why it's not splitted in smaller functions. (e.g. org-help-store-link, org-w3-store-link, org-image-store-link, ...). If you agree, I could split it. WDYT? Best, -- Daimrod/Greg signature.asc Description: PGP signature

[O] Help on org-export-filter-link-functions

2014-10-03 Thread Daimrod
ty :search-option link))) (t data #+END_SRC And I was wondering whether there is an easier way to retrieve the org properties stored in the text properties of DATA. Best, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] doing a capture and jumping to the file

2014-09-26 Thread Daimrod
pture, but it only > jumps to the capture destination and does not set up the entry. You can customize your capture templates with `M-x org-capture RET C'. Look especially at the plist keywords `:immediate-finish` and `:jump-to-captured`. Best, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] org-elements-parse-buffer and weird property drawers

2014-09-02 Thread Daimrod
Nicolas Goaziou writes: > Hello, > > Daimrod writes: > >> Since the change to `org-re-property' I have problems to display org >> files. My *Message* buffer is spammed with the following error: >> >> Error during redisplay: (jit-lock-function 1119) sig

Re: [O] org-elements-parse-buffer and weird property drawers

2014-09-02 Thread Daimrod
;>>:PROPERTIES: >>>:chf: 21.76 >>>:eur: >>>:END: >>> #+END_EXAMPLE >> >> This should be fixed. Thank you for reporting it. > > Many thanks! It works here now. Hi, Since the change to `org-re-property' I have problems to display org files. My *Message* buffer is spammed with the following error: Error during redisplay: (jit-lock-function 1119) signaled (error "No match 3 in highlight (3 (quote org-property-value) t)") this number changes I know the problem lies in org-re-property because if I revert the change, it works as it did before. Test file: * TODO Test :PROPERTIES: :TEST: test :END: Best, -- Daimrod/Greg

Re: [O] [PATCH] docstring improvement of org-agenda-refile

2014-08-12 Thread Daimrod
Charles Millar writes: > Charles Millar wrote: >> Daimrod wrote: >>> +When GOTO is '(14) or \\[universal-argument] >>> \\[universal-argument], go to the location of the last refiled >>> item. >> ^^ >>

Re: [O] Tab completion for link to file

2014-08-10 Thread Daimrod
> > e.g. [[file+sys:///Users/chris/projects/marketing 2014]] > > Thanks. -- Daimrod/Greg

[O] [PATCH] docstring improvement of org-agenda-refile

2014-08-09 Thread Daimrod
gument], go to the location of the last refiled item. RFLOC can be a refile location obtained in a different way. When NO-UPDATE is non-nil, don't redo the agenda buffer." (interactive "P") -- 1.8.0.2722.gc0242e5 -- Daimrod/Greg

[O] [PATCH] docstring improvement of org-agenda-refile

2014-08-09 Thread Daimrod
gument], go to the location of the last refiled item. RFLOC can be a refile location obtained in a different way. When NO-UPDATE is non-nil, don't redo the agenda buffer." (interactive "P") -- 1.8.0.2722.gc0242e5 -- Daimrod/Greg

[O] [feature request] Matching tags and properties

2014-08-04 Thread Daimrod
se to allow the later to be matched with , that is, to ignore time information. WDYT? -- Daimrod/Greg

Re: [O] per file org-todo-keywords?

2014-07-29 Thread Daimrod
ODO keywords for specific file that i can use > fast access for > > any ideas? It's all in the documentation. see (info "(org) Tracking TODO state changes") >>>You can use the exact same syntax for setting logging preferences >>> local to a buffer: >>> #+TODO: TODO(t) WAIT(w@/!) | DONE(d!) CANCELED(c@) -- Daimrod/Greg

Re: [O] org-contact Export

2014-07-28 Thread Daimrod
Esben Stien writes: > Daimrod writes: > >> It wasn't possible, but it is now. I've slightly modified >> `org-contacts-export-as-vcard' so that it will prompt for a user name >> when called with a prefix argument. > > This is in git? Yes. >> Th

Re: [O] org-contact Export

2014-07-25 Thread Daimrod
nstead of a file name. When the function isn't called interactively it behaves as it did before. WDYT? Best, -- Daimrod/Greg

Re: [O] Bug: org-contacts show "Non-existent agenda file ~/org/* virexit. [R]emove from list or [A]bort?" when trying to find contacts with M-x org-contacts [8.2.7b (8.2.7b-dist @ c:/Users/Seam/A

2014-07-20 Thread Daimrod
well but I guess that it checks for agenda files even if the caller doesn't need them, hence the error. I don't know (yet) if it's possible to disable this behavior, but in the meantime you can remove the file from the agenda list. Best, -- Daimrod/Greg

Re: [O] how to hide titles marked with "DONE"

2014-07-16 Thread Daimrod
her than delete them? You can toggle the archive tag (C-c C-x a) or archive the tasks (C-c C-x C-a). -- Daimrod/Greg

Re: [O] org-contacts email completion by tags

2014-07-13 Thread Daimrod
Daimrod writes: > Thanks, but I'm refactoring org-contacts a bit, and I think I have found > a slightly better way to do that, but in the meantime you can use the > aforementioned hook for your function. It turns out that my idea was wrong, so I have used a version very similar

Re: [O] still seeing semi-regular lockups

2014-06-25 Thread Daimrod
appen, > emacs is unresponsive and can only be killed from the outside. Any tips > on how to debug this would be greatly appreciated. See my previous post: http://thread.gmane.org/gmane.emacs.orgmode/86255/focus=86263 You can wrap `jit-lock--debug-fontify' with: (advice-add 'jit-lock--debug-fontify :around (lambda (fun &rest args) (with-local-quit (apply fun args and then force emacs to break and display a backtrace by sending the SIGUSR2 to the emacs process. Best, -- Daimrod/Greg

Re: [O] org-contacts email completion by tags

2014-06-17 Thread Daimrod
(lexical-let* ((to-return result)) > (list start end > (lambda (string pred &optional to-ignore) to-return))) > Thanks, but I'm refactoring org-contacts a bit, and I think I have found a slightly better way to do that, but in the meantime you can use the aforementioned hook for your function. Best, -- Daimrod/Greg

Re: [O] still seeing semi-regular lockups

2014-06-14 Thread Daimrod
Nicolas Goaziou writes: > Daimrod writes: > >> My guess is that the lockup happens in `org-element--cache-key-less-p', >> called by `org-element--cache-process-request'. > > Probably, but it doesn't mean that this particular function is buggy. > The l

[O] bug#17746: bug#17746: 24.4.50; "byte-code: `recenter'ing a window that does not display current-buffer." when composing a message

2014-06-13 Thread Daimrod
se of this, if the pattern found isn't at the top of the buffer, then the point won't be at the pattern, but at the top of the buffer. Best, -- Daimrod/Greg

Re: [O] can show inline images anymore in orgmode

2014-06-12 Thread Daimrod
elp me to debug this? 1. M-x toggle-debug-on-error RET 2. report the backtrace FWIW, I don't have this error using the latest version (HEAD) of org-mode. Regards, -- Daimrod/Greg

[O] bug#17746: bug#17746: 24.4.50; "byte-code: `recenter'ing a window that does not display current-buffer." when composing a message

2014-06-12 Thread Daimrod
Daimrod writes: > Daimrod writes: > >> Nicolas Richard writes: >> >>> Daimrod writes: >>>>> PS: The change about throwing an error when recentering a window >>>>> that does not display the current buffer breaks ~37 tests in Org >

[O] bug#17746: bug#17746: 24.4.50; "byte-code: `recenter'ing a window that does not display current-buffer." when composing a message

2014-06-12 Thread Daimrod
Daimrod writes: > Nicolas Richard writes: > >> Daimrod writes: >>>> PS: The change about throwing an error when recentering a window >>>> that does not display the current buffer breaks ~37 tests in Org >>>> master branch, even with this fix.

[O] bug#17746: bug#17746: 24.4.50; "byte-code: `recenter'ing a window that does not display current-buffer." when composing a message

2014-06-12 Thread Daimrod
Nicolas Richard writes: > Daimrod writes: >>> PS: The change about throwing an error when recentering a window >>> that does not display the current buffer breaks ~37 tests in Org >>> master branch, even with this fix. I need to digg this further. >> >

[O] bug#17746: bug#17746: 24.4.50; "byte-code: `recenter'ing a window that does not display current-buffer." when composing a message

2014-06-11 Thread Daimrod
t make much sense: in many case (window-buffer) can be > a buffer completely unrelated to Org. Hmm, what was the previous behaviour of `recenter'? (i.e. before it reports an error) Did it just do nothing? Best, -- Daimrod/Greg

[O] bug#17746: bug#17746: 24.4.50; "byte-code: `recenter'ing a window that does not display current-buffer." when composing a message

2014-06-11 Thread Daimrod
\\(" org-outline-regexp "\\)") nil t) (beginning-of-line) -(recenter (prefix-numeric-value N +(org-recenter (prefix-numeric-value N ;;; Saving and restoring visibility @@ -23324,6 +23324,11 @@ package ox-bibtex by Taru Karttunen." (call-interactively 'reftex-citation))) Functions extending outline functionality +(defun org-recenter (&optional arg) + "Like `recenter' but ensure that the `current-buffer' is +properly set." + (with-current-buffer (window-buffer) +(recenter arg))) (defun org-beginning-of-line (&optional arg) "Go to the beginning of the current line. If that is invisible, continue -- 1.8.0.2722.gc0242e5 -- Daimrod/Greg

Re: [O] still seeing semi-regular lockups

2014-06-11 Thread Daimrod
Nicolas Goaziou writes: > Hello, > > Daimrod writes: > >> Okay, so I've found a more or less reliable way to reproduce this bug (on my >> machine at least). >> >> 1. $ emacs -Q -l debug.el test.org >> 2. Expand headline () >> 3. go below

Re: [O] still seeing semi-regular lockups

2014-06-11 Thread Daimrod
Daimrod writes: > Nicolas Goaziou writes: > >> Hello, >> >> Daimrod writes: >> >>> I've attached part of the traces (the whole traces are way too big) and >>> the backtraces. >> >> Thanks for looking into this. However, you ar

Re: [O] org-contacts email completion by tags

2014-06-05 Thread Daimrod
rg-contacts-complete-group'. It's been a long time since I played with the completion mechanism, so I don't remember exactly how it worked. Maybe you can replace the mapcar with your function, but it might a bit more tricky than that, especially to handle empty result. Thanks for your work :) Best, -- Daimrod/Greg

Re: [O] org-contacts email completion by tags

2014-06-04 Thread Daimrod
in a sparse tree or in the *org-agenda* buffer. e.g. C-x b contacts.org RET C-c a m foo+bar RET M-x org-contacts-copy-contacts RET C-x b *Group* RET ;; Switch to Gnus m ;; compose a message C-c C-f ;; goto From C-y WDYT? Best, -- Daimrod/Greg

Re: [O] still seeing semi-regular lockups

2014-06-04 Thread Daimrod
Eric Abrahamsen writes: > Daimrod writes: > >> Bastien writes: >> >>> Hi Eric, >>> >>> Eric Abrahamsen writes: >>> >>>> After Nicolas made the last round of improvements to the caching >>>> mechanism I got far fewer

Re: [O] org-contacts development

2014-06-04 Thread Daimrod
Michael Strey writes: > Hi Daimrod, > > On 2014-05-29, Daimrod wrote: > >> Hmm, I kinda like this. It seems a bit verbose but it's better than >> having multiple values per properties (IMHO). >> >> Though, if we adopt this scheme, we would need to add som

Re: [O] still seeing semi-regular lockups

2014-05-30 Thread Daimrod
Nicolas Goaziou writes: > Hello, > > Daimrod writes: > >> I've attached part of the traces (the whole traces are way too big) and >> the backtraces. > > Thanks for looking into this. However, you are running a compiled Org, > which renders backtraces les

Re: [O] org-contacts development

2014-05-28 Thread Daimrod
add a national code like in the following > example > > :Address_1_Code: 01169 > would lead to "1169" in the propview table. > > so I replaced it with > :Address_1_Code: DE-01169 What is `org-collector' and when does it happen? I've done a quick test and the 0 appears in `org-contacts-db'. Best, -- Daimrod/Greg

[O] bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze

2014-05-28 Thread Daimrod
We can probably close this bug. I haven't been able to reproduce it with the org-mode bundled with the pretest version. Sorry for the noise. Regards, -- Daimrod/Greg

Re: [O] org-contacts development

2014-05-25 Thread Daimrod
Alexis writes: > Daimrod writes: > >> So, as you said, we would need to define and document a specification >> for org-contacts. And we need to be clear from the beginning about >> what it can do and what it can not do. For example, it is unlikely >> that org-conta

Re: [O] org-contacts development

2014-05-24 Thread Daimrod
ty ATM). #+BEGIN_SRC org ,* Contact Name :PROPERTIES: :TYPE: org-contacts :END: ,** PHONE :PROPERTIES: :TYPE: WORK :END: - num1 - num2 #+END_SRC And of course it would be nice if we could keep as much compatibility with the current format :) -- Daimrod/Greg

Re: [O] still seeing semi-regular lockups

2014-05-20 Thread Daimrod
Eric Abrahamsen writes: > On 05/19/14 23:21 PM, Daimrod wrote: >> Daimrod writes: >> >>> I have also semi-regular lockup with org-mode. I have opened a bug on >>> debbugs and here is what Stefan told me to try to debug this: >>> >>>> You

Re: [O] still seeing semi-regular lockups

2014-05-19 Thread Daimrod
Daimrod writes: > I have also semi-regular lockup with org-mode. I have opened a bug on > debbugs and here is what Stefan told me to try to debug this: > >> You can try `debug-on-event'. >> >> There's jit-lock-debug-mode but it doesn't disable inhibit-q

[O] bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze

2014-05-15 Thread Daimrod
Bastien writes: > Daimrod writes: > >> Bastien writes: >> >>> Daimrod writes: >>> >>>> I wonder if it is because `org-adaptive-fill-function' doesn't mix well >>>> with `adaptive-wrap-prefix-mode'... >>> >

Re: [O] still seeing semi-regular lockups

2014-05-15 Thread Daimrod
Eric Abrahamsen writes: > Daimrod writes: > >> Bastien writes: >> >>> Hi Eric, >>> >>> Eric Abrahamsen writes: >>> >>>> After Nicolas made the last round of improvements to the caching >>>> mechanism I got far fewer

[O] bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze

2014-05-15 Thread Daimrod
Bastien writes: > Daimrod writes: > >> I wonder if it is because `org-adaptive-fill-function' doesn't mix well >> with `adaptive-wrap-prefix-mode'... > > (Nicolas has been doing some rewrite for filling functions in the > master branch, maybe it'

Re: [O] still seeing semi-regular lockups

2014-05-15 Thread Daimrod
g hack above, or maybe with debug-on-event, or with C-g C-g > C-g, ...), then look at the *trace..* buffer. I'll try to see what I can find this week end and report back. By the way, if you want to see in which part the infloop occurs, you can attach a gdb debugger to the running emacs, source the /src/.gdbinit file and use the `xbacktrace' command. $ gdb gdb) source /src/.gdbinit ... gdb) xbacktrace You can also use the `bt' command but it contains much more noise. -- Daimrod/Greg signature.asc Description: PGP signature

[O] bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze

2014-05-14 Thread Daimrod
iate problem is that > org-adaptive-fill-function does not terminate (or at least takes too > long to terminate). Ok. > Now, one reason why this might happen here is that > adaptive-wrap-prefix-mode calls org-adaptive-fill-function everywhere, > so it might be called in places where it usually (i.e. when > adaptive-wrap-prefix-mode isn't in use) isn't triggered. Is there a way to disable the effect of `inhibit-quit' in `jit-lock' so C-g interrupt again in order to get an elisp-backtrace with `debug-on-quit'. Otherwise, what's the best way to debug this? Looking closer at `org-adaptive-fill-function'? -- Daimrod/Greg

[O] bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze

2014-05-13 Thread Daimrod
Daimrod writes: > Stefan Monnier writes: > >>> So, that's an org-mode bug, I'll try to see if I can reproduce it >> >> Right: org-adaptive-fill-function should finish fairly promptly. >> >>> (though I wonder why it uses `inhibit-quit'

[O] bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze

2014-05-13 Thread Daimrod
inhibit-quit' was set to T in org-mode. > The flip side is that all code run from jit/font-lock, process filters > and timers should be super extra careful to finish promptly and never > ever get into an inf-loop. I can see why. :) -- Daimrod/Greg

Re: [O] [PATH] Customize org-annotate-file

2014-05-09 Thread Daimrod
Bastien writes: > Daimrod writes: > >> Okay to push? > > Please go ahead, thanks, done. -- Daimrod/Greg

[O] [PATH] Customize org-annotate-file

2014-05-08 Thread Daimrod
" + :group 'org-annotate-file + :type 'boolean) (defun org-annotate-file-ellipsify-desc (string &optional after) "Return shortened STRING with appended ellipsis. -- 1.8.0.2722.gc0242e5 -- Daimrod/Greg

Re: [O] loading all agenda files at startup

2014-04-30 Thread Daimrod
o be? ie, in a state as though > `org-agenda' had already been called, though it hasn't yet? I call `org-agenda-list' in my `after-init-hook' but it is not "silent", that is, it displays the agenda list. Best, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] How to write a org babel hook, which can manupulate result

2014-03-26 Thread Daimrod
Feng Shu writes: > Daimrod writes: > >> Feng Shu writes: >> >>> Hi: >> Hi Feng, >> >> Look at the :post header argument. >> (info "(org) post") > > How to use elisp in :post directly, I don't think you can. You have

Re: [O] How to write a org babel hook, which can manupulate result

2014-03-26 Thread Daimrod
ults output raw drawer > tbl <- data.frame(a=c(1,2,3),b=c(3,2,1)) > print(ascii(tbl),type="org") > #+END_SRC > > #+RESULTS: > :RESULTS: > [pointA] > | |a |b | > |---+--+--| > | 1 | 1.00 | 3.00 | > | 2 | 2.00 | 2.00 | > | 3 | 3.00 | 1.00 | > [pointB] > :END: -- Daimrod/Greg

Re: [O] [PATCH] Support for links to Ebib's entries

2014-03-12 Thread Daimrod
Bastien writes: > Hi Greg, > > Daimrod writes: > >> I've attached a small patch to support links (opening and storing) to >> Ebib's[1] entries. >> >> Can I integrate it? > > Sure, please go ahead, thanks! Done. Best, -- Daimrod/Greg

[O] [PATCH] Support for links to Ebib's entries

2014-03-11 Thread Daimrod
ur-db + (org-store-link-props + :type "ebib" + :link link + :description description + +(provide 'org-ebib) + +;;; org-ebib.el ends here -- 1.8.0.2722.gc0242e5 -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] Some links not working anymore for me

2014-03-10 Thread Daimrod
(org-link-unescape option) > ((assoc type org-link-protocols) > (funcall (nth 1 (assoc type org-link-protocols)) path)) > ((equal type "help") > > François > -- Daimrod/Greg

Re: [O] analog of org-element-at-point for objects?

2014-03-09 Thread Daimrod
d use org-element-link-parser, but that > only works with point at the beginning of a link. > > The reason I was looking into this is here: > http://kitchingroup.cheme.cmu.edu/blog/2014/03/07/Storing-label-links-in-org-mode/ > > It just seems there must be a better way than I implemented. thanks! Best, -- Daimrod/Greg

Re: [O] can org-mode file export to markdown file

2014-03-09 Thread Daimrod
jenenliu writes: Hello, > Can I write a org file and then export it as a markdown file ? Sure, just load the library `ox-md' then you can export to a markdown file with C-c C-e m m -- Daimrod/Greg

Re: [O] org-element-context doesn't parse consistently link with spaces

2014-03-05 Thread Daimrod
Daimrod writes: > Nicolas Goaziou writes: > >> Daimrod writes: >> >>> I had forgotten to rerun make after I pulled the latest version. >>> `org-version' now returns "8.2.5h". >> >> This is still not right. 8.2.5h refers to "m

Re: [O] org-element-context doesn't parse consistently link with spaces

2014-03-05 Thread Daimrod
Bastien writes: > Hi Nicolas and Greg, > > Nicolas Goaziou writes: > >> Daimrod writes: >> >>> I had forgotten to rerun make after I pulled the latest version. >>> `org-version' now returns "8.2.5h". >> >> This is still not

Re: [O] org-element-context doesn't parse consistently link with spaces

2014-03-05 Thread Daimrod
Nicolas Goaziou writes: > Daimrod writes: > >> I had forgotten to rerun make after I pulled the latest version. >> `org-version' now returns "8.2.5h". > > This is still not right. 8.2.5h refers to "maint" branch, where cache > doesn't ex

Re: [O] org-element-context doesn't parse consistently link with spaces

2014-03-05 Thread Daimrod
Nicolas Goaziou writes: > Hello, > > Daimrod writes: > >> I use org-mode version release_8.0.2-101-gce5988 (I follow the git >> upstream) and I tried it with `org-element-use-cache' set to nil. > > There was no `org-element-use-cache' in Org 8.0. Coul

Re: [O] org-element-context doesn't parse consistently link with spaces

2014-03-05 Thread Daimrod
Nicolas Goaziou writes: > Hello, > > Daimrod writes: > >> I think that there is a bug in `org-element-context' because it doesn't >> seem to parse link with spaces consistently. >> >> For example: >> >> #+BEGIN_EXAMPLE >>

Re: [O] [Bug] org-open-at-point adds file+

2014-03-05 Thread Daimrod
Nicolas Goaziou writes: > Hello, > > Daimrod writes: > >> I think that since its recent rewrite, `org-open-at-point' adds 'file+' >> before the name of the application before trying to find the correct >> application. >> >&

[O] org-element-context doesn't parse consistently link with spaces

2014-03-04 Thread Daimrod
nk (:type "file" :path "test%201%202%203" :raw-link "file:test%201%202%203" :application nil :search-option nil :begin 1 ...)) #+END_EXAMPLE Best, -- Daimrod/Greg signature.asc Description: PGP signature

[O] [Bug] org-open-at-point adds file+

2014-03-04 Thread Daimrod
#'org-open-file) #+END_SRC adds `file+' and then search in `org-link-protocols'. -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] http link character mistranslated

2014-03-03 Thread Daimrod
Daimrod writes: Fixed by ngz in commit 567ec87 > mirko writes: > >> Hi, > > Hello, > >> (Org-mode version 8.2.5h (release_8.2.5h-651-g897b60) >> >> I have an https address with an equal sign `=': >>https://forums.virtualbox.org/viewforu

Re: [O] http link character mistranslated

2014-03-02 Thread Daimrod
n an Emacs session with only org mode loaded (no user init) > > Thanks, > > Mirko > > -- Daimrod/Greg

Re: [O] orc-contacts contacting ww.gravatar.com! -- How to switch off?

2014-02-17 Thread Daimrod
ve manual on org-contact. > OK, > I can search for a name as described above, I can add a new contact with M-x > org-capture, but what else? > > Thank you, > > Regards, > > Alexander > -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] [PATCH] org-contacts: Update contacts cache if it contains markers with no buffer

2013-07-20 Thread Daimrod
Øyvind Stegard writes: > Daimrod writes: > > [...] > >> Thanks for the bug report! >> >> Don't you think that checking if one of the buffer would be enough and >> faster? >> With something like (every #'get-file-buffer org-contacts-files) &

Re: [O] [PATCH] org-contacts: Update contacts cache if it contains markers with no buffer

2013-07-16 Thread Daimrod
che that > points to no buffer. This looked to me like the quickest approach for > fixing it without getting to know org-contacts.el better. > Thanks for the bug report! Don't you think that checking if one of the buffer would be enough and faster? With something like (every #'get-file-buffer org-contacts-files) > > Regards, > > Øyvind -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] Circular lists/shared structures in org-element parse-tree

2013-06-28 Thread Daimrod
've implemented a version of equal[1] to compare this kind of lists (to add tests to org-sync). [1] https://github.com/daimrod/Emacs-config/blob/master/elisp/dmd-utils.el#L25 -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] [PATCH] org-contacts: Provide ordering when using cycle completion

2013-06-11 Thread Daimrod
llection predicate) >'(metadata . > - ((display-sort-function . org-contacts-display-sort-function > + ((cycle-sort-function . org-contacts-display-sort-function) > + (display-sort-function . org-contacts-display-sort-function > > (defun org-contacts-complete-group (start end string) >"Complete text at START from a group. -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] [patch] Add a complex org-contacts template to the file header

2013-06-03 Thread Daimrod
Feng Shu writes: Thanks for the patch! It's merged, I've taken the liberty to fix some typos. Regards, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] Handling outdated contact information

2013-05-31 Thread Daimrod
Karl Voit writes: > * Daimrod wrote: >> >> Hi Karl, > > Hi Daimrod! > >>> This is a very good patch, fixing an issue I also do have currently. >> >> I am curious, what was the issue? > > Sure: I do use contacts.org by myself and I tend to co

Re: [O] [PATCH] org-contacts.el: add expire feature

2013-05-30 Thread Daimrod
Karl Voit writes: Hi Karl, > This is a very good patch, fixing an issue I also do have currently. I am curious, what was the issue? Regards, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] [Patch] phone links...

2013-05-30 Thread Daimrod
; could you check on your side that it doesn't break anything in your workflow? Thanks, -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] [PATCH] org-contacts.el: add expire feature

2013-05-30 Thread Daimrod
Feng Shu writes: > Hi Daimrod! > This is the 3 updated patch, if possible, please include it to master. It's merged and pushed. I've also pushed another commit to fix the formatting in some parts of the code and I've found a bug in `org-contacts-split-property',

Re: [O] [PATCH] org-contacts.el: add expire feature

2013-05-30 Thread Daimrod
Feng Shu writes: > Daimrod writes: > >> >> This is not very idiomatic elisp, I would write something more like: >> #+BEGIN_SRC emacs-lisp >> (remove-if (lambda (el) >>(member el expire-list)) >> list) >> #+END_SR

Re: [O] [PATCH] org-contacts.el: add expire feature

2013-05-29 Thread Daimrod
))) I forgot to ask, why do you also modify org-contacts-complete-name? This function isn't used to export to VCARD, but to complete the email in Gnus. -- Daimrod/Greg signature.asc Description: PGP signature

Re: [O] [PATCH] org-contacts.el: add expire feature

2013-05-29 Thread Daimrod
(setq result (concat result "EMAIL:" > (org-contacts-strip-link (car emails-list)) "\n")) > @@ -886,7 +908,7 @@ to do our best." > (when addr > (format "ADR:;;%s\n" (replace-regexp-in-string "\\, ?" ";" addr))) >

Re: [O] org-element

2013-05-24 Thread Daimrod
Nicolas Goaziou writes: > Hello, Hello Nicolas, > Daimrod writes: > >> I'm playing a bit with org-element for org-contacts and I wanted to know >> what is the prefered way to change an element. >> >> For example, ATM, when I want to change an elemen

  1   2   >