[O] LaTeX preview

2013-01-11 Thread Daimrod
Hi, Is there an #+STARTUP parameter to automatically display LaTeX fragments? If not, where do I have to look to add it? -- Daimrod/Greg pgpwOUfDZhYGv.pgp Description: PGP signature

Re: [O] LaTeX preview

2013-01-11 Thread Daimrod
Bastien writes: > Hi Daimrod, > > Daimrod writes: > >> Is there an #+STARTUP parameter to automatically display LaTeX >> fragments? > > Nope, sorry. Here is a patch to add `org-startup-with-latex-preview'. It should work like `org-startup-with-inline-images

Re: [O] LaTeX preview

2013-01-11 Thread Daimrod
Bastien writes: > Hi, > > Daimrod writes: > >> Here is a patch to add `org-startup-with-latex-preview'. It should work >> like `org-startup-with-inline-images'. > > Thanks for the patch. Did you already sign a FSF copyright assignment > or do you

Re: [O] OBBDB(3) or org-contacts

2013-01-14 Thread Daimrod
d is (imo) essential to manage large volume of email. The expunge facility let me hide threads; when a message is expunged it is not only marked as read, it just doesn't appear at all unless I specifically ask otherwise. OTOH when the score of a thread is increased, all messages in this thr

Re: [O] Redmine backend for org-sync

2013-01-15 Thread Daimrod
7;ve also started to add a test suite -- using ERT -- while I was exploring the code. It's far from complete but I plan to work on it. I mostly use github, so it's most likely that I'll focus on its backend. [1] https://github.com/daimrod/org-sync -- Daimrod/Greg pgpw4e0I0KBkV.pgp Description: PGP signature

Re: [O] Wish: switch active time-stamps to inactive when CANCELED

2013-01-18 Thread Daimrod
oth cases they won't be displayed in the Agenda unless you active them (v a or v A). See (info "(org) Archiving") for a complete description of Archiving in Org Mode. -- Daimrod/Greg pgp5OycYv2Vpc.pgp Description: PGP signature

Re: [O] Wish: switch active time-stamps to inactive when CANCELED

2013-01-18 Thread Daimrod
Karl Voit writes: > * Daimrod wrote: >> >> Org Mode has already facilities for archiving. > > Thanks for the pointer but I know and I am using archiving in > Org-mode. > >> In both cases they won't be displayed in the Agenda unless you active >>

Re: [O] Wish: switch active time-stamps to inactive when CANCELED

2013-01-18 Thread Daimrod
ching the TODO state automatically > using org-todo-state-tags-triggers. > > For example (untestet): > > #+BEGIN_SRC emacs-lisp > (setq org-todo-state-tags-triggers '(("CANCELLED" ("ARCHIVE" . t > #+END_SRC Woo, I didn't know this one, that's a nice trick! > Cheers, > Viktor -- Daimrod/Greg pgpLSJRGGZZRc.pgp Description: PGP signature

Re: [O] colorg: Some news!

2013-01-20 Thread Daimrod
Python? Or do you think it would be possible to make this in Emacs Lisp only with Elnode[1] for the server-side? > François [1] http://elnode.org/ -- Daimrod/Greg pgpOL4G5oMPlo.pgp Description: PGP signature

Re: [O] colorg: Some news!

2013-01-21 Thread Daimrod
a way, for > me, to leave that door opened. One not so hidden dream is to bring Org > mode a bit closer to Web browsers, if there are ways to do so. -- Daimrod/Greg pgpEc4gg27uJw.pgp Description: PGP signature

[O] #+PROPERTY documentation

2013-01-21 Thread Daimrod
ple footnote like the one present here: (info "(org) Tag inheritance") should be sufficient. > (1) As with all these in-buffer settings, pressing `C-c C-c' > activates any changes in the line. -- Daimrod/Greg pgplZQR3DFgvj.pgp Description: PGP signature

Re: [O] #+PROPERTY documentation

2013-01-21 Thread Daimrod
John Hendy writes: > On Mon, Jan 21, 2013 at 12:41 PM, Daimrod wrote: >> Hi, >> >> It would be nice if the documentation mentioned the need to reparse the >> org buffer with `C-c C-c' when a property is set with #+PROPERTY. >> (info "(org) Prope

Re: [O] #+PROPERTY documentation

2013-01-21 Thread Daimrod
Daimrod writes: > John Hendy writes: > >> On Mon, Jan 21, 2013 at 12:41 PM, Daimrod wrote: >>> Hi, >>> >>> It would be nice if the documentation mentioned the need to reparse the >>> org buffer with `C-c C-c' when a property is set with #+

Re: [O] #+PROPERTY documentation

2013-01-21 Thread Daimrod
t...@tsdye.com (Thomas S. Dye) writes: > Aloha Daimrod (Greg), > > Daimrod writes: > >> >> So, here is a patch for this: > > If you add [PATCH] to the email Subject, your patch will be brought to > the attention of the developers. I didn't know, thanks. &

[O] [PATCH] Re: #+PROPERTY documentation

2013-01-21 Thread Daimrod
Daimrod writes: > Hi, > > It would be nice if the documentation mentioned the need to reparse the > org buffer with `C-c C-c' when a property is set with #+PROPERTY. > (info "(org) Property syntax") > > And, IMO, it should also be mentioned here: > (i

Re: [O] #+PROPERTY documentation

2013-01-22 Thread Daimrod
Nick Dokos writes: > Daimrod wrote: > >> John Hendy writes: >> >> > On Mon, Jan 21, 2013 at 12:41 PM, Daimrod wrote: >> >> Hi, >> >> >> >> It would be nice if the documentation mentioned the need to reparse the >>

Re: [O] [PATCH] Re: #+PROPERTY documentation

2013-01-22 Thread Daimrod
Bastien writes: > Daimrod writes: > >> Here is a patch for this: > > Thanks. Please add a proper ChangeLog to it. > > See http://orgmode.org/worg/org-contribute.html#sec-5 Thanks. > You also need to add TINYCHANGE at the bottom of the > git commit message. >

Re: [O] [PATCH] Re: #+PROPERTY documentation

2013-01-24 Thread Daimrod
erties set from a special drawer, you have to refresh the +buffer with @kbd{C-c C-c} to activate this changes. + If you want to add to the value of an existing property, append a @code{+} to the property name. The following results in the property @code{var} having the value ``foo=1 bar=2''. -- 1.7.10.4 -- Daimrod/Greg pgp__Xs3Q56S5.pgp Description: PGP signature

Re: [O] LaTeX preview

2013-01-24 Thread Daimrod
Daimrod writes: > Bastien writes: > >> Hi Daimrod, >> >> Daimrod writes: >> >>> Is there an #+STARTUP parameter to automatically display LaTeX >>> fragments? >> >> Nope, sorry. > > Here is a patch to add `org-startup-with-lat

Re: [O] [OT] open url in emacs was: Re: Using Org/babel for Emacs config files

2013-01-24 Thread Daimrod
wse-url-function' and `gu-second-browse-url-function' (by default it uses `browse-url-browser-function' and `browse-url-generic'). The first one is used by default, the second one when you use a prefix (`C-u C-c b'). [1] http://emacs-w3m.namazu.org/ [2] https://github.com/daimro

[O] org-babel-execute-src-block deletes its src block.

2012-03-03 Thread Daimrod
Hi, I've recently switched from Org 7.4 to the master branch on the git repository, and I've encountered this weird situation. #+name: foo #+begin_src emacs-lisp (defun foo () 42) (foo) #+end_src emacs-lisp If I evaluate this block I get: #+name: foo =42 =emacs-lisp Thou

Re: [O] org-babel-execute-src-block deletes its src block.

2012-03-03 Thread Daimrod
Nick Dokos writes: > Daimrod wrote: > >> >> Hi, I've recently switched from Org 7.4 to the master branch on the git >> repository, and I've encountered this weird situation. >> >> #+name: foo >> #+begin_src emacs-lisp >> (d

Re: [O] org-babel-execute-src-block deletes its src block.

2012-03-03 Thread Daimrod
Eric Schulte writes: > Nick Dokos writes: > >> Daimrod wrote: >> >>> >>> Hi, I've recently switched from Org 7.4 to the master branch on the git >>> repository, and I've encountered this weird situation. >>> >>> #+n

[O] noweb documentation

2012-03-05 Thread Daimrod
Hi, it would be great if the documentation mentioned the syntax <> because the only place it's mentioned is in the docstring of `org-babel-expand-noweb-references'. Currently, the manual mentions only the syntax <>.

[O] add binding to org-babel-goto-named-src-block

2012-03-09 Thread Daimrod
Hi, many functions in org-babel are bound to a letter X and C-X, it would be nice if it was the case for org-babel-goto-named-src-block. Here is a trivial patch. diff --git a/lisp/ob-keys.el b/lisp/ob-keys.el index cc11343..759bef3 100644 --- a/lisp/ob-keys.el +++ b/lisp/ob-keys.el @@ -60,7 +60,

[O] Org Babel C/C++

2012-03-23 Thread Daimrod
Hi, I've made a small patch to ob-C.el so it now includes the current directory to the list of directories to be searched for header files. Without this, I cannot include a local header file because the compilation happens in /tmp and thus gcc or g++ doesn't search for header files in the directo

Re: [O] Org Babel C/C++

2012-03-28 Thread Daimrod
Eric Schulte writes: > Applied, Thanks! > > Daimrod writes: > >> Hi, >> >> I've made a small patch to ob-C.el so it now includes the current >> directory to the list of directories to be searched for header files. >> Without this, I cannot include

Re: [O] Org Babel C/C++

2012-03-30 Thread Daimrod
Michael Hannon writes: > On Wednesday, March 28, 2012 at 4:01 PM Daimrod wrote: > >> Eric Schulte writes: >> >>> Applied, Thanks! >>> >>> Daimrod writes: >>> >>>> Hi, >>>> >>>> I've made a small

Re: [O] Feature request for noweb mode that strips references on export

2012-03-30 Thread Daimrod
"Sean O'Halpin" writes: > Hi, > > I've tried to use the new :noweb strip-export feature but I can't work > out the magic combination of headers (working with git head, i.e. > commit 67694297fa0f9b32cf4bfe812ba8a5c5cf4a0859). > > Here is a stripped down example: > > START OF EXAMPLE > > * Example

Re: [O] Feature request for noweb mode that strips references on export

2012-03-31 Thread Daimrod
"Sean O'Halpin" writes: > On Fri, Mar 30, 2012 at 5:39 PM, Daimrod wrote: >> If you don't want to export boilerplate you've to use :exports none in >> it. >> >> #+name: boilerplate >> #+begin_src ruby :exports none >> def hello

Re: [O] Inline LaTeX fragments in emacs buffer

2012-05-12 Thread Daimrod
Dov Grobgeld writes: > Is there any way of getting org-mode to display inline LaTeX fragments > in the emacs buffer? E.g. I would like to be able to type: > > The size of the hypotenuse is $\sqrt{a^2+b^2}$ > > and then the buffer immediately shows: > > The size of the hypotenuse is √a²+b² > > wh

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-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] 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] 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] 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] 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] 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

[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

[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

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

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] 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] 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] 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

[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

[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

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

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

[O] [PATCH] Add `org-reverse-string'

2013-01-26 Thread Daimrod
lisp/org.el b/lisp/org.el index 5033cbf..65c8c60 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -21038,6 +21038,10 @@ for the search purpose." (error "Unable to create a link to here" (org-occur-in-agenda-files (regexp-quote link +(defun org-reverse-string (

Re: [O] [PATCH] Add `org-reverse-string'

2013-01-26 Thread Daimrod
substring time 8 12 diff --git a/lisp/org.el b/lisp/org.el index 5033cbf..65c8c60 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -21038,6 +21038,10 @@ for the search purpose." (error "Unable to create a link to here" (org-occur-in-agenda-files (regexp-quote link +(defun org-reverse-string (string) + "Return the reverse of STRING." + (apply 'string (reverse (string-to-list string + (defun org-uniquify (list) "Remove duplicate elements from LIST." (let (res) -- 1.7.10.4 -- Daimrod/Greg pgpWxZ54NpGGd.pgp Description: PGP signature

Re: [O] How to improve Org startup time?

2013-01-29 Thread Daimrod
7;s not related to some problem in my config. But, for this > point, AFAIU, it's not the case. -- Daimrod/Greg pgpxSMkRBXxEG.pgp Description: PGP signature

Re: [O] How to improve Org startup time?

2013-01-29 Thread Daimrod
"Sebastien Vauban" writes: > Hello Daimrod, > > Daimrod wrote: >> "Sebastien Vauban" writes: >>> I would like to have: >>> >>> - the minimal Org config loaded when opening any .org file; IOW, certainly >>> not >>>

Re: [O] How to improve Org startup time?

2013-01-30 Thread Daimrod
adlines > belonging to the "Work" category. > > ARGS are symbols indicating what kind of entries to consider. > By default `org-agenda-to-appt' will use :deadline, :scheduled > and :timestamp entries. See the docstring of `org-diary' for > details and examples. > > If an entry as a APPT_WARNTIME property, its value will be used > to override `appt-message-warning-time'. -- Daimrod/Greg pgpICwhkLc485.pgp Description: PGP signature

Re: [O] bbdb or bbdb3 or org-contacts

2013-01-30 Thread Daimrod
, and it is not really maintained anymore. I've started to use org-contacts.el. I haven't (yet) problem with its speed but I've improved the completion mecanism which prevented me to use it. When I'll finish to document/comment it, I'll post it here. > Best, -- Daimrod/Greg pgps9yHOag0AE.pgp Description: PGP signature

Re: [O] bbdb or bbdb3 or org-contacts

2013-02-01 Thread Daimrod
joa...@verona.se writes: > Daimrod writes: > >> Bastien writes: >> >>> Hi Dieter, >>> >>> Dieter Wilhelm writes: >>> >>>> What do you advise, what is already usable and what is the way >>>> ahead, still bbdb or bbdb

Re: [O] bbdb or bbdb3 or org-contacts

2013-02-13 Thread Daimrod
Bastien writes: > Hi Grégoire, > > Daimrod writes: > >> See the attached patch files. I still need to need to take into account >> what could be after the cursor > > I've applied the patch against org-contacts.el, thanks for it. Thank you. > Do

Re: [O] bbdb or bbdb3 or org-contacts

2013-02-13 Thread Daimrod
Bastien writes: > Hi Greg, > > Daimrod writes: > >> However, I think I'll keep my public repository on github to test new >> features and merge them into upstream when I think they're ready. And if >> people can test them before that, it's even be

Re: [O] LaTeX preview

2013-02-14 Thread Daimrod
point I had everything and I just needed to copy what was done for inlineimages and adapt it for latexpreview. > Best, > Evan -- Daimrod/Greg pgpj9253qHCTK.pgp Description: PGP signature

Re: [O] [PATCH] org-contacts: Fix Agenda format.

2013-02-14 Thread Daimrod
mber-of-unread-messages) " > +'keymap org-contacts-keymap)) > (org-agenda-overriding-header > (or org-agenda-overriding-header > (concat "List of contacts matching `" name "':" Applied, thank you. -- Daimrod/Greg pgptohHZVV0AS.pgp Description: PGP signature

Re: [O] killing all contents of a headline

2013-02-19 Thread Daimrod
SPC C-e M-w) 2. cut the subtree (C-c C-x C-w) 3. paste the previously copied headline C-y M-y If you find yourself doing this very often you could put it in a keyboardmacro. -- Daimrod/Greg pgpytX_zwEwaR.pgp Description: PGP signature

Re: [O] org-sync and redmine

2013-02-25 Thread Daimrod
Hello Bastien, Bastien writes: > hob...@poukram.net (Rémi Letot) writes: >> So I get to ask if anyone that I'm not aware of is still currently >> working on org-sync, and if yes if they are interrested in fixing the >> redmine backend ? > > Daimrod is working on

Re: [O] org-mode not working properly after update

2013-02-26 Thread Daimrod
T' activate Org Mode after you've opened the file? Do you have « ("\\.org\\'" . org-mode) » in auto-mode-alist? (check with `C-h v auto-mode-alist RET') -- Daimrod/Greg pgpx8IeSCBN5j.pgp Description: PGP signature

Re: [O] [org-contacts] need help for making gnus/message-mode integration optional

2013-02-27 Thread Daimrod
O is composed of contacts with the tag FOO." (org-contacts-make-collection-prefix (org-contacts-all-completions-prefix string - (remove-duplicates completion-list :test #'equalp))) + (remove-duplicates completion-list :test #'equalp))) + :e

Re: [O] suggest a small change in the doc for org-drill

2013-02-28 Thread Daimrod
Gijs Hillenius writes: Hi Gijs, > Load the file spanish.org. > > load? I've replaced it by "Open". Thanks for reporting this. -- Daimrod/Greg pgpd4frI70f1U.pgp Description: PGP signature

Re: [O] [PATCH] Make `org-contacts-message-complete-function' work with byte compilation

2013-03-10 Thread Daimrod
'cl) at toplevel but it triggers this warning: > org-contacts.el:40:1:Warning: cl package required at runtime @All: Can I use (require 'cl) and ignore the warning or is there better solution? -- Daimrod/Greg pgp2M1C9H7f_a.pgp Description: PGP signature

Re: [O] [PATCH] Make `org-contacts-message-complete-function' work with byte compilation

2013-03-11 Thread Daimrod
Achim Gratz writes: > Daimrod writes: >> @All: Can I use (require 'cl) and ignore the warning or is there better >> solution? > > You could if this would never go into mainline, where it is not allowed > due to the namespace pollution that cl causes. You could u

Re: [O] A mix of habits and effort estimates?

2013-03-17 Thread Daimrod
u're looking for, but, there is org-drill[1] a « flashcards and spaced repetition » system that will "optimize" when to review items. [1] http://orgmode.org/worg/org-contrib/org-drill.html -- Daimrod/Greg pgp5Vm_wDduGZ.pgp Description: PGP signature

Re: [O] [patch] ox-latex.el to allow customization of verbatim environments (e.g., to use fancyvrb)

2013-04-14 Thread Daimrod
org-latex-verbatim-env > +(org-export-format-code-default src-block info) > +org-latex-verbatim-env) IIUC you don't need concat+format here. -- Daimrod/Greg pgp1eukSKehML.pgp Description: PGP signature

Re: [O] phone links...

2013-04-16 Thread Daimrod
, but it's beyond my ability for I'm not a programmer I agree with you, it would be much better if org-contacts managed links within properties. I'll look at Michael's patch which implements this. Regards, -- Daimrod/Greg pgpqvdRQNKLgp.pgp Description: PGP signature

Re: [O] phone links...

2013-04-16 Thread Daimrod
instead of `split-string-default-separators' because we use it more and because it's easy to forget. > +(loop for email in (org-contacts-split-property email-list) > +

Re: [O] phone links...

2013-04-16 Thread Daimrod
Feng Shu writes: > Daimrod writes: > >> >> I agree with you, it would be much better if org-contacts managed >> links >> within properties. > I think the two format have less difference > > org-android and org-android-NG can't show properties like

Re: [O] phone links...

2013-04-20 Thread Daimrod
split-string-default-separators' >> because we use it more and because it's easy to forget. > > That was already hard-coded before in Feng's > `org-contacts-vcard-format'. But yes, you are right. Since it is > limited by some constraints we should make it an extra variable. > >> >> > +(loop for email in (org-contacts-split-property >> > email-list) >> >> >> > + for gravatar = (gravatar-retrieve-synchronously >> > (org-contacts-strip-link email)) > > This should be correctly and worked for me during my tests. > Confusingly `email-list' is not a list but a string here. My bad (again :/). Regards, 1. https://github.com/magit/magit -- Daimrod/Greg pgpA1Yp4mnukl.pgp Description: PGP signature

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

2013-04-30 Thread Daimrod
Michael Strey writes: > Greg, > > Here are the reworked patches. > > 0390: fixes two typos > 0391: contains all the changes from my last patch and your corrections > 0392: introduces a constant for the default value of separators Excellent. > On Sat, Apr 20, 2013 at 0

Re: [O] [Bug] org-startup-with-inline-images

2013-05-01 Thread Daimrod
tual-width) + (or attrwidth (car org-image-actual-width + type (if width 'imagemagick))) + (when (file-exists-p file) + (if (and (car-safe old) refresh) + (image-refresh (overlay-get (cdr old) 'display)) + (setq img (save-match-data (create-image file type nil :width width))) + (when img + (setq ov (make-overlay (match-beginning 0) (match-end 0))) + (overlay-put ov 'display img) + (overlay-put ov 'face 'default) + (overlay-put ov 'org-image-overlay t) + (overlay-put ov 'modification-hooks + (list 'org-display-inline-remove-overlay)) + (push ov org-inline-image-overlays)) (define-obsolete-function-alias 'org-display-inline-modification-hook 'org-display-inline-remove-overlay "24.3") -- 1.7.10.4 -- Daimrod/Greg pgp8Ee38tqMON.pgp Description: PGP signature

Re: [O] [Bug] org-startup-with-inline-images

2013-05-02 Thread Daimrod
Rick Frankel writes: > On 01.05.2013 13:28, Daimrod wrote: >> Thanks for the report, I've attached a patch that fixes this problem >> (in >> both `org-display-inline-images' and `org-preview-latex-fragment'). >> However I don't know if it is the ri

Re: [O] [PATCH] Smart inference of task progress when exporting to TJ3

2013-05-03 Thread Daimrod
often use M-q for the comments) -- Daimrod/Greg pgp8MNzaVlSsW.pgp Description: PGP signature

[O] bug#14374: bug#14374: Possibly incorrect custom :types

2013-05-09 Thread Daimrod
-format > org-agenda-auto-exclude-function > org-export-docbook-doctype > org-wl-namazu-default-index > org-agenda-inactive-leader > org-export-ascii-underline > org-sparse-tree-default-date-type > org-footnote-auto-adjust > org-protocol-default-template-key defcustom-fixes.path Description: Binary data -- Daimrod/Greg pgp38ECem9JSK.pgp Description: PGP signature

Re: [O] require a feature: merge many contacts which have the same name.

2013-05-10 Thread Daimrod
com]] [[mailto:f...@b.com]] > :PHONE: [[tel:123456789]] [[tel:987654321]] [[tel:]] > :ALIAS: a b c > :END: > > #+end_example Hi Feng, It's noted, I'll see what I can do this week-end. -- Daimrod/Greg pgpgoAyLvZ17T.pgp Description: PGP signature

[O] org-element

2013-05-23 Thread Daimrod
(org-entry-get nil property) " " new-value)) #+END_SRC Is it the correct way? IMHO it would be nicer if we could modify an object created by the new parser and write it back but I don't think it is possible (yet?). Regards, -- Daimrod/Greg pgpZ70aTA0Nyn.

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

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] [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-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-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] 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
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] 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] 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] [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] 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: 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] [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) &

[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

[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

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 [...]) >> &

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] [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
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

  1   2   >