[O] Best practice for canceled/moved recurring events

2016-07-22 Thread SabreWolfy
I have a meeting at 09:00 every Monday:

--8<---cut here---start->8---
* Diary
** TODO Weekly Meeting
   DEADLINE: <2016-07-18 Mon 09:00 +1w>
--8<---cut here---end--->8---

What is the best way of dealing with scenarios where (1) the meeting "next
week" is on the Wednesday and (2) the meeting "two weeks" after that (or
whatever) is canceled?

Should I create a large set of time-shift entries for each week individually
and edit accordingly?




Re: [O] Link-checker for Org-mode

2015-06-02 Thread SabreWolfy
Nicolas Goaziou mail at nicolasgoaziou.fr writes:

 Org Lint does that already.

Please provide a link. Searching was not helpful.




[O] No ODT Export

2015-06-02 Thread SabreWolfy
I'm using Org 8.2.4. C-c C-e does not offer any ODT export. Where should I
start looking to solve this?




Re: [O] No ODT Export

2015-06-02 Thread SabreWolfy
Christian Moe mail at christianmoe.com writes:

 Adding
 
 (add-to-list 'org-export-backends 'odt)
 
 should do the trick.

Something else must be wrong, as this gives me:

Symbol's value as variable is void: org-export-backends






Re: [O] No ODT Export

2015-06-02 Thread SabreWolfy
SabreWolfy sabrewolfy at gmail.com writes:

 Something else must be wrong, as this gives me:
 
 Symbol's value as variable is void: org-export-backends

This worked:

http://lists.gnu.org/archive/html/emacs-orgmode/2013-05/msg00313.html






Re: [O] search for csv utilities

2015-06-01 Thread SabreWolfy
Use the right tool for job.

Jude DaShiell jdashiel at panix.com writes:

 I have concluded emacs-orgmode spreadsheet is unusable and
 the amount of data is at 400 records now and will grow.







[O] Where to keep draft work?

2015-05-26 Thread SabreWolfy
Consider the following Org file, which is used to generate an Agenda:

--8---cut here---start-8---
* Write the big report
  DEADLINE: 2015-05-26 Tue 12:00
* Write the small report
  DEADLINE: 2015-06-02 Tue 12:00
* Plan the draft proposal
  SCHEDULED: 2015-05-28 Thu 09:00
--8---cut here---end---8---

Where is the best place to store the actual text of the reports and
proposals? Should it be stored under each heading? Or in a drawer? Or linked?

I call the Agenda and see entries for the day, and then scroll to one and
press Tab to jump to it. This would be a good place to store the text?




[O] ditta image size

2015-01-22 Thread SabreWolfy
The following Org file:

--8---cut here---start-8---
* Picture
#+BEGIN_SRC ditaa :file hello-world.png :cmdline -r -s 1.0
++
| Hi |
++
#+END_SRC
--8---cut here---end---8---

rendered to LaTeX and then PDF (C-c C-e l o) with ditaa version 0.9 and
org-version 8.2.4 in Emacs 24.3.1 produces output with the ditaa image very
much enlarged and pixelated. How can I avoid this?





Re: [O] ditta image size

2015-01-22 Thread SabreWolfy
SabreWolfy sabrewolfy at gmail.com writes:

 The following Org file:
 
 --8---cut here---start-8---
 * Picture
 #+BEGIN_SRC ditaa :file hello-world.png :cmdline -r -s 1.0
 ++
 | Hi |
 ++
 #+END_SRC
 --8---cut here---end---8---
 
 rendered to LaTeX and then PDF (C-c C-e l o) with ditaa version 0.9 and
 org-version 8.2.4 in Emacs 24.3.1 produces output with the ditaa image very
 much enlarged and pixelated. How can I avoid this?

I prepared another, more complex diagram, which is now rendered smaller than
before, but is still of poor, pixelated quality. This is a PNG scaling
problem? GraphhViz will give better quality?




[O] TTY keys in GUI

2014-10-31 Thread SabreWolfy
I'm having difficulty changing dates/times in timestamps on a MacBook Air,
as the keyboard shortcuts do not work.

I'd like to access the keys described here:

http://orgmode.org/manual/TTY-keys.html

via Emacs launched via the GUI, rather than the console. If I run Emacs with
'-nw', the TTY shortcuts work. If I run Emacs with a GUI (OS X), those
shortcuts don't work.





Re: [O] Missing Agenda Export in ICS

2014-09-10 Thread SabreWolfy
Eric S Fraga e.fraga at ucl.ac.uk writes:

 Have you looked at the actual calendar entry in the ics file?

The entry is not in the ICS file.




Re: [O] Missing Agenda Export in ICS

2014-09-10 Thread SabreWolfy
Eric S Fraga e.fraga at ucl.ac.uk writes:

 Have you looked at the actual calendar entry in the ics file?

The entry does not appear in the ICS file. Some events are being exported,
some are not.




Re: [O] Missing Agenda Export in ICS

2014-09-10 Thread SabreWolfy
Eric S Fraga e.fraga at ucl.ac.uk writes:

 Ah, so the problem is with the export from org and not the import into
 Google's calendar.  Your original post was ambiguous!

Yes. Thanks for the suggestion to look at the ICS file as well. I should
have thought of that :)

 Have you tried exporting that entry alone?  Have you looked at the
 *Messages* buffer for any errors?  What is the entry just before the one
 that doesn't export?  In other words, what have you looked at?

No entries of relevance in the *Messages* buffer. I was looking for
suggestions as to *what* I should look at to start trouble-shooting this.

I have solved it though. I was exporting the default week view, and
looking for entries further in the future :) I think I assumed that the
entire Agenda would be exported, not (just) the current view. If I switch
to the fortnightly view, for example, then the entry in question is
correctly exported.

Apologies for the noise.





[O] Missing Agenda Export in ICS

2014-09-09 Thread SabreWolfy
I'm using Org-mode 8.2.7c. I exported my Agenda with C-x C-w and specified
an ICS file, which I then imported into Google Calendar. Many events
appeared, but some did not. An example of one, which did not appear, was a
standard timestamp event, where other standard ones also appeared. What
are the reasons that an item would not export?

--
* Diary
** Entry does not work
2014-09-15 Mon 18:00-20:00
-

This entry does not appear in the export. Other similar ones do appear.




[O] ditaa on Mac OS X

2014-08-06 Thread SabreWolfy
This[1] ditaa example with ORg 8.2.7f under Mac OS X Mavericks fails with a
message indicating that .../elpa/contrib/scripts/ditaa.jar is not found. I
created the folder and soft-linked /usr/local/bin/ditaa to ditaa.jar and
tried again. This time the export ran, but the PDF it created contained a
large box with :file somefile_name.png inside it. I've also read this[2]
and did not find ditaa in ELPA. Suggestions?

[1] http://doc.norang.ca/org-mode.html#playingwithditaa
[2] http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ditaa.html




[O] Ditaa on Mac OS X

2014-08-06 Thread SabreWolfy
This[1] ditaa example with ORg 8.2.7f under Mac OS X Mavericks fails with a
message indicating that .../elpa/contrib/scripts/ditaa.jar is not found. I
created the folder and soft-linked /usr/local/bin/ditaa to ditaa.jar and
tried again. This time the export ran, but the PDF it created contained a
large box with :file somefile_name.png inside it. I've also read this[2]
and did not find ditaa in ELPA. Suggestions?

[1] http://doc.norang.ca/org-mode.html#playingwithditaa
[2] http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ditaa.html




Re: [O] Agenda, Deadline, DONE

2014-08-05 Thread SabreWolfy
hymie! hymie at lactose.homelinux.net writes:

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

Add this to your .emacs:

,-
| (setq org-agenda-skip-deadline-if-done nil)
`-






Re: [O] Agenda, Deadline, DONE

2014-08-05 Thread SabreWolfy
Correction:

,-
| (setq org-agenda-skip-deadline-if-done t)
`-









Re: [O] Release Org 8.2.7c

2014-08-01 Thread SabreWolfy
Bastien bzg at gnu.org writes:

 I released Org 8.2.7c.

Can someone point me to the changelog for this? Is not here[1]. Is it on
that git thing somewhere? :)

[1] http://orgmode.org/Changes.html





Re: [O] Release Org 8.2.7c

2014-08-01 Thread SabreWolfy
Bastien bzg at gnu.org writes:

 I released Org 8.2.7c.

Should this be available via ELPA[1]?

[1] http://orgmode.org/elpa.html





Re: [O] Installing Org 8

2014-07-30 Thread SabreWolfy
I've wasted an entire day trying to upgrade to Org 8 under OS X :(

I'm using a modified version of Emacs, with ESS pre-installed. I've also
downloaded the latest 24.3.1 Emacs for OS X and tried with that.

In both cases, I am able to install Org 8 (20140730 now) via ELPA. It
installs to a local directory. However, when I restart Emacs and enter
'org-version', I am shown:

Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
/Users/macbookair/.emacs.d/elpa/org-20140730/)

It looks like the pre-installed version is taking precedence, but it is
showing the folder of the new version.

I tried deleting the pre-installed version of Org from the /Applications/...
folder, but then Emacs generates an error on start-up about not being able
to locate the org-latex file.

I did manage to install both the latest Org and ESS into the latest Emacs
24.3.1, but then Emacs was not able to open Bazaar VC files -- it could not
find the 'bzr' file (Bazaar is, of course, installed; the ESS-modified Emacs
can open Bazaar VC files).

As it stands now, I'm back to using the ESS-modified version of Emacs (as it
has ESS and bzr working) and have Org 8 installed via ELPA, but not working.

*Sigh*




Re: [O] Installing Org 8

2014-07-30 Thread SabreWolfy
Jorge A. Alfaro-Murillo jorge.a.alfaro at gmail.com writes:

 Try putting (package-initialize) as the first line of your .emacs, 
 that should do the trick. 

This solved it. Thanks :)




[O] Installing Org 8

2014-07-29 Thread SabreWolfy
I successfully upgraded Org mode to version 8 by following these[1]
instructions. I am now trying to repeat this on a Mac OS X system. After
M-x list-packages, Emacs connects to elpa.gnu.org and then to orgmode.org,
but reports that it is unable to connect to orgmode.org, and presents a list
of the packages from GNU only (no upgrade is available for org). Navigating
to the Org mode repository directly works, so the site is online. I am using
a modified version of Emacs[2] with various packages pre-installed[3], which
has Org mode version 7.9.3f.

[1] http://orgmode.org/elpa.html
[2] http://vgoulet.act.ulaval.ca/en/emacs/mac/
[3] This was the only way I could get ESS installed in Emacs under OS X.




Re: [O] Installing Org 8

2014-07-29 Thread SabreWolfy
This was a network/proxy issue. Emacs was also unable to contact GNU, but
displayed a default/cached (?) list of packages.




Re: [O] Setup Org-mode to write diary.

2014-07-28 Thread SabreWolfy
Sharon Kimble boudiccas at skimble.plus.com writes:

 Yes, but I don't take much notice of it. 

See my question and the answers here[1] about slow performance in Org files
when line-numbering is enabled.

[1]
http://stackoverflow.com/questions/5229705/emacs-org-mode-turn-off-line-numbers





[O] Move headline up/down

2014-07-28 Thread SabreWolfy
I know how to move subtrees up and down, but how do I change the order of
top-level headline entries (the ones starting with *)?




Re: [O] Move headline up/down

2014-07-28 Thread SabreWolfy
SabreWolfy sabrewolfy at gmail.com writes:

 I know how to move subtrees up and down, but how do I change the order of
 top-level headline entries (the ones starting with *)?

M-Up and M-Down

(Strangely, *not* EScUp/Down though, which I tried initially, because
M-x *is* the same as Escx for me.)




Re: [O] Move headline up/down

2014-07-28 Thread SabreWolfy
Thorsten Jolitz tjolitz at gmail.com writes:

 with point on top3: M-x org-move-subtree-up

Thanks -- that works. I tried S-Up/Down, which I erroneously thought moved
subtrees, but not headlines ;) What I should have tried, which works for
headlines and subtrees, is M-S-Up/Down.




Re: [O] Setup Org-mode to write diary.

2014-07-26 Thread SabreWolfy
Sharon Kimble boudiccas at skimble.plus.com writes:

 But I have found that I can't have more that 3
 months worth of postings in a buffer, without things slowing down and
 seeming to get slightly corrupted.

That would be three main headings and about 30 sub-headings under each,
giving a total of 120 sub-headings. Do you have line-numbering on?




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

2014-07-24 Thread SabreWolfy
Thorsten Jolitz tjolitz at gmail.com writes:

 ,
 | http://bzg.fr/learn-emacs-lisp-in-15-minutes.html
 `

Didn't know about this, and it's been online for 364 days :) Definitely
worth reading. Thanks, Bastien!





Re: [O] Emacs with Org 8?

2014-07-23 Thread SabreWolfy
Nicolas Richard theonewiththeevillook at yahoo.fr writes:

 ...
 This is because Emacs 24.3.1 was released before Org 8 was released.
 ...

As an aside, where does the sub-minor version number for Emacs originate?
I'm running 24.3.1 and the next release is 24.4. However, even though I
can't find any information about 24.3.2, a search of this list for 24.3.2
returns results...




[O] Repeat task a fixed number of times

2014-07-22 Thread SabreWolfy
This repeats an event on the first of the month forever:

--8---cut here---start-8---
* Attend Monthly Meeting
   2014-05-01 +1m
--8---cut here---end---8---

How do I indicate that the event should be repeated monthly for 6 months
only? Time-shift?




Re: [O] Emacs with Org 8?

2014-07-19 Thread SabreWolfy
Nicolas Richard theonewiththeevillook at yahoo.fr writes:

snip
 Alternatively you can update to Org 8 via elpa. (M-x list-packages).
snip

Thanks :) I really wanted to move to Org 8, but I'd been putting off
upgrading for months, as I thought it was a complicated procedure, which
would take a lot of time to figure out. Turns out it only took a few
minutes, with everything explained here:

http://orgmode.org/elpa.html

:)





[O] Emacs with Org 8?

2014-07-17 Thread SabreWolfy
The latest stable release of Emacs is 24.3.1, which does not contain Org
version 8? Therefore, using Org 8 requires (manual) installation? I am using
a modified version of Emacs on Mac, with ESS and other packages
pre-installed. This version has Org 7.9.3 though :(




Re: [O] Repeat work / week days

2014-06-11 Thread SabreWolfy
Nick Dokos ndokos at gmail.com writes:

 `C-c C-x c' (`org-clone-subtree-with-time-shift')

Thanks. This looks like the best solution.




[O] Include TODO for once-off events?

2014-06-11 Thread SabreWolfy
I use the following to include once-off events in my Agenda:

--8---cut here---start-8---
* Once-Off Task
2014-06-11 Wed 09:00

--8---cut here---end---8---

What is the difference (benefit) to rather doing this:

--8---cut here---start-8---
* TODO Once-Off Task
2014-06-11 Wed 09:00

--8---cut here---end---8---

The second method gives me a red TODO in the Agenda and allows me to mark
the task as DONE. Is that the primary reason for using TODO? If the
state of a task is not important, there is no need to include TODO?




[O] Repeat work / week days

2014-06-09 Thread SabreWolfy
I searched here and elsewhere, and then played with various diary sexp
settings, but I could not find a way to repeat an entry on work/week days
(Monday to Friday) every week. I would like a task to appear on all Mondays
to Fridays. The repeat should preferably be from Monday to Tuesday, Tuesday
to Wednesday, etc., rather than from Monday to Monday, Tuesday to Tuesday,
etc., but this is not so important.




[O] Babel issue after upgrade to Org 8?

2013-08-07 Thread SabreWolfy
I've recently updated my Debian unstable installation and Emacs now reports
this on startup:

Symbol's function definition is void: org-babel-do-load-language

My .emacs includes:

(org-babel-do-load-languages 'org-babel-load-languages '((R . t)))

I've searched for a solution and read the notes about upgrading to Org 8
(which may have occurred during the update?), but have not found a solution.
Can someone point me in the right direction, please? Thanks.





[O] eval-line-and-step broken in org mode buffer

2013-06-07 Thread SabreWolfy
http://comments.gmane.org/gmane.emacs.ess.general/7239

I can confirm this with Org 7.8 and ESS 13.05 and R 3.0.1 under Ubuntu 12.04
LTS.

eval-line-and-step (F9) when in an Org file evaluates the line in R, and
then jumps the cursor elsewhere as described, instead of advancing it.
eval-line-and-step-invisibly advances the cursor to the next line, but does
not skip blank lines or comments.

Is this an ESS or Org issue?




[O] Installation of Org 8

2013-06-04 Thread SabreWolfy
rant
Please can someone point me to instructions to install Org 8? I've
downloaded the tar.gz file and searched and tried several sets of
instructions. The 'build instructions' are no help. Neither are the ELPA
instructions. I'm on Kubuntu 13.04. The default org-mode is 7.9.something.
I've purged that. I've done make and make install all and sudo make install
all. I'm not interested in installing and learning git.

The reason I want to try 8 is that the instructions here:

http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html

about including output from R in ORG format to make nice HTML tables is not
working. I get a BEGIN_SRC org instead of BEGIN_ORG or something. I
thought it would be best to trouble-shoot this using the latest Org.
/rant





[O] Args out of range: 0, 1

2013-06-04 Thread SabreWolfy
Emacs/R is aborting running/exporting an R code block with the message:

Args out of range: 0, 1

in the mini-buffer line. This is triggered when I try to use ascii or print
to output a data structure. I've searched for this error and found it to be
related to converting HTML to text. with a number of posts from several
years ago. What can I do to solve it? I'm using Emacs 23.4.1, Org version
7.9.2, R 2.15.2 on Kubuntu 13.04. I'll try to prepare a minimal example,
separate from my actual input data.




Re: [O] Exporting output and graphics from R

2013-05-31 Thread SabreWolfy
Sebastien Vauban sva-news@... writes:

 AFAICT, you can't have both at the same time. Do you have a real
 use case for this?

Maybe I'm not using the right tool for the job. I thought it would be useful
to be able to intersperse explanatory text with output:

--8---cut here---start-8---
All crows are black. We know this from looking at crows. I analyzed a
dataset using this code, and produced a graph as follows:

#+BEGIN_SRC R :results graphics :file testout.png :exports both
# load data, analyze, make graph
#+END_SRC

The above analysis shows that all crows are black. A table of observed
results is as follows:

#+BEGIN_SRC R :results
# more R code using the same dataset
# will only work if the dataset is loaded again
#+END_SRC

This can be summarized with the following results:
#+BEGIN_SRC R :results graphics :file testout.png :exports both
# R code plotting another graph and showing another output table
#+END_SRC
--8---cut here---end---8---

My idea is that I would like the R code included for my reference when
reading the document. I would also like the explanatory text, etc. included,
as well as the output and results for the people who will be reading the
document.

Easier just to do it all in LaTeX directly? But then the code is not live,
like it is in Org.




Re: [O] Exporting output and graphics from R

2013-05-31 Thread SabreWolfy
Feng Shu tumashu at gmail.com writes:

  #+BEGIN_SRC R :results output :exports both
  pngname - testout.png
  png(pngname)
  plot(1:10, 1:10)
  dev.off()
  x - 1:10
  paste([[./, pngname, ]],sep=)
  #+END_SRC

Thanks. This is a great suggestion.





Re: [O] Guidance for preparing document with code

2013-05-30 Thread SabreWolfy
Hi Thorsten,

Thanks for the links.





Re: [O] Guidance for preparing document with code

2013-05-30 Thread SabreWolfy
Sebastien Vauban sva-news@... writes:

 Little starter for your R code:
 
 #+BEGIN_SRC R :results graphics :file testout.png
 plot(1:10, (1:10)^2)
 #+END_SRC

snip

w00t! I exported a quick structured document, with text, code and the png
file as an HTML document. This is super-cool :) I should have figured out
how to this ages ago. Thanks for the example. And thanks to Carsten, /et
al./ too ;)




[O] Exporting output and graphics from R

2013-05-30 Thread SabreWolfy
When the following code is evaluated or exported, only the link to
testout.png appears in the RESULTS section.

--8---cut here---start-8---
#+BEGIN_SRC R :results output graphics :file testout.png :exports both
plot(1:10, 1:10)
x - 1:10
library(ascii)
options(asciiType = org)
ascii(x)
#+END_SRC
--8---cut here---end---8---

When this code is evaluated, the value of x appears in the RESULTS:

--8---cut here---start-8---
#+BEGIN_SRC R :results output :exports both
x - 1:10
library(ascii)
options(asciiType = org)
ascii(x)  
#+END_SRC
--8---cut here---end---8---

How can I get the first example to output both graphics and ascii output?
I'm using Org 7.9.2.




[O] Guidance for preparing document with code

2013-05-29 Thread SabreWolfy
I'm using Org ~7.8 and would like to prepare a document for export to HTML
to make available to others to read. This document will contain heading,
text, etc., R code (for my reference) and the output of the R code. Where
should I look to learn how to do this in R? Org-babel? Is this literate
programming? I've read much about Org over the years, and I think I've
probably tried this already once before, but I'd like to know where to start
looking.




Re: [O] Guidance for preparing document with code

2013-05-29 Thread SabreWolfy
Nick Dokos ndokos at gmail.com writes:

 org-babel is the right tool. Getting the headers right might involve
 some fiddling: there have been many question on the ML about those so
 you can try searching, but if after some effort you are still running
 into a wall, just post what you have, what you want to accomplish and
 how your purported solution fails: there are lots of people able and
 willing to help. The only thing to keep in mind is that the shorter the
 example, the better: don't post your 100-page org file; extract the
 example(s) that you want help with.

Thanks. Apologies -- I meant *headers* (ie: a structured/outline-type
document), not *headings*.

 If you are using the R code for your reference, and only presenting the
 results, that's *not* literate programming: you don't have to worry
 about the noweb stuff.
 

I wanted to include explanatory text, the R code, then the output of the
code, all in the same document. The R code will not be relevant to the
reader, but I'd like it included and executed to produce output.




Re: [O] Guidance for preparing document with code

2013-05-29 Thread SabreWolfy
Hi :)

Thomas S. Dye tsd at tsdye.com writes:

 Org mode should do what you want pretty much out of the box.  Note that
 the exporters all changed with Org 8, so you'll want to distinguish
 between the old and new exporters if you look for information on line.

I haven't upgraded to Org 8 yet, but I see a later reply in this threads
mentions that it's quite easy, so I might try that first, to benefit from
the new exporter.

 For your R code blocks, see the :exports header argument.  It sounds
 like you'll want to set that to :exports both so you can see both your R
 code and its output in the html document.

Noted; thanks.





Re: [O] Guidance for preparing document with code

2013-05-29 Thread SabreWolfy
Hi Marcin,

Marcin Borkowski mbork at wmi.amu.edu.pl writes:

 Just my two cents: some time ago I had a problem with Org (not the
 exporter, it was MobileOrg), and I was advised to install the newest
 Org (8.0).  I was a bit afraid, but it turned out that the installation
 went /very/ smoothly.  And since the 8.0 has the new exporter, I'd
 suggest you switch, too.  (I used Elpa, but I was told that installing
 from git repo is as easy as that, too.)

I was holding off updating to Org 8, but I might do that first, as your
experience was a good one. My concern regarding updating was more related to
the long list of gotchas on the website about version 8 and functionality
changes.




Re: [O] Guidance for preparing document with code

2013-05-29 Thread SabreWolfy
Hi Sebastien,

Thanks for the explanation and the example, which I'm going to use to get me
started.





[O] Agenda items with date ranges

2013-02-07 Thread SabreWolfy
I remember that previously in Agenda view, entries such as:

,
| * A few days
| 2013-02-07 Thu--2013-02-14 Thu
`

would appear with a (1/8), (2/8), etc. preceding the entry.

I added a similar entry today in org-mode version 7.9.2, and it appeared in the
agenda without the (1/8), etc. I have searched here, asked on IRC and looked for
a variable to control this feature, but have not been successful. Any help would
be appreciated. Thanks.




Re: [O] Agenda items with date ranges

2013-02-07 Thread SabreWolfy
Bastien bzg at altern.org writes:

 I can't reproduce this problem.
 
 Can you reproduce it with latest Org? 

The agenda *shows* the (1/8), etc. in Org-Mode 7.8.11.

It does *not* show it in version 7.9.2 (Debian sid), so that's why I have
noticed it. If I get around to installing the latest version, I'll post feedback
here.