[Orgmode] How to use capture to start relative timer? And some other capture issues...

2010-10-07 Thread Alan E. Davis
Org Capture is better than remember in almost all respects.  I have made
some notes on confusing differences, and other issues, for later.  Today,
I'll be more specific about something I'd like to do: it seems to me that
the capture interface would be useful for starting a relative timer,
immediately putting one into the buffer to start entering notes from the
get-go.

I thought about using the notion of a function to open the file and start
the timer; however, I haven't gotten my head around the idea of using a
function as a target for capture.  Are there any example functions around
for study?

Another issue, maybe a difference from org-remember, catches me off guard
almost every time I use capture: the subtle, or maybe not-so-subtle
difference that since one is already in the file---and with the relevant
parameter, the file is not even narrowed---is it even possible to capture to
a file, and leave that file open normally, and not as a capture buffer?
Probably I am missing something here...

I like alot the arrangement of the initial capture screen, with multiple key
entrypoints to culusters of functions: I use it for several template
groups.  Is it possible to sort the templates in the *Org Select* capture
menu buffer, by key strokes in alphabetical order?  I know if I did not use
the customize interface to do this, it was easy to sort them in the .emacs
file.   WIth the ease of entry from Capture directly, though, the customize
approach is really convenient.  I do notice I cannot enter line breaks into
the Template section of a customize entry, though.

Thank you for this tool.  I use it all the time.

Alan Davis
___
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] How to handle titles for latex export, multiple subtrees in a single file?

2010-10-20 Thread Alan E. Davis
I am keeping large files, with multiple subtrees, in accordance with
recommendations/suggestions.  A common roadblock for he has been that a
#+TITLE directive in a file is not local to a subtree, at least so far as I
have figured out.

What is a best practice for keeping multiple subtrees with individual titles
for export?

Thank you for any suggestions,

Alan
___
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: Bastien is going to become the maintainer of Org mode in January

2010-11-18 Thread Alan E. Davis
I am a keen user of org-mode, whose uses for which seem never to become well
defined: as soon as I think I understand it, it morphs, or the horizons of
my understanding recede from view.   No amount of praise can adequately pay
tribute to the massively ingenious organic entity that is org-mode.  This
has been the work conceived of a rare intellect with unusually broad and
creative vision, and well executed.  One such as myself, who dabbles
unafraid in the world of minds far better schooled and far more brilliant
than my own, finds the use for such tools as this an expedient, towards his
own purposes, as he tries almost hopelessly to fathom its mysteries--and
Carsten Dominick, seemingly a man of uncommon intellectual clarity and
humanity, the renaissance man, perhaps has from time to time led me both
willingly and patiently through it's brambles and tangles and lighted the
way.  How you have done this remains a humbling mystery.

For both the personal advice and assistance, and the broad vision that has
nurtured this system, I would offer my humble thanks.   I for one felt
relieved that you intend to stay involved.

And to Bastien, who has also on a number of occasions patiently offered his
insights, I also offer a "thank you," and a kind hope for your stewardship
of this project.

Would that I could offer some more substantial to org-mode that mostly a
spectator's praise and appreciation.   Perhaps in time.


Alan Davis
___
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: Questions about org-capture templates and usage

2010-12-05 Thread Alan E. Davis
I am at much greater ease due to these two messages.  They solve several of
my befuddlements about capture.

On Mon, Dec 6, 2010 at 1:59 PM, Bernt Hansen  wrote:

> I visit newly captured items all the time.  If you capture something (I
> have C-M-r bound to org-capture) and store it with C-c C-c you can visit
> it immediately with a double prefix  C-u C-u C-M-r as stated in the
> org-capture docstring:
>

This is exactly what I was looking for in the manual.  In fact, I think my
comment about the manual was partly a response to being unable to find this
item in the   manual, when I know I had seen reference to it somewhere.
Maybe in my request for items to be included in the manual, the docstrings
in org-capture.el would be scanned.  I missed this on my cursory search of
that file.  I will search for it myself, and work on (believe it or not)
org-help.org, that I use as a helpmate.

I have org-capture assigned to C-c, so C-u C-u C-c c goes straight to the
last stored item.  Perfect.


> |
> | (org-capture &optional GOTO KEYS)
> |
>
I THINK I understand that GOTO here refers to the prefix C-u ?  And C-u C-u
circumvents this?


> | When called interactively with a C-u prefix argument GOTO, don't capture
> | anything, just go to the file/headline where the selected template
> | stores its notes.  With a double prefix argument C-u C-u, go to the last
> note
>
> ^^
> | stored.
>  ^^
>

This is it! What I was looking for.

I think, thought it may seem crazy, I would like to still have a way to
specify in the template that one would remain with the newly captured item
in its environment, after finalizing.   Just the same, thinking about that
it's an indirect buffer, it makes more sense how it works now...

Awe, heck, these two methods solve my problem well enough...

|
> | When called with a `C-0' (zero) prefix, insert a template at point.
> |
>

This is a great feature...


> | Lisp programs can set KEYS to a string associated with a template in
> | `org-capture-templates'.  In this case, interactive selection will be
> | bypassed.
> `
>

This is something I'd like to see an example of.

Thank you again, and again,

Alan Davis

 "Pollution is nothing but the resources we are not harvesting. We allow
> them to disperse because we've been ignorant of their value."
>
>--- R. Buckminster Fuller
>
___
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] Cryptic error message(s)

2010-12-16 Thread Alan E. Davis
I have stumbled over error messages in org mode a few times.  The following
message, or permutations thereof, comes up frequently, but each time I am
confused about what it means (albeit I have solved it again today):

  "The kill is not a (set of) tree(s) - please use  to yank
anyway".

In each case this message was received because of a nit, in creating a
capture template.  Each time, I am consternated for a while, before I
realize this.  And each time, I am still consternated until I figure out
what the error is.

What does this mean, "use  to yank anyway." ?   I haven't been
able to do anything of the kind.  I think.

What does it mean, "the kill is not a (set of) tree(s)" ?

I have sometimes noticed that the problem is a missing asterisk at the start
of a line in the template string.  Not sure, though, whether that is what is
meant.

May I humbly request that these error messages be rewritten to reflect the
nature of the error in a manner that is understandable by a user?  If I
understood them well, I would be willing to suggest other text.  On the
other hand, I must say that I don't know how all the non-ENglish speaking
programmers do it.  Amazing.


This is not the only error message I have tripped over.  Perhaps one could
develop a list of error messages, with explanations for each...  How could I
grep for error messages in the lisp source, to at least get a list of
messages?  Is this something useful to do?

Thank you very much,

Alan Davis

 "Pollution is nothing but the resources we are not harvesting. We allow
them to disperse because we've been ignorant of their value."

   --- R. Buckminster Fuller
___
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] Cryptic error message(s)

2010-12-16 Thread Alan E. Davis
 Thank you again, Carsten.

On Fri, Dec 17, 2010 at 1:53 AM, Carsten Dominik
wrote:

> S-insertkey is an unfortunate result of a key lookup for the
> command yank, which is normally bound to `C-y', but in your setup
> also to a key S-insertkey.
>
> This doesn't look like any set up I have specifically made.  I don't even
know what S-insertkey means.


>  Does this help?  I have just pushed a change which should
> be give a better error message in this case.  Now it should say:
>
> "Template is not a valid Org entry or tree"
>
> Better?
>

I think so.  I don't think it would be fair to expect a self-diagnostic
message here.

Thank you yet again!

Alan
___
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] Page numbering in manual

2010-12-21 Thread Alan E. Davis
Is it possible to tweak page numbering in the manual, with each chapter
having it's separate sequence?

The manual is fairly extensive.  If a chapter has changed even in a minor
way, the numbering of subsequent chapters is also affected.  With
chapter-by-chapter page numbering, once could keep the manual in a binder,
and swap out chapters one by one, as needed.

Is there a way to do this with a simple latex tweak?  I can't remember this.

Alan Davis


 "Pollution is nothing but the resources we are not harvesting. We allow
them to disperse because we've been ignorant of their value."

   --- R. Buckminster Fuller
___
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: Page numbering in manual

2010-12-22 Thread Alan E. Davis
Updating this to, I hope, clarify my request.  I see that to convert to
LaTeX is a chore, and don't know whether the file would be amenable to
tweaks, like using the chappg LaTeX package.

Texinfo is a black box for me.  I am guessing that the best way to do this
is to convert the Texinfo source into LaTeX.

 The numbering scheme I am proposing would be at a highest section, or
chapter, level:

A-1; C-26 , etc.

OR

1.1
4.5
etc.

Then if one had the manual as hardcopy, in a binder, he could print out the
chapter in question, and the TOC.  Maybe some manner of dictionary

Alan
 "Pollution is nothing but the resources we are not harvesting. We allow
them to disperse because we've been ignorant of their value."

   --- R. Buckminster Fuller



On Wed, Dec 22, 2010 at 6:54 AM, Alan E. Davis  wrote:

> Is it possible to tweak page numbering in the manual, with each chapter
> having it's separate sequence?
>
> The manual is fairly extensive.  If a chapter has changed even in a minor
> way, the numbering of subsequent chapters is also affected.  With
> chapter-by-chapter page numbering, once could keep the manual in a binder,
> and swap out chapters one by one, as needed.
>
> Is there a way to do this with a simple latex tweak?  I can't remember
> this.
>
> Alan Davis
>
>
>  "Pollution is nothing but the resources we are not harvesting. We allow
> them to disperse because we've been ignorant of their value."
>
>--- R. Buckminster Fuller
>
>
___
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: Worg needs some reorganizing

2011-01-15 Thread Alan E. Davis
I would like to add a comment about the sidebar concept.  If I understand
correctly, there is something like a sidebar already, or an index.  There
are links, but they jump to the SAME PAGE.   It would be helpful, at least
to me, were these links to point to the pages already pointed to at their
targets.

My 2¢ worth.

Alan


 "Pollution is nothing but the resources we are not harvesting. We allow
them to disperse because we've been ignorant of their value."

   --- R. Buckminster Fuller
___
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] Feature Request: Assort a subtree randomly ?

2011-01-16 Thread Alan E. Davis
Let's say I have a subtree, of review materials, for example.  I would like
to randomize the order of the elements.  I would like to have the option to
randomize the subtree in some different ways:

1.  sort the members of one subtree that is a list, randomly.
2.  sort all the headlines, randomly.
3.  sort the subtrees randomly, and the lists within each sub-subtree
also randomly, ad nauseum.

I have written a sort routine in elisp.  It's been many long years ago, but
I remember that the basis support for writing sorts is pretty general.

Suppose I had time to do this.  What would I need to look at?

Of course, my need is today, to sort review materials for my students in
random order.

Alan Davis


 "Pollution is nothing but the resources we are not harvesting. We allow
them to disperse because we've been ignorant of their value."

   --- R. Buckminster Fuller
___
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: A simpler remember architecture

2009-10-05 Thread Alan E. Davis
 I've been watching this thread closely.  At this point I want to jump in.
I like the ideas that have been posted here so far, about a different way of
organizing remember in org.  I'm not completely certain, but it seems that
part of what was asked for earlier is included in org-remember already, when
the template posts to the file directly, bypassing the remember buffer
altogether.  I don't remember why this was unfavorable to me, but in many
ways it is useful.  Many of the ideas of the OP and others about the use of
tags, etc., would be more than useful.

Another point, although somewhat off topic, draws my attention:

On Tue, Oct 6, 2009 at 9:41 AM, Daniel Clemente  wrote:

>
>  Actually what I would find useful is a task dispatcher for Emacs: a way to
> go to common tasks with a few keys.
>  For instance: C-c C-x C-g would open your customized dispatcher, a dialog
> similar to C-u C-c C-x C-j (clock recent task) but which shows you
> predefined tasks, like:
>
> [1] answer phone
> [b] breakfast
> [p] procrastinate!
> [n] think about next task to do
> [2] work on file2 a bit more
>
>
I agree with this, but I'm not sure how I would want it implemented.

I am currently using a file I have called "general.org" with links to
various projects.  Following an idea from Sacha Chua, the following is in
the init file:

   :(defun general ()
   :  (interactive)
   :  (find-file "~/org/General.org"))

I use it to store links to various projects.  It has often occurred to me
how handy it would be if this were integrated better with org-mode.  I would
like to be able to start defining a project, with a command that did the
following (at least):

   1.  interactively ask for a project name and make an org file or
directory (optionally)
   2.  insert a link either in some list like general.org
   3.  define (perhaps suggesting a default) key binding
   4.  perhaps setting up logging or other automatic processes (clocking?)

For now, however, general.org in my setup solves my problem.  One more
reason I like having my ~/org hierarchy under git control on three machines.

 Alan Davis
___
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] Source Code blocks in arbitrary languages?

2009-10-20 Thread Alan E. Davis
I am interested in the graphing language "gri", for which there does exist a
"gri-mode.el".  Is it possible to use Source Code blocks in Org-Mode with
arbitrary languages for which there is an emacs mode?  For example,
postscript?

Profuse thanks for this great package.

Alan
___
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] How to Strip TODO headword and refile as a note

2009-10-24 Thread Alan E. Davis
I had a TODO item to go to the bank.  At the bank I had some issues to
discuss with a representative.  Now I'm home, I am going over my agenda
"todo" listing, and see this item, with a priority of "A".

I stumbled momentarily, realizing I not only want to archive this, get it
out of my agenda and todo file, I also want to file a note about the issues,
and what I learned about them.

I can archive the TODO, and then file a todo, or refile the todo ...  hope
people understand what I'm asking.  It's trivial, a simple elisp function to
strip TODO and maybe tags.

Thought someone might have an idea about this.

I apologize if this is something that has come up before.

Alan
___
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: contact management in org-mode?

2009-10-29 Thread Alan E. Davis
I'll mention EDB, emacs data base, here, even though I haven't used it for
several years.

http://gnuvola.org/software/edb/

It's available on many GNU/Linux distros, as a package.  It is for Gentoo,
and perhaps for Debian/Ubuntu as well.

It is extensible/programmable, so that various interfaces could perhaps be
possible.  I spent a little time years ago setting up an Addresses database,
with output formats to automatically set up a LaTeX header for each marked
address.  It was a bit klunky, to be sure, but it worked REALLY well, and it
worked the way I wanted it to.

It's an old piece of software.  I tried it lately with my address DB, with
Emacs 23, so it may just still work fine.

In the examples directory, above, are a rolodex database, possibly somewhat
similar to what I had going, and some other examples.   There has been some
relatively recent effort into maintaining EDB.

I write this not as a programmer, but a user, just to point to something
that has worked well for me in the past.

Alan Davis
___
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] Best way to implement Keywords feature

2009-11-05 Thread Alan E. Davis
In some cases, a single headword entry can relate to a large number of
topics.  I have tried dealing with longer tag lists: automatic adjustment of
tags column (on this list a little utility was posted:
org-adjust-tags-column-reset-tags.  I THINK that a keyword list may allow
more freedom to cross-index, especially if it is easy to use.

Can someone suggest a way to implement a keywording system, perhaps with a
custom agenda search?  Or have others dealt with this issue in innovative
ways?

I would appreciate any ideas.

Alan Davis
___
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] Best way to implement Keywords feature

2009-11-05 Thread Alan E. Davis
On Thu, Nov 5, 2009 at 10:58 PM, Samuel Wales  wrote:

>
>
> One such solution is to use header-line-format to display olpath.
>
> I don't understand this.

In scientific/academic publications, one often sees a list of Keywords in
the topmatter.  That being said, I am not certain how people use them.
There are often a dozen or more.

I have had to throttle back my use of tags, to avoid long header lines.
Also, tags are limited to head lines, only.

I would like to implement a secondary list of keywords, that might be
searched in an agenda search.  I don't know whether properties would be
appropriate, although I understand properties can slow the system down.
Don't know.   Probably something similar to properties.

So, for example, if I am taking notes and indexing video clips or PDFs, a
larger number of keywords would enable me to retrieve them in a less
structured, free form manner.  A custom agenda search would be perfect.

Probably barking up a tree.  Probably just better use of tags would solve
this problem.   Keywords, though, could be implemented outside of
headlines.  Maybe I should just use more headlines.

Thanks.

Alan
___
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] How to add entries to an org file, not diary

2009-11-09 Thread Alan E. Davis
>
> At Mon, 9 Nov 2009 22:09:23 +0100,
> Carsten Dominik  wrote:
>
> > Right now I have implemented
> >
> > i d   for day entries,
> > i b   for blocks,
> > i a   for anniversaries (which will be collected under a special
> >heading "Anniversaries" in your `diary.org'
> > i j   To jump to the cursor date in the date tree
> >
> > What else would be useful?
>

Thank you for this:

I don't remember how this came to pass.  I think after writing email to Ed
Reingold, author of the various emacs calendar tools, and eventually, this
came about.  I've thought ever since, that it needed polishing, but I used
it innumerable times over the years.  Perhaps this would be useful for what
you are implementing, or something like it.  I'd like to have it.  This was
certainly  done up by Ed Reingold originally, but I've lost track (it was in
the pre-org-mode time).

The polishing part comes from the inconvenience of typing individually the
numbers of days ahead of time one wanted to be reminded.  I don't know how
to make it better.  Maybe org-agenda already does this pretty well.  Out of
laziness, I used to type something like this, for numbers of days to remind:
"30 27 25 22 20 17 14 12 9 7 5 4 3 2 1".  Possibly a hard-coded sequence
would be just as good, and it could skip weekends, or other inconvenient
days, be sure to hit fridays, or whatever.

Possibly this is all redundant in the context of org-mode.  I guess it is,
but I'll send it along anyway.

Anyway, here it is.  I have it bound to "i e" in the calendar map.


;;;Begin
"diary-insert-event-with-reminder";;;8<;;
;; Trivially, this function is covered by the GPL.  It "borrows liberally"
(TM)
;; from the diary-lib package of Ed Reingold.
;; Alan Davis   15 May 1998.  Saipan, NMI.
;;
;; When  invoked,  this function prompts for  a string of numbers
;; representing the number of days in advance you would like to be
;; reminded.  Enter a sequence of numbers, like '1 2 3 4 7 8 20'.
;; Subsequently, the function will query for a description of the event.
;; You may optionally type a description of the event; whether or not
;; you do not do so, after you type ,  will find yourself in
;; your .diary file at the newly inserted line.
;;
;; You may wish to place the following line in your .emacs:
;;  (require 'diary-insert-event-with-reminder)

(defun diary-insert-event-with-reminder (daylist event arg)
  "Insert a unique event, on a single date as given by point.  A
prefix arg will make the entry nonmarking.  When invoked, this
function will interactively ask for the number of days in advance that
you'd like to be reminded, and a name for the event."
  (interactive "sDays in advance to remind: \nsWhat's the event? \nP")
  (require 'diary-lib)
  (let* ((calendar-date-display-form
  (if european-calendar-style
  '(day " " month " " year)
'(month " " day " " year
(make-diary-entry
 (format "%s(diary-remind '(diary-date %s) '(%s)) %s"
 sexp-diary-entry-symbol
 (calendar-date-string (calendar-cursor-to-date t) nil t) daylist
event)
 arg)))
;;;END>8;

To bind to keys "ie" in calendar-mode-map:

(setq calendar-load-hook
 '(lambda ()
;; Keybinding
(define-key calendar-mode-map
  "ie"
  'diary-insert-event-with-reminder)
))
;;;

I haven't gotten my feet wet with this new implementation, but will be doing
so,  I'm not sure how this would fit in with what you have implemented.

Alan Davis
___
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] Different behavior of elipses depends on whether file is open

2009-11-12 Thread Alan E. Davis
   I just inserted a headline using this template:
   ("System" ?s "* %U %(system-name):: %?%&"
   "~/org/System.Journal.org" "Incoming")

   I typed a long headline, and thought "Oh, well, I'll just go to the
   end of the line with my special Ctl-e (stops before elipses/tags.)
   Then I hit , expecting to bypass the elipses.  Had I not
   been schooled in the elipses issue of org-mode, I would have
   deleted the elipses, as extraneous text.

   But point PASSED the elipses on the same line, to the end of the
   line.

   This seems wrong to me.  Not sure what should happen.  If I enter a
   tab,  at the same place would indeed pass on to the next
   line.

Now, I tried it again, with several conditions: short line, long
headline, text below, no text entered beyond the headline (no
 while editing the remember buffer).  Now I don't get this
at all.  No elipses at all.

Is this because the file is already open?  How can I achieve
consistency in this behavior?  I tried this.  The first time I enter a
headline, this behavior is observed.  The second time, again a long line,
there are no elipses.
___
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] Request for guidance: Export ONLY headlines matching occur search?

2009-12-21 Thread Alan E. Davis
   I am keeping notes in a single file about several topics.  I can
   isolate headlines about these topics/products, by an agenda occur
   search: C-a a /  .   I have made a template to print a
   memo about these products, but it seems I must copy the headlines
   by hand to a register or file, then massage them into shape.

   I would like to do something like export a PDF of all
   entries/subtrees within the region that have the product's key
   phrase in the heading.   Is it possible to selectively export only
   the subtrees identified by the Occur agenda search, automagically?
   Since my notes start with an inactive time stamp, I would like to
   strip these out as well.  I think I can easily write an elisp
   function to do this, but perhaps org-mode already has such
   capabilities built in, a regexp for an inactive time stamp.

   Perhaps I'll spend some time over Christmas break on this.  It's
   nice to easily make a memo, but it would be a big help to make it
   less laborious.

In case there is interest, here are the template and the fragments
   for the head and tail of the memo.

   Remember template:
 ("Memo"   ?Z "%[~/org/MEMO/Top.2.memo]  %?\n %i  %&
%[~/org/MEMO/Bot.memo]"
   "~/or/MEMO/Memo.tex" top)

   The required files Top.2.memo and Bot.memo are attached.  Top.2.memo can
be edited with any hard wired recipient and from lines.  The class file,
also included, is edited to change the header on the memo.  All three must
be in the directory ~/org/MEMO.  I am using the sloppy approach of
running LaTeX on the long Memo.tex file to which the current memo has been
pre-pended.  Only the topmost memo is printed.

This approach works but it is currently a kluge, unpolished. The
enhancements I have requested would make it possible to instantly fire off a
memo about a specific product.
  *

*

Alan Davis
%% 
%% This is file `memo.cls',
%% \CharacterTable
%%  {Upper-case\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits\0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \! Double quote  \" Hash (number) \#
%%   Dollar\$ Percent   \% Ampersand \&
%%   Acute accent  \' Left paren\( Right paren   \)
%%   Asterisk  \* Plus  \+ Comma \,
%%   Minus \- Point \. Solidus   \/
%%   Colon \: Semicolon \; Less than \<
%%   Equals\= Greater than  \> Question mark \?
%%   Commercial at \@ Left bracket  \[ Backslash \\
%%   Right bracket \] Circumflex\^ Underscore\_
%%   Grave accent  \` Left brace\{ Vertical bar  \|
%%   Right brace   \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\ProvidesClass{memo}
  [1999/02/09 v1.2z
   Standard LaTeX document class]
\typeout{Document Class `memo' by Ray Seyfarth based on letter style, 9/2000. }
\typeout{  }

\newcomma...@ptsize{}
\DeclareOption{a4paper}
   {\setlength\paperheight {297mm}%
\setlength\paperwidth  {210mm}}
\DeclareOption{a5paper}
   {\setlength\paperheight {210mm}%
\setlength\paperwidth  {148mm}}
\DeclareOption{b5paper}
   {\setlength\paperheight {250mm}%
\setlength\paperwidth  {176mm}}
\DeclareOption{letterpaper}
   {\setlength\paperheight {11in}%
\setlength\paperwidth  {8.5in}}
\DeclareOption{legalpaper}
   {\setlength\paperheight {14in}%
\setlength\paperwidth  {8.5in}}
\DeclareOption{executivepaper}
   {\setlength\paperheight {10.5in}%
\setlength\paperwidth  {7.25in}}
\DeclareOption{landscape}
   {\setleng...@tempdima   {\paperheight}%
\setlength\paperheight {\paperwidth}%
\setlength\paperwidth  {...@tempdima}}
\declareoption{10pt}{\renewcomma...@ptsize{0}}
\declareoption{11pt}{\renewcomma...@ptsize{1}}
\declareoption{12pt}{\renewcomma...@ptsize{2}}
\...@compatibility
  \declareoption{twoside...@latexerr{no `twoside' layout for memo}%
   \...@eha}
\else
  \declareoption{twoside...@twosidetrue  \...@mparswitchtrue}
\fi
\declareoption{oneside...@twosidefalse \...@mparswitchfalse}
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
\DeclareOption{final}{\setlength\overfullrule{0pt}}
\DeclareOption{leqno}{\input{leqno.clo}}
\DeclareOption{fleqn}{\input{fleqn.clo}}
\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
\ProcessOptions
\input{siz...@ptsize.clo}
\setlength\lineskip{...@}
\setlength\normallineskip{...@}
\renewcommand\baselinestretch{}
\setlength\parskip{0.7em}
\setlength\parindent{...@}
\...@lowpenalty   51
\...@medpenalty  151
\...@highpenalty 301
\setlength\headheight{1...@}
\setlength\headsep   {4...@}
\setlength\footskip{2...@}
\...@compatibility
  \setlength\textwidth{36...@}
  \setlength\textheight{50...@}
\fi
\...@compatibility
  \setlength\oddsidemargin{53pt}
  \setlength\evensidemargin{53pt}
  \setlength\marginparwidth{90p

[Orgmode] Re: Request for guidance: Export ONLY headlines matching occur search?

2009-12-21 Thread Alan E. Davis
For what it's worth, I forgot to attach one of the files.  In case this is
of interest to others, it is attached herewith.

All I really need to know is how to export ONLY the headlines that are
returned by an agenda "occur" search (C-a / ) as a PDF.

With apologies.

Alan

On Mon, Dec 21, 2009 at 7:48 PM, Alan E. Davis  wrote:

>I am keeping notes in a single file about several topics.  I can
>isolate headlines about these topics/products, by an agenda occur
>search: C-a a /  .   I have made a template to print a
>memo about these products, but it seems I must copy the headlines
>by hand to a register or file, then massage them into shape.
>
>I would like to do something like export a PDF of all
>entries/subtrees within the region that have the product's key
>phrase in the heading.   Is it possible to selectively export only
>the subtrees identified by the Occur agenda search, automagically?
>Since my notes start with an inactive time stamp, I would like to
>strip these out as well.  I think I can easily write an elisp
>function to do this, but perhaps org-mode already has such
>capabilities built in, a regexp for an inactive time stamp.
>
>Perhaps I'll spend some time over Christmas break on this.  It's
>nice to easily make a memo, but it would be a big help to make it
>less laborious.
>
> In case there is interest, here are the template and the fragments
>for the head and tail of the memo.
>
>Remember template:
>  ("Memo"   ?Z "%[~/org/MEMO/Top.2.memo]  %?\n %i  %&
> %[~/org/MEMO/Bot.memo]"
>"~/or/MEMO/Memo.tex" top)
>
>The required files Top.2.memo and Bot.memo are attached.  Top.2.memo can
> be edited with any hard wired recipient and from lines.  The class file,
> also included, is edited to change the header on the memo.  All three must
> be in the directory ~/org/MEMO.  I am using the sloppy approach of
> running LaTeX on the long Memo.tex file to which the current memo has been
> pre-pended.  Only the topmost memo is printed.
>
> This approach works but it is currently a kluge, unpolished. The
> enhancements I have requested would make it possible to instantly fire off a
> memo about a specific product.
>   *
>
> *
>
> Alan Davis
>
>


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


[Orgmode] Re: Request for guidance: Export ONLY headlines matching occur search?

2009-12-21 Thread Alan E. Davis
Another error, this time to the memo generating remember template.  With yet
another apology:


 ("Memo"   ?Z "%[~/org/MEMO/Top.2.memo]  %?\n %i  %&
%[~/org/MEMO/Bot.memo]"
   "~/org/MEMO/Memo.tex" top)
   

Alan

On Tue, Dec 22, 2009 at 9:39 AM, Alan E. Davis  wrote:

> For what it's worth, I forgot to attach one of the files.  In case this is
> of interest to others, it is attached herewith.
>
> All I really need to know is how to export ONLY the headlines that are
> returned by an agenda "occur" search (C-a / ) as a PDF.
>
> With apologies.
>
> Alan
>
> On Mon, Dec 21, 2009 at 7:48 PM, Alan E. Davis  wrote:
>
>>I am keeping notes in a single file about several topics.  I can
>>isolate headlines about these topics/products, by an agenda occur
>>search: C-a a /  .   I have made a template to print a
>>memo about these products, but it seems I must copy the headlines
>>by hand to a register or file, then massage them into shape.
>>
>>I would like to do something like export a PDF of all
>>entries/subtrees within the region that have the product's key
>>phrase in the heading.   Is it possible to selectively export only
>>the subtrees identified by the Occur agenda search, automagically?
>>Since my notes start with an inactive time stamp, I would like to
>>strip these out as well.  I think I can easily write an elisp
>>function to do this, but perhaps org-mode already has such
>>capabilities built in, a regexp for an inactive time stamp.
>>
>>Perhaps I'll spend some time over Christmas break on this.  It's
>>nice to easily make a memo, but it would be a big help to make it
>>less laborious.
>>
>> In case there is interest, here are the template and the fragments
>>for the head and tail of the memo.
>>
>>Remember template:
>>  ("Memo"   ?Z "%[~/org/MEMO/Top.2.memo]  %?\n %i  %&
>> %[~/org/MEMO/Bot.memo]"
>>"~/or/MEMO/Memo.tex" top)
>>
>>The required files Top.2.memo and Bot.memo are attached.  Top.2.memo
>> can be edited with any hard wired recipient and from lines.  The class file,
>> also included, is edited to change the header on the memo.  All three must
>> be in the directory ~/org/MEMO.  I am using the sloppy approach of
>> running LaTeX on the long Memo.tex file to which the current memo has been
>> pre-pended.  Only the topmost memo is printed.
>>
>> This approach works but it is currently a kluge, unpolished. The
>> enhancements I have requested would make it possible to instantly fire off a
>> memo about a specific product.
>>   *
>>
>> *
>>
>> Alan Davis
>>
>>
>
___
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] Isolate export parameters in file from currently exporting subtree

2010-01-19 Thread Alan E. Davis
In one large file, I would like to keep a large number of individual
subtrees, each for independent export to LaTeX.  Is it possible to isolate
the extra parameters needed for a subtree isolated from the rest of the
file?

For example:
* Handouts
** Plants
#+TITLE: 125 General Principles of Plant Reproduction
#+AUTHOR:
#+DATE:
#+LaTeX_HEADER: \usepackage{fullpage}

I will have to either archive each subtree or delete these parameters if
they are not to influence the export of another subtree.

I am thinking about Selective Export.  To make things simpler, can I put
these items into a property drawer?

Thank you once again for Org-Mode.  In the last many, many months I have
become more and more dependent upon Org Mode for a diverse range of work.


Alan Davis
___
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: How to combine the analogue (Moleskine) world with digital (org-mode) world ?

2010-01-25 Thread Alan E. Davis
On Tue, Jan 26, 2010 at 4:39 AM, Austin Frank wrote:

> On Sun, Jan 24 2010, Torsten Wagner wrote:
> notebook as I process them.  Nowadays I keep a cheaper flimsier notebook
> in my back pocket at all times [1].  In addition to letting me
> guiltlessly destroy the thing, it's also more comfortable to sit on.
>

I can't offer much in the way of suggestions for syncing org-mode with
meat-space (notebooks).  I do know something about field notebooks,
however.  I am used to carrying around a notebook in a waist pouch (some of
the locals call them "thunder bags"), and have been doing so for years.  The
best notebooks I have found for general use are those I have cut from marble
covered composition books.  At the printer's I pay a couple of dollars to
have a stack of three or four notebooks cut into convenient sizes.  These
books are about 19 x 25 CM.  Whatever works.  I have them cut into sizes
convenient for whichever brand of pouch I am carrying, usually about 7.5 x
4.5 inches (11 x 19 cm, or so), sometimes smaller.  As a side benefit,
leftovers forml smaller notebooks of various sizes.   They are sewn, so no
metal to rust, and the thick cardboard covers are ideal.  They hold up much
better than the little mini-marble notebooks.   Printers use Guillotine
knives, and can easily trim a stack of notebooks to any desired size.  Cheap
and available almost anywhere (?).

After a typhoon destroyed my home some years ago, the only notebooks that
were salvable were these comp books.  Pencil notes are generally readable,
but  not always.  Some people use ball point pens in the tropics.  Duing
three years of undergraduate work, when I was taking notes constantly, I
experimented with many types of fountain pens, for water proof, india and
drawing inks.  I found a Mont Blanc fountain pen in about 1985 that was
fairly cheap at the time (not anymore, I'm afraid) that held up better than
any other, and never clogged, even with India Ink.  Eventually I even used
these pens as a laboratory pen, for writing labels and lab notes.   I don't
know whether Mont Blanc manufactures them anymore, but the pens I have seen
in duty free shops are far too expensive for me.

In my case, field notes were eventually typed into a sort of free-form
database in what linguists refer to as "band format."   I now have a
remember template for transcribing notes into this format.

More than anyone wanted or needed to know, for what it's worth.

Alan Davis
___
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] Scheduling an event of uncertain date within a month

2010-02-22 Thread Alan E. Davis
I am beginning to understand how to use scheduling.  However I ran across a
problem I didn't know how to solve: I know that in early March an event will
take place on a Friday, but I don't remember the date.

Can anyone make a suggestion how to handle this?

Thank you, again and again, for org-mode, the swiss-army-toolbox.

Alan Davis
___
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: Displaying your Org agenda after idle time

2010-03-22 Thread Alan E. Davis
I like this also.  It would be fantastic if the agenda were displayed,
as it is now, while a simple keystroke would return one to the point
he was at when the function was called.   I might one day have time to
try to figure out how to do this, not saying I would be able to do so
easily.

Alan Davis

On Sun, Mar 21, 2010 at 9:45 PM, Ross A. Laird  wrote:
> John Wiegley  writes:
>
>> I have the following snippet in my .emacs file, which I find very
>> useful. Basically what it does is that if I don't touch my Emacs for 5
>> minutes, it displays the current agenda. This keeps my tasks "always
>> in mind" whenever I come back to Emacs after doing something else,
>> whereas before I had a tendency to forget that it was there.
>>
>> John
>>
>> (defun jump-to-org-agenda ()
>>   (interactive)
>>   (let ((buf (get-buffer "*Org Agenda*"))
>>       wind)
>>     (if buf
>>       (if (setq wind (get-buffer-window buf))
>>           (select-window wind)
>>         (if (called-interactively-p)
>>             (progn
>>               (select-window (display-buffer buf t t))
>>               (org-fit-window-to-buffer)
>>               ;; (org-agenda-redo)
>>               )
>>           (with-selected-window (display-buffer buf)
>>             (org-fit-window-to-buffer)
>>             ;; (org-agenda-redo)
>>             )))
>>       (call-interactively 'org-agenda-list)))
>>   ;;(let ((buf (get-buffer "*Calendar*")))
>>   ;;  (unless (get-buffer-window buf)
>>   ;;    (org-agenda-goto-calendar)))
>>   )
>>
>> (run-with-idle-timer 300 t 'jump-to-org-agenda)
>>
>
> This is fantastically useful.
> Thanks very much!
>
> Ross
>
> --
> Ross A. Laird, PhD
> www.rosslaird.com
>
>
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


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


Re: [Orgmode] Re: possible bug: TAB after elipsis

2010-03-28 Thread Alan E. Davis
Not sure whether I'm talking about the same phenomenon, but I have
started almost routinely adding a tag at the end of every headline
inserted by my remember templates.  Without the tag, it'seems it's
hard to move past the end of the line cleanly to edit the contents.
With a tag, using the custom \C-a/e behavior alluded to above, its a
cinch.

I am annoyed by this.  It seems wrong, and I assumed there is a
workaround somewhere, if I looked hard enough.  Again, maybe this is
another problem.

Alan


___
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: possible bug: TAB after elipsis

2010-03-28 Thread Alan E. Davis
Hello, Carsten:

I have to admit you are right, at least to the extent I cannot now
reproduce this behavior. I also have to admit that I haven't been
aware of that behavior for a while.

I will attempt to reproduce it for a day or two, and see if I can send
you a "working" example.

With apologies,

Alan

On Sun, Mar 28, 2010 at 9:58 PM, Carsten Dominik
 wrote:
> Hi Alan,
>
> On Mar 28, 2010, at 1:45 PM, Alan E. Davis wrote:
>
>> Not sure whether I'm talking about the same phenomenon, but I have
>> started almost routinely adding a tag at the end of every headline
>> inserted by my remember templates.  Without the tag, it'seems it's
>> hard to move past the end of the line cleanly to edit the contents.
>> With a tag, using the custom \C-a/e behavior alluded to above, its a
>> cinch.
>
> I don't think I can reproduce this.
>
> Can you please make your explanation more detailed, with an example, with
> your setting for org-special-control-a/e, and with a step by step guide on
> how to hit any problems?
>
>
> Thanks
>
> - Carsten
>
>>
>> I am annoyed by this.  It seems wrong, and I assumed there is a
>> workaround somewhere, if I looked hard enough.  Again, maybe this is
>> another problem.
>>
>> Alan
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
>
>
>


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


Re: [Orgmode] Re: How you ORGanize yourself? (aka: Why not one file to rule'em all?)

2010-04-21 Thread Alan E. Davis
   More than you want to know, I'm certain.  I would certainly
   appreciate any ideas that others might provide.  I am reluctant to
   provide much in the way of personal details, but perhaps I do have
   to provide some detail, in order to call attention to how I use
   Org-mode, in many aspects of my life.

   The pattern of my usage of org-mode has evolved through perhaps a
   year and a half, yet I am still at a very modest level of
   understanding.  All the same, I have grown into new understandings
   about how to use Org.  The ~/org directory (under git control so I
   can keep up to date on three computers) has been weighted down with
   a considerable level of cruft.  I am a scatterbrained/eclectic,
   constantly thinking of new ways to clutter these files; yet,
   Org-mode is an ideal tool for this, and I am learning more and more
   about how to use it.  The main pattern that begins to
   emerge is the usage of many files, but more and more of them are
   merging into single topical or function based files, something like
   the following.  However, I sense that some of the org functions
   (including some agenda based functionality, and especially tagging)
   are starting to slow down.

   The files
  1. Main files
  1. JOURNAL.org:: Various longer posts, from some remember
 templates with various top level headers as targets.
  2. notes.org::  target for org's tools for  firefox, as well as
 for a remember template to store notes for later filing.
  3. LetterDrafts.org:: writing correspondence
  4. Todo.org:: Various kinds of TODO notes
  5. Happenings.org:: Diary like functionality
  6. Diary.org:: Emacs diary
  7. Contacts.org:: I still haven't figured out how to do this.
  2. Project related files, general
  1. System.Journal.org:: where I log various system issues and
 try to keep on top of changes to my system, both hardware
 and operating system, as well as software.
  2. Classes.org:: Where I keep various kinds of notes on courses
 I teach. (I think I have struggled with this the most).
  3. Field.Journal.org:: I am a biologist who makes field notes.
  4. Music.org:: Becoming huge with guitar tablature, lyrics,
 notes on the Guitar, etc.
  5. Drafts.org:: Drafts of all kinds of documents.
  6. SCHOOL.org:: Notes about the school where I teach.
  7. Microscopy.org:: Notes on microscope use and hardware.
  8. Science.org:: Notes of a scientific  nature, about
 literature or research.
  9. Quotes.org:: I have a remember template for storing away
 quotes.
  10. Sweeps.org:: Hardly used, up to recently, a place to store
  "Mind Sweeps" or Brainstorms.
  11. Emacs.org:: Log and notes about use of emacs, and notes
  about the changes I've made to .emacs.el
  12. Health.Journal.org:: notes on health issues for the members
  of my family.
  13. HOWTO.org:: When I have figured out some settings or
  installation notes, I keep them in this file in a highly
  unintelligible HOWTO format.  Sometimes even I cannot read
  them.
  14. Film.org:: I keep notes on films I watch and vidoes I use
  in teaching.  Including  time-indexed notes made with the
  relative-timer facility or Org-mode.
  15. EmacsTricks.org::
  3. Project files, more specific, and more numerous.  For example:
 1. BeachHoppers.org
 2. DigitalPhotography.org
 3. LetterToJoe.org
 4. Worms.org
 5. Recipes.org
 6. MakingDo.org:: a few notes for a book about running a
laboratory on a shoestring, using found objects, etc.
 7. Tides.org:: One of my interests.
 8. Lexicon.org:: I am saving notes here using a remember
 template that saves linguistic notes in "band format."
 9. ScientificLiterature.org:: I am trying to organize notes on
 downloaded PDFs and bibtex reference database.

Usage notes.

  1. I am learning to use the agenda.  I have some custom agenda
 commands.  It has taken me a long time to learn how I can
 keep track of events and appointments, as well as TODO
 items.  I'll be learning for a long time yet.  SCHEDULING is
 useful, as are DEADLINES.   It's taking a while to fall into
 habits of use to make these useful to myself.
  2. I am slowly learning to use tags in a personally useful way.
 1. Context is somewhat useful.  However, I really need a
shopping list.
 3. I am starting to use inheritance of keywords on headlines,
as it helps clean things up.
  3. I am also gradually beginning to understand how I can use
 TODO keywords.
 1. My

[Orgmode] Relative timer: failure to reset times in active region

2010-04-28 Thread Alan E. Davis
I took some notes on a video this morning, using a relative timer.  I
wasn't able to start until several minutes into the video.  Then,
later, I went back and started from the beginning, starting the timer
pretty much on time.  Now I have to reset all the times in the
original notes from this morning.

I found this in the documentation for the relative timer:

`C-c C-x 0'
 Reset the timer without inserting anything into the buffer.  By
 default, the timer is reset to 0.  When called with a `C-u'
 prefix, reset the timer to specific starting offset.  The user is
 prompted for the offset, with a default taken from a timer string
 at point, if any, So this can be used to restart taking notes
 after a break in the process.  When called with a double prefix
 argument `C-c C-u', change all timer strings in the active region
 by a certain amount.  This can be used to fix timer strings if the
 timer was not started at exactly the right moment.

When I tried this on the original notes, the function
"outline-up-heading" is invoked.  Is there a typo in the docs?

Alan


___
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: [OT] gnuplot quality

2010-06-12 Thread Alan E. Davis
I use the gri plotting language to make plots.  Does anyone here use this?



I am over my head in trying to use babel as a literate programming tool; yet
that's exactly what I need to do, else at least have a method for
coordinating better comments / notes with the code.

Gnuplot was ok when I didn't need quailty graphs.

I also need to learn to make a number of other types of plots, including
polar plots.  I understand that it is possible with gri, but haven't set
down to try to get my head around the process.

Alan Davis

On Sun, Jun 13, 2010 at 6:16 AM, Eric S Fraga  wrote:

> On Sat, 12 Jun 2010 08:23:44 -0700, "Eric Schulte" 
> wrote:
> >
> > Eric S Fraga  writes:
> >
> > > On Fri, 11 Jun 2010 13:35:52 -0700, "Eric Schulte" <
> schulte.e...@gmail.com> wrote:
> > >
> > > [...]
> > >
> > >> WRT: the ugliness of gnuplot to file, I've wrestled with this myself
> and
> > >> I know exactly what you mean.  Currently I try to use svg or png
> images
> > >> when exporting to html, and for pdf I use the gnuplot tikz terminal
> [2].
> > >
> > > John & Eric,
> > >
> > > Another approach, which I use and which doesn't require using the
> > > development version of gnuplot for the tikz support, is to generate
> > > encapsulated postscript files:
> > >
> > >   set terminal postscript eps enhanced 20
> > >   set output "graph.eps"
> > >
> >
> > Thanks!
> >
> > I just tried the above (well technically the below [1]) and it does look
> > great and scales well.  It's nice to have a light-weight alternative to
> > tikz -- a great addition to my plotting toolbox.
> >
> > Best -- Eric
>
> [...]
>
> > Footnotes:
> > [1]
> > --8<---cut here---start->8---
> > #+begin_src gnuplot
> >   set terminal postscript eps enhanced 20 color
> >   set output "~/Desktop/graph.eps"
> >   set isosample 30,30
> >   set title 'bumpy'
> >   set xrange[-4:4]
> >   set yrange[-4:4]
> >   splot sin(x) + sin(y) notitle
> > #+end_src
> > --8<---cut here---end--->8---
> >
> >
>
> You're very welcome.  I use a number of methods to generate graphs and
> diagrams and gnuplot is definitely one of my favourites.  For the
> adventurous, there's a great blog:
>
> http://gnuplot-tricks.blogspot.com/
>
> Put gnuplot together with org-mode and org-babel and it's yet another
> piece in the puzzle that leads to an incredibly powerful desktop
> analysis and publishing system!
>
> --
> Eric S Fraga
> GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [babel] Re: [Orgmode] Re: [OT] gnuplot quality

2010-06-16 Thread Alan E. Davis
Hello Eric:

On Tue, Jun 15, 2010 at 1:35 PM, Eric S Fraga  wrote:

> I am surprised, however, at this comment:
>
>> Gnuplot was ok when I didn't need quailty graphs.
>
> in what way does gnuplot fall short in terms of quality?  (but keep
> this part of the conversatino off-list please to avoid annoying others)

I don't have a great deal to say about this, so I will keep my remarks
on the list.

I needed/wanted a tool to produce publication quality graphs.  Gnuplot
is great, and I have used it in the past, to make tide graphs.  In my
experience, controls of the details of the graph were less accessible
to me, and the graphs I produced were pretty rough edged.  GRI has
worked very well for me for monthly tide graph calendars, with good
control of parameters.  GNUPLOT is fantastic for quick, and what I
felt were rough and ready plots.

GRI is easily installed on Ubuntu installs, and a gri mode for emacs
makes it easier.

I will try the suggestions you made to work out a babel solution for gri plots.

Thanks for the suggestions,

Alan

___
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] LaTeX calendar from org-mode agenda?

2010-07-01 Thread Alan E. Davis
I wonder whether anyone has worked up a solution to printing LaTeX
monthly or weekly calendars from an org-mode setup?

LaTeX calendars can get pretty cluttered up when printed from a diary
file, but perhaps tags would help.  I was able at some point to print
a LaTeX monthly calendar with entries listed in a separate file.
Perhaps later this summer I will look into this, but thought someone
might have solved this problem already.

Thanks,

Alan Davis

___
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: LaTeX calendar from org-mode agenda?

2010-07-08 Thread Alan E. Davis
It seems possible that at least one of the LaTeX / org gurus on this
list has used LaTeX monthly calendars.  I have had some problems with
LaTeX calendars, but they look really nice, and it would seem not
unlikely to use that format as an output from Org-agenda.

I found LaTeX monthly calendars pretty ridiculous when they are
bloated with dozens of repeated tasks from the diary file.  A well
sorted list of events would seem to me to suite this nice-looking hard
copy calendar nicely.  To be sure, I'm not sure how well supported the
cal-tex-* series is at this point.  I had trouble printing them at
some point, even with help from the developer, Edward Reingold.

C'mon, doesn't anyone know something about LaTeX calendars that would help?

I am offline until my phone is transferred to my new residence.  Later
this summer, I'll find time to sift through this problem myself.

I apologize for repeatedly cluttering this list with often clueless
questions.   I like org-mode a lot and use it for all kinds of tasks,
but I've lost track of some of the more arcane features over the past
several months.  Summer looks a good time to start catching up.  The
ability to print out a nice, concise hardcopy checklist from
org-agenda would make a world of difference.

Alan Davis

On Fri, Jul 2, 2010 at 8:59 AM, Alan E. Davis  wrote:
> I wonder whether anyone has worked up a solution to printing LaTeX
> monthly or weekly calendars from an org-mode setup?
>
> LaTeX calendars can get pretty cluttered up when printed from a diary
> file, but perhaps tags would help.  I was able at some point to print
> a LaTeX monthly calendar with entries listed in a separate file.
> Perhaps later this summer I will look into this, but thought someone
> might have solved this problem already.
>
> Thanks,
>
> Alan Davis
>

___
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] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-29 Thread Alan E. Davis
Sometimes, I have used outliners, like ThinkTank, to organize my
thoughts, and reorganize the structure of a document of whatever kind.
I don't need headings or sectioning in some cases.

I have not found a way to exclude heading lines from
LaTeX output in Orgmode, nor have I found a
tag to say, "omit this headline."  I do see the variables
org-export-exclude-tags, and org-export-select tags; as well as an
option to include a specific number of headings as LaTeX sections.  In
the later case, other  headings are exported as plain list items, not
what I have in mind.

A related issue perhaps: what would it take to export, say list items,
as "paragraph" and "subparagraph" sections in LaTeX.

The ability to export a pdf almost automatically through LaTeX, even
with images, is magical.  Many thanks for this.

Alan Davis
___
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] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-30 Thread Alan E. Davis
Yes, I want (in some cases) to use headlines for purposes of organization.
 I want at least some of them to disappear in the output.

I could turn in a request for a feature, here:

#+OPTIONS: H:1 lower:nil

Or something else that would give the option that instead of automatically
converting all lower order headlines into list elements, to ignore them
entirely.  Of course, the case may exist where one wishes to actually have a
list converted as is, but lower level headings to disappear.

Thanks for the information about configuring converstion to \section{},
\subsection{}, \paragraph{}, etc.

Aloha,

Alan
___
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] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-30 Thread Alan E. Davis
> C-h v org-export-latex-low-levels


Cool.  Especially it's configurable on a case by case basis.  I looked at
customization of export/latex, but overlooked this.

Thank you.

Alan
___
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] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-30 Thread Alan E. Davis
Scot:

I see what you mean

On Mon, Aug 30, 2010 at 3:14 PM, Scot Becker  wrote:

>
> As you'll see org-mode's latex export is currently designed to use org for
> basic document structuring and only allows for a limited set of mappings
> between org's structure and latex structure.  But you'll see in the latex
> configuration documentation that it is possible to define what kind of
> \section{}, \chapter{}, or \subsubparagraph{} is exported for each level of
> org's headlines.
>
> One imagines it would be possible to define alternate use cases for a
class, for example the "article" class.  I can see it is possible to define
the article class to use

  \\section{%s}   for the first headline level
and
 \\paragraph{%s} for second levels

This would be useful to me.   However, the ordinary article structure with
subsection, subsubsection, etc., is good enough for much of what I do.   I
can imagine copying the article class file into my org directory, and
renaming it to article2.cls, and adding it to org-export-latex-classes, with
the section -> paragraph structure.

Is there an easier or canonical way to do this?

Thank you for your interest and help.

Alan

>
>
>
>
>
>
>
> On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos  wrote:
>
>> Alan E. Davis  wrote:
>>
>> > Sometimes, I have used outliners, like ThinkTank, to organize my
>> > thoughts, and reorganize the structure of a document of whatever kind.
>> > I don't need headings or sectioning in some cases.
>> >
>> > I have not found a way to exclude heading lines from
>> > LaTeX output in Orgmode, nor have I found a
>> > tag to say, "omit this headline."  I do see the variables
>> > org-export-exclude-tags, and org-export-select tags; as well as an
>> > option to include a specific number of headings as LaTeX sections.  In
>> > the later case, other  headings are exported as plain list items, not
>> > what I have in mind.
>> >
>> > A related issue perhaps: what would it take to export, say list items,
>> > as "paragraph" and "subparagraph" sections in LaTeX.
>> >
>> > The ability to export a pdf almost automatically through LaTeX, even
>> > with images, is magical.  Many thanks for this.
>> >
>>
>> Some examples might help. I may be particularly dense tonight but I have
>> read your mail a few times and I still have no idea what you are asking
>> (or rather I have multiple ideas, none of which make much sense to me.)
>>
>> Thanks,
>> Nick
>>
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
___
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] LaTeX export: Skip headline lines? "Paragraph" sectioning?

2010-08-30 Thread Alan E. Davis
Perhaps I can get this done, but I have one important question.

When I define a new "class" in org-export-latex-classes, does it make sense
to add a new class that calls the same /documentclass{article} class?  I
could name this class article2, and define the section structure as I will.

Hope this is not a silly question.  MY head feels dense today,

Alan

On Tue, Aug 31, 2010 at 11:09 AM, Alan E. Davis  wrote:

> Scot:
>
> I see what you mean
>
> On Mon, Aug 30, 2010 at 3:14 PM, Scot Becker wrote:
>
>>
>> As you'll see org-mode's latex export is currently designed to use org for
>> basic document structuring and only allows for a limited set of mappings
>> between org's structure and latex structure.  But you'll see in the latex
>> configuration documentation that it is possible to define what kind of
>> \section{}, \chapter{}, or \subsubparagraph{} is exported for each level of
>> org's headlines.
>>
>> One imagines it would be possible to define alternate use cases for a
> class, for example the "article" class.  I can see it is possible to define
> the article class to use
>
>   \\section{%s}   for the first headline level
> and
>  \\paragraph{%s} for second levels
>
> This would be useful to me.   However, the ordinary article structure with
> subsection, subsubsection, etc., is good enough for much of what I do.   I
> can imagine copying the article class file into my org directory, and
> renaming it to article2.cls, and adding it to org-export-latex-classes, with
> the section -> paragraph structure.
>
> Is there an easier or canonical way to do this?
>
> Thank you for your interest and help.
>
> Alan
>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos wrote:
>>
>>> Alan E. Davis  wrote:
>>>
>>> > Sometimes, I have used outliners, like ThinkTank, to organize my
>>> > thoughts, and reorganize the structure of a document of whatever kind.
>>>
>>> > I don't need headings or sectioning in some cases.
>>> >
>>> > I have not found a way to exclude heading lines from
>>> > LaTeX output in Orgmode, nor have I found a
>>> > tag to say, "omit this headline."  I do see the variables
>>> > org-export-exclude-tags, and org-export-select tags; as well as an
>>> > option to include a specific number of headings as LaTeX sections.  In
>>> > the later case, other  headings are exported as plain list items, not
>>> > what I have in mind.
>>> >
>>> > A related issue perhaps: what would it take to export, say list items,
>>> > as "paragraph" and "subparagraph" sections in LaTeX.
>>> >
>>> > The ability to export a pdf almost automatically through LaTeX, even
>>> > with images, is magical.  Many thanks for this.
>>> >
>>>
>>> Some examples might help. I may be particularly dense tonight but I have
>>> read your mail a few times and I still have no idea what you are asking
>>> (or rather I have multiple ideas, none of which make much sense to me.)
>>>
>>> Thanks,
>>> Nick
>>>
>>>
>>>
>>> ___
>>> Emacs-orgmode mailing list
>>> Please use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>
>>
>>
>
___
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] Commenting a diary sexp line??

2011-07-18 Thread Alan E. Davis
The following is in one of my Agenda files, I guess.  Is there any way to
comment it out, so that it is not evaluated and displayed in the agenda.
This seems to be displayed for every day.  I wanted to start a list of
various functions, but this one seems to be preeminent.

Thank you,

Alan Davis


Re: [O] Commenting a diary sexp line??

2011-07-18 Thread Alan E. Davis
Here's the attempt to comment, and the line:


** [2011-05-24 Tue 10:23] Sexp for an Org-mode reocurring appointment, only
on weekdays
   Published in: Emacs Lisp, [[
http://www.gnu.org/software/emacs/manual/html_node/emacs/Sexp-Diary-Entries.html][here
]]
#+BEGIN_EXAMPLE
:,
:| * APPT Daily Scrum
:| <%%(let ((dayname (calendar-day-of-week date))(day (car (cdr
date(memq dayname '(1 2 3 4 5)))>
:|[2009-07-01 Wed]
:`
#+END_EXAMPLE

On Mon, Jul 18, 2011 at 10:11 PM, Alan E. Davis  wrote:

> The following is in one of my Agenda files, I guess.  Is there any way to
> comment it out, so that it is not evaluated and displayed in the agenda.
> This seems to be displayed for every day.  I wanted to start a list of
> various functions, but this one seems to be preeminent.
>
> Thank you,
>
> Alan Davis
>


[O] Fwd: Commenting a diary sexp line??

2011-07-19 Thread Alan E. Davis
I finally Archived this subheading.  I am trying to get
org-mobile/mobile-org running on my new Android phone, and org-mobile-push
choked on three sexps.

Alan


On Tue, Jul 19, 2011 at 2:54 AM, suvayu ali wrote:

> Hi,
>
> On Tue, Jul 19, 2011 at 7:48 AM, Michael Markert
>  wrote:
> >> :| * APPT Daily Scrum
> >> :| <%%(let ((dayname (calendar-day-of-week date))(day (car (cdr
> date(memq dayname '(1 2 3 4 5)))>
> >> :|[2009-07-01 Wed]
> >> :`
> >> #+END_EXAMPLE
> >
> > Anyway: Begin the org-sexp line with a `#' - the usual org comment
> character.
> >
>
> I also faced this once and was expecting using the COMMENT keyword on
> the headline will do the trick but it doesn't. I had to use # before
> the sexp.
>
> So my question is, should org be ignoring the COMMENT keyword on
> headlines when a sexp is present. I would be inclined to call this a
> bug as a scheduled headline would be ignored in the presence of
> COMMENT.
>
> > Michael
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>


[O] Overall organization/setup for org mode: Projects and Tasks

2011-09-14 Thread Alan E. Davis
I've been using org-mode for a few years.  My agenda is cluttered with tasks
that are weeks and even months past due.  I am "this close" to declaring
"orgmode bankruptcy" and starting from scratch, except my current setup
works so well for other things.   Might still do that, but I want to ask for
ideas.

I stumble consistently over the distinction between projects and tasks.  I
think there is not clear distinction, but I need to find a way to organize
them so that, at least, agenda displays the day to day TODO tasks separated
in a meaningful way from the long term projects that I need to remind myself
of (and there are dozens of these).

PROJECTS: I can define projects as
   - an overall series of tasks related to a single purpose
   - a recurring task (monthly calendars that I need to remind myself to
make each month)
   - an actual project I am working on (writing a proposal, or a
research project about a coral, or a recipe database, or reconstructing a
LaTeX file tree for a publication ten years ago)


TODOS: perhaps tasks could be anything,
  - bills (marked by tag "bill"
 - phone calls to make

 I am starting to understand how I TODOS can be scattered through all my
other files.   However, the greater the number of agenda files, the greater
the clutter.   And, as a recent thread called to mind, there are times when
the list of agenda files prevents me from searching for tags or todos.  SO
where is the happy medium?

Some thoughts:
 -  I tried to write a custom agenda command that defined the agenda
files to encompass all *org files in a directory.  This actually set the
agenda-files variable to all files for the rest of the session, so I gave
that idea upalthough I know it's possible to do it.
 -  Again, the number of agenda files seems to be constraining.
 -  There seem to be issues between defining the agenda files
explicitly, or adding them one at a time.
 -  It would be useful if agenda searches automatically picked up the
recent files I had worked on during the session,
however, in as streamlined a way as possible.


I don't need to be reminded everyday that I have to organize bibliographic
references for my next trip to the library, but I have to have a way to keep
these organized to jog my memory in planning my time in some loose sense.

I do need to have a list of bills that I can access without having to sort
through the list of projects that are 3 months overdue.

Almost every week I have new insights into how to use tags, so perhaps I
need to junk alot of the tags I set up long ago.

These thoughts are somewhat disconnected, and I apologize for this.

And I would be grateful for any comments that would shed light on how to
solve these issues.

Alan Davis


Re: [O] Overall organization/setup for org mode: Projects and Tasks

2011-09-18 Thread Alan E. Davis
.. If you dread doing something because its just too much effort,
> you need to automate/rethink/change that process.
>
> Don't burn out.. The bodybuilders and athletes have it right, you have
> to cycle. If you go 100% all the time, generating ideas and knocking
> out TODO's like a robot, you'll burn out. Take it easy for 1 week each
> month. Does not mean eat pizza and party every day, but basically its
> "relax and don't kill yourself" time.
>
> Do any health, work, and lifestyle related TODO's first over any
> computer related ones. Get that physical. Update/re-balance those
> investments Deposit them checks and pay them bills. Switch to online bill
> payment for everything, and synchronize your bill cycle dates, so that
> you can pay all your bills in 30 minutes once a month.. If company
> offers automatic billing feature, use it.
>
> I have a "Pay bills" monthly recurring TODO, with 7 checkboxes. Of
> which 4 pay themselves with automatic bill pay, and are checked
> when I receive saying "your bill had been paid", and it takes me 10
> minutes to pay the rest.
>
> My stats if you want to compare:
>
> Number of projects: 37
> Number of "hold" projects 31
> Number lines in all .org files: 16000
> Number lines in all .org_archive files: 2+
> Number of TODO: 350
> Number of #A todos: 8
> Number of #B todos: 21
> Number of #C todos: 30
> Number of #F todos: 100 or so
>
> Most important tags I have:
>
>  focus   <- set on projects i should be working _right_now_, kind of
> opposite of "hold".
>
>  emacs   <- stuff to configure/fix in emacs
>
>  hold    <- projects on hold
>
>  bind<- todos "bind some key to do whatever" which I have a lot of
>
>  browse  <- todos "check out X, or research X on the web". Use this
> when you feel like browsing the web, can just as well
> make web browsing useful, instead of going to "waste your
> time" sites like reddit.
>
>  health  <- any health / fitness related stuff
>
>  finance <- investemnts, payroll, salary, bills
>
> Plus private tags for various projects, which only make sense in the
> context of the project
>
> At Wed, 14 Sep 2011 10:43:28 -0700,
> Alan E. Davis wrote:
> >
> > I've been using org-mode for a few years.  My agenda is cluttered with
> tasks that are weeks and
> > even months past due.  I am "this close" to declaring "orgmode
> bankruptcy" and starting from
> > scratch, except my current setup works so well for other things.   Might
> still do that, but I want
> > to ask for ideas.
> >
> > I stumble consistently over the distinction between projects and tasks.
> I think there is not
> > clear distinction, but I need to find a way to organize them so that, at
> least, agenda displays
> > the day to day TODO tasks separated in a meaningful way from the long
> term projects that I need to
> > remind myself of (and there are dozens of these).
> >
> > PROJECTS: I can define projects as
> >- an overall series of tasks related to a single purpose
> >- a recurring task (monthly calendars that I need to remind myself
> to make each month)
> >- an actual project I am working on (writing a proposal, or a
> research project about a
> > coral, or a recipe database, or reconstructing a LaTeX file tree for a
> publication ten years ago)
> >
> > TODOS: perhaps tasks could be anything,
> >   - bills (marked by tag "bill"
> >  - phone calls to make
> >
> >  I am starting to understand how I TODOS can be scattered through all
> my other files.
> > However, the greater the number of agenda files, the greater the clutter.
>   And, as a recent
> > thread called to mind, there are times when the list of agenda files
> prevents me from searching
> > for tags or todos.  SO where is the happy medium?
> >
> > Some thoughts:
> >  -  I tried to write a custom agenda command that defined the agenda
> files to encompass all
> > *org files in a directory.  This actually set the agenda-files variable
> to all files for the rest
> > of the session, so I gave that idea upalthough I know it's possible
> to do it.
> >  -  Again, the number of agenda files seems to be constraining.
> >  -  There seem to be issues between defining the agenda files
> explicitly, or adding them one
> > at a time.
> >  -  It would be useful if agenda searches automatically picked up the
> recent files I had
> > worked on during the session,
> > however, in as streamlined a way as possible.
> >   Â>
> > I don't need to be reminded everyday that I have to organize
> bibliographic references for my next
> > trip to the library, but I have to have a way to keep these organized to
> jog my memory in planning
> > my time in some loose sense.
> >
> > I do need to have a list of bills that I can access without having to
> sort through the list of
> > projects that are 3 months overdue.
> >
> > Almost every week I have new insights into how to use tags, so perhaps I
> need to junk alot of the
> > tags I set up long ago.
> >
> > These thoughts are somewhat disconnected, and I apologize for this.
> >
> > And I would be grateful for any comments that would shed light on how to
> solve these issues.
> >
> > Alan Davis
> >
> >
>


Re: [O] How to get numbered lists (1), (2), … ?

2011-10-13 Thread Alan E. Davis
Without diving into how to set it up in org-mode, the paralist package for
LaTeX enables inline numbered lists, as in

%% In preamble
\usepackage{paralist}


%% In document
\begin{inparaenum}
   \item first element
  \item second element
\end{inparaenum}

As to how to organize this to be an option for org-mode without
incorporating above into the setup, I would also be interested.

Alan

On Thu, Oct 13, 2011 at 12:10 PM, Nick Dokos  wrote:

>
> [ I started this earlier but I guess I didn't send it out. Suvayu has
>  replied in the meantime with a pointer to a better solution than this
>  one, but this might be of some minor interest to some people as well -
>  besides, I spent a whole 20 minutes on it, half of it trying to figure
>  out why my mail was not working :-( : why let that effort go to
>  waste?:-) ]
>
>
> Marius Hofert  wrote:
>
> > Dear Suvayu,
> >
> > thanks.
> > It would be good to know how latex export can be customized to achieve
> this.
> >
>
> Depends on how much customization you are willing to go through: there is
> an
> enumerate.sty package in LaTeX that can do that:
>
> --8<---cut here---start->8---
> ...
> \usepackage{enumerate}
> ...
> \begin{enumerate}[(1)]
> \item foo
> \item bar
> \end{enumerate}
> ...
> --8<---cut here---start->8---
>
> Inserting the \usepackage from the org file is no problem:
>
> --8<---cut here---end--->8---
> #+LATEX_HEADER: \usepackage{enumerate}
> ...
> --8<---cut here---end--->8---
>
>
> Getting the argument to the enumerate environment in the right place is
> another matter. I think the only way is to redefine
> org-list-generic-to-latex
> like this (add this to your initialization file, .emacs or whatever, after
> you
> load org):
>
> --8<---cut here---start->8---
> (require 'org-list)
>
> (defun org-list-to-latex (list &optional params)
>  "Convert LIST into a LaTeX list.
> LIST is as returned by `org-list-parse-list'.  PARAMS is a property list
> with overruling parameters for `org-list-to-generic'."
>  (org-list-to-generic
>   list
>   (org-combine-plists
>'(:splice nil :ostart "\\begin{enumerate}[(1)]\n" :oend
> "\\end{enumerate}"
>   :ustart "\\begin{itemize}\n" :uend "\\end{itemize}"
>   :dstart "\\begin{description}\n" :dend "\\end{description}"
>   :dtstart "[" :dtend "] "
>   :istart "\\item " :iend "\n"
>   :icount (let ((enum (nth depth '("i" "ii" "iii" "iv"
> (if enum
> ;; LaTeX increments counter just before
> ;; using it, so set it to the desired
> ;; value, minus one.
> (format "\\setcounter{enum%s}{%s}\n\\item "
> enum (1- counter))
>   "\\item "))
>   :csep "\n"
>   :cbon "\\texttt{[X]}" :cboff "\\texttt{[ ]}"
>   :cbtrans "$\\boxminus$")
>params)))
> --8<---cut here---end--->8---
>
> The only change is the definition of :ostart. Not a very flexible method,
> but it will serve in a pinch. ngz et al. might have better ideas.
>
> I should say that there are other ways to customize enumeration labels
> in LaTeX - see e.g.
> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=enumerate -
> but afaict they would all require some rewiring of the above function,
> similar
> to the above.
>
> Nick
>
> > Cheers,
> >
> > Marius
> >
> > On 2011-10-13, at 11:37 , suvayu ali wrote:
> >
> > > On Thu, Oct 13, 2011 at 11:11 AM, Marius Hofert
> > >  wrote:
> > >> Dear all,
> > >>
> > >> In the manual, I found that numbered lists can be created with 1), 2),
> ... or 1., 2., ...
> > >> How can I get numbered lists like this: (1), (2),...?
> > >> I found org-list-demote-modify-bullet, but the help (and a google
> search) did not help me in finding a solution to this.
> > >>
> > >
> > > I don't think you can. But you can customise latex export (maybe even
> > > html export, but I don't know) to show lists like that in the exported
> > > file.
> > >
> > > I hope this helps.
> > >
> > >> Cheers,
> > >>
> > >> Marius
> > >>
> > >
> > >
> > >
> > > --
> > > Suvayu
> > >
> > > Open source is the future. It sets us free.
> >
> >
> >
>
>


[Orgmode] Re: Feature Request: Assort a subtree randomly ?

2011-01-30 Thread Alan E. Davis
That is excellent.  Not too late, at all.  This ability to sort by a
function is excellent: presumably one could use a soundex algorithm!

Thank you,

Alan
___
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] Easily go to some frequently accessed heading (narrowed to region)

2011-02-02 Thread Alan E. Davis
I adapted something from Sacha Chua: a file with links to my most
frequently accessed links.  I too have been seeking some way to make
this automatic, but even as it is, it works great.

I call the file "Pointers.org".

It is just an org-mode file, each headline is a  link.

Then, in my init file (.emacs) is the following:

,
| (defun pointers ()
|   (interactive)
|   (find-file "~/org/Pointers.org"))
| (define-key global-map "\C-c0" 'pointers)
`

It's not too hard to install a new link at the top of the file.  I guess
it would also be easy to write a function or use a capture template to
do this.

Alan


 "Pollution is nothing but the resources we are not harvesting. We allow
them to disperse because we've been ignorant of their value."

   --- R. Buckminster Fuller



On Thu, Feb 3, 2011 at 1:52 AM, Eric S Fraga  wrote:

> Darlan Cavalcante Moreira  writes:
>
> > Thanks Eric
> >
> > I tried org-goto before, but I needed something that I could bind to a
>
> [...]
>
> > A custom agenda view is is good to see the tasks associated with a
> project
> > and I already tag each project as you suggested, but besides the tasks
> > there are some subheadings in each project that have only information
> > without tasks or schedule/deadline dates. That is what motivated me to
> > search for a way to quickly access the project contents and not only its
> > tasks.
>
> Okay, let's try a third suggestion (in case it's 3rd time lucky ;-):
>
> 3. what about a sparse tree view (org-sparse-tree, C-c /, followed by
>   'm' for match on a tag of choice) of your projects file?
>
> But again, this isn't necessarily something you can program, although
> maybe you can as org-sparse-tree invokes org-match-sparse-tree which
> looks definitely viable as a candidate for programmatic use:
>
> ,
> | org-match-sparse-tree is an interactive compiled Lisp function in
> | `org.el'.
> |
> | (org-match-sparse-tree &optional TODO-ONLY MATCH)
> |
> | Create a sparse tree according to tags string MATCH.
> | MATCH can contain positive and negative selection of tags, like
> | "+WORK+URGENT-WITHBOSS".
> | If optional argument TODO-ONLY is non-nil, only select lines that are
> | also TODO lines.
> `
>
> so you could definitely write specific a function to use this, with a
> specific match string, followed by a narrow to subtree?
>
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
> : using Org-mode version 7.4 (release_7.4.298.g16b40)
>
> ___
> 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


[O] Defining capture-templates: custom and init file

2011-03-07 Thread Alan E. Davis
I would like to request advice, on how can I set up so most of my capture
templates are loaded from a file (~/org/capture-templates.el in my case) and
still retain the ability to define new capture templates on the fly.  I want
the best of both worlds:

   - capture-templates.el is easier for me to tweak by hand, and I can
alphabetize the templates in various ways as needed.

   - the capture custom feature is a fantastic way to deine one off
templates on the fly.

One imagines there must be a way to do this by loading one or the other of
the methods first, perhaps ~/org/capture-templates.el, and then load the
custom-file afterwards.

My understanding of the system does not enable me to understand the
underlying nuts and bolts of the system well enough to  know if either of
these methods will work, or run aground.

Thank you

Alan Davis


Re: [O] Defining capture-templates: custom and init file

2011-03-07 Thread Alan E. Davis
Hello: Suvayu:

I have set the variable custom-file outside of the init file to
~/org/custom-local.el or some such, so there wouldn't be a conflict within
the same file.  I can delay loading of that file until after the hand-made
capture templates have been loaded from ~/org/capture-templates.el .

Alternately, one could load the custom-file first, then the other.  What I
am thinking/hoping/dreaming is that one could add to the capture-templates
variable, in the same way one adds to, say "load-path" by saying

   (setq load-path (append load-path (list "/home/olaf/Emacs")))

I have noticed the message from within the customization interface that some
variable or another was set outside of customization, and there may be
unpredictable results.  Wonder what that really means, though.   It's still
a variable, isn't it?

Alan

On Tue, Mar 8, 2011 at 3:39 PM, Suvayu Ali wrote:

> On Tue, 8 Mar 2011 12:17:58 +1000
> "Alan E. Davis"  wrote:
>
> > I would like to request advice, on how can I set up so most of my
> > capture templates are loaded from a file (~/org/capture-templates.el
> > in my case) and still retain the ability to define new capture
> > templates on the fly.  I want the best of both worlds:
>
> Sorry, can't be done. The customize interface stores the
> (custom-set-variables ... ) block in the init file. Having more than
> one such code block might lead to unpredictable Emacs behaviour. Your
> only two choices are:
>
> 1. Use customize. Then your capture templates are stored with your other
>   emacs customisations in your init file (e.g. ~/.emacs,
>   ~/.emacs.d/init.el or whatever).
>
> 2. Use setq to define your templates outside of customize. If you choose
>   this, you lose the ability to define templates using customize and
>   save it. You can still however save a template temporarily `C-c C-c'.
>
> I hope this answers your query.
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>


Re: [O] Defining capture-templates: custom and init file

2011-03-08 Thread Alan E. Davis
Very revealing.  However, that post was written in 2005, and the following
statement is found at the tail end:

The good news

The behaviour of custom due to more than one custom-set-... statement will
be changed in Emacs 21.xx. I've been told that
> Multiple calls to custom-set-variables should work in Emacs 21;
> if you customize, all the variables go into the first one,
> and the rest are deleted.

I can still dream.  I have to say, though, thank you very, very much.  This
certainly clarifies the issue well.

Alan

On Tue, Mar 8, 2011 at 4:33 PM, Suvayu Ali wrote:

> Hi Alan,
>
> On Tue, 8 Mar 2011 16:13:34 +1000
> "Alan E. Davis"  wrote:
>
> > I have noticed the message from within the customization interface
> > that some variable or another was set outside of customization, and
> > there may be unpredictable results.  Wonder what that really means,
> > though.   It's still a variable, isn't it?
> >
>
> Say you customise the templates outside your custom-set-variables
> block. Now if you use the customise your templates with customize and
> save them, it will be saved in the custom-set-variables block. For the
> current session of emacs you might not experience any problems, but
> when you restart emacs depending on which comes first the setq or the
> custom-set-variables your templates will be set accordingly. It is
> difficult to predict for me which will be the case. For more on this
> you can look here[1].
>
> Hope this helps you understand the issue with what you are attempting.
>
> [1] http://www.dotemacs.de/custbuffer.html
>
> > Alan
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>


Re: [O] Re: zotero (or mendeley) integration with org

2011-03-29 Thread Alan E. Davis
It's in my mind to find a way to use orgmode for organizing pdfs and BibTex
data.  I haven't untangled storage of PDFs and linking to BibTeX, and I
haven't found a solution to organizing it all through orgmode.

An important piece of the puzzle, though, needs mention: cb2bib helps
semi-automate making a BibTeX entry from a citation, or Google Scholar
BibTeX output.

I wonder if it would help to use orgmode for bibtex *.bib files.  I think
comments can be included in those files.  Or does it also work the other way
around, that any file can be used as a bibtex source database?

Matt's workflow makes sense.

Alan Davis
>
>
>


Re: [O] Re: zotero (or mendeley) integration with org

2011-04-01 Thread Alan E. Davis
Is it possible to use org babel to extract bibtex entries from file of notes
to a *.bib file?

The stumbling point for me in saving bibtex sources is I don't see a way to
use the file as a bibtex *.bib file so as to use that as the direct source
for the publication.  Perhaps this could be automated with babel?

Alan

On Fri, Apr 1, 2011 at 6:13 AM, Matt Lundin  wrote:

> Stephen Eglen  writes:
>
> >> Agreed. Google Scholar citations need very close proofreading, as they
> >> can be erroneous or poorly formatted.
> >
> > Thanks Matt - I'd agree with this, having seen oddities from google
> > scholar.  I emailed them ages ago about one problem (formatting of
> > initials in author names), but never heard back... it is a pity that
> > there is no mechanism for tidying up their references, as it seems to be
> > the best thing out there that covers all the fields.
> >
> > Having said that, if google scholar can save me some typing, I'll
> > happilyuse it as a starting point for a bibtex entry.  I've just started
> > using pdfmeat -- this is nice, as given a pdf, it outputs the
> > corresponding bibtex entry from google scholar.  Probably works similar
> > to the way zotero does it, but can be used straight from the command
> > line:
> >
> >   http://code.google.com/p/pdfmeat/
> >
>
> Thanks for the link! That looks like a useful tool.
>
> >> accessed by bibsnarf are limited to math and sciences. Since I use
> >> biblatex together with the Chicago Manual of Style, any bibtex entry I
> >> clip has to be edited and tweaked substantially. (Indeed, manual editing
> >> is unavoidable when using biblatex.)
> >
> > If its not too tangential, why do you use biblatex -- is it the future
> > for bibtex?
>
> I use biblatex because I use citation styles in the humanities
> (especially the Chicago Manual of Style). Biblatex and the chicago-notes
> package (both now part of TeXLive) handle Chicago Style footnotes and
> bibliographies beautifully, with an astounding number of options and
> flawless formatting -- but the bibtex entries are a bit fussier than
> standard bibtex.
>
> Best,
> Matt
>
>


Re: [O] Re: zotero (or mendeley) integration with org

2011-04-02 Thread Alan E. Davis
I have been enlightened.  This closes a loop for my handling of literature.

Thank you both.

alan


Re: [O] [ANN] org-bibtex.el --- convert between Org headings and bibtex entries

2011-04-23 Thread Alan E. Davis
Some notes on initially trying out this new tool.  I have some reservations
as to whether it use it.  There are certain good reasons in its favor.

This works to both store bibtex database entries and export to .bib files.
I REALLY like the automagical harvesting of data using cb2Bib.  It is
unique, and I don't see how to recruit it to produce a database in an org
file, or pipe it into this org-bibtex tool.

The need to represent the bibtex database entry as a PROPERTY list would
appear to me to limit its usefulness to me.

A nit: I would prefer to be free to enter any optional field type I wished,
when I am entering the data.   Of course, the tool as it stands helped me to
filter out duplicate fields and unused optional fields from the one bibtex
entry I tried using org-bibtex-read: the output of org-bibtex-write was
cleaner, and correctly incorporated aligning tabs where I'd carelessly left
them out.)

My INPUT ENTRY

@INCOLLECTION{AED-IER-CR,
  author = {Junior Noitall},
  title = {Specific disruption strategies},
  booktitle = {How to annoy the teacher},
  publisher = {Noitall Notes},
  year = {2011},
  editor = {Senior Noitall},
  chapter = {13},
  pages = {218--243},
  address = {Concentric Orbit},
  altauthor = {John Smith},
  alteditor = {Carl Pumpkin},
  isbn = {1-853-31-9},
  optaddress = {Room X777},
  optpages = {\frac{1}{2}}
}

In the following output, the isbn field is missing.

OUTPUT from org-bibtex-write

@incollection{AED-IER-CR,
  author = {Junior Noitall},
  title = {Specific disruption strategies},
  booktitle = {How to annoy the teacher},
  publisher = {Noitall Notes},
  year = 2011,
  editor = {Senior Noitall},
  type = {incollection},
  chapter = 13,
  pages = {218--243},
  address = {Concentric Orbit}
}


I understand I may add to the types variable.  When using org-bibtex-create,
I can enter any arbitrary field as a PROPERTY; however, org-bibtex ignores
anything outside of the universe it knows about.  Would it be bad practice
to allow the export of any arbitrary field type one has recorded?  I think
the emacs bibtex-mode may recognize erroneous bibtex entries.   Somewhere
there is code that does that.   It would be a huge and excellent addition to
be able to pass other types, while checking for proper formatting.  Bibtex
itself, and the .bst files (at least for bibtex itself; I don't know about
biblatex, etc.) will cherry pick the needed fields.   Am I wrong about
this?


I am confused by the duplication of file names, though I can see that at
some point one of the two will lose.  (Gauss's law of competitive exclusion,
referring to the biological case of two species occupying the same
ecological niche).


Alan Davis


Re: [O] [ANN] org-bibtex.el --- convert between Org headings and bibtex entries

2011-04-23 Thread Alan E. Davis
Comments below

On Sun, Apr 24, 2011 at 10:52 AM, Eric Schulte wrote:

>
> Is there a more natural way that this could integrate with external
> tools like cb2bib?  I've just now installed cb2bib, and I'm not sure I
> fully grasp its usage.
>
>  I also found cb2Bib pretty opaque when I first installed it.  It's not
hard to understand the basics, though.

Anything in your clipboard is queued up to import into cb2Bib.  The easiest
way, for example, to import a bibtex database entry from Google Scholar is
to highlight the entire entry in the browser with a mouse, and it's parts
are already displayed in cb2Bib.

If, for example, one is trying to save from a text-based bibliography entry,
it may be copied to the clipboard.  Highlight, for example, the title, and
right click, then select "title".  And so on.  This is the automagical part
that I have found so very useful.

It is important to 'unplug' cb2Bib if the entry needs to be edited.  If not,
any action in the fields and displayed will be lost.  Then save using the
save icons.

I have to say, though, that a little explanation would go a long way, when
trying to use it.



Once this process is complete, I can see that being able to, in turn copy
this entry to the clipboard would indeed be useful with org-bibtex .  I
wonder if it's possible to set a pipe or one of those cryptic file types
(fifo?) I cannot remember would either work, or whether the developers would
agree to enabling this ability.

Alan


Re: [O] [ANN] org-bibtex.el --- convert between Org headings and bibtex entries

2011-04-24 Thread Alan E. Davis
On Mon, Apr 25, 2011 at 12:29 AM, Eric Schulte wrote:

>
> It sounds like asking the cb2bib developers to either automatically copy
> completed entries to the clipboard, or to add a button implementing this
> behavior would be ideal.


Indeed, this is about what cb2Bib does, to a good extent, depending on the
nature of the reference.  A simple text reference, like

 S J Hickson. On the Sexual Cells and the Early Stages in the Development of
Millepora plicata. Philosophical Transactions of the Royal Society of
London. B 179, 193 - 204 (1888).

may not completely be resolved (not sure in this case): the template on
cb2Bib will be partially filled in, and it may require a couple of quick
steps to complete the template and save.  Unplugging, one may then enter the
abstract or other fields, then save.




>   cat ~/references.bib |xclip -selection clipboard
>
> will copy the entirety of the references.bib file to the clipboard.
>
> This is good.  Thank you.  This will certainly be helpful in some cases.

The case for cb2Bib is somewhat different, as once the template is filled
in, one may save it to .bib file, and one may select which file.  If one
were able to use a pipe, xclip, or a fifo file, perhaps this could be made
immediately available to org-bibtex-read.

Alan


Re: [O] Keeping an advanced dictionary in Org-mode?

2011-06-06 Thread Alan E. Davis
FWIW:

I won't get into it much for now, but I have used a "band format" for
lexical data.  There are other names for this type of free form database.  I
wrote a crude elisp routine to recover entries into LaTeX formatted files.

A "band" is a record, so to speak.  I am not very well qualified in this,
but was able to use it to record lexical data.  You may find some linguists'
websites where this or similar formats are elucidated.  A record starts with
a double dotted key, and information categories may be made up on the fly,
as marked by  single-dotted keys, preceded by at least two spaces.   I think
it's convenient for a record to be delineated by a line feed, as well.

..HW   .D.GE.NS   .NCE .NCs   .R.RC


This is just a made up case, but perhaps you can catch the drift.

Here are a couple of simple cases from my files:

..hw tutubi   ,lang vis  .nce dragonfly.source FSD
..HW sigai.lang vis .ge (mollusc) shell, when empty
..hw soksok  .ec gecko  .cg  .la ilo  .src hanna .n
..hw locus  .ec octopus  .cg  .la ilongo  .src hannah .n see nucus [vis];
kuus [chuukese]
..hw tikling  .ec heron  .cg  .la vis  .from fsd
..hw nucus  .ec octopus  .cg  .la vis  .src fsd, hannah  .n related to
chuukese kuus

Fairly straightforward elisp would scan a record and wrapping each item in a
particular typeface.

To get an idea of the output.  Each line was output as an \item in a list.
This got to be a LITTLE cumbersome, perhaps, and someone good at coding
would do it differently.  The idea is that a lisp routine scans the records
and spits out list items.  This could be any kind of output, and perhaps org
mode would be a good way to rig a routine to scan list items and output
different band types as slanted (\sl), roman, or italicized components.

\item [{\sl k\'{u}\'{u}s\/}$_{3}$]   \index{k\'{u}\'{u}s} \quad Small,
night-time octopus.   HADJ  E\'{e}t.

\item [{\sl k\'{u}\'{u}s\/}$_{4}$]   \index{k\'{u}\'{u}s} \quad Daytime
octopus.   {\sc syn\/}:\ {\sl  nippach}.{\sc alt\/}:\ {\sl
k\'{u}\'{u}h}.\HADJ  F\'{o}n\'{o}.

\item [{\sl k\'{u}\'{u}sen neepwin\/}]   \index{k\'{u}\'{u}sen neepwin}
\quad{\sc see\/}:\ {\sl nippachin neepwin}.Even though this is not
said, it would be the correct way to say it. \HADJ  Wonip.


This may not be an appealing approach.  I am still pleased with the ability
to flexibly add band keys on the fly, during data entry, and the potential
to use LaTeX as a frontend.  HTML would also be useful, depending on how you
wish to read your dictionary.

Not a perfect system.  Linguists have done better.  Robert Hsu of the
University of Hawaii built a system around SPITBOL and maybe SNOBOL4.  I was
hopelessly lost trying to use those, but elisp did what little I needed.  I
think that it may be possible to organize a database using org-mode.

For now, I have a capture template for data entry, such as it is:

("=" "lex" entry (file+headline "lexicon.org" "Unsorted") "* ..hw
%^{Headword}  .gs %^{Scientific Name}  .ge %^{English Gloss}  .ec %^{English
Common Name}  .cg %^{Category}  .la %^{Language}  .src %^{Informant} .n
%^{Note} %?  .dt %u " :prepend t :immediate-finish t)

Again, FWIW.  To me, a great deal.  Maybe to others, not so great of a
deal.

Alan


On Mon, Jun 6, 2011 at 7:38 PM, Christian Moe  wrote:

> Hi,
>
> Is anybody using Org-mode to build an advanced dictionary with sub-entries,
> tags etc.? Would you be willing to share a setup?
>
> For example, the obvious way to build a dictionary would be to use a
> dictionary list (I borrow a few English-French lines from the wonderful
> WordReference.com site):
>
> - pine ::
>  (/paɪn/)
>  1. /m noun/ [bot.] pin; *stripped ~* pin décapé.
>  2. /intr verb/ languir (*for* après; *to do* de faire)
>
> This looks nice, but unfortunately, you cannot set tags or properties on
> dictionary terms, so it's not particularly amenable to fancy searching,
> mapping etc.
>
> On the other hand, you could do something like this:
>
> * pine
>  :PROPERTIES:
>  :Pronunciation: /paɪn/
>  :END:
> ** pin  :bot:
>   :PROPERTIES:
>   :Word_class: noun
>   :Gender:   m
>   :END:
>   *stripped ~* pin décapé.
> ** languir
>   :PROPERTIES:
>   :Word_class: verb
>   :Transitivity: intr
>   :END:
>   (*for* après; *to do* de faire)
>
> It's a pain to do, and because of outline folding, it could be a pain to
> look up meanings, and you might need to do some serious post-processing on
> the export to make it look anything like a dictionary. But when you're done,
> you could extract a list of all botanical terms (:bot:), or of words and
> pronunciations only... etc.
>
> So for my growing pile of translation notes, I might like to keep that kind
> of thing. But there are so many ways it could be organized - what do you put
> in subheadings? what in entry text below subheadings? what in tags, what in
> properties? etc. So if someone has an example that works for them, I'd like
> to see one.
>
> (Org may not be 

Re: [O] Keeping an advanced dictionary in Org-mode?

2011-06-07 Thread Alan E. Davis
Thank you for the link.

On Tue, Jun 7, 2011 at 4:08 AM, Christian Moe  wrote:

> Hi,
>
> Thanks, these pointers were really helpful -- whether I end up doing
> something similar, or using them to work out how I want to do this in Org,
> or using other tools I was able to discover in five minutes after you'd
> pointed me to the right search keywords!
>
>
> Thank you for that link.

I would be interested in anything you come up with.

Alan


Re: [O] Audio/video file playback in org mode

2011-06-11 Thread Alan E. Davis
I'll jump in and mention a solution to an at least similar problem I hacked,
albeit incompletely, some time ago.  I baldly stole code from
"dired-mplayer" at http://www.emacswiki.org/cgi-bin/wiki/EMMS#toc10 , and
have been using the result, "dired-vlc" ever since.   The main point of this
was to play videos asynchronously, so I could continue editing, taking notes
using the relative timer of org-mode.

Two more things would make this process work better, at least for me:

   1. write a few lines into this that would open another buffer, possibly
through capture, starting the relative timer automagically.
   2. figure out how to pause the video and the timer simultaneously.

Here is the code to dired-vlc.  I am not interested in making this work for
windows, have no idea whether it would, or how to make it do so.

#+BEGIN_EXAMPLE
;;  -*- mode: elisp -*-
;; Time-stamp: <2009-01-13 14:27:47 orm>
;; AED 05 January 2009
;

(require 'org)


(defvar dired-vlc-program "/usr/bin/vlc")


(defun dired-vlc (&optional timer)
  "Asynchronously start vlc on file through dired.  If an optional
argument is given (C-u), the org relative timer is started.  This
function purports to start vlc in rc mode, to leave open the
possibility of remote control."
  (interactive "P")
  (let ((file (expand-file-name (dired-get-filename)))
ext files basename dir curr-file ;idx-file sub-file srt-file
command options)
(setq basename (file-name-nondirectory
(file-name-sans-extension file)))
(setq dir (file-name-directory file))
(setq files (directory-files dir t basename))
(delete file files)
(setq command (format "\"%s\" \"%s" dired-vlc-program "--intf rc"))
(if (y-or-n-p (format "Run command %s?" command))
(start-process "junk" nil dired-vlc-program file)))
  (if (equal timer '(4)) (org-timer-start))
)


;; end dired-vlc.el
#+END_EXAMPLE

I am interested in what you are doing, also, and I will try it out in a
month or two, after I retire and relocate.

Alan Davis

On Sun, Jun 12, 2011 at 12:00 AM, Memnon Anon <
gegendosenflei...@googlemail.com> wrote:

> Paul Sexton  writes:
>
> > brian powell  gmail.com> writes:
> >
> >
> >> * Something like this; respectively!?:
> >>
> >> [[shell:mplayer -ss 00:03:21 -endpos 00:06:54 ~/some_podcast.mp3 &]]
> >> [[shell:mplayer -ss 00:03:21 ~/some_podcast.mp3 &]]
> >> [[shell:mplayer ~/some_podcast.mp3 &]]
> >
> > The troubles with using shell commands in hyperlinks:
> > 1. Only works in the operating system and directory structure where
> >you were when you wrote the link;
> > 2. No ability to stop playback, pause, etc, unless you run the
> >program as a GUI, which means (horror!) doing something outside
> >Emacs.
>
> If you are using different setups on different operating systems, 1)
> should probably be solved in some general fashion, like setting some
> vars to important locations depending on environmentearly in your .emacs.
>
> 2.)
>[[elisp:(emms-play-file "~/tmp/video/magit.flv")]]
> or
>[[elisp:(emms-play-file (concat MYSCREENCASTSDIR "magit.flv"))]]
> or
> [[elisp:(emms-play-file (concat MYSCREENCASTSDIR "magit.flv"))][View magit
> demo]]
>
> Of course, there is no problem with setting up org to treat file links to
> mediafiles special. But given the power of org hyperlinks, I think using
> "elisp:" solves your 1.) and 2.) sufficiently.
>
> Memnon
>
>
>


[O] Long table, landscape or sideways, LaTeX PDF

2011-06-14 Thread Alan E. Davis
I have to apologize first, as I had this working at home, to some extent.
Not well.  I have to submit a printout of   grades, today, if possible, and
I've been struggling with it.   Can't find the cookbook formula!   (I would
like to use the \footnotesize feature also).  So far I've had to go through
each table, deleting long words, and deleting some fields.  WOuld rather
have some way to do it as is.

How to do this?  The table should break over two pages.  It would seem to me
that some combination of sidewaystable and longtable might do it.

Thanks in advance.  And sorry for the bandwidth.

Alan Davis


Re: [O] Long table, landscape or sideways, LaTeX PDF

2011-06-14 Thread Alan E. Davis
This is what worked TO AN EXTENT (no page breaks in table):


  (At top of org file:)
#+ATTR_LaTeX: longtable align=l|lp{3cm}r|l
#+LATEX_HEADER: \usepackage{pdflscape}

 #+LaTeX: \begin{center} \begin{landscape}
#+LaTeX: {}\begin{sidewaystable}\footnotesize

[ORG TABLE HERE]

#+LaTeX:\end{landscape} \end{center}
#+LaTeX: \end{sidewaystable}

-

No such thing as breaking across the page happened.  Neither was I able to
use longtable to do so.

Alan


Re: [O] Long table, landscape or sideways, LaTeX PDF

2011-06-14 Thread Alan E. Davis
This works.  My table was quite wide: about two landscape sheets wide, so I
was looking for a solution for width.  Technically, I guess it's only a long
table, if it's printed sideways?  Don't know if that makes sense.

Thank you for this.  Good example.

Alan

2011/6/15 Suvayu Ali 

> Hi Nick and Alan,
>
> On Wed, 15 Jun 2011 01:00:11 -0400
> Nick Dokos  wrote:
>
> > suvayu ali  wrote:
> >
> > > On Tue, Jun 14, 2011 at 7:50 PM, Alan E. Davis 
> > > wrote:
> > > > (I would
> > > > like to use the \footnotesize feature also).
> > > ...
> > >
> > > For the use of \footnotesize, you can look at the following Worg
> > > page: <http://orgmode.org/worg/org-hacks.html#sec-1_6_1>
> >
> > Actually, I don't think the trick works with longtable - at least, I
> > can't see any difference (checking the tex file shows no evidence of
> > the attributes.) And fwiw, the other trick of resetting the size
> > (http://thread.gmane.org/gmane.emacs.orgmode/42196/focus=42785)
> > doesn't seem to work either - the commands are probably very
> > different. In fact, trying to place a \footnotesize or \scriptsize
> > into the tex file was a bust - I tried a few places and either got
> > errors or no changes in size. So I don't know how to change the size
> > in LaTeX, let alone in org.
> >
>
> It works for me very smoothly. I have attached an example org file and
> the exported tex and pdf files.
>
> > Nick
> >
>
>
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>


[O] Seeking advice on timeline project

2012-07-20 Thread Alan E. Davis
I am reconstructing events during over 40 years of my life.   I have a
capture template as follows, that isn't working out well:

   ("t" "Timeline " entry (file+headline "Timeline.org" "Timeline
Incoming ") "*
   %^{Salient Event}
 %?
Captured:  %U" :prepend t  :unnarrowed t)

One would rather would like to use a the date entry (calendar display)
interface; however, in many cases, I can, at least immediately, only
remember the year, or month and year.  Suggestions would be appreciated,
how to organize such a project.   And, how to integrate a date with only a
year into a timeline, as well as month and year, and specific dates.

The answer is not obvious to me.

Alan Davis


[O] Capture template --- :empty-lines 1 results in error

2012-08-14 Thread Alan E. Davis
This may be a bug?

I have this template in my list of templates, to open the file with my
templates, so I could edit it:

   ("i" "Edit ~/org/capture-templates.2.el" plain (file
"~/org/capture-templates.2.el") "" :empty-lines 1 :unnarrowed t)

I started to get an error when running this template, and a few others.
This started somewhat recently, but I don't know exactly when.

When I removed the ":empty-lines 1" part, the template worked fine.

("i" "Edit ~/org/capture-templates.2.el" plain (file
"~/org/capture-templates.2.el") " "  :unnarrowed t)

I am pretty sure that this is not only from the "empty-lines 1 part.
Another template with this option does work ok, but has ":prepend t".

Alan Davis


[O] elisp: link type isn't working

2012-01-24 Thread Alan E. Davis
I've been using an elisp function to open an encrypted file.  I borrowed
this setup from, I think, Sacha Chua's blog.  It's worked unfailingly for
at least a couple of years, until tonight.   I keep some sensitive
information in a file, "junk.org."  when encrypted using bcrypt, the file
is renamed "junk.org.bfe."

In my init files is a little function that runs bcrypt on the file,
prompting for the password:

(defun open-encrypted-file (fname)
  (interactive "FFind file: \n")
  (let ((buf (create-file-buffer fname)))
(shell-command
 (concat "echo " (read-passwd "Decrypt password: ") " | bcrypt -o "
fname)
 buf)
(set-buffer buf)
(kill-line)(kill-line)
(toggle-read-only)
(not-modified)b)
  )

I use a file of links as a directory to some of my projects.   In this file
is a headling that stores this link (an org file):

[[elisp:(open-encrypted-file "~/WB/org/junk.org.bfe")][PassWord]]

Anymore, as of today, when I try to run this link, the following is
received:

" Symbol's function definition is void: org-in-clocktable-p"

I don't do anything with clocks.

Can someone suggest what might be going on?

Alan Davis


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

2012-02-01 Thread Alan E. Davis
I recently retired from teaching (perhaps temporarily).  I was a high
school science teacher, for the most part.   I was the odd man out in my
school district, perhaps the only one who used GNU/Linux, and on the island
where I was working/living the only computer course in the public schools
was "comptuer literacy"---a term which meant "able to use M$ Office."   [I
did present an install fest workshop, where about 15 teachers were able to
install Ubuntu GNU/Linux on their laptops, and a few may still use it, four
years or so later, for personal issues.

Given this environment, I used Free Software tools to do everything,
bucking the trend, and eventually org mode became a central tool, though
mainly in the support of teaching.   Here are a few things I have done:

  - used org-mode to collect notes and readings to output using latex
export, for handouts.
  - kept daily notes as the days went on, on student progress or issues.  I
had developed capture templates to enable the rapid capture of notes on the
fly.  Tagging made it possible for those notes to be recovered by period or
subject.   I could print a report for a meeting with a parent in about two
minutes.
  -  to capture outlines of the day to day work.   This function could have
benefited by better organization.  I could clone a date tree to write
"lesson plans" or outlines.
  - twice I used org-mode spread sheets to keep grade records and calculate
grades.  It worked fine.   Graphs could be generated.
  - Carsten's relative timer has been useful in developing notes about
videos to facilitate instruction / discussion.  It was possible to sit in
class as the videos were playing, and make notes indexed to the elapsed
time of the video.   Then, since I had often had copies of DVDs on my
computer, or showed them using a computer, I could rapidly / randomly
access any sequence by referring to my outline and time marks.  I also used
these to edit chopped up versions of a video for class review at a later
time, for which I found the tool avidemux2 a perfect one.   (I took a
course in Fellini many years ago.   The professor had a whole print, and a
chopped up one.  This is an extremely useful tool, and one for which the
relative timer is uniquely helpful.)
   - Write tests and output using latex export.  This wasn't as useful to
me as examdesign.sty formated tests in straight LaTeX.  I was not able to
put together a work flow for doing this using org-mode latex export, though
I imagine it is possible.   I could, however, make up short quizzes,
sometimes projected as beamer presentation, and the various org-mode tools
allow one to keep notes on student progress.  Again, capture templates are
the key, and tags help to search and find.  Probably the most useful here
was the ability to write questions (capture again), but I had to tweak them
by hand during export.
  - use latex export to make up rapid handouts with illustrations.
Org-mode makes this extremely easy and fast.   Too bad others in the school
district didn't seem to have time for the learning curve.
  - Rapidly prepare decently presented readings from Project Gutenberg text
of chapters of books for student reading, and, when desireable, make them
available for students as a PDF.
   - In fact, rapidly format anything textual for LaTeX output, including
outline notes for lecture.
- Rapidly produce tables of student generated data for immediate output
and feedback.  For example, we counted as a class the chirp rate of a
cricket that happened to be in the room and correclated the temperatures,
on the board.  In three minutes I could produce output for students on a
laser printer, for further discussion, and for a response assignment.
   - todo lists with capture templates to make notes on student questions
or needs for addressing later.
   - One thing that was not directly related to instruction was the ability
to take notes on student conduct and progress using a capture template.
Although this was not my favorite activity, I was required to do so, and
using org-mode I could print out a report for the school administration in
three minutes.  This was not my favorite activity.
- I developed a template to generate a memo in one minute, or less,
that wrapped selected text in a memo header, and generated a PDF.


  This doesn't seem much related to pedagogy, I'm afraid.   Mostly it
reflects my teaching style, and is pretty much focused on efficiency,  not
including the more sophisticated usages of org-mode that you will want to
incorporate into your IT courses.  I came to org-mode through my need for
an outliner.   This is by far the greatest outliner I have ever seen.


Alan Davis


Re: [O] Emacs/Org-mode configs spread over multiple accounts/machines (was: Variable settings in .emacs VS cross device portability.)

2012-02-02 Thread Alan E. Davis
My setup, while far from ideal, is working pretty well.  It does require a
modicum of manual oversight.

I have a directory, ~/WorkBench , in which all of my going work is
located.  Dozens of subdirectories including every project I have worked on
or am working on, with PDFs, etc.  In ~/WorkBench/org are some setup files:

   org-init-settings.el
   org-local-init-settings.el (included in .gitignore)
   emacs-common-settings.el   (all machines)
   emacs-local-settings.el (local machine --- included in
.gitignore)
   emacs-frame-setup-magic.el

The directory ~/WorkBench and all subdirectories are under git supervision,
so long as it stays smaller than about 3 GB.  In that case, it can be
carried around on an 8GB flash drive, and cloned on other machines, though
I've had to delete and reclone, once the repo got too large.   It could be
cloned to Dropbox if I wanted to spend money on it, and trusted it.

I really like this setup, the use of git.  However, I am using git at the
most trivial level, and perhaps there are more direct ways to do this.

The next step is to encrypt the whole thing.  I have encrypted a couple of
sensitive files using bcrypt.

Alan



On Thu, Feb 2, 2012 at 5:59 AM, Karl Voit  wrote:

> * Yu  wrote:
> > Hello!
> >
> > I was wondering if there is a possibility to make org-files fully
> > portable in behaviour (especially when exporting) between different
> > emacs installations.
>
> The Tread has turned into BIND and local variables only.  I wanted
> to add my current solution which uses a different approach.
>
> My ~/.emacs is a symlink to ~/hosts/${HOSTNAME}/emacs where
> host-specific or platform-specific configuration is stored. The
> directory ~/hosts is synchronized[1] on all of my machines and
> accounts.
>
> In ~/hosts/all/emacs.d/* I have got myorgmode.el, mycommon.el,
> myauctex.el, myedit-server.el, mypython.el, and so forth.
>
> As you can imagine, the ~/hosts/${HOSTNAME}/emacs contains a load
> command for mycommon.el which refers to all the other el files.
>
> Therefore mycommon.el and all the others are identical on all my
> machines whereas ~/.emacs contains (only few) platform-specific
> things.
>
> Maybe this is a possible attempt to overcome your problems when
> using Org-mode on different machines.
>
>  1. I am currently using Unison File Synchronizer[2] in combination
> with crond/LaunchCtl but git or something like dvcs-autosync[3]
> or even Dropbox will work too.
>  2. http://www.cis.upenn.edu/~bcpierce/unison/
>  3. http://www.mayrhofer.eu.org/dvcs-autosync
> --
> Karl Voit
>
>
>


Re: [O] Emacs/Org-mode configs spread over multiple accounts/machines (was: Variable settings in .emacs VS cross device portability.)

2012-02-02 Thread Alan E. Davis
By the way, all of these are called from .emacs.el .   Another point, I
have elected not to byte-compile the loaded elisp files in
~/WorkBench/Emacs , so they will load ok on multiple versions of emacs.

On Thu, Feb 2, 2012 at 7:16 AM, Alan E. Davis  wrote:

> My setup, while far from ideal, is working pretty well.  It does require a
> modicum of manual oversight.
>
> I have a directory, ~/WorkBench , in which all of my going work is
> located.  Dozens of subdirectories including every project I have worked on
> or am working on, with PDFs, etc.  In ~/WorkBench/org are some setup files:
>
>org-init-settings.el
>org-local-init-settings.el (included in .gitignore)
>emacs-common-settings.el   (all machines)
>emacs-local-settings.el (local machine --- included in
> .gitignore)
>emacs-frame-setup-magic.el
>
> The directory ~/WorkBench and all subdirectories are under git
> supervision, so long as it stays smaller than about 3 GB.  In that case, it
> can be carried around on an 8GB flash drive, and cloned on other machines,
> though I've had to delete and reclone, once the repo got too large.   It
> could be cloned to Dropbox if I wanted to spend money on it, and trusted
> it.
>
> I really like this setup, the use of git.  However, I am using git at the
> most trivial level, and perhaps there are more direct ways to do this.
>
> The next step is to encrypt the whole thing.  I have encrypted a couple of
> sensitive files using bcrypt.
>
> Alan
>
>
>
>
> On Thu, Feb 2, 2012 at 5:59 AM, Karl Voit  wrote:
>
>> * Yu  wrote:
>> > Hello!
>> >
>> > I was wondering if there is a possibility to make org-files fully
>> > portable in behaviour (especially when exporting) between different
>> > emacs installations.
>>
>> The Tread has turned into BIND and local variables only.  I wanted
>> to add my current solution which uses a different approach.
>>
>> My ~/.emacs is a symlink to ~/hosts/${HOSTNAME}/emacs where
>> host-specific or platform-specific configuration is stored. The
>> directory ~/hosts is synchronized[1] on all of my machines and
>> accounts.
>>
>> In ~/hosts/all/emacs.d/* I have got myorgmode.el, mycommon.el,
>> myauctex.el, myedit-server.el, mypython.el, and so forth.
>>
>> As you can imagine, the ~/hosts/${HOSTNAME}/emacs contains a load
>> command for mycommon.el which refers to all the other el files.
>>
>> Therefore mycommon.el and all the others are identical on all my
>> machines whereas ~/.emacs contains (only few) platform-specific
>> things.
>>
>> Maybe this is a possible attempt to overcome your problems when
>> using Org-mode on different machines.
>>
>>  1. I am currently using Unison File Synchronizer[2] in combination
>> with crond/LaunchCtl but git or something like dvcs-autosync[3]
>> or even Dropbox will work too.
>>  2. http://www.cis.upenn.edu/~bcpierce/unison/
>>  3. http://www.mayrhofer.eu.org/dvcs-autosync
>> --
>> Karl Voit
>>
>>
>>
>


Re: [O] Agenda TODO sorting by date

2012-03-03 Thread Alan E. Davis
I am definitely not a programmer, and for sure not the one who could guide
you on writing a sort function.  HOWEVER, emacs has a really nice facility
for doing so, if you decide you want to try that.

I had to write a program to alphabetize a lexical list in Chuukese, in an
arbitrary order other than standard english alphabetical order.  I had to
have guidance, but it was certainly possible, even for me.

Just some encouragement, but it's been many years, and i am unable to offer
more than that.

http://www.gnu.org/software/emacs/manual/html_node/elisp/Sorting.html

Alan

On Sat, Mar 3, 2012 at 8:23 AM, James Harkins  wrote:

> At Fri, 02 Mar 2012 21:48:42 -0500,
> Bernt Hansen wrote:
> > You could write a custom sorting function that parses out the date from
> > the heading and compares them.  There may be a better way to do this
> > that I'm not aware of for this.
> >
> > Set this function up in org-agenda-cmp-user-defined and
> > org-agenda-sorting-strategy to get the results you want.
>
> OK, thanks. I was starting to think it would come to that. Kind of
> surprising this isn't offered out of the box.
>
> I think I need a bit more guidance, from you or someone else.
>
> > parses out the date from the heading
>
> Is there already an org function to do this? C-h a searches on the
> following yielded nothing that seemed interesting.
>
> org.*date.*
> org.*timestamp.*
>
> > compares them
>
> I was about to make that more complicated, but actually string comparison
> should be fine for this. No worries there.
>
> I have done rather little with emacs-lisp so... this is uphill for me.
> Thanks.
>
> James
>
>
> --
> James Harkins /// dewdrop world
> jamshar...@dewdrop-world.net
> http://www.dewdrop-world.net
>
> "Come said the Muse,
> Sing me a song no poet has yet chanted,
> Sing me the universal."  -- Whitman
>
> blog: http://www.dewdrop-world.net/words
> audio clips: http://www.dewdrop-world.net/audio
> more audio: http://soundcloud.com/dewdrop_world/tracks
>
>


[O] Push a dependent TODO item on top of a depending one

2012-03-05 Thread Alan E. Davis
It just occurred to me to try to implement a method of pushing a TODO item
on top of another, in the manner of a Stack.  The item on top of the stack
is a task upon which performance of some other task depends.


I need to call someone, so I have a task that appears on my agenda, to call
him.  However,  I have just discovered that the phone number I have for
this person is not working.  I new need to find his phone number, so I can
write a new TODO task.  It would be fantastic to be able to push a TODO on
top of the dependant TODO, the task that is held up until one finds the
phone number.

Once  I have found the number, and "pop" the number finding task off the
agenda, the dependant task would appear as a high priority, active task.
rendering the TODO to CALL invisible, perhaps as a subtask,

I think there are many ways to do this.   Is it a nightmare to implement in
the fashion I have suggested?   Is it already easy to do?  The crux of the
matter is a dependent TODO is rendered invisible until some subtask TODO is
completed.

Thank you for all the ideas,

Alan Davis


[O] Mail composed using emacs --- saving a copy in an org file.

2012-03-15 Thread Alan E. Davis
I am partial to just opening a mail buffer and writing email in Emacs.
Just that.  However, it would be great to save a copy in an org file.

An emacs FAQ suggests sending a BCC or FCC to oneself.  What I want is a
copy stored in an org-mode subtree, with a convenient headline indicating
the name of the recipient and the date.

So far, I haven't gotten my head around the idea of using BABEL, and I
still like text for email. My experiments with GNUS have not been very
successful.  So far.

I apologize for the naive level of this and some of my other questions.
Though I may not be getting the maximum usefulness of all of org-mode's
features, those features I do use are awesome.   Thank you.

Alan Davis


Re: [O] problems with LaTex/BibTex

2012-03-30 Thread Alan E. Davis
I would have a use for this.  I am curious, though...

Suppose I use this as a standard init-file declaration for
org-latex-to-pdf-process .  Does that mean that bibtex will always be run,
every time, during the generation of PDFs via LaTex export?

Alan

On Fri, Mar 30, 2012 at 4:54 AM, Julian Burgos  wrote:

> Yes! That was it.  Thanks!!
>
>
> On fös 30.mar 2012 08:05, suvayu ali wrote:
>
>> Hey Julian,
>>
>> On Fri, Mar 30, 2012 at 03:41, Julian Burgos  wrote:
>>
>>> The "References.bib" is a BibTex file in the same folder as the test
>>> file.
>>>  The citations were entered using RefTex with no problem.  But when
>>> exporting to pdf, I get the following message in the minibuffer:
>>> "Exporting to PDF...done, with some errors: [undefined citations]".  The
>>> pdf produced had, of course, question marks where the citations should
>>> be.
>>>
>> Did you customise your org-latex-to-pdf-process to include bibtex? I use
>> something like this:
>>
>> (setq org-latex-to-pdf-process '("pdflatex -interaction nonstopmode %b"
>> "/usr/bin/bibtex %b"
>> "pdflatex -interaction nonstopmode %b"
>> "pdflatex -interaction nonstopmode %b"))
>>
>>
>
> --
> Julian Mariano Burgos, PhD
> Hafrannsóknastofnunin/Marine Research Institute
> Skúlagata 4, 121 Reykjavík, Iceland
> Sími/Telephone : +354-5752037
> Bréfsími/Telefax:  +354-5752001
> Netfang/Email: jul...@hafro.is
>
>
>


[Orgmode] sorting and merging files

2009-02-12 Thread Alan E. Davis
I've gotten into a bit of a bind on sorting.  A little explanation:

I've been working at keeping the ~/org directory of three machines
syncronized through a master repo on a USB flash drive.  I've made a bit of
progress, and for simple updates, it is basically working.  I still don't
grok merging conflicts.  I've finally ended up with a file with duplicates
of entries, so I thought of concatenating files, then sorting these
entries.  Each entry has a date (made from a remember template), so sorting
by date makes sense.

Ideally, one should be able to do this, and then sort with C-u C-u C-c^.
I've tried this several times, and gotten bitten almost every time.  I guess
the dates can only be sorted as text.  And duplicates are not removed.  I
read the manual, but little help was gotten there.

What do I need to know to make sorting work, and what I might be doing
wrong?

Thanks for previous suggestions.

Alan

-- 
Alan Davis

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
They are ill discoverers that think there is no land, when they can see
nothing but sea.
   Sir Francis Bacon
___
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] hyperlink to info documentation

2009-02-14 Thread Alan E. Davis
I have tried to link to a specific paragraph in an info file.  The info docs
do not mention linking with the "info" link type.  Files are linkable with
"file".

This link can link to a search inside an org file:
 file:projects.org::some words

I cannot make such a link work in an info file.  Is this possible?

An automatically generated link to an info file looks like this:
 info:org:Structure%20editing

However, the following does not work.
 info:org:Structure%20editing::sort same-level"

Is there another way to make this work?  I would like to link to specific
parts of an info file, perhaps selecting a few words to link to.

Alan

-- 
Alan Davis

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
They are ill discoverers that think there is no land, when they can see
nothing but sea.
   Sir Francis Bacon
___
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] proposal to separate org-special-ctrl-a/e into two variables

2009-02-22 Thread Alan E. Davis
I have found the behavior of the cursor at the beginning of the line to be
clumsy, and troublesome.  I cannot easily set a region, for example.

However, the special setting of ctrl-e is extremely useful.

A single variable controls these two variables, in a unified way.  This
variable also has two aliases.  The aliases are not recognized by the
functions that are affected by these variables in org.el:
org-beginning-of-line, and org-end-of-line.  As far as I can see, there
seems no reason to keep these two aliased variables as references to a
single unified variable, insofar as the underlying code is concerned.

Because, at least for me, the behaviors have sufficiently distinct
behaviors, I propose these should be separated.

I am unable to code lisp to the level of skill necessary to do the work
myself.  At some point, I would be willing to work on this as a "first off"
hack.  I cannot do so at present due to work obligations.

Alan

-- 
Alan Davis

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
They are ill discoverers that think there is no land, when they can see
nothing but sea.
   Sir Francis Bacon
___
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] MORE: Using git via USB for personal org dir and other data files

2009-02-27 Thread Alan E. Davis
Regarding the synchronizing of directories on two or more machines, using a
USB Stick.  Further questions after a bit of experimentation.

I am currently keeping two workstations up to date via a USB flash drive,
and have had, variously, both good and bad luck. Here are some questions:

1.  I understand the idea, finally, of using a "bare" repo on the fiash
drive, at least in part.  But what will I do if the bare repo fails to merge
because two versions are pushed or pulled to it from the two machines, of a
file.  I've wasted a bit of time and now have gotten "meld" installed as the
mergetool.  Still, sometimes even that doesn't work.  Today I have two flash
drives in use, one that was working fine to update from one machine, but
won't even accept a file from the other.  I have clumsily deleted the old
version from the USB drive, and copied over the other version, done git rm
 git add  and git commit -a, but the file refuses to
install.  I'm not going to ask this as a primary question, because I think I
need to just understand the underlying idea of using a bare repo, and not
editing it at all.

2.  I have had poor luck with push.

3.  For this simple usage, is it even useful to think about branches, and if
so, how should branches be used?

4.  Is it wiser to fetch than to pull?  I have seen this suggested, but
don't understand the use of fetch.


Here is a rough idea of what I think I need to do now.  Please comment on
any ommissions or problems:

At home, on my primarly workstation:
1. cd to a directory with a good tree (perhaps ~/org) already under git
control.
2. insert the USB drive (I have a label "BLUE" on my usb drive.  On my
gnome/ubuntu box, it automounts as /media/BLUE)
3. git clone --bare . /media/BLUE/org.git
4. git remote add BLUE /media/BLUE/org.git
5. ??  git push BLUE (master?)

Now at work, I am on the other workstation:
1. git clone /media/BLUE/org.git
2. can I now do this?: git remote add BLUE /media/BLUE/org.git
2. work
3. git push BLUE ???
4.

Back at home
1. git fetch BLUE ??  or git pull BLUE ??



I am confused at a couple of points here.

Much of the above I have gleaned from three posts by Bernt Hansen.  Other
sources on line include some postings on the very problem of syncing
machines using git.

Can I pull from /media/BLUE/org.git ?

Well, perhaps this is enough confusion for now.  Thanks for all the
suggestions on this list.  I think it's going to work, and I'll expand this
to other directories as well.

Alan


-- 
Alan Davis

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
They are ill discoverers that think there is no land, when they can see
nothing but sea.
   Sir Francis Bacon
___
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 crummy little popup for org keybindings help

2009-02-28 Thread Alan E. Davis
Some time ago, the idea of an instant reference card was bantered about on
the list.  I presented a file called org-help.org.  I have worked on it from
time to time, and it's changed quite a bit.  My most recent idea is to have
it available on a keystroke, completely folded, and each line would
instantly display some of the most commonly used keys for that topic, then
by opening that headline, a tree would be revealed with more detailed
keybindings.  I've played with it, and it's helpful, and I'll make it
available RSN, hoping others will find ways to make it more useful.  My
final touch would be to incorporate a link for each topic to the relevant
topics in the org-mode info manual.  What's missing is the convenience of
info mode, of being able to stuff it away with "q" and call it up again at
the same point.  That would be more convenient.  I'm unable to go forth on
that part of the quest, because I haven't gotten my head around texinfo
(yet?).

Meanwhile, I remembered a little help popup I made to remember all my
keybindings, long years ago.  Here's a quick popup to get a transient
display of some keybindings above the current line.  I didn't understand how
to wire it into org-mode-map's keybindings, so I bound it, for now, to
\C-cp.  The beauty of this gem is to be able to type the keys right away,
and they work.

Please feel free to improve it.  Maybe another two or three of these would
provide a person with his own frequently used keys.

;; org-popup-help
;;
;; Org Popup Help
;;--
(defun org-popup-help ()
  "Inserts a reminder of my org keybindings momentarily
above the current line, until the next keystroke."
  (interactive)
  (save-excursion
(momentary-string-display
 org-keys (save-excursion (beginning-of-line) (point))
 nil "Type SPC or any command to erase help.")))  ;;

(defvar org-keys
  (concat "   |
\n"
  "   |
\n"
;;;
  "  | Visibility Cycling   TABC-i \n"
  "  | Motion   C-c C-n/p / C-c C-f/b / C-c C-u
/ C-c C-j \n"
  "  | Structure EditingM-RET  /   M-L/R  /  M-S-L/R \n"
  "  | Sorting  C-c ^ \n"
  "  | Converting to headlines/removing stars C-c * \n"
  "  | Checkboxes   M-S-RET\n"
  "  | Archiving [manual]   C-c C-x a \n"
  "  | Filtering and Sparse Trees   C-c / \n"
  "  | LinksC-c l/C-c C-l \n"
  "  | TODO Items   M-S-RET C-c C-t \n"
  "  | Tags C-c C-q  /  C-c C-c  /  C-c \\n"
  "  | Properties and Column View   C-c C-x p \n"
  "  | Timestamps   C-c .  /   C-c ! \n"
  "  | *Schedule and Deadline*  C-c C-s  /  C-c C-d\n"
  "  | Clocking timeC-c C-x C-i  /  C-c C-x C-o \n"
  "  | Relative time clock  C-c C-x .  /  C-c C-x - \n"
  "  | Exporting and Publishing C-c C-e \n"
  "  | Attachments Dispatcher Commands:  C-c C-a \n"
)
  "*String displayed above current line by \\org-popup-help].")

;(define-key org-mode-map "p" 'org-popup-help)
(global-set-key "\C-cp" 'org-popup-help)
;END org-popup-help.

I'll provide it as a file as well, in case the tabs/spaces get blown away in
the mail.

Alan
-- 
Alan Davis

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
They are ill discoverers that think there is no land, when they can see
nothing but sea.
   Sir Francis Bacon
(defun org-popup-help ()
  "Inserts a reminder of my org keybindings momentarily 
above the current line, until the next keystroke."
  (interactive)
  (save-excursion
(momentary-string-display
 org-keys (save-excursion (beginning-of-line) (point))
 nil "Type SPC or any command to erase help.")))  ;;

(defvar org-keys
  (concat "   | \n"
  "   | \n"
;;;
	  "  | Visibility Cycling   TABC-i \n"
	  "  | Motion   C-c C-n/p / C-c C-f/b / C-c C-u / C-c C-j \n"
	  "  | Structure EditingM-RET  /   M-L/R  /  M-S-L/R \n"
	  "  | Sorting  C-c ^ \n"
	  "  | Converting to headlines/removing stars C-c * \n"
	  "  | Checkboxes   M-S-RET\n"
	  "  | Archiving [manual]   C-c C-x a \n"
	  "  | Filtering and Sparse Trees   C-c / \n"
	  "  | LinksC-c l/C-c C-l \n"
	  "  | TODO Items   M-S-RET C-c C-t \n"
	  "  | Tags C-c C-q  /  C-c C-c  /  C-c \\n"
	  "  | Properties and Column View   C-c C-x p \n"
	  "  | Timestamps   C-c .  /   C-c ! \

[Orgmode] Re: MORE: Using git via USB for personal org dir and other data files

2009-02-28 Thread Alan E. Davis
 Thank you Bernt (and Sebastian):

I now understand that it is necessary to pull the changes to the alternate
tree before pushing.  This will make a big difference in the future, I
believe.  It worked as advertized on the /tmp/junk experiment.

I think the other point I had missed, that would be necessary in an FAQ or
tutorial, is that it is necessary to initially clone each of the working
trees, on each machine, from the bare repo on the USB flash drive.  Then it
now makes sense to me to name that as org.git, to distinguish it as a bare
repo.  And once the working trees are cloned from there, then the org.git on
the USB drive is recognized automatically as "origin".  That point eluded
me.   And that git pull will perhaps automatically find origin.

Meld is starting to make sense too.  Thought it would be nicer to have a
tool that would be able to make simple updates from two edits on the same
file if they don't conflict.  Usually, this will not be the case.

Now, is it useful to use the switches on an ext2 formatted USB drive, as
follows?

$ git clone -l --no-hardlinks --bare . /path/to/usb/stick

Thank you again,

Alan


-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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: MORE: Using git via USB for personal org dir and other data files

2009-02-28 Thread Alan E. Davis
One more point:

May I ask for an example of a case when branching would make sense in the
context of this synchronization usage of Git?

Alan


-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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 crummy little popup for org keybindings help

2009-03-01 Thread Alan E. Davis
Will you forgive me for drifting off topic for a moment?  John Wiegley just
posted a reference to "unfuddle".  I admit I have been a bit befuddled for a
couple of hours, diving into some simple elisp.  I have no idea what
unfuddle is about, but I think I just experienced it.  Immediately after
seeing his message, I stumbled upon his "momentary.el".  Just the ticket,
because I was trying to use my crummy popup to popup a screen full of
remember templates; and that apparently cannot be done because of the
control characters in that string.

Momentary.el can do it.

Perhaps I should put this together into something more polished, and I now
think I can.  But I will share what I have done now for three screenfuls of
instantaneous popups.  Only the template popup is now done with
momentary.el.  It will be interesting if some of the keys displayed are
bindings for a more comprehensive bunch of little screens full of help
screens from the org-mode reference card.

There's more than one way to skin a cat.  This could be done either with a
properly designed event function or with my crummy interface as the first
screen.  The event function is far to be preferred, since my function is
really flakey when the cursor is at in importune place on the window.

Attached.

Alan



On Sun, Mar 1, 2009 at 8:46 AM, Alan E. Davis  wrote:

> Some time ago, the idea of an instant reference card was bantered about on
> the list.  I presented a file called org-help.org.  I have worked on it
> from time to time, and it's changed quite a bit.  My most recent idea is to
> have it available on a keystroke, completely folded, and each line would
> instantly display some of the most commonly used keys for that topic, then
> by opening that headline, a tree would be revealed with more detailed
> keybindings.  I've played with it, and it's helpful, and I'll make it
> available RSN, hoping others will find ways to make it more useful.  My
> final touch would be to incorporate a link for each topic to the relevant
> topics in the org-mode info manual.  What's missing is the convenience of
> info mode, of being able to stuff it away with "q" and call it up again at
> the same point.  That would be more convenient.  I'm unable to go forth on
> that part of the quest, because I haven't gotten my head around texinfo
> (yet?).
>
> Meanwhile, I remembered a little help popup I made to remember all my
> keybindings, long years ago.  Here's a quick popup to get a transient
> display of some keybindings above the current line.  I didn't understand how
> to wire it into org-mode-map's keybindings, so I bound it, for now, to
> \C-cp.  The beauty of this gem is to be able to type the keys right away,
> and they work.
>
> Please feel free to improve it.  Maybe another two or three of these would
> provide a person with his own frequently used keys.
>
> ;; org-popup-help
> ;;
> ;; Org Popup Help
> ;;--
> (defun org-popup-help ()
>   "Inserts a reminder of my org keybindings momentarily
> above the current line, until the next keystroke."
>   (interactive)
>   (save-excursion
> (momentary-string-display
>  org-keys (save-excursion (beginning-of-line) (point))
>  nil "Type SPC or any command to erase help.")))
> ;;
>
> (defvar org-keys
>   (concat "   |
> \n"
>   "   |
> \n"
> ;;;
>   "  | Visibility Cycling   TABC-i \n"
>   "  | Motion   C-c C-n/p / C-c C-f/b / C-c C-u
> / C-c C-j \n"
>   "  | Structure EditingM-RET  /   M-L/R  /  M-S-L/R
> \n"
>   "  | Sorting  C-c ^ \n"
>   "  | Converting to headlines/removing stars C-c * \n"
>   "  | Checkboxes   M-S-RET\n"
>   "  | Archiving [manual]   C-c C-x a \n"
>   "  | Filtering and Sparse Trees   C-c / \n"
>   "  | LinksC-c l/C-c C-l \n"
>   "  | TODO Items   M-S-RET C-c C-t \n"
>   "  | Tags C-c C-q  /  C-c C-c  /  C-c
> \\n"
>   "  | Properties and Column View   C-c C-x p \n"
>   "  | Timestamps   C-c .  /   C-c ! \n"
>   "  | *Schedule and Deadline*  C-c C-s  /  C-c C-d\n"
>   "  | Clocking timeC-c C-x C-i  /  C-c C-x C-o \n"
>   "  | Relative time clock  C-c C-x .  /  C-c C-x - \n"
>   "  | Exporting and Publishing C-c C-e 

Re: [Orgmode] org-annotation mode version 0.4

2009-03-03 Thread Alan E. Davis
Daniel:

The package you had available on your site was just the ticket for
installing org-annotation-helper.  It solved some problems.  It worked out
of the box.

I am unable to get a copy on the work site due to an absurd firewall, so I
tried to install it from the copy in the contrib directory.  It failed
miserably.  I'll trouble shoot.  The script is ok.  The package you put
together with the FAQ has been essential for me to get org-annotation-helper
working, more than once.

I wonder if this can be provided in contrib as the package, not just the
elisp file.  I am sure others will also be happier with the result.

Thank you again,

Alan


On Tue, Mar 3, 2009 at 7:09 PM, Alan E. Davis  wrote:

> Daniel:
>
> A personal thank you for the new version of org-annotation-helper.  It
> worked perfectly, out of the box.  I'm still MINIMALLY bothered by the
> unformatted text, but that's something I can deal with most of the time.
> The installation instructions were straightforward; however, a little more
> clarity would be helpful, at the point where we are working in about:config
> .  Still, although I stumbled through that, it worked the first time!
>
> I know a little more about org-mode now, so maybe I can refile the items
> more successfully.  Consumately useful.
>
> Alan
>
> On Wed, Feb 25, 2009 at 7:05 AM, Daniel M German  wrote:
>
>>
>> I want to apologize to all org-annotation-helper users out there
>> (including Carsten) for dropping the ball for the last few months.
>>
>>
>> Here is the latest version of it, with improved documentation and
>> a small bug fix b David Moffat.
>>
>> http://turingmachine.org/~dmg/temp/org-annot-0.4.tar.gz<http://turingmachine.org/%7Edmg/temp/org-annot-0.4.tar.gz>
>>
>> --
>> * Welcome to org-annotation-helper
>>
>> This package will allow you to invoke remember from your Web browser
>> and end within emacs with an org link to the current URL, including
>> its title, and the currently highlighted text.
>>
>> --
>>
>> enjoy.
>>
>>
>>
>>
>> --
>> --
>> Daniel M. German
>> http://turingmachine.org/
>> http://silvernegative.com/
>> dmg (at) uvic (dot) ca
>> replace (at) with @ and (dot) with .
>>
>>
>>
>>
>> ___
>> 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
>>
>
>
>
> --
> Alan Davis
>
> "An inviscid theory of flow renders the screw useless, but the need for one
> non-existent." ---Lord Raleigh (John William Strutt), or
> else his son, who was also a scientist.
>
> It is undesirable to believe a proposition when
> there is no ground whatsoever for supposing it is true.
>  Bertrand Russell
>
>
>


-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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] printing pdf of agenda buffer: two issues

2009-03-05 Thread Alan E. Davis
Maybe I have missed something about the use of this new feature.  And also
other attempts to print have failed. So I am posing two questions in this
post (hopefully related).  They may well be due to my setup.

1.  When I attempt to write a pdf file of a buffer of TODO items as
collected by C-c a t, the following error is reported:

 comment-normalize-vars: Command attempted to use minibuffer while in
minibuffer
  Formatting...  0%
  color-values: Wrong type argument: stringp, ("blue" :weight bold)

   There is little use in my theorizing about this.

2.  I have tried two other ways to print agenda output, using scripts posted
elsewhere.  One of them was a script from an org-mode tutorial, and the
other, perhaps, from the FAQ.  Both times, I get colored text that cannot
print.  It is pale yellow.

Perhaps these are related?

I'm sorry if I overlooked or ignored other messages about this.  I looked.

Alan


-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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] Worg: broken link for tracking habits minitutorial

2009-03-07 Thread Alan E. Davis
It looks like the link to his tutorial has been lost with the new addition
of the git/bzr tutorial that follows it, on worg.  I hope it's still
available, as I intend to implement some of the ideas in that document.

Alan

-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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-annotation mode version 0.4

2009-03-07 Thread Alan E. Davis
I have installed this new version three times.  Using your faq.html was more
straightforward.  When I tried it by hand, I failed.  I have taken the
liberty to edit a copy of org-annotation-helper.el in my git repository of
org-mode.  I have tried to clarify the explanation of how to get this tool
running.  When I figure out how to make a patch, I will attempt that.
Meanwhile, the explanation for Firefox 3 can use some clarifcation, as
follows:

;; Step 3: Browser set-up - add the protocol handlers for the
;;  "remember://" and "annotation://" URIs.
;;
;;  [Firefox]
;;
;;  To add a protocol handler (eg: remember://) in Firefox, take the
;;  following steps:
;;
;;  * For Firefox 2 and 3, type "about:config" in the location bar.
;;
;;[What happens in Firefox 2?]
;;
;;  * In firefox 3, you will will receive a warning: you will have to
;;click on "I'll be careful, I promise!"  A screen will appear with a
;;list of
;;
;;Right click on the screen anywhere to get the pop-up menu.
;;Select New --> String.

;;A window will appear titled "New String Value".
;;You are asked to "Enter the preference name."
;;In the field enter "network.protocol-handler.app.remember".
;;The window appears again, with a title "Enter String Value."
;;A text message says "network.protocol-handler.app.remember" with a
;;blue diamond to the left with a "?" (question mark).
;;Enter as the value, the name of the shell script.  In GNU/Linux is
;;unnecessary to include the path.
;;
;;  * Lather, rinse, repeat for the annotation protocol. The string to
;;add is, in this case, "network.protocol-handler.app.annotation",
;;The value will be the same  script name as above,
"org-annotation-helper".
;;
;;  [I am uncertain what the next means.  Does this mean you HAVE TO
;;   use a file selection protocol to navigate to the script?  Does it
;;   mean that you can OPTIONALLY edit the about:config list, or that
this is
;;   the appropriate next action?]
;;
;;   | In Firefox 3, when you first click on the button associated with
;;   | the bookmarklet, you should get a pop-up asking if you'd like to
;;   | associate the bookmarklet with a particular file. Use the
;;   | file-select process to navigate to the org-annotation-helper
;;   | script and select it.  You can still edit the about:config
;;   | list directly as in Firefox 2.
;;
;;  * the value should be the name of the file containing the shell
;;script, e.g. in Step 1, we called it "org-annotation-helper".
;;At least under Linux this does not need to be the full path to
;;the script.
;;
;;
;;  You should have two new entries like this:
;;
;;   network.protocol-handler.app.annotation user set string 
;;   network.protocol-handler.app.remember   user set string 
;;
;;   where  is the location where org-annotation-helper is
;;   for example, in my case it is /home/dmg/bin/org-annotation-helper

;;  See http://kb.mozillazine.org/Register_protocol for more details.
;;

I don't know the procedure for Firefox 2, but perhaps they should be clearly
differentiated, or not at all.  I, at least, need the extra clarification,
as I stumbled over the instructions every time I have installed
org-annotation-helper, version 0.3 and version 0.4.

The package you provided as an attachment to the list is far easier to
install, and less problematical.  I suggest, once again, that in contrib,
this entire package would best be included under packages.


Thank you for this package.  It works.

Alan


-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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] removal of appointments

2009-03-12 Thread Alan E. Davis
Richard:

I want to preface this with a statement of truth: I don't know what I am
talking about.

On Fri, Mar 13, 2009 at 10:34 AM, Richard Riley
wrote:

>
> I guess I was just fishing to see if someone had
> implemented something like a "make a noise property" with a sleep
> feature for example that associated a certain property with a WAV/mp3
> file and when the appointment is triggered it will play the audo file if
> appropriate.
>
>
All the same, I was able to hack together a simple little routine to start a
video in vlc from dired and also start an org-mode buffer with a timer at
the same time.

The elements that can make what you want to happen happen, do exist or could
be put together.  But you are on your own.  Just the same if you contact me
off the list I'll send a copy of what I put together (dired-vlc.el) and
maybe suggest which part would be useful for modifying to play an mp3.
Interestingly, the routines I borrowed from were designed around mplayer,
and they are simple.

As far as the trigger, I wouldn't know where to begin.

The sleep function would be possible too, but I was quite far out of my
depth even in what I had done, and up 'til now I have not gotten around to
trying to incorporate pausing into dired-vlc.el, although others have
indicated it is doable.

Alan

-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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] visiting org-remember template target files

2009-03-15 Thread Alan E. Davis
I've come to rely on org-remember for many daily purposes.  In order to be
able to readily access the target files, I've kept a set of links in a
separate file---an index, as it were.

I would find it extremely useful to have a way to access these files as
needed in the same familiar way I access the template.  The obvious solution
would be, perhaps, a \C-u prefix to the org-remember command I now have
mapped to C-c r.  However, it would be quite nice to always have an option
when calling org-remember to just visit the file without adding anything to
it.

I imagine this would be quite some work, but I throw it up as a suggestion.
If nothing else, I will set up another set of templates on a different key,
to just visit the same files with, let us say, C-c 5.

Org-remember is extremely useful.  This would make it even more so.

Alan

-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Feature Request: that the pdf saved automatically from agenda be immediately displayed

2009-03-15 Thread Alan E. Davis
The saving of a pdf is a really nice feature.  I had hacked org-agenda, I
think, to automatically do this.  However, it would be nicer if immediate
display were optional.  I don't know whether \C-u makes sense as a prefix to
saving a file with \C-x \C-w.  Perhaps not.

Perhaps this cannot even be done at all, given the utter elegance of the
solution that we are given.

Thank you for this feature.

Alan

-- 
Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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] a small remember suggestion

2009-03-21 Thread Alan E. Davis
[I am reposting this to the list, as I'd intended.  IOt turned out I'd
responded only to the OP.]


I posted regarding this problem in an earlier thread about losing relatively
large and complex *remember* buffers that I had forgotten to save (C-c
C-c).  My usage has improved, and this has been much less of a problem;
however, after another, particularly painful incident, I am again studying
this problem.   I have tested two solutions that were presented earlier, but
neither one of them specifically solves this problem.  Each of them is a
workaround, and either one is acceptable as such, but requires certain
adjustments, albeit this is only slightly annoying;  I can learn to work
around them if need be.

I  may not have elucidated the problem clearly in the original post.  I use
remember every day, and have at least 50 different templates.  I have gotten
used to saving the notes with C-c C-c each time; however, when I'm working
late, am a bit tired, or the stress from work has gotten to me, I might---as
I did yesterday---spend a couple of hours studying a problem and make a
complex table of the partition structure of my machine, only to realize
after I had changed buffers a couple of times, and used remember at least
once more, only to discover that the I had failed to save the *remember*
template buffer.  Alas!  I throw up my hands in despair, but remembering
that the digital computer, I search for a backup file.  Backups have saved
me hundreds of hours, if not days, of work in the past.  Need I say more?

The *remember* buffer is not saved or backed up in any way.  The ideal
solution would be for this buffer to be automatically backed up---to
actually exist somewhere and be backed up just as a textmode buffer is.

Carsten earlier posted an at least partial solution to this problem.
#+BEGIN_SRC emacs-lisp
(defadvice remember-finalize (before org-save-and-detach activate)
  (when buffer-file-name
(save-buffer)
(setq buffer-file-name nil)))

(add-hook 'remember-mode-hook
   (lambda ()
 (org-set-local 'change-major-mode-with-file-name nil)
 (write-file "~/path/to/remember_backup.org")
 (org-set-local 'remember-buffer (buffer-name)))
   'append)
#+END_SRC

He said he would not include it in org-mode because one would be "using
remember out of its realm by making is a work buffer instead of a quick
capture-or-note buffer."  I admit I have used a wrench as a hammer at times,
to the chagrin of the true mechanic.  I have found remember a useful tool.
I admit I haven't understood its mechanism: I have even been confused by
it.  I use the templates, but am still a novice: I have written fairly
complicated org-remember templates, but I still haven't gotten my head
entirely around what they can do.  I have used it in whatever manner seemed
useful at the time.  So it is actually helpful to see how org-remember is
intended to be used, that one should immediately file his notes.  But I have
found this tool so useful (and my wrench is always handier than my hammer!)
in my own way, that I will continue to operate in my unorthodox mode.

All's the same, I hope  a convincing argument to include this solution.  I
would second the need to include a numbered backup mechanism to cover
recursive calls to org-remember.

That being said, I have also started using "%!" in some templates.  It feels
clumsy, but for the most part solves the problem, since I seldom use the
refiling options on the remember splash header.  It doesn't work as nicely
with complicated templates with several prompts, and it is capricious: for
example, I don't understand how to force the cursor to a particular
position.

This problem happens at such a low frequency, for me, that an automatic
backup mechanism would be sufficient, especially if it recognized a second
instance of the *remember* buffer.

Something more transparent would be ideal.  I'm not sure how to organize
that the *remember* buffer would automatically be saved as a file
transparently, with numbered backups for new *remember* buffers.

Remember rocks!

Alan



On Sun, Mar 22, 2009 at 5:28 AM, Samuel Wales  wrote:

> org-remember -- use a file
>
> On more than one occasion, I have composed something using
> org-remember, and mistakenly hit a key for killing the
> buffer.  With all buffers except org-remember, this kills a
> buffer if it has no unsaved text, and asks what buffer to
> kill if it does, at which point I quit.
>
> With org-remember, the buffer has unsaved text, but it is
> not associated with a file, so it loses text.
>
> Text is probably lost upon a crash also.
>
> My suggestion is this.  Perhaps org-remember can have a file
> (this fixes the killing problem), and that file can be
> autosaved (this fixes the crash problem).[fn:4]
>
> There is one more case in which text is lost.  You might run
> org-remember from org-remember and not undo.  My existing
> proposal is to allow calling o-r from o-r.  I think that
> solves it.

Re: [Orgmode] a small remember suggestion

2009-03-22 Thread Alan E. Davis
Carsten:

This is perfect!  Thank you again.

Alan Davis


   "Study and, in general the pursuit of truth and beauty is a sphere of
   activity in which we are permitted to remain children all of our
   lives."

   Albert Einstein

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.





On Mon, Mar 23, 2009 at 1:16 AM, Carsten Dominik wrote:

> org-remember-backup-directory'
>
___
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] a small remember suggestion

2009-03-24 Thread Alan E. Davis
Wasn't going to say anything but at risk of sticking my foot in my mouth:

I learned that the convention for naming backups in Emacs is they end in ~.
Is it possible that if this is done, Emacs will automatically use the
mechanism that is available to keep a given number of old versions and a
given number of new versions?  For example, I have this in my .emacs:

(setq kept-old-versions 2)
(setq kept-new-versions 4)
(setq delete-old-versions t)

Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell




On Tue, Mar 24, 2009 at 9:29 PM, Carsten Dominik wrote:

>
> On Mar 24, 2009, at 4:29 AM, Samuel Wales wrote:
>
>  On Sun, Mar 22, 2009 at 08:16, Carsten Dominik 
>> wrote:
>>
>>> I have now added a variable `org-remember-backup-directory'.
>>> Set this to a directory, and every remember buffer
>>> you create will end up in a separate file, with date
>>> and time in the file name, so that you can always recover.
>>>
>>
>> That is perfect.  Thank you.
>>
>>  Note that, if you use remember frequently, you will create
>>> a lot of these files.  So maybe we need to think of an expiry
>>> mechanism?  Like, remove any files older than a few days?
>>>
>>
>> As one possibility, how about removing the file once the contents are
>> successfully moved to their target locations?
>>
>
> Of course!  I will do that.
>
>
>> After that,
>>
>> (when (plusp number)
>>  (message "you have %s saved remember files" number))
>>
>
> Hmmm.   When should this happen?  Not after a
> successful remember process, I'd say.
>
> - Carsten
>
>
>
>> --
>> Myalgic encephalomyelitis denialism is causing death (decades early;
>> Jason et al. 2006) and severe suffering (worse than nearly all other
>> diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
>> science.  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] a small remember suggestion

2009-03-24 Thread Alan E. Davis
What would happen then if one called remember from a previous remember
buffer, then saved it?

Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell




On Wed, Mar 25, 2009 at 2:46 PM, Samuel Wales  wrote:

> On Tue, Mar 24, 2009 at 04:29, Carsten Dominik 
> wrote:
> >> After that,
> >>
> >> (when (plusp number)
> >>  (message "you have %s saved remember files" number))
> >
> > Hmmm.   When should this happen?  Not after a
> > successful remember process, I'd say.
>
> The number will usually be zero, so that is when I would do it.  Of
> course it should be combined with "successfully saved to ...".
>
> I like it after rather than before saving because, in my view, we want
> to limit the amount of attention required between "have an idea" and
> "saved the idea".
>
> Perhaps there are other times for it, but then would work for me.
>
> --
> Myalgic encephalomyelitis denialism is causing death (decades early;
> Jason et al. 2006) and severe suffering (worse than nearly all other
> diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
> science.  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: Project definition (WAS: [Orgmode] Re: Emacs-orgmode Digest, Vol 37, Issue 121--)

2009-03-30 Thread Alan E. Davis
Hello:

On Mon, Mar 30, 2009 at 1:39 AM, Eraldo Helal  wrote:
>> An interesting question would be how to generalize this to update
>> remember templates accordingly.  Possibly the best approach would be to
>> have a defining form that would define a project in a single
>> s-expression, adding both remember templates and agenda entries, and
>> then that form could be removed all at once.  Something like
>>
>> (org-add-project newproj
>>  "A sample new project to show the greatness of org-add-project."
>>  (agenda-files (find-lisp-find-files "~/newproj/" "\.org$"))
>>  (remember-templates
>>     ))
>>

[The generic subject line made it difficult to find again]

This idea has great possibilities.  I have wanted some way to define a
project that would insert a link in a master file.

Alan


___
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] Key maps for remember?

2009-03-30 Thread Alan E. Davis
I have about used up all the letters in the alphabet on org-remember
keybindings.  Now I'm using numbers.  Is there any way to assign
sequences upon a single key?  Like a keymap?


Alan Davis

"An inviscid theory of flow renders the screw useless, but the need
for one non-existent." ---Lord Raleigh (John
William Strutt), or else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
  Bertrand Russell


___
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-fstree 0.2

2009-03-31 Thread Alan E. Davis
Together with the ability to limit the recursions, this is potentially
useful.  Thank you.

A longstanding item on my wishlist has been a Linux implementation of
an old MSDOG workalike, 4DOS with the 4dos shell.  That shell worked
alot like "dir" but it kept a field for comments.  So, with those
useless msdog 8+3 filenames, one could keep a note, and keep track of
...  Maybe you can get it.

DIred is pretty good, but I haven't found anything yet to do what I
would like.  I just tried typing notes into the org-fstree buffer of a
directory listing.  It was pretty nice, not what I want exactly, but
it could be useful in some cases.

Except for at least one thing: refreshing the directory deleted my
notes.  For example:

*** [D] [[file:/home/ulod/org/org-help][org-help]]
*** [D] [[file:/home/ulod/org/ARCHIVE][ARCHIVE]]
*** [D] [[file:/home/ulod/org/orgcard][orgcard]] Hmmm..?
*** [D] [[file:/home/ulod/org/Journal][Journal]] ???
*** [D] [[file:/home/ulod/org/plotting][plotting]]my experiments
*** [D] [[file:/home/ulod/org/LaTeX][LaTeX]]
*** [D] [[file:/home/ulod/org/Classes][Classes]] Working directory maybe
*** [D] [[file:/home/ulod/org/MEMO][MEMO]]location of memo
composition bits
*** [D] [[file:/home/ulod/org/data][data]]attachments
*** [D] [[file:/home/ulod/org/auto][auto]]
*** [D] [[file:/home/ulod/org/org-extra][org-extra]]   better to keep
the extra bits here for portability?
*** [D] [[file:/home/ulod/org/org-plot][org-plot]]gnuplot and R
plotting, I think


Now when I refresh:
*** [D] [[file:/home/ulod/org/Classes][Classes]]
*** [D] [[file:/home/ulod/org/MEMO][MEMO]]
*** [D] [[file:/home/ulod/org/data][data]]
*** [D] [[file:/home/ulod/org/auto][auto]]
*** [D] [[file:/home/ulod/org/org-extra][org-extra]]
*** [D] [[file:/home/ulod/org/org-plot][org-plot]]

Do you suppose this could be solved easily?

Thanks again,

Alan Davis

"An inviscid theory of flow renders the screw useless, but the need
for one non-existent." ---Lord Raleigh (John
William Strutt), or else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
  Bertrand Russell





On Mon, Mar 30, 2009 at 4:39 PM, Carsten Dominik
 wrote:
> Should this be in contrib/lisp/ ?
>
> - Carsten
>
> On Mar 29, 2009, at 7:10 PM, Sebastian Rose wrote:
>
>>
>> Thanks Andreas, this is great. Especially the filtering and
>> non-recursive behaviour.
>>
>>  Sebastian
>>
>> Andreas Burtzlaff  writes:
>>>
>>> Hello Sebastian,
>>>
>>> new version 0.2 available.
>>> http://www.burtzlaff.de/org-fstree/org-fstree.el
>>>
>>> On Sun, 29 Mar 2009 03:57:36 +0200
>>> Sebastian Rose  wrote:
>>>
 Andreas Burtzlaff  writes:
  * a customizable list of directory names to skip.
   '("CVS" "_MTN" ".git" ".hg" "RCS") might be a good default.
  * Add directory names to the skip list
   #+begin fstree -sd (nogo notes)
  * Skip files by suffix
   #+begin fstree -sf (.jpg .gif ...)
>>>
>>> Both implemented with the new options :exclude-regexp-name and
>>> :exclude-regexp-fullpath

 From the documentation:
>>>
>>>    - :exclude-regexp-name  , exclude
>>> file/directory names matching either
>>>                                                 of the given regexp
>>> expressions
>>>      Examples:
>>>        :exclude-regexp-name (".*\\.pdf$" ".*\\.zip$"), excludes
>>> files/directories ending with either ".pdf" or ".zip"
>>>        :exclude-regexp-name ("^\\.git$") , excludes files/directories
>>> named ".git"
>>>
>>>    - :exclude-regexp-fullpath , same as
>>> :exclude-regexp-name but matches absolute path to file/directory
>>>
>>>
  * Maybe require the option `-r' to be recursive.
>>>
>>> Is implemented as an option now:
>>> :non-recursive t
>>>
  * Add a slash to the directory names to make the list more
   readable. As an alternative, I could imagine to use folder icons
   like speedbar, or use headlines without links for directories (the
   links all look the same, wether they are headlines or leaves).
>>>
>>> I added  "[D]" for directories and "[ ]" for files in the headline.
>>> While that looks quite nice imho, I'm still looking for a more appealing
>>> formatting for the backlinks.
>>> I've tried to add the backlinks as properties "Link1", "Link2",... , but
>>> links are shown as text in the column view.
>>>
>>> Use column view for the links (EXPERIMENTAL):
>>> *** Test Tree
>>>   :PROPERTIES:
>>>   :COLUMNS:  %40ITEM %Link1 %Link2 %Link3 %Link4
>>>   :END:
>>>
>>> #+BEGIN_FSTREE: ~/tmp/ :non-recursive t :links-as-properties t
>>>
>>> Any ideas?
>>>
>>> Andreas
>>>
>>
>> --
>> Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
>> Tel.:  +49 (0)511 - 36 58 472
>> Fax:   +49 (0)1805 - 233633 - 11044
>> mobil: +49 (0)173 - 83 93 417
>> Email: s.r...@emma-stil.de, sebastian_r...@gmx.de
>> Http:  www.emma-stil.de
>>
>>
>> __

[Orgmode] saving pdf files from agenda: color mangling revisited

2009-04-06 Thread Alan E. Davis
Some time ago I posted a query about a problem I have been having with
agenda: that when I save pdf files using the amazing new facility to just
save using (C-u) C-x C-w  and naming the file *.pdf .  Noone else seemed to
have the exact same problem, so I trashed almost all of the color and face
customizations in my .emacs etc.

The basic problem was that the main text was not visible either in the
display or when printed.  When I removed all of the painstaking
customizations of color, and don't use color-theme-select, I can get a
printable pdf.  The tags and todos faces seem ok, and print in colors that
work.  But as soon as I try to mess around with colors again, these pdfs are
unworkable again.

My work style involves the use of several emacs frames, often with various
projects open in different frames, or for some complicated projects, various
parts open in different frames.  I was able to get a kludge working almost
perfectly, some years ago, to use a different background color of each newly
opened frame.  That's now out the window, so I'd like to explore the reasons
I cannot seem to just get a black on white text, for example for the text
parts of todos (except TODO keywords and tags.)

I don't expect much, and I'll keep experimenting.   But perhaps I can ask
once again whether anyone has any insight into why this ought to be the
case.  It seems persistent.  I have had to get very basic with any colors.
Not that I really need to use a gaudy color scheme, but easy differentiation
of frames is crucial.

Thank you for any ideas.

Alan
___
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] coloration of faces in pdfs from saving an agenda buffer

2009-05-14 Thread Alan E. Davis
I have posted on this problem several weeks ago: when I save an agenda
buffer with the brilliant C-u C-x C-w method (naming a file .pdf), I
have not been able to produce a pdf that is readable unless the foreground
color is dark.  When exporting a pdf from an org-mode buffer, the text is
normally black.  Not in this case, however.

I have been pulling my hair out for quite a while about this.  I have had to
completely alter my coloration pattern of emacs to use this facility.

Can I incorporate a temporary selection of a different color-theme-* or a
neutral coloring scheme into the code that produces that PDF by the C-u C-x
C-w method?

I removed all manner of coloration, to get this working at all.  Well, I
just bought a monochrome laser printer, and even then, the light colored
foreground-color (like yellow) print in an illegible shade of light gray.

What have I been doing wrong?  Any clues?

Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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] Exporting org to LaTeX to PDF: headings do not convert to sections

2009-05-21 Thread Alan E. Davis
An outline, when exported as PDF, shows no sections.  When exporting to
LaTeX, the following message is received:

   ERROR: LaTeX Error: Too deeply nested.

   --- TeX said ---

   See the LaTeX manual or LaTeX Companion for explanation.
   Type  H   for immediate help.
   ...

   l.110 \begin{itemize}

   --- HELP ---
   There are too many list-making environments nested within one another.
  How many levels of nesting are permitted may depend upon what computer
   you are using, but at least four levels are provided, which should be
   enough.

When I am able to clear out a couple of levels of /begin{itemize}, LaTeX
does compile, and produces a file with sections as expected.

Is there a solution, or something I ought to know?

I have tried to set some options, like sec:5, in the outline, but to no
effect.  In the PDF, instead of sections with numbers, one finds several
stars, as though this were an ascii export.

Thank you for any advice.


Alan Davis

It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
 Bertrand Russell
___
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] Exporting org to LaTeX to PDF: headings do not convert to sections

2009-05-21 Thread Alan E. Davis
 Thank you for the response.


> On May 21, 2009, at 4:27 PM, Carsten Dominik wrote:
>
>>
>> The only thing you can do in Org is to increase the number of headline
>> levels to the maximum possible:
>>
>> #+OPTION H:5
>
>
This doesn't work for me.


>
>> is I think the maximum you can get.  You cal also create a
>> LaTeX class with more headline leves and push H even further.
>> I believe there are some clases which provide at least subsubparagraph.
>>
>


>
>> If you have a good idea how to represent deeper levels in LaTeX, maybe we
>> can do something clever in the LaTeX exporter.
>>
>
??


>
>>
>>
> I just realize that your question provides the answer to a question
> I had for a long time:  Why did Bastien implement lower
> levels in the LaTeX export as {description} lists instead of
> {itemize} lists.  Now I know the answer:  Because the number of levels
> in a description list is not limited.
>
> I recently changed Bastien's code to use itemize instead, for
> consistence with HTML export.  Fortunately I left the old code
> in, with a customization option.  Please try:
>
> (setq org-export-latex-low-level 'description)
>

So far, this doesn't solve my problem.  Should I then use description lists
for all outline entries?


I don't understand why  I  do not see "section" or "subsection", and the
sections often come out with bare stars.  Is this also because the number of
levels has been exceeded?

Thank you again.  This is the first limitation of LaTeX I have not seen an
immediate way around.



Alan
___
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: Exporting org to LaTeX to PDF: headings do not convert to sections

2009-05-23 Thread Alan E. Davis
This solved my problem also.  Thank you!

Alan Davis

"An inviscid theory of flow renders the screw useless, but the need for one
non-existent." ---Lord Raleigh (John William Strutt), or
else his son, who was also a scientist.
___
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: Sourceforge community award

2009-06-13 Thread Alan E. Davis
I feel compelled to add my 0.02$ to this discussion.  I wrote the following
down as answers to the two questions posed by the Sourceforge
representative.   I am not a developer, but a semi-knowledgable user.

Org-mode has truly changed the way I do everything.  The following points
represent all of 5 minutes of effort.  There is no way any answer to these
questions can be compressed into 140 words, much less 140 characters.

   1. Our project is:: a multifacted utility outliner/todo and agenda
organizer/notetaking/supermacro publishing system, in a dynamic
collaborative state of development that renders it simple and useful, while
riding at the cutting  edge of technology.
   2. We should win because::
  - attracts many people from various walks of life
  - the development model is responsive to the needs of users at
all levels
  - OM is immediately intuitively useful, yet has such depth even
old timers have not mastered many aspects
  - many users are captivated by the utilitarian nature of org-mode

Perhaps all this is far off the mark.

Alan Davis

"Pollution is nothing but the resources we are not harvesting. We allow them
to disperse because we've been ignorant of their value."
  --- Buckminster Fuller
___
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] Change line spacing for lists for LaTeX export

2009-06-18 Thread Alan E. Davis
I need to print outlines in a more compact form than LaTeX lists ordinarily
provide.  I often have used the paralist package, although it conflicts with
some other packages.  How can I alter the line spacing for the lists
directly, for export?

I found this suggestion, and I was going to use #+LATEX_HEADER:, but then it
occured to me that I don't have a way to specifiy that "my_enumerate" would
be used instead of "enumerate".

This is the code I found on line:

%
% this makes list spacing much better.
%
\newenvironment{my_enumerate}{
\begin{enumerate}
  \setlength{\itemsep}{1pt}
  \setlength{\parskip}{0pt}
  \setlength{\parsep}{0pt}}{\end{enumerate}

}

Thank you for any suggestions.


Alan Davis

"Pollution is nothing but the resources we are not harvesting. We allow them
to disperse because we've been ignorant of their value."
  --- Buckminster Fuller
___
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


  1   2   3   >