Re: [O] A mail client that is org-mode compatible

2013-01-01 Thread Richard Riley
Daniel Clemente n142...@gmail.com writes:

   I use Wanderlust and can make links from org just fine.

   I used gnus from 2008 to 2010 but could not make it work as I wanted. It
 seemed to value some things that I didn't (e.g. scoring, splitting, NNTP-style
 everywhere) whereas it didn't shine in other areas I needed (e.g. multiple 
 SMTP
 servers, usability). Wanderlust was working perfectly since the first moment,
 and didn't require hacking, just configuration.

Multiple smtp servers are well supported for quite a while now.




Re: [O] Adding tags when capturing?

2012-12-20 Thread Richard Riley
Alan Schmitt alan.schm...@polytechnique.org writes:

 Carsten Dominik writes:

 On 20.12.2012, at 09:30, Alan Schmitt alan.schm...@polytechnique.org wrote:
 Is there a way to set-up the capture buffer so that tags may be
 completed according to the ones present in another file?

 You will be able to complete based on what is present in the target
 file, is that not good enough for any application?

 I guess it does not work well in my setup, which is as follows.

 - My capture file is called refile.org, and anything in it has to be
   refiled. This way I can easily add stuff on the go on my iPhone (using
   a macro in Nebulous Notes to add a TODO line and the current date at
   the bottom of the file).
 - At my computer, I often refile on the fly (C-c C-w), then the tasks
   lands in todo.org (one of the two refiling targets, the other being
   maybe.org), where all the tags are.

 So is there a way to tell capture to search for the tags in todo.org
 instead of refile.org (which does not contain any)?

 Thanks,

 Alan


What would be nice would for org-tag-alist to allow org files to be
included so all tags in those were enabled too.


-- 
Sent using Emacs/Gnus from home ...




Re: [O] Best way to implement project specific captures

2012-08-26 Thread Richard Riley
Bastien b...@altern.org writes:

 Hi Richard,

 Richard Riley rile...@gmail.com writes:

 ALso it would be really really nice if it would
 use the existing org file if that file is on the agenda list and I dont
 specify a path component on the destination file variable in the
 template.

 Mhh... can't parse this, sorry :/

 Can you re-explain again what you want?

If you see my initial reply about which file is used to add the
capture, its explained there - does this make sense?

,
|  I'm not sure if the error (?!) is mine or on your side - possibly error
|  is the wrong word. See this img here
| 
|  http://i.imgur.com/Tvdgx.png
| 
|  When I hit C-c c I then hit c for my customised j template  its
|  recreating shamrock/barwebs.org (see status line) as opposed to using
|  the existing barwebs.com which I have referenced via  org-agenda-files
|^^^ this should say barwebs.org of course, sorry for 
the confusion.  
|  '(~/.orgfiles ~/webs/.orgfiles).
| 
|  Can you advise further? (Looks great regardless btw!)
`

The reply is that I should hard code the path but I'm really averse to
this. 




Re: [O] Best way to implement project specific captures

2012-08-24 Thread Richard Riley
Bastien b...@altern.org writes:

 Richard Riley rile...@gmail.com writes:

 I see Bastien and Carsten are in on the thread too, I'll step back and
 see in what direction this now goes ;) Thanks again for the great
 feature!

 This is how it works right now.

 For each agenda custom command or capture template, you can define 
 a context where it will be accessible.

 E.g. you have these custom commands:

 (setq org-agenda-custom-commands
   '((A  ...)
   (B  ...)))

 But you don't need B in .txt files:

 (setq org-agenda-custom-commands-contexts
   '((B ((not-in-file . \.txt)

 That's it.

 Or maybe you want B to be accessible with the A key (and 
 don't want the A key):

Im not sure I follow that.


 (setq org-agenda-custom-commands-contexts
   '((A B ((not-in-file . \.txt)

 Or maybe you want B to be accessible only in your first two
 hours of using Emacs...

 (defun less-than-nhours-of-emacs-uptime (optional n)
  (interactive P)
  (let ((n (or n 2)))
( (time-to-seconds (time-subtract (current-time) before-init-time))
   (* n 3600

 (setq org-agenda-custom-commands-contexts
   '((B (less-then-nhours-of-emacs-uptime

 Enjoy,

Hi, my head isnt really in org mode (oops!) at the moment, how would I
then implement the template for files under this directory as
originally mentioned? ALso it would be really really nice if it would
use the existing org file if that file is on the agenda list and I dont
specify a path component on the destination file variable in the
template.

THanks!

r,





Re: [O] Best way to implement project specific captures

2012-08-23 Thread Richard Riley
Sylvain Rousseau this...@gmail.com writes:

 It is an org-capture issue. You have to specify the full path of the org file 
 in the template even if this file is an agenda
 file. Otherwise org-capture assumes that the file is located in
 `org-directory'.

with no path to use the existing one would be a real boon and
certainly works for the original journal template capture. I dont know
about the implementation details but no path == loaded file would make
sense with the user wanting specific files then hard code it. 

I see Bastien and Carsten are in on the thread too, I'll step back and
see in what direction this now goes ;) Thanks again for the great
feature!



 Can you advise further? (Looks great regardless btw!)

 Thank you, building on Bastien's suggestion I'm working on a stealing 
 feature, that steals templates from
 `org-capture-templates' and changes the target.

 Sylvain.





Re: [O] Best way to implement project specific captures

2012-08-22 Thread Richard Riley
Sylvain Rousseau this...@gmail.com writes:

 Have a look at https://github.com/thisirs/org-context : Context agenda and 
 capture for Org-mode

 It dynamically adds templates depending on the buffer you are currently 
 editing. New templates are available with the key
 c or merged if there is no conflict with existing ones.

 Hope this helps,

 Sylvain.


Org and its users/contributors never cease to impress me!

Thanks!




Re: [O] Best way to implement project specific captures

2012-08-22 Thread Richard Riley
Sylvain Rousseau this...@gmail.com writes:

 Have a look at https://github.com/thisirs/org-context : Context agenda and 
 capture for Org-mode

 It dynamically adds templates depending on the buffer you are currently 
 editing. New templates are available with the key
 c or merged if there is no conflict with existing ones.

 Hope this helps,

 Sylvain.


Hi,

I'm not sure if the error (?!) is mine or on your side - possibly error
is the wrong word. See this img here

http://i.imgur.com/Tvdgx.png

When I hit C-c c I then hit c for my customised j template  its
recreating shamrock/barwebs.org (see status line) as opposed to using
the existing barwebs.com which I have referenced via  org-agenda-files
'(~/.orgfiles ~/webs/.orgfiles).

Can you advise further? (Looks great regardless btw!)




-- 
Sent using Emacs/Gnus from home ...




Re: [O] Best way to implement project specific captures

2012-08-22 Thread Richard Riley
Richard Riley rile...@gmail.com writes:

 Sylvain Rousseau this...@gmail.com writes:

 Have a look at https://github.com/thisirs/org-context : Context agenda and 
 capture for Org-mode

 It dynamically adds templates depending on the buffer you are currently 
 editing. New templates are available with the key
 c or merged if there is no conflict with existing ones.

 Hope this helps,

 Sylvain.


 Hi,

 I'm not sure if the error (?!) is mine or on your side - possibly error
 is the wrong word. See this img here

 http://i.imgur.com/Tvdgx.png

 When I hit C-c c I then hit c for my customised j template  its
 recreating shamrock/barwebs.org (see status line) as opposed to using
 the existing barwebs.com which I have referenced via  org-agenda-files
   ^^^ this should say barwebs.org of course, sorry for the 
confusion.  
 '(~/.orgfiles ~/webs/.orgfiles).

 Can you advise further? (Looks great regardless btw!)




[O] Best way to implement project specific captures

2012-08-21 Thread Richard Riley

Currently I maintain a datetree journal capture using a template so

,
| (j journal entry (file+datetree journal.org)
|  * %?\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:Link: %a\n\t:END:\n)
`

I also use j rockways' eproject set up that allows a hook to be run when
a file is opened inside a project. e.g

,
| (add-hook 'web-project-file-visit-hook '(lambda ()
| (ignore-errors
|   (message Web Project : %s 
eproject-root)
|   )))
`

where web-project is created this:-

,
| (define-project-type web (generic)
|   (look-for plan.org)
|   :relevant-files (\\.php$ \\.js$ \\.org$ \\.sql$ \\.css$ 
authinfo vhost))
`

So whenever I open a file in a directory hierarchy which contains a
plan.org matching those types then my web-project-file-visit-hook is run.

What is the best emacs/elisp approach to setting a capture file
destination specific to a particular project? THe main point being that
the default capture template above should only be replaced if I am
actually in a project : any capture done in a file NOT contained
within a project should default to the capture template above. Is it
someting to do with buffer-locals perhaps or is there a
better/alternative way? e.g Perhaps journal.org becomes a variable and
this is overwritten (or whatever the elisp jargon is) in the project
hook as a buffer local?

Hope was clear!

regards

r.
 




[O] possible bug : multiple datetree files

2012-08-17 Thread Richard Riley

I added a new datetree org file template in addition to my original
journal.org :-

in org-capture-templates
,
| (j journal entry (file+datetree journal.org)
|  * %?\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:Link: %a\n\t:END:\n)
| (c barwebs changelog entry (file+datetree 
changelog.org)
|  * %?\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:Link: %a\n\t:END:\n)
`

When I invoke my barwebs changelog capture and commit it the status says
changelog.org is updated. Its not. journal.org is updated with the new
capture.

Is this a bug in my definition perhaps
? 




[O] org-mobile and journaling

2012-08-16 Thread Richard Riley

I have a journal file defined in my capture templates like this

  (j journal entry (file+datetree
  journal.org)

Is there any way I can somehow get org-mobile to refile to this on
org-mobile-pull? Id like my captures to turn up in my agenda journal by
default.

Or failing that have refile refile from a standard refile.org to journal
in the correct datetree location? As it is if I refile from refile.org
to my journal.org it's not reformatted and placed correctly in the
datetree format : instead its placed as a top level item with the wrong
kind of date stamp to appear in the journal.

One problem as I see it is that captures on the iPhone only feature a
date and thats on the second line of the capture put into your refile
after the org pull. This doesnt have the necesary time granularity.

I'd be interested in a prvate email with anyone using org-mobile a lot
to share experiences and maybe hand hold a little.




Re: [O] MobileOrg: Confusion about capturing?

2012-08-07 Thread Richard Riley
'Mash mash...@toshine.net writes:

 Afternoon,

 Just started using MobileOrg (Android) and I am a little confused as  to
 capturing notes. I have a single 'agenda' file setup which I can  see...

 ---
 Agenda views
 mashdot.org
 ---

 I assumed that I could capture a note within 'mashdot.org' allowing me  to
 create a new TODO etc in the list. But it appears that the default  action is 
 to
 send my capture to the org-mobile-inbox-for-pull file. I  would have thought 
 by
 default you could create new nodes within your  agenda file?

 Am I missing something here?

It seems captures are only useable after syncing and subsequent
refiling.  You cant add a note to a capture for example, or change its
status I think.

Ive been playing with it for a while too and intend to submit more
userability info at a later date. Its nice but a few tweaks could make
it a lot nicer - unfortunately I dont know anything about the mobile
side of it.




Re: [O] org-mobile : security

2012-08-04 Thread Richard Riley
Greg Troxel g...@ir.bbn.com writes:

 Richard Riley rile...@gmail.com writes:

 org-mobile allows you to use some form of encryption when pushing to the
 MobileOrg directory. Encrypts and works fine. The issue is that the
 mobile app has a password setting to unencrypt but there is no
 protection on the app itelf meaning anyone can read the org files from
 thje mobileorg app itself kind of defeating the object since dropbox has
 its own encrption based on id/pasword anyway.

 Please explain your threat model :-)

My org files contains confidential information. My email does not.

 Seriously, the fact that the org files are available on the phone does
 not seem any scarier than one's email being available on the phone.

See above.


 I am boggled that you think anything about dropbox security is ok.
 In

I didnt say it was ok or mega secure. I said that its already encrypted
on their end and without user id/pass pretty hidden.

 my view, the whole point of org-mobile encryption is to put ciphertext
 only on the webdav server used to transfer between emacs and phone, so

(I dont use webdav)

 that the webdav server does not need to be trusted for confidentiality.
 It seems unwise to trust dropbox, given the lack of clarity around
 access

I dont trust dropbox per se. But dropbox repo isnt on my phone without a
password access. ie if I leave my phone on the table or lose it. And as
I pointed out, even on dropbox the files *are* encrypted. Its the phone
side that is the issue.

 to plaintext by dropbox staff, and encryption lets one comfortably use a
 shared web server whose admins are not cleared to see the private org
 data.

Yes, which is why my files *are* encrypted using the org-mobile
encrption.


 I realise I can encrypt
 org entries myself (I do) using gpg keys but since there is no built in
 gpg decryption facility in mobileorg thats hard work (you need to copy
 the encrypted entries to oPenGPG which does feature app pin protection and
 holds my secret key (which needs a password too)).

 Is there a way to protect the mobileorg app? Or do I need to manually remove
 the password from the mobileorg settings each time?

 It seems like perhaps you want a phone-wide confidentiality solution.



No. Just the ability to not have people see my org files if they pick
up/find my phone. This can be done, as I outlined above, by pgp
encryption of the org entries themselves but this is a pain since there
is no built in decryption and I have to do it in openPGP manually.





[O] autotagging based on buffer content

2012-06-09 Thread Richard Riley

Hi, I just thought Id ask this again

Does anyone have the solution or elisp skills for a system built into
templates to auto tag based on source buffer contents? This would be
immensely useful I think.

(previously asked here: http://comments.gmane.org/gmane.emacs.orgmode/55137)

Ideally, for example, I would journal an email which would auto tag with
something like GERMANLESSONS if the buffer contained
German-Flashcards.com.

regards

r.

-- 
Sent using Emacs/Gnus from home ...




[O] Change default org file to file note to.

2012-05-30 Thread Richard Riley

I have an org template 

,
| (j journal entry (file+datetree journal.org)
|  * %?\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:Link: %a\n\t:END:\n)
`

How could I go about altering this or approaching the problem in a
different manner in order to have the first journal entry I create be
defaulted to journal.org but any further ones using the last file logged
to?

Use case:

I start work and hit C-c c j to create a journal item. Its a general
journal so journal.org is ok ..  hangover this morning. I then
stretch my arms, yawn and open up files for project X. I then create a
new journal entry (Must fix issue A for projectX) but hit C-c C-w to
write it to ProjectX.org/journal instead of journal.org. I then want all
further journal entries (using the template and default key above) to
default to ProjectX.org/journal since thats the project I'm working on.

Possible? I understand I could have a specific key sequence with no
target file and I suspect that would default to last file/section but I
really want this to stick with the journal sections of hte last project
journalled to.




[O] Setting datetree at the file level

2012-05-30 Thread Richard Riley

I can specifiy a capture template to use datetree for new entries. Is it
possible to tag this format in the org file itself so any templates
which dont mention an entry type will pick up the datetree filing style
from the orgfile itself?




Re: [O] mail integration, advice?

2012-04-30 Thread Richard Riley
Neil Smithline emacs-orgm...@neilsmithline.com writes:

 On 4/27 08:09 , Stephen Eglen wrote:
 A relatively new emacs mailer, mu4e, is worth mentioning:

 http://www.djcbsoftware.nl/code/mu/mu4e.html

 I really like it so far + it has support for org mode links.

 Stephen,

 I didn't know about mu4e. I've played around with mu in the past and thought 
 it
 was very cool but couldn't really work it into my daily workflow. mu4e seems 
 to
 handle that.

 Are the directions at
 http://www.djcbsoftware.nl/code/mu/mu4e/Gmail-configuration.html really all it
 takes to get this running? If so, I'm definitely going to give it a
 whirl.

That looks incredibly complicated compared to gnus which supports really
fast and good direct imap connections. Offlineimap and then serving up
as maildir can get really messy if you have more than one gmail
account. Obviously if you want a local email cache offline imap is great
combined with something like a local dovecot - I had this setup for a
while until I started to consider the possible ramifications of losing
my laptop and my entire lifes emails being present on that hard drive ;)
The other issue being the plainttext storage of your gmail password
although I believe there must be some way of obfuscating that. Gnus and
its use of .gpg auth files is pretty reassuring.


 Neil Smithline
 http://www.neilsmithline.com
 Proud GNU Emacs user since 1986, v. 18.24.





-- 
Sent using Emacs/Gnus from home ...




[O] notes in the agenda

2012-04-29 Thread Richard Riley

Hi folks.

I have a journal template which puts an active timestamp in journal
entries so they appear in the default agenda.

However the default note taking C-c C-z does this too. This is fine
per-se but this means the note too appears in the agenda as shown here
from the following org excerpt:

,
| *** 2012-04-29 Sunday
|  STARTED need to check Mike spoke with vodafone for 3g stick cancellation.
|  SCHEDULED: 2012-04-30 Mon
|  :LOGBOOK:
|  - Note taken on 2012-04-29 Sun 11:32 \\
|Mike promised to call them night of  the 28th April
|  :END:
|:PROPERTIES:
|:DateCreated: 2012-04-29 Sun 11:30
|:END:
`

Agenda:

,
| Sunday 29 April 2012
|8:00.. 
|   10:00.. 
|   Journal:11:30.. STARTED need to check Mike spoke with vodafone for 
3g stick cancellation.
|   Journal:11:32.. STARTED need to check Mike spoke with vodafone for 
3g stick cancellation.
|   12:00.. now - - - - - - - - - - - - - - - - - - - - - - - - 
-
`

Agenda bitmap:

http://i.imgur.com/1j6dd.png

Now, whats the easist way to either (a, preferably) have the second agenda item 
display
the *note* rather than the org item title or (b, prefer not) remove it
all together?




Re: [O] notes in the agenda

2012-04-29 Thread Richard Riley
Bastien b...@gnu.org writes:

 Hi Richard,

 Richard Riley rile...@gmail.com writes:

 Now, whats the easist way to either (a, preferably) have the second agenda 
 item display
 the *note* rather than the org item title

 There is no way to do this right now.

 or (b, prefer not) remove it all together?

 I'd simply remove the timestamp from `org-log-note-headings', but I 
 guess you don't want that.

 Cheers,

Thanks! While displaying the note (or start of the note...) itself in
the agenda would be best (since notes are agenda/journal items in
themselves), just replacing the %T with %t in the template for now
avoids the duplicate agenda item.





Re: [O] mail integration, advice?

2012-04-28 Thread Richard Riley
RC re...@yahoo.com writes:

 Eric Fraga e.fraga at ucl.ac.uk writes:
 
 I used to use offline-imap + dovecot when I used wl and things worked
 very well indeed.  When I moved to gnus, I used the gnus agent which
 also now works very well (there was a period of instability a year or
 two ago).  The gnus agent fully supports offline use (gnus-unplugged).
 

 Hi,
  Would you mind sharing how you have the new version of gnus set up for email
 and integration with org. Most of what I could find online seems to be based 
 on
 earlier versions of gnus, and I found it difficult to extract the information 
 I
 needed from the comprehensive gnus manual.
 Thanks,
 RC

What kind of integration are you looking for?

The main things you would probably want is simple and is documented under org
links:-

http://orgmode.org/manual/Handling-links.html






[O] filetags - at certain level

2012-04-26 Thread Richard Riley

Would it be an easy enhancement to specify the level to apply certain
filetags from the top org file meta data e.g

#+FILETAGS: :crypt#2:private:

In other words the more explicit equivalent would be something like

* Banking
** Deutsche Bank Credit Card:crypt:visa:
** Maldives Platinum Card   :crypt:visa:
** Barclays EC  :crypt:ec:

Why? So that only the second level entry contents are encrypted by
default and not their titles : thus enabling tag search for the second
levels. Or third or whatever.

As it is applying a saftey first top level filetag of :crypt: means
nothing below banking(first level) can be seem by the tag search.

Thoughts? Or maybe its already possible?




Re: [O] Google Summer of Code -- 3 Org projects for our first participation!

2012-04-24 Thread Richard Riley
Bastien b...@gnu.org writes:

 Dear all,

 we will have 3 students hacking Org thanks to Google and the GSoC 
 program.  The list of all accepted projects can be checked here:

   http://www.google-melange.com/gsoc/projects/list/google/gsoc2012

 Congratulations to Thorsten, Aurélien and Andrew who made it!
 And special thanks to Thorsten, who really pushed me into this.

Really cool. org-mode just keeps growing while still keeping its core
simplicity. By far the biggest use I have now is as a simple journal
logger! If I may, and just for the future, what I'd really like to see
is a working org mode and google integration with gnus
integration. Possibly via googlecl which I used yonks ago for a googlecl
based blogger.com blog facility direct from org-files (still working
well enough and is in github (org-googlecl). I know there are some
proofs of concept already there but performance and usability were
pretty rudimentaty. bbdb's days are pretty much up in this day of
smartphone and everyone integrates with google ;) This integration
would obviously (!?!) integrate with google calendars which is then
already well catered for on just about any mobile device.






Re: [O] Auto tag based on buffer contents?

2012-04-24 Thread Richard Riley
Darlan Cavalcante Moreira darc...@gmail.com writes:

 I don't think there exist an autotag feature, but you can use template
 expansions [1] to put the sender's name as a tag in the headline. For
 instance, you could use the template expansions %:from, %:fromname
 or %:fromaddress. But I don't know how this will play if you also use
 the template expansion that prompt for tags.

  [1] http://orgmode.org/manual/Template-expansion.html#Template-expansion

 --
 Darlan


thanks for the info. I'll look into it.

Any other suggestions or enhancement pointers?

I think auto-tag would be immensely useful. Possibly from regexp list
with corresponding tags.

regards

r.





[O] Auto tag based on buffer contents?

2012-04-23 Thread Richard Riley

Is there any facility to auto tag a capture based on the contents of
the buffer the capture was started in?

To be honest I only need something that would tag a capture with, for
example hostgator, if the gnus message I am capturing from included
their email address.

thanks,

r.






Re: [O] Org tasks from gnus

2012-04-22 Thread Richard Riley
Kyle Sexton k...@mocker.org writes:

 Does anyone know a way to automatically create/link org-tasks from Gnus
 messages?  My current workflow is to just start a new capture and type
 in or paste some of the relevant info, but if org could link to the
 message that would be ideal.

Simpy put a link to the gnus message in the clipboard and paste it
in. Its well documented.

http://orgmode.org/manual/Handling-links.html

Depnds on this workflow and from where you want to get the link etc.

Capture templates can auto insert links to.




Re: [O] org-protocol-capture and chrome

2012-04-20 Thread Richard Riley
Bernt Hansen be...@norang.ca writes:

 Harri Kiiskinen harki...@gmail.com writes:

 The format of the patch was probably not correct as I have no idea
 whether it made it anywhere from this list, but should be found in the
 archives around April 14th.

 It's sitting on the patchwork server waiting to be dealt with.

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

 -Bernt


Would be nice : seems straightforward enough and totally backwards
comaptible. Nice one Harri.

Chrome is pretty much #1 browser these days and building user base all
the time.






Re: [O] org-protocol-capture and chrome

2012-04-20 Thread Richard Riley
Bastien b...@altern.org writes:

 Richard Riley rile...@gmail.com writes:

 Bernt Hansen be...@norang.ca writes:

 Harri Kiiskinen harki...@gmail.com writes:

 The format of the patch was probably not correct as I have no idea
 whether it made it anywhere from this list, but should be found in the
 archives around April 14th.

 It's sitting on the patchwork server waiting to be dealt with.

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

 -Bernt


 Would be nice : seems straightforward enough and totally backwards
 comaptible. Nice one Harri.

 This has just been applied.  Thanks,

Seems better but using this bookmark:-

,
| javascript:location.href='org-protocol://capture://'+ location.href+'/'+ 
document.title+'/'+ window.getSelection()
`

and this capture template:-

,
| (z default entry (file+datetree journal.org)
|  * %^{Title}\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:END:\n  Source: %u, %c\n\n  %i
|  :empty-lines 1)
`

with org-protocol-default-template-key set to z the resulting popup
capture buffer still has the incorrect format for the url link. When I
C-c C-l on the Source link (%c which is the kill ring head ) I get only
http: in the Link: field and pressing enter on it doesnt do the
xpexted thing (open the link). I dont know which side this needs to be
fixed : possibly %c needs to be reparsed and constructed as a legitimate
org link element?





[O] org-protocol-capture and chrome

2012-04-17 Thread Richard Riley

Could someone please post a working setup (browser bookmark url and
template) for org-protocol-capture to correctly get triggered from a
Google Chrome bookmark link in order to store the current url. Googling
shows some conflicting views : some with removing calls to encodeURI and
others hacking xdg-open.

thanks!





Re: [O] org-protocol-capture and chrome

2012-04-17 Thread Richard Riley
Richard Riley rile...@gmail.com writes:

 Could someone please post a working setup (browser bookmark url and
 template) for org-protocol-capture to correctly get triggered from a
 Google Chrome bookmark link in order to store the current url. Googling
 shows some conflicting views : some with removing calls to encodeURI and
 others hacking xdg-open.

 thanks!


As an aside, the documentation in worg is wrong with regard to the default
template key for capture:

The doc says :-

,
| You don't need to setup a capture template to use org-protocol-capture,
| since Org-mode provides a default template for those cases. Newer
| versions provide an interactive interface for choosing a template. You
| may provide a template to be used by customizing the variable
| org-capture-default-template.
`

I believe the correct variable is

,
| org-protocol-default-template-key
`

regards

r.




Re: [O] Capturing to current file

2012-04-14 Thread Richard Riley
Karl Voit devn...@karl-voit.at writes:

 * Marvin Doyley marvin...@gmail.com wrote:
 Hi there,

 Hi!

 I am trying to create a thought bin related to a specific project
 (org-file, where I perform all my writing task).
 My idea is very simple,  if an idea, todo item related to the project
 i am working on,  which is usually the case, I would like to  file it
 under a specific heading within the same file rather than a master
 file.

 Any thoughts on how to do this ?

 Oh yes, take a look on http://orgmode.org/org.html#Capture-templates
 where you can define target files for your item.

Is it documented on how to achieve what the op requested? Namely to
store the notes in the current file? Would that be a use for the
function-finding-location?




Re: [O] Capturing to current file

2012-04-14 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Nick Dokos nicholas.do...@hp.com wrote:

 I couldn't really tell what the OP requested,

 ... and then I noticed the Subject: header - d'oh...

 Nick


;))





Re: [O] Limit todo window

2012-02-18 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Richard Riley rile...@gmail.com wrote:

 
 Whats the best way to limit the window that agendas use to show open
 todo items? e.g when I do C-c a a I dont want to see TODOs set for a
 years time - generally I might only want things in the current week or
 so. is there something built and instantly configurable to achieve this?
 
 

 org-agenda-span - also make sure to get rid of any settings of
 the obsolete variable org-agenda-ndays. The default is week however,
 so unless you've customized something, you should not see a year's
 worth of TODOS (I shudder at the thought...)

 Nick


Hi Nick,

I was being dense. I wasnt seeing the TODOs per se, but the creation of
them! (I tag all items with a created date so they appear in a journal
and I easily track creation of all org items). So yes, the span is the
correct variable that I had previously thought not working...

cheers

r.




[O] Limit todo window

2012-02-17 Thread Richard Riley

Whats the best way to limit the window that agendas use to show open
todo items? e.g when I do C-c a a I dont want to see TODOs set for a
years time - generally I might only want things in the current week or
so. is there something built and instantly configurable to achieve this?




[O] Journalling certain BBDB contacts in org

2012-02-09 Thread Richard Riley

Does anyone have something which potentially auto creates a journal
entry with an org link back to sent items in gnus for certain email
addresses which, present in bbdb, are somehow tagged in bbdb as
needing journalling? Failing that some method to query sent items
directly and auto insert journal entries in the agenda from the sent
date and recipient address.





Re: [O] MobileOrg Android 0.8.0 Released, many new features!

2012-02-08 Thread Richard Riley
Carsten Dominik carsten.domi...@gmail.com writes:

 Wow Matthew,

 great to see your persistence in developing this program!

 - Carsten


I was wondering Carsten if you actively use the iPhone version? I posted
some issues here but go no feedback - I cant get it working following a
config error in my set up - after correcting it and then syncing the
phone it falls over as described in my earlier post.




Re: [O] Some struggles of mine with org-mode

2012-02-08 Thread Richard Riley
Eric Schulte eric.schu...@gmx.com writes:

  
  - Email.  Some very elegant (in complicated ways) solutions have
  been generated, but all I need it simple text-based email.  I
  would be willing to install sendmail or postfix, if need be, but
  I don't really wish to send html based email.  See the next item.

 Limiting to the one aspect of this email towards which I may have
 something useful to contribute.  One option for text email is to use
 org-mime from contrib/lisp/org-mime.el and then structure a subtree as
 follows...

 ,
 | * send this to eric
 |   :PROPERTIES:
 |   :mail_to:  eric.schu...@foo.bar
 |   :END:
 | 
 | Here is an Org-mode email which will be sent to me.
 | 
 | | 1 |
 | | 2 |
 | | 3 |
 | | 4 |
 | 
 | 
 `

 calling org-mime-subtree from within that subtree will result in a
 message buffer holding the following (modulo your gnus/message setup)

 ,
 | To: eric.schu...@foo.bar
 | Subject: send this to eric
 | X-Draft-From: (org-mode 2692)
 | From: Eric Schulte eric.schu...@foo.bar
 | --text follows this line--
 | Here is an Org-mode email which will be sent to me.
 | 
 | | 1 |
 | | 2 |
 | | 3 |
 | | 4 |
 `

 By default the resulting email is text generated using (I believe)
 org-export-as-org.

 [...]

  One thing I really like about Org-mode is the ability to keep a
  large number of kinds of information straight in various
  ways---either in separate files, or for related topics, in
  different headlines of the same file.  I need all of these files
  to be searched.  The best searching seems to reside in the agenda
  interface.  But it seems illogical, to me, to constrain searching
  to the same set of files as for an Agenda, except if I am only
  searching things I am currently keeping on todo lists.  I want a
  large subset of *.org files open for searches, but I may want to
  limit the number of files processed for a daily or weekly agenda
  view.

 The desire to separate searching from agenda views makes perfect sense
 to me.  I've never used the searching features of Org-mode myself.  I
 suppose I use rgrep when digging through my Org-mode ~/notes/recipes.

 Cheers,

On the subject I too tried org-contacts and found it novel but not
really a replacement for bbdb. I tried gnus sync with google contacts
too but that was too slow. I suspect the best way to handle this is to
simply use a google to bbdb importer and continue to use bbdb for
contact lookups as its nicely integrated already (well, in gnus it is)
and seems fast enough.





[O] org mobile problems

2012-02-05 Thread Richard Riley

I have a certain journal (journal.org) which causes org-mobile-push to
crash and leave a massive backtrace. I havent attached it here as it
takes my netbook abot ten minutes to copy it and another ten to paste it
in emacs for some reason, so delaying providing that I though I would
exclude it :

if org-mobile-files-exclude-regexp is set to journal and org-mobile-files is
set to (org-agenda-files) then the excludes are not applied : indeed
the doc says the full contents of org-agenda-files is used unrestricted.

I would like a way to rely on org-agenda-files since the files alter
daily - some added some removed and I dont want an explcit filename
list. Indeed, org-agenda-files is set to  (~/.orgfiles
~/.orgfiles/projects) so the agenda is all the files in these
directories.

So, how to exclude certain files from the mobile ones based on regexp
when the org-files variable is set to point to directories?

regards

r.






[O] org-mobile : checksum errors

2012-02-05 Thread Richard Riley

I reduced my mobile org file set to a single file general.org by
adjusting org-mobile-files.

I did an org-mobile-push but the mobile app falls over when I try to
sync it saying error downloading checksums. I read on the org-mobile
web page that one should manally run md5 (which was a surprise) and did
this and still I get the same error (md5 *.org  checksums.dat) : the
full text is an error was encountered while downloading checksums.dat
from the server. The file isnt required but the error was unusual, The
error was 'unexpected eror'. So not much to go on there.

I even tried deleting the mobile app with ll its data and reinitialising
drop box but still no joy.

I would be intersted to hear from anyone using this suite that might
have come across similar issues.




Re: [O] How do teachers use org-mode

2012-02-01 Thread Richard Riley
Jambunathan K kjambunat...@gmail.com writes:

 Have students turn in their assignments in Org mode format. 

 From
 http://www.ocf.berkeley.edu/~rwl/lib/attachments/teaching/100/paper-guidelines.pdf

 See sec-2.3

 ,
 | I’m going to try an experiment in this course. I would like you to
 | submit your papers to me as plain text, not in a document format like MS
 | Word (.doc, .docx), OpenDocument Text (.odt), RTF, or HTML. You are
 | welcome to useWord, OpenOffice, or another document editor to write your
 | papers, but please export your paper from these programs as plain text,
 | formatted according to the guidelines below.1
 |
 | There are several reasons for this. One, I don’t want to require you to
 | use any particular software to write your papers; you can edit plain
 | text using a wide variety of programs on any platform. Two, I actually
 | find the papers in the usual 12 point Times New Roman double-spaced
 | format pretty difficult to read and work with. By submitting your papers
 | in plain text, you’re making it easier for me to compile them into a
 | format that prefer to work with, which means I’ll have more time to
 | dedicate to giving you helpful feedback.
 |
 | In case you’re wondering: these guidelines are a subset of the
 | formatting rules of Org mode for GNU Emacs (http://orgmode.org). I’m
 | going to use Org mode to compile your papers using the LATEX
 | typesetting system. If you want, you can use any formatting compatible
 | with Org mode, but you’re not required to learn it.
 `



Wow. That's a pretty cool stamp of approval !




Re: [O] Org without X on Debian

2012-01-31 Thread Richard Riley
Karl ignora...@gmx.de writes:

 Dear Org-mode users,

 I want to use a small netbook exclusively for Org-mode. 
 That's why I think I do not need X.  I set up 
 a minimal Debian GNU/Linux Squeeze with Emacs 23.2.1 
 and the latest Org-mode version (7.8.03).  
 But then I recognized that some key combinations don't work.  
 For example:

 - Meta-arrow keys to not demote and promote headings
 - Shift-arrow keys cannot select a date in the calendar when 
   I want to add a date, e.g. with C-c C-s.
 - Shift-TAB don't work
 - Shift-arrow keys do not change TODO state
 - (certainly more key combinations)

 Does anybody use Org in a non-graphical environment? 
 Is it possible to make the (all) keys work?

 Thanks!
 Karl


It depends fully on the terminal you are using and the corresponding
terminfo or whatever its called - a nightmare of complexity and hacks ;)
I tried this a good while back and, to my shame, simply gave up in
frustration. Hopefully you have better luck!





Re: [O] Org without X on Debian

2012-01-31 Thread Richard Riley
Karl ignora...@gmx.de writes:

 Hi Richard,

 Richard Riley rileyrg at gmail.com writes:
 It depends fully on the terminal you are using and the corresponding
 terminfo or whatever its called - a nightmare of complexity and hacks ;)
 I tried this a good while back and, to my shame, simply gave up in
 frustration. Hopefully you have better luck!

 Maybe I'm wrong but isn't there a difference between a terminal 
 (such as gnome-terminal) and a console? I do not have any graphical 
 environment on the maschine I'm working on. I use a virtual console 
 of the linux kernel.

Yes, but certain keys are simply not catered for in that console. Its
complex and I dont claim to fully understand it. But at the end of the
day this console still needs to read the keyboard and translate it
into emacs friendly chords.




[O] Mobile Org and crypt

2012-01-17 Thread Richard Riley

I would love to hear from anyone using org-mobile with either or both :

* individual crypted entries tagged with crypt
* whole org files saved as file.org.gpg (ie entire file encrypted)

I'm using an iPhone (not rooted/jailbroken).





Re: [O] Including an active timestamp in encrypted (crypt) org entries

2012-01-15 Thread Richard Riley
Marcelo de Moraes Serpa celose...@gmail.com writes:


 Expected: Encrypted message and timestamp to stay as is.
 What happens: A new encrypted message is written, with the timestamp
 + the old encrypted message as part of it.

 Any hints appreciated :)


Put the timestamp in the header.





[O] Writing an new org entry to a .gpg file - ends up in .org file instead

2012-01-13 Thread Richard Riley

I have an org template set up like this and frequently use the journal
option


,
| (setq org-capture-templates '((t Todo entry
|  (file+headline  Tasks To Refile)
|  * TODO %?\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:END:\n%i\n%a)
| (c Contacts entry (file ~/Org/contacts.org)
|  * %(org-contacts-template-name)
| :PROPERTIES:
| :EMAIL: %(org-contacts-template-email)
| :END:)
| (j Journal entry
|  (file+datetree journal.gpg)
|  * %?\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:END:\n%i\n%a)
| (n Quick note to refile later entry
|  (file+headline  Notes To Refile)
|  * %?\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:END:\n%i\n%a)
| (w web capture entry
|  (file refile.org)
|  * %a %?\n\t:PROPERTIES:\n\t:DateCreated: 
%T\n\t:END:n%i)))
`

Notice the journal.gpg which has a first line :

,
| ;;-*- mode:org -*- epa-file-encrypt-to: (rile...@gmail.com) -*-
`

so I can open the file in org mode just fine.

So far so good, but when I C-c C-c the new journal item its being
written to journal.org instead of journal.gpg.

I'm guessing I missed something in my browse of the manual, but what?

cheers
r.




Re: [O] Writing an new org entry to a .gpg file - ends up in .org file instead

2012-01-13 Thread Richard Riley
Eric S Fraga e.fr...@ucl.ac.uk writes:


 I don't know if this may help but I do something similar.  In my case,
 my file is named secure.org.gpg.  Maybe try journal.org.gpg in your
 case, i.e. add the .org element?

Hi Eric,

I tried this and its still creating and writing out to journal.org.

(org-mode with emacs 24 snapshot)

regards

r.


-- 
☘ http://www.richardriley.net




Re: [O] Writing an new org entry to a .gpg file - ends up in .org file instead

2012-01-13 Thread Richard Riley
Eric S Fraga e.fr...@ucl.ac.uk writes:

 Richard Riley rile...@gmail.com writes:

 Eric S Fraga e.fr...@ucl.ac.uk writes:


 I don't know if this may help but I do something similar.  In my case,
 my file is named secure.org.gpg.  Maybe try journal.org.gpg in your
 case, i.e. add the .org element?

 Hi Eric,

 I tried this and its still creating and writing out to journal.org.

 (org-mode with emacs 24 snapshot)

 regards

 r.

 Interesting.  It must have something to do with the extra settings you
 have for that template.  My template is:

 (s secure entry (file+datetree+prompt ~/git/notes/secure.org.gpg)
  * %(format-time-string \%H:%M\) %^{Entry} %^G\n%i%?)

 I have just tested it (hadn't added a secure entry in a while) and it
 works just fine.  This is with emacs snapshot (most recent) and org from
 last night my time (see signature for version).

 Maybe try without the PROPERTY etc. bits you have in your template?

thanks for that example, that worked... no idea why. Anyone? (I hate
prompts for tags etc ;)




[O] all org files load :recursive?

2012-01-12 Thread Richard Riley

Coming back to org, I see Im using find-lisp-find-file to set
org-agenda-files at each emacs start.

Is there a better built in way to say load all org and gpg files under
this directory than this? I'm not sure I follow the docstring for 
org-agenda-file-regexp as I kind of hope something like 

,
| org-agenda-file-regexp is a variable defined in `org.el'.
| Its value is \\(projects|\\.org|\\.gpg\\)
`

would work, where projects is a sub dir containg org and gpg files under
org-directory. Undoubtely my escaping is all wrong again.

So, How best to achieve a recrusive load of all org and gpg files under
org-directory now? Keep using find-lisp-find-files?

thanks

r.











[O] org-crypt and new key

2012-01-08 Thread Richard Riley


Is there a way to have org rewrite all my org-files having reencrypted
all my crypted entries with a new key?




Re: [O] org-jira.el updated

2012-01-06 Thread Richard Riley
Ken Williams kena...@gmail.com writes:

 Bao Haojun baohaojun at gmail.com writes:
 I have updated the org-jira.el as suggested by Bastien and Richard
 Riley:

 Amazing.  Just 120 seconds ago I got out of a meeting where we talked about
 using Jira more widely in our company, and I worried that I'd duplicate too 
 much
 between my org-mode journals and the Jira tracker.

 Then I go look at the org-mode list and this is the first message I see.  =)

 I'm going to need to upgrade to org-mode 7.8 and try this out.



I would love to see a video of jira being used in conjunction with
org-mode.

Anyone have one?




Re: [O] org-jira.el

2012-01-04 Thread Richard Riley
Bastien b...@altern.org writes:

 Hi Bao,

 Bao Haojun baohao...@gmail.com writes:

 I have implemented org-jira.el, bringing org-mode and Jira system
 together.

 Thanks!  I wish I could test it, but I don't have access to a Jira 
 tracking system.

 Wrote a Wiki page for it on emacswiki:
 http://www.emacswiki.org/emacs/OrgJiraMode

 Since your org-jira.el relies on jira2.el, maybe you could rename
 it to org-jira2.el?  Note that we have contrib/lisp/org-jira.el 
 already, avoiding names conflict would be great.

 Just a suggestion.

 All best,


Adding 2 to a name leads to hellish issues in the future with regards
to peoples understanding of which is the newest. js-mode is a great
example of this and the numerous 2 versions lurking around.

Possibly clean the code and include org-jira if possible and name it
jira+ or even better replace the + with something relevant to why it
actually exists above and beyond the existing code.

Just a suggestion ;)





Re: [O] calendar problem with schedule

2012-01-03 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Richard Riley rile...@gmail.com wrote:

 
 Ive not been using org mode for a while, just came back to and using
 latest 24 snapshot from git I get
 
 ,
 | Debugger entered--Lisp error: (void-function window-combination-p)
 |   window-combination-p(#window 8 nil)
 |   calendar-generate-window(1 2012)
 |   calendar-basic-setup(nil)
 |   calendar()

 You likely have a mixture of old and new files (what I call a
 frankenstein install): calendar-generate-window calls
 window-combined-p in the current version, and there is no
 window-combination-p function, which leads me to believe that you have
 old calendar code.

 I recommend a thorough cleaning, rebuilding and reinstalling of
 emacs. You might want to try a restart of emacs first just to see if it
 works, but I wouldn't hold my breath.

 Nick

 PS. Happy New Year!



Well, it was a complete new rebuild from git. I'll delete the lot and
try again, but a complete remake shouldnt exhibit this behaviour and I
have no local debian version installed either. cheers, r.





Re: [O] calendar problem with schedule

2012-01-03 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Richard Riley rile...@gmail.com wrote:

 Well, it was a complete new rebuild from git. I'll delete the lot and
 try again, but a complete remake shouldnt exhibit this behaviour and I
 have no local debian version installed either. cheers, r.
 

 [I presume that you are rebuilding emacs, correct?]

 Are you doing a ``make bootstrap''?

 After the build, can you do just M-x calendar?


embarassed whistle

I forgot I had added org-mode to el-get packages yonks ago.

So here's a prize for being spot on  : !!

all up and running now I jusr use the emacs 24 org.

thanks,

r.




[O] calendar problem with schedule

2011-12-31 Thread Richard Riley

Ive not been using org mode for a while, just came back to and using
latest 24 snapshot from git I get

,
| Debugger entered--Lisp error: (void-function window-combination-p)
|   window-combination-p(#window 8 nil)
|   calendar-generate-window(1 2012)
|   calendar-basic-setup(nil)
|   calendar()
|   org-read-date(nil to-time nil nil nil nil)
|   byte-code(\204   \306\203\212\307\310!\210\212\311 \210`)\312  
\313=\203!\202\\f\n\310#\203=\314\315!\316\317\320!\.\205;\321!/)
\203R\206Q\322\323\324\323\211./0\203}   \325\235\203}   
\313=\203h1\202j2\326\261\210\3273\323\211\2114C\210\323\212\214\323\211\211\211\2115678\307\310!\210\3309\331P!\210\315\225b\210i8\332\225b\210m\203\255\333c\210\202\260\315u\210

\204\302\330\334:P!\204\302\335\336\323\\210\3309!\204\345\330\337;\340Q!\203\345\314\315!\232\204\345\332\224\332\225}\210\202\372\341\333!\210\342u\210``}\210=\203\372\3438!\210
   
B77\203L7\211A7@\2116\313=\203\312\323\310#\204;6\344=\203+\312\f\323\310#\204;6\345=\203\312?\323\310#\203\346\347!\210\330\350!\203\346\347!\210\202\330\351!\203V\346\347!\210=\203dn\203d\3438!\210
   \203\322n\204x`Sf\352=\204x\326\202y\347\313=\203\2041\202\227 
\344=\203\2172\202\227 \345=\205\227@\326\261\210\3273\206\252   
\345=\205\252A 
\345=\323\2114Cn\204\314`Sf\352=\204\314\323f\352=\204\314\326\202\315\347c\210\315\210eb\210~\210\330\353!\203\353`Sf\354\232\203\353`S\355
 |\210.\207 [time what end org-scheduled-time-regexp org-deadline-time-regexp 
ts (scheduled deadline) org-back-to-heading t outline-next-heading 
re-search-forward scheduled match-string 1 apply encode-time 
org-parse-time-string org-get-compact-tod org-read-date nil to-time (scheduled 
deadline)   org-insert-time-stamp looking-at \\( *\\)[^\n]* 0 \n [   
  ]* throw exit [^\n]*? [^\n]* insert-before-markers -1 
org-indent-to-column deadline closed replace-match  --+[^]+ ^[   
]+ 32 [   ]*\n 10 point-at-eol default-time default-input 
org-insert-labeled-timestamps-at-point org-scheduled-string ...] 8)
|   org-add-planning-info(scheduled nil closed)
|   org-schedule(nil)
|   call-interactively(org-schedule nil nil)
`

when pressing C-c C-s to schedule an item.

Whats changed or what have I configured wrong?




Re: [O] org-narrow-to-subtree and blocking call to accept-process-output with quit inhibited

2011-04-18 Thread Richard Riley
Carsten Dominik carsten.domi...@gmail.com writes:

 On Apr 18, 2011, at 3:21 PM, Santi Villalba wrote:

 
 Hi,
 
 Whenever I invoke org-narrow-to-subtree, I receive a blocking call to
 accept-process-output with quit inhibited error, the buffer does not
 get narrowed down and I cannot edit or move anymore. I'm using a
 bleeding-edge emacs 24.0.50.1 and org 7.4.
 Could you please upgrade to org-mode 7.5 and see if the problem persists.
 Done, no change. However, if I open emacs without reading the init files, 
 the problem disappears. So it is about the interaction of org with something 
 in my setup.
 Does anybody know if the problem is it my setup or in a bug in org?
 Please provide a backtrace.
 
 M-x toggle-debug-on-error
 That should open a *Backtrace* buffer, right? It does not happen.
 
 I will bisect my .emacs later on and let you know if I find the 
 incompatibility.
 
 Santi
 

 I am willing to bet that this is something funny with bleeding edge emacs.
 Narrowing to a subtree has no reason to call out to a process.

 - Carsten

 - Carsten


That prompt/message is indeed something in emacs 24. Its been like it
for ages and no sign yet of it being suppressed.





[O] bug with export as html?

2011-04-15 Thread Richard Riley


,
| + Create a file for each vhost you wish to redirect email for. From our 
example
|   we create /etc/exim4/virtualhosts/myweb.com. In it we place our email
|   mappings. Here is an example:-
| #+begin_example
| info: i...@gmail.com
| webmaster: webmas...@gmail.com
| * : :blackhole:
| #+end_example
| Here we can see that i...@myweb.com gets sent to i...@gmail.com. Easy peasy.
`

My export finished at the blackhole line. Any org mark up characters
inside literal blocks should be ignored I thought. It seems that

org-export-as-html

falls over in my export at that * in the src block.

Something I can tweak or a legitimate bug?



Re: [O] taking note when clocking out

2011-04-14 Thread Richard Riley
Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 Richard Riley rile...@googlemail.com writes:

 Hi, Richard, 
 nice solution.

 btw, when entering a tag - is illegal?

 yes, underscore should be used.

 1. from the manual:
   Tags are normal words containing letters, numbers, `_',
   and `@'.

 2. from the source ;-)
org-set-tags in org.el
 tags (org-re [^[:alnum:]_@#%]+))
 (line 12959)

 and few lines (12950) up  + or - are used in the search, see 
 section Match syntax under Matching tags and properties
 in the manual.

 Hope that explains.


yeah, I completely had a brain fart over that one. I did actually know
that but .. forgot ... ;)

ps I have signed fsf papers if that little utility snippet is any good
(ok, will need a defvar I guess for the tag used).





Re: [O] taking note when clocking out

2011-04-14 Thread Richard Riley
Matt Lundin m...@imapmail.org writes:

 Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 Richard Riley rile...@googlemail.com writes:

 Cc:-ed Matt Lundin 

 ps I have signed fsf papers if that little utility snippet is any good
 (ok, will need a defvar I guess for the tag used).

 Maybe in the hack page of worg?
 Feel free to reword my English ;-)

 Thanks! I put it in org-hacks on Worg.

 Best,
 Matt

I think someone needs to rework the set-mark bit. I see from the
docstring it shouldnt be used. I cribbed that bit from some code I wrote
for org-googlecl ages ago which in itself was a learn by doing hack.



[O] empty titles - backtrace

2011-04-13 Thread Richard Riley

Is not too rare for me to accidentally wipe or neglect to add a subject
line to a new journal/or entry. Of course I should have one - bUt
regardless, generating the agenda shouldnt fail if it comes across an
entry with no title as it can be hard to find the offending org
item. e.g

,
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   string-match(^ + nil)
|   org-format-agenda-item(nil nil #(Journal 0 7 (fontified t org-category 
Journal face org-meta-line font-lock-fontified t)) (#(journal 0 7 
(inherited t))) #(2011-04-13 Mi 10:00 0 20 (org-category #(Journal 0 7 
...) keymap (keymap ... ... ...) mouse-face highlight org-no-flyspell t face 
org-date fontified t) 20 21 (org-category #(Journal 0 7 ...) rear-nonsticky 
(mouse-face highlight keymap invisible intangible help-echo org-linked-text) 
keymap (keymap ... ... ...) mouse-face highlight org-no-flyspell t face 
org-date fontified t)) 2011-04-13.*?)
|   byte-code(\306 \203\n.\307\310\311\\210\312 
\210\313\225\203$.\314\315\313!\311 
$U\204$.\307\310\311\\210\n\2037.\316\n{\317\f#\2047.\307\310\311\\210e.)Z].{.*\203I.\317\202M.
\320 
{.+.f\321U.,\322.-.*\..\322./.*\.0.1\205p.\322.2.*\.3.1\205\205.\322.4.*\\206\205.\322\323.*\.5.%.6\235.7.0\204\254..\204\254.3\204\254.5\204\254.7\203\261.8\203\261.\307\310\324\\210\322\325.+\\203\301.+\326\211\225O.+\327.!.9\330.!.:\212\331\332\311\324#\204\333.;.\202.\326\224b\210\327
 .=\333 
.\334\335!\210\315\313!.?\336.,\205\370.@.?.:..+.A.\337.!.#\340..B\341.9\342.=.\210\340.\311\343.#\344.:\304\f\345.%\346\347\f\210..CB.C).D\203A.\350
 \210\202E.Eb\210\311\207 [d1 show-all e3 b3 date b0 org-at-date-range-p 
throw :skip nil org-agenda-skip 1 org-time-string-to-absolute match-string 
org-diary-sexp-entry  point-at-eol 91 string-match ]-+\\' t  0 
org-agenda-new-marker org-get-category re-search-backward ^\\*+  
org-get-tags-at looking-at \\*+[ ]+\\([^.\n]+\\) 
org-format-agenda-item org-get-priority org-add-props org-marker org-hd-marker 
priority org-category todo-state type timestamp outline-next-heading 
org-ds-keyword-length tmp timestr inactivep org-deadline-regexp deadlinep 
org-scheduled-regexp scheduledp org-agenda-include-inactive-timestamps ...] 13)
|   org-agenda-get-timestamps()
`

Where the item in question was:

,
|  
| :PROPERTIES:
| :DateCreated: 2011-04-13 Mi 10:00
| :END:
| 
| 
[[gnus:nntp%2BGwene:gwene.org.emacsen.planet][gnus:nntp+Gwene:gwene.org.emacsen.planet]]
`

a nilstring check in org-format-agenda-item isnt enough.

So, is there a way to enforce a default value org wide subject if the user
accidentally deletes or doesnt enter an org subject?
























Re: [O] Hide / expand tags

2011-04-12 Thread Richard Riley
Michael Brand michael.ch.br...@gmail.com writes:

 On Mon, Apr 11, 2011 at 20:57, Marcelo de Moraes Serpa
 celose...@gmail.com wrote:
 Is it possible to hide tags?

 No.

 Rationale: Sometimes an item has so many tags, that it becomes kind of
 annoying visually.
 It'd be nice to have a command to hide/expand tags.  What do you think?

 I think it'd be nice for this to have the _alternative_ to put the
 tags into the properties drawer and occasionally view and edit them
 with a column view:

 #+SPECIAL_PROPERTIES: TAGS=drawer:PROPERTIES   = only a suggestion
 * TODO xy
   :PROPERTIES:
   :TAGS: :work:home:
   :END:

+1 on that  - I frequently mess up my org items when modifying the
subject because of the long line including tags. 




Re: [O] Hide / expand tags

2011-04-12 Thread Richard Riley
Matt Lundin m...@imapmail.org writes:

 Marcelo de Moraes Serpa celose...@gmail.com writes:

 Is it possible to hide tags?

 Rationale: Sometimes an item has so many tags, that it becomes kind of
 annoying visually.

 It'd be nice to have a command to hide/expand tags.  What do you think?


 Could you please explain in which context you would like to hide tags?

 If you'd like to hide them in the agenda, there are variables to do so:

  - org-agenda-remove-tags
  - org-agenda-hide-tags-regexp

 If you'd like to hide them in your normal org-mode files, one option is
 to customize the org-tag face (i.e., to set the foreground to the same
 color as the background).

That might be a silly/dangerous thing to do since you might corrupt your
tags without realising. I like the idea of TAGS being in the properties
I must say.





Re: [O] Occurance property, or some similar name?

2011-04-12 Thread Richard Riley
Memnon Anon gegendosenflei...@googlemail.com writes:

 Hi,
 Christopher Allan Webber cweb...@dustycloud.org writes:

 I was once one of the many people who apparently originally
 misunderstood what SCHEDULED meant, and used to set it to like, an
 appointment time.

 Well, you can use it that way.
 The point is: Scheduled items behave differently to timestamped items.
 If you prefer the behaviour scheduling provides you with, go for it.

 I kind of miss how nice it was back when I misunderstood how events work
 (escept for all of those non-TODOs staying around forever on my
 agenda..) where I had a dedicated property for this, and pressing
 C-c C-s would always change that property.

 I just did a quick check. 
 It seems to me that timestamps within a property work.
 So, if you prefer, you can set your timestamps in a property like this:

 *  NEXT Task 2
:LOGBOOK:
:END:
:PROPERTIES:
:DATE: 2011-04-12
:END:

Yup, its what i use to make sure my journal entries appear in my agenda,
the snipped from org-capture-templates is

 (j Journal entry
  (file+datetree journal.org)
  * %?\n   :PROPERTIES:\n  :DateCreated: %T\n  :END:\n%i\n%a)


very handy.




Re: [O] xml statement in html and apache error

2011-04-07 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Richard Riley rile...@googlemail.com wrote:

 
 I cant really give too many details or suggestions as to why it failed,
 but the default xml string at the top of export to html files was
 causing apache to fail.
 
 ,
 | Parse error: syntax error, unexpected T_STRING in
 | /home/shamrock/common-files/webs/richardriley.net/projects/emacs/index.html
 | on line 1
 `
 
 I simply removed the html xml declaration,
 
 ,
 | org-export-html-xml-declaration is a variable defined in `org-html.el'.
 | Its value is 
 | ((php . ?xml version=\1.0\ encoding=\%s\?))
 `
 

 This looks wrong (even though unrelated to the problem): in my setup I get



You're right. Was late at night. I pasted the wrong value. The working value
is

,
| org-export-html-xml-declaration is a variable defined in `org-html.el'.
| Its value is 
| ((php . ?php echo \?xml version=\\\1.0\\\ encoding=\\\%s\\\ ?\; 
?))
`

That other value was in my scratch buffer from trying to debug the
situation. Note, I dont export to php, only html (currently).


 org-export-html-xml-declaration is a variable defined in `org-html.el'.
 Its value is
 ((html . ?xml version=\1.0\ encoding=\%s\?)
  (php . ?php echo \?xml version=\\\1.0\\\ encoding=\\\%s\\\ ?\; 
 ?))



 so deleting the html entry should leave you with the second line. You seem
 to have a mash of the two entries instead.


Sorry! Mea culpa there in my bug report.

 reexported my private little web, reloaded apache and all was
 well. Which was cool considering I hadnt exported it from the org data
 for all of about 2 years!
 
 Far from thought out, almost certainly not correct I am sure, but got
 my web back working.
 
 Possibly someone else can comment on cause/effect.
 

 Well, I exported a toy project and despite the presence of the xml headers,
 my apache is not complaining at all. I also spot-checked a couple of files
 on orgmode.org and they have the xml header, but apache seems to deliver
 them without a problem. Which version of apache are you running? Mine is
 2.2.16.

Two machines, both with Debian Squeeze.

,
| Server version: Apache/2.2.16 (Debian)
| Server built:   Mar 22 2011 20:56:31
`


 Nick

 PS. The exercise also uncovered an org bug but I'll post that as a
 separate message.


Let me re-run the scenario and check my publish parameters - its really
been a LONG time since I published but something changed with
apache. Both machines are relatively new installs. Possibly something
third party needs to be instaled on squeeze now to get xml statements
parsed? A google was not so helpful.

Thanks for the prompt reply.

r.



[O] Re: Non-stop capture?

2011-04-07 Thread Richard Riley
Jambunathan K kjambunat...@gmail.com writes:

 Mark S throa...@yahoo.com writes:

 Hello!

 I have the emacs org-protocol setup to capture with a default
 template. But I still have to C-c C-c and then move back to the
 browser. Is there a way to make it so that as text is captured it is
 automatically and continuously sent to the capture location without
 interruption?

 ,[ C-h v org-capture-templates RET ]
 | org-capture-templates is a variable defined in `org-capture.el'.
 | Its value is shown below.
 | 
 | Documentation:
 | Templates for the creation of new entries.
 |
 | [...] 
 |
 | Each entry is a list with the following items:
 | 
 |  :immediate-finish   When set, do not offer to edit the information, just
 |  file it away immediately.  This makes sense if the
 |  template only needs information that can be added
 |  automatically.
 | [...]
 `


Isnt that for capturing things like clipboard text?




[O] xml statement in html and apache error

2011-04-06 Thread Richard Riley

I cant really give too many details or suggestions as to why it failed,
but the default xml string at the top of export to html files was
causing apache to fail.

,
| Parse error: syntax error, unexpected T_STRING in
| /home/shamrock/common-files/webs/richardriley.net/projects/emacs/index.html
| on line 1
`

I simply removed the html xml declaration,

,
| org-export-html-xml-declaration is a variable defined in `org-html.el'.
| Its value is 
| ((php . ?xml version=\1.0\ encoding=\%s\?))
`

reexported my private little web, reloaded apache and all was
well. Which was cool considering I hadnt exported it from the org data
for all of about 2 years!

Far from thought out, almost certainly not correct I am sure, but got
my web back working.

Possibly someone else can comment on cause/effect.

regards

r.



[O] problems with crypt/reveal (org-mobile related?)

2011-03-15 Thread Richard Riley

I have a potentially rather major issue (for others too) that has
cropped up thats too late found to correct with back up files.

I have an org account data entry of the form:-

,
| ** STARTED log info :login:hostmysite:domain:crypt:
| -BEGIN PGP MESSAGE-
| Version: GnuPG v1.4.10 (GNU/Linux)
| 
| hQEMA7IjL5SkHG4iAQf+KkSVrlFpWvjUf9wKe2VvKSJ/9aJme6tKKtP/eeZjsxF4
| fGPp87RaRCBAk3hqHIqX5WAWXDaLOCyIbc2qzornhP4pWC9OJQDKuJSPfPMJrvqQ
| oCNbcsxsqUov9P0PS/m+AkOMF2Wqe84+Mh1+Kp3oKfKHfdc52Qjuem3N9O6cw9FX
| lOmjYNASY0IWs7DfGCzO1BViGoLDvDwuSESeFW0BE69YTdsJSdhoy+bM7JCBBqmb
| 
| *snip*
| 
| 
`

But when I hit C-c C-r to reveal I am only getting this:-

,
| ** STARTED log info :login:hostmysite:domain:crypt:
|:PROPERTIES:
|:ID:   0915433f-7180-4b5a-9d54-a922f2a5b908
|:END:
| -BEGIN PGP MESSAGE-
| Version: GnuPG v1.4.10 (GNU/Linux)
| 
| hQEMA7IjL5SkHG4iAQf/fMctFz1Omrj3YO+dvYirXBp5DJrRxX9UOL696A1R3yZa
| S1UI+aWHTqt3h+8XODxkXuqC5sZn/cVthKJnuNW/OVOZnO7Kr4ikx+qkjG+xBmYh
`

My *guess* is that when I tried org-mobile a couple of weeks ago (I didnt
continue with it), it encrypted the bits it added (an ID) and
reencrypted the already encrypted parts. I dont know. Its a guess.

How now to reveal the embedded pgp message? org-reveal doesnt see this
pgp part as encrypted.

(In general is using IDs recommended for the reasons?)

thanks

r.




Re: [O] problems with crypt/reveal (org-mobile related?)

2011-03-15 Thread Richard Riley

Julien Danjou jul...@danjou.info writes:

 On Tue, Mar 15 2011, Richard Riley wrote:

 How now to reveal the embedded pgp message? org-reveal doesnt see this
 pgp part as encrypted.

 M-x org-decrypt-entry
 ?

That doesnt work as the bit encrypted is not the entry its part of the
entry.

I could just set it at another level I guess.



Re: [O] problems with crypt/reveal (org-mobile related?)

2011-03-15 Thread Richard Riley
Richard Riley rile...@googlemail.com writes:

 Julien Danjou jul...@danjou.info writes:

 On Tue, Mar 15 2011, Richard Riley wrote:

 How now to reveal the embedded pgp message? org-reveal doesnt see this
 pgp part as encrypted.

 M-x org-decrypt-entry
 ?

 That doesnt work as the bit encrypted is not the entry its part of the
 entry.

 I could just set it at another level I guess.


If someone could provide some sort of patch for org-reveal to recognise
gpg encrypted paragraphs in that same crypt entry and decode it too that
would be great. I have literally hundreds of org entries affected by
this. See the OP for examples.





[O] bug killing regions with links

2011-03-14 Thread Richard Riley

If I have an org entry with a line containing only an org file: link,
if I C-space at the start of the line to set mark, down arrow or C-n and
then kill-region with C-w I would expect the entire line and link text
to be copied to the clipboard and the line deleted (transient mode
enabled). As it is it only deletes part of the link syntax leaving a
corrupted link - it seems to only kill the description part of the link
object and its closing bracket, not its opening one.

Of course a workaround is C-k but I'm kind of hard coded to kill lines
into the clipboard and I suspect the bug is probably larger than only
links on a single line.

regards

r.



[O] Invoicing using a template from org-mode?

2011-03-14 Thread Richard Riley

I'm wondering if anyone out there has already implemented an
invoicing system from org-mode which takes a last invoice id property,
increments it or possibly next invoice date and produces an invoice
document? And then produce a TODO to check the payment and another to
reissue a year or two down the line?

Alternative suggestions?





Re: [O] OrgCamp in India -- Interested?

2011-03-14 Thread Richard Riley
Rustom Mody rustompm...@gmail.com writes:

 I am in Pune.
 I would come if its near about there (or Bombay).


Mumbai, surely ...
 ;)




Re: [O] tags match agenda

2011-03-10 Thread Richard Riley
John Hendy jw.he...@gmail.com writes:

 On Thu, Mar 10, 2011 at 7:41 AM, Richard Riley rile...@googlemail.com wrote:

 when I create an agenda matching a certain tag its not working for file
 level tags. Is this a known issue or have I done something wrong?

 (C-c a m)

 http://orgmode.org/manual/Setting-tags.html

 file level tags:

  #+TAGS: laptop car pc sailboat


 Perhaps make a simple file with four headlines, each tagged one of the
 ones you listed, copy it to the list, and then state which tag is not
 showing up with =C-c a m=? Then we can try to replicate.


It's file level tags which dont work. The extract above is from the
manual - do they work for you in that format?

regards

r.



Re: [O] tags match agenda

2011-03-10 Thread Richard Riley
Sébastien Vauban wxhgmqzgw...@spammotel.com
writes:

 Hi Richard,

 Richard Riley wrote:
 when I create an agenda matching a certain tag its not working for file
 level tags. Is this a known issue or have I done something wrong?

 (C-c a m)

 http://orgmode.org/manual/Setting-tags.html

 file level tags:

   #+TAGS: laptop car pc sailboat

 It works for me with a slightly different syntax:



 #+FILETAGS: :laptop:car:pc:sailboat:


Good to know as thats how I had it originally.

I wonder if its a bug to do with my capture template being of the form

 (j Journal entry
  (file+datetree journal.org)
  * %?\n   :PROPERTIES:\n  :DateCreated: %T\n  :END:\n%i\n%a)

i.e datetree not being properly searched? Other file level tags work
fine.

regards

r.




Re: [O] tags match agenda

2011-03-10 Thread Richard Riley
Bernt Hansen be...@norang.ca writes:

 Richard Riley rile...@googlemail.com writes:

 when I create an agenda matching a certain tag its not working for file
 level tags. Is this a known issue or have I done something wrong?

 (C-c a m)

 http://orgmode.org/manual/Setting-tags.html

 file level tags:

   #+TAGS: laptop car pc sailboat

 Hi Richard,

 I think this works for me.  I'm using C-c a 1 m since my test file is
 not in org-agenda-files.

 I've applied some of those tags to headings in my test file and I can
 show them with an agenda tags match.  C-c a 1 m laptop RET

 I am assuming you just want to define the tags for this file only and
 not apply them to every heading in the file (which is #+FILETAGS:)

 Can you provide any more information about this problem?

I want all entries in this file to inherit the tag so it should be
filetags I believe. My other tests suggest it is my

,
| (j Journal entry
|   (file+datetree journal.org)
|   * %?\n :PROPERTIES:\n  :DateCreated: %T\n  :END:\n%i\n%a)
`

datetree format that might be stopping the tag match occurring.

Or am I confusing issues here?

In my journal file I have

#+TITLE:  my journal
#+FILETAGS: :journal:

I would expect C-c a m journal

to show all journal entries in a standard result list.




[O] org mobile - pre hooks

2011-03-03 Thread Richard Riley

Could I suggest that org-mobile-pre-push-hook is processed at the start
of the org-mobile-push function before the checks? That way it can be
used to properly setup mobile e.g using auth-source for the mobile
password.

  (add-hook 'org-mobile-pre-push-hook 
  '(lambda()
 (setq org-mobile-encryption-password (funcall (plist-get (car 
(auth-source-search :host '(orgmobile))) ':secret)
  



Re: [O] mobile org problems

2011-03-02 Thread Richard Riley
Richard Riley rile...@googlemail.com writes:

 I am using an scpc tramp url for my moble org directory. When I do a
 mobile push, why does emacs or mobileorg keep asking me for to select
 coding system (default raw)? Also, why does it delete/chmod the
 mobileorg.org file on my webdav server? After the initial push/pull the
 next push then fails after I sync from my iphone - the iPhone uses
 webdav to connect which recreate mobileorg.org(or any org files) with
 permissions 640 and owned by www-data and not my user - the www-data
 group cant write to it next time I try to push.

 Any pointers or commenst from other mobileorg/webdav users appreciated.


Or to ask another way, is anyone successfully using mobileorg with
iPhone using webdav on a regular basis and if so could you share your
setup please.


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


Re: [O] mobile org problems

2011-03-02 Thread Richard Riley
Greg Troxel g...@ir.bbn.com writes:

 I use MobileOrg with webdav, both remote over ssh/tramp, and locally
 (two separate setups).

 On the ssh one:

 (setq org-mobile-directory /ssh:foo.example.org:/usr/home/gdt/ORG)
 (setq org-mobile-inbox-for-pull
   (concat org-directory /from-mobile.org))
 (setq org-mobile-use-encryption t)
 (setq org-mobile-encryption-password password)

 But, the tricky part is dealing with permissions.

 Basically, the webdav world seems to want you to only access it via
 webdav, and joint filesystem and webdav access is troublesome.


Yup. This was my issue too.

 My remote directory is (on NetBSD, which I think inherits gid even
 without the SysV-style sgid directory):

 drwxrws---  2 gdt  www  512 Mar  2 09:08 ORG/

 and I run this script from cron every 5 minutes:

 #!/bin/sh
 cd /home/gdt/ORG

 find . -type f \! -group www | while read f; do
 echo -n GROUP ; ls -l $f
 chgrp www $f
 done
 find . -type f -name mobileorg\* \! -perm -220 | while read f; do
 echo -n MODE ; ls -l $f
 chmod g+w $f
 done

Aha. I didnt think it could work out of the box. Thanks for the
confirmation.


 An alternative would be to have a webdav fs on the machine with the org
 files, and to use that to write to the webdav area.


I'm not sure I parse that properly. Do you mean mounted and owned as
www-data/www via shfs or something?

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


[O] mobile org problems

2011-03-01 Thread Richard Riley

I am using an scpc tramp url for my moble org directory. When I do a
mobile push, why does emacs or mobileorg keep asking me for to select
coding system (default raw)? Also, why does it delete/chmod the
mobileorg.org file on my webdav server? After the initial push/pull the
next push then fails after I sync from my iphone - the iPhone uses
webdav to connect which recreate mobileorg.org(or any org files) with
permissions 640 and owned by www-data and not my user - the www-data
group cant write to it next time I try to push.

Any pointers or commenst from other mobileorg/webdav users appreciated.



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


[Orgmode] Re: crypt entries and journal

2011-02-07 Thread Richard Riley
Richard Riley rile...@googlemail.com writes:

 crypt tagged entries are not showing up in the journal. Is it because the 
 properties
 are being encrypted too?

 ,
 |  vodafone new pin   
 :pin:vodafone:superpin:sim:crypt:
 |:PROPERTIES:
 |:DateCreated: 2011-02-07 Mo 14:48
 |:END:
 | sim : 
 | superpin : 5471
 `

 when saved becomes

 ,
 |  vodafone new pin   
 :pin:vodafone:superpin:sim:crypt:
 | -BEGIN PGP MESSAGE-
 | Version: GnuPG v1.4.10 (GNU/Linux)
 | 
 | hQEMA7IjL5SkHG4iAQgAhuR4Da6ErKs8g8wFiLDePgGk/sYo839h6Ew0W40qmUho
 | pwkIJQf8qv4fLKv7WxeXzLSonuIyIhdYVeH/l4l4Vvb1AMp2GV1279CMqq0Zv2Cu
 | KkWsK1rg3D/gJBE+LBRQRh/NlBAn/oAkkAYWrE7wKoW03T7iDJTDfjR9szW3S177
 | CsHx6H5Q89r5XBCGu8USUmJLIZaSLsgiDe58W7It1qGOKtbisYF+HJn/hF91HmeO
 | mPpdAhKg0N8nsQ0UKEDkOSGqBxDm2oD8S+ky6jex/Ycj3VIArQK02zCvjvRBp57O
 | VCQ2EBp7zDl3LVX8xz2O75GNCFo+4rohtZYDpX1TS9KTASkIWa+Sa6Jo+rNoFcFP
 | bfRxtyR/a+my0tAKq6QgzQLMGtSmXKr6ypkDcVCcEWDe6K3d3u0PwlVvRHZ1CQRV
 | 3DI58LLJky7LUDBIdYpmi8xU9c/wwtbcu9WtRIKuiW+V/H5IZ5180eJnqcFMvtYI
 | v1ZBC8BxUgFm6x3f+ih0wVny0Ysqo1qmRXmD4PF1qx+YMcmU
 | =36UC
 | -END PGP MESSAGE-
 `

 And doesnt appear as a journal log in my agenda.

 I wouldnt swear to it but I thought they used to show up in the journal.

 I would like them to. Best way?


ugh. A while away.

I had moved the timestamp into the properties which are
encrypted. Adding %T to me org entry heading solves the issue.

I think I would prefer to have the logged properties unencrypted
though.

e.g my journal capture template is contained in 

,
|  '(org-capture-templates (quote ((t Todo entry (file+headline  Tasks 
To Refile) * TODO %?
| :PROPERTIES:
|  :DateCreated: %T
| :END:
| %i
| %a) (j Journal entry (file+datetree journal.org) * %?
| :PROPERTIES:
|  :DateCreated: %T
| :END:
| 
| #+begin_src emacs-lisp
| %i
| #+end_src
| %a) (n Quick note to refile later entry (file+headline  Notes To 
Refile) * %?
| :PROPERTIES:
|  :DateCreated: %T
| :END:
| #+being_src
| %i
| #+end_src
| 
| %a) (w web capture entry (file refile.org) * %a %?\\n:PROPERTIES:
|  :DateCreated: %T
| :END:n
| %i))) t)
`

I would like that date created to be visible in my agenda despite the
entry being encrypted - it just keeps the heading cleaner without the
datestamp. Any way of doing this?


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


[Orgmode] crypt entries and journal

2011-02-07 Thread Richard Riley

crypt tagged entries are not showing up in the journal. Is it because the 
properties
are being encrypted too?

,
|  vodafone new pin 
:pin:vodafone:superpin:sim:crypt:
|:PROPERTIES:
|:DateCreated: 2011-02-07 Mo 14:48
|:END:
| sim : 
| superpin : 5471
`

when saved becomes

,
|  vodafone new pin 
:pin:vodafone:superpin:sim:crypt:
| -BEGIN PGP MESSAGE-
| Version: GnuPG v1.4.10 (GNU/Linux)
| 
| hQEMA7IjL5SkHG4iAQgAhuR4Da6ErKs8g8wFiLDePgGk/sYo839h6Ew0W40qmUho
| pwkIJQf8qv4fLKv7WxeXzLSonuIyIhdYVeH/l4l4Vvb1AMp2GV1279CMqq0Zv2Cu
| KkWsK1rg3D/gJBE+LBRQRh/NlBAn/oAkkAYWrE7wKoW03T7iDJTDfjR9szW3S177
| CsHx6H5Q89r5XBCGu8USUmJLIZaSLsgiDe58W7It1qGOKtbisYF+HJn/hF91HmeO
| mPpdAhKg0N8nsQ0UKEDkOSGqBxDm2oD8S+ky6jex/Ycj3VIArQK02zCvjvRBp57O
| VCQ2EBp7zDl3LVX8xz2O75GNCFo+4rohtZYDpX1TS9KTASkIWa+Sa6Jo+rNoFcFP
| bfRxtyR/a+my0tAKq6QgzQLMGtSmXKr6ypkDcVCcEWDe6K3d3u0PwlVvRHZ1CQRV
| 3DI58LLJky7LUDBIdYpmi8xU9c/wwtbcu9WtRIKuiW+V/H5IZ5180eJnqcFMvtYI
| v1ZBC8BxUgFm6x3f+ih0wVny0Ysqo1qmRXmD4PF1qx+YMcmU
| =36UC
| -END PGP MESSAGE-
`

And doesnt appear as a journal log in my agenda.

I wouldnt swear to it but I thought they used to show up in the journal.

I would like them to. Best way?

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


[Orgmode] Re: error navigating the agenda org-agenda-earlier

2011-01-03 Thread Richard Riley
Bernt Hansen be...@norang.ca writes:

 Richard Riley rile...@googlemail.com writes:

 Using org from git today:-

 C-c a a to bring up my agenda for the week.

 ,
 | b runs the command org-agenda-earlier, which is an interactive compiled 
 Lisp
 | function in `org-agenda.el'.
 `

 Debugger entered--Lisp error: (error Not allowed in nil-type agenda 
 buffers)
   signal(error (Not allowed in nil-type agenda buffers))
   error(Not allowed in %s-type agenda buffers nil)
   org-agenda-check-type(t agenda)
   org-agenda-later(-1)
   org-agenda-earlier(1)
   call-interactively(org-agenda-earlier nil nil)

 The first few b presses worked then sometime in my october I got the
 above.

 If you cant reproduce I can try and narrow it down more.

 Hi Richard,

 More information would be good.  Things like:

   - what is the SHA1 of the git commit are you on?
   - Is it back that breaks or something on the week you are displaying?
   - Is your org-agenda-files variable a list of files, directories, other?

 I can't reproduce this here.  I went back to September 2010 a week at a
 time without any problems.  I'm currently using org-agenda-files with a
 list of directories instead of files (but I have no idea if that has
 anything to do with your problem or not).

Hi Bernd,

It's a list of files. I will try the list of directories tomorrow AM and
let you know - I dont *think* that was possible when I set my org up ;)

r.

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


[Orgmode] Re: My Gnus does not work with newest org

2010-12-17 Thread Richard Riley
Rafael Villarroel rvf0...@gmail.com writes:

 Hello all,

 I have defined the following:

   (setq gnus-home-directory ~/Dropbox/gnus)
   (setq gnus-directory ~/Dropbox/gnus/News)
   (setq message-directory ~/Dropbox/gnus/Mail)

 and so my init Gnus file is at ~/Dropbox/gnus/.gnus. When loading
 org-mode just pulled from git, after M-x gnus I get the message that the
 nntp server cannot be loaded, then after C-h v org-init-file, I get
 that

You mean gnus-init-file? Try customising it appropriately. Gnus kind of does
its own thing 

 this variable points to ~/.gnus, which does not exist in my setup. This
 is Gnus 5.13. However, I do not have any problems with org 7.3.

 I would appreciate any advice on how to make this work! Thanks.

 Rafael


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


[Orgmode] Re: org-directory changed?

2010-11-17 Thread Richard Riley
Nick Dokos nicholas.do...@hp.com writes:

 Richard Riley rile...@googlemail.com wrote:

 
 Has something dramatic changed with how org loads files?
 
 My org-directory setting is ~/org-files.
 
 When I start up my agenda this morning after a git pull I get
 
 insert-file-contents-literally: not a regular file:
 /home/shamrock/org-files
 
 

 I just pulled and saw no problem (but I'm not using org-directory for my
 agenda files: they are explicitly enumerated in org-agenda-files). I
 think the most useful way forward would be for you to get a backtrace.

 Thanks,
 Nick


OK, here's the bt. So something to do with category items which rang a
bell. In my custom I had a default 

 '(org-agenda-category-icon-alist (quote ((  nil nil nil

This caused the issue. I removed it and all was well. Possibly some
bolstering of the category icon code might protect against this - not
sure if it would be a common occurrence or not.


,
| Debugger entered--Lisp error: (file-error not a regular file 
/home/shamrock/org-files)
|   insert-file-contents( nil 0 256 nil)
|   insert-file-contents-literally( nil 0 256)
|   image-type-from-file-header()
|   image-type( nil nil)
|   create-image( nil nil nil)
|   apply(create-image ( nil nil nil))
|   byte-code(\305\211\203:\...@\306  @\\2033   \211A@)\203*\307\310   
\211A@)\\210\2023\307\310\311\312  A\\\210\nA\211\204*\305\207 
[org-agenda-category-icon-alist entry --cl-dolist-temp-- category x nil 
org-string-match-p throw --cl-block-nil-- apply create-image] 6)
|   org-agenda-get-category-icon(#(Hamburg, Germany 0 16 (fontified nil 
org-category #(Journal 0 7 ...
|   org-format-agenda-item(Sched. 2x:  recurring org items  
:orgmode:recurring:schedule:CANCELLED: #(Hamburg, Germany 0 16 (fontified 
nil org-category #(Journal 0 7 ...))) (#(journal 0 7 (inherited t)) 
orgmode recurring schedule CANCELLED) nil nil nil nil)
|   byte-code(\306 
\210\307\310!\311\310\224S\312\307\310!\313\f$\211Z9:\205$9\314W;9\314W\203A\3159!W\203A:\203A=\203H9\314U\203\246\212\316
 \2118\235?\317\320!\205[\320 @?\20...@\204sa\204s9\314u\204x\311\202\\321 
B\322\323\311\324#\204\212C\202\\314\225b\210\314\2...@\203\256e\203\246:\204\320F\203\320\325\326\311\\210\202\320G\324=\204\277G\203\320;\203\320\327DH\\211I\203\320\325\326\311\\210\330
 
J\331`\332\311w\210`\K\333\334\\203\361\310\224\311o\335pl\202\364\336l\3379\314u\20...@\202\f\340ma@\3109Z\KBJ9\314U\205L\311\211@
 \203\2...@\2044;\2034\341\202:\203=\342\202\343'@\205G\344 @\345
N\346'\347?\203Z\350\202\\'\351\352\n!\353\352D!\354;\203o\355\202p\356\357;\203z
\202|/\...@\203\211\361@!\202\223\362\363\3649Z\365!#\366b\...@\3708\210  
OBO)\311\207 [s txt pos d1 org-agenda-repeating-timestamp-show-all d2 
org-agenda-skip match-string 1 nil org-time-string-to-absolute past 0 abs 
org-get-todo-state functionp org-is-habit-p org-get-category re-search-backward 
^\\*+[]+ t throw :skip assoc org-get-tags-at 
buffer-substring-no-properties ^\n string-match  
\\([012]?[0-9]:[0-9][0-9]\\)   time org-format-agenda-item format 
org-scheduled-previously org-scheduled-today org-scheduled org-habit-parse-todo 
org-add-props undone-face face org-agenda-done org-marker org-agenda-new-marker 
org-hd-marker type past-scheduled scheduled date priority 
org-habit-get-priority ...] 24)
|   org-agenda-get-scheduled(nil)
|   org-agenda-get-day-entries(/home/shamrock/org-files/journal.org (11 17 
2010) :deadline :scheduled :timestamp :sexp)
|   apply(org-agenda-get-day-entries /home/shamrock/org-files/journal.org (11 
17 2010) (:deadline :scheduled :timestamp :sexp))
|   byte-code(\306!\210   \n\204\307\310 
\\311=\203\312\f\313#\2026\203/\314\312\f\315\316 \$\2026\314\312\f 
$)\315\\306\207 [file org-agenda-entry-types org-agenda-include-deadlines 
org-agenda-show-log date rtn org-check-agenda-file delq :deadline only 
org-agenda-get-day-entries :closed apply append (:closed) rtnall] 7)
|   org-agenda-list(nil)
|   call-interactively(org-agenda-list)
|   (let nil (call-interactively (quote org-agenda-list)))
|   (let nil (let nil (call-interactively ...)))
|   eval((let nil (let nil (call-interactively ...
|   org-let2(nil nil (call-interactively (quote org-agenda-list)))
|   org-run-agenda-series(My\n Today (((agenda  nil) (tags sticky ...)) 
nil nil))
|   byte-code(\306\307 
\232\203\310\202\n\311\306\312\313\\p\314\315 
!...@\306\211ab\306\211cd\306\211efg\204x\316\317!\203c\204i\320\321\322\306#\210\306hi\306\211\223\210j\306\211\223\210\320\323\324\306#\210pkl\204t\325!\211f@lfamg\204\277m\203\277\320\321\...@c#\210m\326=\203\241\327hi\330
 \306\223\210J\331 
\306\223\210\202\277M\332=\203\277\212\327H\333\327!\210I`\306\223\210J\334\327!\306\223\210)\335L\\211A\203\314\336A89\204\333\337\336A8!\203\273\336A8C\340\341A8!D\342A8E\320\323\324E#\210C\343=\203\344E\345\\202$C\346=\203\344E\347\\202$C\350=\203#\344E\351\\202$C\352=\2032\344E\353\\202$C

[Orgmode] org-directory changed?

2010-11-16 Thread Richard Riley

Has something dramatic changed with how org loads files?

My org-directory setting is ~/org-files.

When I start up my agenda this morning after a git pull I get

insert-file-contents-literally: not a regular file:
/home/shamrock/org-files


cheers

r.


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


[Orgmode] Re: epresent and Org-mode: using Emacs to run presentations of Org-mode docs

2010-10-28 Thread Richard Riley
Eric Schulte schulte.e...@gmail.com writes:

 Hi,

 Phil Hagelberg recently introduced me to epresent.el by Tom Tromey.
 It's a very nice little utility for giving presentations using Emacs as
 the display engine.  Obviously I was aghast to learn that epresent
 didn't work with Org-mode documents.  I took the liberty of reworking it
 so that it runs off of Org-mode documents and uses Org-mode both to
 structure the presentation and to handle most of the fancy display
 elements.

 This re-working was mainly a series of quick hacks, and is certainly not
 mature in any way.  But I think it is usable in it's current state for
 running simple presentations, and thought it may be interesting or of
 use to people here.  If you're interested check out the example
 presentation included in the source code repository.

 http://github.com/eschulte/epresent
 (instructions in the README)

If anyone missed it, there is also emacs-muse-slidy.

http://www.flickr.com/photos/arciniegas/5108022392/

That is very impressive.


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


[Orgmode] Bug/feature : crypt encrypts empty string.

2010-10-22 Thread Richard Riley

I was just saving a cleaned up org file as a template for later
projects when and a crypt region I had just removed magically
reappeared!

e.g

,
| * Domain
| ** Registrar:crypt:
| -BEGIN PGP MESSAGE-
| Version: GnuPG v1.4.10 (GNU/Linux)
| 
| hQEMA7IjL5SkHG4iAQgAgF/BiEMkhfWuohErZy4TulPtq7Tdh+VEBvLP2Eeehash
| ylHAVOBzfdApVud5ByfzywPm8/fzPDjCNCsdZ3M6sL/IFtoMa6qrNnG4utpYQFxt
| 63Tys9dyEfo7qzbi97LRWrla3DUnJZ3d53PGOg9cxZurq2za3n37xZucFV1HRk7y
| sacLdelZ7CaHd1MxfUQcBQo+H9jbUSdkTCldJ/2csm9aL+/ZuUJJfWL0GbgpzJGg
| liSbn3S2LsobcEw5fh6T4OFlqMWPkyn7xJugMOnA4CwuZtSmmqumye80MW4hE/kX
| TCfRhqrPUuyHNRqxgwiOLZaJan0bueelALnprrWoZ9I7AYmV5UjoV6bIqkVE8rL1
| pLZ/sZE+QzEIpRRzHV6uK1v4BE5SPr5TdA5zA7lBy1UVU2SHnBNJ8K25l6k=
| =eE61
| -END PGP MESSAGE-
| 
`

I removed everything after the Registrar line, and then hit C-x C-s to
save and the crypt block reappeared.

Took me a while to realise that it was probably encrypting
nothing.

Could it not do that or does that behaviour seem ok?


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


[Orgmode] capture initial level and refile of capture buffer

2010-10-22 Thread Richard Riley

What determines the level of a new capture element? e.g I just created
one and it started at .

feature request : when I added some sub elements to a capture buffer e.g

* my new capture

** sub point

*** sub sub point 1
*** sub sub point 2

and hit C-c C-w to refile, it only refiled the sub element (where cursor
was) and then lost the rest. I would like to suggest that refile from
the capture buffer should refile the entire buffer and not only the
current nested org item. Or am I missing something in my setup?

regards

r.


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


[Orgmode] Re: Requests about the code demarcation

2010-10-17 Thread Richard Riley
Achim Gratz strom...@nexgo.de writes:

 Eric Schulte schulte.e...@gmail.com writes:
 Thanks for the suggestions, I've just implemented them.

 This likely relates to commit eb0068e9, which  raises this warning

 In org-babel-demarcate-block:
 ob.el:1141:49:Warning: reference to free variable `org-babel-load-languages'

 during byte-compile.

 Achim.

Just a note on the key bindings for src code splitting/marking - there
is already a very similar function inside Gnus:-

--8---cut here---start-8---
C-c M-m runs the command message-mark-inserted-region, which is an interactive
compiled Lisp function in `message.el'.

It is bound to C-c M-m, menu-bar Message Insert Region Marked.

(message-mark-inserted-region BEG END optional VERBATIM)

Mark some region in the current article with enclosing tags.
See `message-mark-insert-begin' and `message-mark-insert-end'.
If VERBATIM, use slrn style verbatim marks (#v+ and #v-).
--8---cut here---end---8---

Possibly the keybinding to use?

regards

r.


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


[Orgmode] optimal usage Q : how would you do this?

2010-10-12 Thread Richard Riley

I'd like to see how others manipulate org.

Lets say I have a load of contracts to follow up on.

heres the raw data

,
| Contracts to follow up on
| 
|  Basics
|   Vattenfall
|   Water
|   HanseGas
|  Insurances
|   Zürich
|   BGN
|   IHK (not really insurance though)
|  Suppliers
|   Unterbichler
|   COlle
|   Ökokill
|   Tobacoland
|   Strelow
`

How would you organise that in org?

And how would you do it with regard to the keyboard and levelling.

Is there a short cut to generate the lot as a multilevel single todo item with
a list of sub components which must each be done? Can they be list items
or better they each be individual org items? 

I ask because sometimes I wonder if I am doing things far from optimally
and would love to see how others would change the raw data above into an
all singing all dancing all tracking org unit(s) of work,

regards

r.


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


[Orgmode] bug? scheduled keyword inside org items.

2010-10-11 Thread Richard Riley

I had stored a post here in my todo life as follows

,
| 
| * my org item 
|
| Subject: Re: Recurring scheduled items appearing in schedule
| From: Bernt Hansen be...@norang.ca
| To: Dustin Hoffman dustinhhoff...@gmail.com
| Date: Sat, 09 Oct 2010 20:16:52 -0400
| 
| Dustin Hoffman dustinhhoff...@gmail.com writes:
| 
|  I have scheduled reminders for things that occur weekly over a period
|  of months.  The problem is, that each of these scheduled items appears
|  under the current day in the agenda view and the multiplier (eg 6x,
|  5x) keeps going up.
| 
|  What I want is each of these scheduled items to appear only on the
|  days that they occur in the agenda view.
| 
|  Here is an example of an org file with a schedule in it.
| 
|   * Class Times
|  ** Class
| SCHEDULED: 2010-09-28 Tue 12:30-13:48 +1w
|  ** Class
| SCHEDULED: 2010-09-23 Thu 12:30-13:48 +1w
| 
| 
`

The SCHEDULED items inside the quoted text are appearing in my agenda.

Bug, as expected or can I stop that?



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


[Orgmode] Re: org-bbdb: anniversaries with unknown years

2010-10-10 Thread Richard Riley
Carsten Dominik carsten.domi...@gmail.com writes:

 On Oct 10, 2010, at 12:15 PM, Christoph Groth wrote:

 Hello,

 I'd like to keep birthdays and similar dates in bbdb and have them  
 shown
 in my org mode agenda views.  Often, however, I do not know the year  
 of
 an anniversary, and in the case of my acquaintances the year of a
 personal anniversary is often not meaningful (e.g. name days,  
 popular in
 some countries).

 The solution that came to my mind was to update org-bbdg.el to also
 accept dates in the format MM-DD.  org-bbdb-anniv-extract-date would
 then substitute nil for unknown years.  The remaining code would make
 sure that unknown is substituted for unknown `years'.

 That solution seems fine, however it would break compatibility with  
 the
 old format of org-bbdb-anniversary-format-alist, as this assumes  
 that a
 numerical value of `years' is always defined.

 Before writing a patch, I would like to ask for opinions on this.

 I am not sure if there are nay other tools which make use of birthdays  
 in bbdb.

 I would such an extension useful.

 - Carsten


++ on that one. I get funny looks when asking friends what year they
were born in. Not least because I refuse to capitulate to the FaceBook
masses. org-mode might be referred to, jokingly, as Borg-mode in #emacs
but faceBook is a far more powerful force for evil .


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


Re: [Orgmode] Re: org-bbdb: anniversaries with unknown years

2010-10-10 Thread Richard Riley

Carsten Dominik carsten.domi...@gmail.com writes:

 On Oct 10, 2010, at 1:16 PM, Richard Riley wrote:


 ++ on that one. I get funny looks when asking friends what year they
 were born in. Not least because I refuse to capitulate to the FaceBook
 masses. org-mode might be referred to, jokingly, as Borg-mode in  
 #emacs

 :-)  Is that so???



I think it's somewhat witty ;) Since org-mode has a contrib for just
about everything except making the morning coffee (uh oh ...) ;)

It (org-mode) has even been mentioned in Xah Lee's latest contribution
to the emacs help group as a possible replacement for the antiquated
texinfo formats required for info files ...

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


[Orgmode] [PATCH] tag input separators

2010-10-04 Thread Richard Riley

I dont know if it would be generally useful, but a tiny little tweak to
tag editing in order to allow , as a seperator when typing in tags via
C-c C-q TAB free entry interface. , is certainly easier for me to
use but I dont know about the ramifications of it as a legal character
in a tag name.


--8---cut here---start-8---
Modified lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index 3f24ee8..fa3d364 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -12792,6 +12792,8 @@ With prefix ARG, realign all tags in headings in the 
current buffer.
  ;; No boolean logic, just a list
  (setq tags (replace-match : t t tags
 
+  (setq tags (replace-regexp-in-string [ ,] : tags))
+
   (if org-tags-sort-function
  (setq tags (mapconcat 'identity
(sort (org-split-string tags (org-re 
[^[:alnum:]...@#%]+))
--8---cut here---end---8---

I replaced space too but that isnt currently allowed anyway.

regards

r.


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


[Orgmode] Re: Org-mode screencasts

2010-09-28 Thread Richard Riley

Unfortunately neither istanbul nor recordmydesktop work properly on my
twinview desktop : both are very very slow and flickery.

What is the current concensus for screencasting with Linux : hopefully
with some sort of ability to show the keys pressed and an easy way to
annotate the video?



Scot Becker scot.bec...@gmail.com writes:

 Richard,

 That's a great intro screencast.

 Scot

 On Sun, Sep 26, 2010 at 7:41 PM, Jeff Kowalczyk j...@yahoo.com wrote:
 Eric Abrahamsen eric at ericabrahamsen.net writes:

 One thing that would be really excellent is to show keystrokes as you do
 the tutorial. I don't know what system you're using, but this link:

 http://screencasters.heathenx.org/blog/2009/04/06/smaller-key-status-monitor/


 Rustom Mody wrote:

 mwe-log-commands may be particularly useful for an emacs related
 screencast http://www.foldr.org/~michaelw/emacs/mwe-log-commands.el

 It would be extremely nice for screencasting Emacs to have a configurable
 input
 and prompt display similar to the calc trail.

 Wish list:

 - stack view of the keystream from view-lossage
 - annotations (i.e. an overlay) when a binding dispatches a command
  using the mechanism from mwe-log-commands.
 - annotations of minibuffer prompts
 - annotations of keybinding hints

 The view-lossage stream doesn't use the format one would want for user
 documentation:

 C-x b f o o return return menu v i e w - l o s s a g e return

 Something like the following would be more like documentation:

 C-x b [switch-to-buffer]
 f o o RET [minibuffer input]
 RET [minibuffer prompt confirm]
 [visiting buffer] foo
 M-x [menu]
 v i e w - l o s s a g e RET [minibuffer input]
 [visiting buffer] *Help*

 The parts in [brackets] are intended to indicate some kind of face overlay. 
 As
 uncolored plaintext the information is just distracting.

 Another tool, http://www.emacswiki.org/emacs/ScreencastMode has good ideas 
 for
 keybinding hints and one-key stepthrough. I don't think the typed-text
 narration
 style is a good fit for these particular screencasts and their target
 audience,
 however.

 Jeff


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


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


-- 
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.com/ 
http://www.richardriley.net


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


[Orgmode] org and auto-complete faces/overlays clash

2010-09-28 Thread Richard Riley

Not so mega important as org files are not somewhere I would normally
have completion turned on, but this time I did while editing some elisp
in org-mode :-

http://www.myupload.org/viewer.php?file=d8ajog6vgu9fl8idhomm.png

The auto-complete menu system clashes with the org-mode folding :
something to do with overlays perhaps?




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


[Orgmode] Re: ELPA

2010-09-28 Thread Richard Riley
Achim Gratz strom...@nexgo.de writes:

 Eric Schulte schulte.e...@gmail.com writes:
 I would think that it only makes sense to have one Org-mode package in
 ELPA, namely the bleeding edge git version of Org-mode.

 I disagree and my vote is still on 'maint', i.e. what a user would be
 most likely to install if he was visiting orgmode.org.  Master changes
 too often and might have experimental commits that later get reversed.
 For anybody not following the mailing list this would be exactly the
 wrong version to get through ELPA, especially since ELPA (at least in
 standard configuration) does not notify about new versions.

I'd be interested to hear how many people actually use ELPA. I haunt the
#emacs channel a little bit and I know only a handful that use it. Is
the idea that it will be used more or central to emacs in the future?



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


[Orgmode] Re: [PROPOSAL] Quick and easy installation instructions

2010-09-27 Thread Richard Riley
Rémi Vanicat vani...@debian.org writes:

 Richard Riley rile...@gmail.com writes:

 You have no idea how pleased I am to hear you say that ... I sometimes
 wondered if I should go back to notepad ;) When asking the #emacs irc it
 seemed I was the only one in the world that constantly had issues. Of
 course mentioning Debian immediately saw me get the oh debian cold
 shoulder ... ;) LOL.

 On Debian you should use update-info-dir ( as in
 $ update-info-dir /path/to/infos
 to generate the dir file. (This may work on others distribution too, I
 don't know if it is a Debian specific tools)
 [...]

Yes, I knew about that and thing I submitted an update for the makefile
yonks ago to use just that. The issue seemed to be with multiple dirs
and then emacs having its own info file paths. I need to get back to building
my own emacs on debian and see what happens to be more explicit - I just
know that I, and from #emacs, others ended up in a kind of pickle.



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


[Orgmode] Re: [PROPOSAL] Quick and easy installation instructions

2010-09-26 Thread Richard Riley
Dan Davison davi...@stats.ox.ac.uk writes:

 I think that the documentation concerning installation should be made
 more user-friendly. My impression is that the Org manual makes all this
 sound much harder than it needs to be, and I suspect that this is an
 entry-barrier for new Org users. For example, the first thing users
 encounter in the manual section is an instruction to edit a Makefile.

 I suggest we provide a quick and easy installation section to the
 manual, that shows people how to start using the latest version of
 Org-mode without messing about with compilation and installation (I
 rarely compile and have never installed Org-mode). It would also be
 helpful to include notes on how to find your .emacs file.

 This would involve the following changes to section 1.2 Installation:

 1. The first thing it should say would be along the lines of
A reasonably recent version of Org is included in Emacs. Are you
sure you need the latest version of Org?  If not, skip to the
Activation section and start using Org!

I would not go that way. org moves very very quickly.

I would have it in bold letters we thoroughly recommend taking the
latest org release from git and here is how to do it (git pull with a
label). Then if and when issues arise they can git pull as and when the
fixes arrive.

I say this because some distros (debian being the prime example) can be
very tardy with including latest versions.

And someone who uses emacs would not be overly put out by git installing
or unzipping I think.


 2. Then we should lay out an easy route and a full route:
1. Quick and easy
   Download, set your load-path and (require 'org-install)
   Optionally compile (within emacs[1]?)
   Suggested text below.
2. Full install
   Based on existing instructions

I would leave out the compile all together : advanced users who might
need it will know how to do it. old elc files are a frequent issue with
beginners that rears its ugly head time and time again.


 What do people think? Is it just the info files which are the issue?
 What does a single-user machine gain from installation other than info
 files?

Info files are the issue. The addition to the infopath of the new info
files is frequently an issue too. I say that because emacs info is my
nemesis : I have never *properly* understood the way dir files work and
frequently spend ages scratching my head as to where info files should
really go ;)


 Dan

 Footnotes:

 [1] How about including in Org-mode a function `org-compile' based on
 http://orgmode.org/worg/org-hacks.php#compiling-org-without-make
 and `org-reload'

 Example quick and Easy installation text:
 ~~~

 1. Download the latest version
.zip and .tar.gz version are kept at
http://orgmode.org/org-latest.zip
http://orgmode.org/org-latest.tar.gz

 2. Extract the archived files
This will create a folder called org-mode. Let's say that the
location of this folder is ~/path/to/org-mode (for Windows see
footnote [1])

 3. Add the following lines to your .emacs file (note that we're pointing
to the lisp folder *within* the main org-mode folder):

(setq load-path (cons ~/path/to/org-mode/lisp load-path)
(require 'org-install)

 That's it. However, this will not install the latest info files, so
 these will be out of date (corresponding to whatever version of Org
 shipped with your emacs). See  for instructions on installing the
 info files.

 Now, Emacs should load whatever version of Org-mode you put at
 ~/path/to/org-mode. So to update Org in the future, simply delete that
 folder and replace it with a new one (steps 1 and 2 above).

 Footnotes:

 [1] On Windows, this path might look something like
 C:\\path\to\org-mode

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


-- 
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.com/ 
http://www.richardriley.net


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


[Orgmode] Re: [PROPOSAL] Quick and easy installation instructions

2010-09-26 Thread Richard Riley
Dan Davison davi...@stats.ox.ac.uk writes:

 Hi Richard,

 Richard Riley rile...@gmail.com writes:

 Info files are the issue. The addition to the infopath of the new info
 files is frequently an issue too. I say that because emacs info is my
 nemesis : I have never *properly* understood the way dir files work and
 frequently spend ages scratching my head as to where info files should
 really go ;)

 Hmm, well I'm glad it's not just me :) But I think it would be OK if
 we

You have no idea how pleased I am to hear you say that ... I sometimes
wondered if I should go back to notepad ;) When asking the #emacs irc it
seemed I was the only one in the world that constantly had issues. Of
course mentioning Debian immediately saw me get the oh debian cold
shoulder ... ;) LOL.

Good points about Windows too btw. Easy to forget sometimes.

 made it clear that, if they are following the easy route, they should
 use the html/pdf documentation on the website.

 Dan


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


[Orgmode] Re: org-babel - utility to ease chopping src chunks into smaller org entries

2010-09-21 Thread Richard Riley
Christian Moe m...@christianmoe.com writes:

 Hi,

 I'm late to this discussion, but just a lateral thought:

 Would you consider rewriting this as `org-demarcate-block' or similar, 
 to operate on all #+begin_...end blocks, not just src?

 If generalized this function could be equally useful for non-src 
 blocks as well. Example blocks come immediately to mind, but there are 
 non-coding applications too.

 For instance, I store many notes with quotes from various texts, 
 sometimes in fairly long =#+begin_quote= blocks, which I then need to 
 split up when I want to write an extended discussion of a passage, 
 quoting a few lines at a time.

 For those who use verse blocks (I all too seldom have the need...), it 
 may be even more useful.

I think thats a great idea.



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


[Orgmode] Re: Tags in Agenda View

2010-09-19 Thread Richard Riley

org-agenda-remove-tags is a variable defined in `org-agenda.el'.

Scott Randby sran...@gmail.com writes:

 Is there any way to set org-mode so that tags don't appear in the agenda
 view? I've been looking around to see if this can be done, but I haven't
 been able to find anything. If this cannot be done, then I request the
 feature of allowing tags to be excluded from the agenda view.

 Scott Randby

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


-- 
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.com/ 
http://www.richardriley.net


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


  1   2   3   4   >