[Orgmode] unordered list feature request: new sub-lists automatically switch to different list-character

2010-05-20 Thread Livin Stephen Sharma

Context/Sample org content

current
 unordered list
 + topA
   + innerA1
   + innerA2
 + topB
   + innerB1


proposed
 unordered list
 + topA
   - innerA1 <--- '-' used automatically instead of '+'
   - innerA2 <--- " " "
 + topB
   - innerB1 <--- " " "

-


When creating nested/child lists ('innerX' items) under an existing list item 
('topX' items),
the current behaviour does not make an effort to change the leading 
list-denoter character (-,+,*).

Could a feature be provided where creating a such a child-list would make this 
list's items begin with a different list-denoter?

I find it helps readability (and hence efficiency when working with lists) when 
I manually (S-left, S-right) do this. If others agree, perhaps this could be 
provided as a built-in feature?

I don't know lisp, (& it's increasingly looking like it may be time to *find* 
the time to learn JJ) so I can't code this myself.



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


Re: [Orgmode] Re: Clear image cache

2010-05-20 Thread Nick Dokos
Dan Davison  wrote:


> Could someone tell me how to find out which commit corresponds to a
> certain release (e.g. 6.36c)?
> 

Do ``git fetch --tags'', then ``git tag'' to see the list of tags:

...
release_6.35i
release_6.36
release_6.36c
test_5.21_tagging


Then ``git show release_6.36c'':

,
| $ git show release_6.36c
| commit 4e128323d4631f73627693db88cd30a4ff083bf6
| Author: Carsten Dominik 
| Date:   Thu May 13 19:52:16 2010 +0200
| 
| Release 6.36c
| 
| diff --git a/README_DIST b/README_DIST
| index 22392e3..8b7b933 100644
| --- a/README_DIST
| +++ b/README_DIST
| @@ -1,7 +1,7 @@
| ...
`

HTH,
Nick


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


[Orgmode] Re: Announce: Org-mode's Patchwork server up and running

2010-05-20 Thread Dan Davison
Carsten Dominik  writes:

> On May 20, 2010, at 11:29 PM, John Wiegley wrote:
>
>> Any patches submitted to this mailing list are automatically
>> registered for review at the following server:
>>
>>http://patchwork.newartisans.com/project/org-mode/list/
>>
>> There, the maintainers will review and accept patches submitted for
>> Org-mode.  You can always look at your own patches and see their
>> current status.
>>
>> I'm still working to get the system not to show e-mail addresses
>> unless you're logged in with a registered account.
>
> This is great, John, thanks for moving so fast!
>
> We need to work out the rules how to exactly work with this, how to
> assign the issue to a responsible person.  But I see that there is
> already an interface for this.  I'll give it a try soon - I see that
> you will look at Bernt's patch.  THanks!

The patchwork web page says

,
| Patches that have been sent to a mailing list are 'caught' by the
| system, and appear on a web page. Any comments posted that reference the
| patch are appended to the patch page too.
`

I was kind of expecting my mailing list post in the same thread that
contained the patch to appear on the patchwork page, but that didn't
seem to happen. How exactly do we "reference the patch"?

Dan

>
> - Carsten
>
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Clear image cache

2010-05-20 Thread Dan Davison
Russell Adams  writes:

> FYI,
>
> That was from a ML post, I cannot take credit. Thanks to who posted
> it, it helped me out!

No problem.

> In response to the other, I just downloaded 6.36c from the website
> *today* and had to apply that patch to make it work.

OK, that makes sense, as I've just downloaded the 6.36c tarball to check
and it does not contain the commit in question (144492025355).

[...]
>> > This issue was supposed to have been fixed by commit
>> > 14449202535562b3d3d91c753fdead00a64caa79, see
>> 
>> Russell's patch was just applied, let me know if it is unnecessary and 
>> should be reverted.

So, John -- yes, could you revert that please as the issue has been
fixed subsequent to 6.36.

Could someone tell me how to find out which commit corresponds to a
certain release (e.g. 6.36c)?

Dan

>> 
>> John
>> 
>> ___
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>> 
>
>
> --
> Russell Adamsrlad...@adamsinfoserv.com
>
> PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
>
> Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Clear image cache

2010-05-20 Thread Russell Adams
FYI,

That was from a ML post, I cannot take credit. Thanks to who posted
it, it helped me out!

In response to the other, I just downloaded 6.36c from the website
*today* and had to apply that patch to make it work.

Thanks.

On Thu, May 20, 2010 at 06:25:26PM -0400, John Wiegley wrote:
> On May 20, 2010, at 6:14 PM, Dan Davison wrote:
> 
> > This issue was supposed to have been fixed by commit
> > 14449202535562b3d3d91c753fdead00a64caa79, see
> 
> Russell's patch was just applied, let me know if it is unnecessary and should 
> be reverted.
> 
> John
> 
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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


Re: [Orgmode] video of the org-mode git repository

2010-05-20 Thread Thomas S. Dye

On May 19, 2010, at 8:05 PM, Eric Schulte wrote:

So this has been done before, but I recently stumbled across the  
gource
(http://code.google.com/p/gource/) tool for visualization of git  
commit

histories, and I applied it to Org-mode's git repository.

See the results at http://vimeo.com/11889681

Cheers -- Eric



Eric,

Thanks for this.  The visualization of the Org-mode project history is  
extremely interesting.


Tom

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


[Orgmode] Question about org-emph-re

2010-05-20 Thread Robert Goldman
I have been trying to make the generic exporter do fontification (bold,
italic, underline, etc.) and have fairly successfully managed to do this
by cargo-culting the code in org-latex.

But I've run myself on a rock.  I can't figure out what the various
matches are that you get when you match org-emph-re.  There are at least
5 matches, and some may be empty, etc.  I don't /believe/ these are
documented anywhere (or I didn't find the docs).

Can anyone tell me what (match-string x) will be after a (string-match
org-emph-re string) call?  Or tell me where to look to figure it out?

If so, I think I can get the fontification to work for org-generic-export.

(also, emacs-lisp question --- is there some way to /clear/ all the
registers for MATCH-STRING?  When I have been doing this, I have
occasionally had troubles where match-string outputs from previous calls
to string-match seem to "bleed through.")

thanks!
r

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


Re: [Orgmode] Re: Co-maintainer, a least for some time?

2010-05-20 Thread Greg Newman
wow.  I had no idea John.  Thanks for letting me know!!

On Thu, May 20, 2010 at 6:24 PM, John Wiegley  wrote:

> On May 20, 2010, at 5:57 PM, Greg Newman wrote:
>
> I have a mirror of Org up on Bitbucket at
> http://bitbucket.org/mirror/org-mode
> It wouldn't take much to have Jesper turn on the issues feature for it if
> there is interest. (just sayin)
>
>
> I have a Git mirror on http://github.com/jwiegley/org-mode (have had for
> some time), and it's issue tracking feature is already on.
>
> John
>
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Easier integration of org-mode and Bugzilla

2010-05-20 Thread John Wiegley
I use Org-mode for tracking all tasks, including Bugzilla issues.  But I also 
use remember.el for quickyl creating new tasks, some of which should then go 
into BZ.

The following setup lets me just type "x z" on a task in the Agenda, and a 
related Bugzilla task is automatically created.  Note that this code will have 
to be edited to work in your environment.

First, I have a special link name for these bugs:

#+LINK: cegbug https://portal/bugzilla/show_bug.cgi?id=

Second, you need the bugzilla-submit script, attached to this mail.  You can 
also find this script in the Bugzilla distribution.

Third is this function, several ports of which you will need to edit (though it 
should be pretty obvious):

(defun make-bugzilla-bug (product component version priority severity)
  (interactive
   (let ((omk (get-text-property (point) 'org-marker)))
 (with-current-buffer (marker-buffer omk)
   (save-excursion
 (goto-char omk)
 (let ((products
(list (list "ABC" (list "Admin" "User" "Other" "CSR")
(list "3.0"))
  (list "Bizcard" (list "Catalog" "Content Section"
"Uploader" "Visual Aesthetics"
"webui")
(list "unspecified"))
  (list "Adagio" (list "DTSX" "PTS" "Satellite" "Zips"
   "Core")
(list "unspecified"))
  (list "IT" (list "install" "network" "repair" "misc")
(list "unspecified"))
  (list "EVAprint" (list "misc")
(list "1.0"
   (priorities (list "P1" "P2" "P3" "P4" "P5"))
   (severities (list "blocker" "critical" "major"
 "normal" "minor" "trivial"))
   (product (org-get-category)))
   (list product
 (let ((components (nth 1 (assoc product products
   (if (= 1 (length components))
   (car components)
 (ido-completing-read "Component: " components
  nil t nil nil (car (last 
components)
 (let ((versions (nth 2 (assoc product products
   (if (= 1 (length versions))
   (car versions)
 (ido-completing-read "Version: " versions
  nil t nil nil (car (last versions)
 (let ((orgpri (nth 3 (org-heading-components
   (if (and orgpri (= ?A orgpri))
   "P1"
 (ido-completing-read "Priority: " priorities
  nil t nil nil "P3")))
 (ido-completing-read "Severity: " severities nil t nil nil
  "normal") ))
  (if (string= product "Bizcard")
  (setq product "BizCard"))
  (let ((omk (get-text-property (point) 'org-marker)))
(with-current-buffer (marker-buffer omk)
  (save-excursion
(goto-char omk)
(let ((heading (nth 4 (org-heading-components)))
  (contents (buffer-substring-no-properties
 (org-entry-beginning-position)
 (org-entry-end-position)))
  bug)
  (with-temp-buffer
(insert contents)
(goto-char (point-min))
(delete-region (point) (1+ (line-end-position)))
(search-forward ":PROP")
(delete-region (match-beginning 0) (point-max))
(goto-char (point-min))
(while (re-search-forward "^   " nil t)
  (delete-region (match-beginning 0) (match-end 0)))
(goto-char (point-min))
(while (re-search-forward "^SCHE" nil t)
  (delete-region (match-beginning 0) (1+ (line-end-position
(goto-char (point-min))
(when (eobp)
  (insert "No description file.")
  (goto-char (point-min)))
(insert (format "Product: %s
Component: %s
Version: %s
Priority: %s
Severity: %s
Hardware: Other
OS: Other
Summary: %s" product component version priority severity heading) ?\n ?\n)
(let ((buf (current-buffer)))
  (with-temp-buffer
(let ((tmpbuf (current-buffer)))
  (if nil
  (insert "Bug 999 posted.")
(with-current-buffer buf
  (shell-command-on-region
   (point-min) (point-max)
   "~/bin/bugzilla-submit https://portal/bugzilla/";
   tmpbuf)))
  (goto-char (point-min))
  (re-search-forward "Bug \\([0-9]+\\) posted.")
  (setq bug (match-string 1))
  (save-excursion
 

[Orgmode] Re: video of the org-mode git repository

2010-05-20 Thread Eric Schulte
Dan Davison  writes:

[...]
> Eric -- any tips on building gource and the command line used to produce
> the video? Did you do it on OS X or linux?

Hi Dan,

I found it really easy to get running on Linux (Ubuntu 10.04), luckily
all of the dependencies in the INSTALL file of the tarball can be
coppied and pasted into a single apt-get command to resolve all package
dependencies.

They offer instructions for generating a video at the following page
http://code.google.com/p/gource/wiki/Videos

I used the following command
: ./gource -a 1 -s 0.25 --highlight-all-users --hide filenames -640x480 
--output-framerate 30 --disable-progress --stop-at-end --output-ppm-stream - 
~/src/org |ffmpeg -y -b 2000k -r 30 -f image2pipe -vcodec ppm -i - 
~/Desktop/org-git-history.mp4

Cheers -- Eric

> I got gource to build on ubuntu after installing a bunch of
> graphics-related packages, and I found a possible-looking command line
> at
>
> http://michaeldehaan.net/2010/01/15/source-code-visualization-with-gource/
>
> using that I get
>
> gource -s 0.03 --auto-skip-seconds 0.1 --file-idle-time 500 --max-files 500 
> --multi-sampling -1280x720 --stop-at-end   --output-ppm-stream - | ffmpeg -y 
> -b 3000K -r 24 -f image2pipe -vcodec ppm -i - -vcodec mpeg4 gource.mp4
> gource: SDL initialization failed - Couldn't find matching GLX visual
>
> which makes me worry that it's just not going to happen on my netbook's
> graphics card. But am speaking from position of almost complete
> ignorance.
>
> Dan
>
>>
>> BTW, you reminded me of the main character from Williams' 80s arcade
>> game Robotron!
>>
>> http://www.youtube.com/watch?v=TPIbQnPA4gY&feature=related
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Clear image cache

2010-05-20 Thread John Wiegley
On May 20, 2010, at 6:14 PM, Dan Davison wrote:

> This issue was supposed to have been fixed by commit
> 14449202535562b3d3d91c753fdead00a64caa79, see

Russell's patch was just applied, let me know if it is unnecessary and should 
be reverted.

John

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


Re: [Orgmode] Re: Co-maintainer, a least for some time?

2010-05-20 Thread John Wiegley
On May 20, 2010, at 5:57 PM, Greg Newman wrote:

> I have a mirror of Org up on Bitbucket at http://bitbucket.org/mirror/org-mode
> It wouldn't take much to have Jesper turn on the issues feature for it if 
> there is interest. (just sayin)

I have a Git mirror on http://github.com/jwiegley/org-mode (have had for some 
time), and it's issue tracking feature is already on.

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


[Orgmode] GNOWSYS emacs web services (was: Re: Is there a good way to use org as blog system?)

2010-05-20 Thread Sandro Giessl
Hi Nagarjuna,

I happily discovered that a student was assigned to this project [1] in
this year's GSoC:

  GNOWSYS emacs web services for The GNU Project

  Abstract:   Idea is to develop an emacs like editor with the org
  specific semantics for the purpose of note taking & authoring. Applying
  the rules of Org notations, it can also be extended to incorporate
  gnowsys-mode as it currently works in emacs. Export like features of
  Org-mode will be made possible in this editor by communicating through
  local emacs server. All the gnowsys-mode specific commands will pass on
  the request to the GNOWSYS server via local emacs daemon.

So this sounds like it's going to be generic enough to be useful for
orgmode as well.  I imagine smartphone+orgmode users will profit from
this, because the web browser would be a nice interface in addition to
using emacs' gui/terminal interface.

Enough of showing my appreciation, and good luck to Divya S (the
student who's in charge)!

Regards,
Sandro

1: 
http://socghop.appspot.com/gsoc/student_project/show/google/gsoc2010/gnuproject/t127230759527


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


[Orgmode] Re: Clear image cache

2010-05-20 Thread Dan Davison
Russell Adams  writes:

> FYI,
>
> I just updated to 6.36c and still have the issue of cached images not
> refreshing. I had to apply this patch from the ML, which fixed it.

Hi Russell,

This issue was supposed to have been fixed by commit
14449202535562b3d3d91c753fdead00a64caa79, see

http://article.gmane.org/gmane.emacs.orgmode/25149

Indeed, I am getting automatic refresh of R images.

My understanding is that 6.36 corresponds to
d56d417bc214088114e10c959ce78bee2d26635d and therefore should include
the above commit.

Could you double check that you don't have a stale org.elc?

Dan

>
> Love those inline R graphs!
>
> Thanks.
>
> --- org.el~ 2010-05-13 13:10:48.0 -0500
> +++ org.el  2010-05-20 10:12:45.0 -0500
> @@ -15506,6 +15506,7 @@
>  (defun org-remove-inline-images ()
>"Remove inline display of images."
>(interactive)
> +  (clear-image-cache)
>(mapc 'delete-overlay org-inline-image-overlays)
>(setq org-inline-image-overlays nil))
>
>
> --
> Russell Adamsrlad...@adamsinfoserv.com
>
> PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
>
> Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-toodledo : sycning org-mode and Toodledo

2010-05-20 Thread Mark Elston

I just noticed, however, that setting a Deadline in Toodledo
does set the DEADLINE in org.

Guess I need to start diving into the code.

Mark

On 5/20/2010 2:42 PM, Mark Elston wrote:

Sven,

I have been playing with this today as well and can't get DEADLINES
to work. How did you do it? When I set a deadline in org and sync
it doesn't show up in Toodledo.

In fact, I set a Start Date in Toodledo and did an update and
my Scheduled date in org went away.


Mark

On 5/20/2010 2:18 AM, Sven Bretfeld wrote:

Hi Giovanni and all others

Giovanni Ridolfi writes:


Just for information:

Two days ago (May 16th, 2010 ) Sacha Chua published a blog post with
her contribution to org-toodledo.el - Toodledo integration for Emacs
Org mode

http://sachachua.com/wp/2010/05/org-toodledo/

The code is available also on GitHub at
http://github.com/sachac/org-toodledo

Perhaps it is worth to look at it.


Yes it definitely is. I'm playing with it at the moment. There are also
some Toodledo clients available for Android.

Here are some problems I encountered:

1. _Tags are ignored._

Toodledo discriminates between Contexts and Tags. The preamble of
org-toodledo.el states that both are mapped to what is called tags in
orgmode (e.g. :@HOME:). But Toodledo-tags are ignored in the
sync-process (both ways), while contexts are working fine.

2. _Start Dates are ignored._

Toodledo's Start Dates should be mapped to SCHEDULED in orgmode
according to the preamble. This is also not working for me. DEADLINE
(Due Date) is working fine.

3. _Diacritics_

German (and probably other) umlauts break the upload. A task like
** TODO Test für Uploads
ends up like "Test f" in Toodledo. Downloading similar entries end up in
the wrong encoding in orgmode.

4. _Time_

Using the Due Time field (instead of Due Date) in Toodledo breaks the
sync process: "Wrong type argument: stringp nil".

5. _Appointments?_

Is there any way to use normal active timestamps? Toodledo has no
calender nor a function for appointments. It would be nice to use
Toodledo to at least capture appointments. I've tried to
manually add a timestamp like<2010-05-27 11:00> to the headline or
the textfield, but that doesn't work due to the encoding problem
mentioned above: The< character will be changed during the sync
process.

Greetings,

Sven


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Co-maintainer, a least for some time?

2010-05-20 Thread Greg Newman
I have a mirror of Org up on Bitbucket at
http://bitbucket.org/mirror/org-mode
It wouldn't take much to have Jesper turn on the issues feature for it if
there is interest. (just sayin)

On Thu, May 20, 2010 at 5:34 PM, John Wiegley  wrote:

> On May 20, 2010, at 1:52 PM, Thomas Renkert wrote:
>
> > What about using launchpad.net for bugtracking?
>
> GitHub also has simple issue tracking, with the advantage that it can bind
> very closely with Git commits.
>
> John
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] video of the org-mode git repository

2010-05-20 Thread Carsten Dominik


On May 20, 2010, at 11:50 PM, Mark Elston wrote:


On 5/20/2010 8:20 AM, Carsten Dominik wrote:


On May 20, 2010, at 8:05 AM, Eric Schulte wrote:

So this has been done before, but I recently stumbled across the  
gource
(http://code.google.com/p/gource/) tool for visualization of git  
commit

histories, and I applied it to Org-mode's git repository.

See the results at http://vimeo.com/11889681


Awesome! Even though I look like a hyperactive kid with a laser  
gun :-)


Cheers

- Carsten



More like a hyperactive bee pollinating flowers...



Yes, this is better!  Thanks!  I feel better now... :-)



Mark

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


- Carsten




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


Re: [Orgmode] video of the org-mode git repository

2010-05-20 Thread Mark Elston

On 5/20/2010 8:20 AM, Carsten Dominik wrote:


On May 20, 2010, at 8:05 AM, Eric Schulte wrote:


So this has been done before, but I recently stumbled across the gource
(http://code.google.com/p/gource/) tool for visualization of git commit
histories, and I applied it to Org-mode's git repository.

See the results at http://vimeo.com/11889681


Awesome! Even though I look like a hyperactive kid with a laser gun :-)

Cheers

- Carsten



More like a hyperactive bee pollinating flowers...

Mark

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


Re: [Orgmode] org-toodledo : sycning org-mode and Toodledo

2010-05-20 Thread Mark Elston

Sven,

I have been playing with this today as well and can't get DEADLINES
to work.  How did you do it?  When I set a deadline in org and sync
it doesn't show up in Toodledo.

In fact, I set a Start Date in Toodledo and did an update and
my Scheduled date in org went away.


Mark

On 5/20/2010 2:18 AM, Sven Bretfeld wrote:

Hi Giovanni and all others

Giovanni Ridolfi  writes:


Just for information:

Two days ago (May 16th, 2010 ) Sacha Chua published a blog post with
her contribution to org-toodledo.el - Toodledo integration for Emacs
Org mode

http://sachachua.com/wp/2010/05/org-toodledo/

The code is available also on GitHub at
http://github.com/sachac/org-toodledo

Perhaps it is worth to look at it.


Yes it definitely is. I'm playing with it at the moment. There are also
some Toodledo clients available for Android.

Here are some problems I encountered:

1. _Tags are ignored._

Toodledo discriminates between Contexts and Tags. The preamble of
org-toodledo.el states that both are mapped to what is called tags in
orgmode (e.g. :@HOME:). But Toodledo-tags are ignored in the
sync-process (both ways), while contexts are working fine.

2. _Start Dates are ignored._

Toodledo's Start Dates should be mapped to SCHEDULED in orgmode
according to the preamble. This is also not working for me. DEADLINE
(Due Date) is working fine.

3. _Diacritics_

German (and probably other) umlauts break the upload. A task like
** TODO Test für Uploads
ends up like "Test f" in Toodledo. Downloading similar entries end up in
the wrong encoding in orgmode.

4. _Time_

Using the Due Time field (instead of Due Date) in Toodledo breaks the
sync process: "Wrong type argument: stringp nil".

5. _Appointments?_

Is there any way to use normal active timestamps? Toodledo has no
calender nor a function for appointments. It would be nice to use
Toodledo to at least capture appointments. I've tried to
manually add a timestamp like<2010-05-27 11:00>  to the headline or
the textfield, but that doesn't work due to the encoding problem
mentioned above: The<  character will be changed during the sync
process.

Greetings,

Sven


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


Re: [Orgmode] Announce: Org-mode's Patchwork server up and running

2010-05-20 Thread Carsten Dominik


On May 20, 2010, at 11:29 PM, John Wiegley wrote:

Any patches submitted to this mailing list are automatically  
registered for review at the following server:


   http://patchwork.newartisans.com/project/org-mode/list/

There, the maintainers will review and accept patches submitted for  
Org-mode.  You can always look at your own patches and see their  
current status.


I'm still working to get the system not to show e-mail addresses  
unless you're logged in with a registered account.


This is great, John, thanks for moving so fast!

We need to work out the rules how to exactly work with this, how to  
assign the issue to a responsible person.  But I see that there is  
already an interface for this.  I'll give it a try soon - I see that  
you will look at Bernt's patch.  THanks!


- Carsten


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


Re: [Orgmode] Re: Co-maintainer, a least for some time?

2010-05-20 Thread John Wiegley
On May 20, 2010, at 1:52 PM, Thomas Renkert wrote:

> What about using launchpad.net for bugtracking?

GitHub also has simple issue tracking, with the advantage that it can bind very 
closely with Git commits.

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


Re: [Orgmode] should show-branches fold subtree?

2010-05-20 Thread Juri Krivov
On Thu, May 20, 2010 at 9:40 AM, Carsten Dominik
wrote:

> Hi Ali,
>
> this makes sense, and it is now working like this.
>
> - Carsten

Great!  I have also wanted this key to work more consistently.  Thanks!

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


[Orgmode] Announce: Org-mode's Patchwork server up and running

2010-05-20 Thread John Wiegley
Any patches submitted to this mailing list are automatically registered for 
review at the following server:

http://patchwork.newartisans.com/project/org-mode/list/

There, the maintainers will review and accept patches submitted for Org-mode.  
You can always look at your own patches and see their current status.

I'm still working to get the system not to show e-mail addresses unless you're 
logged in with a registered account.

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


Re: [Orgmode] Co-maintainer, a least for some time?

2010-05-20 Thread John Wiegley
On May 20, 2010, at 10:22 AM, David Maus wrote:

> Both systems would form a queue of things to be done: The organizing
> task consists of (a) reviewing non-patch-issues and (b) reviewing open
> patch-issues in patchwork and (c) make decisions (e.g. apply patch,
> comment, etc.).
> 
> This is something I volunteer to do.

I currently use Org-mode to track issues in another open source project, 
Ledger.  It has worked quite well for me, but then I haven't had to share the 
contents of this file with other people yet.

I also have a Bugzilla running on the same server that now hosts Patchwork.  If 
you discover that such an issue tracker would be easier to manage for you, I'd 
be happy to setup an Org-mode product within it.

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


Re: [Orgmode] [PATCH] Set org-clock-clocking-in when calling org-clock-out from org-clock-in

2010-05-20 Thread John Wiegley
On May 20, 2010, at 12:20 PM, Bernt Hansen wrote:

> Here's the updated patch which seems to work just as well.

Thanks, Bernt, I'll try to get this in today.  Still working out kinks in our 
new patch acceptance system. :)

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


[Orgmode] Re: Heirarchy and indenting of plain text belonging to headline of same indent

2010-05-20 Thread Matthew Lundin
Robin Message  writes:

> Alternatively, is there some kind of headline ending command or some
> way of easily adding one, e.g.
> * Head 1
>   Body 1
> *** Head 2
> Body 2
> ***$
>   More Body 1

Stephan mentioned org-inline tasks, which has the following syntax:

--8<---cut here---start->8---
* Head 1
  Body 1
*** Head 2
Body 2
*** END
  More body 1.
--8<---cut here---end--->8---

Depending on your needs, there are a few other options for marking off
text within a headline:

   1. Drawers. I often use a :NOTES: drawer to store items I don't want
  exported.

   2. Source code blocks. #+begin src: ... #+end src:

   3. Plain lists.

I'd imagine it depends on what you need this functionality for.

Best,
Matt


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


Re: [Orgmode] Re: tab visibility cycling doesn't work over putty/ssh with viper-mode enabled

2010-05-20 Thread Jan Böcker
On 05/20/2010 06:14 AM, Herbert Sitz wrote:
> Herbert Sitz  nwlink.com> writes:
>>
>> With viper-mode enabled all I get is a bell when I click on tab to cycle the
>> visibility of a heading in viper's normal mode.  
>>

Hi Herbert,

I could not reproduce this here (Ubuntu 10.04 host, Putty on Windows 7).
I have no experience with viper-mode and only know very basic vi
commands. When viper-mode asked me for  a user level, I specified 5.

Org-mode version 6.36trans (release_6.36.52.geec2)

Visibility cycling with TAB works both in command and insert mode.
I can also access the agenda using C-c a a.

Looks like putty is misconfigured. While quickly scanning through
putty's configuration menu, the only setting I noticed was "Connection
-> Data -> Terminal-type string", which is set to "xterm" here.

However, I did not modify the default values, so it should work out of
the box.

You can try logging in with putty, executing "sleep 5", and interrupting
that with C-c. If that does not work, the problem is definitely not
emacs related.

HTH, Jan


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


[Orgmode] Re: Jumping to scheduled item from agend doesn't put cursor on to the heading

2010-05-20 Thread Matt Lundin
Tom  writes:

> If I jump to a regular TODO item from the agenda then cursor is
> put on the heading line. In case of a scheduled agenda item
> cursor is put to the timestamp. Is it intentional?
>
> I often put text content after the heading and before the
> SCHEDULED timestamp, because I can easily modify the timestamp
> with a hotkey, so it doesn't need to be right after the heading,
> I rather put text content there for convenience. When I jump to
> the heading from the agenda it puts the cursor to the timestamp
> which can be at the end of the heading and it would be more
> useful to have the cursor at the beginning, because my useful
> content is usually there.
>
> Shouldn't jumping from agenda be consistent in this respect and
> put the cursor always on the heading line like it does for
> regular TODO items?
>

I believe this is the intended behavior. You can alter the position of
the cursor by using the following hook:

,
| org-agenda-after-show-hook is a variable defined in `org-agenda.el'.
| Its value is shown below.
| 
|   This variable is potentially risky when used as a file local variable.
| 
| Documentation:
| Normal hook run after an item has been shown from the agenda.
| Point is in the buffer where the item originated.
`

Best,
Matt

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


Re: [Orgmode] Re: video of the org-mode git repository

2010-05-20 Thread Sebastian Rose
Dan Davison  writes:
> Richard Riley  writes:
>
>> Carsten Dominik  writes:
>>
>>> On May 20, 2010, at 8:05 AM, Eric Schulte wrote:
>>>
 So this has been done before, but I recently stumbled across the  
 gource
 (http://code.google.com/p/gource/) tool for visualization of git  
 commit
 histories, and I applied it to Org-mode's git repository.

 See the results at http://vimeo.com/11889681


WOW! That's so cool!



  Sebastian

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


[Orgmode] Re: video of the org-mode git repository

2010-05-20 Thread Sivaram Neelakantan
On Thu, May 20 2010,Carsten Dominik wrote:


[snipped 8 lines]

>> See the results at http://vimeo.com/11889681
>
> Awesome!  Even though I look like a hyperactive kid with a laser gun :-)
>

I was going to say it reminded me of star wars and you hopping from
one cluster to another. :-)

[snipped 11 lines]



 sivaram
 -- 


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


[Orgmode] Re: Co-maintainer, a least for some time?

2010-05-20 Thread Thomas Renkert
What about using launchpad.net for bugtracking?

Bugreports and code reviews can be done via email so they could be cc:ed
to the traditional mailing list while they would show up at the same
time in the web interface.

Also, launchpad encourages more non-programming users to send in and
react on bugs and patches via the "answers"-interface.

By this, maybe at least some of the maintenance tasks can be distributed
more evenly among people who would occasionaly check out a few lines of
code but who don't feel familiar enough with lisp an a large scale.

Just a thought...

Cheers,
Thomas Renkert

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


[Orgmode] Re: video of the org-mode git repository

2010-05-20 Thread Dan Davison
Richard Riley  writes:

> Carsten Dominik  writes:
>
>> On May 20, 2010, at 8:05 AM, Eric Schulte wrote:
>>
>>> So this has been done before, but I recently stumbled across the  
>>> gource
>>> (http://code.google.com/p/gource/) tool for visualization of git  
>>> commit
>>> histories, and I applied it to Org-mode's git repository.
>>>
>>> See the results at http://vimeo.com/11889681
>>
>> Awesome!  Even though I look like a hyperactive kid with a laser gun :-)
>>
>
>
> Really amazing!

Yeah, that is strangely fun to watch.

Eric -- any tips on building gource and the command line used to produce
the video? Did you do it on OS X or linux? I got gource to build on
ubuntu after installing a bunch of graphics-related packages, and I
found a possible-looking command line at

http://michaeldehaan.net/2010/01/15/source-code-visualization-with-gource/

using that I get

gource -s 0.03 --auto-skip-seconds 0.1 --file-idle-time 500 --max-files 500 
--multi-sampling -1280x720 --stop-at-end   --output-ppm-stream - | ffmpeg -y -b 
3000K -r 24 -f image2pipe -vcodec ppm -i - -vcodec mpeg4 gource.mp4
gource: SDL initialization failed - Couldn't find matching GLX visual

which makes me worry that it's just not going to happen on my netbook's
graphics card. But am speaking from position of almost complete
ignorance.

Dan

>
> BTW, you reminded me of the main character from Williams' 80s arcade
> game Robotron!
>
> http://www.youtube.com/watch?v=TPIbQnPA4gY&feature=related
>
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Clear image cache

2010-05-20 Thread Russell Adams
FYI,

I just updated to 6.36c and still have the issue of cached images not
refreshing. I had to apply this patch from the ML, which fixed it.

Love those inline R graphs!

Thanks.

--- org.el~ 2010-05-13 13:10:48.0 -0500
+++ org.el  2010-05-20 10:12:45.0 -0500
@@ -15506,6 +15506,7 @@
 (defun org-remove-inline-images ()
   "Remove inline display of images."
   (interactive)
+  (clear-image-cache)
   (mapc 'delete-overlay org-inline-image-overlays)
   (setq org-inline-image-overlays nil))


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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


Re: [Orgmode] Xemacs incompatibilities

2010-05-20 Thread Dr. Volker Zell
> Michael Sperber writes:

> Could you provide a little bit more context on what you did?  I'm not
> very familiar with org-src (which I assume this is about), so a
> step-by-step recipe would help me greatly.

I'm using

 o XEmacs 21.4 (patch 22) "Instant Classic" [Lucid] (i686-pc-cygwin, Mule) of 
Sat Jan 31 2009 on vzell-de

Here the recipe:

* xemacs -no-init-file

* Evaluate in the *scratch* buffer

  (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
  (require 'org-install)

* Open a file test.org with the following contents:

  #+BEGIN_SRC emacs-lisp -n
  (setq a t)
  #+END_SRC

* With the cursor inside the source code press C-c '

* An emacs-lisp buffer pops up with the following message in the minibuffer:

  -> Edit, then exit with C-c ' (C-c and single quote)

* After editing press C-c ' again, and you're back in the org buffer with the 
source code replaced

* Now try to save the buffer.
  From now on, when you try to save any buffer you'll get  

  -> This is not a sub-editing buffer, something is wrong..

  in the minibuffer


  Ciao
Volker

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


[Orgmode] Re: Co-maintainer, a least for some time?

2010-05-20 Thread Matt Lundin
Carsten Dominik  writes:

> I think this i an excellent idea, and keeping this file on Worg so
> that people can access it on the web and modify it when needed is a
> good idea.
>
> If everyone agrees, then I am glad to accept your offer to start a
> system like this.
>
> Matt, I guess this covers pretty much exactly what you were proposing?

Yes, I very much like the idea. 

David: I look forward to seeing what you develop!

Best,
Matt

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


[Orgmode] [PATCH] Set org-clock-clocking-in when calling org-clock-out from org-clock-in

2010-05-20 Thread Bernt Hansen
org-clock-out-hook can now query org-clock-clocking-in to see if org-clock-out 
is
being called inside org-clock-in.  This allows the hook to selectively clock
in another task without leaving clocks open.
---
Here's the updated patch which seems to work just as well.

This patch is available at git://git.norang.ca/org-mode.git persistent-clocking

Most of the changes here are whitespace.  The very last change in the patch is 
the 
only interesting part.

-Bernt

 lisp/org-clock.el |   25 +
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 68a40ce..dbcd032 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -925,7 +925,7 @@ the clocking selection, associated with the letter `d'."
 (org-clocking-p)))
  ts selected-task target-pos (msg-extra "")
  (leftover (and (not org-clock-resolving-clocks)
- org-clock-leftover-time)))
+org-clock-leftover-time)))
   (when (and org-clock-auto-clock-resolution
 (or (not interrupting)
 (eq t org-clock-auto-clock-resolution))
@@ -944,22 +944,23 @@ the clocking selection, associated with the letter `d'."
;; Save a marker to this task, so that we can go back.
;; First check if we are trying to clock into the same task!
(if (save-excursion
-   (unless selected-task
- (org-back-to-heading t))
-   (and (equal (marker-buffer org-clock-hd-marker)
-   (if selected-task
-   (marker-buffer selected-task)
- (current-buffer)))
-(= (marker-position org-clock-hd-marker)
-   (if selected-task
-   (marker-position selected-task)
- (point)
+ (unless selected-task
+   (org-back-to-heading t))
+ (and (equal (marker-buffer org-clock-hd-marker)
+ (if selected-task
+ (marker-buffer selected-task)
+   (current-buffer)))
+  (= (marker-position org-clock-hd-marker)
+ (if selected-task
+ (marker-position selected-task)
+   (point)
(message "Clock continues in \"%s\"" org-clock-heading)
  (progn
(move-marker org-clock-interrupted-task
 (marker-position org-clock-marker)
 (org-clocking-buffer))
-   (org-clock-out t
+   (let ((org-clock-clocking-in t))
+ (org-clock-out t)
 
   (when (equal select '(16))
;; Mark as default clocking task
-- 
1.7.1.86.g0e460


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


[Orgmode] Re: video of the org-mode git repository

2010-05-20 Thread Richard Riley
Carsten Dominik  writes:

> On May 20, 2010, at 8:05 AM, Eric Schulte wrote:
>
>> So this has been done before, but I recently stumbled across the  
>> gource
>> (http://code.google.com/p/gource/) tool for visualization of git  
>> commit
>> histories, and I applied it to Org-mode's git repository.
>>
>> See the results at http://vimeo.com/11889681
>
> Awesome!  Even though I look like a hyperactive kid with a laser gun :-)
>


Really amazing!

BTW, you reminded me of the main character from Williams' 80s arcade
game Robotron!

http://www.youtube.com/watch?v=TPIbQnPA4gY&feature=related


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


Re: [Orgmode] Bug: Invalid content in publishing cache: Printed representation of hash table [6.36trans]

2010-05-20 Thread Sebastian Rose
Carsten Dominik  writes:
> On May 20, 2010, at 5:25 PM, David Maus wrote:
>
>> Carsten Dominik wrote:
>>
>>> Actually - this seems to work for me just fine...
>>> Don't know why, because I know that statement in the Emacs Lisp manual
>>> as well.
>>
>>> Ah, maybe there are different Emacs versions in play? 23.1.90.1 is the
>>> one I jut now tried.  It does not work in Emacs 22.
>>
>> Here it's 23.1.1, shipped with Debian GNU/Linux "Sid".


The cache-file is loaded in one place:

  lisp/org-publish.el, line 938:

  (if cexists (load-file cache-file))


...and written in lisp/org-publish.el in the function:

   (defun org-publish-write-cache-file (&optional free-cache)


This might be the place to change it, because `load-file' is what's
supposed to work, right?

Which syntax is needed to make this work for elder emacsen? 


   Sebastian

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


Re: [Orgmode] should show-branches fold subtree?

2010-05-20 Thread Ali Tofigh
great! and thank you for all the work you, and all the other
contributers, are doing on org-mode. i don't think i can live without
org-mode anymore. it's like a drug!

/ali

On Thu, May 20, 2010 at 03:40, Carsten Dominik
 wrote:
> Hi Ali,
>
> this makes sense, and it is now working like this.
>
> - Carsten
>
> On May 20, 2010, at 2:42 AM, Ali Tofigh wrote:
>
>> hi everyone,
>>
>> i often use C-c C-k (org-kill-note-or-show-branches) in org-mode when
>> i want to see only the headings under a subtree (i.e., no text in the
>> bodies). however, i get the desired effect only when applying C-c C-k
>> to already folded subtrees. this means i have to first fold the
>> subtree using TAB and only then do C-c C-k. i could always add my own
>> custom command or keybinding to go around this, but what is the reason
>> that show-branches doesn't hide subtrees but only expands folded ones?
>> isn't the command more useful if it also hides text?
>>
>> cheers,
>> /ali
>>
>> ___
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
>
>
>

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


[Orgmode] Re: [PATCH] Add org-clock-clocking-in for hooks

2010-05-20 Thread Bernt Hansen
Bernt Hansen  writes:

> org-clock-out-hook can now query org-clock-clocking-in to see if 
> org-clock-out is
> being called inside org-clock-in.  This allows the hook to selectively clock
> in another task without leaving clocks open.

OOPS.  Please don't apply this just yet.  I originally called my new var
org-clock-in-active but found there's a org-clock-is-active already and
thought it was too similar.  So I changed it to
org-clock-clocking-in... and it turns out we have one of those already.

New patch to follow.

Thanks,
Bernt

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


Re: [Orgmode] Bug: Invalid content in publishing cache: Printed representation of hash table [6.36trans]

2010-05-20 Thread Carsten Dominik


On May 20, 2010, at 5:25 PM, David Maus wrote:


Carsten Dominik wrote:


Actually - this seems to work for me just fine...
Don't know why, because I know that statement in the Emacs Lisp  
manual

as well.


Ah, maybe there are different Emacs versions in play? 23.1.90.1 is  
the

one I jut now tried.  It does not work in Emacs 22.


Here it's 23.1.1, shipped with Debian GNU/Linux "Sid".


I would like to still support Emacs 22, so I think we should change
how the hash is written out, my using maphash to draw out the key/
value pairs when writing, and puthash to build the cache when  
reading.


I've put it on my list for the upcoming weekend.


Please check with Sebastian to avoid double work.

Thanks!

- Carsten


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


Re: [Orgmode] video of the org-mode git repository

2010-05-20 Thread Carsten Dominik


On May 20, 2010, at 8:05 AM, Eric Schulte wrote:

So this has been done before, but I recently stumbled across the  
gource
(http://code.google.com/p/gource/) tool for visualization of git  
commit

histories, and I applied it to Org-mode's git repository.

See the results at http://vimeo.com/11889681


Awesome!  Even though I look like a hyperactive kid with a laser gun :-)

Cheers

- Carsten


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


Re: [Orgmode] Bug: Invalid content in publishing cache: Printed representation of hash table [6.36trans]

2010-05-20 Thread David Maus
Carsten Dominik wrote:

>Actually - this seems to work for me just fine...
>Don't know why, because I know that statement in the Emacs Lisp manual
>as well.

>Ah, maybe there are different Emacs versions in play? 23.1.90.1 is the
>one I jut now tried.  It does not work in Emacs 22.

Here it's 23.1.1, shipped with Debian GNU/Linux "Sid".

>I would like to still support Emacs 22, so I think we should change
>how the hash is written out, my using maphash to draw out the key/
>value pairs when writing, and puthash to build the cache when reading.

I've put it on my list for the upcoming weekend.

  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpOIFbdIJHLn.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Add org-clock-clocking-in for hooks

2010-05-20 Thread Bernt Hansen
org-clock-out-hook can now query org-clock-clocking-in to see if org-clock-out 
is
being called inside org-clock-in.  This allows the hook to selectively clock
in another task without leaving clocks open.
---
I've radically changed my clocking setup and needed the following patch to make 
it work.
This basically just wraps the entire org-clock-in function in a let statement 
that
sets org-clock-clocking-in to true for the duration of the org-clock-in call.

I'm testing a new org-clock-out-hook which automatically clocks in the default 
task when
clocking time in a context.

After things settle I'll be updating my http://doc.norang.ca/org-mode.html 
setup 
information to include these changes.

This patch is available at git://git.norang.ca/org-mode.git persistent-clocking


 lisp/org-clock.el |  311 +++--
 1 files changed, 157 insertions(+), 154 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 68a40ce..e24300d 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -911,6 +911,8 @@ so long."
 60.0
   org-clock-user-idle-start)
 
+(setq org-clock-clocking-in nil)
+
 (defun org-clock-in (&optional select start-time)
   "Start the clock on the current item.
 If necessary, clock-out of the currently active clock.
@@ -919,31 +921,32 @@ clock into.  When SELECT is `C-u C-u', clock into the 
current task and mark
 is as the default task, a special task that will always be offered in
 the clocking selection, associated with the letter `d'."
   (interactive "P")
-  (setq org-clock-notification-was-shown nil)
-  (catch 'abort
-(let ((interrupting (and (not org-clock-resolving-clocks-due-to-idleness)
-(org-clocking-p)))
- ts selected-task target-pos (msg-extra "")
- (leftover (and (not org-clock-resolving-clocks)
- org-clock-leftover-time)))
-  (when (and org-clock-auto-clock-resolution
-(or (not interrupting)
-(eq t org-clock-auto-clock-resolution))
-(not org-clock-clocking-in)
-(not org-clock-resolving-clocks))
-   (setq org-clock-leftover-time nil)
-   (let ((org-clock-clocking-in t))
- (org-resolve-clocks))); check if any clocks are dangling
-  (when (equal select '(4))
-   (setq selected-task (org-clock-select-task "Clock-in on task: "))
-   (if selected-task
-   (setq selected-task (copy-marker selected-task))
- (error "Abort")))
-  (when interrupting
-   ;; We are interrupting the clocking of a different task.
-   ;; Save a marker to this task, so that we can go back.
-   ;; First check if we are trying to clock into the same task!
-   (if (save-excursion
+  (let ((org-clock-clocking-in t))
+(setq org-clock-notification-was-shown nil)
+(catch 'abort
+  (let ((interrupting (and (not org-clock-resolving-clocks-due-to-idleness)
+  (org-clocking-p)))
+   ts selected-task target-pos (msg-extra "")
+   (leftover (and (not org-clock-resolving-clocks)
+  org-clock-leftover-time)))
+   (when (and org-clock-auto-clock-resolution
+  (or (not interrupting)
+  (eq t org-clock-auto-clock-resolution))
+  (not org-clock-clocking-in)
+  (not org-clock-resolving-clocks))
+ (setq org-clock-leftover-time nil)
+ (let ((org-clock-clocking-in t))
+   (org-resolve-clocks)))  ; check if any clocks are dangling
+   (when (equal select '(4))
+ (setq selected-task (org-clock-select-task "Clock-in on task: "))
+ (if selected-task
+ (setq selected-task (copy-marker selected-task))
+   (error "Abort")))
+   (when interrupting
+ ;; We are interrupting the clocking of a different task.
+ ;; Save a marker to this task, so that we can go back.
+ ;; First check if we are trying to clock into the same task!
+ (if (save-excursion
(unless selected-task
  (org-back-to-heading t))
(and (equal (marker-buffer org-clock-hd-marker)
@@ -954,136 +957,136 @@ the clocking selection, associated with the letter `d'."
(if selected-task
(marker-position selected-task)
  (point)
-   (message "Clock continues in \"%s\"" org-clock-heading)
- (progn
-   (move-marker org-clock-interrupted-task
-(marker-position org-clock-marker)
-(org-clocking-buffer))
-   (org-clock-out t
-
-  (when (equal select '(16))
-   ;; Mark as default clocking task
-   (org-clock-mark-default-task))
-
-  ;; Clock in at which position?
-  (setq target-pos
-   (if (and (eobp) (not (org

Re: [Orgmode] Co-maintainer, a least for some time?

2010-05-20 Thread Carsten Dominik

Hi David,

I think this i an excellent idea, and keeping this file on Worg so  
that people can access it on the web and modify it when needed is a  
good idea.


If everyone agrees, then I am glad to accept your offer to start a  
system like this.


Matt, I guess this covers pretty much exactly what you were proposing?

- Carsten

On May 20, 2010, at 4:22 PM, David Maus wrote:


Carsten Dominik wrote:

Dear all,


I am having a lot of trouble keeping up with everything here in  
emacs-

orgmode, in combination with the rest of my life.


Is there anyone who would be willing to step up as a co-maintainer,  
at

least for some time?


The tasks would include looking at small patches people submit,  
making

decision about whether to apply them, checking copyright issues, and
applying the patches.  I will be around, so important decisions can  
be

deferred to me.


I do have some time at hand I can spend for maintenance tasks of Org.

As Thomas S. Dye has pointed out in
[mid:143d63fd-e8f2-4b1c-abfd-db11159e5...@tsdye.com] something that
seems to be missing in Org development is kind of a queue for open
issues.[1]

IMO setting up patchwork as a semi-automated tracking system is a good
idea: As far as I could see from various projects that use patchwork
it actually /is/ kind of an issue tracker, tracking this special kind
of issues, patches.  If it is possible the patchwork installation
should not publish the submitters' mail addresses -- currently the
submitter's name is displayed with a mailto: link that contains the
email address.

Tracking patches with patchwork would leave open the question of other
kinds of issues: Bug reports w/o patches, feature requests, and
general user questions.  I'll try to track these issues and after I've
found a suitable work flow maybe put a file with open issues on Worg.

Both systems would form a queue of things to be done: The organizing
task consists of (a) reviewing non-patch-issues and (b) reviewing open
patch-issues in patchwork and (c) make decisions (e.g. apply patch,
comment, etc.).

This is something I volunteer to do.

HTH
-- David

[1] todo.org in ORGWEBPAGE is definitely out of date (git blame)

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


- Carsten




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


[Orgmode] Re: Co-maintainer, a least for some time?

2010-05-20 Thread Matt Lundin
Hi Carsten,

Carsten Dominik  writes:

> I am having a lot of trouble keeping up with everything here in emacs-
> orgmode, in combination with the rest of my life.
>
> Is there anyone who would be willing to step up as a co-maintainer, at
> least for some time?
>
> The tasks would include looking at small patches people submit, making
> decision about whether to apply them, checking copyright issues, and
> applying the patches.  I will be around, so important decisions can be
> deferred to me.

I'm happy to help out as much as my emacs-lisp and git skills allow.
Though others here are far more qualified to serve as an official
co-maintainer, I could try to pick up some of the slack by working on
any bug fixes, issues, patches, etc. you or the co-maintainer might be
willing to delegate.

Speaking of which, I've been meaning to sign papers with the FSF. I'll
do that ASAP.

I, too, vote for some sort of issue tracking system. Perhaps this could
be as simple as some of around us here replying to issues on the list
with an "I'll take a look at this" or "I'll take responsibility for
this." We've all been spoiled by your wonderfully quick and attentive
responses to mailing list posts. Perhaps, however, it's time for the
community to take more responsibility for claiming issues, bug fixes,
etc. within the first 24 to 48 hours of their arrival on the list. If an
issue proves too difficult to solve then the responsible party can defer
to your or the co-maintainer's expertise.

Since this is org-mode, I would prefer to use an org-mode file to track
issues. After all, the Wikipedia article on org-mode highlights its
suitability for "Distributed issue tracking."[1] The challenge, of
course, would be to coordinate this file with the mailing list. Perhaps
we could publish a remember template so that contributors, when claiming
an issue, can easily create a new todo (with a unique id) in the
org-issues file and publish the id in their reply: e.g., "opened and
claimed issue [ID number]." Just an idea...

Best,
Matt

Footnotes:

[1] Org-mode can be used as a distributed issue tracker, by storing .org
files in a distributed revision control system. Developers of the
org-babel extension to org-mode use org-mode in this way to track bugs
and feature requests. http://en.wikipedia.org/wiki/Org-mode

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


[Orgmode] New variable org-timer-set-timer

2010-05-20 Thread Bastien
Hi all,

I introduced a new variable `org-timer-default-timer'.

The default is 0 and has no effect on org-timer-set-timer.
When > 0, this default timer value is offered to the user.

I also improved `org-timer-set-timer' so that the new timer
can replace the currently running one.

Thanks to Frédéric Couchet for this idea!

-- 
 Bastien

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


Re: [Orgmode] Co-maintainer, a least for some time?

2010-05-20 Thread David Maus
Carsten Dominik wrote:
>Dear all,

>I am having a lot of trouble keeping up with everything here in emacs-
>orgmode, in combination with the rest of my life.

>Is there anyone who would be willing to step up as a co-maintainer, at
>least for some time?

>The tasks would include looking at small patches people submit, making
>decision about whether to apply them, checking copyright issues, and
>applying the patches.  I will be around, so important decisions can be
>deferred to me.

I do have some time at hand I can spend for maintenance tasks of Org.

As Thomas S. Dye has pointed out in
[mid:143d63fd-e8f2-4b1c-abfd-db11159e5...@tsdye.com] something that
seems to be missing in Org development is kind of a queue for open
issues.[1]

IMO setting up patchwork as a semi-automated tracking system is a good
idea: As far as I could see from various projects that use patchwork
it actually /is/ kind of an issue tracker, tracking this special kind
of issues, patches.  If it is possible the patchwork installation
should not publish the submitters' mail addresses -- currently the
submitter's name is displayed with a mailto: link that contains the
email address.

Tracking patches with patchwork would leave open the question of other
kinds of issues: Bug reports w/o patches, feature requests, and
general user questions.  I'll try to track these issues and after I've
found a suitable work flow maybe put a file with open issues on Worg.

Both systems would form a queue of things to be done: The organizing
task consists of (a) reviewing non-patch-issues and (b) reviewing open
patch-issues in patchwork and (c) make decisions (e.g. apply patch,
comment, etc.).

This is something I volunteer to do.

HTH
 -- David

[1] todo.org in ORGWEBPAGE is definitely out of date (git blame)

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpvMk9JMW1Pw.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] QUESTION how to revert repeating sub-tasks?

2010-05-20 Thread Eraldo Helal
Carsten Dominik  writes:

> this is currently not possible - please take a look at org-
> checklist.el, maybe that is a way to address your wish.
Too bad.
I would prefer 'TODO's over checkboxes because that enables me to just
set one of them (sub-tasks) to another state
(e.g. STARTED/WAITING/ACTION/etc).
This helps to make them show up in the appropriate list... until all of
them are DONE.
In which case I could set the main task to DONE thus resetting the
sub-tasks to TODO.

I hope you get the idea ^^.
In any way, thank you for the idea.

> Otherwise, I guess I could make a hook that you could use to fix the
> issue for yourself.  I guess more than just witching the states would
> be need, for example cleaning up logging time stamps and notes???
For me, changing all 'DONE's to 'TODO's for all sub-tasks would be enough.

Greetings from Austria,
Eraldo

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


Re: [Orgmode] Heirarchy and indenting of plain text belonging to headline of same indent

2010-05-20 Thread Robin Message

Ah, thanks Stephan.

I now see this is a problem with outline.el which orgmode is based on.
However, orgmode export does it's own processing, so this would need 
changing in both places to work properly.


So I shall give up and work around it for now.

Cheers,
Robin

On 20/05/10 12:11, Stephan Schmitt wrote:

Hi Robin,

No, there is no possibility to return to a
higher level without a new headline.

The concept of book chapters and sections is
here more appropriate than code blocks.
Although this restricts somewhat the flexibility
of the outline structure, it is unlikely to be
changed in the future.

If you need the embedded /Head 2/ block for a
todo task, you can use inline tasks as a
workaround (look it up in the manual).  There
are also some other threads in the mail archive
of this list discussing this problem.

Hth,
Stephan

Also sprach Robin Message:

Dear list,

I'm just getting started with orgmode and it seems to do exactly what 
I need for outlining except for one thing - text always belongs to 
the headline immediately above it.
I would like text to belong to the headline above it that it is 
indented to. Sort of like how blocks of code are handled in Python.


As an example, given the text (assuming odd levels only)
* Head 1
  Body 1
*** Head 2
Body 2
  More Body 1

Head 1 should fold to:
* Head 1
  Body 1
*** Head 2...
  More Body 1

At the moment, head 1 would fold to
* Head 1
  Body 1
*** Head 2...

But more body 1 is missing. Is there any way to get it handled as 
belonging to * Head 1, not *** Head 2?


Alternatively, is there some kind of headline ending command or some 
way of easily adding one, e.g.

* Head 1
  Body 1
*** Head 2
Body 2
***$
  More Body 1

Thanks,
Robin Message

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Inconsistent names for inserting export options

2010-05-20 Thread Giles Chamberlin

Org-mode provides the ability to fine tune exported documents through a
number of export options and conveniently provides interactive functiosn
to insert boilerplate. The names are a little inconsistent though:

org-insert-export-options-template
org-beamer-settings-template

How about renaming org-beamer-settings-template to
org-insert-beamer-options-template?  

-- 
Giles


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


[Orgmode] [PATCH] Please ignore this patch (test 2)

2010-05-20 Thread John Wiegley


0001-Please-ignore-this-patch.patch
Description: Binary data
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-entities-user

2010-05-20 Thread Ulf Stegemann
Dear Nathaniel,

Nathaniel Flath  wrote:

> I've been setting up org-entities-user with a few custom symbols, and
> managed to get a few aliases for items already in org-entities, but i'm a
> bit stuck on adding new items - specifically, the mathbb versions of Z and R
> (the symbols for the sets of integers and reals).  I can't seem to find the
> UTF-8, latin-1, or HTML encodings of these entities - and I'm not sure how
> to input the utf-8 or latin-1 even if I do.  Does anyone know how to do
> this?

there's nothing like a blackboard or double-struck R and Z in latin-1
(and ASCII) so you will need to live with a transcription like `R' or
`REALS' &c.

In unicode these characters are called `double-struck capital r' and
`double-struck capital z' and they have the hex values 211d and 2124
respectively. In Emacs you can enter them with `C-x 8 RET 211d RET' or
`C-x 8 RET double-struck capital r RET'.

The corresponding XML (XHTML) entities are `ℝ' or `ℝ' and
`ℤ' or `ℤ' respectively. However, at least latest firefox
does not know how to render these and outputs these entities literally so
you might prefer to go for a transcription as well or use a unicode page
encoding with the appropriate unicode characters.

In case you are interested in further blackboard characters, w3c has a
nice page about double-struck entities. Find it at
http://www.w3.org/TR/xml-entity-names/double-struck.html.

HTH,

Ulf



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


Re: [Orgmode] Heirarchy and indenting of plain text belonging to headline of same indent

2010-05-20 Thread Stephan Schmitt

Hi Robin,

No, there is no possibility to return to a
higher level without a new headline.

The concept of book chapters and sections is
here more appropriate than code blocks.
Although this restricts somewhat the flexibility
of the outline structure, it is unlikely to be
changed in the future.

If you need the embedded /Head 2/ block for a
todo task, you can use inline tasks as a
workaround (look it up in the manual).  There
are also some other threads in the mail archive
of this list discussing this problem.

Hth,
Stephan

Also sprach Robin Message:

Dear list,

I'm just getting started with orgmode and it seems to do exactly what I 
need for outlining except for one thing - text always belongs to the 
headline immediately above it.
I would like text to belong to the headline above it that it is indented 
to. Sort of like how blocks of code are handled in Python.


As an example, given the text (assuming odd levels only)
* Head 1
  Body 1
*** Head 2
Body 2
  More Body 1

Head 1 should fold to:
* Head 1
  Body 1
*** Head 2...
  More Body 1

At the moment, head 1 would fold to
* Head 1
  Body 1
*** Head 2...

But more body 1 is missing. Is there any way to get it handled as 
belonging to * Head 1, not *** Head 2?


Alternatively, is there some kind of headline ending command or some way 
of easily adding one, e.g.

* Head 1
  Body 1
*** Head 2
Body 2
***$
  More Body 1

Thanks,
Robin Message

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] should show-branches fold subtree?

2010-05-20 Thread Carsten Dominik

Hi Ali,

this makes sense, and it is now working like this.

- Carsten

On May 20, 2010, at 2:42 AM, Ali Tofigh wrote:


hi everyone,

i often use C-c C-k (org-kill-note-or-show-branches) in org-mode when
i want to see only the headings under a subtree (i.e., no text in the
bodies). however, i get the desired effect only when applying C-c C-k
to already folded subtrees. this means i have to first fold the
subtree using TAB and only then do C-c C-k. i could always add my own
custom command or keybinding to go around this, but what is the reason
that show-branches doesn't hide subtrees but only expands folded ones?
isn't the command more useful if it also hides text?

cheers,
/ali

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


- Carsten




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


Re: [Orgmode] Persistent filters in Org mode

2010-05-20 Thread Carsten Dominik


On May 20, 2010, at 1:23 AM, Thomas Morgan wrote:


Hi, Carsten,


I think this is good - so if you agree, I will apply your patch
and rename the variable to ...persistent-filter


That would be great, thanks.


The main thing I am missing now is a command to edit the filter
in the minibuffer.  Or, if there's a separate persistent filter,
perhaps the command could edit that if given an argument.

It might also be useful to save filters to registers and restore
them later.


I guess a command to edit the filter, and a dedicated history  
variable

for that command would be good enough?  Would you like to make this
command and send me a combined patch with both changes?


Alternatively, what do you think of the idea of saving
a complete agenda view to a register (including the filter)?
The register would contain all the information necessary to
recreate the agenda view, and there would be a command to
restore it.


That might be nice!  Or a way to interactively create a view and then  
turn it into a custom command with one key...


- Carsten


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


Re: [Orgmode] Persistent filters in Org mode

2010-05-20 Thread Carsten Dominik

Applied, thanks!

the variable is renamed to `org-agenda-persistent-filter'.

- Carsten

On May 6, 2010, at 6:21 AM, Thomas Morgan wrote:


Hello, Org mode hackers,

This patch defines a variable `org-agenda-persistent-filters'.
When it is set, filters persist from one agenda view to the next.

I've found this convenient when using tags for contexts like @home,
@net, etc., some of which commonly remain applicable for a while.

Thanks,
Thomas

From 052ef9205845c78cb24d6fea8f89484bbe12a528 Mon Sep 17 00:00:00 2001
From: Thomas Morgan 
Date: Fri, 23 Apr 2010 11:48:03 +0200
Subject: [PATCH] New option `org-agenda-persistent-filters'.
When set, keep filters from one agenda view to the next.

---
lisp/org-agenda.el |   10 --
1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 93ef921..c8fd731 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -197,6 +197,11 @@ you can \"misuse\" it to also add other text to  
the header.  However,

  :group 'org-export-html
  :type 'string)

+(defcustom org-agenda-persistent-filters nil
+  "When set, keep filters from one agenda view to the next."
+  :group 'org-agenda
+  :type 'boolean)
+
(defgroup org-agenda-custom-commands nil
 "Options concerning agenda views in Org-mode."
 :tag "Org Agenda Custom Commands"
@@ -2713,7 +2718,8 @@ bind it in the options section.")
  (setq org-todo-keywords-for-agenda nil)
  (setq org-done-keywords-for-agenda nil)
  (setq org-drawers-for-agenda nil)
-  (setq org-agenda-filter nil)
+  (unless org-agenda-persistent-filters
+(setq org-agenda-filter nil))
  (put 'org-agenda-filter :preset-filter org-agenda-filter-preset)
  (if org-agenda-multi
  (progn
@@ -2788,7 +2794,7 @@ bind it in the options section.")
  (org-habit-insert-consistency-graphs))
  (run-hooks 'org-finalize-agenda-hook)
  (setq org-agenda-type (org-get-at-bol 'org-agenda-type))
-  (when (get 'org-agenda-filter :preset-filter)
+  (when (or org-agenda-filter (get 'org-agenda-filter :preset- 
filter))

(org-agenda-filter-apply org-agenda-filter))
  )))

--
1.6.3.3



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


- Carsten




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


Re: [Orgmode] Bug: Invalid content in publishing cache: Printed representation of hash table [6.36trans]

2010-05-20 Thread Carsten Dominik


On May 19, 2010, at 9:16 AM, David Maus wrote:



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-mode mailing list.


While trying to publish a web page project Org publish throws an
error:

,
| Debugger entered--Lisp error: (invalid-read-syntax "#")
|   eval-buffer(# nil "/home/dmaus/.org-timestamps/ 
ictsoc-base-dyn.cache" nil t)  ; Reading at buffer position 28

`

The problem is that the .cache file for the publishing project
contains the printed representation of a hash table:

,[ ictsoc-base-dyn.cache ]
| (setq org-publish-cache
|   #)
`

What is invalid according to the manual ("Hash notation cannot be read
at all, so the Lisp reader signals the error invalid-read-syntax
whenever it encounters ‘#<’.", 2.1: Printed Representation and Read
Syntax).


Actually - this seems to work for me just fine...
Don't know why, because I know that statement in the Emacs Lisp manual  
as well.


Ah, maybe there are different Emacs versions in play? 23.1.90.1 is the  
one I jut now tried.  It does not work in Emacs 22.


I would like to still support Emacs 22, so I think we should change  
how the hash is written out, my using maphash to draw out the key/ 
value pairs when writing, and puthash to build the cache when reading.


- Carsten




- Carsten


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


Re: [Orgmode] video of the org-mode git repository

2010-05-20 Thread Eric Schulte
Ah, excuse me, should be public now.  Thanks -- Eric

Scot Becker  writes:

> It's marked as a 'Private Video'.

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


[Orgmode] Heirarchy and indenting of plain text belonging to headline of same indent

2010-05-20 Thread Robin Message

Dear list,

I'm just getting started with orgmode and it seems to do exactly what I 
need for outlining except for one thing - text always belongs to the 
headline immediately above it.
I would like text to belong to the headline above it that it is indented 
to. Sort of like how blocks of code are handled in Python.


As an example, given the text (assuming odd levels only)
* Head 1
  Body 1
*** Head 2
Body 2
  More Body 1

Head 1 should fold to:
* Head 1
  Body 1
*** Head 2...
  More Body 1

At the moment, head 1 would fold to
* Head 1
  Body 1
*** Head 2...

But more body 1 is missing. Is there any way to get it handled as 
belonging to * Head 1, not *** Head 2?


Alternatively, is there some kind of headline ending command or some way 
of easily adding one, e.g.

* Head 1
  Body 1
*** Head 2
Body 2
***$
  More Body 1

Thanks,
Robin Message

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


Re: [Orgmode] org-toodledo : sycning org-mode and Toodledo

2010-05-20 Thread Sven Bretfeld
Hi Giovanni and all others

Giovanni Ridolfi  writes:

> Just for information:
>
> Two days ago (May 16th, 2010 ) Sacha Chua published a blog post with
> her contribution to org-toodledo.el - Toodledo integration for Emacs
> Org mode
>
> http://sachachua.com/wp/2010/05/org-toodledo/
>
> The code is available also on GitHub at
> http://github.com/sachac/org-toodledo
>
> Perhaps it is worth to look at it.

Yes it definitely is. I'm playing with it at the moment. There are also
some Toodledo clients available for Android.

Here are some problems I encountered:

1. _Tags are ignored._ 

   Toodledo discriminates between Contexts and Tags. The preamble of
   org-toodledo.el states that both are mapped to what is called tags in
   orgmode (e.g. :@HOME:). But Toodledo-tags are ignored in the
   sync-process (both ways), while contexts are working fine.

2. _Start Dates are ignored._

   Toodledo's Start Dates should be mapped to SCHEDULED in orgmode
   according to the preamble. This is also not working for me. DEADLINE
   (Due Date) is working fine.

3. _Diacritics_

   German (and probably other) umlauts break the upload. A task like
   ** TODO Test für Uploads
   ends up like "Test f" in Toodledo. Downloading similar entries end up in
   the wrong encoding in orgmode.

4. _Time_

   Using the Due Time field (instead of Due Date) in Toodledo breaks the
   sync process: "Wrong type argument: stringp nil".

5. _Appointments?_

   Is there any way to use normal active timestamps? Toodledo has no
   calender nor a function for appointments. It would be nice to use
   Toodledo to at least capture appointments. I've tried to
   manually add a timestamp like <2010-05-27 11:00> to the headline or
   the textfield, but that doesn't work due to the encoding problem
   mentioned above: The < character will be changed during the sync
   process. 

Greetings,

Sven

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


Re: [Orgmode] org-entities-user

2010-05-20 Thread Darlan Cavalcante Moreira

You can also type
,
! C-x 8 RET
`
and then the hex code, instead of changing the input method in Emacs. .
For instance,
,
! C-x 8 RET 221d
`

Darlan

At Thu, 20 May 2010 09:53:31 +0200,
Christian Moe  wrote:
> 
> Hi,
> 
> 
> Nathaniel Flath wrote:
> > Hello,
> > I've been setting up org-entities-user with a few custom symbols, and 
> > managed to get a few aliases for items already in org-entities, but i'm 
> > a bit stuck on adding new items - specifically, the mathbb versions of Z 
> > and R (the symbols for the sets of integers and reals).  I can't seem to 
> > find the UTF-8, latin-1, or HTML encodings of these entities - and I'm 
> > not sure how to input the utf-8 or latin-1 even if I do.  Does anyone 
> > know how to do this?
> 
> Yes, google... :)
> The search string `symbol Z "set of integers" utf8' gives you a nice 
> first hit.
> 
> HTML entities for double-struck capital Z and R are:
> 
> R: ℝ (decimal), ℝ (hex)
> Z: ℤ (decimal), ℤ (hex)
> 
> Latin-1 does not support these characters. Fall back on plain "Z" and 
> "R" or use a description like "[set of integers]".
> 
> To type in the character in Windows, hold down the Alt key while typing 
> the hex code, e.g. `211d' for R. On the Mac, open the Character Palette 
> and jump to Letterlike Symbols.
> 
> In Emacs, you can select the Unicode input method with
> 
> `C-x  C-\ ucs '
> 
> Then typing U followed by the hex code, `U211d', will get you the 
> double-struck R.
> 
> 
> 
> Christian Moe
> 
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] when do plain lists end?

2010-05-20 Thread Darlan Cavalcante Moreira


I remember have seen this question here in the list before. Org understands
that the paragraph is not part of the list when you export it and
everything works as it should. I think this is just a limitation of the
folding right now, which is not easy to fix (otherwise it would have
already been fixed).

Darlan

At Wed, 19 May 2010 21:09:58 -0400,
Ali Tofigh  wrote:
> 
> I'm having problems with plain lists. They don't seem to end. Ever.
> I'm trying to use a blank line after my lists followed by a properly
> indented paragraph, but org still thinks the paragraph is part of the
> list:
> 
> ---8<---
> * heading
>   - item 1
>   - item 2
> 
>   paragraph bla bla
> 
>   - new list, item 1
> 
> 
> Now, if i move the cursor to item 2 and press TAB, everything up to
> the new list is folded. But isn't org supposed to understand from the
> indentation that the first list ends after item 2?
> 
> Cheers,
> /Ali
> 
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-entities-user

2010-05-20 Thread Christian Moe

Hi,


Nathaniel Flath wrote:

Hello,
I've been setting up org-entities-user with a few custom symbols, and 
managed to get a few aliases for items already in org-entities, but i'm 
a bit stuck on adding new items - specifically, the mathbb versions of Z 
and R (the symbols for the sets of integers and reals).  I can't seem to 
find the UTF-8, latin-1, or HTML encodings of these entities - and I'm 
not sure how to input the utf-8 or latin-1 even if I do.  Does anyone 
know how to do this?


Yes, google... :)
The search string `symbol Z "set of integers" utf8' gives you a nice 
first hit.


HTML entities for double-struck capital Z and R are:

R: ℝ (decimal), ℝ (hex)
Z: ℤ (decimal), ℤ (hex)

Latin-1 does not support these characters. Fall back on plain "Z" and 
"R" or use a description like "[set of integers]".


To type in the character in Windows, hold down the Alt key while typing 
the hex code, e.g. `211d' for R. On the Mac, open the Character Palette 
and jump to Letterlike Symbols.


In Emacs, you can select the Unicode input method with

`C-x  C-\ ucs '

Then typing U followed by the hex code, `U211d', will get you the 
double-struck R.




Christian Moe

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


[Orgmode] [PATCH] Please ignore this patch -- just testing

2010-05-20 Thread John Wiegley


0001-Please-ignore-this-patch.patch
Description: Binary data
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode