Re: [Orgmode] How to log diary or journal entries

2009-08-20 Thread meingbg
Christer,
I think what you want to do is similar to my clock list suggestion made to
the orgmode mailing list half an hour ago, only that I was looking for time
intervals rather than points in time. It's good to know I'm not the only one
looking for a feature of this kind.

Please look at my suggestion and tell how well it matches the feature you'd
like to see.

//meingbg

On Mon, Aug 17, 2009 at 7:58 PM, Christer Enfors enf...@enfors.net wrote:

 Hi. I discovered org-mode only last week, when I was looking around
 for Outline editors. It matched every last one of my requirements, and
 THEN some. It's awesome, as I'm sure you all know. As an added bonus,
 I can even access my outlines by connecting to my home machine through
 my phone's SSH client (my phone has a hardware keyboard and can fit
 80x24 characters on the screen). And I've been using Emacs on and off
 since 1995, so it was a perfect fit for me. I am *blown away*.

 Anyway!

 When I work on items, I like to add little log or diary entries in
 the text, describing things that have happened or things that I've
 done. Like this:

 --
 * Get SAD 2.0.1 ready for shipping
 DEADLINE: 2009-08-21
 [2009-08-17 07:58] I've been asked to get 2.0.1 ready as soon as
 possible.

 ** DONE Fix errors in version 2.0.0
 CLOSED: [2009-08-17]
 - [X] Log file ownership and permissions
 - [X] Wrong permissions on /usr/local
 - [X] Admin menu inaccessible
 [2009-08-17 10:03] After some tinkering around, I managed to fix all
 bugs.

 ** TODO Test SAD 2.0.1
 I should test using the latest replication software. I can get that
 from Sven-Åke.

 [2009-08-17 10:33] I need to find a machine to test with.

 [2009-08-17 10:55] Found one! Carl says I can use his testing machine.

 [2009-08-17 15:25] Ok, testing done. Found some bugs to fix.

 --

 See? Interspersed with the normal outline text, I put little log
 notes, sometimes more than one per entry.

 Now for my actual question: I want to see all these comments, from all
 over the file in ONE place. Perhaps in the Agenda view? The timeline?
 Perhaps in emacs's diary? It wouldn't hurt if this view also showed
 when I had completed todos. The purpose of this would that I would be
 able to look back at a specific day in the past, to see what I did
 that day. This would be helpful when it's time to write the time
 report.

 Is this possible?

 --
 -=-=- Christer Enfors -=-=-

   I do my music in pure machine code using an assembler.
- Rob Hubbard


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Clean Org Clock with step

2009-07-22 Thread meingbg
When using the :step day option in the clocktable, every day gets it's own
table. This is a great option! It can however easily be a lot of tables,
even if there's not too much information. Say for example there are only
items in two out of thirty tables.

Is there an option to show only non-empty tables? If not, would it be a good
idea to add such an option?

//M.G.
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Spreadsheet bug?

2009-07-22 Thread meingbg
I have a table like this one:

| a |  b | c |
|---++---|
| a |  2 | 2 |
| b |  3 | 7 |
| c | -3 | 4 |
| d |  5 | 9 |
#+TBLFM: $3=...@-1::@2$3=$2

Now, I want the value in column c in every row to be the sum of column b so
far. I try to achieve this by writing a column formula for column $3 and a
cell formula for cell @2$3. Note that cell @3$3 is incorrect whereas all the
other are correct. I have tried different formulas and values, and it seems
like the incorrect cell is the sum of three cells instead of two as
intended. @2$2 wasn't supposed to be part of the sum. Am I doing something
incorrectly here?

//M.G.
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Spreadsheet bug?

2009-07-23 Thread meingbg
 A good solution is to use
 $3=vsum(@-I$-1..$-1)
 as proposed in this thread:
 http://thread.gmane.org/gmane.emacs.orgmode/1940/focus=1941

That works for me, thanks!




 Nevertheless:

 If @2$3 is manually set to 2 in the table, then the formulas produce
 the expected outcome. So, the problem seems to be the order of
 execution. If column c is cleared and the formulas are executed, @2$3
 is read to be 0 for the summation and is set to 2 only afterwards.

If that was the case, wouldn't @3$3 sum up to 3+0=3? Now it shows 7.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Clean Org Clock with step

2009-07-24 Thread meingbg
Thank you, this one would save my eyes a bit!

Just looking at the output, maybe this could be implemented as a regexp
replace on the entire block performed after putting together the tables?
Just thinking it might save you some headache, if you don't think it's too
ugly of a hack.

And while I'm at it - my employer requires me to report not only what I'm
doing and how long it takes, but also when I'm doing it. I assume most
people wouldn't benefit from a feature like this, and that there are many
other things on the wish list with higher priority, so I'm just asking if
someone could point out an API guide or something like that, it would be
wonderful.

Thanks again!

//meingbg

On Thu, Jul 23, 2009 at 6:30 PM, Bastien bastiengue...@googlemail.comwrote:

 meingbg mein...@gmail.com writes:

  When using the :step day option in the clocktable, every day gets it's
 own
  table. This is a great option! It can however easily be a lot of tables,
 even
  if there's not too much information. Say for example there are only items
 in
  two out of thirty tables.
 
  Is there an option to show only non-empty tables? If not, would it be a
 good
  idea to add such an option?

 Yes, I think it would be a good idea.

 I've been looking into the code for this, but this is not trivial.
 I let Carsten sort this out :)

 --
  Bastien

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Script to get org-mode working on your cell phone.

2009-07-24 Thread meingbg
Hi,

I recently ran across this comment in the org-mode survey:


 I'm on the lookout for a cell phone that runs Emacs, but… I haven't
 found any mechanisms for remotely adding/editing timestamps,
 changing the state of TODO items, etc. Neither have I found a way
 to trigger reminder sounds, e-mails, phone calls, or IM messages.
 I'm not sure about the best way to approach mobile org-mode…
 A web-interface like Webjimbo? More robust import/export/sync to
 iCal or GData? If we can find a way to usefully sync org-mode with
 mobile devices, it'll be just about perfect.


After reading that comment, I wrote cellphone.el that makes it possible to
actually do stuff in emacs on your cell phone.
I have a cell phone with a ssh app, a (very) small qwerty keyboard and
left/right arrow keys, but since there's no Ctrl or Alt keys, working in
Emacs is a pain (every time you need the Ctrl key, you need to go through a
menu). cellphone.el works by setting up several cellphone keymaps. Each
cellphone keymap binds the letter keys a-z to commands of your choice. An
orgmode keymap is included as an example. You can easily select the keymap
with left/right arrow keys.

Please let me know your opinion about the script, as well as any tips of
getting more productive with orgmode on your cell phone.

The script is attached.

//meingbg


meingbg-cellphonemode.el
Description: Binary data
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Spreadsheet bug?

2009-07-24 Thread meingbg
 I suspect @2$3 was 4 when you evaluated the formulas, hence the 7.
 If you clear column c completely, what is the output of the evaluation then?

The same. And so now I can't reproduce my original problem... that's
good, I guess.

 A good solution is to use
 $3=vsum(@-I$-1..$-1)

That works. Thanks!


Here's another thing I'm trying:

| a |  b |   c |
|   |  7 | 210 |
|---++-|
| a |  2 |  30 |
| b |  3 |   5 |
| c | -3 |   2 |
| d |  5 |   7 |
#+TBLFM: @2$2=vsum(@3$...@6$2)::@2$3=vsum(@3$3..$LR3)

I want row 2 to contain sums for what's below. Is there a way to make
the LR-reference work here?

//meingbg


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[O] Bug: Export fails [8.2.10 (8.2.10-41-g42228a-elpa @ /home/USERNAME/.emacs.d/elpa/org-20150601/)]

2015-06-02 Thread meingbg
Steps to reproduce:
- Create a file file.org with the content * a
- In that file buffer, type C-x C-e h h

Expected:
- File file.html is created by the html exporter.

Actual:
- A message is shown: Invalid function: org-with-wide-buffer



Emacs  : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
 of 2014-03-07 on lamiak, modified by Debian
Package: Org-mode version 8.2.10 (8.2.10-41-g42228a-elpa @
/home/USERNAME/.emacs.d/elpa/org-20150601/)

current state:
==
(setq
 org-hide-leading-stars t
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-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 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-support-shift-select t
 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-from-is-user-regexp \\USERNAME\\
 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 '(er/add-org-mode-expansions
 #[nil \300\301\302\303\304$\207 [org-add-hook
change-major-mode-hook org-show-block-all append local] 5]
 (lambda nil (org-add-hook (quote change-major-mode-hook)
(quote org-babel-show-result-all) (quote append) (quote local)))
 org-babel-result-hide-spec org-babel-hide-all-hashes
turn-on-font-lock)
 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-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-hide-inline-tasks org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-agenda-use-time-grid nil
 org-cycle-open-archived-trees t
 org-todo-keywords '((sequence ✧ ✦ | ✓ ➔ ✗))
 org-agenda-skip-archived-trees nil
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-html-format-headline-function 'ignore
 org-html-format-inlinetask-function 'ignore
 org-agenda-files '(~/AGENDAFOLDER/)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )


Re: [O] Bug: Export fails [8.2.10 (8.2.10-41-g42228a-elpa @ /home/USERNAME/.emacs.d/elpa/org-20150601/)]

2015-06-02 Thread meingbg
On Tue, Jun 2, 2015 at 10:05 PM, Nicolas Goaziou m...@nicolasgoaziou.fr
wrote:

 Hello,

 meingbg mein...@gmail.com writes:

  Steps to reproduce:
  - Create a file file.org with the content * a
  - In that file buffer, type C-x C-e h h
 
  Expected:
  - File file.html is created by the html exporter.
 
  Actual:
  - A message is shown: Invalid function: org-with-wide-buffer

 It looks suspicious. Could you verify your Org installation? Also, could
 you show a full backtrace?


 Regards,

 --
 Nicolas Goaziou


Bug died after restarting emacs, which I hadn't done after org-mode
installation. Sorry.