Re: [Orgmode] Release 6.28

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 7:00 PM, Samuel Wales wrote:


Hi Carsten,

As always this is a great release.

On 2009-06-25, Carsten Dominik  wrote:

This is why `C-x C-s' seems to me the perfect key for this.


Agree.

Also, I think it would be nice to make this "bulk action" feature  
more
consistent with bulk action mechanisms from other packages like  
dired,

buff-menu.el or bookmark-mode.el.


Agree.


You know, I have been agonizing over these bindings,
switching them back and forward.  Obviously, I would like
to have things like in dired and similar programs.

I don't want to switch `d' to `D', no way.  One of the consistent
things in the agenda keymap is that caleandar/diary related keys are
upper case.  `d' and `w' are not negotiable.


OK, how about this?  (Not trying to /negotiate/, but offer another  
poss :).)


Keep archive-related commands together.  Also allow room for the  
future.


aa does what a does now
av does what v does

Keep view-related commands together.  Also keep dwmy consistency.
Also allow room for the future.

vd does what d does now
vw
vm
vy

Keep dired compatibility.

m marks <-- i like this a lot
something reasonable to execute, like x or M
u unmarks
U unmarks all

Possible?  Or still not enough?


These are pretty good ideas.  I do like using v as a prefix key
for changing the view.  I do like vd vw vm vy.  I still want to
keep "d" and "w" as fast access keys for day and week view,
but month and year view are used much less, I am sure, so we
could free "m" in this way.

I don't think we shoud make "a" into a double key, instead
also the current "v" could become a double key under "v".  In fact,
log mode could go there as well if we needed the "l" key at some point.
Other candidates would be clock report, grid, and maybe more.

Opinions?

- Carsten





--
Myalgic encephalomyelitis denialism is causing death and severe  
suffering,
worse than MS.  Conflicts of interest are destroying research.  / 
You/ can
get the disease at any time permanently.  Do science and justice  
matter to

you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm




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


[Orgmode] Re: a small idea for repeating tasks

2009-06-25 Thread Charles Cave


I meant it changes it back to TODO, not REPEAT





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


Re: [Orgmode] org-exp-blocks: what about previewing blocks ?

2009-06-25 Thread Carsten Dominik


On Jun 26, 2009, at 2:59 AM, Eric Schulte wrote:


Carsten Dominik  writes:


On Jun 18, 2009, at 11:32 AM, Nicolas Girard wrote:


2009/6/18 Carsten Dominik 

On Jun 17, 2009, at 2:40 AM, Nicolas Girard wrote:

Hi all,

currently the code in org-exp-blocks is intended for pre-processing
only.
It seems to me like org-mode would gain a very powerful feature, if
blocks could also be previewed in their own buffer, using the same
mechanism as the org-format-latex function.
What do you think ?

I don't see how this could be done in a general way.  I guess you
mean in particular
the graphics blocks like ditaa?

Yes. For any block type bt, if it makes sense, it would be possible
to write such org-block--generate-image(body) that takes the
block as argument and returns the path of the image it produced.

Then:
- for exporting: the existing org-export-blocks-format-
functions would simply call their respective
org-block--generate-
image and work the same ;
- for previewing a block of type : if such org-block--
generate-image exists, call it and display it the same way org-
format-latex does

Wouldn't it be great ?


Yes, it would be.  First you will need to talk Eric Schulte into
splitting the image generation functions into separate functions.
The I could look into the preview functionality.



I recently sent out an email announcement of development on org-babel
which should provide a unified backend for evaluating source-code
contained in org-mode blocks.  If org-exp-blocks is using org-babel  
for
it's source-code evaluation the ability to interactively evaluate  
blocks

will come for free.  This would be my preference rather than
implementing a new code-evaluation schema for org-exp-blocks.

I suppose that this would assume that org-babel is accepted into the
core of org-mode (for it to be a requirement of org-exp-blocks which  
is

now part of the org-mode core).  While this would be my preference, it
is certainly not my decision to make, and I honestly haven't given it
much thought up until this point.


From your post yesterday, without looking closer at org-babel,
it sounded to me that it is still under heavy development,
so maybe it is too early for the core at this moment?

No principal objections, of course.

- Carsten



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


[Orgmode] Re: a small idea for repeating tasks

2009-06-25 Thread Charles Cave
Samuel Wales  gmail.com> writes:

> When you try to mark a repeating task done, org appears to
> change it to the first item in org-todo-keywords.  Many
> people have "TODO" there.  This appears to conflict with other uses of
> that variable, as it also determines sort order and cycle order.

I noticed this as well.  My configuration has:

#+SEQ_TODO: TODO(t) STARTED(s) REPEAT(r) WAITING(w) APPT(a) | DONE(d)
CANCELLED(c) DEFERRED(f)

I set up repeating tasks with a keyword of REPEAT (to exclude from
TODO lists) but as you observed, changing to done resets the keyword
to REPEAT.

Perhaps the functionality of changing to DONE needs to remember
what the state was before changing to DONE?

Charles




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


[Orgmode] a small idea for repeating tasks

2009-06-25 Thread Samuel Wales
When you try to mark a repeating task done, org appears to
change it to the first item in org-todo-keywords.  Many
people have "TODO" there.  This appears to conflict with other uses of
that variable, as it also determines sort order and cycle order.

Perhaps a new variable can contain the todo keyword that
should be used when a repeating task is marked done.

Then it doesn't matter what sort order you use.

Thanks.

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


[Orgmode] Python script to generate a daily diary/journal

2009-06-25 Thread Charles Cave
I wanted to create the equivalent of a yearly diary with
space for recording notes on each day. I used to use 
paper diaries with the week number and day number written
on each page.

I already have a system using Remember to record notes with 
date/time stamps but this script generates a file with a 
specific structure. 

First of all, here is part of the output

* July 2009 
** Wed [2009-07-01 Wed]
Week 27 - Day 182
** Thu [2009-07-02 Thu]
Week 27 - Day 183
** Fri [2009-07-03 Fri]
Week 27 - Day 184
** Sat [2009-07-04 Sat]
Week 27 - Day 185
** Sun [2009-07-05 Sun]
Week 27 - Day 186
** Week 28 - Mon [2009-07-06 Mon]
Week 28 - Day 187

Some useful features of this format:

1. Clicking on a date takes you to the agenda for that day

2. You can search for a particular day number, 
   namely search for "Day 150"

3. You can search for a particular week,
   namely search for "Week 23"

4. The outline can be collapsed to a month. This allows
   included monthly notes under the month headline.

5. Each month shows all the days of the month and each week
   stands out because the headline is deliberately longer.



Here is the script. Run the script and capture the output
in a file, eg diary2009.org


import datetime
# datetime documented at http://docs.python.org/library/datetime.html
# Set yor diary start date on the line below
theday = datetime.date(2009, 1, 1)   
 
for  i in range(0, 380):
iso_info = theday.isocalendar()
weektag = ""
if theday.day == 1:
print "* %s %d " % (theday.strftime("%B"), theday.year)
if theday.weekday() == 0:
weektag = "Week %2d - " % iso_info[1]

print "** %s%-3s [%04d-%02d-%02d %3s]" % (weektag, theday.strftime("%a"),
theday.year, theday.month,
  theday.day, theday.strftime("%a"))
print "Week %s - Day %s" % (iso_info[1], theday.strftime("%j"))
theday = theday + datetime.timedelta(days = 1)










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


Re: [Orgmode] org-plot : interaction problem with gnuplot

2009-06-25 Thread Eric Schulte
d.tc...@voila.fr writes:

> Hi,
>
> I would like to use gnuplot with org-mode tabular function.But I
> haven't managed to use it until now. 
> I would like to submit to you few remarks I have done.
>
> I use GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) on Microsoft Windows XP OS.
> I have installed gnuplot and I can use it with gnuplot-mode. 
>
> I tried to follow the tutorial of Eric Schulte but I didn't manage to get a 
> plot of
> simple example extracted from the tutorial.
>
> I use these data defined in a file orgplot.org :
> #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]"
> | Sede   | Max cites | H-index |
> |+---+-|
> | Chile  |257.72 |   21.39 |
> | Leeds  |165.77 |   19.68 |
> | São Paolo | 71.00 |   11.50 |
> | Stockholm  |134.19 |   14.33 |
> | Morelia|257.56 |   17.67 |
>
>
> When I use org-plot/gnuplot, gnuplot is launched with only the reset command
> and emacs is totally freezed. To get back to emacs, I use \C-g command. 
>

Hmm, it is not clear to me what is happening here.  It is possible that
the problem is somehow related to running on a windows machine, as I
have only personally tested org-plot on linux and Mac OS's.

The only two things I can think of at the moment are
1. the reset command is freezing on your machine, you could test this
   out by starting up a gnuplot comint buffer and entering the "reset"
   command 
2. for some reason the script is not being set to the correct value, you
   could test this by adding the following line

  (message "script is %s" script)

   right after line 263 in lisp/org-plot.el, then reloading that
   function (with C-M-x) and running org-plot-gnuplot again, checking
   the message buffer to see the contents of the script variable.

Sorry I can't be of more help.  If I find time I may re-write org-plot
to use org-babel (see any of my other recent emails for more information
on org-babel) which could eliminate this problem.

Please do let me know the results of looking into the above suggestions,
or if you have any ideas breakthroughs.

Thanks -- Eric

>
> I have checked few things :
>
> - org-plot/gnuplot managed to build a temporay file org-plot with the 
> following 
>   data
>
> "Chile"   257.72  21.39
> "Leeds"   165.77  19.68
> "São Paolo"  71.00   11.50
> "Stockholm"   134.19  14.33
> "Morelia" 257.56  17.67
>

That looks right

> >
> - I suppose that org-plot/gnuplot builds a temporary buffer with the 
> instructions 
>   that will be sent to gnuplot. I checked that *gnuplot* buffer with 
>   gnuplot-show-gnuplot-buffer. There is only the reset command.
>

That makes sense, it is still possible that the entire command is being
constructed, but that Emacs is freezing before anything after the
"reset" line are evaluated and dropped into the *gnuplot* buffer.  The
above `message' statement should resolve whether this is the case.

>
> Do you have any idea to solve this problem ?
>
> Regards
>
> Tchin
>
>
>
>
>
> 
>
> Découvrez Cocoon et Catpower dans notre sélection musicale folk sur Voila 
> http://musiline.voila.fr
>
>
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


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


Re: [Orgmode] org-exp-blocks: what about previewing blocks ?

2009-06-25 Thread Eric Schulte
Carsten Dominik  writes:

> On Jun 18, 2009, at 11:32 AM, Nicolas Girard wrote:
>
>> 2009/6/18 Carsten Dominik 
>>
>> On Jun 17, 2009, at 2:40 AM, Nicolas Girard wrote:
>>
>> Hi all,
>>
>> currently the code in org-exp-blocks is intended for pre-processing
>> only.
>> It seems to me like org-mode would gain a very powerful feature, if
>> blocks could also be previewed in their own buffer, using the same
>> mechanism as the org-format-latex function.
>> What do you think ?
>>
>> I don't see how this could be done in a general way.  I guess you
>> mean in particular
>> the graphics blocks like ditaa?
>>
>> Yes. For any block type bt, if it makes sense, it would be possible
>> to write such org-block--generate-image(body) that takes the
>> block as argument and returns the path of the image it produced.
>>
>> Then:
>> - for exporting: the existing org-export-blocks-format-
>> functions would simply call their respective
>> org-block--generate- 
>> image and work the same ;
>> - for previewing a block of type : if such org-block--
>> generate-image exists, call it and display it the same way org-
>> format-latex does
>>
>> Wouldn't it be great ?
>
> Yes, it would be.  First you will need to talk Eric Schulte into
> splitting the image generation functions into separate functions.
> The I could look into the preview functionality.
>

I recently sent out an email announcement of development on org-babel
which should provide a unified backend for evaluating source-code
contained in org-mode blocks.  If org-exp-blocks is using org-babel for
it's source-code evaluation the ability to interactively evaluate blocks
will come for free.  This would be my preference rather than
implementing a new code-evaluation schema for org-exp-blocks.

I suppose that this would assume that org-babel is accepted into the
core of org-mode (for it to be a requirement of org-exp-blocks which is
now part of the org-mode core).  While this would be my preference, it
is certainly not my decision to make, and I honestly haven't given it
much thought up until this point.

Thanks -- Eric


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


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


Re: [Orgmode] Help with colors for a newbie...

2009-06-25 Thread Mick Davis
Hopefully this comes out right, I apologize if it does not, I've never
actually replied to a mailing list.

Eric asked me to describe my experiences using orgmode on my Nokia 810.

I'm actually replying to this on my N810.  I have had probably a dozen
pocket computers of all sorts over the last dozen years.  Ironically
the very first one I ever had (an HP LX200) and my N810 were both very
close to being ideal.  And both because of the ability to run DOS or
Linux apps natively.

I pretty much bought the N810 to run orgmode.  On the LX200 I ran Lotus
Agenda.  Orgmode on the N810 is just like on any other computer except
the keyboard is (to be frank) pretty bad, but at least it's a physical
keyboard.  The positives way out weight the negatives.  For me the
positives are:
1) It's so small it's always with me.
2) I don't worry about syncing it because when I'm near one of my
laptops or desktops I just ssh into the N810 and run orgmode orgmode
remotely.

The negatives are:
1) The keyboard, when I have to use it in "away mode".
2) A secondary thing that is negative about the keyboard is that it
does not have an Alt key, a pipe symbol key, or a tab key.
3) The only other "negative" is that the colors aren't standard
compared to my other Linux or Windows boxes.

In summary, I REALLY  like this little computer.  It runs Linux, I have
more than enough storage (with an optional memory card), and it is a
"real" pocket sized computer.

Again - thanks Carsten for orgmode!

Mick
> m...@davisres.org writes:
> > I've been using org mode for a little while now but I'm still a
> > newbie to both org mode and emacs.  I run org mode on my Nokia N810
> > as a pocket organizer. 
> 
> Mick,
> 
> can you tell us more about your experiences using org-mode on such a
> device?  Having a pocket sized org-mode organiser really appeals!
> Although I've looked at the N810 for just this purpose, I am probably
> likely to wait for the new stream of devides like the Umid mbook which
> has a slightly larger keyboard.  But any thoughts on this whole topic
> are more than welcome!
> 
> (my long time goal has been to find something to replace my long
> defunct Psion 3)
> 
> eric
> 
> 



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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Bastien
Sebastian Rose  writes:

> Add this at the end of the style sheet:
>
>
> * html .logo-link
> {
> position: absolute;
> top: 10px;
> left: 30px;
> }

I've done this - thanks!

-- 
 Bastien


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


[Orgmode] org 6.28b - html export bug (external link id)

2009-06-25 Thread Stefan Vollmar

Hello,

I have just noticed the following effect with org 6.28b which looks  
like a bug to me:


"Org Link To Org Use ID" is set to: Create if storing link  
interactively and no CUSTOM_ID is present


* Headline
some text [...]

(1) press C-c l inside one section of one org-file (here: after  
"Headline") to store a link with a unique id generated by org


(2) insert the link with C-c C-l into another org-file

Setting Org->Hyperlinks->Literal Links yields:
[[id:AE9224D4-4BFB-4D74-B10B-70D5E8EA1FD0][Headline]]

which looks OK. However, when exporting this second file to HTML, I get:
Headlinea>A1FD0][Headline]]

which really should have been:
Headline
So this looks like something which is hopefully easy to fix.
If the link is placed in the same file, the "literal link" is the  
same, however, in this case HTML is rendered (correctly) as:

Headline
Warm regards,
 Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.de







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


[Orgmode] to wrap or not to wrap (for org-mode)

2009-06-25 Thread Stefan Vollmar

Hello,

this is a topic which might be related to Aquamacs and not limited to  
org-mode so I posted to both lists - sorry for the hassle.


Aquamacs 1.8a, org-mode 6.28b

Aquamacs offers (Options Menu): Hard Word Wrap, Soft Word Wrap and  
Auto Word Wrap. I think Soft Word Wrap is very convenient for writing  
text (for html-export) in org-mode, however, when comparing different  
versions of one document (from a subversion repository), finding  
differences is cumbersome for long-ish paragraphs as the granularity  
for comparisons is typically line-based. Another reason, why Soft Word  
Wrap (in its current incarnation?) maybe is not ideal for org-mode is  
the formatting of plain lists:


- this is a list entry going on going on and going on
  and its second line should start with this type of
  indention

- the next list item

I found that M-q (fill-paragraph-or-region) sometimes will give me the  
proper indention in lists such as the above, and sometimes there is no  
indention. Things really get weired, if lines in a paragraph (with-  
new lines) have leading blanks - no wrap at all, the same effect if a  
"file:myimage.png" ends a paragraph.


Any advice on a suitable mix of wrap options (or other workarounds) is  
appreciated.


Warm regards,
 Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.de







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


[Orgmode] Re: org-protocol and safari

2009-06-25 Thread Sebastian Rose
Matthew Lundin  writes:
> Sebastian Rose  writes:
>
>> Greg Newman  writes:
>
>>> I did try to get it working with Firefox 3.x and it's not working.
>>> I followed the worg instructions (
>>> http://orgmode.org/worg/org-contrib/org-protocol.php ) for FF and tried the
>>> verification links with no luck.
>>> Firefox just screams at me "Firefox doesn't know how to open this address,
>>> because the protocol (org-protocol) isn't associated with any program."
>>> 2.  Any clue why this isn't working?
>>
>>
>> As for FF, the instructions should work. See also:
>>
>>http://kb.mozillazine.org/Register_protocol#Linux_and_Mac
>
> These instructions are incorrect. I can confirm that setting a protocol
> does not work in Firefox on Mac OS - there is a bug that's been around
> for a long time that prevents associating protocols with an application
> and/or path. See this mailing list post:
>
> http://article.gmane.org/gmane.emacs.orgmode/12883
>
> And this bug report:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=471724


Not sure if those informations are the end of all that... On Windows, as
on MAC (I think), protocols are not registered in FF itself too.
I think what we need is a MAC freak, who provides the apple script (or
what ever is used on MAC for such things), that installs the protocol
handler on that system (for FF, Safari, IE Mac version, Acrobat etc.).


Maybe this helps??

http://www.xmldatabases.org/WK/blog/1154_Handling_URL_schemes_in_Cocoa.item

That app would just have to call emacsclient..



> My solution for this bug was to install Arch Linux on my Macbook. ;)


Haha - Not everyone will want to do that I think :)




  Sebastian


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


Re: [Orgmode] Problem with org-info.js?

2009-06-25 Thread Sebastian Rose
Xin Shi  writes:
> Hello Experts,
>
> I'm using org-6.28b and the fresh org-info.js (a few minutes ago). I publish
> org file into HTML with #+INFOJS_OPT: view:info. Just like this page:
> http://orgmode.org/Changes.html
>
> However, the internal links (such as [[#tag-name]]) still does not
> work.

Here it does. I wonder if we could finally help you, if you submitted a
simple test file that reproduces the problem.


As I wrote before, I can use custom IDs in the several documented ways
and they all work for me. Please send a test file so we have a chance to
find out where the problem is. I fear without a chance to reproduce the error,
we can not be of great help.


> When I hover the courser on the link, I can see it is correct. Somehow, the
> javascript just does not follow the link. Put it another way, once get into
> that page, all of the movement for the internal links are governed by
> javascript only, only links like javascript:org_html_manager.go(12) works. I
> don't know if it's possible to fix it.


No. Not in info view. The info-view mode (and folding in plain view) is
done by hiding the other sections. To show a section, the script has to
show it again.


> For example, in the same page:
> http://orgmode.org/Changes.html
>
> although it already have "customed_id"s, such as #v6.27, when you click on
> the Version 6.27, the real link get you to there is
> javascript:org_html_manager.go(29). If one put a link on that page:
> [[#v6.27][Go to Version 6.27]], it might not work.

There is a script like that on the page, but the script changes all
those links to ensure that the script gets noticed if the link is
used. How else should the script show and hide sections as needed??

To see that, just click on the [[#v6.27][Go to Version 6.27]] and then
press `U'. Do you see the URL in the link the script shows on top of the
screen? 

It looks like this:

   http://orgmode.org/Changes.html#v6.27

If you now click this link, you will come to that exact section.



   Sebastian



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


Re: [Orgmode] worth it? -- tiny change of org mode

2009-06-25 Thread goodh...@gmail.com




So Save all files from all buffers is  Ctrl-x s


'C-u C-x s ' is same function without question, right? 
that is the shortcut i want to know. Any one better than this one, since 'u' involve second hand.

It makes my original question stupid. 
Sorry about that.

PS, I am really new to EMACS. org mode is almost the only reason to use it. (i know it is powerful, but dont like to remember a lot of shortcuts)

thanks guys.




Nick Dokos wrote:

  Bastien  wrote:

  
  
"goodh...@gmail.com"  writes:



  When i save all of my file with C+s, I press a lot of y for yes.
  

I think you mean `C-x C-s', right?  

Also note that `C-x s' is M-x save-some-buffers and let you save many
files at once.


  
  
IMO, the OP has gotten into a bad habit that he needs to break out of:
`C-x s' (i.e. save-some-buffers - without a prefix argument) is a
surgical operation.  He seems to want the bulk operation of `C-u C-x s':
the latter saves all modified buffers, no questions asked.

Thanks,
Nick



  





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


[Orgmode] [Beta Release / Development Invitation] Org-Babel --- code evaluation for reproducible-research and literate-programming in org-mode

2009-06-25 Thread Eric Schulte
For the past couple of months I have been working on Org-Babel, with Dan
Davison and (initially) Austin Frank.  Through Org-Babel Org-Mode can
communicate with programming languages.  Code contained in source-code
blocks can be evaluated and data can pass seamlessly between different
programming languages, Org-Mode constructs (tables, file links, example
text) and interactive comint buffers. One part of the project is the
"Library of Babel", which will be an extensible collection of ready-made
and easily-shortcut-callable source-code blocks for handling common
tasks.

Org-Babel provides a unified backend for source-code evaluation from
Org-Mode and with the "Library of Babel" does/will...
- allow seamless passing of data between source-code blocks and other
  org-mode constructs (tables, file links, example text)
- allow chaining of source-code blocks in different languages
- allow calling of source-code blocks from tables
- support literate programming (org-babel-tangle)
- enable reproducible research (multilingual Sweave-like functionality,
  i.e. plots and analysis results united with the code to generate them)
- replace org-exp-blocks enabling interactive evaluation of blocks
- replace org-plot
- replace org-R

We have been intending to share this with the list once development
stabilized, however this has proven to be a moving target as ideas for
new development have continually arisen faster than they have been
implemented.  Given the many recent related threads on list we've
decided now is a good time for an initial beta release and
development/feedback solicitation.

Please find the code at [1] or clone it from [2].  In the base directory
of the repo you will find org-babel.org, a monolithic file which
contains more information than you could ever want to know about the
functionality and development of Org-Babel.  If anyone wants to help
please send patches to Dan or myself, or contact me for commit access to
the repo.

Thanks and Enjoy,
Eric Schulte and Dan Davison

Footnotes: 
[1]  http://github.com/eschulte/org-babel/tree/master

[2]  git://github.com/eschulte/org-babel.git



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


[Orgmode] Re: Release 6.28

2009-06-25 Thread Matthew Lundin
Carsten Dominik  writes:

> Hi,
>
> I have uploaded release 6.28.  Once more I urge you to read
> the release notes carefully, there are many very interesting changes.

Thanks, as ever, for this fantastic update! I'm looking forward to using
the new batch agenda operations. 

- Matt


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


[Orgmode] Re: org-protocol and safari

2009-06-25 Thread Matthew Lundin
Sebastian Rose  writes:

> Greg Newman  writes:

>> I did try to get it working with Firefox 3.x and it's not working.
>> I followed the worg instructions (
>> http://orgmode.org/worg/org-contrib/org-protocol.php ) for FF and tried the
>> verification links with no luck.
>> Firefox just screams at me "Firefox doesn't know how to open this address,
>> because the protocol (org-protocol) isn't associated with any program."
>> 2.  Any clue why this isn't working?
>
>
> As for FF, the instructions should work. See also:
>
>http://kb.mozillazine.org/Register_protocol#Linux_and_Mac

These instructions are incorrect. I can confirm that setting a protocol
does not work in Firefox on Mac OS - there is a bug that's been around
for a long time that prevents associating protocols with an application
and/or path. See this mailing list post:

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

And this bug report:

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

My solution for this bug was to install Arch Linux on my Macbook. ;)

- Matt


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


Re: [Orgmode] worth it? -- tiny change of org mode

2009-06-25 Thread Eric S Fraga
At Thu, 25 Jun 2009 10:57:19 -0400,
Nick Dokos wrote:
> [snip]
> IMO, the OP has gotten into a bad habit that he needs to break out of:
> `C-x s' (i.e. save-some-buffers - without a prefix argument) is a
> surgical operation.  He seems to want the bulk operation of `C-u C-x s':
> the latter saves all modified buffers, no questions asked.

yes but answering ! to the y/n/... prompt that comes up with C-x s
will do the same in the end...


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Eric S Fraga
At Thu, 25 Jun 2009 18:15:24 +0200,
Bastien wrote:
> 
> What about having those dired-like keys with a modifier?
> 
> M-d: mark for deletion
> M-m: mark for operation
> M-u: unmark this entry
> M-x: operate on marked entries

All the others could be reasonable but I think you'd have problems
with this one (M-x) in Emacs...  sorry for pedantic email! ;-)


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


[Orgmode] Problem with org-info.js?

2009-06-25 Thread Xin Shi
Hello Experts,

I'm using org-6.28b and the fresh org-info.js (a few minutes ago). I publish
org file into HTML with #+INFOJS_OPT: view:info. Just like this page:
http://orgmode.org/Changes.html

However, the internal links (such as [[#tag-name]]) still does not work.
When I hover the courser on the link, I can see it is correct. Somehow, the
javascript just does not follow the link. Put it another way, once get into
that page, all of the movement for the internal links are governed by
javascript only, only links like javascript:org_html_manager.go(12) works. I
don't know if it's possible to fix it.

For example, in the same page:
http://orgmode.org/Changes.html

although it already have "customed_id"s, such as #v6.27, when you click on
the Version 6.27, the real link get you to there is
javascript:org_html_manager.go(29). If one put a link on that page:
[[#v6.27][Go to Version 6.27]], it might not work.

Thanks!

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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Xin Shi
Hi Carsten,


On Thu, Jun 25, 2009 at 3:10 AM, Carsten Dominik
wrote:

> Hi,
>
> I have uploaded release 6.28.  Once more I urge you to read
> the release notes carefully, there are many very interesting changes.
>
> Enjoy!
>
> - Carsten
>
> Changes in Version 6.28
> ===
>
> Agenda changes
> ..
>
> Miscellaneous changes
> ~~
>
> 
>
> HTML table export: Assign alternating classes to rows
> ==
>
> The new variable `org-export-table-row-tags' can now be set up in
> a way so that different table lines get special CSS classes
> assigned.  This can be used for example to choose different
> background colors for odd and even lines, respectively.  The
> docstring of the variable contains this example:
>
>  (setq org-export-table-row-tags
>(cons '(if head
>   ""
> (if (= (mod nline 2) 1)
> ""
>   ""))
>  ""))
>
>
> It makes use of the local variables `head' and `nline' which are
> used to check whether the current line is a header line, and whether
> it is an odd or an even line.  Since this is fully programmable,
> you can do other things as well.
>
> This was a request by Xin Shi.
>

I've just tested it. It works great!

Thank you!

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


Re: [Orgmode] Refile error - Kill is not a (set of) trees

2009-06-25 Thread Michael Gilbert
I am a noob - drawn to the alien world of Emacs (from my familiar  
Mac environment) by OrgMode. I am uncertain enough that I don't  
rightly know if this is best described as an OrgMode error or an  
Emacs error. Most likely a human error, I guess.


I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
apple-darwin9.7.0, NS apple-appkit-949.46)
of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
2.0dev. Org-mode 6.21b.


In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on  
a TODO item in a notes file. It goes through the process of  
allowing me to select the destination for the item. But then it  
throws an error - "Kill is not a (set of) trees" etc - every time.  
Doesn't kill the TODO and obviously doesn't yank it to the new  
location.


Are you selecting a region before calling the command? That region  
might be not a valid tree.


I have done this with the point (that's the emacs word for cursor,  
right?) in a TODO item. I have done it with the entire item selected  
as a region.


I am happy to backtrace this or test in whatever way is needed. I knew  
I was getting into something complex here.


-- Michael


Michael C. Gilbert -- m...@gilbert.org

   The Gilbert Center -- http://gilbert.org
   Nonprofit Online News -- http://nonprofitnews.org

   "There can be no joy of life without joy of work." -- Aquinas


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Eric S Fraga
At Thu, 25 Jun 2009 15:58:11 +0200,
Peter Frings wrote:
> On 25 Jun 2009, at 15:19, Bastien wrote:
> > Carsten Dominik  writes:
> > Bulk action
> >> ===
> [snip]
> > I'm a bit disoriented with the new keybinding for `s' -- I got used
> > to it the same way I'm used to `C-x C-s'.
> 
> Same here. It'll take some time to adopt. But...

Funny thing is that I had *finally* got to the point of remembering to
use 's' instead of C-xs!

> > I propose to use [dmuUx] the same way in Org.  We could move the
> > daily,
> > weekly, monthly view to respectively D,W,M.

I would prefer to leave d, w and m as they are; after all, an agenda
view is about days, weeks, months, ...  and so the time based actions
seem most appropriate as simple keys.

> Having said all that, I'll take whatever bindings org-mode ships with;
> you can always change them :-)

Yes, of course!  So, in that context, you can all ignore my comment
above.   However, for newbies, I would argue that the day/week/month
views are more likely to be understood and used than bulk commands, at
least until they cease to be newbies?

Just my 2 cents (euro or dollar) worth.


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


Re: [Orgmode] Re: Using org-mode and git to make a wiki

2009-06-25 Thread Tim O'Callaghan
I've been poking about for something like this and i think the closest
solution is something called wigit (http://el-tramo.be/software/wigit)

I've not had a chance to do anything about it yet, but it is
essentially a "wiki rendering engine php" file, and and a "git backed
wiki markup edting php" file. I'm guessing it would not be much to
re-work the markup rendering engine to render .org files. Of course
the agenda functionality and such is a different kettle of fish...

A thing called quickie might also worth mentioning as a webserver
based org-rendering engine (http://quickie.sourceforge.net/) for those
that have the time to play with it.

Tim.

2009/6/22 Sebastian Rose :
> Bastien  writes:
>> Hi David,
>>
>> Matthew Lundin  writes:
>>
>>> So the good news is: You can already do everything you mention with
>>> org-mode and git. Just clone a bare repository somewhere and allow
>>> others to push and pull from it.
>>
>> I second Matthew on this.  All the wiki-like features you mentioned can
>> be "emulated" with Emacs + Org-mode + a distributed versioning system.
>
>
> Hm - suppose your not at home, but abroad or working somewhere and you
>
> a) have internet access to your files through a browser only,
> b) use one of those cheep hosting packadges out there.
>
> How about editing *.org pages like this:
>
>  - http://www.yvoschaap.com/instantedit/
>    (click anywhere and edit the text inline)
>
>  - http://jqueryui.com/demos/datepicker/
>
>  - http://dojocampus.org/explorer/#Dijit_Inline Edit Box_Auto Save
>
>  - ...
>
> What you need then, is an engine, that displays *.org files as HTML on
> the fly, creates locks as needed (concurrent edits), authorization and
> storage. In adition, one could use emacs + git/mtn/whatever to edit the
> wiki in her favourite editor (org-protocol://open-source://).
>
> I'd love to have a simple run-everywhere solution at hand (my laptop has
> died lately...).
>
>
>
>   Sebastian
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


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


Re: [Orgmode] Orgmode for research information management

2009-06-25 Thread Graham Smith
Shrutarshi

2009/6/24 Shrutarshi Basu :
> I just started using orgmode today to organize the papers that I'm
> collecting for my own research. The way I work is a bit complicated, but I
> like it. I have all my PDFs in a single directory and my notes in a separate
> directory.

That sounds really interesting, thanks. And yes I would like to have a
look at the python script, but I may need to come back and ask for
help in using it.

None the less, this is the sort of set up I would like to try and get working.

Graham


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Sebastian Rose
Bastien  writes:
> Manish  writes:
>
>>   > I'll re-check the IE stuff tonight.
>>
>> You may check the latest screenshots of Org home page at
>> http://www.vyom.org/screenshots
>
> Uh - that's bad in IE.
>
> Sebastian can you update this .css class to make it work ok 
> in IE?
>
> ,
> | .logo-link {
> |   position: fixed;
> |   top: 10px;
> |   left: 30px;
> | }
> `


Add this at the end of the style sheet:


* html .logo-link
{
position: absolute;
top: 10px;
left: 30px;
}



This works in IE 6 on XP. It's the same make up as for the other style
classes that have a fixed position.



(If we do more of those, maybe a second stylesheet is even better. There
are simple tags that only IE reads in the  section and thus can
include an additional stylesheet. That stylesheet could be even more
specific then.)



Best wishes


Sebastian


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Tom Tobin
On Thu, Jun 25, 2009 at 2:10 AM, Carsten
Dominik wrote:
>
> Improvements related to `#+begin' blocks
> ~

These are fantastic changes!  They fix the main warts I've come across
in trying to use org-mode to take development notes, and I'm happy to
see them land.  Thanks!


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


Re: [Orgmode] Orgmode for research information management

2009-06-25 Thread Bastien
Shrutarshi Basu  writes:

> I would like to get org mode to open the PDF links in an external viewer as
> opposed to in Emacs with doc-view as it does now. Any suggestions on how to do
> this?

You can customize `org-file-apps' to your needs.

-- 
 Bastien


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Samuel Wales
Hi Carsten,

As always this is a great release.

On 2009-06-25, Carsten Dominik  wrote:
> This is why `C-x C-s' seems to me the perfect key for this.

Agree.

>> Also, I think it would be nice to make this "bulk action" feature more
>> consistent with bulk action mechanisms from other packages like dired,
>> buff-menu.el or bookmark-mode.el.

Agree.

> You know, I have been agonizing over these bindings,
> switching them back and forward.  Obviously, I would like
> to have things like in dired and similar programs.
>
> I don't want to switch `d' to `D', no way.  One of the consistent
> things in the agenda keymap is that caleandar/diary related keys are
> upper case.  `d' and `w' are not negotiable.

OK, how about this?  (Not trying to /negotiate/, but offer another poss :).)

Keep archive-related commands together.  Also allow room for the future.

aa does what a does now
av does what v does

Keep view-related commands together.  Also keep dwmy consistency.
Also allow room for the future.

vd does what d does now
vw
vm
vy

Keep dired compatibility.

m marks <-- i like this a lot
something reasonable to execute, like x or M
u unmarks
U unmarks all

Possible?  Or still not enough?

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Bastien
Manish  writes:

>   > I'll re-check the IE stuff tonight.
>
> You may check the latest screenshots of Org home page at
> http://www.vyom.org/screenshots

Uh - that's bad in IE.

Sebastian can you update this .css class to make it work ok 
in IE?

,
| .logo-link {
|   position: fixed;
|   top: 10px;
|   left: 30px;
| }
`

Thanks!

-- 
 Bastien


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Eddward DeVilla
On Thu, Jun 25, 2009 at 8:59 AM, Sebastian Rose wrote:
> Thank's Carsten!
>
>
> Carsten Dominik  writes:
>> Improvements related to `#+begin' blocks
>> ~
>>
>> Indented blocks
>> 
>
>> Indented tables
>> 
>
>
> Yeeess! This is sooo good! These are my favourites! They solves
> indentation problems in the text following such blocks too!
>
> We now can just type ahead, no need to indent the following text by hand
> again!
>

This message is one of the reasons org-mode deserves to win the
contest over at SourceForge.  It seems the community inspires the
developers and the developers then inspire the community.

Edd


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


Re: [Orgmode] Re: unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Greg Newman
Glad to hear you guys worked this out.  I agree with Carsten that the image
itself is/was the preferred method.I don't agree that transparent images are
a problem but that's for a different topic/thread.  It looks great on my end
guys!

On Thu, Jun 25, 2009 at 11:10 AM, Carsten Dominik  wrote:

>
> On Jun 25, 2009, at 5:02 PM, Bernt Hansen wrote:
>
>  Carsten Dominik  writes:
>>
>>  On Jun 25, 2009, at 4:28 PM, Sebastian Rose wrote:
>>>
>>>  Bastien  writes:

> Carsten Dominik  writes:
>
>  What would be wrong with pulling the image out of the
>> background and making it directly clickable?
>>
>
> None, I've done this.
>

>>> Great.  I am also more comfortable with this because invisible
>>> clicking areas are notoriously used by fishing sites to make users
>>> believe they click one thing, and in fact they click another.
>>>
>>> At least this is how I interpret what I hear.  Lets try to keep
>>> things transparent.
>>>
>> ^^
>> you mean opaque ;)
>>
>
> Great catch!
>
> - Carsten
>
>
>
>> It's the invisible clicky things that are the problem :)
>>
>> -Bernt
>>
>>
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Release 6.28

2009-06-25 Thread Bastien
Peter Frings  writes:

> Of course, if the perception of the Agenda's content and behavior is
> sufficiently different from that of dired, the keybindings do not have
> to be the same. Maybe it's worth looking at how other packages (like
> gnus and friends) are treating their summaries?

FWIW, Gnus has a completely different way of handling marks, 
using # and other keybindings...  but I wouldn't take this as
an example of some *core* emacs package like buff-menu.el and
bookmark-mode... 

-- 
 Bastien


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Bastien
Carsten Dominik  writes:

>> I'm a bit disoriented with the new keybinding for `s' -- I got used
>> to it the same way I'm used to `C-x C-s'.
>
> This is why `C-x C-s' seems to me the perfect key for this.

I was not aware `C-x C-s' is also available from the agenda, great.

> You know, I have been agonizing over these bindings,
> switching them back and forward.  Obviously, I would like
> to have things like in dired and similar programs.
>
> I don't want to switch `d' to `D', no way.  One of the consistent things
> in the agenda keymap is that caleandar/diary related keys are  upper
> case.  `d' and `w' are not negotiable.

What about having those dired-like keys with a modifier?

M-d: mark for deletion
M-m: mark for operation
M-u: unmark this entry
M-x: operate on marked entries
M-D: delete marked entries
M-U: unmark all

This way, no need to change anything from the current keybindings 
just add these new ones.  Having a modifier is also safer for M-x 
and reflect the fact that we are in a special operating mode in 
the agenda...

(By no means I want to be fussy about the current keybindings, it 
just I thought it was worth discussing this before we got used to
the default keybindings.)

-- 
 Bastien


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


Re: [Orgmode] worth it? -- tiny change of org mode

2009-06-25 Thread goodh...@gmail.com

sorry it is C-x s.


Carsten Dominik wrote:


On Jun 24, 2009, at 10:20 PM, Nick Dokos wrote:


goodh...@gmail.com  wrote:


When i save all of my file with C+s, I press a lot of y for yes.


C-s starts incremental search.  What key are you really using?


when it is in agenda view, if i press 2 more y,  it will bring me the
year view with some time consumed.



When in agenda view, pressing 's' saves all org-mode buffers, no
questions asked.  No need to wear down your 'y' key :-)


Actually, the "s" key for this purpose will go away, I need it for 
something

else.  Please start using `C-x C-s' for this purpose.

- Carsten



HTH,
Nick




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






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


Re: [Orgmode] Orgmode for research information management

2009-06-25 Thread Shrutarshi Basu
I've uploaded the script to http://ww2.lafayette.edu/~basus/paperorg
No comments, but it should be fairly self-explanatory. Keeping pdfs, bibtex
and org notes files connected was a problem that I solved with some low-tech
organization. My pdfs, orgs and bibtex keys all have the same format:

-

That way I can have the script easily pull together the different
information sources because they have the same unique identifier (without
the extension). This approach means that I don't see the paper title or any
other information in the file manager. I basically use Emacs as the
paper-organization interface, which is really nice since I can use tags and
the like to separate out the papers while keeping them in one place if I
need to find them.

I have one such setup for each research project, though in theory I could
just use one large org-file as a complete paper database. But I feel that
would be putting all my eggs in one basket, so that's not something I'd be
comfortable doing.

I would like to get org mode to open the PDF links in an external viewer as
opposed to in Emacs with doc-view as it does now. Any suggestions on how to
do this?

Thanks,
Basu

--
Shrutarshi Basu
Computer Science,
Electrical and Computer Engineering,
Lafayette College,
The ByteBaker -- http://bytebaker.com


On Thu, Jun 25, 2009 at 11:27 AM, Alexander  wrote:

> Hi,
>
> I've recently started using org-mode to organize reading notes and to
> write papers, and I'd be interested in this script too. One thing that
> I have a little trouble with is connecting these three pieces of
> information for each reference: bibtex key, pdf file with actual
> article, and org file with notes.
>
> Best,
>
> Alexander
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 4:57 PM, Bernt Hansen wrote:


Carsten Dominik  writes:


With `d' and `w' in place, `m' and `y' are consistent, logical.
However, I don't believe anyone uses monthly views, I am sure
that no-one uses yearly views, right?  So I will negotiate over
`m', i someone can propose a viable alternative that makes sense.


I use monthly view... monthly :)  To get my clock report usage for the
file over the past month.  I restrict the agenda to the single file  
when
doing this monthly view to get clock time just for this project and  
that

could possibly be done with a dynamic block.

I've been enjoying not having my generated clock reports in my git
history though and the agenda monthly view is perfect for that.


Nobody is talking about abandoning monthly view - only about putting  
it on a different key.


- Carsten



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


Re: [Orgmode] Orgmode for research information management

2009-06-25 Thread Alexander
Hi,

I've recently started using org-mode to organize reading notes and to
write papers, and I'd be interested in this script too. One thing that
I have a little trouble with is connecting these three pieces of
information for each reference: bibtex key, pdf file with actual
article, and org file with notes.

Best,

Alexander

On 6/25/09, Greg Newman  wrote:
> Hey Basu.  I'd love to see this python script.  I'm a complete n00b with
> latex so i'm trying to get up to speed on it fast; however all my research
> on this has led me to believe this is the perfect setup and your description
> of your flow is confirming it more.
> Thanks,
>
>
> *Greg Newman*
>
> http://20seven.org
>
> twitter: 20seven
>
> On Wed, Jun 24, 2009 at 5:27 PM, Shrutarshi Basu  wrote:
>
>> I just started using orgmode today to organize the papers that I'm
>> collecting for my own research. The way I work is a bit complicated, but I
>> like it. I have all my PDFs in a single directory and my notes in a
>> separate
>> directory. These notes are extensive outlines and notes for each paper.
>> Corresponding files are named the same in each directory to make it easy
>> to
>> relate the paper to the notes. I also have a bibtex file with citation
>> info
>> for each file. I then run a Python script over the two directories and the
>> bibtex file which generates an org file containing links to the PDF and
>> notes and some of the bibtex data (authors and publication). This file is
>> my
>> main interface to all my research info. I use Org-mode tags to do some
>> simple categorization and also store short notes. If you like, I could
>> give
>> you my Python script. Some of the file paths are hard coded in, but
>> they're
>> easy to change. You can also view PDFs directly in Emacs.
>>
>> Basu
>>
>> --
>> Shrutarshi Basu
>> Computer Science,
>> Electrical and Computer Engineering,
>> Lafayette College,
>> The ByteBaker -- http://bytebaker.com
>>
>> ___
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>


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


[Orgmode] Re: unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 5:02 PM, Bernt Hansen wrote:


Carsten Dominik  writes:


On Jun 25, 2009, at 4:28 PM, Sebastian Rose wrote:


Bastien  writes:

Carsten Dominik  writes:


What would be wrong with pulling the image out of the
background and making it directly clickable?


None, I've done this.


Great.  I am also more comfortable with this because invisible
clicking areas are notoriously used by fishing sites to make users
believe they click one thing, and in fact they click another.

At least this is how I interpret what I hear.  Lets try to keep
things transparent.

 ^^
 you mean opaque ;)


Great catch!

- Carsten



It's the invisible clicky things that are the problem :)

-Bernt





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


[Orgmode] Re: unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Bernt Hansen
Carsten Dominik  writes:

> On Jun 25, 2009, at 4:28 PM, Sebastian Rose wrote:
>
>> Bastien  writes:
>>> Carsten Dominik  writes:
>>>
 What would be wrong with pulling the image out of the
 background and making it directly clickable?
>>>
>>> None, I've done this.
>
> Great.  I am also more comfortable with this because invisible
> clicking areas are notoriously used by fishing sites to make users
> believe they click one thing, and in fact they click another.
>
> At least this is how I interpret what I hear.  Lets try to keep
> things transparent.
  ^^
  you mean opaque ;)

It's the invisible clicky things that are the problem :)

-Bernt



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


Re: [Orgmode] worth it? -- tiny change of org mode

2009-06-25 Thread Nick Dokos
Bastien  wrote:

> "goodh...@gmail.com"  writes:
> 
> > When i save all of my file with C+s, I press a lot of y for yes.
> 
> I think you mean `C-x C-s', right?  
> 
> Also note that `C-x s' is M-x save-some-buffers and let you save many
> files at once.
> 

IMO, the OP has gotten into a bad habit that he needs to break out of:
`C-x s' (i.e. save-some-buffers - without a prefix argument) is a
surgical operation.  He seems to want the bulk operation of `C-u C-x s':
the latter saves all modified buffers, no questions asked.

Thanks,
Nick




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


[Orgmode] Re: Release 6.28

2009-06-25 Thread Bernt Hansen
Carsten Dominik  writes:

> With `d' and `w' in place, `m' and `y' are consistent, logical.
> However, I don't believe anyone uses monthly views, I am sure
> that no-one uses yearly views, right?  So I will negotiate over
> `m', i someone can propose a viable alternative that makes sense.

I use monthly view... monthly :)  To get my clock report usage for the
file over the past month.  I restrict the agenda to the single file when
doing this monthly view to get clock time just for this project and that
could possibly be done with a dynamic block.

I've been enjoying not having my generated clock reports in my git
history though and the agenda monthly view is perfect for that.

-Bernt


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread peter . frings


On 25 Jun 2009, at 16:24, Carsten Dominik wrote:



On Jun 25, 2009, at 3:19 PM, Bastien wrote:


Carsten Dominik  writes:


Bulk action





With `d' and `w' in place, `m' and `y' are consistent, logical.   
However, I don't believe anyone uses monthly views, I am sure

that no-one uses yearly views, right?  So I will negotiate over
`m', i someone can propose a viable alternative that makes sense.


With 'd' and 'w' in place, I would keep the 'm', even if it is less  
used (especially for less used interactions, consistency is a must).




I strongly hesitate to use "x" for action, because it has
been "exit" for so many years, and because I don't want
anyone to execute this command by accident


Through, but for many new [org-mode] users it wont be a problem.  
AFAIK, `x' in dired requires a confirmation, so you've got an escape  
hatch. The `x' could be remapped to `Q' (I believe gnus makes the same  
distinction between q and Q).


A possible way out it that we can switch between two sets of  
keybindings, a 'compatibility' one and a 'dired'-like one. Default  
would be the compatibility set.



Sometimes one spends much more time thinking about such things than  
actually implementing stuff... :-(  But in the end, it is usually  
worth it.


Cheers,
Peter.


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Manish
  On Thu, Jun 25, 2009 at 7:58 PM, Sebastian Rose wrote:
  > Bastien  writes:
  >> Carsten Dominik  writes:
  >>
  >>> What would be wrong with pulling the image out of the
  >>> background and making it directly clickable?
  >>
  >> None, I've done this.
  >
  > :-D
  >
  > good idea.. :)
  >
  > I'll re-check the IE stuff tonight.

You may check the latest screenshots of Org home page at
http://www.vyom.org/screenshots

-- 
Manish


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 4:28 PM, Sebastian Rose wrote:


Bastien  writes:

Carsten Dominik  writes:


What would be wrong with pulling the image out of the
background and making it directly clickable?


None, I've done this.


Great.  I am also more comfortable with this because invisible  
clicking areas are notoriously used by fishing sites to make users

believe they click one thing, and in fact they click another.

At least this is how I interpret what I hear.  Lets try to keep
things transparent.

- Carsten



:-D

good idea.. :)

I'll re-check the IE stuff tonight.



Sebastian





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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Sebastian Rose
Bastien  writes:
> Carsten Dominik  writes:
>
>> What would be wrong with pulling the image out of the
>> background and making it directly clickable?
>
> None, I've done this.  

:-D

good idea.. :)

I'll re-check the IE stuff tonight.



Sebastian



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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 3:19 PM, Bastien wrote:


Carsten Dominik  writes:


Bulk action


You can now use the `s' key to select entries in the agenda.
When one or more entries have been selected, the `B' key will
execute an action on all selected entries.  I believe this bulk
action makes mainly sense for the commands that require answering
interactive prompts.  So far the supported actions are

- Refile all selected entries to a single destination
- Archive all selected entries
- Set the TODO state of all selected entries, bypassing any
  blocking or note-taking.
- Add or remove a tag to/from all selected entries

We can add more actions, if you convince me they make sense.


I'm a bit disoriented with the new keybinding for `s' -- I got used
to it the same way I'm used to `C-x C-s'.


This is why `C-x C-s' seems to me the perfect key for this.




Also, I think it would be nice to make this "bulk action" feature more
consistent with bulk action mechanisms from other packages like dired,
buff-menu.el or bookmark-mode.el.


You know, I have been agonizing over these bindings,
switching them back and forward.  Obviously, I would like
to have things like in dired and similar programs.

I don't want to switch `d' to `D', no way.  One of the consistent  
things in the agenda keymap is that caleandar/diary related keys are  
upper case.  `d' and `w' are not negotiable.


With `d' and `w' in place, `m' and `y' are consistent, logical.   
However, I don't believe anyone uses monthly views, I am sure

that no-one uses yearly views, right?  So I will negotiate over
`m', i someone can propose a viable alternative that makes sense.

u and U are free, so this will be good and we should use this.

I strongly hesitate to use "x" for action, because it has
been "exit" for so many years, and because I don't want
anyone to execute this command by accident

- Carsten



Here is how the keys are mapped on various modes:

| key | dired  & bookmark-mode & buff-menu | Org   |
|-++---|
| m   | mark   | month view|
| u   | unmark |   |
| d   | mark for deletion  | day view  |
| D   | delete marked  | include diary |
| x   | perform actions| exit agenda   |
| U   | unmark (only in dired) | [unset]   |

I propose to use [dmuUx] the same way in Org.  We could move the  
daily,

weekly, monthly view to respectively D,W,M.

This would discard the diary inclusion (currently on 'D') and the
display of the Moon's phases (currently on 'M') -- not sure whether a
lot of people use this anyway, and these commands can still find key
bindings.

I like 'U' from dired, it's very convenient to be able to delete all
marks at once (I which this could be implemented in buff-menu.el and
bookmark-mode as well...)

Carsten, what do you think?

--
Bastien




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


Re: [Orgmode] Latex macros

2009-06-25 Thread Sebastian Rose
hello world  writes:
> Dear Carsten Dominik and Colleagues,
>
> searching for a scientific note-taking program I have discovered
> your fantastic org-mode package. I use latex and usually
> code a lot of formulas by having a lot of macros defined, e.g.,
>
> \newcommand{\mgut}{\ensuremath{M_\mathrm{GUT}}}
>
> Thus, e.g.: "At \mgut\ gauge couplings unify in supersymmetry."
>
> In this regard, it would be great if one could use a
> customized latex preamble (additional usepackage-commands) which
> might be needed for the defined macros.


I also use the #+LATEX_HEADER in my *.org files and lots of self-defined
commands. It's almost a wonder how Org-modes copes with all those LaTeX
code in those files.


This is my customization (M-x customize-group RET org-export-latex RET):

   Org Export Latex Default Class:  article

   Org Export Latex Classes:

  LaTeX class: article

  LaTeX header:
  % BEGIN My Article Defaults
  \input{/home/sebastian/develop/lib/latex/header-org-article-pdf.tex}
  \input{/home/sebastian/develop/lib/latex/code.tex}
  % END My Article Defaults


Just ensure, to have the packages Org needs for export included in your
latex headers.
To do so, you could append you settings to the ones found there:

   \documentclass[11pt,a4paper]{article}
   \usepackage[utf8]{inputenc}
   \usepackage[T1]{fontenc}
   \usepackage{graphicx}
   \usepackage{longtable}
   % BEGIN My Article Defaults
   \input{/home/sebastian/develop/lib/latex/header-org-article-pdf.tex}
   \input{/home/sebastian/develop/lib/latex/code.tex}
   % END My Article Defaults




Or simply put this into your org file:

#+LATEX_HEADER: \input{path/to/my/special/header.tex}



  Sebastian


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


[Orgmode] Re: Orgmodeorg-export-generic update

2009-06-25 Thread Wes Hardaker
> On Wed, 24 Jun 2009 18:00:27 +0200, Michaël Parienti 
>  said:

>> Details and the patch can be found at:
>> 
>> http://www.hardakers.net/code/org-mode/

MP> I think it is a great feature! 

MP> Will this patch be included into org-mode?

I'm glad you've enjoyed the work.  It's actually just been included as a
contributed package in 6.28, which was just released.  In fact the copy
in there is newer than the copy in the web page above (my bad).

See the following worg documentation for details on using it now.  It
has an easier to use system for defining your own export definitions and
binding keys to your definitions:

  http://orgmode.org/worg/org-contrib/org-export-generic.php

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


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Peter Frings


On 25 Jun 2009, at 15:19, Bastien wrote:


Carsten Dominik  writes:
Bulk action

===

[snip]

I'm a bit disoriented with the new keybinding for `s' -- I got used
to it the same way I'm used to `C-x C-s'.


Same here. It'll take some time to adopt. But...


Also, I think it would be nice to make this "bulk action" feature more
consistent with bulk action mechanisms from other packages like dired,
buff-menu.el or bookmark-mode.el.


I also support this request.


Here is how the keys are mapped on various modes:

| key | dired  & bookmark-mode & buff-menu | Org   |
|-++---|

[snip]

| D   | delete marked  | include diary |

[snip]

I propose to use [dmuUx] the same way in Org.  We could move the  
daily,

weekly, monthly view to respectively D,W,M.


Mapping the D to 'daily view' would not make it the same as in dired.

Of course, if the perception of the Agenda's content and behavior is  
sufficiently different from that of dired, the keybindings do not have  
to be the same. Maybe it's worth looking at how other packages (like  
gnus and friends) are treating their summaries?



Having said all that, I'll take whatever bindings org-mode ships with;  
you can always change them :-)


Cheers,
Peter.


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Sebastian Rose
Thank's Carsten!


Carsten Dominik  writes:
> Improvements related to `#+begin' blocks
> ~
>
> Indented blocks
> 

> Indented tables
> 


Yeeess! This is sooo good! These are my favourites! They solves
indentation problems in the text following such blocks too!

We now can just type ahead, no need to indent the following text by hand
again!





Best regards

Sebastian


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


Re: [Orgmode] Moving headlines and content.

2009-06-25 Thread Paul Holcomb
On Thu, Jun 25, 2009 at 09:13:01AM +0200, Carsten Dominik wrote:
> 
> Bulk action is now implemented in the agenda (org-mode 6.28,
> jeleased a few minutes ago).  I don't think we need it in the
> outline - if you go through to mark many entries with a tag
> or so, you can then use an agenda search to find the marked
> entries and execute the bulk action from the agenda.

 Awesome.  Thanks for all the work here.

-- 
Paul Holcomb   *pholcomb\@  cpoint  net*
GPG key fingerprint  2B62 05AE EE74 845A 705F  D716 28C4 FE1C 088F CFAC


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Bastien
Carsten Dominik  writes:

> Bulk action
> 
>
> You can now use the `s' key to select entries in the agenda.
> When one or more entries have been selected, the `B' key will
> execute an action on all selected entries.  I believe this bulk
> action makes mainly sense for the commands that require answering
> interactive prompts.  So far the supported actions are
>
>  - Refile all selected entries to a single destination
>  - Archive all selected entries
>  - Set the TODO state of all selected entries, bypassing any
>blocking or note-taking.
>  - Add or remove a tag to/from all selected entries
>
> We can add more actions, if you convince me they make sense.

I'm a bit disoriented with the new keybinding for `s' -- I got used 
to it the same way I'm used to `C-x C-s'.  

Also, I think it would be nice to make this "bulk action" feature more
consistent with bulk action mechanisms from other packages like dired,
buff-menu.el or bookmark-mode.el.

Here is how the keys are mapped on various modes:

| key | dired  & bookmark-mode & buff-menu | Org   |
|-++---|
| m   | mark   | month view|
| u   | unmark |   |
| d   | mark for deletion  | day view  |
| D   | delete marked  | include diary |
| x   | perform actions| exit agenda   |
| U   | unmark (only in dired) | [unset]   |

I propose to use [dmuUx] the same way in Org.  We could move the daily,
weekly, monthly view to respectively D,W,M.

This would discard the diary inclusion (currently on 'D') and the
display of the Moon's phases (currently on 'M') -- not sure whether a
lot of people use this anyway, and these commands can still find key
bindings. 

I like 'U' from dired, it's very convenient to be able to delete all
marks at once (I which this could be implemented in buff-menu.el and
bookmark-mode as well...)

Carsten, what do you think?

-- 
 Bastien


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


Re: [Orgmode] Release 6.28

2009-06-25 Thread Bastien
Thanks for this release!

Carsten Dominik  writes:

> - If you have an `Effort' property defined, its value is also
>   shown in the mode line, and you can configure `org-clock-sound'
>   to get an alert when your planned time for a particular item is
>   over.

I love this new feature.  

Perhaps it would make sense to have an option `org-clock-default-effort'
(or `org-clock-default-timer') for tasks that have no Effort property?

-- 
 Bastien


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-25 Thread Bastien
Carsten Dominik  writes:

> What would be wrong with pulling the image out of the
> background and making it directly clickable?

None, I've done this.  

-- 
 Bastien


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


Re: [Orgmode] Latex macros

2009-06-25 Thread Bastien
Hello Josef,

hello world  writes:

> In this regard, it would be great if one could use a
> customized latex preamble (additional usepackage-commands) which
> might be needed for the defined macros.

Have a look at the variables `org-format-latex-header' and
`org-export-latex-packages-alist', it might help.

-- 
 Bastien


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


Re: [Orgmode] Latex macros

2009-06-25 Thread Mikael Fornius

I use the #+LATEX_HEADER in the beginning lines of my .org-file, like
this:

#+LATEX_HEADER: \usepackage{amsmath}
#+LATEX_HEADER: \newcommand{\cparen}[1]{\left\{ #1 \right\}}

-- 
Mikael Fornius


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


Re: [Orgmode] Orgmode for research information management

2009-06-25 Thread Greg Newman
Hey Basu.  I'd love to see this python script.  I'm a complete n00b with
latex so i'm trying to get up to speed on it fast; however all my research
on this has led me to believe this is the perfect setup and your description
of your flow is confirming it more.
Thanks,


*Greg Newman*

http://20seven.org

twitter: 20seven

On Wed, Jun 24, 2009 at 5:27 PM, Shrutarshi Basu  wrote:

> I just started using orgmode today to organize the papers that I'm
> collecting for my own research. The way I work is a bit complicated, but I
> like it. I have all my PDFs in a single directory and my notes in a separate
> directory. These notes are extensive outlines and notes for each paper.
> Corresponding files are named the same in each directory to make it easy to
> relate the paper to the notes. I also have a bibtex file with citation info
> for each file. I then run a Python script over the two directories and the
> bibtex file which generates an org file containing links to the PDF and
> notes and some of the bibtex data (authors and publication). This file is my
> main interface to all my research info. I use Org-mode tags to do some
> simple categorization and also store short notes. If you like, I could give
> you my Python script. Some of the file paths are hard coded in, but they're
> easy to change. You can also view PDFs directly in Emacs.
>
> Basu
>
> --
> Shrutarshi Basu
> Computer Science,
> Electrical and Computer Engineering,
> Lafayette College,
> The ByteBaker -- http://bytebaker.com
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Latex macros

2009-06-25 Thread hello world
Dear Carsten Dominik and Colleagues,

searching for a scientific note-taking program I have discovered
your fantastic org-mode package. I use latex and usually
code a lot of formulas by having a lot of macros defined, e.g.,

\newcommand{\mgut}{\ensuremath{M_\mathrm{GUT}}}

Thus, e.g.: "At \mgut\ gauge couplings unify in supersymmetry."

In this regard, it would be great if one could use a
customized latex preamble (additional usepackage-commands) which
might be needed for the defined macros.

Since it is all about speed in note-taking, I think such a support
would be really appreciated...

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


[Orgmode] Orgmode for research information management

2009-06-25 Thread Shrutarshi Basu
I just started using orgmode today to organize the papers that I'm
collecting for my own research. The way I work is a bit complicated, but I
like it. I have all my PDFs in a single directory and my notes in a separate
directory. These notes are extensive outlines and notes for each paper.
Corresponding files are named the same in each directory to make it easy to
relate the paper to the notes. I also have a bibtex file with citation info
for each file. I then run a Python script over the two directories and the
bibtex file which generates an org file containing links to the PDF and
notes and some of the bibtex data (authors and publication). This file is my
main interface to all my research info. I use Org-mode tags to do some
simple categorization and also store short notes. If you like, I could give
you my Python script. Some of the file paths are hard coded in, but they're
easy to change. You can also view PDFs directly in Emacs.

Basu

--
Shrutarshi Basu
Computer Science,
Electrical and Computer Engineering,
Lafayette College,
The ByteBaker -- http://bytebaker.com
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [ANN] org-icons.el

2009-06-25 Thread Richard Riley


Could someone provide a little more detail on how to use this please? I
can see one has to clone the git repo, but then what? The readme just
says to "patch the org mode code". Which version of the org code? What
is the org.el in the org-icons lisp dir? How does one patch?

Thanks for any help,

r.



Carsten Dominik  writes:

> On Jun 25, 2009, at 1:28 AM, Daniel Clemente wrote:
>
>>> So, what do you think ? Is this a direction you'd want org-mode
>>> to go ? Please, share your feedback & suggestions !
>>
>>  I think that the main interest of this will not only be to make a
>> buffer pretty, but to show information in ways which are easier or
>> more comfortable to understand.
>>  For instance:
>> - showing completion status of a task: icons could form a progress
>> bar, like [..], green if >50%, red elsewhere
>
> Nice.
>
>> - marking the tasks with a color from a gradient which represents
>> something; for instance: the more recently you have clocked a task,
>> the redder (hotter) it is
>
> Well, not so useful, I think.
>
>> - the amount of children/text a collapsed tree has (a big lack I have
>> noticed in org-mode). The icon could try to offer a
>> mini-representation of whether the tree has little content, some
>> content, or much content
>
> Very useful, but expensive to implement.
>
>> - in agenda view, an „only icons“ view would be able to show much
>> information in little space. For instance, the distribution of
>> projects/categories/tags in a month
>>
>>
>> Just some ideas.
>
> I am beginning to see that this could in fact be useful,
> thanks for your post.
>
> - Carsten
>
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

-- 


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


Re: [Orgmode] [ANN] org-icons.el

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 1:28 AM, Daniel Clemente wrote:


So, what do you think ? Is this a direction you'd want org-mode
to go ? Please, share your feedback & suggestions !


 I think that the main interest of this will not only be to make a
buffer pretty, but to show information in ways which are easier or
more comfortable to understand.
 For instance:
- showing completion status of a task: icons could form a progress
bar, like [..], green if >50%, red elsewhere


Nice.


- marking the tasks with a color from a gradient which represents
something; for instance: the more recently you have clocked a task,
the redder (hotter) it is


Well, not so useful, I think.


- the amount of children/text a collapsed tree has (a big lack I have
noticed in org-mode). The icon could try to offer a
mini-representation of whether the tree has little content, some
content, or much content


Very useful, but expensive to implement.


- in agenda view, an „only icons“ view would be able to show much
information in little space. For instance, the distribution of
projects/categories/tags in a month


Just some ideas.


I am beginning to see that this could in fact be useful,
thanks for your post.

- Carsten



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


[Orgmode] Re: Release 6.28

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 9:10 AM, Carsten Dominik wrote:


Changes in Version 6.28
===

Bulk action


You can now use the `s' key to select entries in the agenda.
When one or more entries have been selected, the `B' key will
execute an action on all selected entries.  I believe this bulk
action makes mainly sense for the commands that require answering
interactive prompts.  So far the supported actions are

- Refile all selected entries to a single destination
- Archive all selected entries
- Set the TODO state of all selected entries, bypassing any
  blocking or note-taking.
- Add or remove a tag to/from all selected entries

We can add more actions, if you convince me they make sense.


Note that this new command is not yet tested well and has
destructive potential.  Please test it under appropriate
security measures, i.e. backups or git-protected files.

- Carsten



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


Re: [Orgmode] Moving headlines and content.

2009-06-25 Thread Carsten Dominik


On Apr 8, 2009, at 7:52 PM, Paul Holcomb wrote:


On Tue, Apr 07, 2009 at 01:28:24PM -0700, Samuel Wales wrote:

Not that I know of.

It might be possible, however, to (1) make a command that tags each
entry with :MARK: (similar to marking in dired -- you don't need  
this,

but would add completeness) (2) make a command that tags /matching/
items (you need this) and (3) make a command that moves all marked
entries (using org-refile).

Thus, it could be a generic marking mechanism like dired, and it  
could

work for the outline in addition to the agenda.

Not that that helps you :).


Both of these would be killer features IMHO.  This type of UI in mutt
(tagging messages) is great for dealing with large amounts of items.

I tried to figure out the best way to do this a couple months ago,
but it was a little over my head for my level of elisp proficiency.
Ideally, I wanted to show all of the data about to be moved in a
separate frame, as there is totally the possibility of destroying a
large amount of data in this way.


Bulk action is now implemented in the agenda (org-mode 6.28,
jeleased a few minutes ago).  I don't think we need it in the
outline - if you go through to mark many entries with a tag
or so, you can then use an agenda search to find the marked
entries and execute the bulk action from the agenda.

- Carsten


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


[Orgmode] Release 6.28

2009-06-25 Thread Carsten Dominik

Hi,

I have uploaded release 6.28.  Once more I urge you to read
the release notes carefully, there are many very interesting changes.

Enjoy!

- Carsten

Changes in Version 6.28
===

Agenda changes
~~~

Refiling now works from the agenda
===

The command `C-c C-w' can be executed to refile an entry shown in
the agenda.  After the command, the entry will no longer be shown
in the agenda.  It it is still in an agenda file, refresh the
agenda to bring it up from it's new context.

Bulk action


You can now use the `s' key to select entries in the agenda.
When one or more entries have been selected, the `B' key will
execute an action on all selected entries.  I believe this bulk
action makes mainly sense for the commands that require answering
interactive prompts.  So far the supported actions are

 - Refile all selected entries to a single destination
 - Archive all selected entries
 - Set the TODO state of all selected entries, bypassing any
   blocking or note-taking.
 - Add or remove a tag to/from all selected entries

We can add more actions, if you convince me they make sense.

Improvements related to `#+begin' blocks
~

Indented blocks


`#+begin_ ... +#end_...' blocks may now be indented along
with the structure of your document.  So the `#+' lines no
longer need to start in column 0, these lines can be, along
with the block contents, indented arbitrarily.  Org supports
this during editing with "C-c '", and now finally treats them
consistently during export across all backends.  This makes
these blocks work much better with plain list structure
editing, and it also looks better if you like to indent text
under outline headings.  For example:

  *** This is some headline
  #+begin_example
  here we have an example
  #+end_example

  - a plain list
- a sublist item
  - a second sublist item

ORG-CENTER-START
centering within the plain list item
ORG-CENTER-END

#+begin_example
 This example does terminate the sublist,
 the indentation of the #+begin line counts.
#+end_example

  - but the top level plain lists continues here


From now on, the indentation of such a block decides whether
it is part of a plain list item or if it is actually
terminating the list.  This was so far inconsistent between
editing behavior and export, now it is consistent.

The content of the block, i.e. the text between the #+ lines
gets an extra indentation of two space characters, which I
find visually pleasing.  You can change the amount of extra
indentation using the variable
`org-src-content-indentation'.

This was a pretty complex change, achieved in many small
steps over the last couple of weeks.  It cleans up one of the
more annoying inconsistencies in Org.  I hope it will work,
but I am sure you will let me know if not.

Indented tables


Also tables can be fully indented now.  What is new here is
that the `#+TBLFM' line, and also things like `#+caption',
`#+label', `#+attr_...' etc can be indented along with the
table.  Again, this makes the look of the document better and
allows for proper plain list structure editing.

Protected blocks
=

Some `#+begin_ ... +#end_...' blocks contain text that should not
be processed like normal Org-mode text.  `example' and `src'
block fall into this class, and so do `ditaa' blocks, for
example.  The content in such blocks is now properly fontified in
a single face (called `org-block').  This was a frequently
requested feature.  The list of blocks that should be protected
from normal Org-mode fontification is defined in the variable
`org-protecting-blocks'.  Modules defining new blocks should add
to this variable when needed.  `org-exp-blocks.el' does this
already.

Hide and show the contents of blocks
=

Blocks can now be folded and unfolded with `TAB'.  If you
want to have all blocks folded on startup, customize
`org-hide-block-startup' or use the `#+STARTUP' options
`hideblocks' or `showblocks' to overrule this variable on a
per-file basis.

Thanks to Eric Schulte for a patch to this effect.

Moved Eric Schulte's org-exp-blocks.el into the core
=

This seems to be getting a lot of use now, so it is now part of
the core and loaded automatically.  This package can now also be
used to define new blocks.  Customize the variable
`org-export-blocks' or use the function
`org-export-blocks-add-block'.


New and updated contributed modules


org-export-generic.el is now a contributed package.


This new module allows users to export an Org page to any type of
output by constructing the output using a list of prefixes,
format specifications and suffixes for the various types of org
data (h