emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Wish: switch active time-stamps to inactive when CANCELED
@ 2013-01-18 10:34 Karl Voit
  2013-01-18 11:04 ` Daimrod
                   ` (2 more replies)
  0 siblings, 3 replies; 157+ messages in thread
From: Karl Voit @ 2013-01-18 10:34 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I tend to keep events that I do not attend in my calendar for
archiving reasons. But I switch their status to CANCELED.
Unfortunately, those events still appear on my Google calendar and
so forth. I get my usual reminders and it messes up my free/busy
list.

Therefore, I am thinking that canceled events should turn their
active time-stamps into inactive with an Org-mode option. This way,
I can recall them in my agenda by typing ']' (show inactive
time-stamps) but they do not interfere with my daily workflow.

What do you think of such an option for Org-mode?

-- 
Karl Voit

^ permalink raw reply	[flat|nested] 157+ messages in thread
* comma as decimal point: bug?
@ 2012-08-26 13:54 Rainer Thiel
  2012-08-26 20:57 ` Nicolas Goaziou
  2012-08-26 20:59 ` Bastien
  0 siblings, 2 replies; 157+ messages in thread
From: Rainer Thiel @ 2012-08-26 13:54 UTC (permalink / raw)
  To: emacs-orgmode mailing list

I have seen that as of v. 7.9, org tables are supposed to accept
commas as decimal points which is useful if you set up tables to be
used in in files where continental conventions are expected to be
followed.

But I cannot see this really works.  I should have expected that the
following two tables should provide the same result:

-->
| Items  | Price |
|--------+-------|
| Item 1 |  15.3 |
| Item 2 |   2.3 |
|--------+-------|
| Sum    |  17.6 |
#+TBLFM: @4$2=vsum(@II..@I)

| Items  | Price |
|--------+-------|
| Item 1 |  15,3 |
| Item 2 |   2,3 |
|--------+-------|
| Sum    |    23 |
#+TBLFM: @4$2=vsum(@II..@I)
<--

As you can see, the outcome is quite different, and wrong when commas
are used instead of decimal points.

The value of org-table-number-regexp should be the standard value in org 7.9:

-->
org-table-number-regexp is a variable defined in `org-table.el'.
Its value is
"^\\([<>]?[-+^.,0-9]*[0-9][-+^.,0-9eEdDx()%:]*\\|\\(0[xX]\\)[0-9a-fA-F]+\\|nan\\)$"
<--

Am I doing wrong something here, or is this a bug in org 7.9?

Best regards, and many thanks in advance

Rainer
-- 
Prof. Dr. Rainer Thiel
Institut für Altertumswissenschaften
07737 Jena, Germany (EU)
r.thiel@uni-jena.de

^ permalink raw reply	[flat|nested] 157+ messages in thread
* Replacement for org-make-link
@ 2012-08-20 17:03 Karl Voit
  0 siblings, 0 replies; 157+ messages in thread
From: Karl Voit @ 2012-08-20 17:03 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

http://orgmode.org/Changes.html tells me that org-make-link has been
deleted.

I am using following lines to add links to references I manage using
Org-mode: (from [1])

,----
| (defun org-ref-complete-link (&optional arg)
|   "Create a reference link using completion."
|   (let (file link)
|        (setq file (read-file-name "ref: " "~/archive/papers_from_web/"))
|        (let ((pwd (file-name-as-directory (expand-file-name ".")))
|          (pwd1 (file-name-as-directory (abbreviate-file-name
|                         (expand-file-name ".")))))
|          (setq file (string-replace "~/archive/papers_from_web/" "" file))
|          (setq file (string-replace pwd "" (string-replace pwd1 "" file)))
|          (setq file (string-replace ".bib" "" file))
|          (setq file (string-replace ".pdf" "" file))
|          (setq link (org-make-link "ref:" file)))
|     link))
`----

Can somebody with more knowledge than me suggest, what I should do
instead?

Thanks!


  1. http://draketo.de/light/english/free-software/custom-link-completion-org-mode-25-lines-emacs
-- 
Karl Voit

^ permalink raw reply	[flat|nested] 157+ messages in thread
* What HW/SW issues influence org/Emacs performance?
@ 2012-08-19 10:56 Karl Voit
  2012-08-19 11:23 ` Achim Gratz
  2012-08-19 16:45 ` Luis Anaya
  0 siblings, 2 replies; 157+ messages in thread
From: Karl Voit @ 2012-08-19 10:56 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I was thinking about which hardware and software attributes are the
most important factors for improving performance of Emacs and/or
Org-mode. The things I want to improve are 

(1) startup time of GNU Emacs (nice to have, no priority)

(2) using Org-mode agenda with approx. 20 Org-files 

(3) using agenda view including archive files 

The Org-mode files I regularly use in (2) contain 15,000 to 25,000
lines. The org_archive files contain more lines, three of them
40,000 to 130,000 lines with PROPERTY-drawers[1].

The biggest performance increase I'd like to see in moving in my
normal agenda (approx. 2-3s from one day to the next) and in my
agenda including the archive files (approx. 4-8s from one day to the
next). Usually, it is worth waiting :-)

On my system [3] I notice 100% load on one of my two cores when
Emacs is generating the agenda views. So I am not sure whether more
cores could increase the performance. Probably a faster CPU? Is
there something that makes Emacs use multiple cores in parallel?

We did some performance testing [1] for Memacs [2] but this only
tested a static situation on given platforms.

What do you think are the most important factors?

- CPU speed (of one core)
- type of CPU
- # CPU cores
- 32bit kernel vs. 64bit kernel
- faster I/O (through HDD->SSD or even faster SSD)
- choice of the file system (optimized for something? what?)
- operating system 
- possible ELISP optimizations (are there any besides compiling?)

Probably you already have an idea of a system which is designed to
be optimized for Emacs/Org-mode/Agenda ...? How does it look like?
:-)


... very curious about your thoughts ...

  1. https://github.com/novoid/Memacs/blob/master/docs/performance.org
  2. https://github.com/novoid/Memacs
  3. lenovo X200s, Core 2 Duo, SSD, Ubuntu 11.04, Gnome 2, GNU Emacs 23
-- 
Karl Voit

^ permalink raw reply	[flat|nested] 157+ messages in thread
* table: referencing row of other table
@ 2012-08-13 21:50 Karl Voit
  0 siblings, 0 replies; 157+ messages in thread
From: Karl Voit @ 2012-08-13 21:50 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I want to use the column "average" of the first table to fill the
column "h1" in the second one.

#+TBLNAME: 2012-08-12vkmeasure
| tags/item |    m1 |    m2 |    m3 | average |
|-----------+-------+-------+-------+---------|
|         4 |  0.02 |  0.03 |  0.02 |    0.02 |
|         5 |  0.06 |  0.12 |  0.06 |    0.08 |
|         6 |  0.31 |  0.53 |  0.29 |    0.38 |
|         7 |  3.83 |  4.08 |  4.48 |    4.13 |
|         8 | 85.33 | 89.22 | 92.07 |   88.87 |
#+TBLFM: $5 = vmean($2..$4);%.2f

| tags/item | h1 [s] | h2 [s] |
|-----------+--------+--------|
|         4 |        |        |
|         5 |        |        |
|         6 |        |        |
|         7 |        |        |
|         8 |        |        |
#+TBLFM: <fillme>

I tried following references but failed so far:

@2$2..@6$2=subscr(remote(2012-08-12vkmeasure,@2$5..@6$5),$#) #-> 0.08 0.08 ...
@2$2=remote(2012-08-12vkmeasure,@2$5) -> works for one value
@2$2..@6$2=subscr(remote(2012-08-12vkmeasure,@2$5..@6$5),$#) #-> 0.08 0.08 ...
$2=subscr(remote(2012-08-12vkmeasure,@I$>..@II$>),$#) 

What did I do wrong?

How is the correct TBLFM in order to get 0.02 ... 88.87 into the
h1-column?

Thanks for your help!

-- 
Karl Voit

^ permalink raw reply	[flat|nested] 157+ messages in thread
* Plotting (with gnuplot) using dates timestamps
@ 2012-03-26 13:37 Alan Schmitt
  2012-03-26 14:00 ` Allen S. Rout
                   ` (3 more replies)
  0 siblings, 4 replies; 157+ messages in thread
From: Alan Schmitt @ 2012-03-26 13:37 UTC (permalink / raw)
  To: emacs-orgmode Mode

Hello,

I'm trying to plot the following table, but the dates part is all wrong. Is there a way to tell gnuplot what the date format is?

#+tblname: data-table
| Date             |     HP |     HC |
|------------------+--------+--------|
| [2011-08-20 Sat] | 006815 | 008399 |
| [2011-08-29 Mon] | 006840 | 008438 |
| [2011-09-11 Sun] | 006946 | 008552 |
| [2011-12-11 Sun] | 007805 | 009603 |
| [2012-03-04 Sun] | 008800 | 010826 |
| [2012-03-11 Sun] | 008876 | 010930 |
| [2012-03-25 Sun] | 009015 | 011121 |

#+begin_src gnuplot :var data=data-table
reset

set title "Consommation Électrique"
set size ratio square

set xlabel "Date"

set yrange [6800:9100]
set ylabel "HP"
set ytics nomirror

set y2range [8000:12000]
set y2label "HC"
set y2tics nomirror

set style data points
plot data using 1:2 axis x1y1 title 'HP', \
     data using 1:3 axis x1y2 title 'HC'
#+end_src


Thanks,

Alan

^ permalink raw reply	[flat|nested] 157+ messages in thread
* [bug] org-agenda-write does not handle date stamps without day of week
@ 2012-03-05 14:44 Karl Voit
  2012-03-16 16:14 ` Karl Voit
  2012-03-17 14:04 ` Simon Thum
  0 siblings, 2 replies; 157+ messages in thread
From: Karl Voit @ 2012-03-05 14:44 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I verified the behavior below with the most current git version of
Org-mode.

Whenever I call my function to export the current agenda, it
«converts» events that do have a beginning and end time to events
that span the whole day (without begin and end times at all).

,----[ my LISP command to export ]
| (defun vk-export-agenda()
|   "Exports monthly Org-mode agenda to agenda.ics file"
|   (interactive)
|   (org-agenda-list nil nil 60)
|   (org-agenda-write "~/org/agenda.ics")
| )
`----

I traced down the problem to this:

* <2012-03-05 Mon 08:00-09:00> works fine
* <2012-03-05 Mon 8:00-9:00> works fine too

* <2012-03-05 08:00-09:00> Wrong: ends up as full day event

Unfortunately, I do have certain mechanisms that generate parts of
my Org-mode files where I skip the day of the week. Org-mode in
general is able to handle date stamps without day of week pretty
well. But whenever I export it to ics (in order to send it to
Google), I end up with a messed up online agenda.

I guess that org-agenda-write is the one to blame. It would be very
handy to me if somebody could fix that issue.

Let me know, if you need any further information!

Thank you very much!

-- 
Karl Voit

^ permalink raw reply	[flat|nested] 157+ messages in thread
* Recurring events with exceptions
@ 2011-10-18 16:52 Karl Voit
  2011-10-18 17:04 ` Brian Wightman
  0 siblings, 1 reply; 157+ messages in thread
From: Karl Voit @ 2011-10-18 16:52 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I am into a process to write a convert tool from my old calendar
software[1] to Org-mode.

Now I do have to define something like »this event is recurring each
week on Wednesday except 2011-10-26 and 2011-11-30«.

I already know that complex things have to be done using sexp
entries[2] but this does not seem to be possible with sexp either.

Before I do have to develop a method that generates multiple
distinct events for each recurring definition: is there another way
to achieve this?

Thanks!

  1. jPilot/DateBK6/PalmOS
  2. http://www.gnu.org/software/emacs/manual/html_node/emacs/Sexp-Diary-Entries.html
-- 
Karl Voit

^ permalink raw reply	[flat|nested] 157+ messages in thread
* How to debug "Specified time is not representable"
@ 2011-09-30 14:32 Karl Voit
  2011-09-30 14:52 ` Jambunathan K
  0 siblings, 1 reply; 157+ messages in thread
From: Karl Voit @ 2011-09-30 14:32 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

When I get «Specified time is not representable» while creating the
Agenda view, I want to get more information *where* the problem is.

I found [1] and following and so I got it that there is no way of
managing timestamps before 1970 :-(

Is there a way to get to the problematic time stamp?

  1. http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00729.html
-- 
Karl Voit

^ permalink raw reply	[flat|nested] 157+ messages in thread
* Referencing elemts of a table
@ 2011-06-07 15:55 Karl Voit
  2011-06-07 17:22 ` Michael Brand
  0 siblings, 1 reply; 157+ messages in thread
From: Karl Voit @ 2011-06-07 15:55 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I want to define "orgtblB line 2 (row 1 to 6)" should contain the
values "from orgtblA, last line, row 2 to 7".

I tried

    #+TBLFM: @2=remote(orgtblA,@2$2..@2$7)

and 

    #+TBLFM: @2$1..@2$6=remote(orgtblA,@2$2..@2$7)

but that results in a list of 6x 5 values in each field in row 2.

Here is an example of my org-tbl-reference-problem:
http://paste.grml.org/462/

Thanks for your help!

-- 
Karl Voit

^ permalink raw reply	[flat|nested] 157+ messages in thread

end of thread, other threads:[~2013-01-28  9:41 UTC | newest]

Thread overview: 157+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18 10:34 Wish: switch active time-stamps to inactive when CANCELED Karl Voit
2013-01-18 11:04 ` Daimrod
2013-01-18 11:08   ` Karl Voit
2013-01-18 11:24     ` Daimrod
2013-01-18 21:22       ` Karl Voit
2013-01-18 21:59         ` Viktor Rosenfeld
2013-01-18 22:50           ` Daimrod
2013-01-20 15:39           ` Karl Voit
2013-01-23 13:18           ` Bastien
2013-01-23 17:21             ` Viktor Rosenfeld
2013-01-24 14:11               ` Bastien
2013-01-18 23:10 ` Samuel Wales
2013-01-26 11:06 ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2012-08-26 13:54 comma as decimal point: bug? Rainer Thiel
2012-08-26 20:57 ` Nicolas Goaziou
2012-08-26 21:05   ` Bastien
2012-08-26 21:08     ` Nicolas Goaziou
2012-08-27 16:19       ` Bastien
2012-08-27 15:44   ` Karl Voit
2012-08-26 20:59 ` Bastien
2012-08-27  9:08   ` Rainer Thiel
2012-08-27 12:30     ` AW
2012-08-20 17:03 Replacement for org-make-link Karl Voit
2012-08-19 10:56 What HW/SW issues influence org/Emacs performance? Karl Voit
2012-08-19 11:23 ` Achim Gratz
2012-08-19 16:45 ` Luis Anaya
2012-08-13 21:50 table: referencing row of other table Karl Voit
2012-03-26 13:37 Plotting (with gnuplot) using dates timestamps Alan Schmitt
2012-03-26 14:00 ` Allen S. Rout
2012-03-26 14:06 ` Michael Brand
2012-03-26 14:07 ` Steven Buczkowski
     [not found]   ` <steven.buczkowski@gmail.com>
2012-03-26 14:37     ` Nick Dokos
2012-03-26 14:59       ` Alan Schmitt
2012-03-26 15:48         ` Karl Voit
2012-03-26 17:02           ` Alan Schmitt
2012-03-26 17:06             ` Karl Voit
2012-03-26 17:11               ` Ian Barton
2012-03-27  7:59                 ` Karl Voit
2012-03-30  1:09 ` Mueen Nawaz
2012-03-05 14:44 [bug] org-agenda-write does not handle date stamps without day of week Karl Voit
2012-03-16 16:14 ` Karl Voit
2012-03-17 14:04 ` Simon Thum
2012-03-19  9:13   ` Carsten Dominik
2011-10-18 16:52 Recurring events with exceptions Karl Voit
2011-10-18 17:04 ` Brian Wightman
2011-10-18 17:35   ` Karl Voit
2011-10-18 18:15   ` Skip Collins
2011-10-18 18:46     ` Tassilo Horn
2011-10-18 19:57     ` Eric S Fraga
2011-10-19  0:34       ` Skip Collins
2011-10-19 10:02         ` Eric S Fraga
2011-10-21 21:48           ` Skip Collins
2011-10-22  8:38             ` Sync with Outlook/Exchange (was: Recurring events with exceptions) Karl Voit
2011-10-24  7:13             ` Recurring events with exceptions Eric S Fraga
2011-09-30 14:32 How to debug "Specified time is not representable" Karl Voit
2011-09-30 14:52 ` Jambunathan K
2011-10-03 11:50   ` Karl Voit
2011-10-04  7:40     ` Jambunathan K
2011-10-04 11:42       ` Karl Voit
2011-10-04 12:13         ` Carsten Dominik
2011-10-04 11:41     ` Carsten Dominik
2011-10-04 11:47       ` Karl Voit
2011-06-07 15:55 Referencing elemts of a table Karl Voit
2011-06-07 17:22 ` Michael Brand
2011-06-08  0:05   ` kinouchou
2011-06-08  3:54     ` Jambunathan K
2011-06-08  4:25     ` Nick Dokos
2011-06-08 12:49   ` Karl Voit
2011-06-08 13:47     ` Michael Brand
     [not found]     ` <devnull@Karl-Voit.at>
2011-06-08 13:49       ` Nick Dokos
2011-06-24 14:32       ` org-time-stamp loses repeater interval Karl Voit
2011-06-24 16:08         ` Bernt Hansen
2011-06-24 16:01       ` Nick Dokos
2011-06-24 17:40         ` Michael Brand
2011-06-24 18:00           ` Nick Dokos
2011-06-26 11:30           ` Bug: " Karl Voit
2011-06-27 16:23             ` Bastien
2011-06-28 13:40               ` Karl Voit
2011-06-28 14:28                 ` Bastien
2011-06-28 15:04                   ` Nick Dokos
2011-06-28 15:13                   ` Karl Voit
2011-06-28 15:33                     ` Nick Dokos
2011-06-28 16:03                       ` Karl Voit
2011-06-28 15:48                     ` Bastien
2011-06-28 16:05                 ` Karl Voit
2011-06-28 17:27                   ` Bastien
2011-06-28 18:43                     ` Karl Voit
2011-06-28 23:02                       ` Bastien
2011-06-28 23:10                         ` Nick Dokos
2011-06-28 23:58                           ` Bastien
2011-06-29  1:44                             ` Nick Dokos
2011-06-29  7:28                               ` Sebastien Vauban
2011-06-29  9:30                                 ` Bastien
2011-06-29 14:34                                 ` Nick Dokos
2011-07-02 13:29                                   ` Bastien
2011-06-29 12:47                               ` Karl Voit
2011-07-02 13:26                                 ` Bastien
2011-07-02 13:26                               ` Bastien
2011-09-30 15:31       ` How to debug "Specified time is not representable" Nick Dokos
2011-10-18 17:26       ` Recurring events with exceptions Nick Dokos
2011-10-18 20:38         ` Karl Voit
2012-03-16 17:52       ` [bug] org-agenda-write does not handle date stamps without day of week Nick Dokos
2012-03-16 18:53         ` Karl Voit
2012-03-17  6:45       ` Nick Dokos
2012-03-19  9:12         ` Carsten Dominik
2012-03-20  5:54           ` Carsten Dominik
2012-03-20 12:26             ` Karl Voit
2012-03-20 13:47               ` Carsten Dominik
2012-04-10 17:38           ` Bastien
2012-04-10 17:44             ` Nick Dokos
2012-04-10 18:03               ` Bastien
2012-03-20 13:39       ` Nick Dokos
2012-03-21 16:32         ` Karl Voit
2012-03-21 16:57           ` Carsten Dominik
2012-03-26 16:10       ` Plotting (with gnuplot) using dates timestamps Nick Dokos
2012-08-13 22:27       ` table: referencing row of other table Nick Dokos
2012-08-13 22:44         ` Karl Voit
2012-08-19 12:32       ` What HW/SW issues influence org/Emacs performance? Nick Dokos
2012-08-19 13:04         ` Karl Voit
2012-08-20 17:23       ` Replacement for org-make-link Nick Dokos
2012-08-20 17:54         ` Bastien
2012-08-20 19:29           ` Karl Voit
2012-08-27 16:09       ` comma as decimal point: bug? Nick Dokos
2012-08-27 16:17         ` Karl Voit
2013-01-18 14:07       ` Wish: switch active time-stamps to inactive when CANCELED Nick Dokos
2013-01-18 21:24         ` Karl Voit
2013-01-18 21:59       ` Nick Dokos
2013-01-20 16:05         ` Karl Voit
2013-01-20 18:16           ` Viktor Rosenfeld
2013-01-21 10:18         ` Memnon Anon
2013-01-21 11:39           ` OT: Learning ELISP (was: Wish: switch active time-stamps to inactive when CANCELED) Karl Voit
2013-01-21 21:56             ` OT: Learning ELISP Jonathan Arkell
2013-01-23 14:40               ` Using Org/babel for Emacs config files (was: OT: Learning ELISP) Karl Voit
2013-01-23 15:52                 ` Using Org/babel for Emacs config files David Bjergaard
2013-01-23 22:06                 ` Using Org/babel for Emacs config files (was: OT: Learning ELISP) Darlan Cavalcante Moreira
2013-01-23 22:32                   ` Kyle Machulis
2013-01-24 13:27                     ` [OT] open url in emacs was: Re: Using Org/babel for Emacs config files Andreas Leha
2013-01-24 13:29                       ` Bastien
2013-01-24 14:13                         ` Andreas Leha
2013-01-24 15:19                           ` Bastien
2013-01-24 19:48                             ` Andreas Leha
2013-01-25  4:48                             ` Jambunathan K
2013-01-26  8:34                               ` Andreas Leha
2013-01-26 13:05                                 ` Jambunathan K
2013-01-28  9:41                                   ` Andreas Leha
2013-01-24 15:18                       ` Daimrod
2013-01-24  1:04                 ` Thorsten Jolitz
2013-01-24  1:33                   ` Thomas S. Dye
2013-01-24  8:42                     ` Thorsten Jolitz
2013-01-24 11:36                   ` full outline functionality in .el files: how? (was: Re: Using Org/babel for Emacs config files) Gregor Zattler
2013-01-24 12:48                     ` full outline functionality in .el files: how? Bastien
2013-01-24 13:40                       ` Thorsten Jolitz
2013-01-24 13:46                         ` Bastien
2013-01-24 14:17                           ` Thorsten Jolitz
2013-01-24 15:57                             ` Bastien
2013-01-24 13:36                     ` Thorsten Jolitz
2013-01-25 18:08                     ` Memnon Anon

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).