[O] For Org, numbered backups or version control? Which settings?

2015-12-28 Thread Jorge
Hi.  My ~/org folder, with its sub directories, has a total of 13 .org
files.  Five of them are agenda files.  I set up numbered backup, with
the backups going to a separate directory: ~/auto-backups.  For the
most important org files, I raised the number of numbered backups
kept.  For example, my biggest org file has the following local
variables:
  - Local variables:
  - auto-save-interval: 150
  - version-control: t
  - kept-new-versions: 80
  - End:

I sincronize both ~/org and ~/auto-backups to a cloud syncing service.
~/auto-backups now is 97MiB, about 2% of my 5.5GiB cloud quota.

Do you recommend keeping my current setup?  Or should I adopt some
version control system to have better history (right now I save only
the latest 80 versions, and Emacs saves a new backup only on the Emacs
session's first save)?



[O] Bug: typo in [[info:org#Tag hierarchy]] [8.3.4 (8.3.4-34-gacfd41-elpa @ /home/jorge/.emacs.d/elpa/org-20160411/)]

2016-04-11 Thread Jorge
[[info:org#Tag hierarchy]] says:

>Furthermore; The members of a _group tag_ can also be regular
> expression, creating the possibility of more dynamic and rule-based
> tag-structure.  The regular expressions in the group must be marked up
> within { }.  Example use, to expand on the example given above:
>
>  #+TAGS: [ Vision : {V.+} ]
>  #+TAGS: [ Goal : {G.+} ]
>  #+TAGS: [ AOF : {AOF.+} ]
>  #+TAGS: [ Project : {P.+} ]
>
>Searching for the tag `Project' will now list all tags also including
> regular expression matches for `P@.+'.  Similar for tag-searches on
> `Vision', `Goal' and `AOF'.  This can be good for example if tags for a
> certain project is tagged with a common project-identifier, i.e.
> `P@2014_OrgTags'.

However, the `Project' group tag regex is `P.+', while the first
sentence in the final quoted paragraph cites the regex `P@.+' (with an
`@').

Emacs  : GNU Emacs 25.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.6)
 of 2016-03-05
Package: Org-mode version 8.3.4 (8.3.4-34-gacfd41-elpa @
/home/jorge/.emacs.d/elpa/org-20160411/)

I run Ubuntu 15.10 with PPAs gnome3-team/gnome3 and gnome3-team/gnome3-staging.

-- 
- I am Brazilian.  I apologize for possibly bad English and I welcome
corrections.
- Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z.
- Free software for Android: https://f-droid.org/



Re: [O] Bug: group tags defined in org-tag-persistent-alist do not match their subtags [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/jorge/.emacs.d/elpa/org-20160404/)]

2016-04-18 Thread Jorge
> For the record, it is better to simply post minimal init.el and
> "group-tags-bug.org", both as plain text, in the message.
Of course.  Sorry for being obtuse. And I took the opportunity to test
that the bug still occurs in org-20160418.

File group-tags-bug.org:
---
* Dummy
** Human :mammal:
---

File init.el:
---

;; Added by Package.el.  This must come before configurations of
;; installed packages.  Don't delete this line.  If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(org-tag-persistent-alist
   (quote
((:startgroup)
 ("animal" . 97)
 (:grouptags)
 ("mammal" . 109)
 (:endgroup)
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

---



Re: [O] Bug: Repeated candidate tags in org-set-tags-command interface [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/jorge/.emacs.d/elpa/org-20160404/)]

2016-04-18 Thread Jorge
On 12 April 2016 at 17:35, Nicolas Goaziou  wrote:
> Could you send it by mail? You can remove the copy of ~/.emacs.d/elpa.

As you requested in the other e-mail, here are the files inline:

File repeated-tags-bug-trigger.org:
--
* Dummy Headline   :dummy:
--

File init.el:
--
;; Added by Package.el.  This must come before configurations of
;; installed packages.  Don't delete this line.  If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(org-tag-persistent-alist (quote (("dummy" . 100)
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )
--



Re: [O] Bug: group tags defined in org-tag-persistent-alist do not match their subtags [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/jorge/.emacs.d/elpa/org-20160404/)]

2016-04-18 Thread Jorge
OK.  Thank you very much for improving Org!
Regards

On 18 April 2016 at 20:21, Nicolas Goaziou  wrote:
> Jorge  writes:
>
>>> For the record, it is better to simply post minimal init.el and
>>> "group-tags-bug.org", both as plain text, in the message.
>> Of course.  Sorry for being obtuse. And I took the opportunity to test
>> that the bug still occurs in org-20160418.
>
> The bug was fixed in master, i.e., development branch. It means the fix
> will not appear on ELPA before Org 9.0 is released.
>
> Regards,



-- 
- I am Brazilian.  I apologize for possibly bad English and I welcome
corrections.
- Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z.
- Free software for Android: https://f-droid.org/



Re: [O] Bug report: org-get-property-block returns nil if the entry does not start with the property drawer

2015-08-25 Thread Jorge
On Tue, Aug 25, 2015 at 7:22 PM, Josiah Schwab  wrote:
> This is the first item in the 8.3 series changelog.  There is a provided
> script to repair things.

Now I see that this new requirement is documented in Info manual
subsection 7.1 Property syntax.  I had only checked subsection 2.8
Drawers.

I didn't see the changelog because I updated through Emacs' package
menu, and I intended to update frequently (including between formal
releases), so I wouldn't check the changelog.  I now realize that
skipping the changelog is barely acceptable when you just want to use
the software, but is unacceptable when you want to report regressions.

Still, Org itself should interactively mention this change (pointing
either to manual subsection 7.1 or to orgmode.org/Changes.html)
instead of just cryptically saying "malformed drawer found".  This
slight increase in verbosity would help users like me and I don't see
any significant downside.

And please forgive any English mistake, I am Brazilian.



[O] Auto org-mobile-push kills buffer

2015-08-26 Thread Jorge
Hi.  I use MobileOrg.  To automate org-mobile-push I have installed
the code below from
https://github.com/matburt/mobileorg-android/wiki/FAQ.  However, the
code sometimes does weird things, such as killing the current buffer
(happened twice).
Is this a known bug?  Also, in the last line, why is the lambda quoted?

;; https://github.com/matburt/mobileorg-android/wiki/FAQ
(defvar org-mobile-push-timer nil
  "Timer that `org-mobile-push-timer' used to reschedule itself, or nil.")

(defun org-mobile-push-with-delay (secs)
  (when org-mobile-push-timer
(cancel-timer org-mobile-push-timer))
  (setq org-mobile-push-timer
(run-with-idle-timer
 (* 1 secs) nil #'org-mobile-push)))

(add-hook 'after-save-hook
 (lambda ()
   (when (eq major-mode 'org-mode)
 (dolist (file (org-mobile-files-alist))
  (if (string= (file-truename (expand-file-name (car file)))
  (file-truename (buffer-file-name)))
   (org-mobile-push-with-delay 30)))
 )))

;; refreshes agenda file each day
(run-at-time "00:05" 86400 '(lambda () (org-mobile-push-with-delay 1)))



Re: [O] Auto org-mobile-push kills buffer

2015-08-29 Thread Jorge
This has happened two more times.

On Wed, Aug 26, 2015 at 11:43 AM, Jorge  wrote:
> Hi.  I use MobileOrg.  To automate org-mobile-push I have installed
> the code below from
> https://github.com/matburt/mobileorg-android/wiki/FAQ.  However, the
> code sometimes does weird things, such as killing the current buffer
> (happened twice).
> Is this a known bug?  Also, in the last line, why is the lambda quoted?
>
> ;; https://github.com/matburt/mobileorg-android/wiki/FAQ
> (defvar org-mobile-push-timer nil
>   "Timer that `org-mobile-push-timer' used to reschedule itself, or nil.")
>
> (defun org-mobile-push-with-delay (secs)
>   (when org-mobile-push-timer
> (cancel-timer org-mobile-push-timer))
>   (setq org-mobile-push-timer
> (run-with-idle-timer
>  (* 1 secs) nil #'org-mobile-push)))
>
> (add-hook 'after-save-hook
>  (lambda ()
>(when (eq major-mode 'org-mode)
>  (dolist (file (org-mobile-files-alist))
>   (if (string= (file-truename (expand-file-name (car file)))
>   (file-truename (buffer-file-name)))
>(org-mobile-push-with-delay 30)))
>  )))
>
> ;; refreshes agenda file each day
> (run-at-time "00:05" 86400 '(lambda () (org-mobile-push-with-delay 1)))



[O] ODT export backend missing

2015-09-10 Thread Jorge
The export dispatcher does not show ODT.  I see no errors in the
messages buffer, and Emacs does not print any error to the terminal.

This is Ubuntu 15.04, Emacs 24.5 (compiled myself).  I have tested
with recent Org (from package.el) and with stock Org.  I have in fact
tested with stock emacs (renamed my .emacs.d).  Does not work.

Regards



Re: [O] ODT export backend missing

2015-09-10 Thread Jorge
On Thu, Sep 10, 2015 at 5:48 PM, Jorge  wrote:
> The export dispatcher does not show ODT.  I see no errors in the
> messages buffer, and Emacs does not print any error to the terminal.

I discovered command org-odt-export-to-odt and called it directly.  Worked.

Should have thought of it before.  Sorry.

Regards



[O] What is the most practical workflow for capturing things in Mobileorg and later integrating them into the main files?

2015-09-11 Thread Jorge
Hi.  When I capture something in MobileOrg, it by default is classified as
"Captures" and, when I do org-mobile-pull, those captures /silently/ go into
~/org/from-mobile.org.  This is bad.

So one workflow would be to write some code that warns me if
~/org/from-mobile.org is non-empty, and find a way of hooking it into
org-mobile-pull.  Then:
1) Capture something in MobileOrg
2) Do org-mobile-pull
3) If the code I wrote as above warns me that ~/org/from-mobile.org is
   non-empty, then visit it, go through the entries, fix them (adding more
   information now that I have a real keyboard) and use org-refile.

Is there a more practical and easier option?

Regards



Re: [O] What is the most practical workflow for capturing things in Mobileorg and later integrating them into the main files?

2015-09-13 Thread Jorge
On Fri, Sep 11, 2015 at 1:23 PM, Ken Mankoff  wrote:
> Hi Jorge,
>
> My mobile capture work flow is:
> [...]

Thank you, this is quite better than what I had.



Re: [O] function to duplicate current header and change ID

2016-08-17 Thread Jorge
On 11 August 2016 at 12:33, John Kitchin  wrote:
> Does this do what you want?
Could not he just use C-u C-c C-x c (org-clone-subtree-with-time-shift)?



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

2016-08-17 Thread Jorge
[Now sending to the whole list]
On 29 July 2016 at 00:53, Adam Porter  wrote:
> It might be enough to advise a few functions to call
> org-update-statistics-cookies, e.g.:
>
> (advice-add 'org-cut-special :after 'org-update-statistics-cookies)

I haven't yet studied the advice feature.  I'll look into it.  But is
not the proposed feature (more automatic updating of cookies)
important enough that there should be a very quick way to enable it?
I think it should be a user option (that is, a customizable variable).


-- 
- I am Brazilian.  I apologize for possibly bad English and I welcome
corrections.
- Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z.
- Free software for Android: https://f-droid.org/



Re: [O] How to safely update from ver. 8.2.10 to 8.3.x

2016-08-22 Thread Jorge
On 15 August 2016 at 14:29, Cook, Malcolm  wrote:
>   emacs -Q -batch -eval "(progn (require 'package) (add-to-list 
> 'package-archives '(\"org\" . \"http://orgmode.org/elpa/\";))  
> (package-initialize) (package-refresh-contents) (package-install 
> 'org-plus-contrib))"
Here I plan to drop the "-Q" (because --batch already implies -q,
which I think is enough).  So my command would be
emacs --batch --eval "(progn (require 'package) (add-to-list
'package-archives '(\"org\" . \"http://orgmode.org/elpa/\";))
(package-initialize) (package-refresh-contents) (package-install
'org-plus-contrib))"

> Note: I use org-plus-contrib from melpa instead of org.  If you want just 
> org, you could simply:
>
>   emacs -Q -batch -eval "(progn (require 'package) 
> (package-initialize) (package-refresh-contents) (package-install 
> 'org-plus-contrib))"

Would not it be
emacs -Q --batch --eval "(progn (require 'package)
(package-initialize) (package-refresh-contents) (package-install
'org))"
?


-- 
- I am Brazilian.  I apologize for possibly bad English and I welcome
corrections.
- Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z.
- Free software for Android: https://f-droid.org/



Re: [O] How to safely update from ver. 8.2.10 to 8.3.x

2016-08-22 Thread Jorge
In the last command I forgot to drop the -Q.  But I guess it works either way.

On 22 August 2016 at 12:25, Jorge  wrote:
> On 15 August 2016 at 14:29, Cook, Malcolm  wrote:
>>   emacs -Q -batch -eval "(progn (require 'package) (add-to-list 
>> 'package-archives '(\"org\" . \"http://orgmode.org/elpa/\";))  
>> (package-initialize) (package-refresh-contents) (package-install 
>> 'org-plus-contrib))"
> Here I plan to drop the "-Q" (because --batch already implies -q,
> which I think is enough).  So my command would be
> emacs --batch --eval "(progn (require 'package) (add-to-list
> 'package-archives '(\"org\" . \"http://orgmode.org/elpa/\";))
> (package-initialize) (package-refresh-contents) (package-install
> 'org-plus-contrib))"
>
>> Note: I use org-plus-contrib from melpa instead of org.  If you want just 
>> org, you could simply:
>>
>>   emacs -Q -batch -eval "(progn (require 'package) 
>> (package-initialize) (package-refresh-contents) (package-install 
>> 'org-plus-contrib))"
>
> Would not it be
> emacs -Q --batch --eval "(progn (require 'package)
> (package-initialize) (package-refresh-contents) (package-install
> 'org))"
> ?
>
>
> --
> - I am Brazilian.  I apologize for possibly bad English and I welcome
> corrections.
> - Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z.
> - Free software for Android: https://f-droid.org/



-- 
- I am Brazilian.  I apologize for possibly bad English and I welcome
corrections.
- Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z.
- Free software for Android: https://f-droid.org/



Re: [O] How to safely update from ver. 8.2.10 to 8.3.x

2016-08-22 Thread Jorge
On 22 August 2016 at 14:19, Cook, Malcolm  wrote:
>> In the last command I forgot to drop the -Q.  But I guess it works either 
>> way.
>
> I would not trust the result from failing to drop the -Q since the -Q is what 
> prevents your init file from loading, which we are explicitly trying to avoid 
> for the sake of compiling org in a fresh environment.
>
According to [[info:emacs#Initial Options]], --batch implies -q.
About -q and -Q, we have:

‘-q’
‘--no-init-file’
 Do not load any initialization file (*note Init File::).  When
 Emacs is invoked with this option, the Customize facility does not
 allow options to be saved (*note Easy Customization::).  This
 option does not disable loading ‘site-start.el’.
[...]
‘-Q’
‘--quick’
 Start emacs with minimum customizations.  This is similar to using
 ‘-q’, ‘--no-site-file’, ‘--no-site-lisp’, and ‘--no-splash’
 together.  This also stops Emacs from processing X resources by
 setting ‘inhibit-x-resources’ to ‘t’ (*note Resources::).

So --batch implies -q, which is enough to bypass init.el.  -Q is
stronger than -q: it adds ‘--no-site-file’, ‘--no-site-lisp’, and
‘--no-splash’ and inibits X resources.  But AFAIK, only my init.el
loads Org, and not site-start.el, which is empty here, or any Lisp
file in a site-lisp directory.  I searched every file in
/usr/share/emacs/site-lisp for "org" and I didn't find any line that
loads Org.

I am an Emacs beginner though, so I may be wrong.

-- 
- I am Brazilian.  I apologize for possibly bad English and I welcome
corrections.
- Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z.
- Free software for Android: https://f-droid.org/



Re: [O] Emacs movement keys

2016-08-23 Thread Jorge
On 23 August 2016 at 16:38, Eduardo Mercovich  wrote:
> |   | move | move | del   | del  |
> | object| prev | next | back  | forw |
> |---+--+--+---+--|
> | text  | M <  | M >  | - | -|
> | screen| M v  | C v  | - | -|
> | paragraph | M p  | M n  | - | -|
> | sentence  | M a  | M e  | - | M-k  |
> | line ↑ ↓  | C p  | C n  | - | -|
> |  < >  | C a  | C e  | - | C-k  |
> | word  | M b  | M f  | M-DEL | M-d  |
> | char  | C b  | C f  | DEL   | C-d  |

Yes, these bindings are very useful.  And did you know that even
outside Emacs you can move/delete wordwise by pressing ctrl togeter
with the right/left arrows or delete or backspace?  I only learned it
a few months ago.  I learned it in [1], even though this wordwise
movement/deletion also works outside LibreOffice as well.
1: https://help.libreoffice.org/Common/General_Shortcut_Keys_in

However, in my Emacs, backward-paragraph is bound to M-{, not M-p, and
forward-paragraph is bound to M-}, not M-n.  M-n and M-p are undefined
here, except in specific modes (the only one I remember is the
minibuffer). Have you bound these keys yourself?  Here I use Emacs
25.1-rc2.  I confirmed with a vanilla session (invoked by emacs -Q).

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Thank you!

2016-09-07 Thread Jorge
On 14 June 2016 at 10:33, Gyro Funch  wrote:
> I have recently adopted org-mode for both task lists and technical
> writing and wanted to express my sincere thanks to the creator,
> developers, and maintainers for such a wonderful piece of software.
>
> Keep up the great work!

[Resurrecting this thread]
I also am a happy user.  Emacs and Org are useful and fun to use.

When the Brazilian Real gains a little value, I plan to ask on this
mailing list how to donate.

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: Feature request: more automatic updating of cookies [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-09-27 Thread Jorge
Paste the following in an Org buffer:
--8<---cut here---start->8---
* Cookie_a [0/0]
* TODO Dummy_a
* Cookie_b [0/1]
** TODO Dummy_b
--8<---cut here---end--->8---

Within that buffer:
   1. Move point to the line of Dummy_a.
   2. 
I wished the cookie to be updated to [0/1] but it is not.

Then:
   1. Move point to the line of Dummy_b.
   2. C-c C-x C-w
   3. Move point to the line of Dummy_a at column 0.
   4. C-c C-x C-y
I wished both cookies to be updated.  They are not.

The manual [[info:org#Checkboxes][says]]:
Checkbox statistic cookies are updated automatically if you toggle
checkboxes with `C-c C-c' and make new ones with `M-S-'.  TODO
statistics cookies update when changing TODO states.  If you delete
boxes/entries or add/change them by hand, use this command to get things
back into sync.

I request the feature of Org automatically updating cookies when using
structure editing commands such as C-c C-x C-w, C-c C-x C-y, ,
 and friends.  This could be governed by a user option.

The point is that C-u C-c # (to update cookies in the entire buffer) takes
long enough that I only call it a few times per week.  This means that cookies
can get out of sync.  Then I try to remember manually invoking C-c # on the
relevant line every time it goes out of sync, but I sometimes omit it.

Regards

Emacs  : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-09-18
Package: Org-mode version 8.3.6 (8.3.6-4-g4835be-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook
change-major-mode-hook org-show-block-all append local] 5]
#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook
org-babel-show-result-all append local]
  5]
org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
 org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] How to report more than two dozen small problems with Org's documentation?

2016-09-28 Thread Jorge
Hello.  I have noted a number (more than two dozen) of small problems with
Org's documentation.  For example, the docstring of org-cut-special mentions
`org-table-copy' where the correct would be `org-table-cut-region'.

Should I report one bug for all the documentation problems, or one bug for each
affected manual section or docstring, or something else?

Regards

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: org-refile, org-archive-subtree and footnotes [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-09-28 Thread Jorge
Start Emacs with an empty init file and make the following customizations:

- org-log-refile :: 'time
- org-refile-targets :: (("/tmp/b.org" :maxlevel . 1))
- org-refile-use-outline-path :: 'file

Create an Org buffer named a.org with the following content:
--8<---cut here---start->8---
* My pets
** Rex
   Given to me by Theresa.[fn:1]
* Footnotes

[fn:1] A work colleague.
--8<---cut here---end--->8---

Create an Org file named /tmp/b.org with the following content:
--8<---cut here---start->8---
* Her pets
--8<---cut here---end--->8---

In buffer a.org, with point in Rex, type:
C-c C-w b.org/Her pets/ 
M-x org-lint

org-lint complains:
 4 high  No reference for footnote definition [fn:1]

A similar problem occurs if the entry is archived with org-archive-subtree.  I
expected Org to automatically detect the footnote inconsistency, without me
manually invoking org-lint.  Even better would be to fix it, e.g. offer to move
the footnote definition if there are no other references in the current buffer.

Now move to the Footnotes section and refile it to b.org (top level).
Then on b.org invoke M-x org-lint.  It complains:
 5 high  Extraneous elements in footnote section
I expected either org-refile to omit the timestamp when refiling the footnotes
section (to placate org-lint) or org-lint not to complain about the timestamp.

Thank you.  Regards.

Emacs  : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-09-18
Package: Org-mode version 8.3.6 (8.3.6-4-g4835be-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe
 org-babel-hide-result-toggle-maybe
 org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
 org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents)
  contents)
 org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents)
   contents)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
  [org-add-hook change-major-mode-hook
   org-show-block-all append local]
  5]
#[nil "\300\301\302\303\304$\207"
  [org-add-hook change-major-mode-hook
   org-babel-show-result-all append local]
  5]
org-babel-result-hide-spec
org-babel-hide-all-hashes org-eldoc-load)
 org-refile-targets '(("/tmp/b.org" :maxlevel . 1))
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ascii-format-drawer-function '(lambda
   (name contents width)
   contents)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
 org-babel-execute-safely-maybe)
 org-refile-use-outline-path 'file
 org-cycle-hook '(org-cycle-hide-archived-subtrees
 org-cycle-hide-drawers
 org-cycle-show-empty-lines
 org-optimize-window-after-visibility-change)
 org-log-refile 'time
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: Several small documentation problems [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-09-29 Thread Jorge
, but I thought I should report just in case:
  1. [info:org#Global and local cycling]:
 1. "show-branches" ("outline-show-branches").
 2. "show-all" ("outline-show-all").
 3. "show-children" ("outline-show-children").
  2. "org-kill-note-or-show-branches" docstring mentions "show-branches"
 ("outline-show-branches").
  3. "org-agenda-show-and-scroll-up" docstring mentions "show-subtree"
 ("outline-show-subtree").
• [info:org#Motion]
  1. C-c C-n invokes org-next-visible-heading, not
 outline-next-visible-heading.  Ditto for C-c C-p.
  2. C-c C-f invoke org-forward-heading-same-level, not org-forward-same-level.
 Ditto for C-c C-b.
• Inconsistency about the main keybinding for org-occur
  C-c / help window mentions only "r" for regexp, not "/".  [info:org#Sparse
  trees] also mentions only "r" – not "/".  So they treat C-c / r as the main
  keybinding for org-occur.  The docstring of org-sparse-tree, however,
  mentions both, and "r" /more/ prominently than "/".
• [info:org#Footnotes] about `C-c '': The keybinding `C-c '' is written twice.
  Besides, in the description, the sentence
This may be useful if editing footnotes in a narrowed buffer.
  seems incomplete.
• org-copy-special docstring
  wrongly substitutes org-table-copy for org-table-copy-region.
• [info:org#Filtering/limiting agenda items]
  Omits the fact that org-agenda-filter-by-tag-refine is obsolete.  Also says:
If the first key you press is either `+' or `-', the previous
filter will be narrowed by requiring or forbidding the selected
additional tag.
  but, according to my test, '+' is superfluous, because just by hitting `/'
  and selecting the tag, the filter is refined to require the tag.
• org-update-statistics-cookies docstring
  should explicitly document that C-u makes it update all cookies in the
  buffer.
• Docstring of org-id-link-to-org-use-id
  wrongly substitutes C-c C-l for C-c l.  And after making this correction,
  perhaps you should mention that C-c l is a custom keybinding (only a
  suggestion).
• Typos listed in the format "\"$wrong>\" → \"$correct\""
  • [info:org#The date/time prompt]
"ISO week for" → "ISO week four".
  • [info:org#Column width and alignment]
"string-rich column" → "string-rich columns"
  • [info:org#Column groups]
  `>' to indicate the end of a column
"column" → "group"
  • [info:org#External links]
  `file:projects.org::*task title heading search in Org'
  `file(2)'
The description (starting with "title" and ending in the next line with
"file(2)") is misaligned.
  • [info:org#Link abbreviations]
  If the replacement text doesn't contain any specifier, it will
  simply be appended to the string in order to create the link.
The "it" refers to "replacement text", but the replacement text is actually
/prepended/ (not /appended/) to the tag.  I suggest replacing everything
after the comma with: "the tag will simply be appended in order to create
the link."
  • [info:org#Tag inheritance]
"with those tags" → "with all those tags"
  • [info:org#Tag hierarchy]
  all members in the group and its subgroup
"subgroup" → "subgroups"
  • [info:org#Tag searches]
"to find entries which are tagged, like `Kathy' or `Sally'" →
"to find entries tagged as `Kathy' or `Sally'"
  • "org-metaright" docstring
"org-indnet-drawer" → "org-indent-drawer"
  • org-yank docstring:
"but only if doing so would now" → "except if doing so would" (or at least
fix "now" → "not")

Thank you and regards.

Emacs  : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-09-18
Package: Org-mode version 8.3.6 (8.3.6-4-g4835be-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Bug: Several small documentation problems [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-09-30 Thread Jorge
On 29 September 2016 at 17:36, Nicolas Goaziou  wrote:
> I think "grandparent" is correct. In the following document
>
>   * H1
>   ** H2
>   Text<--point
>
> "H2" is the parent headline of "Text" and as a consequence, "H1" is its
> grandparent.
What if point is in the headline, which is often the case?  Besides the
docstring is inconsistent:
  With two universal prefix arguments, insert the heading at the end
  of the grandparent subtree.  For example, if point is within a
  2nd-level heading, then it will insert a 2nd-level heading at the
  end of the 1st-level parent heading.

In the first sentence it says "grandparent subtree", whereas in the second
sentence it says "parent heading".  And the manual says "parent":
  Calling this command with `C-u C-u' will unconditionally respect
  the headline's content and create a new item at the end of the
  parent subtree.

Perhaps uniformity of terminology would help here.

> You are right, M-RET and C-RET are confusing, and making C-u M-RET
> a duplicate of C-RET is wasting some important keybinding. This was
> discussed on this ML already (with Rasmus) but led nowhere so far.
>
> In any case, it is more future-proof to not insist on the fact that
> C-RET is C-u M-RET.
I think that, whether we describe both behaviors separately or tell
the user that
C-RET is equivalent to C-u M-RET, the commitment (to not change the behavior)
is the same.  But if you still think that describing both separately is more
future-proof, I won't argue.

But I still ask you to look at the other points I made about that manual
section: that it doesn't adequately explain the effect of C-u M-RET, and that
the description of C-RET is actually wrong.

> Thank you for this tedious, yet very important work.
Thank you very much for working on Org!

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Bug: Several small documentation problems [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-10-02 Thread Jorge
On 1 October 2016 at 19:36, Nicolas Goaziou  wrote:
> In this case, both "parent" and "grandparent" are confusing terms.
> I made a change to M-RET docstring, hopefully eschewing the confusion.
> Please let me know if there is still something wrong there.
It is good now, but I still have some questions and observations:

First, there is some undocumented behavior if M-RET is called in the headline
after column 0 but before the headline text (e.g. if point is on the priority
cookie).  It then splits the heading just before the PROPERTIES drawer.  But I
don’t know if this is worthy of documentation.

Now something which I do consider worthy of description:
  This forces the insertion of a heading after the current subtree,
  independently on the location of point.
At least in Org version 8.3.6 (8.3.6-4-g4835be-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/), the new subtree is
positioned /before/ the current one if M-RET (even C-u M-RET) is invoked at
column 0 in the headline.  You could change the text to
  This forces the insertion of a heading after the current subtree,
  for any position of point except at column 0 in the headline.
Or you could change the code to remove this non-uniform behavior at column 0 of
the headline.

Now a very small detail:
  With double \\[universal-argument] \\[universal-argument] prefix
A “double \\[universal-argument] \\[universal-argument]” could be interpreted
as C-u C-u C-u C-u.  I think it would be better to say just
  With a \\[universal-argument] \\[universal-argument] prefix

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Bug: Feature request: more automatic updating of cookies [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-10-03 Thread Jorge
lock-fontify-now jit-lock-function
redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 16
[font-lock-default-fontify-region font-lock-fontify-region "#" run-hook-wrapped jit-lock--run-functions
jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\
function\) nil nil nil nil nil nil nil nil] 8 [jit-lock-fontify-now
jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil
nil nil nil nil nil nil nil nil nil] 4 [column-enforce-warn-on-region
"#" run-hook-wrapped jit-lock--run-functions
jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\
function\) nil nil nil nil nil nil nil nil nil] 12
[org-font-lock-add-priority-faces font-lock-fontify-keywords-region
font-lock-default-fontify-region font-lock-fontify-region "#" run-hook-wrapped jit-lock--run-functions
jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\
function\) nil nil nil nil nil nil] 4 [org-do-emphasis-faces
font-lock-fontify-keywords-region font-lock-default-fontify-region
font-lock-fontify-region "#" run-hook-wrapped
jit-lock--run-functions jit-lock-fontify-now jit-lock-function
redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 4
[org-activate-bracket-links font-lock-fontify-keywords-region
font-lock-default-fontify-region font-lock-fontify-region "#" run-hook-wrapped jit-lock--run-functions
jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\
function\) nil nil nil nil nil nil] 8 [timer-activate run-at-time
apply run-with-timer jit-lock-fontify-now jit-lock-function
redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil
nil] 4 [smex-detect-new-commands smex funcall-interactively
call-interactively command-execute nil nil nil nil nil nil nil nil nil
nil nil] 4 ["#" mapc ido-set-matches-1
ido-set-matches ido-exhibit read-from-minibuffer ido-read-internal
ido-completing-read smex-completing-read smex-read-and-run smex
funcall-interactively call-interactively command-execute nil nil] 8
[profiler-cpu-profile profiler-report-cpu profiler-report
funcall-interactively call-interactively command-execute
execute-extended-command smex-read-and-run smex funcall-interactively
call-interactively command-execute nil nil nil nil] 4 [Automatic\ GC]
272)) (22514 29042 741706 932000) nil]



My configuration:
Emacs  : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-09-18
Package: Org-mode version 8.3.6 (8.3.6-6-g194e51-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20161003/)

current state:
==
(setq
 org-capture-prepare-finalize-hook '(J-insert-created-and-id-all)
 org-export-backends '(ascii html icalendar latex odt)
 org-tab-first-hook '(org-hide-block-toggle-maybe
  org-babel-hide-result-toggle-maybe
  org-babel-header-arg-expand)
 org-footnote-section "Notas de rodapé"
 org-insert-heading-hook '(org-id-get-create t)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-agenda-entry-text-maxlines 3
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-priority-faces '((65 :slant italic :weight bold :foreground "red"
   :background "black")
  (66 :slant italic :weight bold :foreground "red"
   :background "cyan")
  (67 :slant italic :weight bold :foreground "red") (68
 :slant 
italic :weight bold)
  (69 . italic) (70 . default) (71 :foreground "gold") (72

:foreground "yellow")
  (73 :foreground "#50"))
 org-confirm-shell-link-function 'yes-or-no-p
 org-id-link-to-org-use-id 'create-if-interactive
 org-finalize-agenda-hook '(J-org-agenda-to-appt-refresh)
 org-after-tags-change-hook '(org-expiry-insert-created)
 org-agenda-sticky t
 org-list-allow-alphabetical t
 org-special-ctrl-a/e t
 org-agenda-custom-commands '(("p" "Now, agenda and TODOs (personal)"
   ((tags "now" nil)
(agenda "" ((org-agenda-span 1)
(org-agenda-time-grid (quote (nil 
nil nil)
(tags-todo "-dia-@GYNO"
 ((org-agenda-todo-ignore-deadlines (quote
 all))
  (org-agenda-todo-ignore-scheduled (quote
 all))
  (org-agenda-todo-ignore-times

Re: [O] Bug: org-refile, org-archive-subtree and footnotes [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-10-04 Thread Jorge
On 4 October 2016 at 12:08, Nicolas Goaziou  wrote:
> BTW, would you want to provide a patch?
I'm sorry, but I am overloaded.  Besides, I know very little Elisp; for
example, only in the last few weeks did I learn about backquote constructs.
Furthermore, I am a very slow programmer even in C, C++ or Python, with which I
have more experience.

>> Now move to the Footnotes section and refile it to b.org (top level).
>> Then on b.org invoke M-x org-lint.  It complains:
>>  5 high  Extraneous elements in footnote section
>> I expected either org-refile to omit the timestamp when refiling the 
>> footnotes
>> section (to placate org-lint) or org-lint not to complain about the
>> timestamp.
>
> This is a minor issue we shouldn't bother about. Lint just tells you
> some parts of the Footnotes section will not be exported. Just ignore
> it.
The lint message can make an inexperienced user think there is something wrong
(I did), and he could waste time investigating the issue or manually removing
the extraneous elements (thinking they are prejudicial).  Perhaps the message
could be reworded.  Maybe

  Extraneous elements, which are ignored when exporting, in footnote
  section.

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Export dedicated target

2018-08-16 Thread Jorge
Hi.  I have an Org file with two dedicated targets.  Both dedicated
targets are at the start of a task (TODO heading).  Neither dedicated
target is exported.  I would like their text (without the angle
brackets) to be exported.  Is that possible (and easy)?  If not, should
I then just repeat the target text (without angle brackets) or is there
a better practice?

For my links, I like using dedicated targets instead of the ID property,
because dedicated targets make it clearly visible that there lies a link
target and therefore I should take care before making certain changes
such as archiving or deleting.

Regards

- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free/libre software for Android: https://f-droid.org/
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]



[O] =<<<...>>>= invalid

2012-09-15 Thread Jorge Timón
Hi, I'm working with a document to export to LaTeX and I had a crazy
problem that only reproduced with emacs23, not with the emacs-snapshot
repository for ubuntu. But it started to happen with the latest
snapshot too.
Lot's of short words (3 or less chars) appeared as links and when I
exported the document to LaTeX they all appeared with
\hyperref{sec-1}.
Finally I identified the part that was messing with the export and it
was ~<<<...>>>~ or =<<<...>>>=.
It seems that two << are treated speacially, I don't know.
I'll fix that later but I don't really know how. =aaa= was supposed to
be \{verbatim}. <<<...>>> is a sintaxis to call CUDA kernels, the
place to put the parameters and I want to mention it in the text. I'll
use =< < <...> > >= for now and the dammed symbols still couple.

The "little words as links" is a strange thing. I thought it was for
being on windows at first, but it was about the version: I had ubuntu
with emacs24 at home and winXP with emacs23 at work. I can't rememeber
if it happened with other documents but in any case doesn't looks
good. Has anyone had a similar problem with another "forbidden
string"?
How can I put that string verbatim in my text?
Do I have to go back to "pure LaTeX" for that paragraph?

Thank you in advance.

If the error doesn't reproduce just like that, please tell me and I'll
do more tests in a separate document or link you to a copy. Well, I'll
just do it now:
http://preann.svn.sourceforge.net/viewvc/preann/preann/doc/preann-doc.org

Note: I've using emacs only for five months and I don't think I can
change to another editor if it has not org-mode, congratulations to
the developers. I still feel that something bigger is going to come
out of this.
Still using Eclipse for coding, but that has to change.

-- 
Jorge Timón



Re: [O] =<<<...>>>= invalid

2012-09-17 Thread Jorge Timón
I've been testing a little more. I anyone wants to reproduce the error.

Here's a simpler example, just create a file with this:

#+AUTHOR: test

* 123 1 2 3 4
aaa =<<<...>>>= aa a a

And export it with C-c C-e L.

The output buffer will look like this:

% Created 2012-09-17 Mon 21:09
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{soul}
\usepackage{hyperref}


\title{test}
\author{test}
\date{17 September 2012}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

\section{[[sec-1]\$\^{}{123}\$] \hyperref[sec-1]{1 2} \hyperref[sec-1]{3 4}}

[[sec-1][aaa]] \texttt{<<<...>>>} aa \hyperref[sec-1]{a a}

\end{document}

It doesn't reproduce with =<<...>>= nor =<<...>>>= nor =<<<>>>=. But
interestingly, by changing the number of dots inside the inequality
signs, the places where the hyperrefs appear change too. The number of
dots seems to determine the number of chars that each of these false
links will have. They can include spaces.

I have no idea about what is happening, though.
Any help is welcomed.

On 9/15/12, Jorge Timón  wrote:
> Hi, I'm working with a document to export to LaTeX and I had a crazy
> problem that only reproduced with emacs23, not with the emacs-snapshot
> repository for ubuntu. But it started to happen with the latest
> snapshot too.
> Lot's of short words (3 or less chars) appeared as links and when I
> exported the document to LaTeX they all appeared with
> \hyperref{sec-1}.
> Finally I identified the part that was messing with the export and it
> was ~<<<...>>>~ or =<<<...>>>=.
> It seems that two << are treated speacially, I don't know.
> I'll fix that later but I don't really know how. =aaa= was supposed to
> be \{verbatim}. <<<...>>> is a sintaxis to call CUDA kernels, the
> place to put the parameters and I want to mention it in the text. I'll
> use =< < <...> > >= for now and the dammed symbols still couple.
>
> The "little words as links" is a strange thing. I thought it was for
> being on windows at first, but it was about the version: I had ubuntu
> with emacs24 at home and winXP with emacs23 at work. I can't rememeber
> if it happened with other documents but in any case doesn't looks
> good. Has anyone had a similar problem with another "forbidden
> string"?
> How can I put that string verbatim in my text?
> Do I have to go back to "pure LaTeX" for that paragraph?
>
> Thank you in advance.
>
> If the error doesn't reproduce just like that, please tell me and I'll
> do more tests in a separate document or link you to a copy. Well, I'll
> just do it now:
> http://preann.svn.sourceforge.net/viewvc/preann/preann/doc/preann-doc.org
>
> Note: I've using emacs only for five months and I don't think I can
> change to another editor if it has not org-mode, congratulations to
> the developers. I still feel that something bigger is going to come
> out of this.
> Still using Eclipse for coding, but that has to change.
>
> --
> Jorge Timón
>


-- 
Jorge Timón



Re: [O] =<<<...>>>= invalid

2012-09-17 Thread Jorge Timón
Thank you very much, now all makes sense. And I hopefully find some
use for radio targets.

The only way I know to do what I want is \verb=<<<=...\verb=>>>=, in
case someone has a similar problem.

On 9/17/12, Achim Gratz  wrote:
>
> Search the manual for "radio targets".
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> Factory and User Sound Singles for Waldorf rackAttack:
> http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
>
>
>


-- 
Jorge Timón



Re: [O] =<<<...>>>= invalid

2012-09-17 Thread Jorge Timón
I wouldn't care about the spaces and I would prefer not to use latex.
The problem is that that produces:

\texttt{<<<} \ldots{} \texttt{>>>}

and then latex joins the first << and the first >> together, which is
really ugly.

My document is already LaTeX specific, but if I'm able replace more
latex with org mode, I should consider a later edition of the tex
produced to keep it backend-independent. Not critical for this
document, but it is always cool to be able to export to different
formats.

Thank you for the suggestion, anyway.

On 9/17/12, Nick Dokos  wrote:
>   Jorge Timón  wrote:
>
>> The only way I know to do what I want is \verb=<<<=...\verb=>>>=, in
>> case someone has a similar problem.
>>
>
> If you don't mind the extra space around the dots, you can say
>
>aaa ~<<<~ ... ~>>>~ aa a a
>
> the advantage being that it is backend-independent, so it will export
> correctly to HTML and presumably all the other backends --- at least
> with the new exporter: I didn't try the old one.
>
> There are ways to deal with the spaces as well (the one before the dots
> is no problem: it's the one after that causes a problem in this case),
> but imo they are not worth the bother unless you really, really need that
> exact behavior. I'd rather live with the spaces (or edit the resulting
> latex
> file, but that has disadvantages of its own).
>
> Nick
>
>
>
>


-- 
Jorge Timón



Re: [O] =<<<...>>>= invalid

2012-09-18 Thread Jorge Timón
I still get \texttt{<<<} \ldots{} \texttt{>>>}

I have Org-mode version 6.33x at work. I'll check later at home, where
I have both emacs23 and emacs24 (snapshot).

On 9/17/12, Nick Dokos  wrote:
>   Jorge Timón  wrote:
>
>> I wouldn't care about the spaces and I would prefer not to use latex.
>> The problem is that that produces:
>>
>> \texttt{<<<} \ldots{} \texttt{>>>}
>>
>
> Did you try it with the tildes instead of the equal signs?
> Here, both old and new exporters produce
>
> aaa \verb~<<<~ \ldots{} \verb~>>>~ aa a a
>
> at least with the version I'm running (Org-mode version 7.9.1
> (release_7.9.1-214-gf025d1))
>
> Nick
>
>> and then latex joins the first << and the first >> together, which is
>> really ugly.
>>
>> My document is already LaTeX specific, but if I'm able replace more
>> latex with org mode, I should consider a later edition of the tex
>> produced to keep it backend-independent. Not critical for this
>> document, but it is always cool to be able to export to different
>> formats.
>>
>> Thank you for the suggestion, anyway.
>>
>> On 9/17/12, Nick Dokos  wrote:
>> >Jorge Timón  wrote:
>> >
>> >> The only way I know to do what I want is \verb=<<<=...\verb=>>>=, in
>> >> case someone has a similar problem.
>> >>
>> >
>> > If you don't mind the extra space around the dots, you can say
>> >
>> >aaa ~<<<~ ... ~>>>~ aa a a
>> >
>> > the advantage being that it is backend-independent, so it will export
>> > correctly to HTML and presumably all the other backends --- at least
>> > with the new exporter: I didn't try the old one.
>> >
>> > There are ways to deal with the spaces as well (the one before the dots
>> > is no problem: it's the one after that causes a problem in this case),
>> > but imo they are not worth the bother unless you really, really need
>> > that
>> > exact behavior. I'd rather live with the spaces (or edit the resulting
>> > latex
>> > file, but that has disadvantages of its own).
>> >
>> > Nick
>> >
>> >
>> >
>> >
>>
>>
>> --
>> Jorge Timón
>>
>


-- 
Jorge Timón



Re: [O] =<<<...>>>= invalid

2012-09-18 Thread Jorge Timón
Org-mode version 6.30c at home, even with the snapshot. I'll probably
update and follow your advice, thank you.

On 9/18/12, Jorge Timón  wrote:
> I still get \texttt{<<<} \ldots{} \texttt{>>>}
>
> I have Org-mode version 6.33x at work. I'll check later at home, where
> I have both emacs23 and emacs24 (snapshot).
>
> On 9/17/12, Nick Dokos  wrote:
>>  Jorge Timón  wrote:
>>
>>> I wouldn't care about the spaces and I would prefer not to use latex.
>>> The problem is that that produces:
>>>
>>> \texttt{<<<} \ldots{} \texttt{>>>}
>>>
>>
>> Did you try it with the tildes instead of the equal signs?
>> Here, both old and new exporters produce
>>
>> aaa \verb~<<<~ \ldots{} \verb~>>>~ aa a a
>>
>> at least with the version I'm running (Org-mode version 7.9.1
>> (release_7.9.1-214-gf025d1))
>>
>> Nick
>>
>>> and then latex joins the first << and the first >> together, which is
>>> really ugly.
>>>
>>> My document is already LaTeX specific, but if I'm able replace more
>>> latex with org mode, I should consider a later edition of the tex
>>> produced to keep it backend-independent. Not critical for this
>>> document, but it is always cool to be able to export to different
>>> formats.
>>>
>>> Thank you for the suggestion, anyway.
>>>
>>> On 9/17/12, Nick Dokos  wrote:
>>> >   Jorge Timón  wrote:
>>> >
>>> >> The only way I know to do what I want is \verb=<<<=...\verb=>>>=, in
>>> >> case someone has a similar problem.
>>> >>
>>> >
>>> > If you don't mind the extra space around the dots, you can say
>>> >
>>> >aaa ~<<<~ ... ~>>>~ aa a a
>>> >
>>> > the advantage being that it is backend-independent, so it will export
>>> > correctly to HTML and presumably all the other backends --- at least
>>> > with the new exporter: I didn't try the old one.
>>> >
>>> > There are ways to deal with the spaces as well (the one before the
>>> > dots
>>> > is no problem: it's the one after that causes a problem in this case),
>>> > but imo they are not worth the bother unless you really, really need
>>> > that
>>> > exact behavior. I'd rather live with the spaces (or edit the resulting
>>> > latex
>>> > file, but that has disadvantages of its own).
>>> >
>>> > Nick
>>> >
>>> >
>>> >
>>> >
>>>
>>>
>>> --
>>> Jorge Timón
>>>
>>
>
>
> --
> Jorge Timón
>


-- 
Jorge Timón



[O] Bug report: org-get-property-block returns nil if the entry does not start with the property drawer

2015-08-25 Thread Jorge Morais
In Org mode's info, I could not find any requirement that the property
drawer must be the first thing in the entry.  However, this is the case in
recent versions of Org.  Things work OK in the following version:
Org-mode version 8.2.10 (8.2.10-42-g2e1bc4-elpa @
/home/jorge/.emacs.d/elpa/org-20150727/)
but things fail in recent versions, particularly 2015-08-24 (which I
uninstalled because it kept pestering me about many supposed "malformed
drawer"s because of this bug).

If have created a small file that reproduces this bug, and attached it to
this email.  In this file,
with old Org and point at the beginning of the drawer,
org-get-property-block returns
(33 . 52).
New Org returns nil.

This is Emacs 24.5 compiled from sources in Ubuntu 15.04.


drawer-bug.org
Description: Binary data


"Tab width in Org files must be 8, not 2. Please adjust your ‘tab-width’ settings for Org mode"

2025-04-07 Thread Jorge Cuellar
I have updated emacs to the latest version:
GNU Emacs 30.1 (build 2, x86_64-w64-mingw32) of 2025-02-23
and org too:
Org mode version 9.7.27

Customization says:
Operate on all settings in this buffer:
Hide Tab Width: Integer: 8
State : SAVED and set.

I have tried many things,
But I still get the error: Tab width in Org files must be 8, not 2... 
 Please report this to Org mode mailing list"

Details:

Org parser error in aaa-current.org::534. Resetting.
 The error was: (error "Tab width in Org files must be 8, not 2.  Please adjust 
your ‘tab-width’ settings for Org mode")
 Backtrace:
"  backtrace-to-string(nil)
  org-element-at-point()
  org-at-item-p()
  org-cycle-item-indentation()
  org-cycle(nil)
  funcall-interactively(org-cycle nil)
  command-execute(org-cycle)
  recursive-edit()
  debug(error (error \"Tab width in Org files must be 8, not 2.  Please adjust 
your ‘tab-width’ settings for Org mode\"))
  error(\"Tab width in Org files must be 8, not %d.  Please adjust your 
`tab-width' settings for Org mode\" 2)
  org-element--list-struct(210)
  #f(compiled-function (limit &optional granularity mode structure) \"Parse the 
element starting at point.\\n\\nReturn value is a list like (TYPE PROPS) where 
TYPE is the type\\nof the element and PROPS a plist of properties associated to 
the\\nelement.\\n\\nPossible types are defined in 
`org-element-all-elements'.\\n\\nLIMIT bounds the search.\\n\\nOptional 
argument GRANULARITY determines the depth of the\\nrecursion.  Allowed values 
are `headline', `greater-element',\\n`element', `object' or nil.  When it is 
broader than `object' (or\\nnil), secondary values will not be parsed, since 
they only\\ncontain objects.\\n\\nOptional argument MODE, when non-nil, can be 
either\\n`first-section', `item', `node-property', 
`planning',\\n`property-drawer', `section', `table-row', or 
`top-comment'.\\n\\n\\nIf STRUCTURE isn't provided but MODE is set to `item', 
it will be\\ncomputed.\\n\\nThis function assumes point is always at the 
beginning of the\\nelement it has to parse.\" #)(210 element planning nil)
  org-element--parse-to(209)
  org-element-at-point()
  org-at-item-p()
  org-cycle-item-indentation()
  org-cycle(nil)
  funcall-interactively(org-cycle nil)
  command-execute(org-cycle)
"
 Please report this to Org mode mailing list (M-x org-submit-bug-report).

Best,
Jorge Cuellar




Re: [O] using org-refile to sort research notes?

2014-05-07 Thread Alfaro-Murillo, Jorge
Hi Jay,

I keep all my notes out of the agenda, because it slows down building the 
agenda (at least with previous versions of org, it might have improved 
recently), which I do quite often.

Instead I keep all those notes files in the variable 
org-agenda-text-search-extra-files, so that I am able to search on them and add 
them as well to the org-refile-targets. If you keep all your notes in the 
directory ~/org/notes, then set:

 #+BEGIN_SRC emacs-lisp
   (setq org-agenda-text-search-extra-files (cddr
 (directory-files
  "~/org/notes"
  t
  nil)))
   (setq org-refile-targets (list '(org-agenda-files
. (:maxlevel . 1))
  '(org-agenda-text-search-extra-files
. (:maxlevel . 1))
  '(nil
. (:maxlevel . 5))))
     #+END_SRC

Best,

Jorge.



[O] Is it generally better practice to specify local variables at the first line for Org files?

2016-10-04 Thread Jorge Morais Neto
Hi.  In most of my Emacs files, I set any file local variables using a local
variables list near the end of the file.  However I just realized a pitfall.
Emacs, according to its manual, only recognizes this local variables list if
its location fulfills two criteria:
1. It starts no more than 3000 characters from the end of the file.
2. It is on the last page if the file is divided into pages.

This means that if I refile some Org subtree to another Org file, and the
refile target is below the local variables list (e. g. if I refile to the top
level, so that Org chooses the end of the file) then the local variables list
may start failing one of the criteria and thus silently stop working.  There
may be other problematic scenarios.

Therefore it seems that, for Org files, it is good practice to avoid this
pitfall by specifying any file local variables via the other method, i.e. on
the first line.  I ask for confirmation that this is a general Org Mode good
practice before I adopt it for all my existing Org files and any future ones.

And if this is in fact a general Org Mode good practice, I propose documenting
it in both manuals: the Emacs manual at [[info:emacs#Specifying File Variables]]
and the Org manual somewhere.

Regards

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Bug: org-refile, org-archive-subtree and footnotes [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-10-05 Thread Jorge Morais Neto
On 5 October 2016 at 06:44, Nicolas Goaziou  wrote:
>
> OOC, could you show the footnote section triggering this warning? Org
> Lint ignores property drawers there (i.e., it shouldn't raise an error),
> so I'm wondering how is inserted this timestamp.

I don't understand.  Have I not already given an example in the original email?

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Bug: org-refile, org-archive-subtree and footnotes [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)]

2016-10-05 Thread Jorge Morais Neto
On 5 October 2016 at 19:24, Nicolas Goaziou  wrote:
> You gave a recipe to reproduce the example. I was being lazy and
> expected the complete (final) example. Anyway, I did my homework.
>
> This should be fixed: the message is slightly less frightening now.
>
> Regards,

Thank you!  Regards

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: second batch of small documentation problems [9.0 (9.0-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20161102/)]

2016-11-06 Thread Jorge Morais Neto
Finally the second batch I promised.  Sorry for having taken this long.


- org-table-convert-region docstring is less complete than the manual\\
  The docstring contains the line:
  #+BEGIN_QUOTE
  integer  When a number, use that many spaces as field separator
  #+END_QUOTE

  [[info:org#Built-in table editor]] says:
  #+BEGIN_QUOTE
  a numeric argument N indicates that at least N consecutive spaces, or
  alternatively a TAB will be the separator.
  #+END_QUOTE
  In the latter, notice the "or alternatively a TAB".  I believe the docstring
  should be complete, so please add this information.
- org-archive-to-archive-sibling ARCHIVE_TIME property\\
  org-archive-to-archive-sibling adds an ARCHIVE_TIME property.  This should be
  documented in the docstring and probably also in the manual.
- [[info:org#The very busy C-c C-c key]]
  #+BEGIN_QUOTE
  − If the current buffer is a capture buffer, close the note and file it.
  With a prefix argument, file it, without further interaction, to the
  default location.
  #+END_QUOTE
  Actually, according to [[info:org#Using capture]] and to my quick test,
  C-c C-c restores the original window configuration, /and the effect of C-u is
  to make it also jump to the captured item/.
- org-match-sparse-tree’s docstring omits it can also match properties.
- [[info:org#Setting tags]] should inform that tag letters for the single-key
  interface are case-sensitive.  In "For this to work well you should assign
  unique letters to most of your commonly used tags.", replace "assign unique
  letters" → "assign unique letters (case-sensitive)".  After "In this
  interface, you can use the following keys:", please write "a-zA-Z" instead of
  "a-z".  Finally, in the docstring of org-tag-alist, please replace "SELECT is
  a character" → "SELECT is a case-sensitive letter".
- org-capture’s docstring could mention ID creation\\
  org-capture creates an ID property if org-id-link-to-org-use-id is set to t.
  This is already documented in that option’s docstring, but perhaps it should
  also be documented in org-capture’s docstring and [[info:org#Using capture]].
  The reason is that if a user is surprised that org-capture created an ID
  property, he will look in org-capture’s docstring or perhaps in the manual
  section.  He may not remember to check org-id-link-to-org-use-id’s docstring.
- org-startup-folded’s docstring misreports the default value of
  org-agenda-inhibit-startup.  The docstring’s last paragraph need changing.
- org-agenda-todo-ignore-deadlines’ docstring about ’far
  The documentation of 'far says:
  #+BEGIN_QUOTE
  Don’t show TODO entries where a deadline has been defined, but the deadline
  is not near.  This is useful if you don’t want to use the todo list to figure
  out what to do now.
  #+END_QUOTE
  I do not understand this reasoning.
- I believe that many people use .emacs.d/init.el instead of .emacs.  To better
  reflect this reality, should not Org’s manual use the expression "Emacs init
  file" instead of ".emacs"?
- Typos and small corrections:
  - Docstring of org-agenda-show-inherited-tags
#+BEGIN_QUOTE
when the value of ‘org-agenda-use-tag-inheritance’ has been taken into
account.
#+END_QUOTE
"has been taken into account." → "enables tag inheritance for the given
agenda type."
  - Docstring of org-agenda-week-view\\
In "Switch to daily view for agenda", "daily" → "weekly".


Emacs  : GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-09-18
Package: Org mode version 9.0 (9.0-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20161102/)

current state:
==
(setq
 org-capture-prepare-finalize-hook '(J-insert-created-and-id-all)
 org-clocktable-defaults '(:maxlevel 2 :lang "en" :scope file :block nil
  :wstart 1
  :mstart 1 :tstart nil :tend nil :step nil :stepskip0
  nil
  :fileskip0 nil :tags nil :emphasize nil :link nil
  :narrow 40!
  :indent t :formula nil :timestamp nil :level nil
  :tcolumns nil
  :formatter nil)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-footnote-section "Notas de rodapé"
 org-icalendar-combined-agenda-file "~/org/org.ics"
 org-insert-heading-hook '(org-id-get-create t)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-special-ctrl-k t
 org-agenda-entry-text-maxlines 3
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-priority-faces '((65 :slant italic :weight bold :foreground "red"
  :background
  "black")
 (66 :slant italic :weight bold :foreground "red&qu

Re: [O] Bug: second batch of small documentation problems [9.0 (9.0-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20161102/)]

2016-11-07 Thread Jorge Morais Neto
I have some observations about your fixes:

1. Tag keys (for fast selection)
   1) When clarifying that tag keys are case-sensitive letters, we
forgot to adjust
  org-tag-persistent-alist’s docstring.  Please adjust it.
   2) And now that I think of it, is it appropriate to write "a-zA-Z" in
  [[info:org#Setting tags]]?  Are only these characters allowed
and no others?

2. Your changes to [[info:org#The very busy C-c C-c key]]:
   #+BEGIN_QUOTE
   -If the current buffer is a capture buffer, close the note and file it.
   -With a prefix argument, file it, without further interaction, to the
   -default location.
   +If the current buffer is a capture buffer, close the note and file it.  With
   +a prefix argument, jump to the target location, without capturing anything.
   #+END_QUOTE
   The last added sentence seems to actually describe "C-u C-c c" instead of
   "C-u C-c C-c".
3. The new docstring of org-startup-folded
   #+BEGIN_QUOTE
   Set `org-agenda-inhibit-startup' to a non-nil value so as to ignore this
   option when Org opens agenda files for the first time.
   #+END_QUOTE
   The way that excerpt is written, it seems to me that it actively recommends
   setting org-agenda-inhibit-startup to a non-nil value.  We could replace "so
   as to" → "if you want to".  But maybe this is me misunderstanding English –
   my second language – or just being pedantic, I don’t know.

And thank you very much for helping Org!  When the Brazilian real gains a little
more value, I intend to make a donation.  And when I become less overloaded, I
intend to study Emacs Lisp and start writing some patches.

Regards.

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Bug: second batch of small documentation problems [9.0 (9.0-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20161102/)]

2016-11-12 Thread Jorge Morais Neto
On 11 November 2016 at 22:47, Nicolas Goaziou  wrote:
> `org-tag-persistent-alist' is about "characters". I think it is clear
> that characters are case-sensitive already.
Currently, the docstring of org-tag-alist says "SELECT is a case-sensitive
letter" and the docstring of org-tag-persistent-alist says "SELECT is a
character".  I thought I should point this out, but it is your call whether this
inconsistency needs to be fixed.

> AFAICT any character is allow, but how could we formulate this?.
Any Emacs character is allowed?  If so, perhaps we could just say "SELECT is an
Emacs character (this includes all Unicode characters)".  But beware that I
know little Org and very little Elisp, so please take my suggestion with a
grain of salt.

Regards

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] org-depend: dependencies between TODO entries in different files

2016-12-08 Thread Jorge Morais Neto
On 8 December 2016 at 04:44, Carsten Dominik  wrote:
> One additional point is, of course, that org-depend is not part of the core,
> but was written as a proof of concept.  Is anyone besides Karl using it
> regularly?  I don't want to break anything by changing it.
I use it (in a very small number of entries).

Regards
-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] org-depend: dependencies between TODO entries in different files

2016-12-12 Thread Jorge Morais Neto
On 8 December 2016 at 08:16, Jorge Morais Neto  wrote:
> On 8 December 2016 at 04:44, Carsten Dominik  wrote:
>> One additional point is, of course, that org-depend is not part of the core,
>> but was written as a proof of concept.  Is anyone besides Karl using it
>> regularly?  I don't want to break anything by changing it.
> I use it (in a very small number of entries).
I would like to add that, AFAIK, currently I only use org-depend to depend on
entries in the same Org document.  But someday I will probably want to depend
on entries in a different document.

Regards
-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Disable consistency graphs for some habits

2016-12-12 Thread Jorge Morais Neto
On 9 December 2016 at 21:31, Nicolas Goaziou  wrote:
>> I set them up as org-habit habits for the following desirable features:
>> - Only show on the agenda for today, not for other days.
>> - Appear at the end of the agenda for today.
>> - Hide when I type K.
>
> What about using a regular repeater for that instead of an habit? For
> example, first point is solved using
> `org-agenda-repeating-timestamp-show-all' (or
> `org-agenda-show-future-repeats' in master).

But org-agenda-show-future-repeats affects /all/ repeaters.  I want some
important repeaters (such as regular meetings) to appear on every matching date
as normal.

> You may simply use another agenda view to remove them (last point).
But toggling with K is more practical because it preserves current filters.

Regards

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] org-agenda-filter-effort and "invalid face reference"

2017-01-03 Thread Jorge Morais Neto
On 3 January 2017 at 14:16, Nicolas Goaziou  wrote:
> I cannot reproduce it with, e.g.
>
>   * TODO test
>   :PROPERTIES:
>   :Effort:   2:00
>   :END:
>
> and a bare configuration. Could you double-check you're really using Org
> 9.0.3?
I reproduce it (the behavior and the message in *Messages*) with my own
files and configuration.  I have not tested with a bare configuration.  I have
tested org-agenda-filter-by-effort with both operator = and operator <.

org-version reports
  Org mode version 9.0.3 (9.0.3-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20161224/)

emacs-version reports
  GNU Emacs 25.1.91.1 (x86_64-unknown-linux-gnu, GTK+ Version
3.18.9) of 2016-12-31

Regards
-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] How to specify APPT_WARNTIME for entire files?

2017-01-18 Thread Jorge Morais Neto
Hi.  I have set appt-message-warning-time to 10.  However, there are two
files where I would like the warning time to be 0.  Is there a quick way to
do it?  Which?  I do not want to add APPT_WARNTIME properties to each entry
because, if I did that, then:
1. Every time I added a new entry to one of the affected files, I would need
   to remember setting APPT_WARNTIME to the correct value.
2. To later change the warning time for the affected files, I would need to
   change APPT_WARNTIME in each of their entries.
3. There are many such entries, so it would be space-inefficient to have
   APPT_WARNTIME in each.

I have tried to specify "#+PROPERTY: APPT_WARNTIME 5" and enable inheritance
of it through org-use-property-inheritance, but it did not work.  I have
also searched the web and the Org mailing list archives.

I am using Org mode version
9.0.3 (9.0.3-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20161224/)
on GNU Emacs
25.1.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9) of 2016-12-31

Regards
-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: Org separates clock out note from the clock line [9.0.4 (9.0.4-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)]

2017-01-31 Thread Jorge Morais Neto
Hi.  I have started this instance of GNU Emacs 25.1.91.1 with an empty init
file and then I customized org-log-note-clock-out to t.  Then I created a
new Org buffer with a single level 1 headline, and set property
CLOCK_INTO_DRAWER to nil.  I then clocked in and then out, adding a note.
The note was stored outside any drawer (as requested) and above the clock
line.  Then I clocked in and out again, adding a second note.  The result
was:

  * Teste
:PROPERTIES:
:CLOCK_INTO_DRAWER: nil
:END:
- Teste 2.
- Teste 1.
CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:13] =>  0:01
CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:12] =>  0:00

"teste" is Portuguese for "test".

I expected the "Teste 1" line to stay in its place above the corresponding
clock line, like this:

  * Teste
:PROPERTIES:
:CLOCK_INTO_DRAWER: nil
:END:
- Teste 2.
CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:13] =>  0:01
- Teste 1.
CLOCK: [2017-01-31 Tue 14:12]--[2017-01-31 Tue 14:12] =>  0:00


This bug occurred in my config.  My workaround was to configure Org to add
logs and clock lines into the LOGBOOK drawer.  Then the bug does not
materialize and I get correct result (except that I cannot configure Org the
way I want).

Regards

Emacs  : GNU Emacs 25.1.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-12-31
Package: Org mode version 9.0.4 (9.0.4-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: Log mode shows the wrong clock note [9.0.4 (9.0.4-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)]

2017-02-03 Thread Jorge Morais Neto
Hi.

In log mode, after each clock line the agenda should show the corresponding
clock note.  Instead, it shows the clock note for the previous clock line.
For example, with the entry

  *** Espe2016 exp
  :PROPERTIES:
  :CREATED:  [2017-01-27 Sex 16:50]
  :CATEGORY: ponto exp
  :END:
  :LOGBOOK:
  CLOCK: [2017-02-03 Sex 08:16]--[2017-02-03 Sex 08:28] =>  0:12
  - Saindo agora para o almoço.
  CLOCK: [2017-01-27 Sex 10:28]--[2017-01-27 Sex 11:13] =>  0:45
  CLOCK: [2017-01-26 Qui 13:45]--[2017-01-26 Qui 14:44] =>  0:59
  :END:

The agenda for [2017-02-03 Sex] shows:

  ponto exp:   8:16- 8:28 Clocked:   (0:12) Espe2016 exp - Saindo
agora para o almoço.

(I trimmed some irrelevant tags)  Note that the 08:16-08:28 clock line is
followed by the note corresponding to the /previous/ clock line.

Regards

Emacs  : GNU Emacs 25.1.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2016-12-31
Package: Org mode version 9.0.4 (9.0.4-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)

current state:
==
(setq
 org-capture-prepare-finalize-hook '(J-insert-created-and-id-all)
 org-clocktable-defaults '(:maxlevel 2 :lang "en" :scope file :block nil
  :wstart 1 :mstart 1 :tstart nil :tend nil :step nil
  :stepskip0 nil :fileskip0 nil :tags nil :emphasize
  nil :link nil :narrow 40! :indent t :formula nil
  :timestamp nil :level nil :tcolumns nil :formatter nil)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-log-note-clock-out t
 org-footnote-section "Notas de rodapé"
 org-icalendar-combined-agenda-file "~/org/org.ics"
 org-insert-heading-hook '(org-expiry-insert-created)
 org-habit-preceding-days 0
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-special-ctrl-k t
 org-agenda-entry-text-maxlines 3
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-priority-faces '((65 :slant italic :weight bold :foreground "red"
  :background "black")
 (66 :slant italic :weight bold :foreground "red"
  :background "cyan")
 (67 :slant italic :weight bold :foreground "red") (68
:slant italic :weight bold) (69 . italic)
 (70 . default) (71 :foreground "gold") (72 :foreground "yellow"))
 org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
 org-clock-mode-line-total 'current
 org-confirm-shell-link-function 'yes-or-no-p
 org-id-link-to-org-use-id 'create-if-interactive
 org-finalize-agenda-hook '(J-org-agenda-to-appt-refresh)
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-icalendar-use-deadline '(event-if-not-todo event-if-todo todo-due)
 org-export-default-language "pt_BR"
 org-agenda-sticky t
 org-list-allow-alphabetical t
 org-email-link-description-format "Email %c: %s"
 org-special-ctrl-a/e t
 org-ascii-text-width 77
 org-agenda-custom-commands '(("J" "Now, agenda and TODOs (week)"
  ((tags "now" nil)
(agenda "" ((org-agenda-span (quote week))
   (org-agenda-time-grid (quote (nil nil nil)
(tags-todo "-@GYNO"
((org-agenda-todo-ignore-deadlines (quote
all)) (org-agenda-todo-ignore-scheduled (quote all))
 (org-agenda-todo-ignore-timestamp
  org-deadline-warning-days))
)
)
  ((org-agenda-compact-blocks t)
(org-agenda-tags-todo-honor-ignore-options t)
(org-agenda-tag-filter-preset (quote
  ("-hide"
  )
 ("j" "Now, agenda and TODOs (two days)"
  ((tags "now" nil) (agenda "" ((org-agenda-span
 2) (org-agenda-time-grid (quote (nil nil nil)
(tags-todo "-@GYNO"
((org-agenda-todo-ignore-deadlines (quote
all)) (org-agenda-todo-ignore-scheduled (quote all))
 (org-agenda-todo-ignore-timestamp
  org-deadline-warning-days))
)
)
  ((org-agenda-compact-blocks t)
(org-agenda-tags-todo-honor-ignore-options t)
(org-agenda-tag-filter-preset (quote
  ("-hide"
  )
 ("n" "Entradas a memorizar" tags "mem-hide"
  ((org-agenda-hide-tags-regexp
"\\`\\(mem\\|not_ical\\|h\\|gagá\\)\\'")
(org-agenda-start-with-follow-mode t))
  )
 )
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-expiry-handler-function 'org-toggle-archive-tag
 org-expiry-inactive-timestamps t
 org-todo-keyword-faces '(("DGTD" . "#00FF10") ("FBCK_" . "#A0A0FF") ("FBCK"
 . "blue") ("FIX_COMM" . "#00FF10")
 ("CNTN_" . &quo

Re: [O] Bug: Log mode shows the wrong clock note [9.0.4 (9.0.4-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170124/)]

2017-02-04 Thread Jorge Morais Neto
On 3 February 2017 at 20:01, Nicolas Goaziou  wrote:
> The fix for the other issue you reported about CLOCK and notes probably
> has also fixed this one. Could you confirm it?

According to my very brief test, yes it fixed.

Thank you!

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] I have org-plus-contrib from ELPA. How do I temporarily test Org from git?

2017-02-04 Thread Jorge Morais Neto
Hi.  I wanted to temporarily run git Org so I could test a fix by Nicolas
Goaziou.  I have pulled the master branch and adapted local.mk.  In that
file, I set:
  prefix = ~/.emacs.d/locally_built_org

  # Where local lisp files go.
  # $(prefix)/emacs/site-lisp/org
  lispdir= $(prefix)/site-lisp

  # Where local data files go.
  # $(prefix)/emacs/etc/org
  datadir = $(prefix)/etc

  # Where info files go.
  # infodir = $(prefix)/info
  infodir = /usr/local/emacs/share/info

I have built and run ‘make test’ (there were two unexpected test failures, but
they regard functionality I don’t use).  In init.el I added
  (add-to-list 'load-path
   (concat user-emacs-directory
   "locally_built_org/site-lisp"))

At that point (just before ‘sudo make install’), [1] scared me with the
warning "We strongly recommend to stick to a single installation method".
Does that mean I cannot install Org from git if I already have it from ELPA?
I wanted Org from git to just override Org from ELPA.
1: http://orgmode.org/org.html#Installation

As a precaution, I have uninstalled ELPA org-plus-contrib before
‘sudo make install’.  After testing, I installed ELPA org-plus-contrib
again.  Was that really necessary?

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Release 9.0.5

2017-02-10 Thread Jorge Morais Neto
On 10 February 2017 at 11:53, Bastien  wrote:
> Org 9.0.5, a minor bugfix release, is out.
In Org 9.0.5, clock out notes are again stored below the corresponding
clock line, restoring the behavior of an earlier release.  There were
interim releases, up to 9.0.4, that stored the clock out notes /above/
the clock line. Users should be warned to fix clock out notes taken by
affected Org releases.  Existing important data following the interim
convention need to be fixed, transposing each affected clock out note
with the clock line.  If both conventions are mixed, then, to identify
which clock line corresponds to each clock out note, either the user
will need to remember the time period when they used an affected
release, or remember directly which clock out line corresponds to each
ambiguous note, or analise the version history of their Org files.  So
the longer the user takes to address the problem, the greater the
chance of data loss.  I think this issue is important.

Could we provide an Elisp function to fix this semi-automatically?

Regards
-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: org-agenda-skip-deadline-prewarning-if-scheduled as pre-scheduled has no effect [9.0.5 (9.0.5-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-03-02 Thread Jorge Morais Neto
1. Write a file named agenda_bug.org with the following content
(remove indentation):
  *** TODO Dummy
  SCHEDULED: <2017-03-06 Seg> DEADLINE: <2017-03-07 Ter ++1m -6d>

2. Start GNU Emacs 25.2.1 (25.2-rc2) with an empty init.el.
3. (require 'org-agenda)
4. Customize org-agenda-skip-deadline-prewarning-if-scheduled to
   'pre-scheduled
5. Visit agenda_bug.org and type C-c [
6. M-x org-agenda a 
7. The warning of deadline "Dummy" appears under today.  According to the
   docstring of org-agenda-skip-deadline-prewarning-if-scheduled, it should
   not appear before the scheduled date.

Regards

Emacs  : GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2017-02-22
Package: Org mode version 9.0.5 (9.0.5-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20170210/)

current state:
==
(setq
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-agenda-skip-deadline-prewarning-if-scheduled 'pre-scheduled
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[0 "\300\301\302\303\304$\207"
  [add-hook change-major-mode-hook org-show-block-all append local] 5]
#[0 "\300\301\302\303\304$\207"
  [add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
 org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-link-parameters '(("id" :follow org-id-open)
  ("rmail" :follow org-rmail-open :store org-rmail-store-link)
  ("mhe" :follow org-mhe-open :store org-mhe-store-link)
  ("irc" :follow org-irc-visit :store org-irc-store-link)
  ("info" :follow org-info-open :export org-info-export :store
org-info-store-link)
  ("gnus" :follow org-gnus-open :store org-gnus-store-link)
  ("docview" :follow org-docview-open :export org-docview-export :store
org-docview-store-link)
  ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
  ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete
org-bbdb-complete-link :store org-bbdb-store-link)
  ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs")
  ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link)
  ("file" :complete org-file-complete-link)
  ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path
  ("help" :follow org--open-help-link)
  ("http" :follow (lambda (path) (browse-url (concat "http:" path
  ("https" :follow (lambda (path) (browse-url (concat "https:" path
  ("mailto" :follow (lambda (path) (browse-url (concat "mailto:"; path
  ("message" :follow (lambda (path) (browse-url (concat "message:" path
  ("news" :follow (lambda (path) (browse-url (concat "news:"; path
  ("shell" :follow org--open-shell-link))
 org-agenda-files '("/tmp/agenda_bug.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Bug: org-agenda-skip-deadline-prewarning-if-scheduled as pre-scheduled has no effect [9.0.5 (9.0.5-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-03-05 Thread Jorge Morais Neto
On 5 March 2017 at 15:03, Nicolas Goaziou  wrote:
> It has an effect, but you are enforcing a pre-warning delay of 6 days.
> in the time stamp above.
>
> I think local syntax overrides global settings. IOW, I don't think this
> qualifies as a bug.

It would have been useful for me if 'pre-scheduled would override the
timestamp-specific lead time.  I don't know if this would be useful
widely enough (I myself don't remember having wished it in other
occasions) to justify changing the behavior of 'pre-scheduled or
adding another value (like 'pre-scheduled-override-local) that does
override.

Perhaps we should at least explicitly document the current situation
in the docstring?  Just add an observation at the end:
Note that an eventual explicit lead time in the timestamp
overrides the effect of setting this option to 'pre-scheduled or a
number.

"eventual" above means "if it exists"; "eventual" has this meaning
(among others) in Portuguese; I am not sure if it also does in
English.

Regards
-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] adjustment of schedules in org

2017-03-10 Thread Jorge Morais Neto
On 9 March 2017 at 14:17, Eric Abrahamsen  wrote:
> You're probably looking for the `org-log-reschedule' option: that will
> let you leave a stamp or take a note if you change the scheduled date of
> an option.
>
> I know that would end up doubling the size of my org files. :)

Also org-log-redeadline, of course.

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: Org loses data if the user types C-u C-c C-c while composing a state change note [9.0.9 (9.0.9-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170622/)]

2017-06-26 Thread Jorge Morais Neto
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.


1. emacs -q
2. M-x package-initialize
3. M-x org-version
   - Just to confirm we are running Org 9.0.9.
4. M-x customize-option RET org-todo-keywords RET
5. Add "(@)" to DONE and set it for current session (C-c C-c)
6. C-x C-f /tmp/bug.org
7. C-S-RET
8. C-c C-t
   - This should change to DONE and prompt for a note.
9. In the note, type "- " to start a plain list
10. Hit C-u C-c C-c to add an empty checkbox

In step 10, the user made a mistake; he wanted to add a checkbox and,
from muscle memory, typed C-u C-c C-c.  However, he was composing a
note, so C-c C-c has different behavior.  The problem is that in this
situation Org discards the note.  When this happened to me, I had spent
at least 15 minutes gathering data and writing it in the note buffer.
This data was lost.  Luckily I can gather the same data a second time,
so I just lost some 15 minutes of my time (plus more than an hour to
report this bug), but it could have been worse.

I am not good at usability design and I do not know precisely how Org
should respond to C-u C-c C-c in this situation, but clearly there are
better options than losing data.  A very simple alternative would be to,
when C-c C-c is given any prefix argument, do nothing except warn that
C-c C-c in that situation closes the note and does not accept a prefix
argument.  Probably this measure also applies to analogous situations in
which valuable data could be lost.

While we are at it, there may be other situations in which the user
might discard a note by accident.  Perhaps Org should prompt before
discarding, or make it reversible.

Regards

Emacs  : GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2017-06-07
Package: Org mode version 9.0.9 (9.0.9-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20170622/)

-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM, 7z.
- Free (as in free speech) software for Android: https://f-droid.org/.



[O] Org mode version 9.0.9 (9.0.9-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170622/); Org lost my state change note during idle clock resolution

2017-06-29 Thread Jorge Morais Neto
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.


I changed the TODO state and started composing a state change note.
Later I clocked in a certain task (automatically clocking out of the
previous) and left the computer.  When I returned, some 32 min later,
Org was showing clock idle time resolution.  I typed "i" to consider the
idle time as clock time.  The clock idle time resolution did its job,
but Org lost my note draft and the window configuration from before the
TODO state change.  winner-undo could not restore the window
configuration and AFAIK I had no way to recover the note.

In two days this is the second time Org loses a TODO state change note
draft.  I guess that, if I realize the note will take time to compose, I
am supposed to compose it in some file and, only when it is ready,
change state and yank it.

This time I do not have time to reproduce it in ~emacs -q~.  It happened
in the latest Spacemacs in holy mode.  Unfortunately
M-x org-submit-bug-report failed to collect my Org and Outline
configuration as I requested.

Regards

Emacs  : GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2017-06-07
Package: Org mode version 9.0.9 (9.0.9-elpaplus @
/home/jorge/.emacs.d/elpa/org-plus-contrib-20170622/)

current state:
==


-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Org mode version 9.0.9 (9.0.9-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170622/); Org lost my state change note during idle clock resolution

2017-06-29 Thread Jorge Morais Neto
On 29 June 2017 at 17:11, Jorge Morais Neto  wrote:
> In two days this is the second time Org loses a TODO state change note
> draft.  I guess that, if I realize the note will take time to compose, I
> am supposed to compose it in some file and, only when it is ready,
> change state and yank it.
A correction: the previous draft loss was on Monday, not yesterday.
Still, I had two draft losses in four days.

Regards
-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Org mode version 9.0.9 (9.0.9-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170622/); Org lost my state change note during idle clock resolution

2017-07-02 Thread Jorge Morais Neto
On 1 July 2017 at 13:58, Nicolas Goaziou  wrote:
> Even if the window configuration is lost, I cannot see how the "*Org
> Note*" buffer could be closed. Are you certain it was not accessible
> anymore from the buffer list?
I do not remember and unfortunately I do not have the time to test it
this week.  I intend to test it next week.

Regards

-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Automatic mtime and ctime on all or select group of trees?

2017-09-02 Thread Jorge Morais Neto
On 31 August 2017 at 08:55, Tim Visher  wrote:
> I would like to track the time I created a tree and the last time it was
> edited, like ctime and mtime on a filesystem. Is that possible to have
> happen automatically?

To insert a creation timestamp I use org-expiry.  I have added ~(require
'org-expiry)~ to my Org Mode setup file.  I could then have enabled
automatic CREATED property insertion by adding ~(org-expiry-insinuate)~.
However, that would make Org insert CREATED not only on heading
creation, but also whenever I performed certain actions – such as
scheduling or deadlining – on headings that lacked CREATED.  I do not
want that.  I want CREATED to reflect the actual creation time.  Old
headlines (from before I enabled org-expiry) are better off without
CREATED than with an inaccurate CREATED timestamp.  Also, I want to be
able to disable on certain files the automatic CREATED insertion.  So
instead of ~(org-expiry-insinuate)~, I added this:

;; HACK?
(defcustom J-insert-created t
  "Whether to automatically add CREATED property (org-expiry) on
heading creation"
  :type 'boolean :safe #'booleanp)

(defun J-insert-created ()
  (when J-insert-created
(org-expiry-insert-created)))

(add-hook 'org-insert-heading-hook #'J-insert-created)

(add-hook 'org-capture-prepare-finalize-hook
  (lambda () (org-map-entries #'org-expiry-insert-created)))

So the CREATED timestamp is always added on capture, and also added on
headline creation except for manually typed headings and buffers where
option ~J-insert-created~ is nil.  I created that option as an option
(instead of a simple variable) so it could be file-local.  This works,
but I'm not sure it's correct and elegant.  I know little Elisp and very
little about defining Emacs options.  Suggestions welcome.  It currently
gives compile warnings, which I ignore for now:

J-org.el:18:1:Warning: defcustom for ‘J-insert-created’ fails to specify
containing group

Org-expiry can also add an EXPIRY property, so it can expire entries
after they become irrelevant with time.  And for entries without EXPIRY,
it can use a (customizable) default time span.  It is documented via
comments on ~org-expiry.el~.  That file comes with org-plus-contrib.

I also customized the following options:
- org-expiry-handler-function
- org-expiry-inactive-timestamps
- org-expiry-wait

Beware that org-expiry interacts badly with the
~org-clone-subtree-with-time-shift~ command.  It messes with org-expiry
timestamps on the clones.  For example, if the original entry is:

* Meeting
:PROPERTIES:
:CREATED:  [2017-09-02 Sáb 20:10]
:EXPIRY:   [2017-12-31]
:END:
<2017-09-04 Seg 10:00-11:00>

and one invokes ~org-clone-subtree-with-time-shift~, asking for one
clone and a ~+1w~ shift, the clone will be:

* Meeting
:PROPERTIES:
:CREATED:  [2017-09-09 Sáb 20:10]
:EXPIRY:   [2018-01-07 Dom]
:END:
<2017-09-11 Seg 10:00-11:00>

which is clearly wrong.

Regards

-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Automatic mtime and ctime on all or select group of trees?

2017-09-05 Thread Jorge Morais Neto
[unfortunately the first email went only to Adam Porter; now I address the list]
On 2 September 2017 at 22:10, Adam Porter  wrote:
> Thanks for sharing that, I didn't even remember org-expiry.  Very clever
> use of it!  You seem to know more about elisp than you give yourself
> credit for.  :)
Thank you for the encouragement!

>> Suggestions welcome.  It currently
>> gives compile warnings, which I ignore for now:
>>
>> J-org.el:18:1:Warning: defcustom for ‘J-insert-created’ fails to specify
>> containing group
>
> You can fix that by adding e.g. ":group 'org" to the defcustom.
> Normally the defcustom would pick up whatever group was last defined in
> the same file.

Thank you for the tip.  But instead of adding precisely what you
suggested, I have added “:group 'org-expiry”.  The warning is gone and
the option does show up when I invoke customize-group and type
“org-expiry”.  I have run some other minimal tests and it seems to be
working.

Regards

--
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Is it possible to repeat tasks only a certain amount of times?

2017-09-13 Thread Jorge Morais Neto
How about a diary-style sexp entry, with org-class?  That is, something
like ~<%%(org-class 2017 7 31 2018 3 23 1)>~.  That example would appear
on the agenda on every Monday between 2017-07-31 and 2018-03-23.

Regards

-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Ediff org files starts folded

2017-10-25 Thread Jorge Morais Neto
On 25 October 2017 at 12:04, Alex Branham  wrote:
> Whenever I ediff an org file, the three windows start with the content folded 
> and out of site. I have to navigate to windows A, B, and C and hit S- 
> until everything is visible. Does anyone know a way to start org mode files 
> unfolded when ediffing them?

Spacemacs automatically unfolds both buffers when ediff’ing Org Mode.  I
suppose the mechanism is the presence of ~'show-all~ in
~ediff-prepare-buffer-hook~.  The downside is that, when you finish
ediff’ing, the affected Org buffers are still completely unfolded.

If you want this behavior, perhaps you should use the new function name
– ~outline-show-all~ – instead, because ~show-all~ is an obsolete alias
since GNU Emacs 25.1.

Regards

-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] Bug? Encoding trouble in org-id-locations-load

2017-11-03 Thread Jorge Morais Neto
On 3 November 2017 at 12:11, Anders Johansson  wrote:
> I use org-id and got some surprising reports of duplicate IDs. It seems that
> the issue is that one of my files containing IDs has a filename consisting
> of some non-ascii characters (a Swedish ä).

This may be related to two problems I had with
~org-icalendar-combine-agenda-files~.  When I invoked that command,
Emacs created some duplicates of buffers for Org files with names
containing non-ASCII Latin-1 characters.  In the names of the
duplicates, each non-ASCII Latin-1 character was replaced by two octal
escape sequences (probably the character code in UTF-8).

The second problem was Emacs interrupting the export to ask me which
character encoding to use for certain "problematic characters".
Strangely, the "problematic characters" were octal escape sequences
which I verified to be correct UTF-8 codes of non-ASCII Latin-1
characters.  Emacs was apparently trying to "reencode" "text" that was
actually UTF-8 code.  Each time I invoked
~org-icalendar-combine-agenda-files~ and Emacs asked that, I chose raw
text encoding so the UTF-8 codes would be left as is.

I finally decided to investigate and traced both problems to some id
links pointing to headlines in files with names containing non-ASCII
Latin-1 characters.  I worked around by setting Org Mode not to export
those links.

Regards

-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



[O] Bug: Small error in [[info:org#The clock table]] [9.1.3 (9.1.3-10-gadfbfd-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20171127/)]

2017-11-29 Thread Jorge Morais Neto
The mentioned manual section says:
`C-c C-c  or  C-c C-x C-u (`org-dblock-update')'
 Update dynamic block at point.  The cursor needs to be in the
 `#+BEGIN' line of the dynamic block.

However, the docstring only says
User command for updating dynamic blocks.
Update the dynamic block at point.  With prefix ARG, update all dynamic
blocks in the buffer.

It does not say that the cursor must be in the #+BEGIN line.  And
according to my one quick test, it does not need to.

I verified this error also occurs in Master.

Regards

-- 
- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] org-mobile-push fails

2012-10-24 Thread Jorge A. Alfaro Murillo
This is strange, since I get the whole emacs from a repository
(http://emacs.naquadah.org/ unstable/ ). I should not have to compile
anything.

I guess there must be a bug in the package from the repository.

What do you recommend me to do? Install the org from source?

On Wed, Oct 24, 2012 at 5:35 AM, Bastien  wrote:
> Hi Jorge,
>
> "Jorge A. Alfaro Murillo"  writes:
>
>> Hi, I am having trouble with org-mobile-push, it fails and gives the
>> following error:
>> org-mobile-create-index-file: Symbol's function definition is void:
>> org-prepare-agenda-buffers
>
> The function `org-prepare-agenda-buffers' has been renamed to
> `org-agenda-prepare-buffers'.
>
>> It might be related to the fact that now when run org-version the result is:
>> Org-mode version 7.9.2 (7.9.2-GNU-Emacs-24-3 @ org-install.el can not be 
>> found!)
>
> Bingo!  It is related.  :)
>
>> My emacs version is:
>> GNU Emacs 24.2.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) of
>> 2012-10-18 on dex, modified by Debian
>>
>> I updated today and since then the issue has come up.
>
> You certainly need to run make && make install so that the correct
> functions' names are autoloaded when Emacs fires up.
>
> See http://orgmode.org/worg/dev/org-build-system.html for details.
>
>> This is also my first post to this list, which I hope to check out
>> more regularly, since lately org-mode has taken over my life. Thanks
>> for the help, best
>
> Welcome!
>
> --
>  Bastien



Re: [O] org-mobile-push fails

2012-10-25 Thread Jorge A. Alfaro Murillo
I think I figured it out. I think it was a problem of having "upgraded" org
from the package manager once, when I had another version of emacs. I
removed the package, reinstall emacs-snapshot and now it is working again.

Thanks.
On Oct 25, 2012 4:02 AM, "Bastien"  wrote:

> Hi Jorge,
>
> "Jorge A. Alfaro Murillo"  writes:
>
> > This is strange, since I get the whole emacs from a repository
> > (http://emacs.naquadah.org/ unstable/ ). I should not have to compile
> > anything.
>
> I double-checked and the source on Julien's server are okay.
>
> Can you do
>
> C-h f org-mobile-create-index-file REt
>
> and report where the related source file is located?
>
> Removing it should be enough to clean up your installation.
>
> Best,
>
> --
>  Bastien
>


Re: [O] org-ref in action

2014-06-26 Thread Jorge A. Alfaro-Murillo
Grant Rettke  writes:

> How do people choose today?
>
> Why choose bibtex over biblatex?

For journal submission. With BibTeX you only have to copy paste at the
end of your LaTeX file the contents of the generated .bbl file.
Moreover, journals provide a default style for BibTeX, not biblatex. And
I have never seen a journal that supports biblatex (there might be a
few), but any journal that supports LaTeX supports BibTeX.

> Where do people discuss such questions like this in real life?

In the orgmode list =)




Re: [O] Pushing and pulling to google calendar

2014-06-29 Thread Jorge A. Alfaro-Murillo
"Doyley, Marvin M."  writes:

> Hi Everybody,
>
> Is there a way to sync org-agenda with google calendar so that I can
> exploit googles calendar reminder.
>
> I wish there was a way to send calendar reminders (pop-up, emails,
> text message ) from org-mode rather than going through google.

MobileOrg can synchronize to your google calendar, you can then set up
remainders with the calendar app in your phone.

Check (info "(org) MobileOrg")

Best,

Jorge.




Re: [O] Pushing and pulling to google calendar

2014-06-29 Thread Jorge A. Alfaro-Murillo
Parnell Springmeyer  writes:

> MobileOrg is the best solution so far. But there's no
> bi-directionality, which is annoying, the sync options in MobileOrg
> are pretty solid but getting MobileOrg first setup was enormously
> confusing for me. I've used dropbox and btsync to sync and they aren't
> bad.

I have been using MobileOrg in multiple computers with Dropbox for quite
a while and I do not have any complaints. I generally try to avoid
Google calendar and use it only for remainders in the Google Now App of
my phone, and to share my calendar with other people. But when I have to
create a new item in the calendar I rather use MobileOrg to create a
capture, and let it handle the synchronization just one way.




Re: [O] org-agenda-files and customize

2014-06-29 Thread Jorge A. Alfaro-Murillo
David Masterson  writes:

> 2. I removed org-agenda-files from the custom-set-variables section of
> my .emacs.
> 3. I set org-agenda-files in the standard way (C-c [).
> 4. I notices that org-agenda-files was back in the custom-set-variables
> section of my .emacs.
>
> Is that supposed to happen?

Yes. Where do you expect them to be?

If you do not like the custom-set-variables, you have three options (but
you cannot use 'C-c ['):

#+BEGIN_SRC emacs-lisp
  (setq org-agenda-files
(list "file1" "file2" ...))
#+END_SRC

#+BEGIN_SRC emacs-lisp
  (setq org-agenda-files
"path_to_a_directory_that_contains_all_your_files")
#+END_SRC

#+BEGIN_SRC emacs-lisp
  (setq org-agenda-files
"path_to_a_file_with_the_names_and_location_of_all_your_files")
#+END_SRC




Re: [O] Installing from git

2014-07-02 Thread Jorge A. Alfaro-Murillo
Vicente Vera  writes:

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

I have both emacs and org-mode from git. For emacs:
#+BEGIN_SRC shell
  git clone git://git.savannah.gnu.org/emacs.git
  make distclean
  ./configure
  make
#+END_SRC

You do not need the "make install", I leave the emacs files where I want
them on my home folder (also useful if I do not have root access in a
server), and create two symbolic links to emacs/lib-src/emacsclient and
emacs/src/emacs in ~/bin/

For org, I once read a discussion in this list about not doing this but
that a lot of people do it, it keeps working for me, so I keep doing it.
I clone the repository:

#+BEGIN_SRC shell
  git clone git://orgmode.org/org-mode.git
  make
#+END_SRC

Then I remove the directory emacs/lisp/org and create a direct link to
org-mode/lisp instead. Also I remove emacs/etc/org (or maybe this
doesn't cause conflicts?)

Also, since the git repository of org has the etc files in a different
location, emacs cannot find them; the following takes care of that:

#+BEGIN_SRC emacs-lisp
  (setq org-odt-data-dir "path_to_org-mode_git_directory/etc/")
#+END_SRC

Finally, this takes care of the documentation:

#+BEGIN_SRC emacs-lisp
  (eval-after-load 'info
'(progn (info-initialize)
(add-to-list 'Info-directory-list 
     "path_to_org-mode_git_directory/doc")))
#+END_SRC

Best,

Jorge.




Re: [O] Installing from git

2014-07-02 Thread Jorge A. Alfaro-Murillo
Achim Gratz  writes:

> It doesn't work, you just haven't run into a problem that you can
> positively identify with that habit yet.  You'd need to re-build Emacs
> each time you update Org if you wanted it to work. 

Why? emacs/lisp points to org-mode/lisp, if I update org it updates in
its org-mode repo, what can I break?

> There really is a reason that all those files get installed, if you
> can't or don't want to write to system-wide directories you are free
> to install them in your home directory instead.

Do you mean the files that "make install" creates? Doesn't "make" alone
create all things necessary for org to work?




Re: [O] An Org centric research lab: Goodbye MS word, excel, and powerpoint

2014-07-12 Thread Jorge A. Alfaro-Murillo
Grant Rettke  writes:

> Octave is an option, too: https://www.gnu.org/software/octave/

Since people are championing python, and R and Octave have been
mentioned, let me throw this one into the discussion:
http://www.sagemath.org/

"Sage is a free open-source mathematics software system licensed under
the GPL. It builds on top of many existing open-source packages: NumPy,
SciPy, matplotlib, Sympy, Maxima, GAP, FLINT, R and many more"

"Many more" includes Octave as well. If you know python, then you can
use only python in Sage, no need for learning anything new.

Actually you do not need to install anything to use it:
https://cloud.sagemath.com/

At Sage Math Cloud (SMC) besides Sage, you can access a terminal there
and it has emacs already installed. Also you can ssh to their servers,
and tramp with emacs locally works well connecting to it. That is what I
use for research.

Come to think about it, there is no ob-sage.el yet. I write my papers
directly to LaTeX (and my collaborators write at SMC since they are not
emacs users and it provides direct compilation and shows already the
results) so I never thought about exporting to sage. Does someone have
any plans for this?

Jorge.




Re: [O] a quick way to switch orgmode notes between read-only/editing?

2014-07-17 Thread Jorge A. Alfaro-Murillo
Xebar Saram  writes:

> i keep once and a while screwing up my notes with unintended editing
> (erroneous key presses etc) and was wondering if any one knew of a way
> to to switch orgmode notes between read-only/editing?

Hi Xebar. Use C-x C-q. This works for every file, I use it in particular
for notes that I do not want to edit.

It runs the command read-only-mode which changes whether the current
buffer is read-only. Actually the command switches the local variable
buffer-read-only, so you can use that variable as local for every file
that you do not want to edit by default. At the end of those files add:

#+BEGIN_EXAMPLE
%%% Local Variables:
%%% buffer-read-only: t
%%% End:
#+END_EXAMPLE

And every time that you want to edit them just do C-x C-q

Best,

Jorge.




Re: [O] org-mode

2014-07-24 Thread Jorge A. Alfaro-Murillo
Sharon Kimble  writes:

> How then do I get to use the "8.3 beta" please?

Hi Sharon,

Use the git version, it has had the tag 8.3 beta for about a month.

Follow the instructions in
http://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development

Best,

Jorge.




Re: [O] org-mode

2014-07-24 Thread Jorge A. Alfaro-Murillo

Sharon Kimble  writes:

Miguel Ruiz  writes: 

master branch = 

make cleanall #git pull #optional git reset --hard 
origin/master  # warning: removes local changes #make test 
#optional make  #not necessary if make test   
  
maint  branch = 

make cleanall #git pull #optional git reset --hard 
origin/maint  # warning: removes local changes #make test 
#optional make  #not necessary if make test   

Thanks, my "org-mode" script now shows - 

--8<---cut 
here---start->8--- cd ~/git/org-mode git 
reset --hard origin/master # mr update make autoloads make make 
doc sudo make install cd ~ --8<---cut 
here---end--->8--- 


As the website says, it is enough to do:

#+BEGIN_SRC shell 
 make update 
#+END_SRC


this even pulls the git repository.




Re: [O] A gentle introduction to Emacs & Org-mode?

2014-07-29 Thread Jorge A. Alfaro-Murillo

Thanks John,

The links to the other videos are broken. I think that the 
addresses have %3D instead of an equal sign (=).


Best,

Jorge.





Re: [O] What is the best in-Emacs presentation mode for org-files today?

2014-07-29 Thread Jorge A. Alfaro-Murillo

Grant Rettke  writes:

el-get might be a nice option for you. 


There is also doc-present, but you would need to export to beamer 
first: https://github.com/dengste/doc-present/


Some people create there own, for example watch the first 3min of:
http://www.youtube.com/watch?v=p3Te_a-AGqM

Best,

Jorge.





Re: [O] Installing Org 8

2014-07-30 Thread Jorge A. Alfaro-Murillo
Try putting (package-initialize) as the first line of your .emacs, 
that should do the trick. 


Best,

Jorge.




Re: [O] Agenda, Deadline, DONE

2014-08-05 Thread Jorge A. Alfaro-Murillo

hymie!  writes:

Greetings.  I'm new to OrgMode, and I'm still working my way 
through.  It has a lot of the old functionality and features of 
the PalmPilot "Bonsai" program, which I miss terribly, and I 
hope you take that as a compliment. 


Welcome.

I have a TODO that looks like this (I had to pull out the 
details, of course): 

** DONE task number 3 
   SCHEDULED: <2014-07-30> - State "DONE"   from "TODO" 
   [2014-07-30 Wed 14:47] DEADLINE: <2014-08-08> 

In my Agenda, I see this: 

Friday  8 August 2014 
  file:   Deadline:   DONE task number 3 

It seems to me that, if the task is already completed, then I no 
longer care about the deadline. It's done. So I'd rather not see 
it in the Agenda. 

I guess I could just remove the deadline from the task itself, 
but I kinda like having the historical info (that I finished a 
week and a half early).


Is there a way to remove deadlines for DONE tasks from the 
Agenda? 


I also like to keep the historical info, but in order to keep my 
tasks.org file clean (and save some time while building the 
agenda) I keep it in a separate file. Probably the simplest way is 
something like this:


#+BEGIN_SRC emacs-lisp 
 (setq org-archive-location "~/org/archive.org::") 
#+END_SRC  Now when you do not want to see something anymore, you 
can press C-c C-x C-a from the org file or the agenda to move the 
item to the archive.org file. Check the documentation of 
org-archive-location or (info "(org) Archiving") for more details.


Best,

--
Jorge.




Re: [O] MobileOrg documentation?

2014-08-07 Thread Jorge A. Alfaro-Murillo

David Masterson  writes:

Anyone using MobileOrg? 


I use it all the time, but the Android version. I do not think 
that it is a dead project, at the end of last year there were 
quite a few updates.


I generally use it to read my org agenda and TODO list in my 
phone, to automatically transfer the org agenda to the Google 
calendar and to make captures in my phone that I later organize 
into the proper file and heading in my computer. For those three 
tasks it is a five star application.


I still think that it is far from being org-mode in your phone, but you
should not see it that way. If you want to something that allows
complete org functionality in your phone you are better off using
something like JuiceSSH and connecting to one of your computers.

Best,

--
Jorge.




Re: [O] MobileOrg documentation?

2014-08-07 Thread Jorge A. Alfaro-Murillo
Also there is a more or less active Google+ page: 


https://plus.google.com/u/0/101083268903948579162/posts

--
Jorge.




Re: [O] MobileOrg documentation?

2014-08-08 Thread Jorge A. Alfaro-Murillo

David Masterson  writes:

Not looking for complete org functionality in my phone -- just a 
reasonable ability to edit org outlines while I'm on the road. 


Well you can do that with MobileOrg... sort of. Once you edit and 
save a change, synchronize in your phone and then pull from your 
computer (org-mobile-pull). From (info (org) Pulling from 
MobileOrg):


"Some changes are applied directly and without user interaction. 
Examples are all changes to tags, TODO state, headline and body 
text that can be cleanly applied. Entries that have been flagged 
for further action will receive a tag ‘:FLAGGED:’, so that they 
can be easily found again. When there is a problem finding an 
entry or applying the change, the pointer entry will remain in the 
inbox and will be marked with an error message. You need to later 
resolve these issues by hand."


I do not understand when "cleanly applied" is the case, but my 
experience is that resolving "these issues by hand" is the most 
likely outcome. Even simple edits in the text of an entry in my 
phone generally result in errors of synchronization. Note that 
besides adding a comment of when the file was changed in the 
mobile, the local file does not change. Also you can see the 
differences in the files in the from-org-mobile.org file (or 
whatever you set the org-mobile-inbox-for-pull variable to).


Because of this limitation, I am better off just adding simple 
captures on my phone as remainders to do something in my computer, 
even adding information to a certain file. Then, when I 
synchronize in the phone and pull in my computer, the only file 
that changes is from-org-mobile.org, I open that buffer and use 
org-refile to send things to the right place.  Save all org 
buffers, org-mobile-push and repeat.


I you have access by ssh to a computer that is always on, then I 
recommend leaving an emacsclient open and using JuiceSSH of 
ConnectBot for editing your org files on the go.


Best,

--
Jorge.




Re: [O] MobileOrg documentation?

2014-08-08 Thread Jorge A. Alfaro-Murillo
David Masterson writes: 

Hmmm.  Simple question (I think).  Can you edit outlines (at 
least somewhat) from MobileOrg?  For instance, can you add 
outline headers to your Org outline in MobileOrg?  Or is 
MobileOrg only useful for viewing Org outlines and capturing 
items to add to your outlines later? 


Yes.

In MobileOrg of your phone: Settings, Synchronization, check 
Advanced capture. Click over any headline and then use the capture 
button (the circle with a plus inside). Write the new headline, 
save, and synchronize.


Afterwards run org-mobile-pull from your computer, the changes should be
there. At least it works for me under Android.

Best,

--
Jorge.




Re: [O] MobileOrg documentation?

2014-08-08 Thread Jorge A. Alfaro-Murillo
Ken Mankoff writes: 


On iPhone, you cannot add sub-headings.


Another good reason to ditch your iPhone and buy a Nexus =)

Even when the Android and iPhone applications are different, the 
good thing is that the org side (org-mobile.el) is not specific 
for the iPhone or Android (or any external application that uses 
the same conventions).


Perhaps that is why the manual seems to new users so vague, they 
expect that it will explain how to go over the phone installation 
as well. But that is not the job of the org part, but that of the 
phone application IMO.


--
Jorge.




[O] Fwd: Some thoughts on MobileOrg and its development ....

2014-08-13 Thread Jorge A. Alfaro-Murillo

Dear Mat, Henning, Richard and Sean

In case you are not subscribed to email list of orgmode, the 
following thread might be of interest to you.


Matthew Jones and Henning Weiss, and Richard Moreland and Sean 
Escriva are the top contributors for MobileOrg for Android and 
iPhone, respectively.


Best,

Jorge.

--- Begin Message ---
Topics:
   Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
   Re: Some thoughts on MobileOrg and its development 
--- End Message ---
--- Begin Message ---

Hi all,

In light of recent discussions about 'MobileOrg' - which seemingly
actually constitutes two distinct projects for two different platforms -
together with the apparent relative lack of activity of both projects,
despite demand for them, i can't help but wonder if the 'MobileOrg'
endeavour needs a reboot.

More specifically, it seems to me that rebuilding MobileOrg as a single
project on top of Apache Cordova:

https://cordova.apache.org/

might be a way forward, for several reasons:

* It would help ensure that basically the same set of functionality is
  available across platforms, modulo specific limitations/issues with
  specific platforms. And when people add or modify core functionality,
  that functionality would more easily become available to people across
  platforms, rather than the functionality being initially implemented
  on platform X, and people on platform Y having to wait for it to be
  implemented in its entirety.

* Overall, only one lot of end-user documentation would need to be
  maintained.

* It would enable MobileOrg to be made available for mobile platforms
  other than Android and iOS, such as Windows Phone and Blackberry.

* The number of people available to assist with development might well
  be greater, due to the core development environment involving HTML,
  CSS and JavaScript. Barriers to entry for both regular and occasional
  committers would be much lower.

i'm aware that Cordova has various limitations,
including-but-not-limited-to the lack of native 'feel' of Cordova-based
applications. However, i feel that the above advantages, combined with
the my notion that Emacs users are probably less concerned with a
perfectly slick UI than with having access to functionality they
need/want, probably outweighs such limitations.

Unfortunately, due to other existing commitments, i wouldn't be able to
take point on such a reboot. But i'd definitely be willing and able to
help out!  Particularly in the area of contact management and syncing,
of course. :-)

Thoughts/comments/criticisms?


Alexis.



--- End Message ---
--- Begin Message ---
Would love to see a reboot and further development on org-mobile. I am not
a developer myself but would love to help out with testing , writing
documentation etc

best

Z


On Sat, Aug 9, 2014 at 3:56 AM, Alexis  wrote:

>
> Hi all,
>
> In light of recent discussions about 'MobileOrg' - which seemingly
> actually constitutes two distinct projects for two different platforms -
> together with the apparent relative lack of activity of both projects,
> despite demand for them, i can't help but wonder if the 'MobileOrg'
> endeavour needs a reboot.
>
> More specifically, it seems to me that rebuilding MobileOrg as a single
> project on top of Apache Cordova:
>
> https://cordova.apache.org/
>
> might be a way forward, for several reasons:
>
> * It would help ensure that basically the same set of functionality is
>   available across platforms, modulo specific limitations/issues with
>   specific platforms. And when people add or modify core functionality,
>   that functionality would more easily become available to people across
>   platforms, rather than the functionality being initially implemented
>   on platform X, and people on platform Y having to wait for it to be
>   implemented in its entirety.
>
> * Overall, only one lot of end-user documentation would need to be
>   maintained.
>
> * It would enable MobileOrg to be made available for mobile platforms
>   other than Android and iOS, such as Windows Phone and Blackberry.
>
> * The number of people available to assist with development might well
>   be greater, due to the core development environment involving HTML,
>   CSS and JavaScript. Barriers to entry for both regular and occasional
>   comm

Re: [O] Refile: refile to any open file.

2014-08-13 Thread Jorge A. Alfaro-Murillo
Isaac writes: 

Similar to this previous post, I am trying to file orgmode items 
to  files/buffers currently opened. Being elisp rookie, I tried 
and came up with  the following: 

(defun opened-buffer-files () 
  "Return the list of files currently opened in emacs" (delq nil 
  (mapcar (function buffer-file-name) (buffer-list))) ) 


Perhaps you should return instead only the org mode files that are 
opened, something like this:


#+BEGIN_SRC emacs-lisp 
 (delq nil  
   (mapcar (lambda (x)  
 (if (and (buffer-file-name x)  
  (string-match "\\.org$" 
  (buffer-file-name x)))  
 (buffer-file-name x)))  
   (buffer-list))) 
#+END_SRC


Best,

--
Jorge.




Re: [O] Some thoughts on MobileOrg and its development ....

2014-08-14 Thread Jorge A. Alfaro-Murillo
Eric Abrahamsen writes: 

Henning Weiss  writes: 
I have been working over the last couple of months on a private 
prototype. I'm currently using it in my daily life and it works 
for me. It uses Git (and only Git) for synchronization and 
doesn't use org-mobile at all. The idea is that you keep all 
org files under git version control. Synchronization of all 
"clients" (apps or Emacs) is done against that repository. It 
is also possible to configure whether to use "ours" or "theirs" 
merge strategy when conflicts occur. I have focused on 
designing an app I can trust. 

It already has an outline view like MobileOrg, an agenda view, 
you can add and edit nodes, synchronize changes with a remote 
repository and synchronize scheduled entries to the calendar. I 
ported some of my code from MobileOrg, but a lot of it is 
written from scratch. 


Sounds great... can't wait!



Maybe you could publish a very basic how-to here, and then we 
could annoy you privately with problems? 


That's a good idea, 1+

--
Jorge.




Re: [O] Orgtbl, Radiotables: ":booktabs t"

2014-08-19 Thread Jorge A. Alfaro-Murillo
Hi Nicolas, 

Are there any news on this? I was just trying to accomplish the 
same thing (get \midrule instead of \hline in a LaTeX orgtbl), but 
adding :booktabs t seems to not be enough.


Best,

Jorge.

On [2013-12-01 Sun 10:18], Nicolas Goaziou wrote:


Hello,

AW  writes:


 #+ORGTBL: SEND salesfigures orgtbl-to-latex :splice t :skip 2 :booktabs t
 | Month | Days | Nr sold | per day |
 |
 |---+--+-+-|
 |
 | Jan   |   23 |  55 | 2.4 |
 | Feb   |   21 |  16 | 0.8 |
 | March |   22 | 278 |12.6 |
 |
 |---+--+-+-|
 |
 | S:|   66 | | |

 #+TBLFM: $4=$3/$2;%.1f::@5$2=vsum(@I..II)




The parameter ":booktabs t" would be new.


[...]


So would it be possible to implement the parameter ":booktabs t"
without much trouble?


I don't think :booktabs belong to #+ORGTBL keyword because it is not
specific to radio tables.

I have a half baked patch which allows to use export framework to handle
radio tables. I'll try to complete it by the end of the year and propose
it on the ML.

Since ox-latex supports booktabs extension, radio tables will logically
inherit that feature.


Regards,




Re: [O] Orgtbl, Radiotables: ":booktabs t"

2014-08-19 Thread Jorge A. Alfaro-Murillo
Well for now and until :booktabs t is incorporated this is what I 
am using:


#+BEGIN_SRC emacs-lisp 
 (defun orgtbl-to-latex-booktabs (table params) 
   "Convert the Orgtbl mode TABLE to LaTeX using booktabs 
   package."  (let* ((alignment (mapconcat (lambda (x) (if x "r" 
   "l")) 
org-table-last-alignment "")) 
  (params2 
   (list 
:tstart (concat "\\begin{tabular}{" alignment 
"}\n\\toprule") :tend "\\bottomrule\n\\end{tabular}" 
:lstart "" :lend " " :sep " & " :efmt "%s\\,(%s)" 
:hline "\\midline"))) 
 (orgtbl-to-generic table (org-combine-plists params2 
 params 

 (setq orgtbl-radio-table-templates 
   (delete-if (lambda (x) (equal (car x) 'latex-mode))  
  orgtbl-radio-table-templates)) 

 (add-to-list 'orgtbl-radio-table-templates 
  '(latex-mode "% BEGIN RECEIVE ORGTBL %n\n% END 
  RECEIVE ORGTBL %n\n\\begin{comment}\n#+ORGTBL: SEND 
  %n orgtbl-to-latex-booktabs :splice nil :skip 0\n| 
  | |\n\\end{comment}\n")) 
#+END_SRC


--
Jorge.




Re: [O] Orgtbl, Radiotables: ":booktabs t"

2014-08-19 Thread Jorge A. Alfaro-Murillo

Ups... it should be midrule not midline.
--
Jorge.




[O] [PATCH] org-passwords.el: Improvements

2014-09-01 Thread Jorge A. Alfaro-Murillo

Some development in the password manager.

Best,

Jorge.

* contrib/lisp/org-passwords.el (org-passwords-default-password-size,
org-passwords-default-random-words-number): New variables.
(org-passwords-copy-username, org-passwords-copy-password): Use
org-entry-get to obtain the property value.
(org-passwords-open-url): New function.
(org-passwords): Can be called with universal argument.
(org-passwords-generate-password): Use default size given by
`org-passwords-default-password-size'.
(org-passwords-random-words): Use default number given by
`org-passwords-default-random-words-number'.
(org-passwords-concat-this-with-string): Fix bug.

The patch adds several functionality:

Open the URL property directly from the mode. URLs can be inherit.

Universal argument in org-passwords allows for longer browsing. Two
arguments is used for editing.

There is a default password size and random-words number for faster
password generating.

Fix bug in C-u M-x org-passwords-generate-password.

Commentary in file has more information.

---
contrib/lisp/org-passwords.el | 134 +++---
1 file changed, 88 insertions(+), 46 deletions(-)

diff --git a/contrib/lisp/org-passwords.el b/contrib/lisp/org-passwords.el
index 7ed8c80..b10a5f7 100644
--- a/contrib/lisp/org-passwords.el
+++ b/contrib/lisp/org-passwords.el
@@ -23,12 +23,14 @@
;;; Commentary:

;; This file contains the code for managing your passwords with
-;; Org-mode.
+;; Org-mode. It is part of org/contrib (see http://orgmode.org/). If
+;; you want to contribute with development, or have a problem, do it
+;; here: https://bitbucket.org/alfaromurillo/org-passwords.el

;; A basic setup needs to indicate a passwords file, and a dictionary
;; for the random words:

-;;   (require org-passwords)
+;;   (require 'org-passwords)
;;   (setq org-passwords-file "~/documents/passwords.gpg")
;;   (setq org-passwords-random-words-dictionary 
"/etc/dictionaries-common/words")

@@ -54,13 +56,12 @@
;;   `org-passwords-random-words-substitutions'.

;; It is also useful to set up keybindings for the functions
-;; `org-passwords-copy-username' and
-;; `org-passwords-copy-password' in the
-;; `org-passwords-mode', to easily make the passwords and usernames
-;; available to the facility for pasting text of the window system
-;; (clipboard on X and MS-Windows, pasteboard on Nextstep/Mac OS,
-;; etc.), without inserting them in the kill-ring. You can set for
-;; example:
+;; `org-passwords-copy-username', `org-passwords-copy-password' and
+;; `org-passwords-open-url' in the `org-passwords-mode', to easily
+;; make the passwords and usernames available to the facility for
+;; pasting text of the window system (clipboard on X and MS-Windows,
+;; pasteboard on Nextstep/Mac OS, etc.), without inserting them in the
+;; kill-ring. You can set for example:

;;   (eval-after-load "org-passwords"
;; '(progn
@@ -69,12 +70,15 @@
;;   'org-passwords-copy-username)
;;(define-key org-passwords-mode-map
;;   (kbd "C-c p")
-;;  'org-passwords-copy-password)))
+;;  'org-passwords-copy-password)
+;;  (kbd "C-c o")
+;;  'org-passwords-open-url)))

-;; Finally, to enter new passwords, you can use `org-capture' and a minimal 
template like:
+;; Finally, to enter new passwords, you can use `org-capture' and a
+;; minimal template like:

;;   ("p" "password" entry (file "~/documents/passwords.gpg")
-;;"* %^{Title}\n  %^{PASSWORD}p %^{USERNAME}p")
+;;"* %^{Title}\n  %^{URL}p %^{USERNAME}p %^{PASSWORD}p")

;; When asked for the password you can then call either
;; `org-passwords-generate-password' or `org-passwords-random-words'.
@@ -87,6 +91,7 @@

(require 'org)

+;;;###autoload
(define-derived-mode org-passwords-mode org-mode
  "org-passwords-mode"
  "Mode for storing passwords"
@@ -97,12 +102,17 @@
  :group 'org)

(defcustom org-passwords-password-property "PASSWORD"
-  "Name of the property for password entry password."
+  "Name of the property for password entry."
  :type 'string
  :group 'org-passwords)

(defcustom org-passwords-username-property "USERNAME"
-  "Name of the property for password entry user name."
+  "Name of the property for user name entry."
+  :type 'string
+  :group 'org-passwords)
+
+(defcustom org-passwords-url-property "URL"
+  "Name of the property for URL entry."
  :type 'string
  :group 'org-passwords)

@@ -117,6 +127,12 @@ string, a number followed by units."
  :type 'str
  :group 'org-passwords)

+(defcustom org-passwords-default-password-size "20"
+  "Default number of characters to use in
+org-passwords-generate-password. It has to be a 

Re: [O] org-agenda

2014-09-02 Thread Jorge A. Alfaro-Murillo
David Arroyo Menendez writes: 

I've a recurrent little problem, with a light TODO.org 
org-agenda is fast, but every year or so, I need create a new 
TODO.org, because is so slow. More people with this problem? 
Some solution? 


I keep an archive file, so I get things out of my agenda files 
after they are done with C-c C-x C-a. Check the variable 
`org-archive-location'.


Best,

--
Jorge.




Re: [O] Marking items done in the past

2014-09-02 Thread Jorge A. Alfaro-Murillo
Fletcher Charest writes: 

Have you made any progress? I am also interested. 


Me too.

On 18 August 2014 02:52, Noah Slater  wrote: 
I have a number of habits set up that I regularly fill in the 
day after the activity was done. Is there a way to mark an item 
as done (in a way that hooks into the habits stuff) but for a 
day in the past? 

So instead of doing C-c C-t d (I have "d" set up as "DONE") I 
could get a prompt which asked me for a date. 



Changing the LOGBOOK, and LAST_REPEAT would not be that difficult, 
since you could use something like:


#+BEGIN_SRC emacs-lisp
 (org-entry-put nil "LAST_REPEAT" (concat "[" (org-read-date) 
 "]")) 
#+END_SRC


But changing the SCHEDULED and the 'State "DONE" from "TODO"' part 
would be more complicated. For example I think one would need to 
modify the function org-auto-repeat-maybe to be able to ask for a 
time. Checking at the code of this function the SCHEDULED part 
doesn't look that complicated, but I couldn't understand what 
produces the 'State "DONE" from "TODO"'


Does any of the org-gurus have an idea?

Best,

--
Jorge.




Re: [O] [PATCH] org-passwords.el: Do not insert `org-passwords-generate-password-with-symbols`

2014-09-04 Thread Jorge A. Alfaro-Murillo
Jonathan Leech-Pepin writes: 

Patch attached and inlined (to ensure gmail does not mangle) 


* org-passwords.el 
(org-passwords-generate-password-with-symbols): Do not insert 
password, this matches how 
`org-passwords-generate-password-without-symbols` behaves. 


Thanks, I had forgotten to remove that from -with-symbols.

Best,

--
Jorge.




[O] [PATCH] Refresh appointments from org files exclusively

2014-09-06 Thread Jorge A. Alfaro-Murillo

Hi,

I sometimes use appt-add as an alarm clock, as it is described in 
(info "(emacs) Appointments"). Recently I started using 
org-agenda-to-appt, and I wanted to update my appointments every 
time that I call the agenda, something like:


#+BEGIN_SRC emacs-lisp
 (add-hook 'org-agenda-finalize-hook (lambda () 
 (org-agenda-to-appt t))) 
#+END_SRC


But this removes the entries that appt-add has added, in other 
words it removes my alarms.


The attached patch permits that, when refreshing, only 
appointments that have the text property org-headline set to t are 
deleted. So it would leave any appointments set by appt-add. I do 
not know if all the entries that org-agenda-to-appt adds have an 
org-headline set to t, from my tests it seems like that is the 
case.


The functionality has backward compatibility (uses C-u C-u), but 
perhaps it would make more sense to use C-u for refreshing only 
org entries and C-u C-u for refreshing everything, or even never 
setting appt-time-msg-list to nil from org.


If the patch is approved to refresh the appointments after every 
agenda buffer is built while keeping those appointments added by 
appt-add, you can do:


#+BEGIN_SRC emacs-lisp
 (add-hook 'org-agenda-finalize-hook (lambda () 
 (org-agenda-to-appt '(16 
#+END_SRC


Best,

--  Jorge. 

>From 2a5bf43b8ce112eab30df55f25e1744a7b388d64 Mon Sep 17 00:00:00 2001
From: "Jorge A. Alfaro Murillo" 
Date: Sat, 6 Sep 2014 18:01:20 -0400
Subject: [PATCH] org-agenda.el: Refresh appointments from org files

* lisp/org-agenda.el (org-agenda-to-appt): Double prefix arg refresh
only the list of appointments that come from org files.

Uses the text-properties in appt-time-msg-list to see if an entry has
an org-heading property.

TINYCHANGE
---
 lisp/org-agenda.el | 16 
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index bcbacf0..ff4a448 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -10046,7 +10046,9 @@ tag and (if present) the flagging note."
 (defun org-agenda-to-appt (&optional refresh filter &rest args)
   "Activate appointments found in `org-agenda-files'.
 With a \\[universal-argument] prefix, refresh the list of
-appointments.
+appointments. With a double prefix arg \\[universal-argument]
+\\[universal-argument], refresh only the list of appointments
+that come from org files.
 
 If FILTER is t, interactively prompt the user for a regular
 expression, and filter out entries that don't match it.
@@ -10076,7 +10078,15 @@ details and examples.
 If an entry has a APPT_WARNTIME property, its value will be used
 to override `appt-message-warning-time'."
   (interactive "P")
-  (if refresh (setq appt-time-msg-list nil))
+  (if (equal refresh '(4))
+  (setq appt-time-msg-list nil))
+  (if (equal refresh '(16))
+  (let (new-appt-time-msg-list)
+	(dolist (entry appt-time-msg-list)
+	  (if (not (text-property-any 1 (length (cadr entry))
+  'org-heading t (cadr entry)))
+	  (add-to-list 'new-appt-time-msg-list entry)))
+	(setq appt-time-msg-list new-appt-time-msg-list)))
   (if (eq filter t)
   (setq filter (read-from-minibuffer "Regexp filter: ")))
   (let* ((cnt 0) ; count added events
@@ -10119,8 +10129,6 @@ to override `appt-message-warning-time'."
  (and (stringp evt-filter)
   (string-match evt-filter evt)))
 	  (wrn (get-text-property 1 'warntime x)))
-	 ;; FIXME: Shall we remove text-properties for the appt text?
-	 ;; (setq evt (set-text-properties 0 (length evt) nil evt))
 	 (when (and ok tod)
 	   (setq tod (concat "00" (number-to-string tod))
 		 tod (when (string-match
-- 
2.0.1



Re: [O] Managing articles in orgmode and collaboration

2014-09-09 Thread Jorge A. Alfaro-Murillo
Thomas S. Dye writes: 

I don't manage my bibliography references in Org mode.  I am 
used to managing a bibtex database and have never found the need 
to move everything to Org. 


Same here.

Bibtex mode has functions for automatic reference key 
generation: 

http://www.jonathanleroux.org/bibtex-mode.html#0630 


You can configure this process.


You can also download the .bib from Google Scholar or whatever and 
then clean the entry, so that your database has the same format.


Either a separate bibtex file for each article, or separate 
bibtex files for each co-author.  


Or better do both...

#+BEGIN_SRC latex 
 \bibliography{/home/you/references/articles.bib}

 % \bibliography{/home/collaborator_1/references/articles.bib}
 % \bibliography{/home/collaborator_2/references/articles.bib}
 ...
 \bibliography{references}

#+END_SRC

When a collaborator_i is working on the file she/he comments the 
first line and uncomments the i-th line AND everybody runs 
reftex-create-bibtex-file (or copy paste the new references for 
the unfortunate non-emacs user) after adding new references and 
finishing editing. Everybody shares a current version of the .tex 
file and the references.bib file.


In general, you'll want to have the bibtex file(s) for an 
article only contain the references that you'll use in the 
article, especially if you intend to distribute the bibtex files 
as part of a reproducible research project. 


Note that when the article is ready the references.bib is the only 
thing you need to compile, since it has all the references, so you 
erase the all the other \bibliography's


There are tools that use the information in your article .tex 
files to create this kind of bibtex file from a larger bibtex 
database. 


Yes, emacs via reftex-create-bibtex-file =)

Best,

--
Jorge.




Re: [O] Managing articles in orgmode and collaboration

2014-09-10 Thread Jorge A. Alfaro-Murillo
Christoph Groth writes: 

My motivation for keeping bibliography in org was to keep all 
local information about a paper (including notes and comments) 
in one place.  This should make it easier to find it. 


In BibTeX if any field contains an entry that is not part of the 
required or optional entries for the field type, that entry is 
ignored.  So you can do want you want in a single bib file, just 
include for every field that you want a "COMMENTS" entry. The 
"NOTE" entry is an optional entry for the field type article and 
book, so you have to use something else, I use "ANNOTE", since it 
is the standard "to be ignored" entry in the emacs BibTeX mode.


I like to keep papers under version control, and the commenting 
that you suggest does not seem to fit this way of working very 
well. 


Then change it to:

#+BEGIN_SRC latex
 \include{personal_references}
 \bibliography{references.bib}
#+END_SRC

And in personal_references.tex, every user has just one line:

#+BEGIN_SRC latex
 \bibliography{the_user_path_to_her/his_references.bib}
#+END_SRC

Add personal_references.tex to the .gitignore file (or the 
equivalent if you are not using git), and then you have version 
control and no more commenting/uncommenting.


Perhaps I am biased because I learned LaTeX and BibTeX before Org, 
but I think that for references BibTeX (plus a little bit of emacs 
configuration) has everything I could need. I guess if you are 
more used to Org, it might be worth to invest time and come up 
with a org-based solution. Please keep us posted, I find this a 
very interesting thread.


Cheers,

--
Jorge.




  1   2   3   >