[Orgmode] How to disable log done notes for specific project?

2010-10-03 Thread Water Lin

I have set the log done time and log done note for my org files using
code:
---
(setq org-log-done 'time)
(setq org-log-done 'note)
---

The log done time and log done note are very useful while I am editing
my org files. But when I publish the projects, I don't want to publish
these TODO keywords and so does the log done notes.

I used following line to disable export TODO keywords:
---
 :todo-keywords nil
---

But I don't know how to disable log done notes.

How can I do these? To set the project not to export log done notes, or
to set the project not to mark log done notes?

How?

Thanks

Water Lin


-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


[Orgmode] How to not publish log done note?

2010-10-03 Thread Water Lin

I have set the log done time and log done note for my org files using
code:
---
(setq org-log-done 'time)
(setq org-log-done 'note)
---

The log done time and log done note are very useful while I am editing
my org files. But when I publish the projects, I don't want to publish
these TODO keywords and so does the log done notes.

I used following line to disable export TODO keywords:
---
 :todo-keywords nil
---

But I don't know how to disable log done notes.

How can I do these? To set the project not to export log done notes, or
to set the project not to mark log done notes?

How?

Thanks

Water Lin

-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


Re: [Orgmode] How to not publish log done note?

2010-10-03 Thread Water Lin
Noorul Islam  writes:

> On Sun, Oct 3, 2010 at 4:36 PM, Water Lin  wrote:
>>
>> I have set the log done time and log done note for my org files using
>> code:
>> ---
>> (setq org-log-done 'time)
>> (setq org-log-done 'note)
>> ---
>>
>> The log done time and log done note are very useful while I am editing
>> my org files. But when I publish the projects, I don't want to publish
>> these TODO keywords and so does the log done notes.
>>
>> I used following line to disable export TODO keywords:
>> ---
>>         :todo-keywords nil
>> ---
>>
>> But I don't know how to disable log done notes.
>>
>
> Did you try
>
> #+OPTIONS: <:nil

This works. But it will leave a blank line under the title in the
exported html file.

Any better solutions?

Thanks

Water Lin

>
> Thanks and Regards
> Noorul
>

-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


[Orgmode] How can I just publish entry marked as DONE?

2010-10-08 Thread Water Lin

I am using org project to build my web page. I have written a lot of
stuff but while I am publishing the org files, I just want to publish
the part which are marked as DONE( the keyword ).

Is it possbile?

Thanks

Water Lin

-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


[Orgmode] Any equal setting of #+STARTUP: nologdone?

2010-10-08 Thread Water Lin

I am using following setting
---
#+STARTUP: nologdone
---
to avoid done log note while I mark one entry as DONE.

But I want to set it as a global setting to avoid use it for every org
file.

Is there any equal setting of #+STARTUP: nologdone while I am setting my
project using following code:

(setq org-publish-project-alist

?

Thanks

Water Lin
-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


Re: [Orgmode] Any equal setting of #+STARTUP: nologdone?

2010-10-08 Thread Water Lin
Juan Pechiar  writes:

> On Fri, Oct 08, 2010 at 04:39:26PM +0800, Water Lin wrote:
>> I am using following setting
>> ---
>> #+STARTUP: nologdone
>> ---
>> to avoid done log note while I mark one entry as DONE.
>>
>> But I want to set it as a global setting to avoid use it for every org
>> file.
>
> Hi Water,
>
> The customizable variable 'org-log-done' is the global setting for all
> files. Change it via M-x customize-variable, or by including "(setq
> org-log-done nil)" in your .emacs.
>
> Documentation for org-log-done:
>
> Information to record when a task moves to the DONE state.
>
> Possible values are:
>
> nil Don't add anything, just change the keyword
> timeAdd a time stamp to the task
> notePrompt for a note and add it with template
> `org-log-note-headings'

Thank, I got it.

Water Lin

>
>> Is there any equal setting of #+STARTUP: nologdone while I am setting my
>> project using following code:
>> 
>> (setq org-publish-project-alist
>> 
>> ?
>
> I'm lost here. I can't see the relation between TODO state logging and
> project publishing.
>
> Regards,
> .j.
>

-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


[Orgmode] How to set todo-dependencies for specific org file?

2010-10-17 Thread Water Lin

I can use
-
(setq org-enforce-todo-dependencies t)
-
to set the todo dependencies for every org file.

But I don't want to use this global way. Can I set todo-dependencies for
specific file by other way?

Thanks

Water Lin

-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


[Orgmode] Can I change the link name in TOC?

2010-11-08 Thread Water Lin

While I generate the table of content of my org file, the link of each
sub-title will be something like #sec-2.2

But when I change the sequence of the title, the anchor will be changed.

I want to maintain permalinks for each anchors. Is it possbile to change
the #sec-2.2 into something like #test-keywords?

BTW: I am using Chinese for my sub-title, so I think use the title words
for anchor is not suitable.

Thanks

Water Lin

-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


[Orgmode] Where is the document in which all tags are described?

2009-10-10 Thread Water Lin

I am using org mode to build my own homepage now. I have perl scripts
need to be published to html from org file.

I use following script to mark it:

#+BEGIN_SRC perl
  # insert some Perl script here
#+END_SRC


But the perl tag doesn't exist.

So I tried to find a document described all tags (such as emacs-lisp)
the org mode supports, where is it?

Thanks

Water Lin

-- 
Water Lin's blog: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] The Perl color style

2009-10-12 Thread Water Lin

I try to tag perl-mode to color the Perl code while I am publishing my
org file to html. Here is the example:
---
#+BEGIN_SRC perl-mode
#!/usr/bin/perl
# some comments;

use warnings;
use strict;

print "hi";
#+END_SRC
---

But after I convert the content to html, the Perl code is badly
colored, just having some colors for content between "".

So, is there a good way to color Perl code in org? What's the tag for
Perl souce code?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


Re: [Orgmode] The Perl color style

2009-10-12 Thread Water Lin
Mikael Fornius  writes:

> Water Lin  writes:
>
>> #+BEGIN_SRC perl-mode
>
> For me:
>
> #+BEGIN_SRC perl
>
> is more colorful.

I don't know why, when I am using

#+BEGIN_SRC perl

, Emacs will tell me the error:

face-attribute: Invalid face: quote
Could not find config file "~/.tidyrc".  Winging it.


But if I use

#+BEGIN_SRC Perl

which has the capital P, it works but the output is not colorful enough
I think.

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


Re: [Orgmode] The Perl color style

2009-10-13 Thread Water Lin
Carsten Dominik  writes:

> On Oct 12, 2009, at 11:19 AM, Water Lin wrote:
>
>> Mikael Fornius  writes:
>>
>>> Water Lin  writes:
>>>
>>>> #+BEGIN_SRC perl-mode
>>>
>>> For me:
>>>
>>> #+BEGIN_SRC perl
>>>
>>> is more colorful.
>>
>> I don't know why, when I am using
>>
>> #+BEGIN_SRC perl
>>
>> , Emacs will tell me the error:
>> 
>> face-attribute: Invalid face: quote
>> Could not find config file "~/.tidyrc".  Winging it.
>> 
>
> Are you using htmlize.el as it comes distributed with Org in the
> contrib directory, or some other, older version?  You need 1.36 at
> least.
>
> - Carsten
>

I am sorry. I don't think I catch your idea. I have my own htmlize.el
whoes version is 1.36. But I don't know whether Org is using this one.

How can I find out this?

Thanks

Water Lin

>
>>
>> But if I use
>>
>> #+BEGIN_SRC Perl
>>
>> which has the capital P, it works but the output is not colorful
>> enough
>> I think.
>>
>> Water Lin
>>
>> --
>> Water Lin's notes and pencils: http://en.waterlin.org
>> Email: water...@ymail.com
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.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
>
> - 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
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


Re: [Orgmode] The Perl color style

2009-10-13 Thread Water Lin
Mikael Fornius  writes:

> Water Lin  writes:
>
>>>> , Emacs will tell me the error:
>>>> 
>>>> face-attribute: Invalid face: quote
>>>> Could not find config file "~/.tidyrc".  Winging it.
>>>> 
>
> This looks as a configuration typo or similar problem.
>
> Maybe you should try to enalble emacs "debug on error" feature:
>
> M-x toggle-debug-on-error RET
>
> , retry the org-export command and see if any information on why you
> have errors show up in the backtrace.
>
> If you have problem reading the backtrace you can post it here and I
> will give it a try.
>
>
>> I am sorry. I don't think I catch your idea. I have my own htmlize.el
>> whoes version is 1.36. But I don't know whether Org is using this one.
>>
>> How can I find out this?
>
> M-: htmlize-version RET
>
> can give an answer when htmlize-package is loaded.

I think I found the reason, there is something wrong with my Perl
script, so htmlize can't parse it and add color.

I changed a different script and tried htmlize, the Perl color is good.

Thanks!

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] Can I just publish content of specific tags?

2009-10-22 Thread Water Lin
I use org mode as my homepage and I use tags to distinguish my content
such as finished, on-hold and suspended.

But when I publish my org files into web pages, I don't want to publish
the content which isn't finished. That's mean I just want to publish
content of specific tags. How can I do it?

Thanks

Water Lin
-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] A problem about publishing CSS file

2009-11-09 Thread Water Lin

I want to publish org file to webpage using my own CSS file. I added a
line like this in my org file:

#+STYLE:

But after I publish the org file using M-x org-publish-current-file, the
output webpage file doesn't use the .. path. The result is like this:



Where is the .. gone? Why this happens?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] Three questions about publishing webpages

2009-11-09 Thread Water Lin

Here comes three more questions about publishing webpages about org
mode:

1. After publishing webpages with command M-x org-publish-current-file,
the org file will be closed by Emacs. I always use M-x
org-publish-current-file to check if the output is good, so I still want
to edit the org file. What can I do if I don't want that Emacs closes my
org file after publishing webpages with M-x org-publish-current-file.

2. I have some characters other than English in my org files. But org
publishes org file to webpages as coding ISO-8859-1. So Firefox can't
show the characters correctly. How can I let org publish files as UTF-8?

3. I set #+link_home: and #+link_up: , but nothing happened when I
publish the org file to webpages. There is no up or home link on my
pages. Is it necessary to introduce links in my org file? Or what else I
need to set in org?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


Re: [Orgmode] A problem about publishing CSS file

2009-11-10 Thread Water Lin
Water Lin  writes:

> I want to publish org file to webpage using my own CSS file. I added a
> line like this in my org file:
> 
> #+STYLE: href="../css/stylesheet.css" />
>
> But after I publish the org file using M-x org-publish-current-file, the
> output webpage file doesn't use the .. path. The result is like this:
> 
> 
>
> Where is the .. gone? Why this happens?
>
> Thanks
>
> Water Lin

I think I find the reason. I should set :style in my org configure file.

I set the style in my configure file. Then it works.

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] Anyway to publish org file to XML file?

2009-11-11 Thread Water Lin

Is it possible to publish org file to XML file in a specific format?

If there is existing way, I think I can write a module to do it.

Where should I start?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] Why I can't publish current file?

2009-11-25 Thread Water Lin

I can use my org to build a project and publish file under Windows XP
using EmacsW32. Here is the link of EmacsW32:
--
http://www.ourcomments.org/Emacs/EmacsW32.html

But while I try to publish the file under Ubuntu, the org provides me a
error message:
-
org-publish-file: Wrong type argument: arrayp, nil
-

But I can still export html using command M-x
org-export-region-as-html.

Why? Any way to trac this problem?

Thanks

Water Lin
-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] Can embed css stylesheet directly?

2009-12-15 Thread Water Lin

I use org-mode to build my note sites. For some reason, I don't want to
create a seperately css stylesheet which is linked by something like
following in my org-publish-project-alist:
-
:style ""
-

Can I insert the css stylesheet here directly rather than using a css
file?

Thanks

Water lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] Can embed css stylesheet directly?

2009-12-16 Thread Water Lin
Carsten Dominik  writes:

> Whay don't you just try?
>
> The answer is yes, you need to surround the text by 
>

OK. I will try it. Thanks

Water Lin

> - Carsten
> On Dec 16, 2009, at 3:10 AM, Water Lin wrote:
>
>>
>> I use org-mode to build my note sites. For some reason, I don't want
>> to
>> create a seperately css stylesheet which is linked by something like
>> following in my org-publish-project-alist:
>> -
>> :style ">   href=\"../common/stylesheet.css\" type=\"text/css\"/>"
>> -----
>>
>> Can I insert the css stylesheet here directly rather than using a css
>> file?
>>
>> Thanks
>>
>> Water lin
>>
>> --
>> Water Lin's notes and pencils: http://en.waterlin.org
>> Email: water...@ymail.com
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.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
>
> - Carsten
>
>
>
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] Can embed css stylesheet directly?

2009-12-21 Thread Water Lin
Carsten Dominik  writes:

> Whay don't you just try?
>
> The answer is yes, you need to surround the text by 
>
> - Carsten
> On Dec 16, 2009, at 3:10 AM, Water Lin wrote:
>
>>
>> I use org-mode to build my note sites. For some reason, I don't want
>> to
>> create a seperately css stylesheet which is linked by something like
>> following in my org-publish-project-alist:
>> -
>> :style ">   href=\"../common/stylesheet.css\" type=\"text/css\"/>"
>> -

Here coms a question.

I can embed sheetstyle by surround the text by , but
my style text is a little long and I want to use a string to replace
it. So I try to set a string by:
--
(setq mystyle ".")
--

and then I try to embed like following:
--
:style mystyle
--

But when I publish the project, Emacs provides a error message for me. I
not very familiar with elisp, so could you kind to give me a suggestion
about this kind of thing?

Can I embed a style string like this in org configure file?

Thanks

Water Lin

>>
>> Can I insert the css stylesheet here directly rather than using a css
>> file?
>>
>> Thanks
>>
>> Water lin
>>
>> --
>> Water Lin's notes and pencils: http://en.waterlin.org
>> Email: water...@ymail.com
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.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
>
> - Carsten
>
>
>
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] Replace the string in project setting

2009-12-23 Thread Water Lin

I set publishing project by
--
(require 'org-publish)
(setq org-publish-project-alist
-

and I also want to embed css sheetstyle by setting

:style "..."


But the style is too long and I want to use a string to replace it.

So I set a string by
---
(setq waterstyle "")
---

and replace the :style like following:
---
:style waterstyle
---

But while I publish the project, Emacs prompts an error about this.

I am not very familiar with elisp. Can I embed the style by a string
like this?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] Replace the string in project setting

2009-12-24 Thread Water Lin
Carsten Dominik  writes:

> On Dec 24, 2009, at 3:12 AM, Water Lin wrote:
>
>>
>> I set publishing project by
>> --
>> (require 'org-publish)
>> (setq org-publish-project-alist
>> -
>>
>> and I also want to embed css sheetstyle by setting
>> 
>> :style "..."
>> 
>>
>> But the style is too long and I want to use a string to replace it.
>>
>> So I set a string by
>> ---
>> (setq waterstyle "")
>> ---
>>
>> and replace the :style like following:
>> ---
>> :style waterstyle
>> ---
>>
>> But while I publish the project, Emacs prompts an error about this.
>>
>> I am not very familiar with elisp. Can I embed the style by a string
>> like this?
>
> Hi,
>
> you need to do this:
>
> (setq waterstyle .)
>
> (setq org-publish-project-alist
>  `((..
>   ..
>  :style ,waterstyle
>)))
>
> (note the *backquote* instead of a normal quote to quote
> the value of org-publish-project-alist, and note the comma before
> waterstyle to interpolate the value into the quoted list.
>
> HTH
>
> - Carsten

Thanks, I think I am not just know how to do it but also know why I need
to do this.

Thanks

Water Lin
>
>>
>> Thanks
>>
>> Water Lin
>>
>> -- 
>> Water Lin's notes and pencils: http://en.waterlin.org
>> Email: water...@ymail.com
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.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
>
> - Carsten
>
>
>
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] The quote tag in orgmode

2009-12-29 Thread Water Lin

I want to quote some text which I copy from others. What kind of tags I
should use?

I want the tag published as something like "blockquote" in html.

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] Can I export TODO flags in table of contents?

2009-12-30 Thread Water Lin

I marked my notes and tasks with TODO flags and I also want to see these
TODO flags in table of contents. So I can jump and explore to unfinished
task quickly.

By doing this, I can give myself a quickly summary of my tasks.

Can I do it?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] Can I export TODO flags in table of contents?

2010-01-03 Thread Water Lin
Carsten Dominik  writes:

> Hi Water,
>
> On Dec 31, 2009, at 4:17 AM, Water Lin wrote:
>
>>
>> I marked my notes and tasks with TODO flags and I also want to see
>> these
>> TODO flags in table of contents. So I can jump and explore to
>> unfinished
>> task quickly.
>>
>> By doing this, I can give myself a quickly summary of my tasks.
>>
>> Can I do it?
>
> I guess you are talking about export?
>
> You can try
>
> (setq org-export-mark-todo-in-toc t)

Yes, I mean export project. But I have some projects and I dont' want
set this setting for all projects.

Can I just set this method for specific project?

Thanks

Water Lin

>
> This will not show TODO keywords in the table of contents, but it will
> highlight headlines under which there are unfinished TODO entries.
>
> HTH
>
> - Carsten
>
>>
>> Thanks
>>
>> Water Lin
>>
>> --
>> Water Lin's notes and pencils: http://en.waterlin.org
>> Email: water...@ymail.com
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.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
>
> - Carsten
>
>
>
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] Can I export TODO flags in table of contents?

2010-01-04 Thread Water Lin
Carsten Dominik  writes:

> On Jan 4, 2010, at 4:33 AM, Water Lin wrote:
>
>> Carsten Dominik  writes:
>>
>>> Hi Water,
>>>
>>> On Dec 31, 2009, at 4:17 AM, Water Lin wrote:
>>>
>>>>
>>>> I marked my notes and tasks with TODO flags and I also want to see
>>>> these
>>>> TODO flags in table of contents. So I can jump and explore to
>>>> unfinished
>>>> task quickly.
>>>>
>>>> By doing this, I can give myself a quickly summary of my tasks.
>>>>
>>>> Can I do it?
>>>
>>> I guess you are talking about export?
>>>
>>> You can try
>>>
>>> (setq org-export-mark-todo-in-toc t)
>>
>> Yes, I mean export project. But I have some projects and I dont' want
>> set this setting for all projects.
>>
>> Can I just set this method for specific project?
>
> Look for "#+BIND" in the manual.

Thanks. It works fine.

Water Lin

>
> HTH
>
> - Carsten
>
>
>>
>> Thanks
>>
>> Water Lin
>>
>>>
>>> This will not show TODO keywords in the table of contents, but it
>>> will
>>> highlight headlines under which there are unfinished TODO entries.
>>>
>>> HTH
>>>
>>> - Carsten
>>>
>>>>
>>>> Thanks
>>>>
>>>> Water Lin
>>>>
>>>> --
>>>> Water Lin's notes and pencils: http://en.waterlin.org
>>>> Email: water...@ymail.com
>>>> __
>>>> Do You Yahoo!?
>>>> Tired of spam?  Yahoo! Mail has the best spam protection around
>>>> http://mail.yahoo.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
>>>
>>> - Carsten
>>>
>>>
>>>
>>>
>>
>> --
>> Water Lin's notes and pencils: http://en.waterlin.org
>> Email: water...@ymail.com
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.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
>
> - Carsten
>
>
>
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] How to use org-info.js?

2010-01-04 Thread Water Lin

I want to use org-info.js to build a navigator for my knowledge base.

So I set something like this:
-
#+INFOJS_OPT: path:http://orgmode.org/org-info.js
#+LINK_UP:
#+LINK_HOME:
-

but after I publish my project, there is no this kind of navigator.

What's the correct way to set it? But I can't find the detail
description in Worg.

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] How to use org-info.js?

2010-01-05 Thread Water Lin
Manish  writes:

> On Tue, Jan 5, 2010 at 12:07 PM, Water Lin wrote:
>>
>> I want to use org-info.js to build a navigator for my knowledge base.
>>
>> So I set something like this:
>> -
>> #+INFOJS_OPT: path:http://orgmode.org/org-info.js
>> #+LINK_UP:
>> #+LINK_HOME:
>> -
>>
>> but after I publish my project, there is no this kind of navigator.
>>
>> What's the correct way to set it? But I can't find the detail
>> description in Worg.
>>
>
> Does this help http://orgmode.org/worg/code/org-info-js/#sec-1

Thanks

I think I made it work now.

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] About the in-buffer setting of nologdone

2010-01-08 Thread Water Lin

I have enable variables org-log-done by following code:

(setq org-log-done 'time)
(setq org-log-done 'note)


But in some file I don't want to enable done time and done note, so I
use in-buffer setting to fix this. Here is the reference:
---
http://orgmode.org/manual/In_002dbuffer-settings.html
---

There are some explanation about "nologdone" variable. But I jsut can't
figure out how to use it as in-buffer setting.

How to use it? Any example?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] How to reset timestamp format?

2010-01-12 Thread Water Lin

I am using Chinese system so if I insert timestamp by C-c .

I will get timestamp about weekday in Chinese character. I want to use
English to express weekday, How can I set the language for timestamp?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] How to reset timestamp format?

2010-01-12 Thread Water Lin
iem...@gmail.com writes:

> You can try (setq system-time-locale "C")

Yes, it works. But one more question. The system will show my Chinese
weekday in short way. If I want to show it in full name. What should I
do?

This is the case similar with this one: the system will show "Fri" for
short when it is "Friday". But if I want to show "Friday" instead of
"Fri", what should I do?

Thanks

Water Lin

>
> On Tue, Jan 12, 2010 at 6:45 PM, Water Lin  wrote:
>>
>> I am using Chinese system so if I insert timestamp by C-c .
>>
>> I will get timestamp about weekday in Chinese character. I want to use
>> English to express weekday, How can I set the language for timestamp?
>>
>> Thanks
>>
>> Water Lin
>>
>> --
>> Water Lin's notes and pencils: http://en.waterlin.org
>> Email: water...@ymail.com
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.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
>>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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


[Orgmode] Index reference in orgmode

2010-01-21 Thread Water Lin

I am taking notes with org mode, which is something like Wiki.

I want to index some book or refercen in global way. So I want to insert
some sentence and point out from which reference it comes.

The first idea jumped into my mind is to use BiBTeX. If I can use BiBTeX
together with my orgmode, it is very powerful. Then I can generate some
document using LaTeX without a break.

Any way?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] How to build an Address Book?

2010-05-21 Thread Water Lin

I don't want to save all my contact info about my friends in Gmail.

I want to build an Address Book in my Emacs org mode.

Any good way to do list?

I just want to keep phone number, Emails, address etc. info about my
friends. 

Thanks

Water Lin


-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] How to build an Address Book?

2010-05-21 Thread Water Lin
Russell Adams  writes:

> On Fri, May 21, 2010 at 05:01:46PM +0800, Water Lin wrote:
>> 
>> I don't want to save all my contact info about my friends in Gmail.
>> 
>> I want to build an Address Book in my Emacs org mode.
>> 
>> Any good way to do list?
>> 
>> I just want to keep phone number, Emails, address etc. info about my
>> friends. 
>> 
>> Thanks
>> 
>> Water Lin
>
> There is an excellent prior ML discussion on this topic, including
> sample code.
>
> http://thread.gmane.org/gmane.emacs.orgmode/18218/focus=19847
>

I will study it. Thanks

Water Lin

> Enjoy.
>
> --
> Russell Adamsrlad...@adamsinfoserv.com
>
> PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
>
> Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
>
> ___
> 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
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] Can I show tag in generated sitemap.html?

2010-05-26 Thread Water Lin

I want to generate an index file which we usually called as
sitemap.html. So in my project setting, I use following line to generate
this file:
-
:auto-index t  ; Generate index.org automagically...
:index-filename "sitemap.org"  ; ... call it sitemap.org ...
:index-title "Sitemap" ; ... with title 'Sitemap'.
-

But in this generated sitemap file, I also want to show a tag for which
file. This is something like the tag we showd in Table of Content of
each file. By this tag, I can get some brief information of this file.

I check the manual, there are two kinds of tag we can add at the
begining of each file, there are:
---
#+TAGS:
#+FILETAGS:
---

So what's the difference of these two kinds of tags? Which one can be
used to show tag in sitemap.html?

Thanks

Water Lin


-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] Why I can't publish my project under Windows?

2010-06-03 Thread Water Lin

I can publish my org projects under Ubuntu but I can't publish it under
Windows. All settings are the same especially the home directory. I have
set the home path for different platform.

While I publish my org project under Windows, Emacs reminds me following
errors:
==
Debugger entered--Lisp error: (file-error "Searching for program" "no such file 
or directory" "touch")
  call-process("touch" nil 0 nil "e:/water/My 
Dropbox/EmacsHome/.org-timestamps/X25e4900e8c818b67efbd6a89083ad0458650dbfa")
  org-publish-update-timestamp("e:/water/My 
Dropbox/EmacsHome/org/notes/index.org" "e:/water/My 
Dropbox/EmacsHome/org/private_html/notes/" org-publish-org-to-html)
=

What's the meaning of .org-timestamps folder? What's wrong with my
system?

BTW: why I also can't publish projects with Chinese folder under
Windows? How can I set it?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] Why I can't publish my project under Windows?

2010-06-06 Thread Water Lin
Giovanni Ridolfi  writes:

> Water Lin  writes:
>
>> I can publish my org projects under Ubuntu but I can't publish it under
>> Windows. All settings are the same especially the home directory. I have
>> set the home path for different platform.
>>
>> While I publish my org project under Windows, Emacs reminds me
>> following
>
> 1. Which windows? XP, Vista?
> 2. Are you under cygwin ?
> 3. Which Emacs-version?
> 4. which org-version?

I am using Windows XP and not using Cygwin.

My org mode version is 6.31a which is binding with my Emacs 23.

>
>> errors:
>> ==
>> Debugger entered--Lisp error: (file-error "Searching for program" "no such 
>> file or directory" "touch")
>>   call-process("touch" nil 0 nil "e:/water/My 
>> Dropbox/EmacsHome/.org-timestamps/X25e4900e8c818b67efbd6a89083ad0458650dbfa")
>>   org-publish-update-timestamp("e:/water/My 
>> Dropbox/EmacsHome/org/notes/index.org" "e:/water/My 
>> Dropbox/EmacsHome/org/private_html/notes/" org-publish-org-to-html)
>> =
>
>>  call-process("touch" nil 0 nil "e:/water/My 
>> Dropbox/EmacsHome/.org-timestamps/X25e4900e8c818b67efbd6a89083ad0458650dbfa")
>^
> why do you have the word "touch" in your configuration?
> Do you call the "touch" program under GNU/Linux? 
> Do you have it installed under Windows?

I don't know why the word "touch" in my configuration. And I also don't
know if I use it under Linux.

I check my org mode configuration file, but I can't find any word like
"touch" in my org-sites.el file.

So, what's the function of this "touch" program?

What should I do now? Upgrade the org mode to latest version?

Thanks

Water Lin

>
>>
>> What's the meaning of .org-timestamps folder? 
> from the description of the variable:
>
>   "Name of directory in which to store publishing timestamps."
>
> Do you have it *in your home* under Windows?
>
> Could you, please, customize the org-publish-use-timestamps-flag to nil
>
> (defcustom org-publish-use-timestamps-flag t
>   "When non-nil, use timestamp checking to publish only changed files.
> When nil, do no timestamp checking and always publish all files."
>
> to see if you still have the publishing problem?
>
> cheers,
> Giovanni
>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] Why can't use Chinese folder while publishing projects?

2010-06-07 Thread Water Lin

While I am publishing my projects under Windows, the target folder is a
path with Chinese name.

While I use M-x org-publish-current-project, Emacs will prompt me a
error message like following

Saving file e:/PixCoo/Jackfruit/02工作区域/01计算ç»/01计算组/林绪è™/01计算组/林绪虹/ÏîÄ¿É걨/¹ãÖÝ¿ª·¢ÇøÁì¾üÈ˲ÅÉ걨.html...
basic-save-buffer-2: e:/PixCoo/Jackfruit/02工作区域/01计算ç»/01计算组/林绪è™/01计算组/林绪虹/ÏîÄ¿É걨/: no such directory


I think it is very strange. If I publish my org project to a path
without Chinese name, then it is OK.

Why? Any solutions?

Water Lin
-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.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


[Orgmode] How can I add a DONE tag to an org file?

2010-08-02 Thread Water Lin

Here is my two questions:

1. I want to mark an org file as DONE, so I will let me know that the
file is finished and doesn't need any change.

   How can I add this similar tag to the file, or something else.

2. If I want to add some notes about the usage of this org file. How can
do it? I just want to remind me to limit the content to the topic.

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] How can I add a DONE tag to an org file?

2010-08-03 Thread Water Lin
Jan Böcker  writes:

> On 08/02/2010 11:47 AM, Water Lin wrote:
>> 
>> Here is my two questions:
>> 
>> 1. I want to mark an org file as DONE, so I will let me know that the
>> file is finished and doesn't need any change.
>> 
>>How can I add this similar tag to the file, or something else.
>
> You can use file tags:
> #+FILETAGS: :DONE:
>
> Every headline in the file inherits the file tags. Note that this is
> completely independent of TODO states.
>
>> 
>> 2. If I want to add some notes about the usage of this org file. How can
>> do it? I just want to remind me to limit the content to the topic.
>
> Well, Org files are plain text, so just write it anywhere convenient. If
> you do not want to see it normally, you might want to put it into a
> drawer somewhere (also, IIRC drawers are not exported by default), e.g.
>
>
> * some node
>   :FILETOPIC:
>   In this file, I want to keep track of sightings of purple elephants.
>   Green elephants should be recorded somewhere else.
>   :END:
>
> Maybe a better question to ask would be where people who do something
> similar write their notes, and if there are any specific reasons to
> prefer one place to another?
>
> HTH, Jan
>

Thanks. It helps a lot.

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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


[Orgmode] How to change plain text face in Org Mode?

2010-08-03 Thread Water Lin

I want to change the text color in my Org file.

I tried to use M-x customize-group RET org-faces RET to adjust text
color settings.

By using this way, I can adjust color of headline leve 1 & 2 &3 and
something else. But I just don't know how to change plain text in my
notes. The plain text means the body of my ordinary text entries.

I want to change it into yellow or something else. So I can protect my
eyes.

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [Orgmode] How to change plain text face in Org Mode?

2010-08-04 Thread Water Lin
Nick Dokos  writes:

> Water Lin  wrote:
>
>> 
>> I want to change the text color in my Org file.
>> 
>> I tried to use M-x customize-group RET org-faces RET to adjust text
>> color settings.
>> 
>> By using this way, I can adjust color of headline leve 1 & 2 &3 and
>> something else. But I just don't know how to change plain text in my
>> notes. The plain text means the body of my ordinary text entries.
>> 
>> I want to change it into yellow or something else. So I can protect my
>> eyes.
>> 
>
> Put your cursor on the text that you are interested in and say
>
> M-x describe-face
>
> That's the face that you'll need to customize.
>
> AFAIK, ordinary text is in the default face: org does not define a face
> for it. So if you change it, you'll change the appearance of text all
> through emacs.
>
> HTH,
> Nick
>
>

thanks for the detail explanation.

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


[Orgmode] How can I search keywords in my org project?

2010-09-03 Thread Water Lin

I have used Org Mode to write a lot of stuff about my daily work, also
keep a lot of notes for my knowledge.

I build an org project as a wiki site for them. There are a lot of org
files.

So, here somes the problem. When I try to find something by keywords or
something else, what can I do? Is there any embeded search engine for
this work?

Or Can I use other way in Emacs itself?

Thanks

Water Lin

-- 
The Big Bang on Busy Reading: http://bigbang.WaterLin.org
Email: water...@sohu.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


[Orgmode] Can I publish one block of org file?

2009-09-15 Thread Water Lin

I am using org to write my draft. After finish the writing, I will copy
to my blog poster and edit something like linker, pictures.

This way works but is a little slow and should be very careful or else
it is very easy to forget some linkers, pictures, etc.

I am trying to find a way to write full text in org mode. I think it is
a good way to do following:
---
After I finish the writing, I select the block of my article, then use a
command to publish it to basic html and copy the html code into memory.


I don't need whole html elements, just need the customized html code for
the block.

I try to read the org help doc but can't find anything related to
it. Please give me a start stone, thanks...
-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] How can I keep spaces while publishing html?

2009-09-20 Thread Water Lin

I am using org to publish some context to html now. There are some code
in my file, so I need to keep the code original even don't lose the
spaces.

But even I used @ @ at the begin and end of my code, after I
published the context, the spaces disappeared withou trace!

How can I keep the spaces?

I am using command
C-u M-x org-export-region-as-html
to publish my file.

-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


Re: [Orgmode] How can I keep spaces while publishing html?

2009-09-20 Thread Water Lin
Water Lin  writes:

> I am using org to publish some context to html now. There are some code
> in my file, so I need to keep the code original even don't lose the
> spaces.
>
> But even I used @ @ at the begin and end of my code, after I
> published the context, the spaces disappeared withou trace!
>
> How can I keep the spaces?
>
> I am using command
> C-u M-x org-export-region-as-html
> to publish my file.

I think the following way is Ok:

 #+BEGIN_SRC emacs-lisp
 (defun org-xor (a b)
"Exclusive or."
(if a (not b) b))
 #+END_SRC

The link is :
--
http://orgmode.org/manual/Literal-examples.html#Literal-examples

-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] short way to insert source tag in org mode?

2009-09-26 Thread Water Lin

While I am using org to publish my source code, I include my code in
following way:

#+BEGIN_SRC emacs-lisp
some emacs-lisp code
#+END_SRC

Everytime I copy the begin and the end tag which is

#+BEGIN_SRC emacs-lisp

and

#+END_SRC

to my org file.

I want to find a way to inset them handly. Is there a key binding for
this?

Thanks
-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-28 Thread Water Lin
Bernt Hansen  writes:

> Water Lin  writes:
>
>> While I am using org to publish my source code, I include my code in
>> following way:
>>
>> #+BEGIN_SRC emacs-lisp
>> some emacs-lisp code
>> #+END_SRC
>>
>> Everytime I copy the begin and the end tag which is
>>
>> #+BEGIN_SRC emacs-lisp
>>
>> and
>>
>> #+END_SRC
>>
>> to my org file.
>>
>> I want to find a way to inset them handly. Is there a key binding for
>> this?
>
> I use yasnippet for this.
>
> http://doc.norang.ca/org-mode.html#Yasnippets
>
> -Bernt
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


I am using YASnippets according to your suggestion. But my YASnippet
works in other modes like Perl, but just doesn't work in org-mode.

I have already added file "org-mode/block" under folder
"snippets\text-mode".
But while I type block and press TAB in org-mode, nothing happens. I
think the org must be use the TAB key for special work.

Is it true?

-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


Re: [Orgmode] Re: short way to insert source tag in org mode?

2009-09-28 Thread Water Lin
Nick Dokos  writes:

> Water Lin  wrote:
>
>> Bernt Hansen  writes:
>> 
>> > Water Lin  writes:
>> >
>> >> ...
>> >> I want to find a way to inset them handly. Is there a key binding for
>> >> this?
>> >
>> > I use yasnippet for this.
>> >
>> > http://doc.norang.ca/org-mode.html#Yasnippets
>> >
>> 
>> I am using YASnippets according to your suggestion. But my YASnippet
>> works in other modes like Perl, but just doesn't work in org-mode.
>> 
>> I have already added file "org-mode/block" under folder
>> "snippets\text-mode".
>> But while I type block and press TAB in org-mode, nothing happens. I
>> think the org must be use the TAB key for special work.
>> 
>> Is it true?
>> 
>
> Using Bernt's setup, I can get the block expanded using C-i, but the 
> key itself is bound to org-cycle. When I say
>
> C-h c 
>
> emacs says "", whereas if I say
>
> C-h c C-i
>
> emacs says "TAB". In an emacs without yasnippets, otoh,
>
> C-h c 
>
> says "TAB (translated from ". This is all under X of course: I suspect
> that on a console, things would be simpler.
>
> HTH,
> Nick
>

Yes, thanks, it works.

Water Lin

-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] Two question about org-mode?

2009-09-30 Thread Water Lin

First, I am using item list like this in my org file:

1. test
  1) test
  2) test
  3) test

2. test2

3. test3

I don't know why my webpage looks like this after exported:

1. test
  1. test
  2. test
  3. test

2. test2
---

Why the 1) 2) 3) can't keep the right parenthes in item list order?

The second question, I have some underline in my org text, like
---
test_src
---

When I export it to html page, it is converted to subscript characters.
How can I make org not to convert the underline?
-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] Is there a good way to use org as blog system?

2009-09-30 Thread Water Lin

I want to mantain a local static html blog system on my local
computer. I think org is good enough to organise the stuff.

Is there any special function for me to use org as blog system?

I need a reference to start..

Thanks

-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


[Orgmode] A question about inlined images

2009-09-30 Thread Water Lin

Acoording to reference

http://orgmode.org/manual/Inlined-images.html#Inlined-images

, I can insert images to my org.

But after I export the org file to html, I get a page whoes images are
all aligned at the right side.

How can I control the image css style?
-- 
Water Lin's blog: http://blog.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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