Re: ox-rst still working?

2023-02-28 Thread Angel de Vicente
Hello,

just realized that it is ok if I open the file ox-rst.el and evaluate
the hole buffer.

I do have

(require 'ox-rst)

in my .emacs file and I have evaluated that a number of times, but for
some reason the rst backend is only registered with the Org dispatch
when evaluating the ox-rst.el buffer itself.

Any idea why this could be?
Thanks,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Tel.: +34 922-605-747
 Web.: http://research.iac.es/proyecto/polmag/

 GPG: 0x8BDC390B69033F52


smime.p7s
Description: S/MIME cryptographic signature


Re: ox-rst still working?

2023-02-27 Thread Angel de Vicente

Ihor Radchenko  writes:
> I just meant that if you have org-ref installed, it may override the
> ox-rst menu item. There is a way to solve this, but I am not sure if the
> problem is originated from this guess of mine.

Ah, ok. No, I don't have org-ref installed.

-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Tel.: +34 922-605-747
 Web.: http://research.iac.es/proyecto/polmag/

 GPG: 0x8BDC390B69033F52


smime.p7s
Description: S/MIME cryptographic signature


Re: ox-rst still working?

2023-02-27 Thread Angel de Vicente
Hello,

Ihor Radchenko  writes:

> Works on my side with the latest Org.

thanks for the update.

> Note that ox-rst menu clashes with default org-ref menu.

Not sure what to make out of this. I guess this is the problem in my
side, but how do you use the ox-rst menu then (or you don't use the
dispatcher menu and invoke directly the rst export command?)

Cheers,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Tel.: +34 922-605-747
 Web.: http://research.iac.es/proyecto/polmag/

 GPG: 0x8BDC390B69033F52


smime.p7s
Description: S/MIME cryptographic signature


ox-rst still working?

2023-02-24 Thread Angel de Vicente
Hello,

I was trying to export an .org file to .rst. I have ox-rst 20200815.1511
installed, and I have run (require 'ox-rst), but despite this, there is
no option for rsT in the Org Export Dispatcher. Did I miss something to
make it work?

Emacs version: 28.2
Orgmode verion: 9.1.3

Thanks,
-- 
Ángel de Vicente -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: Compact schedule in agenda day view

2023-02-18 Thread Angel de Vicente
Hello,

Marcin Borkowski  writes:

> And you could have found it out yourself with `C-h l' (`view-lossage').
> `C-h m' (`describe-mode') and `C-h k' (`describe-key') are also useful

thanks for the tips. I had used 'view-lossage' in the past, but I had
forgotten about it... :-)

Cheers,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Tel.: +34 922-605-747
 Web.: http://research.iac.es/proyecto/polmag/

 GPG: 0x8BDC390B69033F52
-
AVISO LEGAL: Este mensaje puede contener información confidencial y/o 
privilegiada. Si usted no es el destinatario final del mismo o lo ha recibido 
por error, por favor notifíquelo al remitente inmediatamente. Cualquier uso no 
autorizadas del contenido de este mensaje está estrictamente prohibida. Más 
información en: https://www.iac.es/es/responsabilidad-legal
DISCLAIMER: This message may contain confidential and / or privileged 
information. If you are not the final recipient or have received it in error, 
please notify the sender immediately. Any unauthorized use of the content of 
this message is strictly prohibited. More information:  
https://www.iac.es/en/disclaimer



Re: Compact schedule in agenda day view

2023-02-15 Thread Angel de Vicente
Hello,

Angel de Vicente  writes:

> Anybody knows off the top of your head how to toggle this?

Sorry for the noise. "G" is the magic letter I was looking for.

Cheers,
-- 
Ángel de Vicente -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Compact schedule in agenda day view

2023-02-15 Thread Angel de Vicente
Hello,

I was too quick on the keyboard and I pressed some magic key combination
and now my schedule for today shows in a compact way (only showing the
appointments). I actually prefer the "expanded" way, in which I get a
grid for the whole day (so it easier for me to quickly see if an
appointment is in the morning or the afternoon, etc.).

The problem: I don't know how to go back, and I'm not sure how this
feature is called, so I was not successful searching for it in the
manual.

Anybody knows off the top of your head how to toggle this?

Many thanks,
-- 
Ángel de Vicente -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: Do not show a TODO item in the global TODO list until certain date?

2022-10-21 Thread Angel de Vicente
Hello, 

Ihor Radchenko  writes:

> Try the following adjusted version:
>
> (defun org-agenda-skip-before-SHOWFROMDATE-property ()
>   "Skip agenda item if :SHOWFROMDATE: property is set and the day is before 
> it"
>   (when-let* ((showfromdate (if (bound-and-true-p org-ql--current-element)
> (org-element-property :SHOWFROMDATE 
> (org-element-lineage org-ql--current-element '(headline) t))
>   (org-entry-get (point) "SHOWFROMDATE")))
>   (showfromdate (unless (seq-empty-p showfromdate) (ts-parse-org 
> showfromdate)))
> (currenttime (ts-now)))
> (when (ts< currenttime showfromdate)
>   (or (outline-next-heading) (point-max)

Fantastic. It does work now beautifully.

[I was about to tell you that it was still not working, because I was
still trying with the following TODO item:

,
| ** TODO test   :personal:
| 
|:PROPERTIES:
|:SHOWFROMDATE: 2022-10-16
|:END:
`

and then I realized that the empty line before :PROPERTIES: was breaking
it. With no empty line it works fine (I should've used
org-command-set-SHOWFROMDATE-property from the beginning, which sets the
PROPERTIES in the right format).

,
| ** TODO test   :personal:
|:PROPERTIES:
|:SHOWFROMDATE: 2022-10-16
|:END:
`

Many thanks for your help. My TODO list is going to become a lot cleaner
from now!

Cheers,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Tel.: +34 922-605-747
 Web.: http://research.iac.es/proyecto/polmag/
-
AVISO LEGAL: Este mensaje puede contener información confidencial y/o 
privilegiada. Si usted no es el destinatario final del mismo o lo ha recibido 
por error, por favor notifíquelo al remitente inmediatamente. Cualquier uso no 
autorizadas del contenido de este mensaje está estrictamente prohibida. Más 
información en: https://www.iac.es/es/responsabilidad-legal
DISCLAIMER: This message may contain confidential and / or privileged 
information. If you are not the final recipient or have received it in error, 
please notify the sender immediately. Any unauthorized use of the content of 
this message is strictly prohibited. More information:  
https://www.iac.es/en/disclaimer



Re: Habit tracking (add "DONE" state with configurable date/time)

2022-10-04 Thread Angel de Vicente



Ihor Radchenko  writes:

> org-todo-yesterday

:-) fantastic. Not configurable but certainly enough for my purposes. 

Many thanks,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Habit tracking (add "DONE" state with configurable date/time)

2022-10-04 Thread Angel de Vicente
Hello,

I'm lately finding myself in this situation: I have a number of habits
that I track, and I want to mark one of them to "DONE", but registering
not the date when I change its state, but some other date/time (this
usually happens, for example, with my "sports" habit, which I do late at
night, so it is only next day when I turn on the computer that I can
change its state, but I want to register the state change date/time as
that of the previous day).

I thought that `C-u C-c C-t' might do this, but that apparently lets me
change the state but not the date.

Any ideas? Thanks
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: [BUG] Face attribute customization is ignored [9.5.5 (9.5.5-gbe2246 @ /home/dav/.emacs.d/straight/build/org/)]

2022-09-26 Thread David Vicente

On 25/09/22 04:29, Ihor Radchenko wrote:

If you want to be really safe, try setting the :extend face property in
org-font-lock-set-keywords-hook or in org-mode-hook.


Yep, I was using org-mode-hook to be safe before filling this bug 
report. Thanks!




Re: [BUG] Face attribute customization is ignored [9.5.5 (9.5.5-gbe2246 @ /home/dav/.emacs.d/straight/build/org/)]

2022-09-24 Thread David Vicente

On 24/09/22 02:58, Ihor Radchenko wrote:

Yes, it does. Just set it to nil, and you will be good to go.



Won't that have other effects?



[BUG] Face attribute customization is ignored [9.5.5 (9.5.5-gbe2246 @ ~/.emacs.d/straight/build/org/)]

2022-09-23 Thread David Vicente

Starting with:
    $ emacs -Q


and evaluating

(require 'org)

(set-face-attribute 'org-block nil :extend nil :background "snow2")
(set-face-attribute 'org-block-begin-line nil :extend nil :background 
"snow2")

(set-face-attribute 'org-block-end-line nil :extend nil :background "snow2")

(org-mode)

If we now write something like:


#+BEGIN_SRC
(+ 1 2)
#+END_SRC

The attribute customization of org-block-begin-line and 
org-block-end-line is ignored, i.e, the :extend attribute gets 
overwritten when we start org-mode and ends up with value t.


After inspecting the source code I suspect that it might have something 
to do with org-fontify-whole-block-delimiter-line...


Thanks

Emacs  : GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.33, cairo version 1.17.6)

 of 2022-04-27
Package: Org mode version 9.5.5 (9.5.5-gbe2246 @ 
~/.emacs.d/straight/build/org/)





Re: Do not show a TODO item in the global TODO list until certain date?

2022-09-23 Thread Angel de Vicente
Hello,

Bastien  writes:

>> As per the example I was giving, I don't want that entry to be scheduled
>> for October 16 (and thus clutter my agenda view), I just want it to be
>> visible in my Global TODO list from that date, so then, depending on how
>> busy I'm around that date, then I can decide when to schedule it for.
>
> Another option is to define an agenda view that only shows TODO items
> for today, with `org-agenda-span' set to 1 --- something like this:

thanks. I tried, but that doesn't seem to be what I was looking for (or
perhaps I missed something). In my case I have many TODO items without a
date, and I don't want to assign a specific date to them. I simply want
that they are hidden from the Global TODO list until a specific date.

[I can assign a date to them, but then it will look like I have to do
them on that date. Ideally I would like them to be without a date, so
they don't show up in the agenda, only in the global TODO list, but have
a field =skip_until= or similar, so they will be hidden until then]

Thanks,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Tel.: +34 922-605-747
 Web.: http://research.iac.es/proyecto/polmag/
-
AVISO LEGAL: Este mensaje puede contener información confidencial y/o 
privilegiada. Si usted no es el destinatario final del mismo o lo ha recibido 
por error, por favor notifíquelo al remitente inmediatamente. Cualquier uso no 
autorizadas del contenido de este mensaje está estrictamente prohibida. Más 
información en: https://www.iac.es/es/responsabilidad-legal
DISCLAIMER: This message may contain confidential and / or privileged 
information. If you are not the final recipient or have received it in error, 
please notify the sender immediately. Any unauthorized use of the content of 
this message is strictly prohibited. More information:  
https://www.iac.es/en/disclaimer



[BUG] Face attribute customization is ignored [9.5.5 (9.5.5-gbe2246 @ /home/dav/.emacs.d/straight/build/org/)]

2022-09-23 Thread David Vicente

Starting with:
$ emacs -Q


and evaluating

(require 'org)

(set-face-attribute 'org-block nil :extend nil :background "snow2")
(set-face-attribute 'org-block-begin-line nil :extend nil :background 
"snow2")

(set-face-attribute 'org-block-end-line nil :extend nil :background "snow2")

(org-mode)

If we now write something like:


#+BEGIN_SRC
(+ 1 2)
#+END_SRC

The attribute customization of org-block-begin-line and 
org-block-end-line is ignored, i.e, the :extend attribute gets 
overwritten when we start org-mode and ends up with value t.


After inspecting the source code I suspect that it might have something 
to do with org-fontify-whole-block-delimiter-line...


Thanks

Emacs  : GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.33, cairo version 1.17.6)

 of 2022-04-27
Package: Org mode version 9.5.5 (9.5.5-gbe2246 @ 
/home/dav/.emacs.d/straight/build/org/)




Re: Do not show a TODO item in the global TODO list until certain date?

2022-09-15 Thread Angel de Vicente
Hello,

Ihor Radchenko  writes:

> Also, I am doing something similar in my personal config using
> SHOWFROMDATE property. See
> https://github.com/yantar92/emacs-config/blob/master/config.org#properties
> for inspiration.

I tried the following but without success... my Emacs Lisp lack of
knowledge is showing here...

I copied your code from
https://github.com/yantar92/emacs-config/blob/master/config.org#properties
into my .emacs and eval-ed it.
,
| (add-to-list 'org-default-properties "SHOWFROMDATE")
| (bind-key "C-c C-f" #'org-command-set-SHOWFROMDATE-property org-mode-map)
| (bind-key "C-c C-f" #'org-command-set-SHOWFROMDATE-property 
org-agenda-mode-map)
| (add-to-list 'org-agenda-bulk-custom-functions '(?F 
org-command-set-SHOWFROMDATE-property))
| 
| (defun org-command-set-SHOWFROMDATE-property ( arg)
|   "Command to set :SHOWFROMDATE property for the org entry at point.
|If NOT-IN-AGENDA is not nil, do not check whether we are in agenda 
now."
|   (interactive "P")
|   (if (equal major-mode 'org-agenda-mode)
|   (progn
|   (org-agenda-check-no-diary)
|   (let* ((marker (or (org-get-at-bol 'org-marker)
|  (org-agenda-error)))
|  (buffer (marker-buffer marker))
|  (pos (marker-position marker))
|  (inhibit-read-only t)
|  ts)
| (org-with-remote-undo buffer
|   (with-current-buffer buffer
| (widen)
| (goto-char pos)
| ;; (org-fold-show-context 'agenda)
| (funcall-interactively 'org-command-set-SHOWFROMDATE-property arg)
| (setq ts (org-entry-get (point) "SHOWFROMDATE")))
|   (org-agenda-show-new-time marker ts " P"
| (let ((property "SHOWFROMDATE"))
|   (if (equal arg '(4))
| (org-entry-delete (point) property)
|   (let ((value (org-read-property-value property))
| (fn (cdr (assoc-string property org-properties-postprocess-alist 
t
| (setq org-last-set-property property)
| (setq org-last-set-property-value (concat property ": " value))
| ;; Possibly postprocess the inserted value:
| (when fn (setq value (funcall fn value)))
| (unless (equal (org-entry-get nil property) value)
|   (org-entry-put nil property value)))
| 
| (defun org-set-SHOWFROMDATE-property (PROMPT  args)
|   "Read :SHOWFROMDATE: property."
|   (org-read-date nil nil nil PROMPT))
| 
| (add-to-list 'org-property-set-functions-alist '("SHOWFROMDATE" . 
org-set-SHOWFROMDATE-property))
| 
| (defun org-agenda-skip-before-SHOWFROMDATE-property ()
|   "Skip agenda item if :SHOWFROMDATE: property is set and the day is before 
it"
|   (when-let* ((showfromdate (if (bound-and-true-p org-ql--current-element)
| (org-element-property :SHOWFROMDATE 
(org-element-lineage org-ql--current-element '(headline) t))
|   (org-entry-get (point) "SHOWFROMDATE")))
|   (showfromdate (unless (seq-empty-p showfromdate) (ts-parse-org 
showfromdate)))
| (currenttime (ts-now)))
| (ts< currenttime showfromdate)))
`


Then, I defined a test custom command:
,
| (setq org-agenda-custom-commands
|   '(("h" "Agenda and tasks"
|((agenda "" ((org-agenda-skip-function 
'org-agenda-skip-before-SHOWFROMDATE-property)))
|   (alltodo "" ((org-agenda-skip-function 
'org-agenda-skip-before-SHOWFROMDATE-property)))
`

together with a test TODO item:

,
| ** TODO test   :personal:
| 
|:PROPERTIES:
|:SHOWFROMDATE: 2022-10-16
|:END:
`

But the "test" still shows in the TODO list. Am I missing something
basic here?

Thanks for your help. Cheers,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: Do not show a TODO item in the global TODO list until certain date?

2022-09-14 Thread Angel de Vicente
Hello,

Ihor Radchenko  writes:

> Check out org-agenda-skip-function (see A.7 Special Agenda Views section
> of the manual).
>
> Also, I am doing something similar in my personal config using
> SHOWFROMDATE property. See
> https://github.com/yantar92/emacs-config/blob/master/config.org#properties
> for inspiration.

thanks for the pointers. I will check both alternatives and see which
one suits me best.
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: Do not show a TODO item in the global TODO list until certain date?

2022-09-14 Thread Angel de Vicente
Hello,

"Rohit Patnaik"  writes:

>> (not a scheduled one, since I don't need to do it on a particular date)
>
> The `SCHEDULED' property is in fact the correct way to indicate that you wish 
> to
> hide the task from the global to-do list until a particular date. `SCHEDULED'
> indicates the day upon which you wish to start working on the task. If 
> there's a
> particular date by which the task has to be completed, the `DEADLINE' property
> is appropriate.

Thanks for the pointer, but maybe I use SCHEDULED items a bit different,
since I want only a few items in my agenda view, only those that I
really intend to start working on the given date.

As per the example I was giving, I don't want that entry to be scheduled
for October 16 (and thus clutter my agenda view), I just want it to be
visible in my Global TODO list from that date, so then, depending on how
busy I'm around that date, then I can decide when to schedule it for.

I hope it makes sense (and there is some way to accomplish it).

Cheers,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: org-super-agenda global list of TODO items

2022-09-14 Thread Angel de Vicente
Hello,

Angel de Vicente  writes:

> great. That looks very promising, and without the need to change the
> source code. I will try it later on and report back.

I ended up with this (and going back to unmodified source code for
org-super-agenda, and it now works beautifully. 

,
| (setq own-agenda-groups '((:name "Efemerides" :tag "efemerides" :order 1)
|  (:name "IMPORTANT" :priority "A" :transformer
| (--> it
|  (propertize it 'face
|  '(:foreground "red" 
:background "green")))
| :order 1)
|  (:name "Astrophysics" :tag "astrophysics" :order 3)
|  (:name "Hacking" :tag "hacking" :order 3)
|  (:name "Admin" :tag "admin" :order 4)))
| 
| (setq org-agenda-custom-commands
|   '(("h" "Agenda and tasks"
|((agenda "" ((org-super-agenda-groups
|(append
| '((:todo "DONE" :discard)
|   (:name "Schedule" :time-grid t :transformer
|  (--> it
|   (propertize it 'face
|   '(:foreground "yellow")
| own-agenda-groups
|   (alltodo "" ((org-super-agenda-groups
| (append
|  '((:todo "DONE" :discard))
|  own-agenda-groups  
`

Many thanks,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: org-super-agenda global list of TODO items

2022-09-14 Thread Angel de Vicente
Hello,

Christophe Schockaert  writes:

> If I am right (I am playing with the config, it’s not in my daily setup yet 
> for
> now), I could achieve this by defining "org-agenda-custom-commands" as shown 
> in
> the "Projects" example :
> https://github.com/alphapapa/org-super-agenda/blob/master/examples.org#projects.
>
> In that case, "org-super-agenda-groups" is defined differently according to 
> the
> context, so the "time-grid" captures the timed entries in its scope. Then,
> "org-super-agenda-groups" applies to the TODOs in the "todo" or "alltodo"
> context (I used the latter one) where I don’t define the "time-grid"
> selection. Or, maybe I applied it to the "alltodo" only, and discarded it for
> the agenda grid to work only on the TODOs. I don’t remember exactly, however
> this might be a workaround to try that does not need an update of the code,
> especially if it is not expected to be stable and supported by the author.

great. That looks very promising, and without the need to change the
source code. I will try it later on and report back.

Cheers,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Do not show a TODO item in the global TODO list until certain date?

2022-09-14 Thread Angel de Vicente
Hello,

I'm wondering if it is possible to have a TODO item, but to not show it
in the global TODO list until certain date?

For example: I need to get a new insurance for my motor bike, but
insurance companies will not give me a quote until October 16, so I
would like to create a TODO entry (not a scheduled one, since I don't
need to do it on a particular date), but to hide it from view until
October 16, since there is no point on trying to do it before that, and
it clutters my TODO list.

I checked the Org manual and didn't see anything obvious, but maybe
there is some way?

Thanks,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: org-super-agenda global list of TODO items

2022-09-13 Thread Angel de Vicente
Hello,

> This looks correct. The only suspicious group is the one with
> :time-grid. Time grid is not supported in todo list by vanilla
> org-agenda. I am not sure how well org-super-agenda handles it.
>
> I'd try to remove the "Schedule" group for TODO agenda. If it helps the
> situation, you may consider reporting the issue to org-super-agenda
> author at https://github.com/alphapapa/org-super-agenda/

thanks for the help. It turns out that this was already an issue in
org-super-agenda
(https://github.com/alphapapa/org-super-agenda/issues/212). User tuh
provided a possible fix
(https://github.com/alphapapa/org-super-agenda/pull/221), which has not
been accepted yet since apparently perhaps it can break other things,
but in my case it looks like it is working just fine, so I'll risk it
:-)

Cheers,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: org-super-agenda global list of TODO items

2022-09-13 Thread Angel de Vicente
Hello,

Ihor Radchenko  writes:

> How do you customize your org-super-agenda-groups variable?

via customize-variable, which sets this in my custom-set-variables in my .emacs:

,
|  '(org-super-agenda-groups
|'((:name "Schedule" :time-grid t :transformer
| (--> it
|  (propertize it 'face
|  '(:foreground "yellow"
|  (:name "Important" :priority "A")
|  (:name "POLMAG" :tag "polmag")
|  (:name "Astrophysics" :tag
| ("astrophysics"))
|  (:name "Personal" :tag "personal")
|  (:priority<= "B" :order 1)))
`
 
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: org-super-agenda global list of TODO items

2022-09-12 Thread Angel de Vicente
Hello,

Ihor Radchenko  writes:

> Could you please elaborate what you mean by "organize"?

Maybe the best is an image... If you look at
https://github.com/alphapapa/org-super-agenda/blob/master/images/screenshots/index.org,
you can see that the TODO items for a given date in the agenda are
neatly organized by using org-super-agenda into user-defined groups
(Important, Personal, etc.).

I got this working fine, but then I have a long list of TODO items with
no scheduled date. I was hoping that org-super-agenda would also work on
those items, so that similar grouping would be applied to them, but I
don't know if this is not possible or I'm missing something.

As an example, my agenda now looks like the following, where the
grouping is not applied to the Global list of TODO items (which I would
like):

,
| Day-agenda (W37):
| Tuesday13 September 2022
| 
|  Schedule
|6:35.. now - - - - - - - - - - - - - - - - - - - - - - - - 
-
|8:00.. 
|   10:00.. 
|   12:00.. 
|   14:00.. 
|   16:00.. 
|   diary:  17:30-18:30 Timaginas Teatro 
|   18:00.. 
|   20:00.. 
| 
|  Important
|   TODO_personal:Scheduled:  TODO [#A] Revisión óptica
:personal:
| 
|  Personal
|   TODO_personal:Scheduled:  TODO Call city hall  
:personal:
| 
| 
===
| Global list of TODO items of type: ALL
| 
|  Schedule
|   TODO_wprogress:TODO [#A] P-CORONA (open source version) [2/11]
:polmag:
|   TODO_personal:TODO [#B] Oculista Alex   
:personal:
|   TODO_personal:TODO [#B] Imprimir detalles Pelayo
:personal:
|   TODO_wprogress:TODO Leer:   
:astrophysics:
|   TODO_wprogress:TODO PORTA: Prepare citation file  
:polmag:
`

-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




org-super-agenda global list of TODO items

2022-09-12 Thread Angel de Vicente
Hello,

I just learnt about org-super-agenda today and it looks brilliant to
keep my agenda a bit better organized. But I tend to use the "C-c a h"
to view the daily agenda and the tasks. I managed to organize my todo
items in the daily agenda view without issues, but I'm not sure what I
have to do to organize the items in the "Global list of TODO items". Is
this possible? Any examples to point me in the right direction?

Many thanks,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: Timestamp with repeater interval AND END DATE?

2022-06-10 Thread Angel de Vicente
Hello,

Robert Pluim  writes:

>>>>>> On Tue, 31 May 2022 15:36:01 +0100, Angel de Vicente 
>>>>>>  said:
> Angel> ,
> Angel> | *** Badminton 20:45-22:15
> Angel> | <%%(and (diary-cyclic 7 2022 05 30) (diary-block 2022 05 30 
> 2022 06 30))>
> Angel> `
>
> Angel> (the s-exp entry above assumes 'calendar-date-style' is set to 
> 'iso')
>
> If you use `org-cyclic' and `org-block' you donʼt need to worry about
> that anymore.

I tried (briefly :-)) to look for some place where org-cyclic and
org-block are documented, but failed. But I tried, and they do work
nicely. So they always assume 'iso' style regardless of the value of
'calendar-date-style'? 

Thanks,
-- 
Ángel de Vicente 

Research Software Engineer (Supercomputing and BigData)




Re: Timestamp with repeater interval AND END DATE?

2022-05-31 Thread Angel de Vicente
Hello,

Eric S Fraga  writes:

> On Tuesday, 31 May 2022 at 14:46, Angel de Vicente wrote:
>> Did I miss something in the manual?
>
> No, you did not miss anything.  What you want cannot be done with a
> single time stamp.  Instead, there are two alternatives:
>
> 1. use a diary s-exp (see info manual) which does allow this or
> 2. use org-clone-subtree-with-time-shift: create a single entry and then
>copy it as many times as desired.

in case it can be useful to somebody else, I ended up with an entry like
this, that does the job:

,
| *** Badminton 20:45-22:15
| <%%(and (diary-cyclic 7 2022 05 30) (diary-block 2022 05 30 2022 06 30))>
`

(the s-exp entry above assumes 'calendar-date-style' is set to 'iso')

Cheers,
-- 
Ángel de Vicente

Research Software Engineer (Supercomputing and BigData)
Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Timestamp with repeater interval AND END DATE?

2022-05-31 Thread Angel de Vicente
Hello,

I have plenty of timestamps with a repeater interval
(https://orgmode.org/manual/Timestamps.html), but on reading the manual
I couldn't find how to specify an END DATE, so for example, "prepare
homework for students" gets repeated every week, but not beyond June
(the last month of the school year here). Did I miss something in the
manual?

Thanks,
-- 
Ángel de Vicente

Research Software Engineer (Supercomputing and BigData)
Instituto de Astrofísica de Canarias (https://www.iac.es/en)




Re: [O] Make org-fill-paragraph behave as Emacs 26.1 fill-paragraph

2018-06-17 Thread Vicente Vera
Nice, thanks.
The 'next' branch will be merged with 'master' for Org 9.2 release?

El jue, jun 14, 2018 16:07, Nicolas Goaziou 
escribió:

> Hello,
>
> Vicente Vera  writes:
>
> > Since Emacs 26.1 ‘fill-paragraph’ doesn't change the buffer contents
> > if no filling is needed on the current paragraph. It would be nice if
> > ‘org-fill-paragraph’ worked the same way.
> >
> > Not a very relevant change to make, really, but still. Just to avoid
> > those pesky false-positive asteriks!
>
> Implemented in "next" branch. Thank you.
>
> Regards,
>
> --
> Nicolas Goaziou
>


[O] Make org-fill-paragraph behave as Emacs 26.1 fill-paragraph

2018-06-01 Thread Vicente Vera
Hi.

Since Emacs 26.1 ‘fill-paragraph’ doesn't change the buffer contents
if no filling is needed on the current paragraph. It would be nice if
‘org-fill-paragraph’ worked the same way.

Not a very relevant change to make, really, but still. Just to avoid
those pesky false-positive asteriks!



Re: [O] "Minimal" LaTeX export

2017-12-16 Thread Vicente Vera
That is amazing. Thank you very much!

Yes, that's a good idea (include files); will look into it.


El dic 16, 2017 2:46 PM, "Berry, Charles" <ccbe...@ucsd.edu> escribió:



> On Dec 16, 2017, at 8:48 AM, Vicente Vera <vicente...@gmail.com> wrote:
>
> I'm trying to export a simple document to a LaTeX buffer, but just the
> main content, without a preamble nor the "document" environment.

You want `(org-latex-export-as-latex nil nil nil t)' or `C-c C-e C-b l L'.


,[ C-h f org-latex-export-as-latex RET ]
| org-latex-export-as-latex is an interactive autoloaded compiled Lisp
| function in ‘ox-latex.el’.
|
| (org-latex-export-as-latex  ASYNC SUBTREEP VISIBLE-ONLY
| BODY-ONLY EXT-PLIST)
|
| Export current buffer as a LaTeX buffer.
|
| [...]
|
| When optional argument BODY-ONLY is non-nil, only write code
| between "\begin{document}" and "\end{document}".
|
| [...]
`

> The main objective is to export several Org documents which are parts of a
> larger LaTeX report. These parts are then included by means of the
> "input" command.


Why not use include keywords in the org document?  They can, if needed,
refer to sections in the parent document.

See (info "(org) Include files")

HTH,

Chuck


[O] "Minimal" LaTeX export

2017-12-16 Thread Vicente Vera
Hello

I'm trying to export a simple document to a LaTeX buffer, but just the
main content, without a preamble nor the "document" environment. The
main objective is to export several Org documents which are parts of a
larger LaTeX report. These parts are then included by means of the
"input" command.

This is what I came up with, but, of course, there are other functions
involved that seem too expensive to modify:

(defun this-is-just-a-test ()
  (interactive)
  (require 'ox-latex)
  (let ((org-export-with-date nil)
(org-export-with-toc nil)
(org-latex-classes
 (append org-latex-classes
 '(("nothing-at-all"
"[NO-DEFAULT-PACKAGES]
[NO-PACKAGES]
[NO-EXTRA]"
;; "book"
("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
(org-latex-default-class "nothing-at-all")
(org-latex-with-hyperref nil)
(org-latex-hyperref-template nil)
(org-latex-prefer-user-labels t))
(org-latex-export-as-latex)))

Is there a "clean", elispy way to do this?



Re: [O] Is it possible to sort checkboxes?

2017-11-07 Thread Angel de Vicente
Hi,

never mind. As so many other times (blush) I figured out the answer
right after posting the question. I was trying with a test file like the
following and with the org-sort (C-c ^) command. I assumed I had to
issue the command in the TODO line, which tells me there is "Nothing to
sort". Actually it looks like I can do it in any of the Task lines and
it works exactly as I wanted.

Orgmode to rule the world! :-)

,
| * Test
| 
| ** TODO Work on item 1 [2/12]
|   + [ ] Task a
|   + [ ] Task b
|   + [ ] Task c
|   + [ ] Task d
|   + [ ] Task f
|   + [ ] Task h
|   + [ ] Task i
|   + [ ] Task j
|   + [ ] Task k
|   + [ ] Task l
|   + [X] Task e
|   + [X] Task g
`

-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




[O] Is it possible to sort checkboxes?

2017-11-07 Thread Angel de Vicente
Hi,

lately I'm using checkboxes a lot. They are fine, but I tend to have items
with many checkboxes in them. As I work on an item I check some of them
as done C-c C-c, but since I have many checkboxes and I don't always
work in them in order, I end up having many checkboxes around, some
checked as done, some unchecked.

What I'm trying to find is a way to automatically move a checkbox to the
bottom of the list when I check it, so that all unchecked items are at
the beginning and all the checked ones at the end. Any ideas?

Many thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




Re: [O] Is it possible for a TODO item not to be an outline item?

2017-10-11 Thread Angel de Vicente
Hi Florian,

Florian Beck <f...@fbeck.net> writes:
> On 08.10.2017 13:40, Angel de Vicente wrote:
>> So basically I would like to have that TODO item but somehow without
>> creating a new section. Is it possible?
>
> Use
>
> ---
> bla bla bla
> # TODO: fix installation
> bla bla bla
> ---
>
> and
>
> M-x org-occur-in-agenda-files (which is bound to C-a /).

Thanks for the suggestion, but this won't be considered a TO DO item by
org, so not what I'm looking for (I won't be able, for example, to
assign priorities, or look for TO DO only in this buffer, record the
date automatically when closing the TO DO item, etc.). For the moment
I'll stick with the org-inlinetask approach.

Cheers,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




Re: [O] Is it possible for a TODO item not to be an outline item?

2017-10-08 Thread Angel de Vicente
Hi,



Marco Wahl <marcowahls...@gmail.com> writes:
> Georgiy Tugai <georgiy.tu...@gmail.com> writes:
>
>> Inline tasks come to mind. Here's your example with inline tasks:

>> The command to insert an inline task is 'org-inlinetask-insert-task'; I
>> believe that there is no default binding.
>
> There is.  In an Org file
>
> C-h w org-inlinetask-insert-task
>
> yields typically the message
>
> org-inlinetask-insert-task is on C-c C-x t


Thanks Georgiy and Marco.

I just put (require 'org-inlinetask) in my .emacs file and the mentioned
function and keybinding are available. It is not particularly pretty how
inline tasks show in the file, but it is a solution.

Many thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




[O] Is it possible for a TODO item not to be an outline item?

2017-10-08 Thread Angel de Vicente
Hi,

I'm starting to use org for notes, and I realize that I don't know how
to create a TODO item but without it being an outline item. Sorry if
this is not the proper terminology. Let me explain what I would like to
have. Let's say I have a file where I want to keep details about a new machine
installation. I would have something like:

,
| * Installation of PC X
| 
| ** Hardware configuration
| blah,blah,blah,
| 
| ** Software configuration
| I intall app x, no trouble
|
| I try to install app y, but no luck
| *** TODO App Y is giving trouble, fix
| 
| I install app z, no trouble 
`

For the "software configuration" I just type notes of what I'm doing,
and I would like to have TODO items for unfinished tasks.

If I write something like above when I collapse the TODO item, all the
information about the app Z collapses with it. I know that I could
create another outline level for each of the apps (or at least for "app
y" and "app z"), but that will force me to create extra levels whenever
I want to insert a TODO item in the middle of a section.

So basically I would like to have that TODO item but somehow without
creating a new section. Is it possible?

Thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




Re: [O] exporting markdown with tables

2017-06-04 Thread Vicente Vera
Cool, you're welcome. It is not the most convenient solution, but
keeping your tables in Editorial Markdown syntax should work:

#+BEGIN_EXPORT md
Cat | Fur   |
--- | ---   |
A   | A lot |
B   | None  |
#+END_EXPORT

2017-06-03 16:46 GMT+00:00 Peter Davis <p...@pfdstudio.com>:
> Thanks, Vincente.
>
> I'm specifically aiming at the Markdown syntax supported by the Editorial
> app, which does include markup for tables. Unfortunately, it looks like
> Editorial's Markdown doesn't use the initial '|', so simply exporting the
> org markup won't work without some editing.
>
> Thanks!
> -pd
>
> On Sat, Jun 3, 2017, at 12:31 PM, Vicente Vera wrote:
>> There are several Markdown "forks" which have different sets of features.
>>
>> AFAIK the markdown exporter in Org is based upon John Gruber's
>> Markdown, which does not include a syntax for tables. Thus all tables
>> in Org documents get exported as HTML.
>>
>> A workaround is to wrap your Org tables as:
>>
>> #+BEGIN_EXPORT md
>> | Name   | Years |
>> | Edward |44 |
>> | Sylvia |45 |
>> #+END_EXPORT
>>
>> On export to Markdown the tables will be kept unmodified as Org syntax.
>>
>> It is important that you know which flavor of Markdown you're
>> targeting, because not all versions accept tables in Org syntax.
>> Pandoc's Markdown have a similar syntax for "pipe tables". However,
>> you may type all tables in any syntax accepted by your Markdown
>> version and keep them wrapped in #+BEGIN_EXPORT tags.
>>
>> 2017-06-03 13:41 GMT+00:00 Peter Davis <p...@pfdstudio.com>:
>> >
>> > I'd like to be able to move easily between org-mode and the IOS app
>> > Editorial, which is mainly based around markdown syntax. I can
>> > easily export markdown from org-mode, but the tables seems to come
>> > through as straight HTML, as opposed to markdown's table
>> > syntax. This makes it more difficult to edit the resulting files.
>> >
>> > Is there a way to get org to export to markdown using md's table syntax?
>> >
>> > (FWIW, I tried using pandoc, but this just removed the table syntax
>> > altogether, so an entire table would just run together into a
>> > paragraph of gibberish.)
>> >
>> > Thanks,
>> > -pd
>> >
>> >
>
>
> --
>   Peter Davis
>   www.techcurmudgeon.com
>



Re: [O] exporting markdown with tables

2017-06-03 Thread Vicente Vera
There are several Markdown "forks" which have different sets of features.

AFAIK the markdown exporter in Org is based upon John Gruber's
Markdown, which does not include a syntax for tables. Thus all tables
in Org documents get exported as HTML.

A workaround is to wrap your Org tables as:

#+BEGIN_EXPORT md
| Name   | Years |
| Edward |44 |
| Sylvia |45 |
#+END_EXPORT

On export to Markdown the tables will be kept unmodified as Org syntax.

It is important that you know which flavor of Markdown you're
targeting, because not all versions accept tables in Org syntax.
Pandoc's Markdown have a similar syntax for "pipe tables". However,
you may type all tables in any syntax accepted by your Markdown
version and keep them wrapped in #+BEGIN_EXPORT tags.

2017-06-03 13:41 GMT+00:00 Peter Davis :
>
> I'd like to be able to move easily between org-mode and the IOS app 
> Editorial, which is mainly based around markdown syntax. I can
> easily export markdown from org-mode, but the tables seems to come through as 
> straight HTML, as opposed to markdown's table
> syntax. This makes it more difficult to edit the resulting files.
>
> Is there a way to get org to export to markdown using md's table syntax?
>
> (FWIW, I tried using pandoc, but this just removed the table syntax 
> altogether, so an entire table would just run together into a
> paragraph of gibberish.)
>
> Thanks,
> -pd
>
>



[O] Git repository error

2017-05-25 Thread Vicente Vera
Hi. For a while i've been getting this error upon running 'make up0'
from my local Org repository:

fatal: read error: Connection reset by peer



Re: [O] Complex conversion of text to org table

2017-03-13 Thread Vicente Vera
OK that's a nice trick. Very useful for CSV files. Thanks!

2017-03-12 16:52 GMT+00:00 Scott Randby <sran...@gmail.com>:

> On 03/12/2017 11:35 AM, Xebar Saram wrote:
> > Thx Vicente!
> >
> > Thats a decent idea. can this be all wrapped in a function (i have zero
> > coding skills :)) ? i have hundreds of these tables to convert :)
> >
> > best!
> >
> > Z
>
> OR
>
> 3/4, cup, milk
> 2, tablespoons, white vinegar
> 1, cup, all-purpose flour
> 2, tablespoons, white sugar
> 1, teaspoon, baking powder
> 1/2, teaspoon, baking soda
> 1/2, teaspoon, salt
> 1,, egg
> 2, tablespoons, butter melted
> ,, cooking spray
>
> | 3/4 | cup | milk  |
> |   2 | tablespoons | white vinegar |
> |   1 | cup | all-purpose flour |
> |   2 | tablespoons | white sugar   |
> |   1 | teaspoon| baking powder |
> | 1/2 | teaspoon| baking soda   |
> | 1/2 | teaspoon| salt  |
> |   1 | | egg   |
> |   2 | tablespoons | butter melted |
> | | | cooking spray |
>
> Scott
>
> >
> > On Sun, Mar 12, 2017 at 5:26 PM, Vicente Vera <vicente...@gmail.com
> > <mailto:vicente...@gmail.com>> wrote:
> >
> > Hello. In this case Org splits into columns everytime it sees a
> > space, so "baking soda" ends up in two columns. A brute force
> > solution: replace the spaces between words that shouldn't be put
> > into separated columns with an underscore:
> >
> > 1_cup all-purpose_flour
> >
> > Convert it to an Org table and then do a quick M-x replace-string to
> > replace '_' with ' '.
> >
> > 2017-03-12 15:14 GMT+00:00 Xebar Saram <zelt...@gmail.com
> > <mailto:zelt...@gmail.com>>:
> >
> > Hi list
> >
> > so im trying to use orgmode to collect food recepies. i have one
> > issue which is to convert text based ingridents list into org
> > tables.
> >
> > for example take this list
> >
> > 3/4 cup milk
> > 2 tablespoons white vinegar
> > 1 cup all-purpose flour
> > 2 tablespoons white sugar
> > 1 teaspoon baking powder
> > 1/2 teaspoon baking soda
> > 1/2 teaspoon salt
> > 1 egg
> > 2 tablespoons butter, melted
> > cooking spray
> >
> > if i mark this as a region and issue
> > `org-table-create-or-convert-from-region` this is the result
> >
> > | 3/4 | cup | milk| |  |
> >  | |   | |
> > |   2 | tablespoons | white   | vinegar | (%or | better
> > | yet | lemon | juice%) |
> > |   1 | cup | all-purpose | flour   |  |
> >  | |   | |
> > |   2 | tablespoons | white   | sugar   |  |
> >  | |   | |
> > |   1 | teaspoon| baking  | powder  |  |
> >  | |   | |
> > | 1/2 | teaspoon| baking  | soda|  |
> >  | |   | |
> > | 1/2 | teaspoon| salt| |  |
> >  | |   | |
> > |   1 | egg | | |  |
> >  | |   | |
> > |   2 | tablespoons | butter, | melted  |  |
> >  | |   | |
> > | cooking | spray   | | |  |
> >  | |   | |
> >
> >
> > as you can see it got the amount (1/2) and the unit (cup) right
> > yet the actual ingredients is cut into several columns
> >
> > i dont really know how to deal with this. is there a more
> > intelligent way of auto directing the conversion to split it the
> > correct way?
> >
> > if not any suggestions on how to convert it in a better way?
> > perhaps a command to quick delete the separator (|) across all
> > the column?
> >
> > thx alot in advance
> >
> > Z
> >
> >
> >
>
>


Re: [O] Complex conversion of text to org table

2017-03-12 Thread Vicente Vera
Hello. In this case Org splits into columns everytime it sees a space, so
"baking soda" ends up in two columns. A brute force solution: replace the
spaces between words that shouldn't be put into separated columns with an
underscore:

1_cup all-purpose_flour

Convert it to an Org table and then do a quick M-x replace-string to
replace '_' with ' '.

2017-03-12 15:14 GMT+00:00 Xebar Saram :

> Hi list
>
> so im trying to use orgmode to collect food recepies. i have one issue
> which is to convert text based ingridents list into org tables.
>
> for example take this list
>
> 3/4 cup milk
> 2 tablespoons white vinegar
> 1 cup all-purpose flour
> 2 tablespoons white sugar
> 1 teaspoon baking powder
> 1/2 teaspoon baking soda
> 1/2 teaspoon salt
> 1 egg
> 2 tablespoons butter, melted
> cooking spray
>
> if i mark this as a region and issue `org-table-create-or-convert-from-region`
> this is the result
>
> | 3/4 | cup | milk| |  || |
> | |
> |   2 | tablespoons | white   | vinegar | (%or | better | yet |
> lemon | juice%) |
> |   1 | cup | all-purpose | flour   |  || |
> | |
> |   2 | tablespoons | white   | sugar   |  || |
> | |
> |   1 | teaspoon| baking  | powder  |  || |
> | |
> | 1/2 | teaspoon| baking  | soda|  || |
> | |
> | 1/2 | teaspoon| salt| |  || |
> | |
> |   1 | egg | | |  || |
> | |
> |   2 | tablespoons | butter, | melted  |  || |
> | |
> | cooking | spray   | | |  || |
> | |
>
>
> as you can see it got the amount (1/2) and the unit (cup) right yet the
> actual ingredients is cut into several columns
>
> i dont really know how to deal with this. is there a more intelligent way
> of auto directing the conversion to split it the correct way?
>
> if not any suggestions on how to convert it in a better way? perhaps a
> command to quick delete the separator (|) across all the column?
>
> thx alot in advance
>
> Z
>


Re: [O] resize org-table when exporting to latex

2017-02-28 Thread Vicente Vera
This requires some LaTeX plumbing work. A few tricks:

First, use tabularx as suggested to stretch the columns automatically as
the size of the table changes.

- Use a smaller font size, such as :font \scriptsize
- Enlarge the table horizontally (for example: :width 0.8\paperheight)
- Put the page in landscape with the "pdflscape" package: wrap the table
with "#+BEGIN_landscape ... #+END_landscape" and change :width to
\paperheight
- Use package "graphicx" and wrap the table in "#+LATEX:
\resizebox{0.8\paperheight}{!}{ ... #+LATEX: }" to make the whole table
smaller

An example of the above in Org syntax (remember to call the necessary
packages):

#+BEGIN_landscape
#+ATTR_LATEX: :options [htbp]
#+BEGIN_table
#+BEGIN_center
#+LATEX: \resizebox{0.8\paperheight}{!}{
#+CAPTION: A big table made small
#+BEGIN_threeparttable
#+ATTR_LATEX: :center nil :environment tabularx :width \paperheight :align
 :font \scriptsize :booktabs t
...
#+ATTR_LATEX: :options [flushleft]
#+BEGIN_tablenotes
\item[] Source: Someone on the Internet.
#+END_tablenotes
#+END_threeparttable
#+LATEX: }
#+END_center
#+END_table
#+END_landscape


2017-02-28 0:21 GMT+00:00 Jeremie Juste :

>
> Hello,
>
> Is there a way to resize latex table when exporting to latex?
> For now my only recourse is to export the latex table copy the latex
> code back to org-mode apply \scalebox.
>
> Do you have a more convenient way in mind?
>
> Best wishes,
>
> Jeremie
>
>
>
>
>
>
>


Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Vicente Vera
Yes, it is a rare case indeed. It's not necessary nor appropiate to
change Babel's behavior.

Long story short, I'm building several LaTeX tables from CSV files
which in turn come from Excel files. I'm not the author of these Excel
files and I have to reproduce them as faithful as possible.

The problem is that a comma is used as a decimal mark instead of a
dot. `string-to-number' correctly interprets numbers such as "1.100"
as floating point. But in this particular case this is not the
expected behavior and the tables get messed up.

Your solution is a much better option. Thanks.

2017-02-27 17:33 GMT+00:00 Nicolas Goaziou <m...@nicolasgoaziou.fr>:

> Hello,
>
> Vicente Vera <vicente...@gmail.com> writes:
>
> > It would be useful to have a header argument to prevent this
> > conversion. Probably somebody else has had the same issue?
>
> Since this case may be rare, what about inserting a non breaking
> zero-width space right before 3.350?
>
> Regards,
>
> --
> Nicolas Goaziou
>


Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Vicente Vera
Hello again, I'm sorry for being noisy.

OK yes, `org-babel-read' is indeed converting "number strings" to
numbers.

Basically this is what happens:

: (string-to-number "3.350") => 3.35

To leave cell values unchanged I did this clumsy hack:

#+BEGIN_SRC emacs-lisp
  (defun test-other-org-babel-read (cell  inhibit-lisp-eval)
(if (and (stringp cell) (not (equal cell "")))
;; ;; (or (org-babel--string-to-number cell)
(if (and (not inhibit-lisp-eval)
 (or (member (substring cell 0 1) '("(" "'" "`" "["))
 (string= cell "*this*")))
(eval (read cell) t)
  (if (string= (substring cell 0 1) "\"")
  (read cell)
(progn (set-text-properties 0 (length cell) nil cell) cell)))
  ;; ;; )
  cell))

  ;; Override default behavior
  (fset 'org-babel-read 'test-other-org-babel-read)
#+END_SRC

It would be useful to have a header argument to prevent this
conversion. Probably somebody else has had the same issue?

2017-02-27 13:49 GMT+00:00 Vicente Vera <vicente...@gmail.com>:

> Probably the issue is related to this function in `ob-core.el'?
>
> org-babel-read: "Convert the string value of CELL to a number if
> appropriate."
>
> Behind the curtains lies the built-in function `string-to-number'.
>
> Maybe that conversion should be made optional to leave the strings
> untouched.
>
> 2017-02-24 1:40 GMT+00:00 Vicente Vera <vicente...@gmail.com>:
>
>> Hello. I'm trying to get an Org table from an R data frame but data is
>> lost in the process.
>>
>> Here is a MWE. Note that:
>>
>> - In R every value is a string. "var2" contains no numbers (is a
>>   character vector).
>>
>> - Upon conversion to a table Org removes the zero from "var2" last
>>   value.
>>
>> --
>>
>> #+BEGIN_SRC R :session *mwe* :results value table :colnames yes
>>   tst <- data.frame(var1 = c("a", "b", "c", "d", "e", "f", "g"),
>> var2 = c("150", "210", "140", "150", "192", "497",
>> "3.350"),
>> stringsAsFactors = FALSE)
>>   tst
>> #+END_SRC
>>
>> #+RESULTS:
>> | var1 | var2 |
>> |--+--|
>> | a|  150 |
>> | b|  210 |
>> | c|  140 |
>> | d|  150 |
>> | e|  192 |
>> | f|  497 |
>> | g| 3.35 |
>>
>> --
>>
>> Here's the output as seen in R:
>>
>> : > tst
>> :   var1  var2
>> : 1a   150
>> : 2b   210
>> : 3c   140
>> : 4d   150
>> : 5e   192
>> : 6f   497
>> : 7g 3.350
>>
>> Details on the data frame:
>>
>> : > str(tst)
>> : 'data.frame':7 obs. of  2 variables:
>> :  $ var1: chr  "a" "b" "c" "d" ...
>> :  $ var2: chr  "150" "210" "140" "150" ...
>>
>> It seems Org knows that the values on column "var2" are numbers and
>> converts the strings to numbers, applying some obscure trimming on the
>> digits. The "3.350" value needs to be left as is.
>>
>>
>


Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Vicente Vera
Probably the issue is related to this function in `ob-core.el'?

org-babel-read: "Convert the string value of CELL to a number if
appropriate."

Behind the curtains lies the built-in function `string-to-number'.

Maybe that conversion should be made optional to leave the strings
untouched.

2017-02-24 1:40 GMT+00:00 Vicente Vera <vicente...@gmail.com>:

> Hello. I'm trying to get an Org table from an R data frame but data is
> lost in the process.
>
> Here is a MWE. Note that:
>
> - In R every value is a string. "var2" contains no numbers (is a
>   character vector).
>
> - Upon conversion to a table Org removes the zero from "var2" last
>   value.
>
> --
>
> #+BEGIN_SRC R :session *mwe* :results value table :colnames yes
>   tst <- data.frame(var1 = c("a", "b", "c", "d", "e", "f", "g"),
> var2 = c("150", "210", "140", "150", "192", "497",
> "3.350"),
> stringsAsFactors = FALSE)
>   tst
> #+END_SRC
>
> #+RESULTS:
> | var1 | var2 |
> |--+--|
> | a|  150 |
> | b|  210 |
> | c|  140 |
> | d|  150 |
> | e|  192 |
> | f|  497 |
> | g| 3.35 |
>
> --
>
> Here's the output as seen in R:
>
> : > tst
> :   var1  var2
> : 1a   150
> : 2b   210
> : 3c   140
> : 4d   150
> : 5e   192
> : 6f   497
> : 7g 3.350
>
> Details on the data frame:
>
> : > str(tst)
> : 'data.frame':7 obs. of  2 variables:
> :  $ var1: chr  "a" "b" "c" "d" ...
> :  $ var2: chr  "150" "210" "140" "150" ...
>
> It seems Org knows that the values on column "var2" are numbers and
> converts the strings to numbers, applying some obscure trimming on the
> digits. The "3.350" value needs to be left as is.
>
>


[O] Strings converted to numbers in Org table?

2017-02-23 Thread Vicente Vera
Hello. I'm trying to get an Org table from an R data frame but data is
lost in the process.

Here is a MWE. Note that:

- In R every value is a string. "var2" contains no numbers (is a
  character vector).

- Upon conversion to a table Org removes the zero from "var2" last
  value.

--

#+BEGIN_SRC R :session *mwe* :results value table :colnames yes
  tst <- data.frame(var1 = c("a", "b", "c", "d", "e", "f", "g"),
var2 = c("150", "210", "140", "150", "192", "497",
"3.350"),
stringsAsFactors = FALSE)
  tst
#+END_SRC

#+RESULTS:
| var1 | var2 |
|--+--|
| a|  150 |
| b|  210 |
| c|  140 |
| d|  150 |
| e|  192 |
| f|  497 |
| g| 3.35 |

--

Here's the output as seen in R:

: > tst
:   var1  var2
: 1a   150
: 2b   210
: 3c   140
: 4d   150
: 5e   192
: 6f   497
: 7g 3.350

Details on the data frame:

: > str(tst)
: 'data.frame':7 obs. of  2 variables:
:  $ var1: chr  "a" "b" "c" "d" ...
:  $ var2: chr  "150" "210" "140" "150" ...

It seems Org knows that the values on column "var2" are numbers and
converts the strings to numbers, applying some obscure trimming on the
digits. The "3.350" value needs to be left as is.


Re: [O] Exporting blocks of text completely verbatim

2017-02-09 Thread Vicente Vera
You're absolutely right. The MWE I made had a nasty typo that blew
everything up! I'm sorry for the noise.

The information in the manual still looks misleading to me:

#+BEGIN_EXPORT ascii
All lines in this block will appear only when using this back-end.
#+END_EXPORT

(Taken from "12.7 ASCII/Latin-1/UTF-8 export")

This doesn't seem to be related to verbatim text.

2017-02-09 19:19 GMT+00:00 Charles C. Berry <ccbe...@ucsd.edu>:

> On Thu, 9 Feb 2017, Vicente Vera wrote:
>
> Hello. This discussion
>> https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00163.html
>> points out that Org tables are converted to HTML tables when exporting
>> through "ox-md". Leaving Markdown-related issues aside, I've stumbled
>> upon this problem a while back.
>>
>> It is suggested that wrapping the table within a "#+(BEGIN|END)_EXPORT
>> md" should leave it as-is in the exported document but that is not the
>> case. The table gets converted to HTML anyway.
>>
>>
> Not in recent versions of org. Here is an example of a table that is
> exported as a table without any html-ization:
>
> #+BEGIN_SRC emacs-lisp :results raw
>   (org-export-string-as
>"
>   ,#+begin_export md
>   | a |
>   | b |
>   ,#+end_export"
>'md t)
>
> #+END_SRC
>
> #+RESULTS:
> | a |
> | b |
>
>
> Of course, the comma escapes are stripped before `org-export-string-as'
> sees the string.
>
> HTH,
>
> Chuck
>


Re: [O] Exporting blocks of text completely verbatim

2017-02-09 Thread Vicente Vera
Hmm nope. Still some modifications are introduced depending on the
back-end. Example blocks are generally indented.

There are cases where those changes makes sense such as in HTML export
but for ASCII and ASCII-based markups truly verbatim blocks would make
sense I believe.

For example, one could edit an Org document and keep some text blocks
completely unchanged so later another processing tool (such as Pandoc)
could deal with them accordingly.


2017-02-09 14:27 GMT+00:00 John Kitchin <jkitc...@andrew.cmu.edu>:

> Isn't
>
> #+BEGIN_EXAMPLE
> Long block
> #+END_EXAMPLE
>
> what you want?
>
> John
>
> ---
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
>
> On Thu, Feb 9, 2017 at 3:11 PM, Vicente Vera <vicente...@gmail.com> wrote:
>
>> Hello. This discussion
>> https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00163.html
>> points out that Org tables are converted to HTML tables when exporting
>> through "ox-md". Leaving Markdown-related issues aside, I've stumbled
>> upon this problem a while back.
>>
>> It is suggested that wrapping the table within a "#+(BEGIN|END)_EXPORT
>> md" should leave it as-is in the exported document but that is not the
>> case. The table gets converted to HTML anyway.
>>
>> When skimming through the Org manual I found that
>> "#+(BEGIN|END)_EXPORT back-end" blocks are used to export text *only*
>> for the specified back-end. This appears in the ASCII back-end
>> documentation (does it work like this for others back-ends?).
>>
>> In a general level, is there a way to keep blocks of text completely
>> unmodified (without indentation also) on export?
>>
>>
>


[O] Exporting blocks of text completely verbatim

2017-02-09 Thread Vicente Vera
Hello. This discussion
https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00163.html
points out that Org tables are converted to HTML tables when exporting
through "ox-md". Leaving Markdown-related issues aside, I've stumbled
upon this problem a while back.

It is suggested that wrapping the table within a "#+(BEGIN|END)_EXPORT
md" should leave it as-is in the exported document but that is not the
case. The table gets converted to HTML anyway.

When skimming through the Org manual I found that
"#+(BEGIN|END)_EXPORT back-end" blocks are used to export text *only*
for the specified back-end. This appears in the ASCII back-end
documentation (does it work like this for others back-ends?).

In a general level, is there a way to keep blocks of text completely
unmodified (without indentation also) on export?


Re: [O] org-babel-capitalize-example-region-markers

2017-01-27 Thread Vicente Vera
Nice, thank you.

2017-01-27 1:12 GMT+00:00 Kyle Meyer :

> Kyle Meyer  writes:
>
> [...]
>
> > Here's a patch.  I'll apply it to master in a day or two if there are no
> > objections.
>
> Applied with 9c111f63 (with :version changed from 25.2 to 26.1).
>
> --
> Kyle
>


[O] org-babel-capitalize-example-region-markers

2017-01-24 Thread Vicente Vera
Hello.

Just noticed that example block headings wrapping code evaluation
results appear downcased (arrows added):

#+RESULTS:
#+begin_example <=
... some result...
#+end_example   <=

In ob-core.el, line 2438 there's a "hidden" variable that controls
wether the headings appear upcased:
‘org-babel-capitalize-example-region-markers’. Setting it to non-nil
seems to solve the "problem".

Shouldn't this variable be public through the customize interface?

Also, it seems "capitalize" is the wrong verb here?


Re: [O] Issues when compiling Org master from source in GNU Emacs 25.0.50.1

2016-01-20 Thread Vicente Vera
Hello Kyle,

Thanks for your reply. I see now why `font-lock-fontify-buffer' hasn't
been replaced.

2016-01-20 12:28 GMT-03:00 Kyle Meyer <k...@kyleam.com>:
> Hi Vicente,
>
> Vicente Vera <vicente...@gmail.com> writes:
>
>> Hello
>>
>> When I started using GNU Emacs compiled from the emacs25 branch two
>> issues come up consistently during Org make routine. These issues are
>> related to changes in the next Emacs version.
>
> Thanks for reporting these.
>
>> Compiling /home/user/repositories/org-mode/lisp/org-src.el...
>>
>> In org-src-font-lock-fontify-block:
>> org-src.el:504:54:Warning: ‘font-lock-fontify-buffer’ is for interactive use
>> only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
>
> This has been switched over to font-lock-ensure a couple times (in
> f36b19e and then reverted in 99f, then again in d81e6b5 and reverted
> in 003a0f1).  When font-lock-ensure is used, source blocks don't get
> highlighted.
>
>> Compiling /home/user/repositories/org-mode/lisp/org.el...
>>
>> In org-fast-tag-selection:
>> org.el:15261:47:Error: ‘add-to-list’ can’t use lexical var ‘buffer-tags’; use
>> ‘push’ or ‘cl-pushnew’
>
> I think this one should be fixed.  I'll look into it.
>
> --
> Kyle



[O] Issues when compiling Org master from source in GNU Emacs 25.0.50.1

2016-01-20 Thread Vicente Vera
Hello

When I started using GNU Emacs compiled from the emacs25 branch two
issues come up consistently during Org make routine. These issues are
related to changes in the next Emacs version.

[...]
Compiling /home/user/repositories/org-mode/lisp/org-src.el...

In org-src-font-lock-fontify-block:
org-src.el:504:54:Warning: ‘font-lock-fontify-buffer’ is for interactive use
only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
[...]
Compiling /home/user/repositories/org-mode/lisp/org.el...

In org-fast-tag-selection:
org.el:15261:47:Error: ‘add-to-list’ can’t use lexical var ‘buffer-tags’; use
‘push’ or ‘cl-pushnew’
[...]

Note that the .elc files get generated just fine, I mean, the make
routine finishes correctly and Org is still usable.



Re: [O] Trouble with autofill mode

2015-08-02 Thread Vicente Vera
Hello,
This StackExchange question might help you out:
https://emacs.stackexchange.com/questions/12392/prevent-fill-paragraph-from-breaking-latex-citations-in-org-mode
(Only if I got your question right...)



[O] notes in org mode export to beamer

2015-07-05 Thread Vicente
Is it possible to add notes --references, explanations, quotations, etc-- 
outside the frame in an org-mode presentation and keep them in exports? 
Actually I'm thinking more of a handout than a strict beamer export. 
Graphically, I'd like to show the frames as images and the notes as text 
below them. 


[O] notes in org-mode export to beamer

2015-07-04 Thread Vicente
 Is it possible to have additional notes --references, explanations, 
quotations, etc-- outside the frame in an org-mode presentation and keep them 
in exports? Actually I'm thinking more of a handout than a strict beamer 
export. Graphically, I'd like to show the frames as images and the notes as 
text below them. 
  

Re: [O] Installing from Git

2015-05-14 Thread Vicente Vera
Hello. This is my Org-from-Git recipe:

After you've cloned the repository (master branch), run make and
then edit the local.mk file. There you'll find a variable named
prefix; change it according to your Emacs installation.

In my setup, Emacs files live in /usr/share/emacs/ so I leave prefix
unchanged. In a previous installation it was in
/usr/local/share/emacs/ so I wrote prefix = /usr/local/share.

Only then run make install. Now the Info manual will be correctly installed.

Also important, add this line to your init file:

(require 'org-loaddefs)

That should do it.



[O] ox-latex does not recognize :align setting

2015-05-02 Thread Vicente
I can't get ox-beamer to recognize the settings from the :align, while 
exporting a table to latex. In the tex file it shows as: \begin{tabular}{l}
Using Emacs 24.4.1 (Org mode 8.2.10) on Fedora 21
 my script follows, including headers
#+TITLE: export latex embedded table 
#+AUTHOR: VE
#+EMAIL: desdefu...@yahoo.com
#+OPTIONS: H:1 toc:nil
#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [presentation smaller]
#+BEAMER_THEME: Madrid
#+COLUMNS: %45ITEM %10BEAMER_ENV(Env) %10BEAMER_ACT(Act) %4BEAMER_COL(Col) 
%8BEAMER_OPT(Opt)
* table test
#+ATTR_LATEX: :mode table :align |p{3cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}| 
#+LATEX: {\tiny
|-+---+---+---+---|
| 15    | 5   | 5   | 5   | 5   |
| | Nunca lo hizo | Lo hizo una vez o algunas veces | Lo ha 
hecho frecuentemente | NS/NR |
|-+---+---+---+---|
| a. ¿Ha trabajado en un proyecto comunitario? |   |   |   |   |
|-+---+---+---+---|
| b. ¿Ha participado en actividades de voluntariado? |   |   |   |  
 |
|-+---+---+---+---|
| c. ¿Ha llevado botellas, cajas, papel o material para reciclar a lugares 
designados? |   |   |   |   |
|-+---+---+---+---|
#+LATEX: }



[O] [PATCH] TINYCHANGE Allow attaching SVG images by default in exported ODT documents

2015-04-27 Thread Vicente Vera
Hello list.

The patch below changes org-odt-inline-image-rules value, thus
allowing exported ODT documents to include SVG images by default.
From 991f4add7c644902bd6bcd2a5b9eb01e1ea5ade9 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra vicente...@gmail.com
Date: Mon, 27 Apr 2015 18:02:22 -0300
Subject: [PATCH] ox-odt: Allow attaching SVG images by default

* lisp/ox-odt.el (org-odt-inline-image-rules): Modify default rule to
  allow including inline SVG images in exported ODT documents.

TINYCHANGE
---
 lisp/ox-odt.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el
index faf0b1c..444c1b7 100644
--- a/lisp/ox-odt.el
+++ b/lisp/ox-odt.el
@@ -765,7 +765,7 @@ link's path.
 		:value-type (regexp :tag Path)))
 
 (defcustom org-odt-inline-image-rules
-  '((file . \\.\\(jpeg\\|jpg\\|png\\|gif\\)\\'))
+  '((file . \\.\\(jpeg\\|jpg\\|png\\|gif\\|svg\\)\\'))
   Rules characterizing image files that can be inlined into ODT.
 
 A rule consists in an association whose key is the type of link
-- 
1.9.1



Re: [O] [release_8.3beta-1062-gce4e64] Error when exporting to ODT

2015-04-23 Thread Vicente Vera
The patch works. Thank you.

About 2bdc661fde75ed226b19c802ecd31ce12d2ec7e1, I don't use
latexmlmath so can't comment on that.



[O] [release_8.3beta-1062-gce4e64] Error when exporting to ODT

2015-04-22 Thread Vicente Vera
Hello list.

Just tried to export an Org file to ODT but this error appeared (taken
from the Messages buffer):

...
LaTeX to MathML converter not available.
Formatting LaTeX using verbatim
OpenDocument export failed: Assertion failed: (funcall predicate element info)

Tried with a MWE and with a minimal init.el (because of
org-export-backends and the odt symbol) but the error persists.

Org and Emacs version:

Org-mode version 8.3beta (release_8.3beta-1062-gce4e64 @
/usr/local/share/emacs/site-lisp/org/)
GNU Emacs 24.5.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2)



Re: [O] Error when using org-ctrl-c-ctrl-c to add tags

2015-04-19 Thread Vicente Vera
Worked for me.

2015-04-19 13:05 GMT-03:00 Marc Ihm m...@ihm.name:

 Okay, this one only tries to fix, what seems broken ...
 Could someone please check ?

 best regards
 Marc


 diff --git a/lisp/org.el b/lisp/org.el
 index 24b3a69..8a00847 100755
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -10515,8 +10515,7 @@ from.
 completing-read-function)
'completing-read)))
(concat (car args))
 -  (if (and (consp (nth 1 args))
 -  (consp (car (nth 1 args
 +  (if (consp (car (nth 1 args)))
   (mapcar 'car (nth 1 args))
 (nth 1 args))
(cddr args)



Re: [O] Error when using org-ctrl-c-ctrl-c to add tags

2015-04-19 Thread Vicente Vera
Hello Marc. Yes, upon further inspection it seems the problem is in
org-icompleting-read. This function is complaining that
org-tags-completion--function---one of its arguments---is not a list.

2015-04-19 11:36 GMT-03:00 Marc Ihm m...@ihm.name:
 Vicente Vera vicente...@gmail.com writes:

 Hi.
 Don't think there are more details to provide. The error message
 appears upon pressing C-c C-c (bound to the org-ctrl-c-ctrl-c command)
 on a headline, doesn't matter which level.
 It happened in 3 different Org files, one of which was created for testing.
 Also tried with emacs -q but the error persisted.

 Strange message though, org-tags-completion-function is a function,
 not a variable, so why is Emacs complaining that it isn't a list?
 Probably related to commit acf7f47ecd20a48c05f97dc660b00d1850b57e10?

 I see this error too; the patch below fixes it for me (and corrects the
 nexting level of 'completing-read too ...)

 best regards
 Marc


 diff --git a/lisp/org.el b/lisp/org.el
 index 8a00847..f440382 100755
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -10512,10 +10512,11 @@ from.
   (listp (second args)))
  'org-iswitchb-completing-read)
 (t (or (and (boundp 'completing-read-function)
 -   completing-read-function)
 -  'completing-read)))
 +   completing-read-function))
 +  'completing-read))
(concat (car args))
 -  (if (consp (car (nth 1 args)))
 +  (if (and (consp (nth 1 args))
 +  (consp (car (nth 1 args
   (mapcar 'car (nth 1 args))
 (nth 1 args))
(cddr args)



Re: [O] Error when using org-ctrl-c-ctrl-c to add tags

2015-04-18 Thread Vicente Vera
Hi.
Don't think there are more details to provide. The error message
appears upon pressing C-c C-c (bound to the org-ctrl-c-ctrl-c command)
on a headline, doesn't matter which level.
It happened in 3 different Org files, one of which was created for testing.
Also tried with emacs -q but the error persisted.

Strange message though, org-tags-completion-function is a function,
not a variable, so why is Emacs complaining that it isn't a list?
Probably related to commit acf7f47ecd20a48c05f97dc660b00d1850b57e10?



[O] Error when using org-ctrl-c-ctrl-c to add tags

2015-04-17 Thread Vicente Vera
Hello. This shows up when trying to add tags to a headline with
org-ctrl-c-ctrl-c:

apply: Wrong type argument: listp, org-tags-completion-function

Org-mode version 8.3beta (release_8.3beta-1045-gd8494b @
/usr/local/share/emacs/site-lisp/org/)
GNU Emacs 24.5.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2)



Re: [O] [PATCH] TINYCHANGE Fix some spanish translations in ox.el

2015-04-09 Thread Vicente Vera
Exactly. Since only some entries include the :ascii property I thought
it wouldn't hurt to omit them. Here's a more complete patch which
includes both :ascii and :html properties:

From b7de61bb9d57b1790a7fe97d6e478542e894a9d0 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra address@hidden
Date: Thu, 9 Apr 2015 11:51:54 -0300
Subject: [PATCH 2/2] ox: Fix spanish translations

* lisp/ox.el (org-export-dictionary): Fix spanish translations. Also
  add default spanish translation for Table of Contents and
  References.

TINYCHANGE
---
 lisp/ox.el | 19 ++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/lisp/ox.el b/lisp/ox.el
index 45ffc4a..d2ee7c9 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5299,7 +5299,7 @@ them.
  (zh-TW :html #20316;#32773; :utf-8 作者))
 (Continued from previous page
  (de :default Fortsetzung von vorheriger Seite)
- (es :default Continúa de la página anterior)
+ (es :html Continuacute;a de la paacute;gina anterior
:ascii Continua de la pagina anterior :default Continúa de la
página anterior)
  (fr :default Suite de la page précédente)
  (it :default Continua da pagina precedente)
  (ja :default 前ページからの続き)
@@ -5309,7 +5309,7 @@ them.
   :utf-8 (Продолжение)))
 (Continued on next page
  (de :default Fortsetzung nächste Seite)
- (es :default Continúa en la siguiente página)
+ (es :html Continuacute;a en la siguiente paacute;gina
:ascii Continua en la siguiente pagina :default Continúa en la
siguiente página)
  (fr :default Suite page suivante)
  (it :default Continua alla pagina successiva)
  (ja :default 次ページに続く)
@@ -5344,7 +5344,7 @@ them.
 (Equation
  (da :default Ligning)
  (de :default Gleichung)
- (es :html Ecuacioacute;n :default Ecuación)
+ (es :ascii Ecuacion :html Ecuacioacute;n :default Ecuación)
  (et :html V#245;rrand :utf-8 Võrrand)
  (fr :ascii Equation :default Équation)
  (ja :default 方程式)
@@ -5389,7 +5389,7 @@ them.
  (da :default Fodnoter)
  (de :html Fuszlig;noten :default Fußnoten)
  (eo :default Piednotoj)
- (es :html Nota al pie de paacute;gina :default Nota al pie
de página)
+ (es :ascii Nota al pie de pagina :html Nota al pie de
paacute;gina :default Nota al pie de página)
  (et :html Allm#228;rkused :utf-8 Allmärkused)
  (fi :default Alaviitteet)
  (fr :default Notes de bas de page)
@@ -5412,7 +5412,7 @@ them.
 (List of Listings
  (da :default Programmer)
  (de :default Programmauflistungsverzeichnis)
- (es :default Índice de Listados de programas)
+ (es :ascii Indice de Listados de programas :html
Iacute;ndice de Listados de programas :default Índice de Listados
de programas)
  (et :default Loendite nimekiri)
  (fr :default Liste des programmes)
  (ja :default ソースコード目次)
@@ -5424,7 +5424,7 @@ them.
 (List of Tables
  (da :default Tabeller)
  (de :default Tabellenverzeichnis)
- (es :default Índice de tablas)
+ (es :ascii Indice de tablas :html Iacute;ndice de tablas
:default Índice de tablas)
  (et :default Tabelite nimekiri)
  (fr :default Liste des tableaux)
  (ja :default 表目次)
@@ -5451,11 +5451,12 @@ them.
  (zh-CN :html #20195;#30721;%dnbsp; :utf-8 代码%d ))
 (References
  (fr :ascii References :default Références)
- (de :default Quellen))
+ (de :default Quellen)
+ (es :default Referencias))
 (See section %s
  (da :default jævnfør afsnit %s)
  (de :default siehe Abschnitt %s)
- (es :default Vea sección %s)
+ (es :ascii Vea seccion %s :html Vea seccioacute;n %s
:default Vea sección %s)
  (et :html Vaata peat#252;kki %s :utf-8 Vaata peatükki %s)
  (fr :default cf. section %s)
  (ja :default セクション %s を参照)
@@ -5495,7 +5496,7 @@ them.
  (da :default Indhold)
  (de :default Inhaltsverzeichnis)
  (eo :default Enhavo)
- (es :html Iacute;ndice :default Índice)
+ (es :ascii Indice :html Iacute;ndice :default Índice)
  (et :default Sisukord)
  (fi :html Sisauml;llysluettelo)
  (fr :ascii Sommaire :default Table des matières)
-- 
1.9.1



[O] [PATCH] TINYCHANGE Fix some spanish translations in ox.el

2015-04-08 Thread Vicente Vera
Hello. This patch fixes some spanish translations defined in
org-export-dictionary. It also adds a :default property for the
spanish Table of Contents entry, thus allowing ox-odt (and probably
other exporters) to correctly translate this element.

From 668ffc388db671e56a50ab3b6a210f61a6a4755b Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra address@hidden
Date: Wed, 8 Apr 2015 21:12:07 -0300
Subject: [PATCH] ox: Fix spanish translations

* lisp/ox.el (org-export-dictionary): Fix spanish translations. Also
  add default spanish translation for Table of Contents.

TINYCHANGE
---
 lisp/ox.el | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/ox.el b/lisp/ox.el
index 90c7e7d..45ffc4a 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5412,7 +5412,7 @@ them.
 (List of Listings
  (da :default Programmer)
  (de :default Programmauflistungsverzeichnis)
- (es :default Indice de Listados de programas)
+ (es :default Índice de Listados de programas)
  (et :default Loendite nimekiri)
  (fr :default Liste des programmes)
  (ja :default ソースコード目次)
@@ -5424,7 +5424,7 @@ them.
 (List of Tables
  (da :default Tabeller)
  (de :default Tabellenverzeichnis)
- (es :default Indice de tablas)
+ (es :default Índice de tablas)
  (et :default Tabelite nimekiri)
  (fr :default Liste des tableaux)
  (ja :default 表目次)
@@ -5455,7 +5455,7 @@ them.
 (See section %s
  (da :default jævnfør afsnit %s)
  (de :default siehe Abschnitt %s)
- (es :default vea seccion %s)
+ (es :default Vea sección %s)
  (et :html Vaata peat#252;kki %s :utf-8 Vaata peatükki %s)
  (fr :default cf. section %s)
  (ja :default セクション %s を参照)
@@ -5495,7 +5495,7 @@ them.
  (da :default Indhold)
  (de :default Inhaltsverzeichnis)
  (eo :default Enhavo)
- (es :html Iacute;ndice)
+ (es :html Iacute;ndice :default Índice)
  (et :default Sisukord)
  (fi :html Sisauml;llysluettelo)
  (fr :ascii Sommaire :default Table des matières)
@@ -5518,7 +5518,7 @@ them.
 (Unknown reference
  (da :default ukendt reference)
  (de :default Unbekannter Verweis)
- (es :default referencia desconocida)
+ (es :default Referencia desconocida)
  (et :default Tundmatu viide)
  (fr :ascii Destination inconnue :default Référence inconnue)
  (ja :default 不明な参照先)
-- 
1.9.1



Re: [O] Tiny typo in exported LaTeX code

2015-04-05 Thread Vicente Vera
Thank you!

2015-04-05 14:05 GMT-03:00 Nicolas Goaziou m...@nicolasgoaziou.fr:
 Hello,

 Vicente Vera vicente...@gmail.com writes:

 Hello. Just now I exported a minimal Org file to LaTeX (no fancy
 stuff, just a title, two headlines and harmless text) and the date is
 messed up. The offending line is:

 \date{$\backslash$oday}

 Fixed. Thank you.

 --
 Nicolas Goaziou



[O] Tiny typo in exported LaTeX code

2015-04-05 Thread Vicente Vera
Hello. Just now I exported a minimal Org file to LaTeX (no fancy
stuff, just a title, two headlines and harmless text) and the date is
messed up. The offending line is:

\date{$\backslash$oday}

Org-mode version 8.3beta (release_8.3beta-1003-gfc790f @
/usr/local/share/emacs/site-lisp/org/)
GNU Emacs 24.5.1



Re: [O] Undocumented command: org-table-blank-field (C-c SPC)

2014-12-03 Thread Vicente Vera
Great, thank you. I'll start looking into how could I send patches
(I'm more of a 'clone/pull' Git user).

2014-12-01 13:05 GMT-03:00 Bastien b...@gnu.org:
 Hi Vicente,

 Vicente Vera vicente...@gmail.com writes:

 Hello. I was browsing Emacs StackExchange and found this question:
 https://emacs.stackexchange.com/questions/15/how-to-clear-a-cell-in-an-org-mode-table.
 One of the answers mentions the org-table-blank-field command and that
 For some reason it's missing from the manual..
 I'm using Org
 release_8.3beta-580-g787733 and yes, it is not mentioned in the Tables
 section, nor in the indexes.
 It might be a good idea to document this.

 I added it in the manual, thanks for the suggestion.

 I would do it myself but haven't got my head around submiting patches,
 filling papers (although is not always necessary?), but I might, if
 nobody has the time. I don't want this message to be understood as a
 demand.

 Yes: http://orgmode.org/worg/org-contribute.html

 Thanks in advance!

 --
  Bastien



Re: [O] Export backends are loaded after code block evaluation

2014-11-24 Thread Vicente Vera
Nope, no harm has been done. Still curious about it though. IMO,
there's no reference to 'ox.el' in the babel source files so I don't
understand how is this possible.

2014-11-23 13:36 GMT-03:00 Nicolas Goaziou m...@nicolasgoaziou.fr:
 Hello,

 Vicente Vera vicente...@gmail.com writes:

 Hello. Just noticed that after evaluating a code block with C-c C-c
 (org-babel-execute-src-block?) all export backends stored in
 'org-export-backends' are loaded---or 'required'---automatically. Once
 I commented out my 'org-export-backends' setup those backends weren't
 loaded, but the default ones did (ascii html icalendar latex).

 Is this the intended behavior?

 `org-babel-execute-src-block' probably requires ox.el or some
 back-end, triggering. Back-ends are loaded as soon as ox.el is
 required.

 Tried to grep my way through Org's source files looking for a clue
 with no success.

 Also, is there a way to prevent this from happening? It doesn't seem
 extremely necessary to me.

 It doesn't really hurt either.


 Regards,

 --
 Nicolas Goaziou



Re: [O] Export backends are loaded after code block evaluation

2014-11-24 Thread Vicente Vera
Ok, finally sorted it out.
Babel doesn't load ox-* files by itself (except for ob-haskell 
ob-latex). But, in my case, the code block's result is a table. In
consequence Org needs org-table which in turn requires some ox- files
and THEN org.el evaluates (after ox.el) 'org-export-backends'.
Thank you for your patience. Now I can sleep soundly.

2014-11-24 16:42 GMT-03:00 Nicolas Goaziou m...@nicolasgoaziou.fr:
 Vicente Vera vicente...@gmail.com writes:

 Nope, no harm has been done. Still curious about it though. IMO,
 there's no reference to 'ox.el' in the babel source files so I don't
 understand how is this possible.

 See line 848 in org.el (master branch, if it matters).

 Basically, Babel requires an export backend (ox-latex.el, likely),
 which, in turn requires ox.el. The snippet above does the rest.

 Regards,



[O] Export backends are loaded after code block evaluation

2014-11-23 Thread Vicente Vera
Org-mode version 8.3beta (release_8.3beta-584-g3953cb @
/usr/local/share/emacs/site-lisp/org/)
GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.4) of 2014-11-17

Hello. Just noticed that after evaluating a code block with C-c C-c
(org-babel-execute-src-block?) all export backends stored in
'org-export-backends' are loaded---or 'required'---automatically. Once
I commented out my 'org-export-backends' setup those backends weren't
loaded, but the default ones did (ascii html icalendar latex).

Is this the intended behavior? Tried to grep my way through Org's
source files looking for a clue with no success.

Also, is there a way to prevent this from happening? It doesn't seem
extremely necessary to me.



[O] Undocumented command: org-table-blank-field (C-c SPC)

2014-11-18 Thread Vicente Vera
Hello. I was browsing Emacs StackExchange and found this question:
https://emacs.stackexchange.com/questions/15/how-to-clear-a-cell-in-an-org-mode-table.
One of the answers mentions the org-table-blank-field command and that
For some reason it's missing from the manual.. I'm using Org
release_8.3beta-580-g787733 and yes, it is not mentioned in the Tables
section, nor in the indexes.
It might be a good idea to document this.
I would do it myself but haven't got my head around submiting patches,
filling papers (although is not always necessary?), but I might, if
nobody has the time. I don't want this message to be understood as a
demand.



Re: [O] Cannot build documentation (release_8.3beta-155-g82b64d)

2014-08-08 Thread Vicente Vera
I think you're right. It seems TeX Live 2014 installed its own texinfo over
the one i got from the debian stable repository, but i'm not 100% sure.
Thanks for the help!


2014-08-05 19:37 GMT-04:00 Vicente Vera vicente...@gmail.com:

 Yes, i had an old makeinfo (4.13) that lives in the debian wheezy
 repository. Just now got the latest version and it worked. Didn't thought
 about this since some commits ago the documentation was built just fine
 with makeinfo 4.13.

 Thank you very much Nick  Achim.


 2014-08-05 12:33 GMT-04:00 Vicente Vera vicente...@gmail.com:

 Hello. Started another clean cloned local repository to try building the
 documentation again and the errors persist.
 'M-x org-version' gives: Org-mode version 8.3beta
 (release_8.3beta-167-g003edd @ /usr/local/share/emacs/site-lisp/org/). I
 installed everything except documentation.
 Here's the output of 'make doc':

 make -C doc info
 make[1]: Entering directory
 `/home/vicente/descarga/org-master-git-20140804/org-mode/doc'
 makeinfo --no-split org.texi -o org
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:16382:
 Cross reference to nonexistent node `Using

  multiple #+TBLFM lines' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:16073:
 Cross reference to nonexistent node `External
  links' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:15543:
 Cross reference to nonexistent node `Code evaluation
  security' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:15284:
 Cross reference to nonexistent node `Property
  inheritance' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14501:
 Cross reference to nonexistent node `Evaluating code
  blocks' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14219:
 Cross reference to nonexistent node `Evaluating

  code blocks' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14214:
 Cross reference to nonexistent node `Code

  evaluation security' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14164:
 Cross reference to nonexistent node `Library

  of Babel' (perhaps incorrect sectioning?).

 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:13386:
 Cross reference to nonexistent node `HTML
  export' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12927:
 Cross reference to nonexistent node `Evaluating

  code blocks' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12214:
 Cross reference to nonexistent node `Column width and
  alignment' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12095:
 Cross reference to nonexistent node `Configuring a

  document converter' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:11247:
 Cross reference to nonexistent node `Radio
  targets' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10783:
 Cross reference to nonexistent node `Export
  settings' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10499:
 Cross reference to nonexistent node `In-buffer
  settings' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10344:
 Cross reference to nonexistent node `Literal
  examples' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10173:
 Cross reference to nonexistent node `Math formatting in

  HTML export' (perhaps incorrect sectioning?).

 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10013:
 Cross reference to nonexistent node `Generating

  an index' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9918:
 Cross reference to nonexistent node `Text

  areas in HTML export' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9846:
 Cross reference to nonexistent node `Plain
  lists' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9609:
 Cross reference to nonexistent node `Document
  structure' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:8779:
 Cross reference to nonexistent node `Filtering/limiting

  agenda items' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:8134:
 Cross reference to nonexistent node `Property

Re: [O] Cannot build documentation (release_8.3beta-155-g82b64d)

2014-08-05 Thread Vicente Vera
Hello. Started another clean cloned local repository to try building the
documentation again and the errors persist.
'M-x org-version' gives: Org-mode version 8.3beta
(release_8.3beta-167-g003edd @ /usr/local/share/emacs/site-lisp/org/). I
installed everything except documentation.
Here's the output of 'make doc':

make -C doc info
make[1]: Entering directory
`/home/vicente/descarga/org-master-git-20140804/org-mode/doc'
makeinfo --no-split org.texi -o org
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:16382:
Cross reference to nonexistent node `Using
 multiple #+TBLFM lines' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:16073:
Cross reference to nonexistent node `External
 links' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:15543:
Cross reference to nonexistent node `Code evaluation
 security' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:15284:
Cross reference to nonexistent node `Property
 inheritance' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14501:
Cross reference to nonexistent node `Evaluating code
 blocks' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14219:
Cross reference to nonexistent node `Evaluating
 code blocks' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14214:
Cross reference to nonexistent node `Code
 evaluation security' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14164:
Cross reference to nonexistent node `Library
 of Babel' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:13386:
Cross reference to nonexistent node `HTML
 export' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12927:
Cross reference to nonexistent node `Evaluating
 code blocks' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12214:
Cross reference to nonexistent node `Column width and
 alignment' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12095:
Cross reference to nonexistent node `Configuring a
 document converter' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:11247:
Cross reference to nonexistent node `Radio
 targets' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10783:
Cross reference to nonexistent node `Export
 settings' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10499:
Cross reference to nonexistent node `In-buffer
 settings' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10344:
Cross reference to nonexistent node `Literal
 examples' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10173:
Cross reference to nonexistent node `Math formatting in
 HTML export' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10013:
Cross reference to nonexistent node `Generating
 an index' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9918:
Cross reference to nonexistent node `Text
 areas in HTML export' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9846:
Cross reference to nonexistent node `Plain
 lists' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9609:
Cross reference to nonexistent node `Document
 structure' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:8779:
Cross reference to nonexistent node `Filtering/limiting
 agenda items' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:8134:
Cross reference to nonexistent node `Property
 inheritance' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:8012:
Cross reference to nonexistent node `Agenda
 commands' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:7816:
Cross reference to nonexistent node `Agenda
 commands' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:7719:
Cross reference to nonexistent node `Matching
 tags and properties' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:7197:
Cross reference to nonexistent node

Re: [O] Cannot build documentation (release_8.3beta-155-g82b64d)

2014-08-05 Thread Vicente Vera
Yes, i had an old makeinfo (4.13) that lives in the debian wheezy
repository. Just now got the latest version and it worked. Didn't thought
about this since some commits ago the documentation was built just fine
with makeinfo 4.13.

Thank you very much Nick  Achim.


2014-08-05 12:33 GMT-04:00 Vicente Vera vicente...@gmail.com:

 Hello. Started another clean cloned local repository to try building the
 documentation again and the errors persist.
 'M-x org-version' gives: Org-mode version 8.3beta
 (release_8.3beta-167-g003edd @ /usr/local/share/emacs/site-lisp/org/). I
 installed everything except documentation.
 Here's the output of 'make doc':

 make -C doc info
 make[1]: Entering directory
 `/home/vicente/descarga/org-master-git-20140804/org-mode/doc'
 makeinfo --no-split org.texi -o org
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:16382:
 Cross reference to nonexistent node `Using

  multiple #+TBLFM lines' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:16073:
 Cross reference to nonexistent node `External
  links' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:15543:
 Cross reference to nonexistent node `Code evaluation
  security' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:15284:
 Cross reference to nonexistent node `Property
  inheritance' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14501:
 Cross reference to nonexistent node `Evaluating code
  blocks' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14219:
 Cross reference to nonexistent node `Evaluating

  code blocks' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14214:
 Cross reference to nonexistent node `Code

  evaluation security' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:14164:
 Cross reference to nonexistent node `Library

  of Babel' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:13386:
 Cross reference to nonexistent node `HTML
  export' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12927:
 Cross reference to nonexistent node `Evaluating

  code blocks' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12214:
 Cross reference to nonexistent node `Column width and
  alignment' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:12095:
 Cross reference to nonexistent node `Configuring a

  document converter' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:11247:
 Cross reference to nonexistent node `Radio
  targets' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10783:
 Cross reference to nonexistent node `Export
  settings' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10499:
 Cross reference to nonexistent node `In-buffer
  settings' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10344:
 Cross reference to nonexistent node `Literal
  examples' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10173:
 Cross reference to nonexistent node `Math formatting in

  HTML export' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:10013:
 Cross reference to nonexistent node `Generating

  an index' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9918:
 Cross reference to nonexistent node `Text

  areas in HTML export' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9846:
 Cross reference to nonexistent node `Plain
  lists' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:9609:
 Cross reference to nonexistent node `Document
  structure' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:8779:
 Cross reference to nonexistent node `Filtering/limiting

  agenda items' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:8134:
 Cross reference to nonexistent node `Property
  inheritance' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org-master-git-20140804/org-mode/doc//org.texi:8012:
 Cross reference to nonexistent node `Agenda
  commands' (perhaps incorrect sectioning?).
 /home/vicente/descarga/org

[O] Cannot build documentation (release_8.3beta-155-g82b64d)

2014-08-01 Thread Vicente Vera
Hello, recently I tried to install the latest development snapshot from Git
through the following procedure, which has worked for me perfectly until
now:

- make cleanall
- make up0
- make install

When the build system gets to creating the documentation (just the info
file) these error lines appear (i'm sorry for the length) and the process
stops:

/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:16387:
Cross reference to nonexistent node `Using
 multiple #+TBLFM lines' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:16078:
Cross reference to nonexistent node `External
 links' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:15548:
Cross reference to nonexistent node `Code evaluation
 security' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:15289:
Cross reference to nonexistent node `Property
 inheritance' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:14506:
Cross reference to nonexistent node `Evaluating code
 blocks' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:14224:
Cross reference to nonexistent node `Evaluating
 code blocks' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:14219:
Cross reference to nonexistent node `Code
 evaluation security' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:14169:
Cross reference to nonexistent node `Library
 of Babel' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:13391:
Cross reference to nonexistent node `HTML
 export' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:12932:
Cross reference to nonexistent node `Evaluating
 code blocks' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:12219:
Cross reference to nonexistent node `Column width and
 alignment' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:12100:
Cross reference to nonexistent node `Configuring a
 document converter' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:11252:
Cross reference to nonexistent node `Radio
 targets' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:10788:
Cross reference to nonexistent node `Export
 settings' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:10503:
Cross reference to nonexistent node `In-buffer
 settings' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:10348:
Cross reference to nonexistent node `Literal
 examples' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:10177:
Cross reference to nonexistent node `Math formatting in
 HTML export' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:10017:
Cross reference to nonexistent node `Generating
 an index' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:9922:
Cross reference to nonexistent node `Text
 areas in HTML export' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:9850:
Cross reference to nonexistent node `Plain
 lists' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:9613:
Cross reference to nonexistent node `Document
 structure' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:8779:
Cross reference to nonexistent node `Filtering/limiting
 agenda items' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:8134:
Cross reference to nonexistent node `Property
 inheritance' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:8012:
Cross reference to nonexistent node `Agenda
 commands' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:7816:
Cross reference to nonexistent node `Agenda
 commands' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:7719:
Cross reference to nonexistent node `Matching
 tags and properties' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707/org-mode/doc//org.texi:7197:
Cross reference to nonexistent node `Adding
 hyperlink types' (perhaps incorrect sectioning?).
/home/vicente/descarga/org-master-git-20140707

Re: [O] Installing from git

2014-07-02 Thread Vicente Vera
Thank you for your replies, I think i'm beginning to understand the
process. These are the changes I made to local.mk:

prefix  = /usr/local/share
datadir = /usr/local/share/emacs/24.4.50/etc/org (actually, this directory
belongs to the built-in Org installation)

Then:
$ make
$ sudo make install

And it worked fine. The info manual is now updated, so is everything else.

So, overall, the purpose of running 'make install' (or 'make up2', to also
pull from the Git repository) is to avoid overriding the default Org
installation that comes with Emacs?

Going through the variables in local.mk it seems this is the idea, except
maybe for 'infodir' which in my case points to the place where Emacs threw
all its info files (including Org).

To sum up, the process made the following changes on my system:
- Org lisp files from Git now reside in /usr/local/share/emacs/site-lisp
(which is in load-path by default). The original built-in Org lisp files
are untouched.
- M-x org-version shows the correct updated version and location.
- M-x info shows the updated info manual which now resides in
/usr/local/share/info (I think it replaced the built-in manual?).
- Org data files now reside in /usr/local/share/emacs/24.4.50/etc/org
(replacing the built-in files?).

No extra elisp code was needed (adding the cloned repository to load-path,
etc.).


Re: [O] Installing from git

2014-07-01 Thread Vicente Vera
It seems i'm flooding John's inbox trying to send back this message into
the discussion. I'm deeply sorry for that.

I did what John suggested:
- git clone...
- cd to the repository
- make (which i think does two things, byte-compilation and generating
org-loaddefs.el)
- add lisp dir to load-path

It did worked since M-x org-version shows the right path (and version), but
i'm used to browse the Info manual quite regularly. Before switching to
GNU/Linux I used to install the ELPA package on a freshly unpacked Emacs
(trunk builds for Windows); it was a pretty straightforward process and it
seems to take care of everything. I'm not going to do that again since the
ELPA package comes from the maint branch.

Achim Gratz writes:
 The default install method installs into site-lisp, not into the Emacs
 install directory.  The reason I keep advocating that method is that
 conveniently the buil-in load-path is already set up to do the right
 thing from the very beginning (you only need to remember to require
 org-loaddefs from your .emacs) and you can fall back easily to the
 built-in Org from Emacs itself if needed.

Thanks for your reply. Which one is the default install method? If it's
'make install', do i need to tweak local.mk because of the location of my
Emacs installation (as explained here:
http://orgmode.org/worg/dev/org-build-system.html#sec-4-1-3)? In my system
(Debian) Emacs is in /usr/local/.

And does this method allows to have the latest info manual without
overriding the built-in org-mode installation?


2014-06-30 18:51 GMT-04:00 John Hendy jw.he...@gmail.com:

 On Mon, Jun 30, 2014 at 5:44 PM, Vicente Vera vicente...@gmail.com
 wrote:
  Hello. I'm quite confused with the installation options.
 
  Recently started out a Debian base system and compiled Emacs from the bzr
  repository. That came out fine, so I ran 'make install' and now Emacs
  24.4.50 sits in /usr/local/bin, /usr/local/share, etc.
 
  I want to install the master branch of org-mode. Currently I followed
 these
  steps:
 
  - cd ~/org_from_git/
  - git clone git://orgmode.org/org-mode.git
 
  ¿Do i need to tweak 'local.mk' so the prefix variable points to
  /usr/local/share before running make?
  ¿Which make option should i use (besides 'make autoloads')?

 Did you search around a bit? There's lots of posts with people's
 setups. You certainly *can* install over the top of the Org that came
 with your version of Emacs (pointing it to install to
 /usr/local/share, I suppose), though I've never gone that route. Some
 mailing list examples from googling about Orgmode git installation:
 - Achim's post:
 http://lists.gnu.org/archive/html/emacs-orgmode/2013-05/msg00609.html
 - My setup:
 http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00396.html

 From mine, you'll note I never install Org -- just clone to a
 directory, make, and tell Emacs about it in .emacs... done!


 John

 
  Thanks in advance.



[O] Installing from git

2014-06-30 Thread Vicente Vera
Hello. I'm quite confused with the installation options.

Recently started out a Debian base system and compiled Emacs from the bzr
repository. That came out fine, so I ran 'make install' and now Emacs
24.4.50 sits in /usr/local/bin, /usr/local/share, etc.

I want to install the master branch of org-mode. Currently I followed these
steps:

- cd ~/org_from_git/
- git clone git://orgmode.org/org-mode.git

¿Do i need to tweak 'local.mk' so the prefix variable points to
/usr/local/share before running make?
¿Which make option should i use (besides 'make autoloads')?

Thanks in advance.


[O] PNG R plots size

2013-12-17 Thread Vicente Vera
Hello. I have a source code block for an R plot with the following
header:

#+BEGIN_SRC R :results output graphics :file figure1.png :exports results

It works, but the default size is too small. When I change the
extension to SVG or PDF (i.e. when exporting to LaTeX, but is not what
i need right now) the dimensions are fine.

How can I control the size of a PNG graphic? Do I need to tweak
something inside Org or specify something in R?

Thanks.



[O] (idea?) fontification of live code blocks

2013-11-01 Thread Vicente Vera
Hello. I don't know if this has been mentioned before, but it would be nice
to have fontified live code blocks, since sometimes it's hard to clearly
distinguish---at least at first sight---between regular text and something
like, for example, src_R[:session
*project2*]{round(mean(data$AGE),digits=0)}.


[O] problem with titles in odt export

2013-10-27 Thread Vicente Vera
Hello. I think there's a problem when exporting to odt format with certain
characters in #+TITLE lines. For example, exporting an org file with ñ
(ntilde in HTML) or letters with acute accents (aacute, oacute, etc.) in
the title---my document is written in spanish---results in a file with no
title at all (nor author/date). Also, an error warning appears in
LibreOffice when opening.
The body of the document (headers, etc.) exports normally.

I'm using GNU Emacs 24.3.1.
Org-mode version 8.2.1 (8.2.1-15-ge5cecc-elpa @
c:/emacs/.emacs.d/elpa/org-20131021/).

Thank you very much for the great work.


Re: [O] latex to png not working

2013-10-14 Thread Vicente Vera
The problem went away once i changed the values for both TEMP and TMP
environment variables to C:\Temp (without quotation marks). This---i
think---has to do with long filenames (path to TEMP folder).

Great, great job by the way. Org makes so much things easier. Thank you
very much!


2013/10/13 Vicente Vera vicente...@gmail.com

 Hello. I'm trying to export an Org file with some basic latex code (block
 with #+BEGIN_SRC latex :file block1.png and tex:dvipng in #+OPTIONS:)
 but this shows up in the *Messages* buffer:

 org-babel-exp processing...
 executing Latex code block (block1)...
 Failed to create dvi file from
 c:/DOCUME~1/User1/CONFIG~1/Temp/orgtex1376-zt.tex
 Code block evaluation complete.
 Formatting LaTeX using dvipng

 The ODT document is created but, obviously, without the PNG formulas. It
 happens too with inline LaTeX fragments:

 Creating LaTeX Image 1...
 Failed to create dvi file from
 c:/DOCUME~1/User1/CONFIG~1/Temp/orgtex124_dQ.tex
 Embedding c:/Documents and Settings/User1/My
 documents/testodt/ltxpng/testodt_0d00b93575360a27f804d102a03f4e2d4ee0f915.png
 as Images/0001.png...
 OpenDocument export failed: Copying file: no such file or directory,
 c:/Documents and Settings/User1/My
 documents/testodt/ltxpng/testodt_0d00b93575360a27f804d102a03f4e2d4ee0f915.png,
 c:/DOCUME~1/User1/CONFIG~1/Temp/odt-124Zro/Images/0001.png

 Org's LaTeX preview doesn't work either. The dvi files are not being
 created.

 My setup includes:
 - Windows XP SP3
 - Emacs 24.3.1 with Org 8.2.1 (20131007 from ELPA) and AUCTeX 11.87.1
 (from ELPA); everything correctly (and cleanly) installed
 - TeX Live 2013 (full install), on Windows' PATH

 Standalone dvipng works ok (tried it with a small dvi file through Windows
 command line) and latex too (through cmd, Org---latex  pdf export--- and
 AUCTeX).

 Thanks for reading.



[O] latex to png not working

2013-10-13 Thread Vicente Vera
Hello. I'm trying to export an Org file with some basic latex code (block
with #+BEGIN_SRC latex :file block1.png and tex:dvipng in #+OPTIONS:)
but this shows up in the *Messages* buffer:

org-babel-exp processing...
executing Latex code block (block1)...
Failed to create dvi file from
c:/DOCUME~1/User1/CONFIG~1/Temp/orgtex1376-zt.tex
Code block evaluation complete.
Formatting LaTeX using dvipng

The ODT document is created but, obviously, without the PNG formulas. It
happens too with inline LaTeX fragments:

Creating LaTeX Image 1...
Failed to create dvi file from
c:/DOCUME~1/User1/CONFIG~1/Temp/orgtex124_dQ.tex
Embedding c:/Documents and Settings/User1/My
documents/testodt/ltxpng/testodt_0d00b93575360a27f804d102a03f4e2d4ee0f915.png
as Images/0001.png...
OpenDocument export failed: Copying file: no such file or directory,
c:/Documents and Settings/User1/My
documents/testodt/ltxpng/testodt_0d00b93575360a27f804d102a03f4e2d4ee0f915.png,
c:/DOCUME~1/User1/CONFIG~1/Temp/odt-124Zro/Images/0001.png

Org's LaTeX preview doesn't work either. The dvi files are not being
created.

My setup includes:
- Windows XP SP3
- Emacs 24.3.1 with Org 8.2.1 (20131007 from ELPA) and AUCTeX 11.87.1 (from
ELPA); everything correctly (and cleanly) installed
- TeX Live 2013 (full install), on Windows' PATH

Standalone dvipng works ok (tried it with a small dvi file through Windows
command line) and latex too (through cmd, Org---latex  pdf export--- and
AUCTeX).

Thanks for reading.


Re: [O] Figure not exporting properly in Beamer

2013-05-16 Thread Angel de Vicente
Hi,

Sebastien Vauban sva-n...@mygooglest.com
writes:

 Angel de Vicente wrote:
 I'm using Org 7.8.03 and I have a test file to create a Beamer
 presentation. At some point I have:

 ** Images

 #+CAPTION: Sample AMR
 #+label:   fig:amr-sample
 [[file:amr.png]]

 Dunno if it will fix all of your problem, but you should use

   #+name: fig:amr-sample

Well I use #+label and I see no problem, but that didn't solve the
issue. Looking in the org code, if I comment the line checking for the
inline-images plist, then all is in order, and it gets exported as a figure.

   (cond ((and imgp)
;  (plist-get org-export-latex-options-plist :inline-images))
  ;; OK, we need to inline an image
  (insert
   (org-export-latex-format-image raw-path caption label attr 
shortn)))

The funny thing is that I don't think I ever changed the
org-export-latex-options-plist, at least not intentionally, as I
wouldn't now how to do it from inside the .org file and previously I
got the figure properly exported.

In any case, can anybody tell me how I set the inline-images property in
the .org file, so I can uncomment that line in org-latex.el

Thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




[O] Figure not exporting properly in Beamer

2013-05-15 Thread Angel de Vicente
Hi,

I'm using Org 7.8.03 and I have a test file to create a Beamer
presentation. At some point I have:

** Images

#+CAPTION: Sample AMR
#+label:   fig:amr-sample
[[file:amr.png]]

and a few weeks ago, after processing this I got in the tex file:

-
\frametitle{Images}
\label{sec-1-3}


\begin{figure}[htb]
\centering
\includegraphics[width=.9\linewidth]{amr.png}
\caption{\label{fig:amr-sample}Sample AMR}
\end{figure}
\end{frame}
-

Today I tried again, but instead I get:

--
\frametitle{Images}
\label{sec-1-3}


\href{t}{file:amr.png}
\end{frame}
--

I probably forgot something that I did last time, but I cannot see
it. Any hints?

Thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




Re: [O] Examples of orgmode+beamer presentations?

2013-04-17 Thread Angel de Vicente
Hi,

thanks everybody for the tips and suggestions. In the end, I mostly
googled around, took what I liked from here and there, and ended up with
something good enough for the time being (later on I will tweak it
again, mainly for the greying-out of images, which I didn't do it right
now, but should be easy replicating frames).

In case it can be useful to someone else, I put the example here:
http://angel-de-vicente.blogspot.com.es/2013/04/presentations-with-org-mode-beamer.html

(in Linux to view the embedded video you need Acroread 9.4.1 or later
(or so I think). In Windows or Mac, I have no idea if the embedded video
will work.

Cheers,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




[O] Examples of orgmode+beamer presentations?

2013-04-15 Thread Angel de Vicente
Hi,

I'm trying to find examples of presentations made with orgmode and
beamer. Ideally I would like to see sample presentations first (in PDF),
so that I can get one that looks as close to what I would need, and then
I would like to get the source code for it. Are there any good templates
out there? (Something similar to
http://draketo.de/light/english/politics-and-free-software/recipes-presentations-beamer-latex-using-emacs-org-mode,
but hopefully with more options).

Is there anything out there?

Thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




Re: [O] Examples of orgmode+beamer presentations?

2013-04-15 Thread Angel de Vicente
Hi,

Ista Zahn istaz...@gmail.com writes:
 I'm not clear on whether you are looking for templates or examples,

anything will do

 but if the later, maybe my slides at
 http://projects.iq.harvard.edu/rtc/event/introduction-r will be of
 some interest. Scroll down to the bottom and download the .zip file.
 The rintro.pdf is the beamer export of the rintro.org file.

this looks very nice, thanks a lot. I will look into it and try to
modify the footnote, some colours, etc. and see if I can get to where I
want to go.

Thanks,
-- 
Ángel de Vicente
http://www.iac.es/galeria/angelv/  
-
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protecci�n de 
Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning 
the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en




Re: [O] automatically mark DONE when all sub checkboxes are checked

2012-02-10 Thread Angel de Vicente
Hi,

John Hendy jw.he...@gmail.com writes:
 I don't get any error, but it doesn't work. Also, the example in worg
 had an extra parenthesis at the end of it... not sure if that's
 goofing it up. I don't know lisp, so I just deleted one of the last
 parentheses and loading my .emacs stopped complaining. Not sure if
 that last trailing one was the offender or not. In any case, this is
 not working for me on an up to date org install (pulled yesterday).

Perhaps you are trying a TODO heading that doesn't have one of the
progress indicators? 

I have just tried it, and with TODOs headings as follows works OK. If
you don't put the progress indicators then it doesn't work, since the
function is looking for the 100% text or for n/n (which indicates that
you have completed all the tasks).

* TODO try [%]

* TODO try [/]

Actually, I wonder why this is not the default behaviour. It looks
natural that if a task is made of checkboxes and you complete all of
them the task should be DONE.

Cheers,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




Re: [O] org-version reported as 6.33x after upgrading to the latest and greatest with Emacs' Package Manager

2012-01-31 Thread Angel de Vicente
Hi,

Jambunathan K kjambunat...@gmail.com writes:

 Angel de Vicente ang...@iac.es writes:
 which looks good, but if I do M-x org-version I get:
 Org-mode version 6.33x

[...]


 1. Did you restart Emacs?

yes

 2. If you remove (require 'org-install) does it help?

no

 3. Emacs-24.1 (currently in pre-test) has the latest and greatest Org.

but for the moment I would prefer not to upgrade Emacs.

Any idea on how to test if org is getting confused with 6.33 beyond
reporting that as its version?

Thanks,
-- 
Ángel de Vicente
http://www.iac.es/galeria/angelv/  
-
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protecci�n de 
Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning 
the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en




Re: [O] org-version reported as 6.33x after upgrading to the latest and greatest with Emacs' Package Manager

2012-01-31 Thread Angel de Vicente
Hi,

Jambunathan K kjambunat...@gmail.com writes:

 Any idea on how to test if org is getting confused with 6.33 beyond
 reporting that as its version?

 In your .emacs file, *just before* package-initialize add this and
 restart Emacs.

 (when (featurep 'org)
   (error Some mysterious force has already loaded org. Investigate why
   this is so.))

Yes, there were mysterious forces... :-)

As I recall it I had two problems in my .emacs file:

1) a line:

(find-file ~/org/MAIN.org)

2) and 
;; Remember-Mode
(org-remember-insinuate)
(setq org-directory /home/angelv/org/)
(setq org-default-notes-file (concat org-directory /notes.org))
(define-key global-map \C-cr 'org-remember)

Those were forcing the bundled org version to load.

Issue solved by:

* Moving line in 1) right after the (package-initialize) right at the
bottom of my .emacs

* Getting rid of lines in 2) and substituting them by:
(setq org-directory /home/angelv/org/)
(setq org-default-notes-file (concat org-directory notes.org))
(define-key global-map \C-cc 'org-capture)

* Putting out of the way the directory where the bundled ORG was
  (probably not needed, but for extra peace of mind)


BUT, I still could not capture anything with C-cc, and I got an error
about org-called-interactively-p not being valid/defined.. (don't
remember now). It looks like the new org was byte-compiled when the old
org was active and there were some issues in there. Deleting all the
.elc files, making sure that only the new org was active and then
byte-compiling the .el files again did the trick.

Cheers,
-- 
Ángel de Vicente
http://www.iac.es/galeria/angelv/  
-
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protecci�n de 
Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning 
the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en




Re: [O] Org without X on Debian

2012-01-31 Thread Angel de Vicente
Hi,

Karl ignora...@gmx.de writes:
 Does anybody use Org in a non-graphical environment? 
 Is it possible to make the (all) keys work?

I use it inside GNUscreen running in a gnome-terminal. I have also tried
(for a limited time) to make all the keys work but to no avail. If you
find more information on a possible solution for this, I think many
would be interested.

Cheers,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




[O] org-version reported as 6.33x after upgrading to the latest and greatest with Emacs' Package Manager

2012-01-30 Thread Angel de Vicente
Hi,

I'm running Emacs 23.2.1 (bundled with Ubuntu 11.04), and until now I
was running the org-mode package that came with it (6.33x). Today I
decided to update to the latest org version, and I followed the
instructions at http://orgmode.org/worg/org-faq.html#installing-via-elpa

When I do M-x locate-library RET org I get:
Library is file ~/.emacs.d/elpa/org-20120129/org.elc

which looks good, but if I do M-x org-version I get:
Org-mode version 6.33x

In my .emacs file I have 
;; Org-mode
;;
(require 'org-install)
(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
(define-key global-map \C-cl 'org-store-link)
(define-key global-map \C-ca 'org-agenda)
(define-key global-map \C-cb 'org-iswitchb)
(global-font-lock-mode 1)
(setq org-log-done t)

and at the end of the file

(setq load-path (cons ~/Emacs-custom load-path))
(require 'package)
(package-initialize)

Did I miss something else that I should do? I was planning on getting
rid of the version that comes with Emacs, but I thought I should ask
first...

Thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




[O] Appointment reminders in Orgmode

2011-10-06 Thread Angel de Vicente
Hi,

I'm moving all my appointments to OrgMode, and I'm trying to find a way
to get reminders of those appointments (something like the
AppointmentMode http://www.emacswiki.org/emacs/AppointmentMode).

Is there something that can be made to work with Org?

Thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




Re: [O] Appointment reminders in Orgmode

2011-10-06 Thread Angel de Vicente
Hi,

Carsten Dominik carsten.domi...@gmail.com writes:
 I'd say this is clearly within the minimum self-search effort
 expected before asking on the list, don't you agree?

indeed. Shame on me...

I had looked in the org manual (texinfo) for the word appointment but
didn't find anything (but that's also my fault, since apparently I
looked only in the headlines and not in the whole manual... need to get
a coffee, I think).
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




Re: [O] Web bookmarks in ORG?

2011-07-15 Thread Angel de Vicente
Bastien b...@altern.org writes:

 Hi Angel,

 maybe you can have a look at GNU recutils:

   http://www.gnu.org/s/recutils/

 I'd be curious to know if recutils has been used to store
 and manage bookmarks, but I think it's a natural fit.

 We had some discussion with the author, Jose E. Marchesi, 
 who is an this list -- and recutils/org integration is not
 impossible either.

Thanks for the suggestion. I'm very busy right now, so I didn't look at
this, but I will certainly come back to it, and report back. (There was
also a Emacs Database, EDB, which I never used, but which perhaps could
also be used, but I'm not sure if that is still maintained...)

Cheers,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




  1   2   >