Re: [O] [RFC] Change visibility for bracket links

2016-10-05 Thread David A. Gershman


On 10/05/2016 03:26 PM, Nicolas Goaziou wrote:
> Hello,
>
> "David A. Gershman" <dagersh...@dagertech.net> writes:
>
>> Not bad, but could it be customizable via variable giving the user the
>> choice?
> Thank you for your feedback.
>
> I guess we could introduce a variable to let users shoot them in the
> foot, but is there any incentive to do so? I mean, the clutter is
> minimal, and the current state can be very annoying at times (ever tried
> to start a buffer with a bracket link?).
>
>
Actually, no I haven't. :)

I have no problem with the brackets, I just think they "break up" the
flow of reading we're familiar with.  Dare I say many people are use to
a web-like experience when having hyper links in text.  From your
description, the existence of the brackets are more for precise edits
without having to fudge with point.  I have fallen victim to that, but
admit, I prefer "clean" links.

If you do add the variable, by all means, have the new [format] be the
default.  Let people like me do the additional work of changing their
config.  It gives us a chance of being the geniuses who know how to help
others if/when they ask on the list. *evil laugh*


--David



Re: [O] [RFC] Change visibility for bracket links

2016-10-05 Thread David A. Gershman
Not bad, but could it be customizable via variable giving the user the
choice?


>On October 5, 2016 8:40:08 AM PDT, Nicolas Goaziou
><m...@nicolasgoaziou.fr> wrote:
>>Hello,
>>
>>I'd like to make the following change to bracket links display (i.e.,
>>when `org-highlight-links' contains `bracket', which is the default).
>>
>>Basically, I want to leave a visible pair of brackets around the link,
>>i.e.,
>>
>>  [[uri][description]]
>>
>>is displayed as
>>
>>  [description]
>>
>>instead of
>>
>>  description
>>
>>and
>>
>>  [[uri]]
>>
>>is displayed as
>>
>>  [uri]
>>
>>instead of
>>
>>  uri
>>
>>The rationale behind this suggestion is that editing a mostly
>invisible
>>link is unintuitive when point is at the boundaries of its visible
>>part.
>>
>>More precisely, in the following visible part of a link
>>
>>  description
>>
>>if point hits "d" from the right, changes happen in the description of
>>the link, but if point comes from the left, changes happen before the
>>link. 
>>
>>I guess I could get used to it, but sometimes, the link happens to be
>>at
>>column 0. In this case, the only way to "come from the left" is to
>move
>>to the previous line and go past the newline character. This is, IMO,
>>very annoying, notwithstanding the fact that it is impossible to
>>realize
>>at the beginning of the buffer.
>>
>>Leaving a pair of brackets, OTOH, disambiguates the situation. Editing
>>before the opening bracket makes changes before the link. Conversely,
>>editing after the former makes changes to the uri or the description,
>>whichever is displayed.
>>
>>The cost a little more visual clutter, but it seems very acceptable to
>>me. I attach a quick patch for testing.
>>
>>Feedback welcome.
>>
>>Regards,

-- 
David A. Gershman, CISSP
dagersh...@dagertech.net



Re: [O] Best diagram, image software?

2016-10-04 Thread David A. Gershman
Honestly, the sky is the limit.  I agree with what everyone else is
saying, it depends on the diagram, your skill level, comfort level,
etc.  Personally, I export to HTML, not LaTeX, plus I'm more
old-school.  I just use Perl w/GD to make many of my images.  The PNG
export is easily viewed/inserted into my .org files and I can include
the code in my .org files as well if I choose.

Point is, any programming language can also be used to generate images
as well.  Ditaa, PlantUML, GnuPlot, etc, help do the job faster for
specific types of data/drawings.  Anything outside the box (no pun
intended), you need something more "arbitrary" like LibreDraw, GD, etc.


On 10/04/2016 06:54 AM, Peter Davis wrote:
>
> On Tue, Oct 4, 2016, at 09:11 AM, Lawrence Bottorff wrote:
>> I know lots of you use Emacs and org mode to prepare scholarly books
>> and papers, either doing the HTML or, more probably, the Latex
>> export. Question: Let's say I want to produce a math text with
>> Emacs/org-mode/Latex. What is the best way to make diagrams and
>> images? I've seen things like Inkscape and LibreOffice Draw. But then
>> there is Gnuplot and Tikz. Yes, what Tikz does seems optimal, but the
>> learning curve is a year's sabbatical. Just wondering what you people
>> are using to do your images.
>
> I think it really depends on what kinds of diagrams and images you're
> trying to use. I've been using embedded dot (GraphViz) diagrams with
> org for a number of years, and I find it fantastically helpful for
> things like graphs (nodes connected by arrows, optionally all
> labelled), data structure diagrams, etc. ... the basic boxes and lines
> kind of drawing.
>
> I also just discovered ditaa, which seems also good for boxes and
> lines, but with more freedom (and more work to edit the input).
>
> I've also used PlantUML for modelling diagrams.
>
> I know others are using embedded R code to get data visualization
> graphics automatically.
>
> This page gives some examples:
> http://ehneilsen.net/notebook/orgExamples/org-examples.html. There
> should be an authoritative page on graphics formats, but I'm not aware
> of one.
>
> Most of these use separate packages to create the graphics, but there
> are hooks in org to call the external programs and include the results
> in the document.
>
> -pd
>
> --
>   Peter Davis
>   www.techcurmudgeon.com
>



Re: [O] org-info.js Clobbering my CSS

2016-10-02 Thread David A. Gershman
Bit more info...

outline-2 and 3 get clobbered.  Beginning with "outline-text-3" I seem
to be able to view my formatting just fine.

So, to view "slides" it seems Org-Info.js utilizes "outline-2,3".  I've
browsed the source code but am not a JS expert and didn't find anything
obvious.

If anyone has any ideas how to style outline-2,3 while in, I think,
'info' mode, I'd appreciate it.

Thx.

BTW, if I toggle 'info' and 'plain', plain *does* show the styling.

On 10/02/2016 05:27 PM, David A. Gershman wrote:
> Hello All,
> 
> I'm creating some styling for class '.outline-2' and when I view my file
> w/o Javascript, it styles just as expected.  But w/org-info.js, my
> styling is lost.
> 
> Anyone know how to style these classes (outline-N) without having
> "org-info.js" clobber it?
> 
> For now, I'm just trying to indent:
> 
>   .outline-2 {
>   margin-left: 1%;
>   background: #ccff99;
>   }
> 
> The background color was just to confirm (in an obvious fashion) is was
> the Javascript.  FWIW, I removed the "#+INFOJS_OPT:..." line and the
> style was fine as well.  So unfortunately, it is Org-Info that's
> clobbering the styling.
> 
> 
> --dag
> 



[O] org-info.js Clobbering my CSS

2016-10-02 Thread David A. Gershman
Hello All,

I'm creating some styling for class '.outline-2' and when I view my file
w/o Javascript, it styles just as expected.  But w/org-info.js, my
styling is lost.

Anyone know how to style these classes (outline-N) without having
"org-info.js" clobber it?

For now, I'm just trying to indent:

.outline-2 {
margin-left: 1%;
background: #ccff99;
}

The background color was just to confirm (in an obvious fashion) is was
the Javascript.  FWIW, I removed the "#+INFOJS_OPT:..." line and the
style was fine as well.  So unfortunately, it is Org-Info that's
clobbering the styling.


--dag



[O] Gmane search and link

2016-10-02 Thread David A. Gershman
Any word on _http://news.gmane.org/gmane.emacs.orgmode_?  I'm getting a
"Page Not Found" error and http://news.gmane.org returns the same.

Going to _gmane.org_ and searching for "orgmode" or "org-mode", just
gets me a notice about Gmane not being fully back.

Perhaps OrgMode's page (http://orgmode.org/worg/org-mailing-list.html)
should have Gmane Search and form removed (or disabled) for the time
being?  Only the archive
(http://lists.gnu.org/archive/html/emacs-orgmode/) seems searchable at
this time.


--dag



Re: [O] Turn off #+BEGIN_EXAMPLE conversions?

2016-09-23 Thread David A. Gershman
I ended up doing that but then had to write the

   
   

portion as well to keep the consistent look and feel.  So I was just
wondering.

Unfortunately, my attempt to keep all my course material in a single Org
file for simplicity is turning difficult.  Not just for this reason
(having to write /a lot/ of HTML due to the complexity of existing
notes), but I'm already over 3500 lines and haven't even started
styling/formatting or adding Babel-based created images.  Drat.

For anyone considering the same (porting existing web pages to Org),
I've notice this about Org HTML export: it does a great job for
documentation-type web pages or even simple presentations.  But if you
have complex pages you're trying to port to Org (nested tables,
horizontally arranged entities, pervasive colors), expect to spend some
time either:

  1) Bending Org to what you can and then probably having raw HTML
 inserted in several areas, or
  2) Seriously re-thinking how you present the information at hand.

Thx.  Now on to styling/formatting...


On 09/22/2016 11:22 PM, Eric S Fraga wrote:
> On Thursday, 22 Sep 2016 at 21:56, David A. Gershman wrote:
>> Is there a way/option to disable this conversion for that specific
>> block?  Ex:
>>
>> #+BEGIN_EXAMPLE :nointerpolation
>>   T = X + Y1
>> #+END_EXAMPLE
> 
> Maybe you could write the HTML directly using
> #+BEGIN_EXPORT HTML
> ...
> #+END_EXPORT
> 



[O] Turn off #+BEGIN_EXAMPLE conversions?

2016-09-22 Thread David A. Gershman
Hello,

I have some text in an EXAMPLE block but on HTML export '<' and '>' are 
converted to their '&' equivalents.  Is there a way to turn this off on a 
per-instance basis?

For example, I have:

#+BEGIN_EXAMPLE
  T = X + Y1
#+END_EXAMPLE

and I'd like the '1' to be subscript.  But when I write:

#+BEGIN_EXAMPLE
  T = X + Y1
#+END_EXAMPLE

obviously the'<' and '>' are converted to  and .  "Y_1" also won't 
work. 

Is there a way/option to disable this conversion for that specific block?  Ex:

#+BEGIN_EXAMPLE :nointerpolation
  T = X + Y1
#+END_EXAMPLE

This would let the browser apply the  even though it's in a  
block.

Thanks.
-- 
David A. Gershman, CISSP
dagersh...@dagertech.net



Re: [O] Babel Export - Getting asked for coding system

2016-09-22 Thread David A. Gershman
Thank you for the explanation.  It turns out I did find a work-around which is 
exactly what you mentioned.  The only difference is instead of specifying the 
file name twice, I was able to get it only once and use the 'file' option to 
:results:

#+BEGIN_SRC perl :results output file :exports results :var fname=image.png
  use GD;
  my $image = build_pic();
  open( F, ">$fname" );
  binmode F
  print F $image;
  close( F );
  print $fname;
#+END_SRC

As you say, this uses Perl to output the file but with the 'file' option to 
":results", Org expects a filename as the output result, I only need specify 
the filename once, and Org will still create a link for the results section:

#+RESULTS:
[[file:image.png]]

Thanks again for your help and info!

--dag

On September 22, 2016 9:02:45 AM PDT, Aaron Ecay <aarone...@gmail.com> wrote:
>Hi David,
>
>The way you have this code set up, perl will print a string to its
>stdout.  Emacs will read that string into a buffer, then write it to a
>file.
>
>It would be simpler to write the file directly from perl.  Note that
>this will require specifying the file name twice (in the :file header
>and in the perl code).  This is because ob-perl does not support the
>:results graphics syntax (which could be classed as a wishlist-type
>bug).

-- 
David A. Gershman, CISSP
dagersh...@dagertech.net



Re: [O] How to use org mode shell with ssh?

2016-09-22 Thread David A. Gershman
I'm not familiar with remote execution like this, but are you specifying
/zsh/ on the Windows side or is it somehow inherently being assumed for
the remote?  A quick little hack to try may be to copy the /zsh/
executable on Windows to /ash/ and see if it fools the remote side.

On 09/22/2016 07:00 AM, Colin Baxter wrote:
> On Thu, Sep 22 2016, Xi Shen wrote:
>
>> Instead of using ssh, I tried with scp. This time I got a different error.
>>
>> #+BEGIN_SRC shell :dir /scp:openwrt:/mnt/sda1
>> ls -al
>> #+END_SRC
>>
>> The error, I think, is from the remote end.
>>
>> /bin/sh: /bin/zsh: not found
>>
>> Clearly, I am using zsh on my Windows, but my remote OpenWRT system only has 
>> ash installed. Is
>> there's way to specify the shell to use on the remote end?
>>
> I can't help you here. I've never used openwrt. All I can suggest is to
> search openwrt documentation or try with cgywin.
>
> Good luck.



[O] Babel Export - Getting asked for coding system

2016-09-21 Thread David A. Gershman
I have a block of Perl using the GD library to generate a PNG:

#+BEGIN_SRC perl : results output :file output.png :exports results
  # code to generate png
  print $image -> png();
#+END_SRC

When I export, I get a buffer with the raw PNG data and the question (in the 
mini-buffer):

Select coding system (default raw-text):

Hitting enter will then continue as expected.

Is there a way to specify just dumping the result out to the file without 
asking the question?  Adding 'raw' to ":results" doesn't do it.

--dag
-- 
David A. Gershman, CISSP
dagersh...@dagertech.net



Re: [O] Disable org-babel-inline-result-wrap per inline code?

2016-09-21 Thread David A. Gershman


On 09/21/2016 04:49 AM, Adam Porter wrote:
> "David A. Gershman" <dagersh...@dagertech.net> writes:
>
>> Given the following line:
>>
>> * Date: src_perl[:results output :exports none]{print 2016;}
>>
>> The result '2016' is surrounded by '=' so that HTML export results in
>>  tags surrounding
>> the '2016'. 
>>
>> According to the manual section 14.5, 'org-babel-inline-result-wrap'
>> defines how the results are wrapped. Executing a (print
>> org-babel-inline-result-wrap), I get:
>>
>> {blank line}
>> =%s=
>> =%s=
>>
>> so I attempted the following:
>>
>> * Date: src_emacs-lisp[:exports none]{(setq
>> org-babel-inline-result-wrap "")} src_perl[:results output :exports
>> none]{print 2016;} src_emacs-lisp[:exports none]{(setq
>> org-babel-inline-result-wrap "=%s=")}
>>
>> in the hopes of temporarily disabling the '=' wrapping. Sadly no luck.
>>
>> I don't want to globally, or even for the whole buffer turn off the
>> '=%s='...just on a case-by-case basis.
> Hi David,
>
> I haven't done anything quite like this in Org before, but I think maybe
> Org macros would do what you need:
>
> http://orgmode.org/manual/Macro-replacement.html
>
> According to that, "Macro expansion takes place during the very
> beginning of the export process."  So it should be easy to write a macro
> that evaluates to a date in the format you need, and it should take
> effect when you export it to HTML.  At least, that's what it sounds like
> to me.  Please let me know what you find out.  :)
>
That's actually how I'm doing it, but I'm not fully up on how macros
work short of just being text replacements.  Currently, at the top of my
file, I have:

#+MACRO: gendate src_perl[:results output]{print ($1*5);}
# Where 'print ($1*5);' will later be replaced with a perl function that
takes the first day of class and an integer
# ex:  /print find_date( '20160926', 6 );/ # 6 = Sixth lecture day,
output: "6, Oct 12, 2016" assuming MW class.

and in the org file, I can have headlines:

* Day {{{gendate(6)}}}
...
* Day {{{gendate(10)}}}

and so on.  During export, the result desired is:

   /Day 6, Oct 12, 2016/
{etc.}

FWIW, Eric had the solution:

#+MACRO: gendate src_perl[:results output _/*raw*/_]{print ($1*5);}

Thank everyone!

--dag

P.S. I should start a blog with all I learn on this.  /Someone/ could
benefit from my struggles. :)




Re: [O] Inline HTML?

2016-09-21 Thread David A. Gershman

On 09/21/2016 12:15 AM, Christian Moe wrote:
> David A. Gershman writes:
>
>
>> My org file has:
>>
>> This is line one.
>> This is line two.
>>
>> but the HTML export makes them different paragraphs...
> Does it? If they're not separated by a blank line, the exporter should run 
> them
> together into one paragraph. Mine does.
Yes, you're correct.  My apologies, I misspoke.
>
>> However, a separate portion of my file has a long line and I
>> do /not/ want a new paragraph, just to force a :
> Quoting HTML is one solution (as you've already discovered), but more
> simply, you could do:
>
>   
>   This long line starts here \\
>   and continues here.
>
>
> Yours,
> Christian
>
Nice!  Thank you!  That's much cleaner!

--dag



Re: [O] Disable org-babel-inline-result-wrap per inline code?

2016-09-21 Thread David A. Gershman
Perfect!!  Thank you!!

I saw this option in the Manual (14.8.2.2) under /Format/, but it said
it "The results are interpreted asraw Org mode code..." so it didn't
click the results would "left alone".

Thanks again!

On 09/21/2016 12:11 AM, Eric S Fraga wrote:
> On Wednesday, 21 Sep 2016 at 06:07, David A. Gershman wrote:
>> Given the following line:
>>
>> * Date: src_perl[:results output :exports none]{print 2016;}
> How about 
>
> * Date: src_perl[:results output raw]{print 2016;}
>
> ?
>



[O] Disable org-babel-inline-result-wrap per inline code?

2016-09-21 Thread David A. Gershman
Forgive my several questions/emails.  I'm working on getting lecture
notes ready for next week and thus am running into several questions
with Org HTML Export.  Unfortunately, my searches typically result in
manual page hits, but my problems seem to be a-typical.  So...

Given the following line:

* Date: src_perl[:results output :exports none]{print 2016;}

The result '2016' is surrounded by '=' so that HTML export results in
 tags surrounding
the '2016'. 

According to the manual section 14.5, 'org-babel-inline-result-wrap'
defines how the results are wrapped.  Executing a /(print
/org-babel-inline-result-wrap), I get:

{blank line}
=%s=
=%s=

so I attempted the following:

  * Date: src_emacs-lisp[:exports none]{(setq
org-babel-inline-result-wrap "")} src_perl[:results output :exports
none]{print 2016;} src_emacs-lisp[:exports none]{(setq
org-babel-inline-result-wrap "=%s=")}

in the hopes of temporarily disabling the '=' wrapping.  Sadly no luck.

I don't want to globally, or even for the whole buffer turn off the
'=%s='...just on a case-by-case basis.

Any ideas?

--dag

P.S.  In reality, 2016 will be replaced with a function call which takes
an integer and converts it to a full blown date based on a starting
point.  Thus, the headlines will result in "Date: September 20, 2016"
where each date is different based on the integer.  This will allow me
to set the starting date at the top of the .org file and all the
date-based headlines can be computed.


Re: [O] Inline HTML?

2016-09-20 Thread David A. Gershman
Finally!  Found the answer in 12.6.5 of the manual:

Here is line the long line */@@html:@@

/*I had tried the '@@' but did not put the "html:".  Hope this helps
someone else.

--dag

On 09/20/2016 05:28 PM, David A. Gershman wrote:
> I'm struggling trying to get an .org file exported and showing how I
> typically structure my HTML results.  At this point, I'm trying to
> figure out how to get a "" inserted to force continuation on the
> next line.
>
> My org file has:
>
> This is line one.
> This is line two.
>
> but the HTML export makes them different paragraphs...which is what I
> utilize.  However, a separate portion of my file has a long line and I
> do /not/ want a new paragraph, just to force a :
>
> This is a long line for which I want to simply, at some point,
> start the rest on the next line.  Not a separate paragraph.
>
> With Babel, we can do things like /src_perl{#code}/ for inline code
> execution, but what about substitutions like HTML where code isn't
> executed?
>
> TIA.
>
> --dag



[O] Inline HTML?

2016-09-20 Thread David A. Gershman
I'm struggling trying to get an .org file exported and showing how I
typically structure my HTML results.  At this point, I'm trying to
figure out how to get a "" inserted to force continuation on the
next line.

My org file has:

This is line one.
This is line two.

but the HTML export makes them different paragraphs...which is what I
utilize.  However, a separate portion of my file has a long line and I
do /not/ want a new paragraph, just to force a :

This is a long line for which I want to simply, at some point,
start the rest on the next line.  Not a separate paragraph.

With Babel, we can do things like /src_perl{#code}/ for inline code
execution, but what about substitutions like HTML where code isn't executed?

TIA.

--dag


[O] Captioning arbitrarily on HTML export?

2016-09-18 Thread David A. Gershman
Hello,

I have an HTML block:

   #+Caption: Diagram Caption
   #+Label: fig:diacap
   #+begin_html
 
  
   
   function drawme() {
  // code to draw on canvas object
   }
   
   #+end_html

and was wondering if there was a way to get an Org Export caption
generated?  According to the manual:
   
"12.9.10  Labels and captions in ODT export
  You can label and caption various category of objects—an inline
image, a table, a LATEX fragment
  or a Math formula—using #+LABEL and #+CAPTION lines."

While this is for ODT export, I've seen example online with people
putting captions on in-line images:

#+Caption: A pretty picture
#+Label: fig:ppic
[[file:path/to/image.jpg]]

But as you can see, I'm using JS to draw on a canvas and was wondering
if OrgExport could generate the captions.  I could always generate the
images via some other language and generate the file to do the
[[file:path/to/image.jpg]] method, but just thought I'd inquire first.

Thanks!

--dag




Re: [O] Need help with HTML export custom postamble

2015-08-31 Thread David A. Gershman
So I finally was able to test out the C-c C-c.  It did ask me if I
wanted to apply and I said yes.  When I exported the file, my postamble
(as specified in the variable) was /not/ shown...it was still the default.

Strangely, when I did C-c C-c, Emacs came back with this:

> The local variables list in syllabus.org
> contains values that may not be safe (*).
> Do you want to apply it?  You can type
> y  -- to apply the local variables list.
> n  -- to ignore the local varialbes list.
> !  --  to apply.
>
>* org-html-postamble : t
>* org-export-hml-postamble-format : "Hello World"
Notice the *'*'* warning not to be safe.  But the source .org file is
with '#' as it should be (seen further below).

Thoughts?


On 08/26/2015 11:19 PM, Thomas S. Dye wrote:
>> Finally, I tried "Local variables"?  Never did this before but attempted
>> it and put:
>>
>>> # Local Variables:
>>> # org-html-postamble: t
>>> # org-export-html-postamble-format: "Hello World"
>>> # End:
>> in my .org file and still no luck.
> After you add this to the .org file, you need to refresh the setup.  I
> do this by moving cursor to the top of the file (with all of the #+
> lines) and pressing C-c C-c.  You should get a message asking if it is
> OK to set local variables.  Pressing y should set org-html-postamble and
> org-export-html-postamble-format for that buffer.
>
> hth,
> Tom
>



Re: [O] Need help with HTML export custom postamble

2015-08-31 Thread David A. Gershman


On 08/31/2015 05:38 PM, Thomas S. Dye wrote:
> Aloha David,
>
> David A. Gershman <gersh...@dagertech.net> writes:
>
>> So I finally was able to test out the C-c C-c.  It did ask me if I
>> wanted to apply and I said yes.  When I exported the file, my postamble
>> (as specified in the variable) was /not/ shown...it was still the default.
>>
>> Strangely, when I did C-c C-c, Emacs came back with this:
>>
>>> The local variables list in syllabus.org
>>> contains values that may not be safe (*).
>>> Do you want to apply it?  You can type
>>> y  -- to apply the local variables list.
>>> n  -- to ignore the local varialbes list.
>>> !  --  to apply.
>>>
>>>* org-html-postamble : t
>>>* org-export-hml-postamble-format : "Hello World"
>> Notice the *'*'* warning not to be safe.  But the source .org file is
>> with '#' as it should be (seen further below).
>>
>> Thoughts?
> Yes, Emacs asks about safe local variables.  I read about this once in
> the Emacs manual and concluded that my use cases were all safe, so I
> just type "y".  I suspect you're in the same boat, but you might want to
> read the relevant section of the Emacs manual to be certain.
I, too, typed 'y' with no luck; and yeah, my use cases are safe as well.
>
> I just noticed that you're setting org-export-hml-postamble-format, but
> you probably want html instead of hml.
>
> hth,
> Tom
>
Sorry, that must have been a typo when transposing it into email (Emacs
didn't let me highlight to copy the text while the question was in the
buffer).   The actual .org file /is/ 'html'.

So by typing 'y', I'd expect to see "Hello World" in my
postamble...correct?  My seeing the default is still an error then.

Just to make sure all is understood, here is the entire .org file
(content shortened):

> # Last Updated: "2015-08-31 17:44:42"
> #+OPTIONS: html-link-use-abs-url:nil
> #+OPTIONS: html-preamble:t html-scripts:nil html-style:t
> #+OPTIONS: html5-fancy:nil toc:nil num:nil
> #+HTML_DOCTYPE: xhtml-strict
> #+HTML_CONTAINER: div
> #+HTML_HEAD:
> #+HTML_HEAD_EXTRA:
> #+AUTHOR: D. Gershman
> #+CREATOR: http://www.gnu.org/software/emacs/;>Emacs
> 24.4.1 (http://orgmode.org;>Org mode 8.3.1)
> #+TITLE: CS 380 Syllabus
> #+LANGUAGE: en
>
>
> * David A. Gershman, CISSP
>   Office hours here
>
> * Course Description
>   Network architectures and standards. Layers and protocols. Circuit
>   switching, packet switching and routing. Client-server
>   concepts. Network security. Web computing. Privacy, intellectual
>   property rights and acceptable use. 4
>   lectures/problem-solving. Prerequisites: CS 241 and CS 264 with
>   grades of C or better, or consent of instructor.   
>
>
> # Local Variables:
> # org-html-postamble: t
> # org-export-html-postamble-format: "Hello World"
> # End:
Either typing C-c C-c, or just opening the file will ask me about the
variables.  I answer 'y', but still get the default postamble.

Thanks.



Re: [O] Need help with HTML export custom postamble [SOLVED]

2015-08-31 Thread David A. Gershman
*argh*  I remember that variation of postamble in my readings...didn't
think to try it.  Thank you!!!

I attempted the export as well and it worked as expected.  I appreciate
your patience!

FWIW, yes, I'm on the latest Org (8.3.1) and Emacs 24.4.1 (Debian Jessie).

On 08/31/2015 06:36 PM, Thomas S. Dye wrote:
> David A. Gershman <gersh...@dagertech.net> writes:
>
>>> # Local Variables:
>>> # org-html-postamble: t
>>> # org-export-html-postamble-format: "Hello World"
>>> # End:
>> Either typing C-c C-c, or just opening the file will ask me about the
>> variables.  I answer 'y', but still get the default postamble.
> Are you using an old Org mode, pre 8.0?  I believe that's when the old
> org-export-* variables lost the "export" part.
>
> At any rate, the problem appears to be that org-html-postamble-format
> (in Org mode > 8.0) is an association list, not a string.
>
> This works for me using a recent Org mode:
>
> # Local Variables:
> # org-html-postamble: t
> # eval: (add-to-list 'org-html-postamble-format (quote ("en" "Hello World")))
> # End:
>
> At least, I get the cons cell added to the association list, and the
> change is local to the buffer.  I didn't try the export part.
>
> hth,
> Tom
>




[O] Need help with HTML export custom postamble

2015-08-26 Thread David A. Gershman
Hello Everyone,

I've searched and read and found several examples of making custom
postambles for an HTML export, but I can't seem to find a way to do it
all in a local file.

First, I'm new to HTML exporting (as some of you remember from my last
email).  So, I went ahead and inserted a template into my .org file (C-c
C-e # html) and noticed html-postable was set to 't'.  Based on what I
read, this means it should take the contents of the variable
org-export-html-postamble-format and use /that/ for the postamble. 

However, I set /org-export-html-postamble-format/ in my .emacs file:

 (setq org-export-html-postamble-format
   '((en pFrom .emacs/p))
 )
...and in my .org file had:

#+OPTIONS: html-postamble:t

then I tried

#+OPTIONS: html-postamble:auto

and also removed it.  All 3 times the postamble from my .emacs was not used.

Finally, I tried Local variables?  Never did this before but attempted
it and put:

 # Local Variables:
 # org-html-postamble: t
 # org-export-html-postamble-format: Hello World
 # End:
in my .org file and still no luck.

Can a custom pre/postamble be specified on a per file basis?  FWIW, no,
I do not have any /org-publish-project-alist/ specified as this seems to
be a site-based solution.  I'm looking for a page-based solution.

TIA!

--David


Re: [O] Help testing orgmode connection to interactive web environment

2015-08-22 Thread David A. Gershman
I'm not sure what is supposed to happen, but I went to the link, allowed
Javascript for the textcraft.org domain (via NoScript), and still just
got a blue screen with the title Loading Leisure..nothing else
happened.

I'm running Debian Jessie w/Iceweasel 38.2.0 (repository supplied).


On 08/22/2015 07:49 AM, Bill Burdick wrote:
 Hi there!

 I'm working on an open-source web-based platform for interactive
 editable documents that uses orgmode format, called Leisure.  I have
 minor mode that connects it to Emacs orgmode buffers so that edits are
 mirrored between them.

 I've been working on this for quite a while and I'm putting together
 an announcement document but I still wouldn't call it robust or
 complete, yet.

 My goal is to put together a video and make an announcement soon but I
 want to make sure I have covered a reasonable amount of orgmode and
 also have a reasonable amount of neato functionality, so I'm looking
 for brave souls who:

 - use orgmode regularly
 - want an editable web representation that updates as they edit in Emacs
 - won't mind some exciting adventures
 - don't mind dirtying their hands with software that's still a bit buggy

 Anyone think they might be interested in helping me test this thing
 and giving me their impressions?

 If you'd like to see what I have, so far, you can view the rough,
 unpolished version of my Emacs-to-Leisure document (subject to drastic
 change).  At this point, this link is in flux so your mileage may vary:

 http://textcraft.org/newLeisure/?load=elisp/README.org  


 -- Bill Burdick




Re: [O] Is Worg updating?

2015-08-22 Thread David A. Gershman
I found that proper way while recently updating my own org install. 
However, I did notice ob-ditaa is part of the org package now, but it
seems to point to $EMACS_PATH/contrib/scripts.

Did I miss some instruction as to how/where to specify the installation
of contrib/scripts/{files} via the /make install/ general method?

Thanks!

P.S. My current solution was to manually copy it.

On 08/22/2015 12:29 PM, Achim Gratz wrote:
 Thomas S. Dye writes:
 I recently pushed a change to the Babel languages table on Worg, but it
 doesn't show up.  Magit didn't complain about the push, so I'm thinking
 Worg might not be updating?
 Press $ in the magit buffer to see what the post-commit hook sent back.

 BTW, looking at the footnote you edited, it seems I should remind
 everyone of the proper way to deal with contrib/

 http://orgmode.org/worg/dev/org-build-system.html#sec-4-1-2


 Regards,
 Achim.



Re: [O] HTML Export, CSS Styling

2015-08-22 Thread David A. Gershman
Thank you (and to Nicolas Goaziou and Scott Randby as well)!!!  After
going through so many docs, blogs, articles, etc., I must have just
skimmed over that first paragraph.  And, although it was not something
I've looked for, thanks for the quick intro to Macros!  That's something
new I'll now be reading up on until I have a headache. :)

Thank again!

On 08/22/2015 12:50 AM, Christian Moe wrote:
 Hi,

 See the first paragraph of the section Quoting HTML tags in the
 manual.

 In your example, you could do:

 This is the paragraph body that will allow *bold* or /italic/ or
 even _underline_, but what if I want only @@html:span style=color:
 red;@@THIS@@html:/span@@ word to have styling?  Such as making
 it red to indicate importance?

 For repeat use and/or export of special styling to other backends than
 ODT, you may want to simplify things a bit with macros.

 Use e.g. this in the document head:

 #+MACRO: red @@html:span style=color: red;@@$1@@html:/span@@

 (reload the document or do C-c C-c on the above line to make Org notice
 you've added it). Then you can do 

 I want not only {{{red(THIS)}}} word to have styling, but
 {{{red(THESE\, TOO)}}}.

 Note that commas separate arguments to macros, so you need to
 backslash-escape any commas appearing in the styled text, as in the
 above example.

 Going further, you can use a macro with two arguments to have a choice
 of colors:

 #+MACRO: color @@html:span style=color: $1;@@$2@@html:/span@@

 I want {{{color(red, THIS)}}} word to be colored red, but
 {{{color(green, THIS ONE)}}}? to be green.

 where the first argument (before the unescaped comma) is a color keyword
 or code CSS can recognize.

 (As an alternative to macros, some people define their own link types
 with concomitant export functions just for styling text and hiding all
 the necessary brackets out of sight. Requires elisp, offends purist
 views of what links should mean, and is bad for document
 portability. Originally my idea, I'm afraid.)

 Hope this helps,

 Christian

 David A. Gershman writes:

 I've been reading all evening about HTML exporting, style sheets, etc. 
 Maybe I've been inundated with information, but I haven't been able to
 determine an answer to my question: can text in the middle of a
 paragraph by styled?  For example:

 * Heading 1
This is the paragraph body that will allow *bold*
or /italic/ or even _underline_, but what if I want
only THIS word to have styling?  Such as making it
red to indicate importance?


 I'm working on lecture notes and I was planning on a span/span tag
 so I can set the color and, ultimately, a 'title' attribute for a
 definition when hovered.  However, I'm only finding the #+HTML feature
 within org which seems to need to be on a line of its own.  Howver, the
 export would convert:

   This is the paragraph body that will allow *bold*
or /italic/ or even _underline_, but what if I want
only
 #+HTML: span.THIS/span
word to have...

 to 3 different paragraphs:

This is the paragraph body that will allow *bold*
or /italic/ or even _underline_, but what if I want
only
THIS
word to have...

 Am I missing something or is in-line styling just not a feature within
 Org (yet?)?

 Thanks!

 --David




[O] HTML Export, CSS Styling

2015-08-21 Thread David A. Gershman
I've been reading all evening about HTML exporting, style sheets, etc. 
Maybe I've been inundated with information, but I haven't been able to
determine an answer to my question: can text in the middle of a
paragraph by styled?  For example:

* Heading 1
   This is the paragraph body that will allow *bold*
   or /italic/ or even _underline_, but what if I want
   only THIS word to have styling?  Such as making it
   red to indicate importance?


I'm working on lecture notes and I was planning on a span/span tag
so I can set the color and, ultimately, a 'title' attribute for a
definition when hovered.  However, I'm only finding the #+HTML feature
within org which seems to need to be on a line of its own.  Howver, the
export would convert:

  This is the paragraph body that will allow *bold*
   or /italic/ or even _underline_, but what if I want
   only
#+HTML: span.THIS/span
   word to have...

to 3 different paragraphs:

   This is the paragraph body that will allow *bold*
   or /italic/ or even _underline_, but what if I want
   only
   THIS
   word to have...

Am I missing something or is in-line styling just not a feature within
Org (yet?)?

Thanks!

--David



[Orgmode] Selective .ics export

2010-04-03 Thread David A. Gershman

Is there a way to export to .ics only entries with a particular tag or
property?  I'm trying to take all the scheduled events I use, and
collect a subset of them for my wife's calendar.  i.e. She doesn't need
to see what's going on at work (meetings and such), but she does need to
know when I'm working late, picking up groceries, etc.

I have multiple .org files and export all to a single .ics.  So if I
could do the same thing but selectively, that'd be great!

If org mode can not do it, I'm open to suggestions and ideas to
accomplish this feat.


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] .ics export w/Alarms. Possible?

2010-03-31 Thread David A. Gershman

Hello,

I was wondering if there was a feature in OrgMode to provide 'VALARM's
when exporting to .ics?

A sample event created, for example, in Sunbird generated this code:

  BEGIN:VALARM
  TRIGGER;VALUE=DURATION:-PT5M
  DESCRIPTION:Mozilla Alarm: Lunch w/Bob
  ACTION:DISPLAY
  END:VALARM

I was thinking maybe this could be included automatically via emacs
variables for all .ics exported events, or on a heading basis via some
property, i.e. ':ALARM:'.

My goal is to have these alarms used by the calendar program, not emacs.
 My org files are not always open but my calendar program is and uses an
exported .ics file.

Does this exist? Is this possible?  Ideas?


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] iCalendar export using wrong directory?

2010-03-23 Thread David A. Gershman

Hello,

My .emacs includes these lines:
 '(org-agenda-files (quote (projects.org calendar.org)))
 '(org-directory ~/)
 '(org-combined-agenda-icalendar-file ~/webdav/org.ics)

~/webdav is used for my MobileOrg staging area also.  In my
'org-directory' are my source .org files including one called
'calendar.org'.  My ~/webdav directory normally also has the 'staged'
version for MobileOrg.  During debugging this problem though, I removed
it from ~/webdav so I have only the source in ~/.

In short, directory state is:

  ~/
 projects.org
 calendar.org
 webdav/
projects.org
checksum.dat
index.org
{no calendar.org}

When I issue 'org-export-icalendar-combine-agenda-files', I get the
following error:

non-existent agenda file calendar.org. [R]emove from list or [A]bort?

This leads me to believe, 'org-export-icalendar-combine-agenda-files' is
using files in the '~/webdav' directory and not my source files for the
export.  Is this how it's supposed to work?? i.e. use the path
included in 'org-combined-agenda-icalendar-file'?

Thanks!


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] OrgMode/MobileOrg corrupted my kids! (...have a laugh on me)

2010-03-06 Thread David A. Gershman

So I have a lot to do and my .org files have all that I need to do today
for the party tomorrow.  I boot the desktop, plug in my thumbdrive, and
launch my favorite editor with my start .org file.  I'm happy...I'm
going to get things done today!

First thing I do is 'C-cp' to publish to MobileOrg and export my .ics. 
Then, what do I see? 

  Symbol's function definition is void: org-mobile-push

With a confused look, I type 'org-version' and see 6.20c...where
MobileOrg had not yet been supported.  My response?

   ** PROFANE EXPLETIVE **

Naturally, to which my kids suddenly turn to me and crack smiles but my
wife gives an evil look.   Humiliated I say to them, Uh, I mean 'Oh,
butter-nuts!'.

*shaking head* It was starting as such a nice morning...  I'm upgrading
now.  

Lesson Learned: Save the children...stay current! *ROFL*


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Lesson Learned: Day needed for iCalendar export

2010-02-27 Thread David A. Gershman

Hello Everyone,

I ran into this just now and I don't think it's documented anywhere so
here is a tidbit thay may prevent some hair loss:

I get a work calendar of my days off work for holidays.  So I collect
them in my .org file like so:

* Work Holidays
   2010-05-31
   2010-07-05
   2010-09-06
   2010-11-25
   { there are more }

When exporting my .ics file I found these dates were not showing up, but
they *were* showing on my .org Agenda view.  Turns out the iCalendar
export needs the *day* also:

* Work Holidays
   2010-05-31 Mon
   2010-07-05 Mon
   2010-09-06 Mon
   2010-11-25 Thu

.ics export worked great after that.  Enjoy!


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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: Mobile org

2010-02-26 Thread David A. Gershman

This is (currently) my personal solution for exactly what you're
describing. 

I recently bought an iPod (not iPhone).  On it I put MobileOrg (not the
Android version).  My process is to work with my .org files on a
thumbdrive (this allows portability) and even have emacs for windows on
the same thumbdrive (all my *nix machines already have emacs).  My
.emacs file is even kept on the thumbdrive.  This keeps my
authoritative .org files on the thumb drive and even on a TrueCrypt
volume for security (also portable).  Nice, safe and private.

Next, I have a WebDav account online where I can then publish my .org
files and have them sync'd with MobileOrg on the iPod.  Works
beautifully.  CATCH: the WebDav account I'm using is on my own personal
server I have on the internet.  I work very hard to secure my server and
there are no other admins.  So I'm pretty comfortable with my .org files
residing on it.  However, there are public, free WebDav servers out
there you can use also.

I've also been able to get my Agenda events into the iPod's calendar app
via Chandler tools.  I'll spare everyone the details unless asked.

Good Luck!

 Maybe MobileOrg-Android be the simpler solution
 
 
 http://wiki.github.com/matburt/mobileorg-android/
 
 I did not tried yet
 
 Daniel
 
 2010/2/3 n...@aleblanc.cotse.net
 
  Marcelo de Moraes Serpa celose...@gmail.com writes:
 
   Hello list,
  
   org-mode really changed my life, and allowed me to fully implement GTD
  the way
   I wanted. However, I miss having access to it everytime, so, I'm
looking
  for a
   mobile device that could run emacs and org, and that I could keep
in sync
  with
   my laptop.
  
   What do you think?
  
   Any suggestions appreciated,
  
   Marcelo.
 
  Hi Marcelo,
check the CategoryPorts page on the emacswiki:
http://www.emacswiki.org/emacs/CategoryPorts
 
Personally I use emacs on my android phone, which includes a
Debian installation, see here:
 
http://www.emacswiki.org/emacs/EmacsOnAndroid
 
I use the android scripting environment to access android
programs from emacs. This allows me to make phone calls/send
text messages with BBDB in emacs, while I can still use the
useful gui stuff in android such as maps, web-browsing,
bar-code scanner etc.
 
I believe android is the way to go since it is open source
and hackable, while also having a large repertoire of cool
and useful apps.
 
The only drawback is that the initial setup is quite
complicated and time-consuming. You need to be fairly
technically minded.
 
  --
  aleblanc
 
 
 
  ___
  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
 
 
 


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] MobileOrg - Capture didn't empty...

2010-02-23 Thread David A. Gershman

I synced my iPod with the WebDav server, and pulled down to my Org
files.  Worked great!  

Then I filed away those items that were in the capture of MobileOrg
(via the org-mobile-inbox-for-pull file).  Also worked awesome.

Updated my org files, re-sync'd with the webdav, and then sync'd with
iPod.  The org files on the iPod are there, updated and wonderful!

Problem: my 'capture' collection on the iPod is still populated with
items that have already been filed away and now exist in other .org files.  

I check the mobile.org and it's empty and the 'checksums.dat' file was
updated.  The only potential cause I see is emacs saved '~' files for
mobile.org and checksums.dat also.

Ideas?


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] mailto links

2010-02-23 Thread David A. Gershman

If you invoke the command 'org-customize', you can find a group called
'Org Link'.  Expand it to find 'Org Follow Link', then 'Org Link Mailto
Program'.  Perhaps this will help?  

 
 I am having a small challenge with the way in which emacs is handling
 mailto links in org files. For some mysterious reason, C-c C-o on a link
 opens Kmail. I am in gnome and have specified thunderbird as the default
 mail client. Actually what I want is for the links to open in Gnus, but
 despite a lengthy web search I cannot find any way to fix this issue.
 Suggestions are welcome.
 
 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
 
 


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] MobileOrg Agenda View link to Org Files

2010-02-22 Thread David A. Gershman

Hi All,

In MobileOrg, I have included the Agenda Views, specifically the
weekly or monthly views.  While in that vew, for a particular date there
are any number of 'headings'. 

Feature Request (unless I'm missing it): Is there a way to have the
ability to link from the agenda view item to the same item in the
actual org file (if its in MobileOrg).

For example, when I look at my agenda view for February 25th, I have an
entry called B-Day Prep.  But the details of B-Day prep are not there.
 It would be nice to tap on an icon or something that takes me to the
org file and heading where B-Day Prep actually resides (allowing me to
view the body text, sub-headings, etc.)

Thanks!



David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] MobileOrg Body Content trucated

2010-02-19 Thread David A. Gershman

For a particular heading, the body of the heading was truncated to only
6 lines.  Any way to set that?

My .org file is:

  * Heading 1
- item 1
- item 2
 ...
- item n

When I view the Agendas.org file generated by org-mobile-push, I get:

***  Heading 1beforecalendar:   21:00-23:00/before
   :PROPERTIES:
   :ID:   a9e7d938ad66cdb074749bf8e4d2c203
   :END:
   2010-02-19 Fri 21:00-23:00 +1d
   - Item 1
   - Item 2
   - Item 3
   - Item 4
   - Item 5
   - Item 6
   :PROPERTIES:
   :ORIGINAL_ID: a9e7d938ad66cdb074749bf8e4d2c203
   :END:


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] MobileOrg Push gives Invalid argument type (on Linux)

2010-02-19 Thread David A. Gershman

I'm confused.  My .emacs file worked fine on a Windows box and I work
very hard to keep it all 'generic' enough to work on Windows or Linux. 
When I issue 'org-mobile-push', I get the following error on my Linux
machine (Windows is fine):
  
  Wrong type argument: stringp, nil

Here is the portion of my .emacs, dealing with MobileOrg:

 '(org-directory ~/)
 '(org-id-method (quote uuidgen))
 '(org-mobile-directory ~/webdav)
 '(org-mobile-files (quote (file1.org file2.org)))
 '(org-mobile-inbox-for-pull pullinbox)

Any ideas?  Thanks.



David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Unique IDs, not so unique

2010-02-17 Thread David A. Gershman

I posted a message earlier about a problem between Org mode and
MobileOrg.  I think the issue may just be the Unique IDs being generated
are not unique.  I found org-id-method is set to 'org'.  So why am I not
getting unique IDs? 

I had asked about this before and I thought Carsten said something about
a possible timing issue??  BTW, I'm on windows with no uuidgen.  But my
files are used via thumbdrive on a Linux system as well.  So sticking
with 'org' is probably the better bet.

Thoughts?

Thanks!


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Unique IDs, not so unique - SOLVED

2010-02-17 Thread David A. Gershman

Hello All,

My memory was right, it *is* a timing issue.  The internal 'org' routine
generates unique IDs using some accuracy time values (not sure if its 1
second or what).  However, 'org-mobile-push' demands IDs at a rate of
several per second...thus duplicate IDs.

If you slow the ID generation down at at most 1 per second, IDs are all
unique and 'org-mobile-push' generates beautiful files which are viewed
beautifully in MobileOrg...beautiful!

Obviously slowing down the ID generation to at most 1 per second isn't
desirable, but it does show the issue is time.

If interested, to slow it down I created a perl script:

  #!/bin/perl
  sleep 1;
  print join( '', localtime() );

and set 'org-id-method' to external program (used 'org-customize') and
just named my script 'uuidgen'.

Any thoughts on how to increase the time accuracy for the internal 'org'
routine or perhaps have the routine check to see if a currently
generated ID is the same as the last ID generated.  If so, wait a sec
and then re-generate.

On a side note, my life is chaos so Thank You so much to Carsten and
Richard for making two wonderful programs that allow me to sort out my
life and take it with me.  You guys are awesome!



David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Hide file names in agenda view

2010-01-28 Thread David A. Gershman
I've been searching a while and thought it'd be simple to find.  How can
I suppress the file names in the agenda view?

i.e. turn

   file2:7:00- 8:00 alwkjekisdjksj
   file1:   10:00-11:00 alsdkfjasdlfkj

into

7:00- 8:00 alwkjekisdjksj
   10:00-11:00 alsdkfjasdlfkj

Thanks!



David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


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


[Orgmode] org-sort-multi??

2010-01-28 Thread David A. Gershman

Hello Again,

I'm looking to sort my outline (headlines, top level) by multi criteria
(2 really).  I see online references to 'org-sort-multi' as recently as
August 2009.  But my emacs can't find it. 

Help?


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Deadline question, must be making a mistake

2010-01-26 Thread David A. Gershman

Hi All,

Rather than changing the config variable, I'd like to change the number
of warning days on a deadline date.  I put the following:

  DEADLINE: 2010-02-14 Sun -14d

But when I view the agenda, I'm not getting my warning days.  I only see
the warning if *today* is within the time frame, not if I'm just
*viewing* the time frame.  

Any way to have the warning show regardless of what day it is?


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Refile to top or bottom of list on demand

2010-01-26 Thread David A. Gershman

When I refile a heading, there is a variable that can be set to send the
refiled headings to the front or back of the destination list.

Is there a way to do that on demand, i.e. without setting a variable?

Thanks!


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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: autoload filed to load ical functions....more info

2009-09-03 Thread David A. Gershman
Carsten,

You are a gentlemen, sir.  I downloaded, compiled, and installed Org. 
When I launched emacs and went to Org-Mode, things seemed to work (at
least that which I normally use: indentation, links, etc).  As such, I
figured the 'require' statement was only needed when Org was installed
in a non-emacs location (requiring a .emacs config setting to find
additional .el files).  I added the line below and what do you think
happened?  It worked.

I say you are a gentlement because, unfortunately, my personal
tendencies would have led to a simple reply of RTFM. *looking down in shame*

Thanks for the help...

  Any thoughts on this?  I'm still stuck.  I have the same version of
  emacs on both my desktop and laptop, same version of Org on both, and
  same .emacs on both.  Yet on my laptop I get the errors but on my
  desktop I don't.
 
 Please read the installation section in the manual and extract from
 it that you need to say
 
 (require 'org-install)
 
 in .emacs.
 
 - Carsten



David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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: autoload filed to load ical functions....more info

2009-08-22 Thread David A. Gershman

Any thoughts on this?  I'm still stuck.  I have the same version of
emacs on both my desktop and laptop, same version of Org on both, and
same .emacs on both.  Yet on my laptop I get the errors but on my
desktop I don't.  

Crazy ideas welcome...

 I'm running Xubuntu 8.10 which has Emacs 22.2.1 which Org 6.29c says
 will still work on with some restrictions (none of which were ical
issues).
 
 As root, I 'make'd and 'make installed' and loaded emacs verifying Org
 6.29c was in fact in place.  When I issue a C-cC-ei to export an ical I
 get the following error:
 
   Autoloading failed to define function org-export-icalendar-this-file
 
 I get similar errors for '...all-agenda...' files.  It worked on m XP
 *cough* box, why not here?
 
 Thanks.
 
 
 David A. Gershman
 gersh...@dagertech.net
 http://dagertech.net/gershman/
 It's all about the path! --d. gershman
 
 
 


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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: Way to get agenda for a date?

2009-08-21 Thread David A. Gershman

It's times like these I feel soo smart!  *shaking head*

Also, I tried the C-h m, keys but it didn't work.  Please note however
it *does* work.  I remapped C-h in my .emacs.  Again, I feel soo smart!

Thanks guys!

 At Thu, 20 Aug 2009 19:35:48 -0700 (PDT),
 David A. Gershman wrote:
  
  Is there a way to enter a date and have the agenda show up?
  
  i.e. (for me) C-caa shows me the current week's agenda
C-u 1 C-caa brings up the current day's agenda
  
  Is there a way to enter be prompted for a date, say:

 2009-08-20
 
 Have you tried hitting j in the agenda view?




David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Way to get agenda for a date?

2009-08-20 Thread David A. Gershman

Hello All,

Is there a way to enter a date and have the agenda show up?

i.e. (for me) C-caa shows me the current week's agenda
  C-u 1 C-caa brings up the current day's agenda

Is there a way to enter be prompted for a date, say:
  
   2009-08-20

or even select it from the calendar view and have that day's agenda come up?


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] autoload filed to load ical functions....I'm doing something wrong...

2009-08-20 Thread David A. Gershman

Hello Again,

I'm running Xubuntu 8.10 which has Emacs 22.2.1 which Org 6.29c says
will still work on with some restrictions (none of which were ical issues).

As root, I 'make'd and 'make installed' and loaded emacs verifying Org
6.29c was in fact in place.  When I issue a C-cC-ei to export an ical I
get the following error:

  Autoloading failed to define function org-export-icalendar-this-file

I get similar errors for '...all-agenda...' files.  It worked on m XP
*cough* box, why not here?

Thanks.


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Why does open time still show?

2009-08-18 Thread David A. Gershman

Hi All,

I have my agenda as:

Tuesday18 August 2009
[...removed for simplicity...]
  reference:  19:25-19:40 Stuff
  reference:  19:40-20:00 Stuff
  20:00.. 
  reference:  21:00-21:45 Stuff
  reference:  21:45-22:00 Stuff
  dag:22:00-23:00 Stuff
  22:00.. 
  reference:  23:00-23:30 Stuff
  reference:  23:30-23:45 Stuff

As you can see there is nothing from 20:00-21:00 so I have the
'' marker.  But why does the marker still show up for 22:00
even though I have 'Stuff' set for 22:00-23:00?

Thanks.

David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Sort by tag?

2009-08-10 Thread David A. Gershman

I just looked up for how to sort and couldn't find how to sort by tag. 
Anyone have ideas?

Thanks.


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Sort by tag?

2009-08-10 Thread David A. Gershman

Beautiful...thanks!


 David A. Gershman dagershman_...@dagertech.net wrote:
 
  
  I just looked up for how to sort and couldn't find how to sort by tag. 
  Anyone have ideas?
  
 
 Choose 'r' (i.e. sort by property) and use the Special Property TAGS.
 See section 7.2 of the manual for other special properties.
 
 Nick
 
 


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] iCal Export UID only Headline

2009-07-30 Thread David A. Gershman

Hello,

I just attempted to export my agenda as an .ics and found an entry
scheduled for only Monday when I have dates in my org file for all 5
days of the week.  My org file has:

 Plan Tomorrow
 2009-06-15 Mon 17:00-18:00 +1w
 2009-06-16 Tue 17:00-18:00 +1w
 2009-06-17 Wed 17:00-18:00 +1w
 2009-06-18 Thu 17:00-18:00 +1w
 2009-06-19 Fri 17:00-18:00 +1w

This results in the Plan Tomorrow entry in the agenda for all 5 days.
 However, when exporting to .ics, all of these are exported BUT they
have the same UID.  As a result, my Calendar Program (Mozilla Lightning
via Thunderbird) considers them errors.

So I changed the Org-Tree to:
 Plan Tomorrow
 2009-06-15 Mon 17:00-18:00 +1w
 Plan Tomorrow
 2009-06-16 Tue 17:00-18:00 +1w
 Plan Tomorrow
 2009-06-17 Wed 17:00-18:00 +1w
 Plan Tomorrow
 2009-06-18 Thu 17:00-18:00 +1w
 Plan Tomorrow
 2009-06-19 Fri 17:00-18:00 +1w

And when I export to .ics, this is what I get for the UID properties:

 Plan Tomorrow
 :PROPERTIES:
 :ID:  
0aegncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me
 :END:
 2009-06-15 Mon 17:00-18:00 +1w
 Plan Tomorrow
 :PROPERTIES:
 :ID:  
gmqgncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me
 :END:
 2009-06-16 Tue 17:00-18:00 +1w
 Plan Tomorrow
 :PROPERTIES:
 :ID:  
gmqgncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me
 :END:
 2009-06-17 Wed 17:00-18:00 +1w
 Plan Tomorrow
 :PROPERTIES:
 :ID:  
gmqgncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me
 :END:
 2009-06-18 Thu 17:00-18:00 +1w
 Plan Tomorrow
 :PROPERTIES:
 :ID:  
472hncd1d...@x.i-did-not-set--mail-host-address--so-tickle-me
 :END:
 2009-06-19 Fri 17:00-18:00 +1w

Notice the UID is the same for T, W,  Th.  

Ideas?


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Results of the SourceForge Community Award

2009-07-29 Thread David A. Gershman

Know what they call the commercial version of Portable Apps?


A Netbook.


 Richard Riley wrote:
  Bastien bastiengue...@googlemail.com writes:
  
  Nick Dokos nicholas.do...@hp.com writes:
 
  Indeed. BTW, I was curious to see what PortableApps did/looked
like, and
  (since I couldn't find an installation package for Linux) I downloaded
  the sources and looked at them: this thing seems to be Windoze only
  (maybe Mac too?) - is that true or did I overlook something?
  To me that's true - I was a bit surprised too.  
 
  Mmhh...  maybe the Windows user-base is bigger than the Emacs
user-base?
 
  PS. And if so, shouldn't the FTC come after them for false
advertising?
  PortableApps indeed :-)
  :)
  
  Come on chaps, you can run Windows under Vmware or VirtualBox you know!
  
  
 Portable Apps runs fine under wine. I have a copy on my usb stick in 
 case I go somewhere that only has Windows available. Since I don't have 
 a Windows computer at home I test it under wine.
 
 Of course I also have the Windows port of Emacs, so I can still run org, 
 even if I am forced to use Windows:)
 
 Ian.
 
 
 ___
 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
 
 


David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] SEQ_TODO and Headline percentages

2009-07-27 Thread David A. Gershman

After a good night's rest, I came to the realization this solution
doesn't help my issue.  I was asking if there was a way for

* Heading 1 [%]
 * Sub 1
 * TODO Sub 2
 * DONE Sub 3

To have a statistic of 33% done instead of now it would say 50%.  The
sub heading with *no* TODO kw is not even counted.

With the new solution, can a TODO kw be, say, NIL to count non-kw lines?

Thanks!

 Samuel Wales samolog...@gmail.com writes:
 
  It might be worth considering going all the way and allowing a list of
  todo kw that will affect statistics.
 
 Done.  Setting `org-provide-todo-statistics' to a list of TODO keywords
 will only compute todo statistics against headlines containing a keyword
 from this list. 
 
 -- 
  Bastien
 
 
 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 

---
David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] SEQ_TODO and Headline percentages

2009-07-26 Thread David A. Gershman

Ok, now I'm pissed and bummed...

I *REALLY* want to use Org-Mode for my GTD stuff, task lists, etc, etc,
etc.  However, one of my biggest gripes is that I don't have access to
my data when I'm away from the computer or its turned off (i.e. grocery
shopping, watching TV at night, and so on...)

This is the *only* list I'm a member of where one can ask a question and
in a few days, ! BAM !, feature included.  You guys are truly AWESOME!!!

So, any way you can add a command 

  org-upload-to-brain-for-people-not-always-on-computer

for when I stick one end of my USB cable in the computer and the
other... *wink*

(Sorry for the image...its late...I'm tired...and I still don't have my
GTD life in order...)

*sigh* Thanks guys, you really are the best!


 Samuel Wales samolog...@gmail.com writes:
 
  It might be worth considering going all the way and allowing a list of
  todo kw that will affect statistics.
 
 Done.  Setting `org-provide-todo-statistics' to a list of TODO keywords
 will only compute todo statistics against headlines containing a keyword
 from this list. 
 
 -- 
  Bastien
 
 

---
David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Current Documentation

2009-07-24 Thread David A. Gershman

Which documentation is maintained better, the online HTML or PDF?

Thanks.

---
David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] SEQ_TODO and Headline percentages

2009-07-24 Thread David A. Gershman

Hi Everyone,

Is there a way for non-SEQ_TODO labeled sub-headings to still count in
the headline percentage?

Examples are in order...

Currently:
* Some Project [100%]
 As you can see in this example, the headings % is 100 because
 the first sub heading has no SEQ_TODO label.
  * Sub heading with no SEQ_TODO label
  * DONE sub heading with label

Desired:
* Some Project [50%]
 Note the non-labeled sub-heading results in only 50%
  * Sub heading with no SEQ_TODO label
  * DONE sub heading with label

At the current time, my fix is to go ahead and give a label to all
sub-headings.  So the above example would have to have something,
perhaps CREATED or Qd (queued).  I'm hoping to alleviate this.

Thanks, and glad to be back with Org-Mode...

---
David A. Gershman
gersh...@dagertech.net
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Question to windows users

2008-12-10 Thread David A. Gershman

Hmm, I'm not sure what you're asking, but M-x uuidgen fails as does
uuidgen at the windows command prompt.  I'm running XP with Org 6.12a.

How should this command be executed?

 Hi Windows users,
 
 is the command uuidgen usually available under windows?  I am  
 considering
 to make this the default for ID generation because it works on the Mac
 and under GNU/Linux.  But I would like to have a default that works on
 all systems
 
 Thanks.
 
 - Carsten
 
 
 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Automatic Timestamp Update

2008-12-08 Thread David A. Gershman

I have my orgmode structured in multiple files.  However, every time I
save a file I wouldn't mind a last modified time stamp to be updated.
 I thought emacs itself had something of this nature but I'm wondering
if anyone has a different idea/method, perhaps orgmode-specific.

Thanks.

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Dividers in File

2008-11-18 Thread David A. Gershman

In my org file, I have different sections setup.  I'd like to separate
the sections with comment dividers.  For example, I'd like to have:

#
# Section 1

* Heading 1
 * Heading 2
* Heading 3

# End Section 1
#

#
# Section 2

* Heading 1
 * Heading 2
* Heading 3

# End Section 2
#

But when I fold stuff, I get:

* Heading 1...
* Heading 3...
* Heading 1...
* Heading 3...

Notice the dividers got folded into the trees.  Any way to prevent this?

Thanks!

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Dividers in File

2008-11-18 Thread David A. Gershman

Not really...just seeing if another way is possible for familiar looks
back from my coding days.

 Hi David,
 
 Is there any Reason why you don't just make the dividers the first level
 of headlines? -- Eric
 
 David A. Gershman [EMAIL PROTECTED] writes:
 
  In my org file, I have different sections setup.  I'd like to separate
  the sections with comment dividers.  For example, I'd like to have:
 
  #
  # Section 1
 
  * Heading 1
   * Heading 2
  * Heading 3
 
  # End Section 1
  #
 
  #
  # Section 2
 
  * Heading 1
   * Heading 2
  * Heading 3
 
  # End Section 2
  #
 
  But when I fold stuff, I get:
 
  * Heading 1...
  * Heading 3...
  * Heading 1...
  * Heading 3...
 
  Notice the dividers got folded into the trees.  Any way to prevent this?
 
  Thanks!
 
  ---
  David A. Gershman
  [EMAIL PROTECTED]
  http://dagertech.net/gershman/
  It's all about the path! --d. gershman
 
 
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 
 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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? - email this page

2008-11-12 Thread David A. Gershman

Off the top of my head (which is pretty round), I'd cut 'n' paste into
RMAIL mode. emacs' mail sending ability.  However, you'll need to setup
RMAIL for your SMTP server and I'm not sure if authentication/SSL poses
an obstacle.  Googling should help.

 i have JUST moved to org mode last night from planner mode after  
 watching the video an reading a few articles.. so far, i REALLY like  
 it because my life revolves around free form notes..
 
 one thing i would REALLY like to be able to do is email a page  
 directly from emacs..
 
 for instance.. my errands page.. it would be great to quickly email it  
 to my blackberry..
 
 any ideas?
 
 thanks!
 
 
 ___
 peace,
 sergio
 photographer, journalist, visionary
 www.village-buzz.com
 
 
 
 
 
 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Breaking tasks down into subtasks

2008-11-12 Thread David A. Gershman

I do this *ALL* the time, so allow me to chime in on this one.

Any heading which has a [%] or [/] at the end will _automatically_ be
updated as its subtasks *Todo-keywords* are updated.  So consider the
following *starting* point:

  * Major Goal [%]
* Task #1
* Task #2
* Task #3

At this point, I've just typed things up.  Now if I put the cursor on
any of the Task #n headlines and change the Todo-Keywords (I use
Shift-Left_Cursor_Key or Shift-Right_Cursor_key), the [%] will
automatically get updated.

So assuming my Todo-Keywords were defined at the top of my file:

   #+SEQ_TODO: INITIATED IN_PROGRESS PAUSED | COMPLETED

Putting the cursor on Task #1 and pressing Shift-Right would produce:

  * Major Goal [0%]
* INITIATED Task #1
* Task #2
* Task #3

Notice the Todo-Keyword AND the '0' now in the percent.  The percent's
value will only change if a Todo Keyword changes from one on the left
side of the '|' to the right or vice versa.  In other words, if a task
becomes COMPLETED, the [%] value will change.  Conversely if I change a
COMPLETED task to INITIATED, IN_PROGRESS, or PAUSED, the [%] will change.

So from here, let's change Task #2 to COMPLETED:

  * Major 

 This seems basic, but I'm having trouble understanding how to 'activate' 
 the [%33] or [1/2] on a heading as shown in the section 5.5 example. Are 
 these done manually? Is this seen in only certain agenda views?
 
 I'm using 6.12a
 
 Thanks,
 
I do this *ALL* the time, so allow me to chime in on this one.

Any heading which has a [%] or [/] at the end will _automatically_ be
updated as its subtasks *Todo-keywords* are updated.  So consider the
following *starting* point:

  * Major Goal [%]
* Task #1
* Task #2
* Task #3

At this point, I've just typed things up.  Now if I put the cursor on
any of the Task #n headlines and change the Todo-Keywords (I use
Shift-Left_Cursor_Key or Shift-Right_Cursor_key), the [%] will
automatically get updated.

So assuming my Todo-Keywords were defined at the top of my file:

   #+SEQ_TODO: INITIATED IN_PROGRESS PAUSED | COMPLETED

Putting the cursor on Task #1 and pressing Shift-Right would produce:

  * Major Goal [0%]
* INITIATED Task #1
* Task #2
* Task #3

Notice the Todo-Keyword AND the '0' now in the percent.  The percent's
value will only change if a Todo Keyword changes from one on the left
side of the '|' to the right or vice versa.  In other words, if a task
becomes COMPLETED, the [%] value will change.  Conversely if I change a
COMPLETED task to INITIATED, IN_PROGRESS, or PAUSED, the [%] will change.

So from here, let's change Task #2 to COMPLETED (use multiple
Shift-Lefts or Shift-Rights to cycle through):

  * Major Goal [33%]
* INITIATED Task #1
* COMPLETED Task #2
* Task #3

If Task #1 is then PAUSED:

  * Major Goal [33%]
* PAUSED Task #1
* COMPLETED Task #2
* Task #3

Notice the [%] is still 33%.  This is because only 1 task is marked with
a right-side-of '|' keyword.

If we finish Task #1 and start Task #3, we change their keywords:

  * Major Goal [66%]
* COMPLETED Task #1
* COMPLETED Task #2
* IN_PROGRESS Task #3

Lastly, the [%] and [/] can work for checklists as well.  I use this for
basic daily todo items:

  * Morning Actions [/]
- [ ] Feed Cats
- [ ] Feed Dog
- [ ] Wake kid
- [ ] Change kid
- [ ] Check email

Notice the [/] is not updated.  To start it off I must check off one of
the list items by putting the cursor in the box - [ ] and pressing C-c
C-c.  As I complete things, the [/] values will be updated, including if
I add/remove items from the list:

  * Morning Actions [3/5]
- [X] Feed Cats
- [ ] Feed Dog
- [X] Wake kid
- [X] Change kid
- [ ] Check email

Hope this helps...


 This seems basic, but I'm having trouble understanding how to 'activate' 
 the [%33] or [1/2] on a heading as shown in the section 5.5 example. Are 
 these done manually? Is this seen in only certain agenda views?
 
 I'm using 6.12a
 
 Thanks,
 
 Yann
 
 
 ___
 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
 
 

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman
 Yann
 
 
 ___
 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
 
 

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Links to 'remember' notes?

2008-11-12 Thread David A. Gershman
 I don't suppose C-u C-c C-c from the Remember buffer addresses your
 issue?  When I pop open a Remember buffer, the preface has the 
 following comments in it:
 
 ## C-c C-c  ~/org//notes.org - * Tasks
 ## C-u C-c C-c  like C-c C-c, and immediately visit note at target
 location
 ## C-0 C-c C-c  ~/org//notes.org - * Tasks
 ## C-1 C-c C-c  to select file and header location interactively.
 ## C-2 C-c C-c  as child of the currently clocked item
 ## To switch templates, use `C-c r'.  To abort use `C-c C-k'.
 
 
 So C-u C-c C-c saves the note and then visits the note. 

My remember buffer doesn't have that preface.  But based on this
information, no C-u C-c C-c doesn't address my question.

Consider a todo.org file:

  * Today's List
* Task #1
  {Cursor here}
* Task #2

* Task #n

With the cursor inside Task #1, I press C-cr to get to remember mode.  I
type something like:

   don't forget to use calling card to avoid long distance charges

If I hit C-u C-c C-c the note will be saved and I'll immediately go to
the notes file to view the note.  Once I get back to my original
todo.org file, there is nothing on Task #1 that links to the note I entered.

Now consider the same thing but when saving the note with some key
press, the note is saved in the note file, we return to the original
todo.org file but now it looks like this:

  * Today's List
* Task #1
  _Note #1_   -- link to note: [[file:notes.org::*don't...
* Task #2

* Task #n


---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] HTML Export: Can I suppress percents?

2008-11-12 Thread David A. Gershman

Hi Everyone,

I'm playing with HTML exporting and would like to know how I can
suppress the %%(... diary entries I have at the top of my .org file?

Thanks!
---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] HTML Export: Can I suppress percents?

2008-11-12 Thread David A. Gershman

 You may have already considered and rejected this option, but you 
[...]

No, I haven't considered it but it doesn't seem to work for me
(providing I'm doing it right).  I originally had this:

#+STARTUP: hidestars
%%(let .) 10:00-11:00 Status Meeting

And taking your suggesting made it into this

* COMMENT Anniversaries normally in diary
  %%(let .) 10:00-11:00 Status Meeting

and also tried

* COMMENT Anniversaries normally in diary
  * %%(let .) 10:00-11:00 Status Meeting

and neither resulted in the status meeting showing up in my agenda view.

Did I do something wrong?

(Yes, I made sure my file was on the agenda view list.)

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Links to 'remember' notes?

2008-11-11 Thread David A. Gershman
Hello All,

I'm learning about org-remember and have a question of functionality.

I have a sample org file:

  * Heading One
:NOTES:
  {cursor here}
:END:

With the cursor where stated, I hit C-c r and I go into remember mode. 
Enter my text, and C-c C-c stores it.  What I've found out is in order
to view my notes, I need to manually open the file containing my notes
and search for what I just entered.  Once found there is a link back to
the source.  But what about the other direction?

Is there a way for a link to the note to be inserted where the cursor is
located in the original .org file?  So that after hitting C-c C-c, and
possibly entering a label, I get the following:

  * Heading One
:NOTES:
  _Newly Created Note_-- link to note just entered
:END:

Thanks!

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Frames

2008-11-09 Thread David A. Gershman
Hello Everone,

When I go to the agenda view (C-a a) the current frame(window) splits in
2.  So I make a new frame and show just my agenda and the other frame my
original .org file.  

While in the agenda, I click on an item which highlights in the .org
file, but the agenda frame splits into 2 again.  So now I have 2 frames,
1 whole with my .org file, and the other split with my .org and agenda.  

Is there a setting to stop this behavior?  I like having 2 windows: 1
for agenda and 1 for .org but still having the 'click - highlight'
function. 

Thanks and thanks again Carsten for a *GREAT* product!

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Links to Thunderbird e-mail

2008-11-04 Thread David A. Gershman

It's not exactly what you want, but rather a hack you may find useful. 
Hypermail is a program to take a mail file and convert it to HTML. 
Once done, you can link to the URL.  For it to be really useful, I'd
recommend putting the hypermail command into a cronjob.

For more info:

  http://www.hypermail-project.org/

  Does anyone know of a way to link to Thunderbird email similar
  to org-mac-message-get-link  org-mac-message-insert-link?
  
  From what I can find TB doesn't seem to provide any documented way to 
 access messages from another program, which is bad news as I would like 
 to do this too.
 
 Ian.
 
 
 ___
 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
 
 

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Agenda view export to ical

2008-09-09 Thread David A. Gershman

I'm interested in getting my agenda view data exported to ical format. 
I know I can export my agenda *data* to ical, but diary entries are not
included.  Anyone have a way to get both sets of data into an ical
format export?

Thanks.

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Link Associations in Linux

2008-09-04 Thread David A. Gershman
Hello,

Using Orgmode under Windows I can link to a PDF file and the Windows OS
will use the .pdf extension to launch the associated viewer application.
 It seems I don't have that luxury under Linux a the moment.  I have a
feeling there is a way to do it.  Ideas?

i.e. I would like a link:

  [[file:info.pdf][Information]]

Under Windows, info.pdf is associated with an app.  Under linux, I get
nothing.  (Note: Using XFCE4 as my WM and Zenwalk as the distro)

(or is this a non-orgmode question?)

Thanks.


---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Unsubscribe Message

2008-08-29 Thread David A. Gershman

FYI to the admin of this list:

  I unsubscribed my current address in favor of this one and got the
following message:

  Good bye.  I hope you had some fun here, but maybe not enough to stay.
  Sorry to loose you.

Thought I'd let you know it's lose not loose.  Although loose did
have some interesting things come to mind. :)

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Planner Pages Anyone?

2008-08-29 Thread David A. Gershman

Has anyone attempted the exporting or printing of .org data to a
physical planner size page?  I'm looking to get 1) the agenda view to a
planner page, and perhaps 2) any subtree view.


---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Suggestions for features OR Help?

2008-08-27 Thread David A. Gershman
Hello All,

I'm fairly new to Org-Mode, but common to Emacs.  I've have a need to
create a task which is made up of sub-tasks.  Each sub-task in turn has
actions which comprise it.

Each action, I'd like it to have a checkbox so that the sub-task can
track percent complete.  Like so:

  * Sub-Task [66%]
- [X] Action 1
- [ ] Action 2
- [X] Action 3

Once the sub-task is complete, I can set it's TODO label:

  * COMPLETED Sub-Task [100%] - 2008/08/08 17:33:00

This is already how Org-mode works obviously.  My question/request is
this: is there a way to also track completeness via percentages for the
sub-tasks (headings)?  So I would have/see the following:

 * Primary Task [65%]
  * COMPLETED Sub-Task 1 [100%] - 2008/08/08 17:33:00...
  * Sub-Task 2 [24%]...
  * Sub-Task 3 [72%]...

The primary task percent would be based on 3 sub-tasks of equal weight, so:
  (1*.33) + (.24*.33) + (.72*.33) = 65%

I'd even be willing to settle for a primary task percent of just 33%
since only 1 sub-task is completed.

Any ideas?  Is something like this possible?

-- 
--
Gershman, David A.
Sr. Systems Engineer II
Information Assurance/CISSP
NCS - Fullerton, Raytheon Company

(714) 446-2669 office
(714) 407-3636 pager
[EMAIL PROTECTED]

FU/675/Y343
1801 Hughes Drive
Fullerton, CA 92833

This message contains information that may be confidential and
privileged.  Unless you are the addressee (or authorized to receive
mail for the addressee), you should not use, copy or disclose to
anyone this message or any information contained in this message. If
you have received this message in error, please so advise the sender
by reply e-mail and delete this message. Thank you for your
cooperation.





___
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] DOH! - [Fwd: Suggestions for features OR Help?]

2008-08-27 Thread David A. Gershman
Before anyone does, I'll ping myself with an RTFM!  :)

Found my answer in the org manual, page 39.

However, it shows the 33% (by the example below), not the computed 65%.
 Anyone know if that method is possible?

Thanks.

--dag


 Original Message 
Subject: Suggestions for features OR Help?
Date: Wed, 27 Aug 2008 18:11:28 -0700
From: David A. Gershman [EMAIL PROTECTED]
To: emacs-orgmode@gnu.org

Hello All,

I'm fairly new to Org-Mode, but common to Emacs.  I've have a need to
create a task which is made up of sub-tasks.  Each sub-task in turn has
actions which comprise it.

Each action, I'd like it to have a checkbox so that the sub-task can
track percent complete.  Like so:

  * Sub-Task [66%]
- [X] Action 1
- [ ] Action 2
- [X] Action 3

Once the sub-task is complete, I can set it's TODO label:

  * COMPLETED Sub-Task [100%] - 2008/08/08 17:33:00

This is already how Org-mode works obviously.  My question/request is
this: is there a way to also track completeness via percentages for the
sub-tasks (headings)?  So I would have/see the following:

 * Primary Task [65%]
  * COMPLETED Sub-Task 1 [100%] - 2008/08/08 17:33:00...
  * Sub-Task 2 [24%]...
  * Sub-Task 3 [72%]...

The primary task percent would be based on 3 sub-tasks of equal weight, so:
  (1*.33) + (.24*.33) + (.72*.33) = 65%

I'd even be willing to settle for a primary task percent of just 33%
since only 1 sub-task is completed.

Any ideas?  Is something like this possible?

-- 
--
Gershman, David A.
Sr. Systems Engineer II
Information Assurance/CISSP
NCS - Fullerton, Raytheon Company

(714) 446-2669 office
(714) 407-3636 pager
[EMAIL PROTECTED]

FU/675/Y343
1801 Hughes Drive
Fullerton, CA 92833

This message contains information that may be confidential and
privileged.  Unless you are the addressee (or authorized to receive
mail for the addressee), you should not use, copy or disclose to
anyone this message or any information contained in this message. If
you have received this message in error, please so advise the sender
by reply e-mail and delete this message. Thank you for your
cooperation.




-- 
--
Gershman, David A.
Sr. Systems Engineer II
Information Assurance/CISSP
NCS - Fullerton, Raytheon Company

(714) 446-2669 office
(714) 407-3636 pager
[EMAIL PROTECTED]

FU/675/Y343
1801 Hughes Drive
Fullerton, CA 92833

This message contains information that may be confidential and
privileged.  Unless you are the addressee (or authorized to receive
mail for the addressee), you should not use, copy or disclose to
anyone this message or any information contained in this message. If
you have received this message in error, please so advise the sender
by reply e-mail and delete this message. Thank you for your
cooperation.





___
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] Thank you from a newbie...

2008-07-25 Thread David A. Gershman

I have tried numerous outliners and agenda tools and was never happy
with any of them.  I didn't even think to look at modes of emacs.  Emacs
and I have been together for years and I refuse to use any other text
editor.  Now, after finding 'org-mode'...task management bliss!

Carsten, thank you so much for your time and effort with this tool!  It
beats *everything* I've tried.  The linking is AWESOME!!!  The only
other tool I've found that can do linking _almost_ this good was
NoteCase.  But I bailed on that software after it kept blowing out my
execution path.

Anyhow, just wanted to offer my sincere thanks and appreciation!

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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