Re: Table formula format string doesn't recognize %

2024-05-21 Thread Daniel Clemente
Thanks. On Tue, 21 May 2024 at 09:10, Ihor Radchenko wrote: > Daniel Clemente writes: > > > Hi, this stopped working, possibly after a related change > > to org-table-eval-formula 2 days ago. > > > > | a | b | percent of a in b | > > |++---

Table formula format string doesn't recognize %

2024-05-21 Thread Daniel Clemente
Hi, this stopped working, possibly after a related change to org-table-eval-formula 2 days ago. | a | b | percent of a in b | |++---| | 10 | 20 | #ERROR| | 20 | 30 | #ERROR| #+TBLFM: $3=($1/$2)*100;%.2f%% A simpler format string like ;%.2f also

Link to #ID-id:

2024-04-09 Thread Daniel Clemente
Hi, after updating org-mode and emacs to latest commits, I have seen that some links to IDs in different files are exported like this: some link: link Shouldn't it be?: otherfile.html#c5m2je81pue0 I didn't have time to debug this yet or see if it's from my setup. I may do it in the next

Re: [proof of concept] inline language blocks

2024-03-31 Thread Daniel Clemente
> I have thought of a syntax that is as least intrusive as possible, so as > not to make reading uncomfortable. I have tried the following: > > :fr{some text in French} :it{some text in Italian} :la{some text in Latin} Sorry for joining the discussion a bit late. A long time ago I created a

Re: [BUG] repeated warnings about org-element-at-point "cannot be used in non-Org buffer" [9.7 (9.7-??-57b94f3 @ /Users/cstevens/.emacs.d/.local/straight/build-29.2/org/)]

2024-02-07 Thread Daniel Clemente
Thanks, I replaced org-cycle/org-global-cycle with outline-cycle/outline-cycle-buffer, and then the outlining works. On Tue, 6 Feb 2024 at 18:56, Ihor Radchenko wrote: > Daniel Clemente writes: > > > I also see the warnings. In my case it's because I'm using outline-minor > >

Re: [BUG] repeated warnings about org-element-at-point "cannot be used in non-Org buffer" [9.7 (9.7-??-57b94f3 @ /Users/cstevens/.emacs.d/.local/straight/build-29.2/org/)]

2024-02-06 Thread Daniel Clemente
I also see the warnings. In my case it's because I'm using outline-minor mode in an elisp file. I'm not sure it's supported, but it worked years ago: I could fold and unfold sections with usual org-mode keys like C-tab. I miss that feature. I never managed to learn the real outline-mode

Re: [POLL] Any users setting `org-agenda-use-tag-inheritance' to nil or other non-default value?

2024-01-16 Thread Daniel Clemente
> 1. If you customized it to speed up agendas, are agendas still slow on the latest main? I disabled org-agenda-use-tag-inheritance but I can't provide a lot of feedback because I don't use many tag filters: 1. I disabled it in a batch script that exports my agenda, though it doesn't actually

Re: [BUG] wrong-type-argument syntax-table-p "Syntax table including \"@\" and \"_\" as word constituents.

2023-05-29 Thread Daniel Clemente
It works now. Thanks! On Mon, 29 May 2023 at 08:34, Ihor Radchenko wrote: > Daniel Clemente writes: > > > there was a recent change to how the tags table is initialized. I think > > that as a side effect, some tag functions like org-tags-expand don't work > > unl

[BUG] wrong-type-argument syntax-table-p "Syntax table including \"@\" and \"_\" as word constituents.

2023-05-27 Thread Daniel Clemente
Hi, there was a recent change to how the tags table is initialized. I think that as a side effect, some tag functions like org-tags-expand don't work unless you open an org-mode buffer first. I have a small bash script that exports my agenda; right in the beginning (before opening any org-mode

Re: Radio links work only in small numbers

2022-12-28 Thread Daniel Clemente
Hi, I also found this limitation, and my solution was to disable radio links and to replace them by a manual approach: 1. I disabled the call to (org-update-radio-target-regexp) in org.el. Well, I added a boolean org-inhibit-startup-radio-refresh, that works in a similar way to

Re: [BUG] Shift-up/down move the cursor to end of timestamp

2022-12-07 Thread Daniel Clemente
It works now, thanks! On Wed, 7 Dec 2022 at 10:53, Ihor Radchenko wrote: > Daniel Clemente writes: > > > Using a file with just one header: > > > > * something > > :CLOCK: > > CLOCK: [2022-12-01 Thu 17:15]--[2022-12-01 Thu 17:30] => 0:15 > >

[BUG] Shift-up/down move the cursor to end of timestamp

2022-12-01 Thread Daniel Clemente
Hi. Using a file with just one header: * something :CLOCK: CLOCK: [2022-12-01 Thu 17:15]--[2022-12-01 Thu 17:30] => 0:15 :END: If I put the cursor on the end timestamp (on the 3 of 17:30) and press shift+up or shift-down, the timestamp is correctly adjusted by 5 minutes, but the cursor

Re: sort “on-the-fly” in org-agenda-view

2021-05-24 Thread Daniel Clemente
Sorry for the late reply. You can press M-up / M-down to manually sort agenda items once the agenda view is open. It's just a convenient way to do minor adjustments. No files are actually changed. On Mon, Apr 19, 2021 at 12:55 PM Ben Sima wrote: > Heh, I just found myself wanting to do this. I

Re: Cannot export org mode to collapsible HTML

2020-04-23 Thread Daniel Clemente
> Is this happening because org-info.js is no longer being maintained? Another solution I saw was Daniel Clemente's tool, though I am at a total loss for what to specify in the org file to incorporate his esquemadorg.js script. I appreciate any help that could let me export large org files to HTML

Re: [O] [ANN] org-conflict add-on: timing conflicts detector and resolver for Org agenda

2019-06-09 Thread Daniel Clemente
Hi, I'm surprised that noone answered yet. This package is great! You're addressing one of the large shortcomings of org-mode's planning features: org has information about several planning details (estimation, duration, holidays, start date, deadline, …) and still doesn't use any of that to

Re: [O] Ridiculously long (2 minutes) startup time for org agenda

2018-02-26 Thread Daniel Clemente
It can be many things. My emacs was taking 6 minutes to open for some years, due to many reasons: a slow computer, many org files and very large (>100 files, >25 Mb in total), lack of optimizations from my side and from org-mode's side. I got used to it but it's a very bad experience, specially

Re: [O] Scatter-gather idea

2017-04-10 Thread Daniel Clemente
On Mon, Apr 3, 2017 at 6:34 AM, Bob Newell wrote: > > Or even simpler: you want to group together a bunch of scattered > headlines that you now see as being related. Yes, you can do this by > moving each one around individually, but I'd like a faster method--- > just

Re: [O] How are people handling their calendars?

2016-10-24 Thread Daniel Clemente
I only tried the visualization part a few days ago, by exporting to iCalendar (.ics). But the process was too slow: after fixing some export errors it was still taking more than 1 hour for a large .org file. After that I wanted to use Iceowl/Lightning (extension to Icedove/Thunderbird) to open

[O] bug if link description contains percent sign (%)

2016-10-24 Thread Daniel Clemente
With yesterday's org-mode: if I export (C-c C-o O O) this line of text, it fails because of the % character: See [[file:/][the m%n syntax]]. Debugger entered--Lisp error: (error "Not enough arguments for format string") format(#("[[%s][the m%n syntax]]" 6 20 (:parent (link (:type "file"

[O] bug in org-element--object-lex seen when exporting (Invalid search bound, wrong side of point)

2016-10-23 Thread Daniel Clemente
Hi. I describe a rare bug seen in today's org-mode (8.3.6) running in emacs 26.0.50.1. 1. emacs -Q, and load org-mode 2. Use this file (two lines): * <<>> a-bug 3. export to HTML (C-c C-e h h) I got: Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)")

Re: [O] Bug: HTML export ignoring CUSTOM_ID properties

2015-04-23 Thread Daniel Clemente
El Tue, 21 Apr 2015 09:25:13 +0200 Nicolas Goaziou va escriure: Hello, Daniel Clemente n142...@gmail.com writes: I also saw this change (diff format): -div id=outline-container-sec-1-4-3-1-2 class=outline-6 -h6 id=sec-1-4-3-1-2span class=section-number-61.4.3.1.2/span tercer

Re: [O] Bug: HTML export ignoring CUSTOM_ID properties

2015-04-20 Thread Daniel Clemente
El Sat, 18 Apr 2015 15:57:15 +0200 Rasmus va escriure: Note that this also breaks any CSS styling for the section with the CUSTOM_ID (which I also use). If I used a CUSTOM_ID because wanted a swanky background for the heading saying Bill Clinton, the current export not only doesn't use

Re: [O] Fwd: demoting a heading inserts spaces in column-0 text

2015-01-16 Thread Daniel Clemente
Another option would be to have another option to indent only planning info, properties drawer, and every drawer located right after it, à la `org-log-state-notes-insert-after-drawers'. At least, it couldn't break structure. Is this possible? Why wouldn't it? I thought

Re: [O] Fwd: demoting a heading inserts spaces in column-0 text

2015-01-09 Thread Daniel Clemente
va escriure: Daniel Clemente n142...@gmail.com writes: El Sat, 13 Dec 2014 15:10:32 +0100 Nicolas Goaziou va escriure: You are free to make any distinction you want. Unfortunately, Org does a different one. In particular, as you noticed, there are some areas where things

[O] Fwd: demoting a heading inserts spaces in column-0 text

2014-12-21 Thread Daniel Clemente
(I'm resending this old e-mail because it seems it didn't get to the list, according to Gmane). El Sat, 13 Dec 2014 15:10:32 +0100 Nicolas Goaziou va escriure: Users who type can do a simpler distinction: 1. things you type yourself 2. things that appear/change/disappear after invoking

Re: [O] demoting a heading inserts spaces in column-0 text

2014-12-13 Thread Daniel Clemente
El Fri, 12 Dec 2014 19:25:25 +0100 Nicolas Goaziou va escriure: Of course everything's text, but if there's no distinction between drawers/headers and text, that's the problem. Those headers are metadata written and managed by org and must follow some rules, This is incorrect.

Re: [O] demoting a heading inserts spaces in column-0 text

2014-12-13 Thread Daniel Clemente
El Sat, 13 Dec 2014 12:33:16 +0100 Nicolas Goaziou va escriure: But these are technical details, not relevant to a non-programmer. Which basically means nothing, because everything ultimately boils down to technical details. That's always true. But UIs still need to be simple. No

Re: [O] demoting a heading inserts spaces in column-0 text

2014-12-11 Thread Daniel Clemente
by the user unless the user asks for it. -- Daniel On Sat, Dec 6, 2014 at 6:40 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Daniel Clemente n142...@gmail.com writes: There was a change (cba2f0a2a3024ae5bf71e1a12ba99778a92902a2, Sat Nov 8 14:35:24 2014 +0100) which made :CLOCK

[O] demoting a heading inserts spaces in column-0 text

2014-12-05 Thread Daniel Clemente
There was a change (cba2f0a2a3024ae5bf71e1a12ba99778a92902a2, Sat Nov 8 14:35:24 2014 +0100) which made :CLOCK: etc entries shift to the right when the tree is being shifted to the right („demoted“, e.g. using M-S-Right). But now it changes from this: some :CLOCK:

Re: [O] Org and ledger

2014-11-10 Thread Daniel Clemente
El Mon, 10 Nov 2014 08:08:51 +0100 Bernhard Pröll va escriure: I have been curious too and found this file: https://bitbucket.org/blais/beancount/src/tip/examples/tutorial/example.beancount Exactly. The first line defines org mode: ;; -*- mode: org; mode: beancount; -*-

Re: [O] Org and ledger

2014-11-08 Thread Daniel Clemente
Well, ledger and hledger are different tools that use the same (very similar) data files. The invocation of each is different. org supports ledger out of the box but not hledger. I prefer beancount (very similar to ledger but stricter): beancount supports org out of the box! My

Re: [O] Announcement: org-one-to-many

2014-10-23 Thread Daniel Clemente
Hi, breaking a big .org file in many small pieces is one of my major concerns with .org and one which gives me lots of problems. Thank you very much for having the clear objective of one-to-many. If your goal is HTML export, you can do a function that iterates over all headers and exports them

Re: [O] Announcement: org-one-to-many

2014-10-23 Thread Daniel Clemente
El Thu, 23 Oct 2014 19:58:48 +0200 Marcin Borkowski va escriure: For instance, you can get all headers tagged with tobesplit like this: (org-map-entries (lambda () (line-number-at-pos)) +tobesplit 'agenda) One of the possible searches is headers at level 2, so this new system would

[O] C-c C-y in currently clocked header

2014-10-15 Thread Daniel Clemente
Feature request. currently clocking :CLOCK: CLOCK: [2014-10-15 Wed 16:06] CLOCK: [2014-10-13 Mon 11:23]--[2014-10-13 Mon 11:54] = 0:31 :END: Now it's 16:26. If I put the cursor in 16:06 and press C-c C-y (org-evaluate-time-range), it would be useful to

Re: [O] C-c C-y in currently clocked header

2014-10-15 Thread Daniel Clemente
currently clocking :CLOCK: CLOCK: [2014-10-15 Wed 16:06] CLOCK: [2014-10-13 Mon 11:23]--[2014-10-13 Mon 11:54] = 0:31 :END: Now it's 16:26. If I put the cursor in 16:06 and press C-c C-y (org-evaluate-time-range), it would be useful to see in the

Re: [O] org-mode for knowledge management

2014-10-13 Thread Daniel Clemente
-files) (org-search-view nil (org-entry-get nil ID t On 10/12/14, Daniel Clemente n142...@gmail.com wrote: El Mon, 13 Oct 2014 10:42:28 +0800 Eric Abrahamsen va escriure: This is the bit I'm not sure about... * project_a ** experiment about blah :proj_name:theme

Re: [O] org-mode for knowledge management

2014-10-12 Thread Daniel Clemente
[…] uniformity, extruder/die temperature, cooling time, holding pressure, etc. I think this is awesome general knowledge. But I'm documenting our learning in an experimental report for export and upload to my company's internal technical report repo. I find it very different to write

Re: [O] org-mode for knowledge management

2014-10-12 Thread Daniel Clemente
El Mon, 13 Oct 2014 10:42:28 +0800 Eric Abrahamsen va escriure: This is the bit I'm not sure about... * project_a ** experiment about blah :proj_name:theme: [2014-10-11] Did x, y, and z today. Will analyze results tomorrow. [2014-10-12] Wow. Interesting finding. This

Re: [O] org-mode for knowledge management

2014-10-11 Thread Daniel Clemente
El Fri, 10 Oct 2014 16:48:39 -0500 John Hendy va escriure: On Fri, Oct 10, 2014 at 10:46 AM, Daniel Clemente n142...@gmail.com wrote: I've been using org-mode for a variety of purposes for a few years. I find that it suffers from the same problem that other such tools do

Re: [O] org-mode for knowledge management

2014-10-11 Thread Daniel Clemente
El Sat, 11 Oct 2014 12:45:45 -0700 Brady Trainor va escriure: About links: in org-mode they all look the same, but semantically there are many types, like: […] - *same-as*: „this and [[that]] are exactly the same topic, so write only under that header, not here“ […] I don't

Re: [O] org-mode for knowledge management

2014-10-10 Thread Daniel Clemente
I've been using org-mode for a variety of purposes for a few years. I find that it suffers from the same problem that other such tools do. The problem is me. I can't remember week to week how I may have classified some scrap of information. Did I drop it into notes/someproduct.org or

Re: [O] words from radio links are not visible when exporting subtrees

2014-08-28 Thread Daniel Clemente
El Thu, 28 Aug 2014 01:06:43 +0200 Nicolas Goaziou va escriure: * word * aaa ** export only this subtree (you'll lose a word) ABC Go to the „**“ and use C-c C-e C-s h H (export subtree to HTML). The result has the word „word“ missing from title and header: titleexport only

Re: [O] HTML lists are including paragraphs (lip…/p/li)

2014-08-27 Thread Daniel Clemente
It works very well now, thank you. El Tue, 26 Aug 2014 09:59:24 +0200 Nicolas Goaziou va escriure: Daniel Clemente n142...@gmail.com writes: Ok, let's keep the complex cases possible, but the simple ones simple. So: - litext/li and litextul//li if there's only 1 text or sublist

[O] words from radio links are not visible when exporting subtrees

2014-08-27 Thread Daniel Clemente
Hi, with latest org-mode and this 4-line org: * word * aaa ** export only this subtree (you'll lose a word) ABC Go to the „**“ and use C-c C-e C-s h H (export subtree to HTML). The result has the word „word“ missing from title and header: titleexport only this subtree (you'll lose a

Re: [O] HTML lists are including paragraphs (lip…/p/li)

2014-08-26 Thread Daniel Clemente
El Mon, 25 Aug 2014 10:30:27 +0200 Nicolas Goaziou va escriure: But why not, as a general rule, avoid p for the first elements of lists? That is, don't output paragraph+list+paragraph, but text+list+paragraph. This works for the simple case (litext/li) and allows the complex

Re: [O] HTML lists are including paragraphs (lip…/p/li)

2014-08-25 Thread Daniel Clemente
El Wed, 06 Aug 2014 14:12:21 +0200 Nicolas Goaziou va escriure: I understand that paragraph is alone in its item is not a good test to skip paragraph wrappers. I'm still confused about what a good test would be. In particular, what should be done in the following cases - item - item

[O] HTML lists are including paragraphs (lip…/p/li)

2014-08-03 Thread Daniel Clemente
Hi. With latest org I'm getting lip…/p/li, which makes no sense; it should be li…/li Aren't there tests to find this type of breakages in export? Example: - hola - uno - dos - tres Is exported to: ul class=org-ul lip hola /p /li lip uno /p ul class=org-ul lidos /li /ul /li lip tres /p

Re: [O] Export org-mode buffer to dynamic html document (collapse/expand details)

2014-07-31 Thread Daniel Clemente
I did a custom solution, very simple, with jQuery. You may use it: Demo: http://www.danielclemente.com/hacer/emacs.html Code: http://www.danielclemente.com/pagina/esquemadorg.js http://www.danielclemente.com/pagina/esquemadorg.css - The JS and CSS applies to the normal org export. - The

Re: [O] results from Python block not visible

2014-07-24 Thread Daniel Clemente
I reported this to emacs (bug 18095): http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-07/msg00736.html It's still happening with latest emacs and org-mode On Wed, Jul 2, 2014 at 11:51 PM, Daniel Clemente n142...@gmail.com wrote: Since this org-babel + tramp-cache incompatibility is very

Re: [O] cache problem, with ECM

2014-07-11 Thread Daniel Clemente
As a quick follow-up, I can get rid of the cache corruption by not using the log book (I set '(setq org-log-into-drawer nil)'). If others are seeing such cache corruption, this might be a temporary workaround. I also am seeing many cache problems, e.g. - after changing TODO→DONE a

Re: [O] babel evaluation of python and utf-8

2014-07-07 Thread Daniel Clemente
El Fri, 04 Jul 2014 16:08:10 +0200 Alan Schmitt va escriure: On 2014-06-26 18:07, Daniel Clemente n142...@gmail.com writes: #+BEGIN_SRC python :prefix # -*- coding: utf-8 -*- :results output print(u'é') #+END_SRC I also see the same problem here. Even if you include

Re: [O] results from Python block not visible

2014-07-02 Thread Daniel Clemente
...) will forget the last search, so later (match-string) done by babel will be from the wrong search. Can this happen? -- Daniel On Fri, Jun 27, 2014 at 4:50 PM, Daniel Clemente n142...@gmail.com wrote: I confirm that with Debian's Emacs, org-babel works well after the (require 'tramp-cache

Re: [O] results from Python block not visible

2014-06-27 Thread Daniel Clemente
? On Fri, Jun 27, 2014 at 12:19 AM, Daniel Clemente n142...@gmail.com wrote: El Thu, 26 Jun 2014 12:36:47 -0400 Eric Schulte va escriure: #+BEGIN_SRC python :results output print x #+END_SRC It prints: #+RESULTS: : None I expected to see x. This worked some days ago

Re: [O] babel evaluation of python and utf-8

2014-06-26 Thread Daniel Clemente
#+BEGIN_SRC python :prefix # -*- coding: utf-8 -*- :results output print(u'é') #+END_SRC I also see the same problem here. Even if you include # -*- coding: utf-8 -*- as the first line. Shouldn't org-babel already be using utf-8 instead of ASCII for input/output? By the way, with

[O] results from Python block not visible

2014-06-26 Thread Daniel Clemente
Hi, this babel code recently stopped working on my system: #+BEGIN_SRC python :results output print x #+END_SRC It prints: #+RESULTS: : None I expected to see x. This worked some days ago. If I use a command like os.system(xeyes), I see it running. In addition I don't see the Python block

Re: [O] results from Python block not visible

2014-06-26 Thread Daniel Clemente
El Thu, 26 Jun 2014 12:36:47 -0400 Eric Schulte va escriure: #+BEGIN_SRC python :results output print x #+END_SRC It prints: #+RESULTS: : None I expected to see x. This worked some days ago. This works for me using the latest version of Org-mode with an Emacs launched by

Re: [O] radio links in middle of words.

2014-04-15 Thread Daniel Clemente
El Thu, 10 Apr 2014 23:43:41 +0200 Nicolas Goaziou va escriure: It could work. But I think [:alnum:] is needed instead of [:alpha:]. Here's a patch implementing it. Now it's much better. Thanks.

[O] radio links match blank spaces

2014-04-15 Thread Daniel Clemente
Hi, after the recent change to radio links, THIS link will make the 2 spaces around THIS word become blue, as if they were part of the link. I wanted to write a test. I have been inspecting org-element's result but I can't understand the :begin and :end properties; they seem to be too high,

Re: [O] radio links in middle of words.

2014-04-10 Thread Daniel Clemente
Can't we break at non-letters? Not at non-„word-constituents“, but at non-letters. If emacs doesn't provide that concept, better build it. I don't know. Could you define precisely that concept? I propose: radio links should be delimited by characters that don't match [:alpha:] in

Re: [O] radio links in middle of words.

2014-04-04 Thread Daniel Clemente
El Wed, 02 Apr 2014 18:57:13 +0200 Nicolas Goaziou va escriure: ** Languages *** C language *** JavaScript *** etc. Etc. ← should the C in etc be highlighted as a link to „C“? Now it is and it's a bit annoying. This is new behaviour. Indeed, this is expected. The patch you

[O] radio links in middle of words. (was: Re: radio links should not match empty text)

2014-04-02 Thread Daniel Clemente
El Wed, 02 Apr 2014 14:59:42 +0200 Nicolas Goaziou va escriure: Hi, recently this syntax: started highlighting all spaces (spaces between words) as if they were links. I see them with a blue underline. I found this because I used some Unicode-art like where I certainly didn't mean

[O] radio links should not match empty text

2014-03-31 Thread Daniel Clemente
Hi, recently this syntax: started highlighting all spaces (spaces between words) as if they were links. I see them with a blue underline. I found this because I used some Unicode-art like where I certainly didn't mean to define a radio link. This happens since this change:

Re: [O] [ANN] Lazy cache synchronization

2014-02-26 Thread Daniel Clemente
Nicolas Goaziou n.goaz...@gmail.com writes: Now, synchronization happens lazily, which means the cache is only updated when and where needed, or during idle time. Therefore the cache mechanism scales a lot better. I had been regularly tracking the performance of org-mode for big

Re: [O] IDs w/ human friendly component

2014-02-01 Thread Daniel Clemente
Have you tried changing the strange ID to the ID that you want? (e.g. 7f3b531b-f1c9-41aa-854b-37235500495f → introduction). They should be unique. I use my manually written IDs for some important headers which I want to detect from outside org. In addition there's CUSTOM_ID, but I think

Re: [O] There can only be one item with priority 1?

2014-01-30 Thread Daniel Clemente
El Thu, 30 Jan 2014 14:49:59 +0100 Fredrik va escriure: I know there is the ABC but that doesn't support what I shown here where I add an item in the middle of the list changes the priority of everything below it? If you consider section order as priority, then you already have it: when you

[O] void-variable: tree in agenda in emacs 23.4.1

2014-01-10 Thread Daniel Clemente
Hi, since some days ago I get an export error after C-a a, batch export, C-e on .org files, … Backtrace at the end. Even (avl-tree--root org-element--cache) or (avl-tree--root nil) produce the same error. This is not a bug in org, but in Emacs 23.4.1. avl-tree.el says: (defmacro

Re: [O] Parsing Org-mode in Python

2014-01-08 Thread Daniel Clemente
El Wed, 08 Jan 2014 10:42:17 -0500 Brett Viren va escriure: http://lists.gnu.org/archive/html/emacs-orgmode/2013-12/msg00415.html In any case, here is the salient chunk: #+BEGIN_SRC elisp (require 'json) (let* ((tree (org-element-parse-buffer 'object nil))) (org-element-map

Re: [O] Implementing Org-mode tools in languages other than ELISP

2014-01-05 Thread Daniel Clemente
I dream of having a general Python parser for Org mode files, knowing every bit about the current syntax for Org files, surrounded by enough Python machinery to make it useful. Try PyOrgMode (https://github.com/bjonnh/PyOrgMode), it works for some files (but still needs corrections: it

Re: [O] re-export using same options

2013-12-25 Thread Daniel Clemente
Can I re-export using the last settings? C-u C-c C-e Thanks, that makes it faster, but you need to be in the same subtree. Not so. With org-mode from some days ago it was failing: only moving to a new subtree would make C-u C-c C-e export the new subtree (using the

[O] re-export using same options

2013-12-22 Thread Daniel Clemente
Hi, after exporting a subtree to HTML, I do some change and want to export again. I find that I have to do a long process to get there: C-spaceC-c C-u C-c C-e C-s h HC-u space This works, but for every little change I do I have to select again which subtree and which format I

Re: [O] re-export using same options

2013-12-22 Thread Daniel Clemente
Can I re-export using the last settings? C-u C-c C-e Thanks, that makes it faster, but you need to be in the same subtree. Is there something that also remembers which subtree was exported?

[O] words starting with call_ confuse C-c C-c and export

2013-12-02 Thread Daniel Clemente
Hi, with org-mode from today on Emacs 23.4.1 and with this 2-line file: - [ ] call_me - [ ] try funcall_lambda (maybe) 1. Go to the „me“ and press C-c C-c. You get „C-c C-c can do nothing useful at this location“. I expected to switch the checkbox. 2. Go to the „maybe“ and press C-c C-c. I

Re: [O] org-publish parameters mismatch → cannot publish to HTML

2013-11-27 Thread Daniel Clemente
org-publish-org-to-html seems to have its parameters in the same order (filename, extension, plist). Correct me if I'm wrong. If you are using org8.X, then org-publish-org-to-html no longer exists. If it does, you are picking up old org bits from somewhere. True. And I was

[O] org-publish parameters mismatch → cannot publish to HTML

2013-11-26 Thread Daniel Clemente
Hi, in ox-publish.el I see in line 555: (defun org-publish-org-to (backend filename extension plist optional pub-dir) … org-publish-org-to-html seems to have its parameters in the same order (filename, extension, plist). Correct me if I'm wrong. But then in same file, line 654:

[O] [patch] correct link following

2013-11-03 Thread Daniel Clemente
Hi, I sent this patch 1 month ago but it wasn't included in org. I still need it for link following to work, otherwise I get: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(^id: nil) org-open-at-point(nil) call-interactively(org-open-at-point nil nil)

[O] I cannot follow radio links

2013-09-30 Thread Daniel Clemente
Hi, since a few days, when I press C-c C-o on a highlighted word that points to a radio link, I get this error: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(^id: nil) org-open-at-point(nil) call-interactively(org-open-at-point nil nil)

Re: [O] faster agenda with properties support disabled (no org-refresh-properties)

2013-09-03 Thread Daniel Clemente
+0200 Carsten Dominik va escriure: Hi Daniel, I have implemented a different version of the patch. Please take a look at the new variable org-agenda-ignore-drawer-properties. Regards, and thanks! - Carsten On 23.8.2013, at 11:24, Daniel Clemente n142...@gmail.com wrote: So I

Re: [O] faster agenda with properties support disabled (no org-refresh-properties)

2013-08-23 Thread Daniel Clemente
So I would like to ask: is there a clean way to disable calls to org-refresh-properties? No, that would require a patch and a config variable. - Carsten I send a patch to do this. Setting this new variable to t reduced 10 seconds my agenda export time (down from 1 minute 6 seconds) as

Re: [O] [PATCH] Center currently clocked headline to top of screen

2013-08-22 Thread Daniel Clemente
Seeing a bit of context is nice; maybe putting it at line 2 or 3 is better than at the top and I think it is better than centered. It could also be configurable. El Thu, 22 Aug 2013 10:36:00 +0200 Sebastien Vauban va escriure: Hello, When jumping to the currently clocked headline (via

Re: [O] Agenda in the mode-line?

2013-08-04 Thread Daniel Clemente
El Fri, 02 Aug 2013 09:59:55 -0500 Kyle Sexton va escriure: What I am after is more of a overview of How many total TODO tasks do I have, ideally with some function to limit or match based on tag. I manually run a script each day to update many things, one of them is exporting the agenda

Re: [O] org-odt-export-to-odt: hide text

2013-07-07 Thread Daniel Clemente
You put your translation table in an org table, and there's a command to slurp that into a hashtable. The translation commands just whizz through the text and swap strings, basically. You can do subtree/region/file, tag subtrees to translate or not to translate, and there are interactive (a

Re: [O] org-odt-export-to-odt: hide text

2013-07-06 Thread Daniel Clemente
El Sat, 6 Jul 2013 13:03:01 +0200 Suvayu Ali va escriure: If you or any other user wants this kind of feature, you have to come up with a syntax that is not intrusive and doesn't break basic Org features. I created such a syntax for normal text files [1] but have been struggling to port

Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting

2013-06-25 Thread Daniel Clemente
I had lost colors in some modes for some weeks (helm, wl) and yesterday with an updated org they came back. So for me it's fixed. El Tue, 25 Jun 2013 22:01:43 -0400 Mike McLean va escriure: I pulled and tested around 8:00 AM EDT today (because I let myself get so far behind on commits that

Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting

2013-06-25 Thread Daniel Clemente
El Tue, 25 Jun 2013 21:42:39 -0500 John Hendy va escriure: On Jun 25, 2013 9:36 PM, Daniel Clemente n142...@gmail.com wrote: I had lost colors in some modes for some weeks (helm, wl) and yesterday with an updated org they came back. So for me it's fixed. Do you have a #+setupfile

Re: [O] agenda: personal priority for today

2013-04-18 Thread Daniel Clemente
You can now use M-up and M-down to move agenda lines around. This is for quick use only. It is not persistent and the agenda will be reordered on next refresh. That's nice, thanks.

Re: [O] agenda: personal priority for today

2013-04-17 Thread Daniel Clemente
** TODO This task second :PROPERTIES: :Sorting: 5029662198291 :END: As others said, this should be view-based, because the order in one agenda can be different to the order in other agenda. Each agenda view has some identifier (e.g. the letter you use to open it: a, a, t,

Re: [O] OT, but not really: todays XKCD

2013-02-12 Thread Daniel Clemente
El Tue, 12 Feb 2013 19:28:24 +0530 Jambunathan K va escriure: I will give you one more attempt. Try again. See whether you can convince me. Wow, you like discussing! You would enjoy a debate association. I did it and I enjoyed very much, it's discussing only for its own sake. I

[O] format of the ID property in the new HTML exporter

2013-02-09 Thread Daniel Clemente
Hi, in ox-html.el there's a line with an assert (the only one): (assert (org-uuidgen-p path)) 1. I have some IDs like o5y98600aze0 which don't conform to that uuidgen format; they were created by early versions of org. Should only UUIDs be accepted as ID? 2. I think the ID

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

2013-01-30 Thread Daniel Clemente
Per chance, you did not forget to M-x compile ? ;) Good to remind me/us with that, but, once again, no, as I do not use compiled Org files. That way, I'm sure not to forget such recompile step -- which I would definitely do once in a while! If you are worried about speed, you should

[O] different color for calculated cells in tables

2013-01-11 Thread Daniel Clemente
Hi, I would like to easily view which table cells are calculated, that is, which values would be overwritten if I updated the table (C-u C-u C-u C-c C-c) We can use a different cell background color (maybe with overlays?) for the automatic cells, and the normal one for „manual entry“

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

2013-01-08 Thread Daniel Clemente
Hi, El Mon, 7 Jan 2013 21:03:24 +0100 Gour va escriure: of bbdb-to-org-contacts converter wrote: Once I point org-contacts at my newly generated file containing 831 records it make org-contacts really really slow down. I wouldn't care about the normal record searching process for just

Re: [O] A mail client that is org-mode compatible

2013-01-01 Thread Daniel Clemente
I use Wanderlust and can make links from org just fine. I used gnus from 2008 to 2010 but could not make it work as I wanted. It seemed to value some things that I didn't (e.g. scoring, splitting, NNTP-style everywhere) whereas it didn't shine in other areas I needed (e.g. multiple SMTP

Re: [O] patch for org-contacts to ignore radio_marks when completing

2013-01-01 Thread Daniel Clemente
El Tue, 01 Jan 2013 23:57:27 +0100 Bastien va escriure: The function you introduced is used within `org-contacts-format-email', where using a bare name makes more sense IMHO. Exactly. It says: (concat name email ) But name is John and you will get: John j...@email.com With the

Re: [O] A mail client that is org-mode compatible

2013-01-01 Thread Daniel Clemente
El Tue, 01 Jan 2013 23:14:19 + Richard Riley va escriure: (gnus) Multiple smtp servers are well supported for quite a while now. Yes, I used it, but it was not an elegant solution. Just look at how much information you need to make it work; it's frightening:

Re: [O] Using Org-mode file format for storing configuration data

2013-01-01 Thread Daniel Clemente
El Sun, 30 Dec 2012 19:04:25 +0100 Karl Voit va escriure: I plan to implement a new weblog system that parses Org-mode files and generates (static) HTML output. Yes, I am aware that there are other solutions out there but I do not like them for various reasons.[1] Nice! I also don't like

[O] patch for org-contacts to ignore radio_marks when completing

2012-12-31 Thread Daniel Clemente
Hi, I send a patch which allows org-complete to complete if you do „J o h n TAB“ even if your contact was written as John (now you would have to type J TAB). It can be extended to remove emphasis, strongs, etc. if someone needs it. Thanks diff --git a/contrib/lisp/org-contacts.el

[O] radio target: stopped working

2012-12-04 Thread Daniel Clemente
Hi, in the latest org-mode and emacs (both compiled today), global radio targets like this one are colored as such and work, but this one is not detected, because there's a comma after the I used bisect to find where it stopped working and got to: ce8819f18d9d2be000fb70fc4d74b5d96fe07a83

[O] [PATCH] initialize level in org-agenda-format-item

2012-09-26 Thread Daniel Clemente
When I used %l in org-agenda-prefix-format, my agenda failed with: Debugger entered--Lisp error: (args-out-of-range 0 0) get-text-property(0 extra-space nil) (concat level (get-text-property 0 (quote extra-space) level)) (if (equal level ) (concat level (get-text-property 0 (quote

Re: [O] multilingual presentation with org

2012-02-16 Thread Daniel Clemente
El Wed, 15 Feb 2012 13:33:49 +0530 Rustom Mody va escriure: Now I am exploring how I could 'zip' the two together. My requirements are like this: Any thoughts/suggestions? I made a small markup language which lets you write it in this way:

Re: [O] sqlite3 in org-babel

2012-02-16 Thread Daniel Clemente
. That makes it NOT load my ~/.sqliterc (where I have a very verbose .tables). ob-sqlite does not have :init and therefore always stuffs that output into the results. Daniel Clemente n142...@gmail.com writes: Hi, org-babel works well with sqlite3 if you add this (which I propose

  1   2   3   >