Re: [Orgmode] Sending org-mode nodes

2009-11-19 Thread David Maus
Hi Lukasz,

At Wed, 18 Nov 2009 17:46:43 +0100,
lukasz.stelm...@iem.pw.edu.pl wrote:
 I've just made a note which I would like to send (with its attachment)
 via email. Is it possible? I mean, I would like to select a node (C-c @)
 and then few keystrokes more and have the letter sent or at least opened
 in a mail composing window with the subject set to the title of the
 note, attachments attached and waiting for me to choose an addressee.

It *should* be possible but as far as I am aware of there's currently
no implementation for this. As Orgmode does not depend on any
particular email program this would require a particular function for
every supported mail program. I.e. a function that executes the right
things to let the mail program compose a new mail.

Hum. As I tend to write important mails first below a corresponding
todo headline, than copy'n'paste it such functionality could be
useful.

I suppose the first thing to do is brewing a function that scrapes all
relevant information (i.e.: subject, content, attachments) and returns
a property list that can be used by mua specific functions to call the
mua and instruct it to create the mail.

What about:

  - Subject: current entries headline without todo keyword and tags

  - Body: the entries content up to the next headline w/o drawers and
schedule/deadline

  - Attachments: full path to the entry's attachments


Regards,
  -- David

-- 
OpenPGP... 0x316F4BE4670716FD
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416


___
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] Blorgit SVN integration

2009-11-19 Thread Francesco Pizzolante
Hi Eric,

First of all, I thank you very much for your useful tips.

Thanks to you, I think I've made a step forward. Here's how.


 1) Is it possible to integrate Blorgit with SVN instead of git? If yes, how
can I do it?

 Yes, it should be possible to use any version control backend, the only
 command that will not work with svn is the option to automatically
 commit any edits to the git repository, however changing this command
 should be straightforward.  You should just have to make a change in
 backend/blog.rb line 15.

This is what I've added to blog.rb:

--8---cut here---start-8---
diff --git a/backend/blog.rb b/backend/blog.rb
index 0f43728..827ec05 100644
--- a/backend/blog.rb
+++ b/backend/blog.rb
@@ -17,6 +17,20 @@ class Blog  ActiveFile::Base
 end
   end

+  # if the svn_commit option is set then add a hook to automatically
+  # commit any changes from the web interface to svn.
+  if $global_config[:config]['svn_commit']
+puts adding svn commit hooks Blog.after_save
+
+add_hooks(:save)
+
+def after_save
+  Dir.chdir(Blog.base_directory) do
+%x{svn add #{self.path}  svn ci -m #{self.path} updated through the 
web interface #{self.path}}
+  end
+end
+  end
+
   def self.files(path)
 base = (File.directory?(self.expand(path)) ? self.expand(path) : 
File.dirname(self.expand(path)))
 self.entries(path).
--8---cut here---end---8---

You simply need to add the svn_commit: true options to the blorgit.yml
config file and make your blogs directory a SVN working copy for this to work.

I do a svn add (in case this is a new file) followed by an svn commit.

This works very well.

One little question: is it possible to add a comment field when editing a file
through the web interface and use that comment as the log when checking in the
file in the repository?


 2) If I have comments in an org file, as soon as I edit the file through the
web interface, the comments disappear (they're still present as * COMMENT
lines in the org file though, but no longer displayed in the browser).


 Hmm, not sure about that, are you sure that you are creating the comment
 outline headings exactly how they are created when blorgit adds them
 through the web interface?

Well, the comments were added by the web interface itself (the org file was
completely edited by the web interface) and were correctly displayed as soon
as you add them. But then, they disappeared once you edited the page. When
looking at the org file, the comments were still there but no longer displayed
through the web interface.

But, this issue went away from the moment I created a brand new blogs folder.
I cannot reproduce it. I don't have any more details about this for the
moment. I will come back to you with more details if needed. Thanks for your
help.


 3) I would like to add a .pdf link (next to edit .org .tex) in order to
download the PDF coming from the compilation (pdflatex) of the .tex file.
Is it possible?

 Yes, this should certainly be possible (and please let me know if you
 succeed and I would like to add that change to the main repo).  See line
 70 in backend/acts_as_org/lib/acts_as_org.rb, it should be fairly
 straight forward to create a to_pdf command similar to the to_tex
 command defined therein.

Here's what I did for this.

First I added the .pdf link:

--8---cut here---start-8---
diff --git a/blorgit.rb b/blorgit.rb
index 077b5d9..93bea47 100644
--- a/blorgit.rb
+++ b/blorgit.rb
@@ -197,6 +197,8 @@ __END__
 %a{ :href = path_for(@blog, :format = 'org'), :title = 'download as 
org-mode' } .org
   %li
 %a{ :href = path_for(@blog, :format = 'tex'), :title = 'download as 
LaTeX' } .tex
+  %li
+%a{ :href = path_for(@blog, :format = 'pdf'), :title = 'download as 
PDF' } .pdf
 #title_separator

 @@ sidebar
:
--8---cut here---end---8---


I had to remove the first dot in the exported filenames as pdflatex doesn't
like it:

--8---cut here---start-8---
diff --git a/Rakefile b/Rakefile
index 7c6d202..129b952 100644
--- a/Rakefile
+++ b/Rakefile
@@ -13,7 +13,7 @@ end
 Dir[File.join(File.dirname(__FILE__), themes, *, *.rake)].each { |ext| 
load ext }

 # handle exported files
-def all_exported(dir) Dir.chdir($blogs){ Dir['**/.exported_*'].each{ |path| 
yield(path) } } end
+def all_exported(dir) Dir.chdir($blogs){ Dir['**/exported_*'].each{ |path| 
yield(path) } } end
 namespace :exported do
   desc list all temporary exported files
   task :list do

diff --git a/elisp/org-interaction.el b/elisp/org-interaction.el
index 2311156..78373df 100644
--- a/elisp/org-interaction.el
+++ b/elisp/org-interaction.el
@@ -23,7 +23,7 @@ evaluating BODY.
(kill-buffer ,temp-file)
,temp-result)))

-(defvar org-interaction-prefix .exported_)
+(defvar org-interaction-prefix 

[Orgmode] Re: Sending org-mode nodes

2009-11-19 Thread lukasz . stelmach
David Maus maus.da...@gmail.com writes:

 At Wed, 18 Nov 2009 17:46:43 +0100,
 lukasz.stelm...@iem.pw.edu.pl wrote:
 I've just made a note which I would like to send (with its attachment)
 via email. Is it possible? I mean, I would like to select a node (C-c @)
 and then few keystrokes more and have the letter sent or at least opened
 in a mail composing window with the subject set to the title of the
 note, attachments attached and waiting for me to choose an addressee.

 It *should* be possible but as far as I am aware of there's currently
 no implementation for this. As Orgmode does not depend on any
 particular email program this would require a particular function for
 every supported mail program. I.e. a function that executes the right
 things to let the mail program compose a new mail.

I suppuse that by writing program you mean Emacs' compose-mail, gnus
etc. External handler of course, would be useful too.

 Hum. As I tend to write important mails first below a corresponding
 todo headline, than copy'n'paste it such functionality could be
 useful.

 I suppose the first thing to do is brewing a function that scrapes all
 relevant information (i.e.: subject, content, attachments) and returns
 a property list that can be used by mua specific functions to call the
 mua and instruct it to create the mail.

 What about:

   - Subject: current entries headline without todo keyword and tags

OK, however, inclusion of todo and/or tags should be optional and
possible for those who would like to exchange those information with one
another. Converting those to iCal attachment is yet another issue.

   - Body: the entries content up to the next headline w/o drawers and
 schedule/deadline

Fine but the above note applies.

   - Attachments: full path to the entry's attachments

That's right and in case of compose-mail/gnus and whatever else a letter
with files attached should appear.

Later at home I thought about it some more:

- The To, Cc and Bcc headers read from :PROPERTIES: or collected
  with minibuffer.

- Sent-To field in the PROPERTIES drawer filed after sending
  mail. This might require collecting addresses from within org-mode
  before invoking mail program (the above).

- Move the list from Sent-To to Old-Sent-To everytime the node or
  its child or its attachment changes (this might be quite difficult
  to implement but awesome to have)

- Custom mail headers to include in the PROPERTIES drawer. Something
  like
  :PROPERTIES:
  :MailHeader-X-Face: l;aksjdf;ioavh9p8qrty9
  :END
  would result in X-Face: in the mail. X-Face, however, would
  probably be configured with a mua but I am sure someone will find
  it useful.

- Message-ID derived from node's ID. This would be quite useful for
  associating replies with original notes/nodes.

These are of course my whishful thoughts, especially the one with
Old-Sent-To. I think, however, that org-mode with them implemented would
be even greater tool than it is today.

-- 
Miłego dnia,
Łukasz Stelmach



___
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] Bug: Problem with LaTeX export of bold email address [6.33trans (release_6.33c.10.ga7fb)]

2009-11-19 Thread Bjørn Arild Mæland
I ran into this bug as well - its present in all of the 6.33 releases.
Downgrading to 6.32b (or latest trunk it seems) solves the problem,
until a new release is made.

-Bjørn

2009/11/18 Carsten Dominik carsten.domi...@gmail.com:
 Hi Anthony,

 thanks for the report, this is a bug that was recently introduced.  It
 has nothing to do with the email address, but is caused by the act
 that the bold emphasis is at the end of the line.

 Fixed now, thanks.

 - Carsten

 On Nov 16, 2009, at 7:08 PM, Anthony Lander 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.
 

 There seems to be a small output bug in the LaTeX export. Given this org
 file:


 * test
  - send mail to *...@bar.org*

 I get the following in the exported .tex with C-c C-e l (I've omitted the
 top part of the document):


 \section{test}
 \label{sec-1}

 \begin{itemize}
 \item send mail to \textbf{...@bar.org\}
 \end{itemize}

 I don't know why the \ gets emitted before }, but it renders the LaTeX
 invalid, since the \textbf isn't closed properly.

 Regards,

  -Anthony


 Emacs  : GNU Emacs 22.3.1 (i386-apple-darwin9.7.0, Carbon Version 1.6.0)
 of 2009-07-25 on gs674-seijiz.local
 Package: Org-mode version 6.33trans (release_6.33c.10.ga7fb)



 ___
 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

 - Carsten





 ___
 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


Re: [Orgmode] Re: Sending org-mode nodes

2009-11-19 Thread Sebastian Rose
lukasz.stelm...@iem.pw.edu.pl writes:
 David Maus maus.da...@gmail.com writes:
////
 - Message-ID derived from node's ID. This would be quite useful for
   associating replies with original notes/nodes.


In that case, each mail sent from the subtree would have the same
message-ID, which is invalid, since the ID is made to identify a certain
email. It's supposed to be world wide unique for at least two years.

Your provider would replace your (probably invalid) ID anyway.



 These are of course my whishful thoughts, especially the one with
 Old-Sent-To. I think, however, that org-mode with them implemented would
 be even greater tool than it is today.


I believe it's not implemented, because it's easy to just

  C-c @
  C-x m
  Enter addresses (bbdb helps a lot here)
  DOWN DOWN DOWN DOWN
  C-y
  evtl. edit the contents
  C-c C-C

There's simply no need to implement it for Gnus users.
Emacs+Org+bbdb+Gnus implement it already.


   Sebastian


___
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] Notmuch: An emacs interface for fast global search and tagging of email

2009-11-19 Thread Carsten Dominik

Well,

I think it would be useful to get support for this in Org-mode, so if  
someone would like to write the interface - please go ahead.


- Carsten

On Nov 19, 2009, at 1:12 AM, Carl Worth wrote:

On Wed, 18 Nov 2009 18:39:03 +0100, Carsten Dominik carsten.domi...@gmail.com 
 wrote:

this sounds interesting, but I'd like to know:
what is the difference with, for example mh-search, or mairix?


I'm not familiar with mh-search, so I can't comment there.

As for mairix, I think a big improvement that notmuch has is its  
search

syntax, (including phrase-based searching). With notmuch searches look
like this:

   notmuch search from:carsten.dominik and mairix
   notmuch search subject:emacs interface and Carl Worth
   notmuch search tag:important

Of course, that all falls out almost entirely due to just being  
based on

Xapian.

Mairix has the interesting mode of being able to deliver search  
results

as a maildir of symlinks. We might add something like that to notmuch.

Some things that notmuch has that mairix doesn't and that aren't  
related

just to general Xapian features:

 * A notmuch show command that does proper threading/nesting of
   messages.

 * The ability to add/remove arbitrary tags to any message and use  
them

   in search terms later.

 * An emacs interface to display search results, quickly filter search
   results by adding a term, display a thread from the search-results
   view, start composing a reply from a thread view, etc.

I haven't compared performance and scalability of mairix and notmuch.
And all of the above is just from my own recollection of using mairix
for a few months so I may have gotten some details wrong.

-Carl


- Carsten





___
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] org-indent-mode and visual-line-mode

2009-11-19 Thread Carsten Dominik


On Nov 18, 2009, at 9:07 PM, Matt Price wrote:


Are these two incompatible, or is there something wrong with my setup?
Using org-mode 6.33c and a recent emacs snapshot (20090909), turning
org-indent-mode on stops visual-line-mode from indenting properly.  As
soon as I turn org's intentation off, vusial-line-mode starts working
normally again.  I would *love* to have both of htese working properly
-- is there anything I can do?   


I am not sure what you mean by visual-mode indents properly.  I am  
not using visual-line mode.  So you you describe better what visual  
line mode does and what features of it exactly disappear when you turn  
on org-mode?


- Carsten



Thanks very much,

Matt

--
Matt Price
matt.pr...@utoronto.ca
___
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


- Carsten





___
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] Re: Scheduling of 2-day events

2009-11-19 Thread Bernt Hansen
Markus Heller helle...@gmail.com writes:

 Bernt Hansen wrote:
 Markus Heller helle...@gmail.com writes:

 Bernt Hansen wrote:
 Markus Heller helle...@gmail.com writes:

 Hello,

 subject says it all.  Is this the appropriate way of doing scheduling
 a 2-day event (couldn't find an example in the manual):

 * TODO Career/Training/Courses
 ** TODO Project Management Workshop
SCHEDULED: 2009-11-19 Thu 9:00-16:30--2009-11-20 Fri 9:00-16:30


 The agenda out put (C-c a a) looks like this:

 Thursday   19 November 2009
   ABC:   9:00-16:30 Scheduled:  TODO Project Management Workshop
   ABC:   9:00-16:30 (1/2):  TODO Project Management Workshop
 Friday 20 November 2009
   ABC:  (2/2):  TODO Project Management Workshop
 I would just drop the SCHEDULED: part

 ** TODO Project Management Workshop
2009-11-19 Thu 9:00-16:30--2009-11-20 Fri 9:00-16:30

 so you don't get a duplicate entry.  I'd also drop the TODO since it's
 scheduled for a block of time and when the time is gone it's done -
 whether you mark it DONE or not.

 Thanks for your reply, Bernt.

 The TODO changes to STARTED when I clock this task in, which I do when
 I'm working on my preparation.  I could have a sub-task for
 preparation and clock this, but in the end, this doesn't really matter
 too much to me.

 Yes mine does too - but then I just move it back to no TODO keyword and
 keep the clock running.

 I don't normally clock in 'events', I clock in todo tasks - so if
 there's something to do to prepare for the event I would normally stick
 that in another task and clock that instead.

 Bernt, just curious, how do you bill for the time you spent at an event?

 My goal here is to try to catch all the time I spend on this workshop
 project'' (it's professional development so I have to bill all the
 time I spend on it) in my time table, that's why I'm clocking it.
 This should include preparation and the time I actually spend at the
 work shop.  If I followed your example, I'd create a level-3 task
 (presumably) called ``Preparation'' and clock that, and the time spend
 on this task will show up in my time table.  But what about the actual
 work shop?

 Say you were in the same situation, how would you go about this?
 Maybe a hidden org-mode gem that I haven't discovered yet?

Hi Marcus

Sorry if this reply is a bit late ... I just noticed your workshop is
_today_.

I would probably create a task something like this

,[ diary.org ]
| ** Project Management Workshop 09:00-16:30
|2009-11-19 Thu--2009-11-20 Fri
|[2009-11-19 Thu 07:57]
`

to record the actual booked event with time.  This blocks off a time in
my calendar on the days of the event so I know I'm busy then.

I would create separate todo tasks for clocking whatever I did during
the workshop.

,[ work.org ]
| * Training
| ** TODO Project Management Workshop
| *** TODO Preparation 
| [2009-11-19 Thu 08:03]
|  TODO clocked item 1
|  [2009-11-19 Thu 08:03]
|  TODO clocked Item 2
|  [2009-11-19 Thu 08:03]
| *** TODO Day 1 (clocked)
| [2009-11-19 Thu 08:01]
| miscellaneous clocked time goes here
|  TODO subitem 1
|  [2009-11-19 Thu 08:02]
|  TODO subitem 2
|  [2009-11-19 Thu 08:02]
| *** TODO Day 2 (clocked)
| [2009-11-19 Thu 08:02]
|  TODO subitem 1
|  [2009-11-19 Thu 08:02]
|  TODO subitem 2
|  [2009-11-19 Thu 08:02]
`

If it's a 2 day workshop I'm paid to attend then I'd clock the Day 1 and
Day 2 items and just record subitems with details for the day (creating
the subitems should create an inactive timestamp) so you know when you
did it but you don't need to clock how long each subitem took.  I would
leave the clock on the Day entries and keep the detail under it.

I tend to use remember tasks for miscellaneous unplanned tasks I need to
do - like respond to this email - and clock it in when I start work on
it (which may be the same time I create the task or it may not).  If I'm
clocking a Day 1 type task then I'll use remember mode to record new
items and file under the current running clock.  Each subitem records
when it was created (via a hook or remember template)

More detail is better than not enough - but you don't want to waste time
trying to figure out what needs to be clocked - keep it as simple as you
need.

HTH,
-Bernt



___
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] Bug: Agenda Org-mode searches are limited by buffer narrowing [6.33trans (release_6.33c.18.ga606)]

2009-11-19 Thread Carsten Dominik


On Nov 18, 2009, at 6:33 PM, Bernt Hansen 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.


The org-agenda multi-occur search command (C-c a /) does not return
results on buffers that are currently narrowed if the search would
normally match outside the narrowed region.  This prevents possible
matches from being displayed.

Narrowing should probably be disabled during searches so it's possible
to find all of the occurrences.

I'm working in file A, and have it narrowed to subtree.  I get
interrupted and move to file B, then I want to add details to a
project I know exists and I use the agenda search to find it ... but
it's in file A outside the narrowed region and no results are
returned.  I forgot file A was narrowed but I don't think this should
affect the search results.

I think the agenda restriction lock should be the only thing that
affects agenda search results.


This is already the case I believe.

But multi-occur uses a separate Emacs function, so I need to do
extra work to widen these buffers.

This should now work, thank you for your report.

- Carsten



-Bernt

Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.33trans (release_6.33c.18.ga606)


___
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


- Carsten





___
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] Emacs opens a frame for each file in agenda list on org-mobile-push

2009-11-19 Thread Steve Brown
Hi Charles,

thank you for your quick reply.

On Wed, Nov 18, 2009 at 7:38 PM, Charles Sebold cseb...@gmail.com wrote:
 On Wed, Nov 18, 2009 at 9:19 AM, Steve Brown steve.stevebr...@gmail.com

 That does seem odd.  Could you maybe do a M-x org-submit-bug-report, and if
 you aren't doing email in Emacs, copy and paste the output (with your
 org-mode configuration, it will prompt you to include it) into an email to
 emacs-orgm...@gnu.org?

 I'm running Emacs 23 on Windows, and using MobileOrg, and I haven't seen
 that problem.  But we might have a start on it if you could send along your
 configuration and customizations per the above.

 This one seems strange enough that maybe it might even be worthwhile to send
 along the .emacs file, just in case (properly sanitized for personal info,
 of course).

I'll do both of the above when I return to work.

Best,

Steve


___
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] Notmuch: An emacs interface for fast global search and tagging of email

2009-11-19 Thread Carl Worth
On Wed, 18 Nov 2009 18:39:03 +0100, Carsten Dominik carsten.domi...@gmail.com 
wrote:
 this sounds interesting, but I'd like to know:
 what is the difference with, for example mh-search, or mairix?

I'm not familiar with mh-search, so I can't comment there.

As for mairix, I think a big improvement that notmuch has is its search
syntax, (including phrase-based searching). With notmuch searches look
like this:

notmuch search from:carsten.dominik and mairix
notmuch search subject:emacs interface and Carl Worth
notmuch search tag:important

Of course, that all falls out almost entirely due to just being based on
Xapian.

Mairix has the interesting mode of being able to deliver search results
as a maildir of symlinks. We might add something like that to notmuch.

Some things that notmuch has that mairix doesn't and that aren't related
just to general Xapian features:

  * A notmuch show command that does proper threading/nesting of
messages.

  * The ability to add/remove arbitrary tags to any message and use them
in search terms later.

  * An emacs interface to display search results, quickly filter search
results by adding a term, display a thread from the search-results
view, start composing a reply from a thread view, etc.

I haven't compared performance and scalability of mairix and notmuch.
And all of the above is just from my own recollection of using mairix
for a few months so I may have gotten some details wrong.

-Carl


___
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] Re: [orgmobile] support for Moblin

2009-11-19 Thread Gour
On Thu, 19 Nov 2009 08:31:44 +
 Eric == Eric S Fraga ucec...@ucl.ac.uk wrote:

Eric Well, *in principle*, Emacs should run just fine on Moblin so you
Eric should be able to have the full power of org-mode by default.  Of
Eric course, *in practice*, I don't know how easy it will be to install
Eric Emacs on such devices.

There is Emacs-22.2 package for Moblin available, but the point is if
one wants only to have his 'desktop' org data 'synced' with the
Moblin's Myzone, i.e. displayed on Myzone's left panel showing
Calendar appointments and tasks.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
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] Re: Emacs opens a frame for each file in agenda list on org-mobile-push

2009-11-19 Thread Steve Brown

Good morning Charles,

here's the bug reported as promised.

I run Emacs from a pendrive on a Windows XP Pro box. My site-start.el 
contains the following to map home to drive letter:home on Emacs 
start. The first line has no line break after the defvar so there are 
only two lines of code.


Otherwise the Emacs is 'vanilla' - I use it for writing and not coding 
so I try to keep things simple ;-)


If you need anything else please let me know.

Thank you,

Steve

= site-start.el ===

(defvar usb-drive-letter (substring data-directory 0 3)) (defvar 
usb-home-dir (concat usb-drive-letter home/))


(setenv HOME usb-home-dir)

= site-start.el ===



=== Bug Report 

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.


On executing org-mobile-push Emacs opens one frame per file listed in
the agenda file list.

I have deleted refences to specific files and replaced them with
DELETED, all punctuation etc. will remain 'as is'.

I will also follow this with my full .emacs suitably edited for
personal information.

Emacs  : GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
 of 2009-07-30 on BREPNB
Package: Org-mode version 6.33c

current state:
==
(setq
 org-log-done 'time
 org-agenda-files '(~/Orgfiles/DELETED.org ~/Orgfiles/work.org
~/Orgfiles/DELETED.org ~/Orgfiles/trial.org
~/Orgfiles/busdev.org ~/Orgfiles/home.org
~/Orgfiles/main.org ~/Orgfiles/DELETED.org)
 org-agenda-include-diary t
 org-export-with-sub-superscripts nil
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-todo-keywords '((sequence TODO STARTED WAITING | DONE
  DELEGATED)
 )
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file ~/.notes.org
 org-directory ~/Orgfiles/
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook org-show-block-all
append local]
   5]
 )
 org-confirm-elisp-link-function 'yes-or-no-p
 org-occur-hook '(org-first-headline-recenter)
 )

=== Bug Report 

=== .emacs 

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(appt-display-duration 59)
 '(appt-display-format (quote window))
 '(diary-mail-addr )
 '(display-battery-mode t)
 '(display-time-mode t)
 '(emacsw32-max-frames t)
 '(org-agenda-files (quote (~/Orgfiles/DELETED.org 
~/Orgfiles/work.org ~/Orgfiles/DELETED.org ~/Orgfiles/trial.org 
~/Orgfiles/busdev.org ~/Orgfiles/home.org ~/Orgfiles/main.org 
~/Orgfiles/DELETED.org)))

 '(org-mobile-directory ~/stage)
 '(org-mobile-inbox-for-pull ~/Orgfiles/mobileinbox.org)
 '(show-paren-mode t)
 '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
 '(view-diary-entries-initially t))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )
;; emacs start up file
(setq inhibit-splash-screen t)
(setq make-backup-files nil)
(setq auto-save-mode nil)

;; diary customisation
(add-hook 'diary-display-hook 'fancy-diary-display)
(add-hook 'list-diary-entries-hook 'sort-diary-entries t)
(setq european-calendar-style t)
;;; show date in status bar
(setq display-time-day-and-date t
  display-time-24hr-format t)
(display-time)
(appt-activate 1)
(setq appt-display-mode-line t)
(setq appt-display-format 'window)

;; Org Mode
(setq load-path (cons ~/org/lisp load-path))
(setq load-path (cons ~/org/contrib/lisp load-path))
(require 'org-install)
(global-set-key \C-cl 'org-store-link)
(global-set-key \C-ca 'org-agenda)
(global-set-key \C-cb 'org-iswitchb)
(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
(setq org-log-done t) ;timestamp on completion
(setq org-agenda-include-diary t)
(setq 

Re: [Orgmode] Bug: word filein tags produces bad hyperlink [6.33trans (release_6.33c.10.ga7fb)]

2009-11-19 Thread Carsten Dominik

Hi Charles,

thanks for the report, this should be fixed now.

- Carsten

On Nov 17, 2009, at 9:49 PM, Charles Sebold 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.


If the word file is a tag, then a hyperlink will show up in your  
tags

at the end of the heading line.

For example:

* testing testing testing  :file:this:under:problems:

The workaround is to make file your last tag, for the moment.

Emacs  : GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
of 2009-11-11 on CT-SEBOLDCR-T4C
Package: Org-mode version 6.33trans (release_6.33c.10.ga7fb)

current state:
==
(setq
org-agenda-custom-commands '((z tags memorizedaily|odd|tuesday| 
memday17)

 (A Full Agenda ((agenda )))
 (7 Full Weekly Agenda
  ((agenda  ((org-agenda-ndays 7)
 (G Non-LCMS tasks ((tags-todo - 
lcms)))

 (R TeamMania tasks
  ((tags-todo +work+teammania)))
 (W LCMS tasks ((tags-todo +work 
+lcms)))
 (S SQL tasks ((tags-todo +work 
+sql)))

 (g agenda non-LCMS Agenda
  ((org-agenda-files (quote (~/org/ 
gtd.org)

 (w agenda LCMS Agenda
  ((org-agenda-files (quote (~/org/ 
lcms.org)

 (k agenda LCMS Weekly Agenda
  ((org-agenda-files (quote (~/org/ 
lcms.org)))

   (org-agenda-ndays 7))
  )
 )
org-agenda-files '(~/org ~/org/fiction ~/org/reference ~/org/ 
personal)

org-after-todo-state-change-hook '(org-clock-out-if-current)
org-deadline-warning-days 5
org-agenda-skip-scheduled-if-done t
org-stuck-projects '(+LEVEL=2/-DONE (TODO NEXT NEXTACTION)  
(info) )

org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-todo-keywords '((sequence INBOX(i) TICKLER(t!) | FILE(f@)
 CANCELED(k@))
(sequence TODO WAITING VERIFY | DONE  
REASSIGNED)
(sequence DAILY(d) | DONEDLY  
UNSCHEDDLY(D))
(sequence WEEKLY(e) | DONEWKLY  
UNSCHEDWKLY(E))
(sequence MONTHLY(m) | DONEMNTHLY  
UNSCHEDMNTHLY(M))

(sequence APPT RESCHEDULE(s@) | APPTPAST
 APPTCANCELED(n@))
(sequence REQUEST(r!) REQWAITING(w@/!)  
REQVERIFY(v) |

 REQCLOSED(c!) REQREASSIGNED(a@))
(sequence PROJECT(P!) PROJWAITING(W@/!)  
PROJVERIFY(V)

 | PROJCLOSED(C!) PROJREASSIGNED(A@))
)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-default-notes-file ~/org//process.org
org-directory ~/org/
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- 
drawers

 org-cycle-show-empty-lines
 org-optimize-window-after-visibility-change)
org-mode-hook '(#[nil \300\301\302\303\304$\207
  [org-add-hook change-major-mode-hook org-show- 
block-all append

   local]
  5]
)
org-agenda-ndays 1
org-use-fast-todo-selection 'prefix
org-confirm-elisp-link-function 'yes-or-no-p
org-log-into-drawer t
org-agenda-mode-hook '(hl-line-mode)
org-agenda-skip-deadline-if-done t
org-occur-hook '(org-first-headline-recenter)
org-from-is-user-regexp nil
org-mobile-directory ~/stage/
org-agenda-use-time-grid nil
org-mobile-checksum-binary sha1sum
)



___
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


- Carsten





___
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] Re: Sending org-mode nodes

2009-11-19 Thread lukasz . stelmach
Sebastian Rose sebastian_r...@gmx.de writes:
 lukasz.stelm...@iem.pw.edu.pl writes:
 David Maus maus.da...@gmail.com writes:
 ////
 - Message-ID derived from node's ID. This would be quite useful for
   associating replies with original notes/nodes.


 In that case, each mail sent from the subtree would have the same
 message-ID, which is invalid, since the ID is made to identify a certain
 email. It's supposed to be world wide unique for at least two years.

 Your provider would replace your (probably invalid) ID anyway.

I've written *derived* which means
org-ID-current-time-user-mail-address also fits. Right?

 These are of course my whishful thoughts, especially the one with
 Old-Sent-To. I think, however, that org-mode with them implemented would
 be even greater tool than it is today.


 I believe it's not implemented, because it's easy to just

   C-c @
   C-x m
   Enter addresses (bbdb helps a lot here)
   DOWN DOWN DOWN DOWN
   C-y
   evtl. edit the contents
   C-c C-C

Which only proves that it is possible to do it automatically.

 There's simply no need to implement it for Gnus users.
 Emacs+Org+bbdb+Gnus implement it already.

How about attachments? How, at least, to get their full paths into kill
ring? Wether we like it or *not* some things can't be done in pure
text/plain.

Putting a headline as a subject (with or without tags) makes it even
better as well as stripping any drawers (leading stars?). From the very
beginning I assumed there is a way of doing what I need just right now
but I described some enhancements that make work even less
troublesome. Imagine:

  C-c C-x m (org-send-node e.g.)
  C-c C-c

would be possible for a well prepared node (bbdb link stored as a
property). What makes nodesending even more appealing to me is that I
can have my emails (at least some of them) well organized with org (and
git) and attached to other things I do.

-- 
Miłego dnia,
Łukasz Stelmach



___
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] Bug: Agenda Org-mode searches are limited by buffer narrowing [6.33trans (release_6.33c.18.ga606)]

2009-11-19 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 On Nov 18, 2009, at 6:33 PM, Bernt Hansen wrote:


 I think the agenda restriction lock should be the only thing that
 affects agenda search results.

 This is already the case I believe.

 But multi-occur uses a separate Emacs function, so I need to do
 extra work to widen these buffers.

 This should now work, thank you for your report.

Thanks for the fix.  It works great :)

-Bernt


___
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] Re: Notmuch: An emacs interface for fast global search and tagging of email

2009-11-19 Thread Richard Riley
Carl Worth cwo...@cworth.org writes:

 On Wed, 18 Nov 2009 18:39:03 +0100, Carsten Dominik 
 carsten.domi...@gmail.com wrote:
 this sounds interesting, but I'd like to know:
 what is the difference with, for example mh-search, or mairix?

 I'm not familiar with mh-search, so I can't comment there.

 As for mairix, I think a big improvement that notmuch has is its search
 syntax, (including phrase-based searching). With notmuch searches look
 like this:

 notmuch search from:carsten.dominik and mairix
 notmuch search subject:emacs interface and Carl Worth
 notmuch search tag:important

 Of course, that all falls out almost entirely due to just being based on
 Xapian.

 Mairix has the interesting mode of being able to deliver search results
 as a maildir of symlinks. We might add something like that to notmuch.

 Some things that notmuch has that mairix doesn't and that aren't related
 just to general Xapian features:

   * A notmuch show command that does proper threading/nesting of
 messages.

   * The ability to add/remove arbitrary tags to any message and use them
 in search terms later.

   * An emacs interface to display search results, quickly filter search
 results by adding a term, display a thread from the search-results
 view, start composing a reply from a thread view, etc.

 I haven't compared performance and scalability of mairix and notmuch.
 And all of the above is just from my own recollection of using mairix
 for a few months so I may have gotten some details wrong.


OT for org-mode

I just thought (for completeness) I might mention Dovecot IMAP indexing
at this stage since I know a good few here use gnus and IMAP : thanks to
Tassilo Horn for the heads up about it. My select element is:-

   gnus-select-method '(nnimap mymail
   (nnimap-stream tls)
   (nnimap-authinfo-file ~/.authinfo.gpg)
   (nnimap-address my-server.net)
   (nnimap-expunge-on-close always)
   (nnimap-nov-is-evil nil)
   (nnir-search-engine imap))

Note the nnir-search component.

Then a key to control it:-

 ;; Fast index based mail search on nnmairix server.
 (define-key gnus-group-mode-map (kbd f3)
 'gnus-group-make-nnir-group)

And finally the Dovecot config  (/etc/dovecot/dovecot.conf):-

protocol imap {
  mail_plugins = fts fts_squat
  listen = *:143
  ssl_listen = *:993
}

plugin {
 fts = squat
 fts_squat = partial=4 full=10
}

It will index when you first search that group.

regards

r.





___
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] org-agenda-diary-entry without date tree

2009-11-19 Thread Carsten Dominik

Hi Matt,

please try

   (setq org-agenda-insert-diary-strategy 'top-level)

HTH

- Carsten

On Nov 14, 2009, at 1:33 PM, Matt Lundin wrote:


Hi Carsten,

The new org-agenda-diary-entry looks quite convenient.

Would it be possible to add an option to bypass the date tree so as to
add each new appointment as a simple first level heading? I prefer to
keep my appointments organized by project and/or category and have no
real use for the date tree. Ideally, new appointments would appear as
first level headlines in the org-agenda-diary-file (i.e., my inbox),
ready to be refiled.

Thanks,
Matt


___
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


- Carsten





___
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] Re: C-a marks whole buffer instead of moving to beginning of line

2009-11-19 Thread Rainer Stengele
I get:



C-a runs the command mark-whole-buffer, which is an interactive
compiled Lisp function in `simple.el'.

It is bound to C-a, C-x h, menu-bar edit mark-whole-buffer.

(mark-whole-buffer)

Put point at beginning and mark at end of buffer.
You probably should not use this function in Lisp programs;
it is usually a mistake for a Lisp function to use any subroutine
that uses or sets the mark.



I can't seem to find the beast. I already switched off cua mode.
How can I find where this setting is done?

Thanks,
Rainer

Carsten Dominik schrieb:
 
 On Nov 18, 2009, at 5:30 PM, Rainer Stengele wrote:
 
 I have

 Org Special Ctrl A/E: Hide Value Value Menu reversed: true line
 boundary first

 Emacs still marks the whole buffer with C-a instead of setting point
 to begin of line.
 
 What does `C-h k C-a' give you?
 
 I guess the culprit must be something like pc-select or cua-mode
 or similar, because C-a on windows is supposed to select the buffer.
 
 - Carsten
 

 C-e works as expected.
 Where is emacs overriding my C-a setting? I can't find it.

 Rainer


 Org-mode version 6.33trans
 GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14 on
 LENNART-69DE564 (patched)



 ___
 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
 
 - Carsten
 
 
 
 
 
 ___
 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


Re: [Orgmode] Re: Sending org-mode nodes

2009-11-19 Thread Sebastian Rose
lukasz.stelm...@iem.pw.edu.pl writes:
 Sebastian Rose sebastian_r...@gmx.de writes:
 lukasz.stelm...@iem.pw.edu.pl writes:
 David Maus maus.da...@gmail.com writes:
 ////
 - Message-ID derived from node's ID. This would be quite useful for
   associating replies with original notes/nodes.


 In that case, each mail sent from the subtree would have the same
 message-ID, which is invalid, since the ID is made to identify a certain
 email. It's supposed to be world wide unique for at least two years.

 Your provider would replace your (probably invalid) ID anyway.

 I've written *derived* which means
 org-ID-current-time-user-mail-address also fits. Right?

Not sure. I only remember bad things with self generated
message-IDs. But I never tried it myself. Reading the RFCs will help.

[...]
 I believe it's not implemented, because it's easy to just

   C-c @
   C-x m
   Enter addresses (bbdb helps a lot here)
   DOWN DOWN DOWN DOWN
   C-y
   evtl. edit the contents
   C-c C-C

 Which only proves that it is possible to do it automatically.


Yes, sorry, I don't want to stop anyone from doing it :)


 There's simply no need to implement it for Gnus users.
 Emacs+Org+bbdb+Gnus implement it already.

 How about attachments? How, at least, to get their full paths into kill
 ring? Wether we like it or *not* some things can't be done in pure
 text/plain.

 Putting a headline as a subject (with or without tags) makes it even
 better as well as stripping any drawers (leading stars?). From the very
 beginning I assumed there is a way of doing what I need just right now
 but I described some enhancements that make work even less
 troublesome. Imagine:

   C-c C-x m (org-send-node e.g.)
   C-c C-c

 would be possible for a well prepared node (bbdb link stored as a
 property). What makes nodesending even more appealing to me is that I
 can have my emails (at least some of them) well organized with org (and
 git) and attached to other things I do.



Well, if you often resend a node, it makes absolutely sense, I guess.

I always write my mails from scratch. But, on the other hand, I could
imagine an Org-file with email templates like that. E.g. for mailing to
certain groups of people.



Best wishes

  Sebastian


___
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] Blorgit SVN integration

2009-11-19 Thread Eric Schulte
Hi Francesco,

I have comments in-line below.

Francesco Pizzolante f...@missioncriticalit.com writes:

 Hi Eric,

 First of all, I thank you very much for your useful tips.

 Thanks to you, I think I've made a step forward. Here's how.


 1) Is it possible to integrate Blorgit with SVN instead of git? If yes, how
can I do it?

 Yes, it should be possible to use any version control backend, the only
 command that will not work with svn is the option to automatically
 commit any edits to the git repository, however changing this command
 should be straightforward.  You should just have to make a change in
 backend/blog.rb line 15.

 This is what I've added to blog.rb:

 diff --git a/backend/blog.rb b/backend/blog.rb
 index 0f43728..827ec05 100644
 --- a/backend/blog.rb
 +++ b/backend/blog.rb
 @@ -17,6 +17,20 @@ class Blog  ActiveFile::Base
  end
end

 +  # if the svn_commit option is set then add a hook to automatically
 +  # commit any changes from the web interface to svn.
 +  if $global_config[:config]['svn_commit']
 +puts adding svn commit hooks Blog.after_save
 +
 +add_hooks(:save)
 +
 +def after_save
 +  Dir.chdir(Blog.base_directory) do
 +%x{svn add #{self.path}  svn ci -m #{self.path} updated through 
 the web interface #{self.path}}
 +  end
 +end
 +  end
 +
def self.files(path)
  base = (File.directory?(self.expand(path)) ? self.expand(path) : 
 File.dirname(self.expand(path)))
  self.entries(path).

 You simply need to add the svn_commit: true options to the blorgit.yml
 config file and make your blogs directory a SVN working copy for this to work.

 I do a svn add (in case this is a new file) followed by an svn commit.

 This works very well.


Thanks, that patch looks great.  If you don't mind I'd like to apply the
patch to the blorgit git repository on github.  Do you have a github
user name patch which I can use for patch authorship, or could I just
use your name and email address?


 One little question: is it possible to add a comment field when editing a file
 through the web interface and use that comment as the log when checking in the
 file in the repository?


That behavior is not currently part of blorgit, but it shouldn't be hard
to add.  See lines 241 through 247 of blorgit.rb which are responsible
for rendering the edit page.  It shouldn't be hard to add a comment
field, and then later access that field when committing to SVN/GIT.



 2) If I have comments in an org file, as soon as I edit the file through the
web interface, the comments disappear (they're still present as * COMMENT
lines in the org file though, but no longer displayed in the browser).


 Hmm, not sure about that, are you sure that you are creating the comment
 outline headings exactly how they are created when blorgit adds them
 through the web interface?

 Well, the comments were added by the web interface itself (the org file was
 completely edited by the web interface) and were correctly displayed as soon
 as you add them. But then, they disappeared once you edited the page. When
 looking at the org file, the comments were still there but no longer displayed
 through the web interface.

 But, this issue went away from the moment I created a brand new blogs folder.
 I cannot reproduce it. I don't have any more details about this for the
 moment. I will come back to you with more details if needed. Thanks for your
 help.


fair enough :)



 3) I would like to add a .pdf link (next to edit .org .tex) in order to
download the PDF coming from the compilation (pdflatex) of the .tex file.
Is it possible?

 Yes, this should certainly be possible (and please let me know if you
 succeed and I would like to add that change to the main repo).  See line
 70 in backend/acts_as_org/lib/acts_as_org.rb, it should be fairly
 straight forward to create a to_pdf command similar to the to_tex
 command defined therein.

 Here's what I did for this.

 First I added the .pdf link:

 diff --git a/blorgit.rb b/blorgit.rb
 index 077b5d9..93bea47 100644
 --- a/blorgit.rb
 +++ b/blorgit.rb
 @@ -197,6 +197,8 @@ __END__
  %a{ :href = path_for(@blog, :format = 'org'), :title = 'download 
 as org-mode' } .org
%li
  %a{ :href = path_for(@blog, :format = 'tex'), :title = 'download 
 as LaTeX' } .tex
 +  %li
 +%a{ :href = path_for(@blog, :format = 'pdf'), :title = 'download 
 as PDF' } .pdf
  #title_separator

  @@ sidebar
 :


 I had to remove the first dot in the exported filenames as pdflatex doesn't
 like it:

 diff --git a/Rakefile b/Rakefile
 index 7c6d202..129b952 100644
 --- a/Rakefile
 +++ b/Rakefile
 @@ -13,7 +13,7 @@ end
  Dir[File.join(File.dirname(__FILE__), themes, *, *.rake)].each { |ext| 
 load ext }

  # handle exported files
 -def all_exported(dir) Dir.chdir($blogs){ Dir['**/.exported_*'].each{ |path| 
 yield(path) } } end
 +def all_exported(dir) Dir.chdir($blogs){ Dir['**/exported_*'].each{ |path| 
 yield(path) } } end
  

[Orgmode] Re: org-export-generic: accessing todo keywords

2009-11-19 Thread Wes Hardaker
 On Wed, 18 Nov 2009 15:33:03 -0500, Tim Hermans therm...@gmail.com said:

TH I took note from a post by James TD Smith on this list a while back
TH and changed this to use aput.  This is included in assoc.el
TH which is included in both XEmacs and GNU Emacs.  It does exactly the
TH same thing.  It would be more portable.

Huh.  I actually thought that was changed already via a patch a while
back but apparently the patch got lost.

Carsten, here's the patch to apply:

diff --git a/contrib/lisp/org-export-generic.el 
b/contrib/lisp/org-export-generic.el
index aba550e..1fff03f 100644
--- a/contrib/lisp/org-export-generic.el
+++ b/contrib/lisp/org-export-generic.el
@@ -96,6 +96,7 @@
 ;;; Commentary:

 (require 'org-exp)
+(require 'assoc)

 (defgroup org-export-generic nil
   Options specific for ASCII export of Org-mode files.
@@ -440,7 +441,7 @@ in this way, it will be wrapped.
 (defun org-set-generic-type (type definition)
   Adds a TYPE and DEFINITION to the existing list of defined generic
 export definitions.
-  (set-alist 'org-generic-alist type definition))
+  (aput 'org-generic-alist type definition))

 (defun org-export-generic-remember-section (type suffix optional prefix)
   (setq org-export-generic-section-type type)
-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find. ___/
   \_ -- Terry Pratchett __/
 \__/


___
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] org-indent-mode and visual-line-mode

2009-11-19 Thread Matt Price
On Thu, 2009-11-19 at 14:17 +0100, Carsten Dominik wrote:
 On Nov 18, 2009, at 9:07 PM, Matt Price wrote:
 
  Are these two incompatible, or is there something wrong with my setup?
  Using org-mode 6.33c and a recent emacs snapshot (20090909), turning
  org-indent-mode on stops visual-line-mode from indenting properly.  As
  soon as I turn org's intentation off, vusial-line-mode starts working
  normally again.  I would *love* to have both of htese working properly
  -- is there anything I can do?   
 
 I am not sure what you mean by visual-mode indents properly.  I am  
 not using visual-line mode.  So you you describe better what visual  
 line mode does and what features of it exactly disappear when you turn  
 on org-mode?
 
sorry carsten.  also I think I should have said wraps rather than
indents.
Visual-line-mode is a replacement for longlines-mode; it soft-wraps text
at the screen boundary, and does a much better job than longlines-mode
did.  When I'm writing anything that's not code I rely on it entirely.
But I also *love* the new indent mode in org -- it's much easier for me
to see hierarchical relationships than it was in earlier versions
(thanks _very_ much for the new feature).  So I'd like to use them
together; but when org-indent-mode is turned on, visual-line-mode no
longer soft-wraps at all.  you can try it out with M-x visual-line-mode,
and the manual description is here:
http://www.gnu.org/software/emacs/manual/html_node/emacs/Visual-Line-Mode.html 

Is that what you needed?  I'm not sure where the code for
visual-line-mode lives -- there isn't a visual-line.el anywhere that i
can find on my system.  Thanks much,

matt



 - Carsten
 
 
  Thanks very much,
 
  Matt
 
  -- 
  Matt Price
  matt.pr...@utoronto.ca
  ___
  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
 
 - Carsten
 
 
 


-- 
Matt Price
matt.pr...@utoronto.ca


signature.asc
Description: This is a digitally signed message part
___
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] Re: Sending org-mode nodes

2009-11-19 Thread Eric Schulte
lukasz.stelm...@iem.pw.edu.pl writes:

 Wether we like it or *not* some things can't be done in pure
 text/plain.

Along these lines, I would be interested to have the ability to send
html mail exported from an org-mode node.  I often want to share tables
with unfortunate souls who use non-fixed-width font email clients which
are better at displaying html then text. -- Eric


___
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] Re: Org-mode to blog with Drupal/Wordpress?

2009-11-19 Thread David Engster
David Maus maus.da...@gmail.com writes:
 At Wed, 11 Nov 2009 11:19:27 -0500,
 U Avalos wrote:
 Hi all. I know that there are various packages out there to use org-mode to 
 publish *websites* but I don't want to reinvent the wheel. Is there a way to 
 use org-mode to add posts to an existing Drupal or Wordpress site? (I 
 believe 
 they both use the same API, that's why I'm mentioning both.) I also know I 
 can 
 just cut-and-paste text into the web browser, but that method fails for 
 images.
 
 As a plus, it would be great if I could also edit *existing* posts (even if 
 using nxtml-mode or html-mode)... but I'm happy if you could just add new 
 posts...

 As far as I am aware there's no such extension to orgmode right now. A
 fast glance on drupals and wordpress' remote editing capabilities
 shows that they use different APIs but both use xmlrpc. So in theory
 it should be possible as there already is a xml-rpc library for Emacs
 that works according to my experiments with xml-rpc.el quite well.

I'm a bit late on this, but I just tried editing Drupal blogs with
Weblogger-Mode (see http://www.emacswiki.org/emacs/WebloggerMode), and
it works right out of the box. I wrote about the details here:

http://www.randomsample.de/dru5/node/76

You can also edit existing entries - it's really a great package. I
guess one could hook weblogger directly into orgmode, but manually
exporting to HTML and then doing a quick copypaste isn't really a big
deal.

-David



___
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] Re: org-agenda-diary-entry without date tree

2009-11-19 Thread Matthew Lundin
Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Matt,

 please try

(setq org-agenda-insert-diary-strategy 'top-level)

 HTH

Thanks Carsten! It works very well.

- Matt



___
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] Re: Sending org-mode nodes

2009-11-19 Thread Bernt Hansen
Sebastian Rose sebastian_r...@gmx.de writes:

 Well, if you often resend a node, it makes absolutely sense, I guess.

 I always write my mails from scratch. But, on the other hand, I could
 imagine an Org-file with email templates like that. E.g. for mailing to
 certain groups of people.

Wrap your email (including headers) in a 

#+begin_src message
...
#+end_src

and C-c ' to get to message mode, C-c C-s to send, and C-c ' to get out.

-Bernt


___
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] PROJ category from the org-mode front page?

2009-11-19 Thread Matt Price
Hi everyone,

I've just been looking at this picture from the org-mode home page:
http://orgmode.org/img/tasks.png 
I like the line :
* PROJ Organize the interstellar dust meeting 

Is PROJ a custom TODO 'type' keyword?  I have to say I quite like
it... but would it be possible to have combine types with more complex
(non-DONE) states, so that e.g. the heading displays:
* PROJ INPROGRESS Organize the interstellar dust meeting
or
* PROJ DONE Organize the interstellar dust meeting
?  
Just wondering.  Thanks,
Matt

-- 
Matt Price
matt.pr...@utoronto.ca


signature.asc
Description: This is a digitally signed message part
___
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] Bug: i in agenda complains mark is not active now [6.33trans (release_6.33c.26.ga839)]

2009-11-19 Thread Bernt Hansen

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.

When org-agenda-diary-file is set to a special org file for diary
entries and transient mark mode is enabled 'i' in the agenda fails
with 'mark is not active now'

My workaround for this is C-SPC to set the mark anywhere legal in the
agenda display (ie not on the first or last line) and then hit 'i'
to insert my diary entries.

-Bernt

Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.33trans (release_6.33c.26.ga839)


___
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] [orgmobile] pushing to mydisk.se account

2009-11-19 Thread Marcelo de Moraes Serpa
Hi Cameron!

I had the same problem. I ended up installing dav2fs and mounting my
 mydisk.se space remotely. It seems to work well.


Do you mind sharing how you did it? Did you manage to automount the share at
startup?

Thanks,

Marcelo.


On Wed, Nov 18, 2009 at 8:34 PM, Cameron Horsburgh cammobla...@gmail.comwrote:

 I had the same problem. I ended up installing dav2fs and mounting my
 mydisk.se space remotely. It seems to work well.

 2009/11/19 Marcelo de Moraes Serpa celose...@gmail.com

 Hello,

 After having problems with my dreahost WebDav setup, I've ordered a VPS
 from them, however, they take up to 1 day to setup it. Meanwhile, I though
 on using mydisk.se, as described on the mobileorg website. However, I'm
 confused on the pushing part. The org manual mentions scp, but 
 mydisk.sedoesn't offer ssh access. How am I supposed to setup the 
 org-mobile-push for
 a mydisk.se account?

 Thanks,

 Marcelo.

 ___
 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




 --
 --

 Cameron Horsburgh
 blog: http://spiritcry.wordpress.com

___
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] [orgmobile] pushing to mydisk.se account

2009-11-19 Thread Marcelo de Moraes Serpa
Hmm, simple enough.

sudo apt-get install davfs2
sudo dpkg-reconfigure davfs2
- asnwer yes to the question where it asks to generate a GUID
sudo mount.davfs 'https://mydisk/username' /path/to/mountpoint
input your mydisk.se username and passwd.

DONE!

The question now is, how to make it automount so you don't need to go
through the process of mounting everytime you restart your system. Any ideas
anyone?

Thanks,

Marcelo.

On Thu, Nov 19, 2009 at 10:37 AM, Marcelo de Moraes Serpa 
celose...@gmail.com wrote:

 Hi Cameron!


 I had the same problem. I ended up installing dav2fs and mounting my
 mydisk.se space remotely. It seems to work well.


 Do you mind sharing how you did it? Did you manage to automount the share
 at startup?

 Thanks,

 Marcelo.


 On Wed, Nov 18, 2009 at 8:34 PM, Cameron Horsburgh 
 cammobla...@gmail.comwrote:

 I had the same problem. I ended up installing dav2fs and mounting my
 mydisk.se space remotely. It seems to work well.

 2009/11/19 Marcelo de Moraes Serpa celose...@gmail.com

 Hello,

 After having problems with my dreahost WebDav setup, I've ordered a VPS
 from them, however, they take up to 1 day to setup it. Meanwhile, I though
 on using mydisk.se, as described on the mobileorg website. However, I'm
 confused on the pushing part. The org manual mentions scp, but 
 mydisk.sedoesn't offer ssh access. How am I supposed to setup the 
 org-mobile-push for
 a mydisk.se account?

 Thanks,

 Marcelo.

 ___
 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




 --
 --

 Cameron Horsburgh
 blog: http://spiritcry.wordpress.com



___
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] [mobileorg] tag search is returning items that are not tagged.

2009-11-19 Thread Marcelo de Moraes Serpa
Hello list,

I've just found a behavior that seems to be a bug. The TAG search of
orgmobile is actually returning any item that has the string your search for
anywhere in its body, instead of just checking the tags.

For example, I have a top-level org-conf item that I use to hide the org
configuration. It has contains the text for all the tags, since the tags are
defined there, and orgmobile is returning it too in the TAG searches.

Is it expected behavior?

Marcelo.
___
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] Re: Sending org-mode nodes

2009-11-19 Thread Łukasz Stelmach
Bernt Hansen be...@norang.ca writes:

 Sebastian Rose sebastian_r...@gmx.de writes:
 Well, if you often resend a node, it makes absolutely sense, I guess.

 I always write my mails from scratch. But, on the other hand, I could
 imagine an Org-file with email templates like that. E.g. for mailing to
 certain groups of people.

 Wrap your email (including headers) in a 

 #+begin_src message
 ...
 #+end_src

 and C-c ' to get to message mode, C-c C-s to send, and C-c ' to get out.

This doesn't seem to be much less elaborate then the C-@ C-y way and
since you don't copy the text you can't cope with drawers and tags.

-- 
Miłego dnia,
Łukasz Stelmach



___
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] Re: Sending org-mode nodes

2009-11-19 Thread Łukasz Stelmach
Sebastian Rose sebastian_r...@gmx.de writes:

 lukasz.stelm...@iem.pw.edu.pl writes:
 Sebastian Rose sebastian_r...@gmx.de writes:
 lukasz.stelm...@iem.pw.edu.pl writes:
 David Maus maus.da...@gmail.com writes:
 ////
 - Message-ID derived from node's ID. This would be quite useful for
   associating replies with original notes/nodes.


 In that case, each mail sent from the subtree would have the same
 message-ID, which is invalid, since the ID is made to identify a certain
 email. It's supposed to be world wide unique for at least two years.

 Your provider would replace your (probably invalid) ID anyway.

 I've written *derived* which means
 org-ID-current-time-user-mail-address also fits. Right?

 Not sure. I only remember bad things with self generated
 message-IDs. But I never tried it myself. Reading the RFCs will help.

RFC 2822
   The Message-ID: field provides a unique message identifier that
   refers to a particular version of a particular message.  The
   uniqueness of the message identifier is guaranteed by the host that
   generates it (see below). (...) a good method is to put the
   domain name (or a domain literal IP address) of the host on which the
   message identifier was created on the right hand side of the @, and
   put a combination of the current absolute date and time along with
   some other currently unique (perhaps sequential) identifier available
   on the system (for example, a process id number) on the left hand
   side.

[...]
 Well, if you often resend a node, it makes absolutely sense, I guess.

I've rather thought about preparing an email with org-mode. Making
notes, introducing a structure, think: wrinting a report.

 I always write my mails from scratch. But, on the other hand, I could
 imagine an Org-file with email templates like that. E.g. for mailing to
 certain groups of people.

This brings another option. Copy the whole node with its children into a
message buffer and then run some code to make it look like it should
(drawers, leading stars, attachments, tables etc.)

-- 
Miłego dnia,
Łukasz Stelmach



___
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] Re: PROJ category from the org-mode front page?

2009-11-19 Thread Bernt Hansen
Matt Price matt.pr...@utoronto.ca writes:

 I've just been looking at this picture from the org-mode home page:
 http://orgmode.org/img/tasks.png 
 I like the line :
 * PROJ Organize the interstellar dust meeting 

 Is PROJ a custom TODO 'type' keyword?  I have to say I quite like
 it... but would it be possible to have combine types with more complex
 (non-DONE) states, so that e.g. the heading displays:
 * PROJ INPROGRESS Organize the interstellar dust meeting
 or
 * PROJ DONE Organize the interstellar dust meeting
 ?  

PROJ is just a normal keyword like TODO DONE etc.  You would have to
make it all one word like

PROJTODO, PROJINPROGRESS, etc

which to me feels like duplicating your standard non-project keywords.
I used to do that.  I don't like duplication.

You might be better off designating projects with a tag instead -- or
just consider everything to be a project (that's what I do) so there is
no special PROJ keyword.

-Bernt


___
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] [mobileorg] mobileorg.org empty on webdav, mobileorg still showing items

2009-11-19 Thread Marcelo de Moraes Serpa
Hello list!

Sorry for the constant inflow of emails about mobileorg. The thing is that I
liked so much this piece of software and the way it integrates with the
already awesome orgmode that I feel under the duty to share any behavior
that might happen to be a bug/non-expected.

This one relates to the capture feature. When I capture on orgmobile and
sync, the notes go to the mobileorg.org file. When I do a org-mobile-pull
from emacs, emacs takes all these items and copy them to from_mobile.org,
emptying mobileorg.org. Just after that, @mobileorg, if I sync again, the
capture view still shows the items I captured, however, since
mobileorg.orgis empty, I don't think they should be shown there.

Also, I have noted that when I capture something new, the capture icon is
decorated with a number icon that shows the  number fo the new notes I have
taken. When I sync, this icon disappears, but the old notes are still
shown. Am I missing something in here?

Thanks,

Marcelo.
___
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] Sending org-mode nodes

2009-11-19 Thread Eric Schulte
lukasz.stelm...@iem.pw.edu.pl writes:

 Hello.

 I've just made a note which I would like to send (with its attachment)
 via email. Is it possible? I mean, I would like to select a node (C-c @)
 and then few keystrokes more and have the letter sent or at least opened
 in a mail composing window with the subject set to the title of the
 note, attachments attached and waiting for me to choose an addressee.

Perhaps rather than pushing the actual mail sending into an org-mode
function this could be handled as a new export target.  Something like
org-export-as-email or org-export-as-html-mail, which could export the
org-mode buffer (or narrowed subtree -- read node) to a message buffer
from which it could be easily sent.

Such an export function could be the appropriate place to handle
attachments, html conversion, etc...


___
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] adding new protocol handler in firefox

2009-11-19 Thread Thierry Volpiatto
Hi,
if you use org-annotation-helper from firefox since a long time now, you
probably didn't notice that adding a new protocol handler in firefox as
it is described in org-annotation-helper.el is now impossible.

See https://bugzilla.mozilla.org/show_bug.cgi?id=529511

In addition to what is described in org-annotation-helper, you will need
to modify the file mimeTypes.rdf as described here:

http://tinyurl.com/yf37ukw

The example is for bookmarking from firefox to emacs bookmarks, but it
is the same for org. Just change emacsbookmark to remember and/or annotation.

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France




___
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] [mobileorg] tag search is returning items that are not tagged.

2009-11-19 Thread Marcelo de Moraes Serpa
Oops, stupid me, the filter was at All, sorry sorry :(

Marcelo.

On Thu, Nov 19, 2009 at 11:14 AM, Richard Moreland r...@ncogni.to wrote:

 Can you show me what you mean with your top-level org-conf item?  I just
 tried searching for a tag and it seems to be ok..

 Are you sure you have the 'Tags' filter selected in the Search page?

 Thanks,
 Richard

 On Nov 19, 2009, at 11:48 AM, Marcelo de Moraes Serpa wrote:

  Hello list,
 
  I've just found a behavior that seems to be a bug. The TAG search of
  orgmobile is actually returning any item that has the string your search
 for
  anywhere in its body, instead of just checking the tags.
 
  For example, I have a top-level org-conf item that I use to hide the org
  configuration. It has contains the text for all the tags, since the tags
 are
  defined there, and orgmobile is returning it too in the TAG searches.
 
  Is it expected behavior?
 
  Marcelo.
  ___
  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


Re: [Orgmode] [mobileorg] mobileorg.org empty on webdav, mobileorg still showing items

2009-11-19 Thread Marcelo de Moraes Serpa
Thanks Richard!

On Thu, Nov 19, 2009 at 11:40 AM, Richard Moreland r...@ncogni.to wrote:

 Hi Marcelo,

 On Nov 19, 2009, at 12:19 PM, Marcelo de Moraes Serpa wrote:

  This one relates to the capture feature. When I capture on orgmobile and
  sync, the notes go to the mobileorg.org file. When I do a
 org-mobile-pull
  from emacs, emacs takes all these items and copy them to from_mobile.org
 ,
  emptying mobileorg.org. Just after that, @mobileorg, if I sync again,
 the
  capture view still shows the items I captured, however, since
  mobileorg.orgis empty, I don't think they should be shown there.

 You should do a push operation after a pull.  The push operation will
 update the checksum file and let MobileOrg know to fetch your updated
 mobileorg.org file (which should now be empty).

 A push will almost always make sense to do after you've pulled and fully
 integrated your mobile changes.

 
  Also, I have noted that when I capture something new, the capture icon is
  decorated with a number icon that shows the  number fo the new notes I
 have
  taken. When I sync, this icon disappears, but the old notes are still
  shown. Am I missing something in here?

 The red counter badges indicate changes that have been made that need
 syncing (like count of new notes since the last sync, or in the case of the
 Outlines tab, number of edits waiting to be synced).  They do not indicate
 the number of notes you've captured, though this may sometimes happen to be
 the same.

 Hope this helps,
 Richard

 
  Thanks,
 
  Marcelo.
  ___
  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


Re: [Orgmode] [mobileorg] mobileorg.org empty on webdav, mobileorg still showing items

2009-11-19 Thread Richard Moreland
Hi Marcelo,

On Nov 19, 2009, at 12:19 PM, Marcelo de Moraes Serpa wrote:

 This one relates to the capture feature. When I capture on orgmobile and
 sync, the notes go to the mobileorg.org file. When I do a org-mobile-pull
 from emacs, emacs takes all these items and copy them to from_mobile.org,
 emptying mobileorg.org. Just after that, @mobileorg, if I sync again, the
 capture view still shows the items I captured, however, since
 mobileorg.orgis empty, I don't think they should be shown there.

You should do a push operation after a pull.  The push operation will update 
the checksum file and let MobileOrg know to fetch your updated mobileorg.org 
file (which should now be empty).

A push will almost always make sense to do after you've pulled and fully 
integrated your mobile changes.

 
 Also, I have noted that when I capture something new, the capture icon is
 decorated with a number icon that shows the  number fo the new notes I have
 taken. When I sync, this icon disappears, but the old notes are still
 shown. Am I missing something in here?

The red counter badges indicate changes that have been made that need syncing 
(like count of new notes since the last sync, or in the case of the Outlines 
tab, number of edits waiting to be synced).  They do not indicate the number of 
notes you've captured, though this may sometimes happen to be the same.

Hope this helps,
Richard

 
 Thanks,
 
 Marcelo.
 ___
 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] [orgmobile] the role of the index.org file

2009-11-19 Thread Marcelo de Moraes Serpa
Hello again Richard,

I'd like to know what is the role of the index.org file. Does
orgmobile.orgcreate it? At first, I just pointed
orgmobile.org to my gtd.org file (which is my index file), but I started
having problems of synchronization and I didn't get the agenda view nor the
colored tag icons in the items, now I pointed to index.org and I get a link
to my gtd.org file and to the agenda view.

Thanks,

Marcelo.
___
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] [orgmobile] pushing to mydisk.se account

2009-11-19 Thread Nick Dokos
Marcelo de Moraes Serpa celose...@gmail.com wrote:

 Hmm, simple enough.
 
 sudo apt-get install davfs2
 sudo dpkg-reconfigure davfs2
 - asnwer yes to the question where it asks to generate a GUID
 sudo mount.davfs 'https://mydisk/username' /path/to/mountpoint
 input your mydisk.se username and passwd.
 
 DONE!
 
 The question now is, how to make it automount so you don't need to go
 through the process of mounting everytime you restart your system. Any
 ideas anyone?
 

man davfs2.conf

is probably a good start. Adding a mount stanza to /etc/fstab should do the rest
(but I have not tried it).

HTH,
Nick



___
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] [orgmobile] the role of the index.org file

2009-11-19 Thread Richard Moreland
org-mobile-push creates index.org for you automatically.  MobileOrg uses it as 
a starting point from which it finds and fetches your other org files.  
org-mobile-push also creates the agendas.org as well as a checksums.dat file so 
MobileOrg can avoid re-downloading files that haven't changed.

So yes, as you've discovered, the best way to go is to point MobileOrg at the 
generated index.org file and you should be all set.  As you add other org files 
to your agenda files list, they will be included in your MobileOrg sync as well.

-Richard

On Nov 19, 2009, at 12:49 PM, Marcelo de Moraes Serpa wrote:

 Hello again Richard,
 
 I'd like to know what is the role of the index.org file. Does
 orgmobile.orgcreate it? At first, I just pointed
 orgmobile.org to my gtd.org file (which is my index file), but I started
 having problems of synchronization and I didn't get the agenda view nor the
 colored tag icons in the items, now I pointed to index.org and I get a link
 to my gtd.org file and to the agenda view.
 
 Thanks,
 
 Marcelo.
 ___
 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


Re: [Orgmode] [orgmobile] the role of the index.org file

2009-11-19 Thread Marcelo de Moraes Serpa
Thanks again, Richard.

Is there a way to change the name of the link? Currently it says gtd/
gtd.org and I'd like to change it to Projects  Next Actions. However, I
can't change the index.org directly as it is regenerated at each push. Any
ideas?

Marcelo.

On Thu, Nov 19, 2009 at 11:59 AM, Richard Moreland r...@ncogni.to wrote:

 org-mobile-push creates index.org for you automatically.  MobileOrg uses
 it as a starting point from which it finds and fetches your other org files.
  org-mobile-push also creates the agendas.org as well as a checksums.dat
 file so MobileOrg can avoid re-downloading files that haven't changed.

 So yes, as you've discovered, the best way to go is to point MobileOrg at
 the generated index.org file and you should be all set.  As you add other
 org files to your agenda files list, they will be included in your MobileOrg
 sync as well.

 -Richard

 On Nov 19, 2009, at 12:49 PM, Marcelo de Moraes Serpa wrote:

  Hello again Richard,
 
  I'd like to know what is the role of the index.org file. Does
  orgmobile.orgcreate it? At first, I just pointed
  orgmobile.org to my gtd.org file (which is my index file), but I started
  having problems of synchronization and I didn't get the agenda view nor
 the
  colored tag icons in the items, now I pointed to index.org and I get a
 link
  to my gtd.org file and to the agenda view.
 
  Thanks,
 
  Marcelo.
  ___
  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] [orgmobile] need to sync many times to get the updates

2009-11-19 Thread Marcelo de Moraes Serpa
Steps to reproduce:

1) Modify any of the files included in the agenda, save it;
2) org-mobile-push
3) @mobileorg, sync and wait...

The changes are not there.

The Workaround is a two-step process:

1) Run org-mobile-push again (yes, from my tests, it should be ran twice at
least, not sure why, something related to the checksum)
2) Press the iphone/ipod-touch home button to exit the app, enter it again
and sync.

Marcelo.
___
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] Re: Sending org-mode nodes

2009-11-19 Thread Sebastian Rose
lukasz.stelm...@iem.pw.edu.pl (Łukasz Stelmach) writes:
 lukasz.stelm...@iem.pw.edu.pl writes:
 Sebastian Rose sebastian_r...@gmx.de writes:
 lukasz.stelm...@iem.pw.edu.pl writes:
 David Maus maus.da...@gmail.com writes:
 ////
 - Message-ID derived from node's ID. This would be quite useful for
   associating replies with original notes/nodes.


 In that case, each mail sent from the subtree would have the same
 message-ID, which is invalid, since the ID is made to identify a certain
 email. It's supposed to be world wide unique for at least two years.

 Your provider would replace your (probably invalid) ID anyway.

 I've written *derived* which means
 org-ID-current-time-user-mail-address also fits. Right?

 Not sure. I only remember bad things with self generated
 message-IDs. But I never tried it myself. Reading the RFCs will help.

 RFC 2822
The Message-ID: field provides a unique message identifier that
refers to a particular version of a particular message.  The
uniqueness of the message identifier is guaranteed by the host that
generates it (see below). (...) a good method is to put the
domain name (or a domain literal IP address) of the host on which the
message identifier was created on the right hand side of the @, and
put a combination of the current absolute date and time along with
some other currently unique (perhaps sequential) identifier available
on the system (for example, a process id number) on the left hand
side.


Still, not sure. From what I read about message IDs, they are to be
produced by mail servers - not email clients.

If my provider (gmx) receives my outgoing mail, it deletes the
Message-ID and generates a new one. They do not want Humpdy Dumpdy to
send mails with their own Message-ID, because there's a risk: it might
not be world-wide unique. I would do that, too.

I cannot set the Message-ID in mailers like Gnus, Evolution, Outlook,
Thunderbird.

If I'm wrong, I'd be interested in a way to that - so I could try it
myself.




  Sebastian


___
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] [orgmobile] the role of the index.org file

2009-11-19 Thread Richard Moreland
Unfortunately you've crossed out of iPhone app territory and into the Emacs 
side where I can't help you very much.

My (hacky) solution would be to use a 'org-mobile-post-push-hook' to run a sed 
command on the generated index.org file to do your substitution.  I think this 
should work, but I'm sure there is a much smarter way to do it.

There's an example that scp's the generated files here:
http://orgmode.org/manual/Setting-up-the-staging-area.html#Setting-up-the-staging-area

You would probably do the same, except use a sed command instead of scp (since 
your files are staged directly to your mounted WebDAV folder).

-Richard

On Nov 19, 2009, at 1:02 PM, Marcelo de Moraes Serpa wrote:

 Thanks again, Richard.
 
 Is there a way to change the name of the link? Currently it says gtd/
 gtd.org and I'd like to change it to Projects  Next Actions. However, I
 can't change the index.org directly as it is regenerated at each push. Any
 ideas?
 
 Marcelo.
 
 On Thu, Nov 19, 2009 at 11:59 AM, Richard Moreland r...@ncogni.to wrote:
 
 org-mobile-push creates index.org for you automatically.  MobileOrg uses
 it as a starting point from which it finds and fetches your other org files.
 org-mobile-push also creates the agendas.org as well as a checksums.dat
 file so MobileOrg can avoid re-downloading files that haven't changed.
 
 So yes, as you've discovered, the best way to go is to point MobileOrg at
 the generated index.org file and you should be all set.  As you add other
 org files to your agenda files list, they will be included in your MobileOrg
 sync as well.
 
 -Richard
 
 On Nov 19, 2009, at 12:49 PM, Marcelo de Moraes Serpa wrote:
 
 Hello again Richard,
 
 I'd like to know what is the role of the index.org file. Does
 orgmobile.orgcreate it? At first, I just pointed
 orgmobile.org to my gtd.org file (which is my index file), but I started
 having problems of synchronization and I didn't get the agenda view nor
 the
 colored tag icons in the items, now I pointed to index.org and I get a
 link
 to my gtd.org file and to the agenda view.
 
 Thanks,
 
 Marcelo.
 ___
 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


Re: [Orgmode] adding new protocol handler in firefox

2009-11-19 Thread Sebastian Rose
Thierry Volpiatto thierry.volpia...@gmail.com writes:
 Hi,
 if you use org-annotation-helper from firefox since a long time now, you
 probably didn't notice that adding a new protocol handler in firefox as
 it is described in org-annotation-helper.el is now impossible.

 See https://bugzilla.mozilla.org/show_bug.cgi?id=529511

 In addition to what is described in org-annotation-helper, you will need
 to modify the file mimeTypes.rdf as described here:

 http://tinyurl.com/yf37ukw

 The example is for bookmarking from firefox to emacs bookmarks, but it
 is the same for org. Just change emacsbookmark to remember and/or annotation.


Hi Thierry,


org-annotation-helper.el is abandoned since quite a while. It is part
(and basis) of org-protocol.el and not delivered with Org-mode anymore.

The way to install it is very similar to the way org-annotation-helper
was installed and is described here:

  http://orgmode.org/worg/org-contrib/org-protocol.php

The install works that way for me. If you use the Gnome desktop and have
firefox-gnome-integration (not sure if name is correct for all distros)
installed, you should install new protocol handlers using gconf-editor.

Please report any problems you encounter.



Best wishes


   Sebastian


___
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] [PATCH] Enable tags-todo agenda commands for MobileOrg

2009-11-19 Thread Andrew J. Korty
Not sure if these are disabled for a reason, but the following patch doesn't 
seem to cause any ill effects.  They work without the patch in block agendas, 
just not on their own.

ajk

--- org-mobile.el~  2009-11-19 13:45:54.0 -0500
+++ org-mobile.el   2009-11-19 13:44:10.0 -0500
@@ -438,7 +438,7 @@
((memq (nth 2 e) '(todo-tree tags-tree occur-tree))
;; These are trees, not really agenda commands
)
-   ((memq (nth 2 e) '(agenda todo tags))
+   ((memq (nth 2 e) '(agenda todo tags tags-todo))
;; a normal command
(setq key (car e) desc (nth 1 e) type (nth 2 e) match (nth 3 e)
  settings (nth 4 e))



___
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] Re: [orgmobile] support for Moblin

2009-11-19 Thread Gour
On Thu, 19 Nov 2009 18:36:19 +
 Eric == Eric S Fraga ucec...@ucl.ac.uk wrote:


Eric Ah, I see: it's more than just having org-mode available on a
Eric Moblin device; it's about integration with other tools on
Eric Moblin.  

Right.

Eric I don't know anything about Myzone unfortunately so
Eric cannot help.  

http://moblin.org/documentation/moblin-netbook-intro/how-get-around-moblin-netbook-ui/myzone

Eric My own use of org-mode on a handheld device consists of my
Eric running Emacs on Maemo and having Emacs take over the screen!  

Heh, I was thinking about N900, but it's too small for any serious
writing.

Eric I don't use any other apps (are there any other apps
Eric other than Emacs? ;-).

You mean 'OS' ?. Yes, there is e.g. Moblin. ;)

Eric Best of luck and keep us posted as I think there is going to be
Eric significant interest in Moblin in the near future given the
Eric number of devices appearing and about to appear.

Sure.

Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
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] adding new protocol handler in firefox

2009-11-19 Thread Sebastian Rose
Hi Thierry,


me again.

It seems they really want to remove the possibility to install protocol
handlers in FF directly. I wonder, why it still works here for FF 3.5,
but the bug-report is for FF 3.4.3 ??

Is that a development branch?


Well, anyway, editing RDF files by hand is not the way to go.

Instead, we should link to descriptions on how install the handlers
system wide. Some people reported they could use org-protocol from other
applications that way.


We already have an Windows installer on
http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3.4
and we should add install scripts for other desktop environments, too.

It's trivial to do so for gnome (gconf, just two three lines of code)
but I'm not sure, if there's a better way. I think of freedesktop.org,
mime or something ?

I will check.


Thanks for the hint!


  Sebastian


Sebastian Rose sebastian_r...@gmx.de writes:
 Thierry Volpiatto thierry.volpia...@gmail.com writes:
 Hi,
 if you use org-annotation-helper from firefox since a long time now, you
 probably didn't notice that adding a new protocol handler in firefox as
 it is described in org-annotation-helper.el is now impossible.

 See https://bugzilla.mozilla.org/show_bug.cgi?id=529511

 In addition to what is described in org-annotation-helper, you will need
 to modify the file mimeTypes.rdf as described here:

 http://tinyurl.com/yf37ukw

 The example is for bookmarking from firefox to emacs bookmarks, but it
 is the same for org. Just change emacsbookmark to remember and/or annotation.


 Hi Thierry,


 org-annotation-helper.el is abandoned since quite a while. It is part
 (and basis) of org-protocol.el and not delivered with Org-mode anymore.

 The way to install it is very similar to the way org-annotation-helper
 was installed and is described here:

   http://orgmode.org/worg/org-contrib/org-protocol.php

 The install works that way for me. If you use the Gnome desktop and have
 firefox-gnome-integration (not sure if name is correct for all distros)
 installed, you should install new protocol handlers using gconf-editor.

 Please report any problems you encounter.



 Best wishes


Sebastian


 ___
 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

-- 
~~
Sebastian  Rose  Fachinformatiker / Anwendungsentwicklung
Viktoriastr. 22  Entwicklung von Anwendungen mit freien Werkzeugen
30451  Hannover  und Bibliotheken.

0173  83 93 417  sebastian_r...@gmx.de s.r...@emma-stil.de
~~


___
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] Org-mode version 6.32b; org-remember only indents first line of %i substitution

2009-11-19 Thread Andrew J. Korty
I've learned some more details.  The behavior I describe only occurs when 
remember is called via org-protocol.  When that happens, `initial' is nil, so 
the following code in org-remember.el doesn't run:

  (save-match-data
(let* ((lead (buffer-substring
  (point-at-bol) (match-beginning 0
  (setq v-i (mapconcat 'identity
   (org-split-string initial \n)
   (concat \n lead)

I'm not sure of the best way to fix it.

ajk

On Nov 18, 2009, at 17:54 , Carsten Dominik wrote:

 Hi Andrew, this works fine for me, I cannot reproduce
 the problem you are describing.
 
 - Carsten
 
 On Nov 12, 2009, at 4:27 PM, Andrew J. Korty wrote:
 
 When %i appears indented in an org-remember template, each line of the
 text substituted is supposed to be indented.  In my case, only the  
 first
 line is being indented.
 
 Emacs  : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.0.0, NS apple- 
 appkit-1038.11)
 of 2009-11-10 on phrygian
 Package: Org-mode version 6.32b
 
 
 
 ___
 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
 
 - Carsten
 
 
 



___
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] adding new protocol handler in firefox

2009-11-19 Thread Thierry Volpiatto
Hi Sebastian,
thanks for your answer.

Sebastian Rose sebastian_r...@gmx.de writes:

 Hi Thierry,


 me again.

 It seems they really want to remove the possibility to install protocol
 handlers in FF directly. I wonder, why it still works here for FF 3.5,
 but the bug-report is for FF 3.4.3 ??

Yes, it seem they don't like users install protocols.
But as the removal of this feature create problems with thunderbird,
maybe they will do something for that.


 Is that a development branch?


 Well, anyway, editing RDF files by hand is not the way to go.

Agree, but i didn't find a better way to do.
I know nothing about the gnome stuff as i don't use it.
(i use gentoo with a stumpwm window manager)

We can easily setup a script that write config to this file (rdf) for a given
protocol.
What do you think?

 Instead, we should link to descriptions on how install the handlers
 system wide. Some people reported they could use org-protocol from other
 applications that way.

I recently used picasa and saw it have installed a picasa protocol
alone. How did it write to rdf file? i don't know.
I will have a look.


 We already have an Windows installer on
 http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3.4
 and we should add install scripts for other desktop environments, too.

The problem of mime setting is not described here.
The protocol will fail with something  like:
the protocol have no associated program ...
I don't understand why firefox do not read a mailcap file on the user system
or something similar (e.g /etc/mime.types)

 It's trivial to do so for gnome (gconf, just two three lines of code)
 but I'm not sure, if there's a better way. I think of freedesktop.org,
 mime or something ?

Setting things for firefox from desktop, gnome or whatever is no good
IMHO.
Firefox should have the old behavior of having the ability to setup a
protocol from firefox itself.

 I will check.

Me too, i will keep you informed on this list.


 Thanks for the hint!


   Sebastian


 Sebastian Rose sebastian_r...@gmx.de writes:
 Thierry Volpiatto thierry.volpia...@gmail.com writes:
 Hi,
 if you use org-annotation-helper from firefox since a long time now, you
 probably didn't notice that adding a new protocol handler in firefox as
 it is described in org-annotation-helper.el is now impossible.

 See https://bugzilla.mozilla.org/show_bug.cgi?id=529511

 In addition to what is described in org-annotation-helper, you will need
 to modify the file mimeTypes.rdf as described here:

 http://tinyurl.com/yf37ukw

 The example is for bookmarking from firefox to emacs bookmarks, but it
 is the same for org. Just change emacsbookmark to remember and/or 
 annotation.


 Hi Thierry,


 org-annotation-helper.el is abandoned since quite a while. It is part
 (and basis) of org-protocol.el and not delivered with Org-mode anymore.

 The way to install it is very similar to the way org-annotation-helper
 was installed and is described here:

   http://orgmode.org/worg/org-contrib/org-protocol.php

 The install works that way for me. If you use the Gnome desktop and have
 firefox-gnome-integration (not sure if name is correct for all distros)
 installed, you should install new protocol handlers using gconf-editor.

 Please report any problems you encounter.



 Best wishes


Sebastian


 ___
 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

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France


___
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] add todo state when tagging by specific tag

2009-11-19 Thread Marcelo de Moraes Serpa
Hello list,

What would be the easiest way to apply a TODO state to an item just after
tagging it by a specific tag? For example,  want to tag an item with the
:PROJECT: tag and when I do that, change the TODO to PROJECT too.

I know it is possible somehow, given the flexibility of elisp and org, but
I'd like to know if org provides any machinery/API that makes it
easier/straightfoward (maybe a hook?)

Thanks,

Marcelo.
___
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] Org-mode version 6.32b; org-remember only indents first line of %i substitution

2009-11-19 Thread Sebastian Rose
Andrew J. Korty a...@iu.edu writes:

 I've learned some more details.  The behavior I describe only occurs when 
 remember is called via org-protocol.  When that happens, `initial' is nil, so 
 the following code in org-remember.el doesn't run:

   (save-match-data
 (let* ((lead (buffer-substring
   (point-at-bol) (match-beginning 0
   (setq v-i (mapconcat 'identity
(org-split-string initial \n)
(concat \n lead)

 I'm not sure of the best way to fix it.

 ajk


Hi Andrew,


the best way to fix it will be to fix the function
`org-protocol-remember'. If the behaviour occurs solely when called
through org-protocol, this is the place to fix it.

I'll take a look in it
Hm - initial _should_ be set...

It is here actually. My `?w' template depends on it:



(setq org-remember-templates
  '(
;; ... more templates here... ;;

;; Default org-protocol:
( ?w * %^{Title}\n\n  Quelle: %u, %c\n\n  %i nil Notizen))






Ahhh - OK, patch is here - please test:


diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index 5c65fb0..0684f7a 100644
--- a/lisp/org-protocol.el
+++ b/lisp/org-protocol.el
@@ -471,7 +471,7 @@ Now template ?b will be used.
  (type (if (string-match ^\\([a-z]+\\): url)
(match-string 1 url)))
  (title (cadr parts))
- (region (caddr parts))
+ (region (or (caddr parts) ))
  (orglink (org-make-link-string url title))
  remember-annotation-functions)
 (setq org-stored-links



Best wishes

   Sebastian
___
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] Re: org-indent-mode and visual-line-mode

2009-11-19 Thread Ben Finney
Matt Price matt.pr...@utoronto.ca writes:

 Visual-line-mode is a replacement for longlines-mode; it soft-wraps
 text at the screen boundary, and does a much better job than
 longlines-mode did.

I think you're confused by a (helpful) conflation.

The ‘visual-lines-mode’ is indeed a replacement for ‘longlines-mode’,
but its job is to cause editing commands to act on visual, rather than
logical lines.

The wrapping behaviour you're describing is performed by ‘word-wrap’, a
buffer-local variable that cuases lines to be visually broken at word
boundaries.

The ‘word-wrap’ variable is set by ‘visual-lines-mode’, which is why
you're seeing it happen. But ‘word-wrap’ is independent of this.

 Is that what you needed? I'm not sure where the code for
 visual-line-mode lives -- there isn't a visual-line.el anywhere that i
 can find on my system.

Fortunately, ‘visual-line-mode’ appears to be a distraction from what
you're describing; Carsten only needs to learn about ‘word-wrap’.

-- 
 \“The flattening of underwear with pleasure is the job of the |
  `\  chambermaid.” —hotel, Yugoslavia |
_o__)  |
Ben Finney


pgpXB2IJ8KNm8.pgp
Description: PGP signature
___
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] Feature request: Periodic events based on count of specific weekdays (was: Monthly events based on count of specific weekdays)

2009-11-19 Thread Ben Finney
Ben Finney ben+em...@benfinney.id.au writes:

 […] “second Tuesday of the month” isn't niche, it is pretty common, I
 would have thought.

[…]

  You'd have to ask Carsten to implement a new timestamp syntax. What
  would you propose as a more readable designation?

How about a keyword that specifies the type of repeat being requested:

2009-10-13 Tue 14:00 +1m dow
Repeat each month, on the second Tuesday of the month. Calculated
because this date is the second Tuesday of the month, and “dow” is
the specified repeat type.

2009-10-13 Tue 14:00 +1m dom
Repeat each month, on the 13th day of the month. Calculated because
this date is the 13th of the month, and “dom” is the specified
repeat type.

2009-10-13 Tue 14:00 +1m
Repeat each month, on the 13th day of the month. Calculated because
this date is the 13th of the month, and “dom” is the default repeat
type.

This allows existing behaviour to be continued (“repeat on the same day
of the month”), preserves the default behaviour, and allows for other
repeat types to be added later without breaking existing timestamp data.

-- 
 \“He who laughs last, thinks slowest.” —anonymous |
  `\   |
_o__)  |
Ben Finney



___
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] Re: add todo state when tagging by specific tag

2009-11-19 Thread Bernt Hansen
Marcelo de Moraes Serpa celose...@gmail.com writes:

 What would be the easiest way to apply a TODO state to an item just after 
 tagging it by a specific
 tag? For example,  want to tag an item with the :PROJECT: tag and when I do 
 that, change the TODO to
 PROJECT too.

 I know it is possible somehow, given the flexibility of elisp and org, but 
 I'd like to know if org
 provides any machinery/API that makes it easier/straightfoward (maybe a hook?)

The other way already works.  If you set a task todo keyword to PROJECT
you can automatically add a PROJECT tag.  See
org-todo-state-tags-triggers to set that up.

-Bernt


___
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] Org-mode version 6.32b; org-remember only indents first line of %i substitution

2009-11-19 Thread Sebastian Rose
Andrew J. Korty a...@iu.edu writes:
 I've learned some more details.  The behavior I describe only occurs when 
 remember is called via org-protocol.  When that happens, `initial' is nil, so 
 the following code in org-remember.el doesn't run:

   (save-match-data
 (let* ((lead (buffer-substring
   (point-at-bol) (match-beginning 0
   (setq v-i (mapconcat 'identity
(org-split-string initial \n)
(concat \n lead)

 I'm not sure of the best way to fix it.


As `initial' was not set, so might `title' in some cases. Hence this
patch is better.

Carsten: Not sure about the link - but looking at
`org-make-link-string', a string that consists of spaces only, might
create a link like this: 

  [[url][ ]]


Test:


(let ((orglink (org-make-link-string
http://www.google.de;  )))
  (insert orglink))

Which is invisible in Org-files!!!


 
My patch works around that, too.



diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index 5c65fb0..0d40c2c 100644
--- a/lisp/org-protocol.el
+++ b/lisp/org-protocol.el
@@ -470,9 +470,10 @@ Now template ?b will be used.
  (url (org-protocol-sanitize-uri (car parts)))
  (type (if (string-match ^\\([a-z]+\\): url)
(match-string 1 url)))
- (title (cadr parts))
- (region (caddr parts))
- (orglink (org-make-link-string url title))
+ (title (or (cadr parts) ))
+ (region (or (caddr parts) ))
+ (orglink (org-make-link-string
+		   url (if (string-match [^[:space:]] title) title url)))
  remember-annotation-functions)
 (setq org-stored-links
   (cons (list url title) org-stored-links))





Best wishes


  Sebastian
___
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] Bug: org-agenda-query-and-cmd results in (wrong-type-argument char-or-string-p nil) when org-agenda-query-string is unset [6.33trans (release_6.33c.27.g1bb0d)]

2009-11-19 Thread Friedrich Delgado Friedrichs
Hiho!

I can't use the '/' command from the agenda.

Here's a backtrace:

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
  insert(Query: nil \n)
  (save-window-excursion (if expert (set-buffer ...) (delete-other-windows) 
(split-window-vertically) (org-switch-to-buffer-other-window ...)) 
(erase-buffer) (org-set-local (quote org-done-keywords) done-keywords) (insert 
Query: current \n) (org-agenda-query-op-line op) (insert \n\n) 
(org-fast-tag-show-exit exit-after-next) (setq tbl fulltable char 97 cnt 0) 
(while (setq e ...) (cond ... ... ...)) (setq ntable (nreverse ntable)) (insert 
\n) (goto-char (point-min)) (if (and ... ...) (fit-window-to-buffer)) (setq 
rtn (catch ... ...)) (if rtn current nil))
  (let* ((fulltable ...) (maxlen ...) (fwidth ...) (ncol ...) (expert ...) 
(exit-after-next org-agenda-query-selection-single-key) (done-keywords 
org-done-keywords) tbl char cnt e groups ingroup tg c2 c c1 ntable rtn) 
(save-window-excursion (if expert ... ... ... ...) (erase-buffer) 
(org-set-local ... done-keywords) (insert Query: current \n) 
(org-agenda-query-op-line op) (insert \n\n) (org-fast-tag-show-exit 
exit-after-next) (setq tbl fulltable char 97 cnt 0) (while ... ...) (setq 
ntable ...) (insert \n) (goto-char ...) (if ... ...) (setq rtn ...) (if rtn 
current nil)))
  org-agenda-query-selection(nil + nil ((REMINDER . 114) (DONE . 107) 
(CANCELLED . 99) (DOING . 100) (TODO . 116)))
  (let ((q ...)) (when q (setq org-agenda-query-string q) (org-agenda-redo)))
  org-agenda-query-generic-cmd(+)
  org-agenda-query-and-cmd()
  call-interactively(org-agenda-query-and-cmd nil nil)

Not sure what's wrong here, because it looks like this works for other
people.

org-agenda-query-string seems to be nil by default and it's only set
on the first successful query

Emacs  : GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-11 on abrasax
Package: Org-mode version 6.33trans (release_6.33c.27.g1bb0d)

current state (redacted):
=
(setq
 org-mutt-link-terminal-emulator runinscreen
 org-log-done '(state)
 org-clock-in-switch-to-state DOING
 org-export-with-LaTeX-fragments t
 org-archive-default-command 'org-toggle-archive-tag
 org-todo-keyword-faces '((REMINDER :foreground green4))
 org-special-ctrl-a/e t
 org-agenda-files-common-someday '(~/Org/Someday.org)
 org-agenda-custom-commands '((d todo DOING nil)
  (S tags STALLED ((org-use-tag-inheritance 
nil)))
  (w tags WAITING ((org-use-tag-inheritance 
nil)))
  (r Describe command here todo REMINDER nil)
  (l \Shopping List\ (just the headings)
   tags-todo List
   ((org-agenda-remove-tags t)
(org-agenda-prefix-format )
(org-agenda-todo-keyword-format )
(org-agenda-sorting-strategy
 (quote (category-up priority-down)))
(org-habit-graph-column nil))
   )
  (p Project List tags Project
   ((org-use-tag-inheritance nil)))
  )
 org-agenda-include-diary t
 org-blocker-hook '(org-depend-block-todo)
 org-export-with-sub-superscripts '{}
 org-hide-leading-stars t
 org-mairix-display-hook 'org-mairix-gnus-display-results
 org-agenda-exporter-settings '((htmlize-output-type (quote inline-css)))
 org-checklist-export-function 'org-export-as-ascii
 org-completion-use-ido t
 org-startup-truncated nil
 org-agenda-skip-timestamp-if-done t
 org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current)
 org-combined-agenda-icalendar-file ~/git/Org/home/org.ics
 org-agenda-todo-ignore-scheduled t
 org-clock-history-length 15
 org-icalendar-timezone Europe/Berlin
 org-startup-folded 'content
 org-odd-levels-only t
 org-use-fast-tag-selection nil
 outline-minor-mode-prefix 
 org-special-ctrl-k t
 org-id-include-domain t
 org-agenda-remove-times-when-in-prefix 'beg
 org-agenda-sorting-strategy '((agenda time-up priority-down category-keep)
   (todo priority-down category-keep tag-down)
   (tags priority-down category-keep tag-down)
   (search category-keep))
 org-agenda-columns-add-appointments-to-effort-sum t
 org-keep-stored-link-after-insertion t
 org-agenda-skip-scheduled-if-done t
 org-stuck-projects '(+Project/-DONE (TODO DOING) (WAITING) )
 org-clock-in-resume t
 org-trigger-hook '(org-depend-trigger-todo)
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tags-exclude-from-inheritance '(Project)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-export-with-priority t
 

Re: [Orgmode] Bug: org-agenda-query-and-cmd results in (wrong-type-argument char-or-string-p nil) when org-agenda-query-string is unset [6.33trans (release_6.33c.27.g1bb0d)]

2009-11-19 Thread Nick Dokos
Friedrich Delgado Friedrichs frie...@nomaden.org wrote:

 Hiho!
 
 I can't use the '/' command from the agenda.
 
 Here's a backtrace:
 
 Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
   insert(Query: nil \n)
   (save-window-excursion (if expert (set-buffer ...) (delete-other-windows) 
 (split-window-vertically) (org-switch-to-buffer-other-window ...)) 
 (erase-buffer) (org-set-local (quote org-done-keywords) done-keywords) 
 (insert Query: current \n) (org-agenda-query-op-line op) (insert 
 \n\n) (org-fast-tag-show-exit exit-after-next) (setq tbl fulltable char 97 
 cnt 0) (while (setq e ...) (cond ... ... ...)) (setq ntable (nreverse 
 ntable)) (insert \n) (goto-char (point-min)) (if (and ... ...) 
 (fit-window-to-buffer)) (setq rtn (catch ... ...)) (if rtn current nil))
   (let* ((fulltable ...) (maxlen ...) (fwidth ...) (ncol ...) (expert ...) 
 (exit-after-next org-agenda-query-selection-single-key) (done-keywords 
 org-done-keywords) tbl char cnt e groups ingroup tg c2 c c1 ntable rtn) 
 (save-window-excursion (if expert ... ... ... ...) (erase-buffer) 
 (org-set-local ... done-keywords) (insert Query: current \n) 
 (org-agenda-query-op-line op) (insert \n\n) (org-fast-tag-show-exit 
 exit-after-next) (setq tbl fulltable char 97 cnt 0) (while ... ...) (setq 
 ntable ...) (insert \n) (goto-char ...) (if ... ...) (setq rtn ...) (if rtn 
 current nil)))
   org-agenda-query-selection(nil + nil ((REMINDER . 114) (DONE . 107) 
 (CANCELLED . 99) (DOING . 100) (TODO . 116)))
   (let ((q ...)) (when q (setq org-agenda-query-string q) (org-agenda-redo)))
   org-agenda-query-generic-cmd(+)
   org-agenda-query-and-cmd()
   call-interactively(org-agenda-query-and-cmd nil nil)
 
 Not sure what's wrong here, because it looks like this works for other
 people.
 

Perhaps that's because you are loading contrib/lisp/org-interactive-query.el,
which redefines keys in the agenda mode map:

(org-defkey org-agenda-mode-map = 'org-agenda-query-clear-cmd)
(org-defkey org-agenda-mode-map / 'org-agenda-query-and-cmd)
(org-defkey org-agenda-mode-map ; 'org-agenda-query-or-cmd)
(org-defkey org-agenda-mode-map \\ 'org-agenda-query-not-cmd)

HTH,
Nick


___
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] org-git-link patch

2009-11-19 Thread Wes Hardaker

defalias in xemacs doesn't take a string arg


---
 contrib/lisp/org-git-link.el |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/lisp/org-git-link.el b/contrib/lisp/org-git-link.el
index 1206ace..030b955 100644
--- a/contrib/lisp/org-git-link.el
+++ b/contrib/lisp/org-git-link.el
@@ -130,8 +130,8 @@
   (list (expand-file-name .git dir) relpath


-(defalias 'org-git-gitrepos-p 'org-git-find-gitdir
-  Return non-nil if path is in git repository)
+;  Return non-nil if path is in git repository
+(defalias 'org-git-gitrepos-p 'org-git-find-gitdir)


 ;; splitting the link string
--
1.6.2.5


-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find. ___/
   \_ -- Terry Pratchett __/
 \__/


___
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] err... looking-back not defined in xemacs either

2009-11-19 Thread Wes Hardaker

I really need to switch to Emacs, I know  But you see my
buffer-timer software only runs in XEmacs and the last time I looked for
the hook I needed for Emacs it didn't exist.  I wonder if it does now...

-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find. ___/
   \_ -- Terry Pratchett __/
 \__/


___
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] Re: A Header outline and an Argument outline in one?

2009-11-19 Thread Scot Becker
Thanks, Bernt for the suggestion and for working up that test file.

I think you're right, that something like that will work.  The minor
disadvantage is that it puts the 'argument' after the body text that
expresses it, but the huge advantage is that everything is already in
place.  I've extended your sample document to try it, and I think it
could work for me.  Now I'll try to do some work that way.

Thanks,
Scot


On Wed, Nov 18, 2009 at 2:35 PM, Bernt Hansen be...@norang.ca wrote:
 Scot Becker scot.bec...@gmail.com writes:

 Greetings, org-moders,

 I use org for academic writing, and it seems to me that org might be a
 good way (perhaps even the only existing way) to keep the following
 two kinds of outline structures in one place:

 1.  The typographic outline.  Headers and Subheaders that should
 organize my final document.
 2.  The argument outline.  The running structure of my argument, not
 finally published but visible to me as I organize and write.  This
 should also be printable as an outline, to discuss my ongoing work.

 Right now I do use org to do (1), as part of my writing, which then
 gets exported to LaTeX.  This is nothing new.  Org makes a fantastic
 sandbox for (2).  But it isn't very easy to keep them both together.
 I'm thinking of a way that:

 (a) I can use org's great outlining UI to do either (1) or (2), in the
 same outline structure, even if not at the same time.
 (b) keeps them both together, so I can use (2) to prompt my writing.
 (c) Lets me just print the argument outline (i.e. with the easylist[1]
 latex package), or just the document headings, or both
 (c) lets me keep my statements of argument with my text as my written
 piece develops, and possibly
 (e) lets me have argument statements for small sections that I don't
 want typographical headings for.  (Paragraphs yet to be written).

 It seems to me that the only way to be able to use org-ui to do and
 keep a non published argument outline is to have a mechanism that
 would exchange the org heading (*  Chapter One ) with the argument
 statements when I tell it to.  It could then store the currently
 inactive 'header' either in a commented line or an org-property.  This
 would allow all the goodness of org to operate freely on either kind
 of node title, and the typical export case which keeps the Argument
 lines hidden, or exports them as comments.

 I could then have another mechanism which would allow both headers AND
 argument lines to be exported to LaTeX/HTML, for those cases when I
 want a talking points outline to discuss with my supervisor, or to
 work on the whole in pen-and-paper mode.  I assume such a mechanism
 would either put the two headers together in one heading (* Chapter
 One :: The Music of the 50s made a generation crazy), or somehow
 export the property containing the Argument AS the body text, or as
 the argument of a custom latex command.


 (e) above is a bit of another matter, and I'm not sure how to
 accomplish it in orgmode, which only has native capacity to supress
 whole nodes, not just the headers, but it would be a great addition,
 since it would let me do pre-writing outlining at a far finer level.

 I am an elisp learner (as an Emacs user must be, I suppose), but still
 very early in my elisp childhood.  I would be very grateful for some
 ideas about the best way to accomplish this, and/or some guidance
 about what code I might take model these things on.  And of course any
 expressions of enthusiasm for the idea, or hacks that already
 accomplish something like it are mightily welcome.


 Hi Scot

 I think you can do most if not all of what you want with tags.  I'm not
 sure but I think you want to keep your notes and arguments inline with
 your document structure something like this:

 Consider the following test org-mode document

 ,[ test.org ]
 | #+EXPORT_SELECT_TAGS:
 | #+EXPORT_EXCLUDE_TAGS: argument note
 |
 | * One
 |   Stuff about One
 | ** One.Argument                                                          
 :argument:
 |    Argument for One
 | * Two
 |   Stuff about Two
 | ** Two.One
 |    Stuff about Two.One
 | ** Some note about two                                                      
  :note:
 |    This is a note
 | ** Two.Two
 |    Stuff about Two.Two
 | * Three
 |   Stuff about Three
 | ** Argument for Three                                            :argument:
 |    [2009-11-18 Wed 09:21]
 | *** TODO Don't forget to do this
 |     [2009-11-18 Wed 09:22]
 | * Four
 |   Stuff about Four
 | ** Four.One
 |    Stuff about Four.One
 | ** Four.Two
 |    Stuff about Four.Two
 | *** Note about Four.Two                                                     
  :note:
 |     More interesting stuff
 | *** Four.Two.One
 |     Stuff about Four.Two.One
 |  Argument for Four.Two.One                                           
 :argument:
 |      [2009-11-18 Wed 09:24]
 | *** Four.Two.Two
 |     Stuff about Four.Two.Two
 | *** Four.Two.Three
 |     Stuff about Four.Two.Three
 

Re: [Orgmode] A Header outline and an Argument outline in one?

2009-11-19 Thread Daniel Clemente
El mié, nov 18 2009 a les 13:12, Scot Becker va escriure:
 (e) above is a bit of another matter, and I'm not sure how to
 accomplish it in orgmode, which only has native capacity to supress
 whole nodes, not just the headers, 

  This is very interesting. I assume you want to wrap some paragraphs inside a 
header but without exporting the header; just for the outline benefits.
  Normally you would do:


My thesis.

* (just a little introduction)
I will explain the achievements of this work.

** (first discovery: roses are red)
It was discovered that roses are red.



  But then the headers are exported.
  You should use inline tasks instead. Use (require 'org-inlinetask) and write:



My thesis.

 (just a little introduction)
I will explain the achievements of this work.

* (first discovery: roses are red)
It was discovered that roses are red.



  Ask org-mode not to export the tasks -- it exports the content instead:
  (setq org-inlinetask-export nil)

  And this exports to:


---

My thesis.

I will explain the achievements of this work.

It was discovered that roses are red.

---



  I hope it helps.


-- Daniel


___
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] Re: org-indent-mode and visual-line-mode

2009-11-19 Thread Ben Finney
Matt Price matt.pr...@utoronto.ca writes:

 Does anyone else use visual-=line-mode with org? I'm sort of surprised
 no one would -- it seems a completely obvious choice to me and it may
 be that I'm just missing something about optimum work flows or
 similar.

I hard-wrap (Emacs “fill” operations) paragraphs in most text files,
including my Org files. So I don't have to deal very often with the
distinction between visual versus local lines.

-- 
 \“Technology is neither good nor bad; nor is it neutral.” |
  `\   —Melvin Kranzberg's First Law of Technology |
_o__)  |
Ben Finney


pgpi5Fz7Iagiy.pgp
Description: PGP signature
___
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] Org-mode version 6.33trans; incorrect speed command help message

2009-11-19 Thread Huang Tao
Hi,

Function `org-speed-commands-default' has two same form (/ .
org-sparse-tree). I found this from the help message of speed
commands.


___
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] org-remember-handler: Symbol's value as variable is void: org-complex-heading-regexp-format

2009-11-19 Thread Raffi R
Dear orgmode,

This is a terribly odd problem, and I'm not sure how it was prompted
or how to trace it.

When  I C-c C-c to save a task to my todo.org from Remember-mode, I am
prompted with the following error:

org-remember-handler: Symbol's value as variable is void:
org-complex-heading-regexp-format

It then dumps me into a remember buffer which is empty save for the
text I was trying to save.

This error is accompanied by the following:
When I try to C-c C-x C-s to archive a task in my todo.org, I am
presented with the following in my *messages* buffer:

OVERVIEW
Loading reftex...done
Compiling label environment definitions...done
Scanning entire document...
Scanning file /Users/rpr/Dropbox/orgfiles/todo.org_archive
Scanning document... done
Copied: Subtree(s) with 144 characters
org-advertized-archive-subtree: Wrong type argument: number-or-marker-p, nil

My apologies if this is too vague; if it is, please point me toward a
resource that will tell me how to specify.

Thank you very much for all your hard work on orgmode and answering
questions about it,
- Raffi.


___
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] org-git-link patch

2009-11-19 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Nov 20, 2009, at 12:28 AM, Wes Hardaker wrote:



defalias in xemacs doesn't take a string arg


---
contrib/lisp/org-git-link.el |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/lisp/org-git-link.el b/contrib/lisp/org-git- 
link.el

index 1206ace..030b955 100644
--- a/contrib/lisp/org-git-link.el
+++ b/contrib/lisp/org-git-link.el
@@ -130,8 +130,8 @@
  (list (expand-file-name .git dir) relpath


-(defalias 'org-git-gitrepos-p 'org-git-find-gitdir
-  Return non-nil if path is in git repository)
+;  Return non-nil if path is in git repository
+(defalias 'org-git-gitrepos-p 'org-git-find-gitdir)


;; splitting the link string
--
1.6.2.5


--
\ Wes Hardaker   http://pontifications.hardakers.net 
 /
\_ In the bathtub of history the truth is harder to hold than  
/

  \___ the soap, and much more difficult to find. ___/
  \_ -- Terry Pratchett __/
\__/


___
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


- Carsten





___
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] Org-mode version 6.32b; org-remember only indents first line of %i substitution

2009-11-19 Thread Carsten Dominik

Hi Sebastian - I am confused - which is the patch I should apply?

- Carsten


On Nov 19, 2009, at 11:47 PM, Sebastian Rose wrote:


Andrew J. Korty a...@iu.edu writes:
I've learned some more details.  The behavior I describe only  
occurs when remember is called via org-protocol.  When that  
happens, `initial' is nil, so the following code in org-remember.el  
doesn't run:


 (save-match-data
   (let* ((lead (buffer-substring
 (point-at-bol) (match-beginning 0
 (setq v-i (mapconcat 'identity
  (org-split-string initial \n)
  (concat \n lead)

I'm not sure of the best way to fix it.



As `initial' was not set, so might `title' in some cases. Hence this
patch is better.

Carsten: Not sure about the link - but looking at
`org-make-link-string', a string that consists of spaces only, might
create a link like this:

 [[url][ ]]


Test:


(let ((orglink (org-make-link-string
   http://www.google.de;  )))
 (insert orglink))
Which is invisible in Org-files!!!


I have fixed this also, in a diffeerent way.

- Carsten





My patch works around that, too.



diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index 5c65fb0..0d40c2c 100644
--- a/lisp/org-protocol.el
+++ b/lisp/org-protocol.el
@@ -470,9 +470,10 @@ Now template ?b will be used.
 (url (org-protocol-sanitize-uri (car parts)))
 (type (if (string-match ^\\([a-z]+\\): url)
   (match-string 1 url)))
- (title (cadr parts))
- (region (caddr parts))
- (orglink (org-make-link-string url title))
+ (title (or (cadr parts) ))
+ (region (or (caddr parts) ))
+ (orglink (org-make-link-string
+  url (if (string-match [^[:space:]] title) title url)))
 remember-annotation-functions)
(setq org-stored-links
  (cons (list url title) org-stored-links))





Best wishes


 Sebastian


- Carsten





___
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] [PATCH] Org-mode version 6.33trans; incorrect speed command help message

2009-11-19 Thread Noorul Islam K M

Huang Tao htbest2...@gmail.com writes:

 Hi,

 Function `org-speed-commands-default' has two same form (/ .
 org-sparse-tree). I found this from the help message of speed
 commands.

Attached is a patch to fix this.

* org-speed-commands-default
  + Remove duplicate entry of org-sparse-tree

Thanks and Regards
Noorul


diff --git a/lisp/org.el b/lisp/org.el
index 12e950f..b51189d 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -14943,7 +14943,6 @@ Some of the options can be changed using the variable
 (Agenda Views etc)
 (v . org-agenda)
 (/ . org-sparse-tree)
-(/ . org-sparse-tree)
 (Misc)
 (o . org-open-at-point)
 (? . org-speed-command-help)
___
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] Bug: i in agenda complains mark is not active now [6.33trans (release_6.33c.26.ga839)]

2009-11-19 Thread Carsten Dominik

Hi Bernt,

I cannot reproduce this.  Can you please send a backtrace?

- Carsten

On Nov 19, 2009, at 5:26 PM, Bernt Hansen 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.

When org-agenda-diary-file is set to a special org file for diary
entries and transient mark mode is enabled 'i' in the agenda fails
with 'mark is not active now'

My workaround for this is C-SPC to set the mark anywhere legal in the
agenda display (ie not on the first or last line) and then hit 'i'
to insert my diary entries.

-Bernt

Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.33trans (release_6.33c.26.ga839)


___
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


- Carsten





___
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] Re: org-export-generic: accessing todo keywords

2009-11-19 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Nov 19, 2009, at 4:20 PM, Wes Hardaker wrote:

On Wed, 18 Nov 2009 15:33:03 -0500, Tim Hermans therm...@gmail.com 
 said:


TH I took note from a post by James TD Smith on this list a while  
back

TH and changed this to use aput.  This is included in assoc.el
TH which is included in both XEmacs and GNU Emacs.  It does exactly  
the

TH same thing.  It would be more portable.

Huh.  I actually thought that was changed already via a patch a while
back but apparently the patch got lost.

Carsten, here's the patch to apply:

diff --git a/contrib/lisp/org-export-generic.el b/contrib/lisp/org- 
export-generic.el

index aba550e..1fff03f 100644
--- a/contrib/lisp/org-export-generic.el
+++ b/contrib/lisp/org-export-generic.el
@@ -96,6 +96,7 @@
;;; Commentary:

(require 'org-exp)
+(require 'assoc)

(defgroup org-export-generic nil
  Options specific for ASCII export of Org-mode files.
@@ -440,7 +441,7 @@ in this way, it will be wrapped.
(defun org-set-generic-type (type definition)
  Adds a TYPE and DEFINITION to the existing list of defined generic
export definitions.
-  (set-alist 'org-generic-alist type definition))
+  (aput 'org-generic-alist type definition))

(defun org-export-generic-remember-section (type suffix optional  
prefix)

  (setq org-export-generic-section-type type)
--
\ Wes Hardaker   http://pontifications.hardakers.net 
 /
\_ In the bathtub of history the truth is harder to hold than  
/

  \___ the soap, and much more difficult to find. ___/
  \_ -- Terry Pratchett __/
\__/


___
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


- Carsten





___
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] org-remember-handler: Symbol's value as variable is void: org-complex-heading-regexp-format

2009-11-19 Thread Nick Dokos
Raffi R raf...@gmail.com wrote:

 Dear orgmode,
 
 This is a terribly odd problem, and I'm not sure how it was prompted
 or how to trace it.
 
 When  I C-c C-c to save a task to my todo.org from Remember-mode, I am
 prompted with the following error:
 
 org-remember-handler: Symbol's value as variable is void:
 org-complex-heading-regexp-format
 
 It then dumps me into a remember buffer which is empty save for the
 text I was trying to save.
 
 This error is accompanied by the following:
 When I try to C-c C-x C-s to archive a task in my todo.org, I am
 presented with the following in my *messages* buffer:
 
 OVERVIEW
 Loading reftex...done
 Compiling label environment definitions...done
 Scanning entire document...
 Scanning file /Users/rpr/Dropbox/orgfiles/todo.org_archive
 Scanning document... done
 Copied: Subtree(s) with 144 characters
 org-advertized-archive-subtree: Wrong type argument: number-or-marker-p, nil
 
 My apologies if this is too vague; if it is, please point me toward a
 resource that will tell me how to specify.
 

Read and follow the instruction in section 1.4 Feedback of the Org manual.
You can probably get it locally through Info - if not locally available,
you can get it online:

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

It will tell you how to get a backtrace. It will also point you to the function
org-submit-bug-report that will gather up all sorts of useful information
to help people diagnose the problem.

HTH,
Nick



___
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] org-remember-handler: Symbol's value as variable is void: org-complex-heading-regexp-format

2009-11-19 Thread Raffi R
I recompiled orgmode and the error disappeared. Ghost in the machine, I guess.

Thank you for the pointer,
- Raffi.

On Fri, Nov 20, 2009 at 1:01 AM, Nick Dokos nicholas.do...@hp.com wrote:
 Raffi R raf...@gmail.com wrote:

 Dear orgmode,

 This is a terribly odd problem, and I'm not sure how it was prompted
 or how to trace it.

 When  I C-c C-c to save a task to my todo.org from Remember-mode, I am
 prompted with the following error:

 org-remember-handler: Symbol's value as variable is void:
 org-complex-heading-regexp-format

 It then dumps me into a remember buffer which is empty save for the
 text I was trying to save.

 This error is accompanied by the following:
 When I try to C-c C-x C-s to archive a task in my todo.org, I am
 presented with the following in my *messages* buffer:

 OVERVIEW
 Loading reftex...done
 Compiling label environment definitions...done
 Scanning entire document...
 Scanning file /Users/rpr/Dropbox/orgfiles/todo.org_archive
 Scanning document... done
 Copied: Subtree(s) with 144 characters
 org-advertized-archive-subtree: Wrong type argument: number-or-marker-p, nil

 My apologies if this is too vague; if it is, please point me toward a
 resource that will tell me how to specify.


 Read and follow the instruction in section 1.4 Feedback of the Org manual.
 You can probably get it locally through Info - if not locally available,
 you can get it online:

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

 It will tell you how to get a backtrace. It will also point you to the 
 function
 org-submit-bug-report that will gather up all sorts of useful information
 to help people diagnose the problem.

 HTH,
 Nick




___
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