Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Chao Lu
er and run org-agenda-quit on each one (so all the opened org file will be closed)? Best, Chao On Mon, Jan 19, 2015 at 7:34 PM, Chao Lu wrote: > Thanks, it works. > > Best, > > Chao > > On Mon, Jan 19, 2015 at 5:03 PM, Dan Griswold > wrote: > >> Probably this i

Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Chao Lu
Thanks, it works. Best, Chao On Mon, Jan 19, 2015 at 5:03 PM, Dan Griswold wrote: > Probably this instead: > > (org-agenda nil "1" nil) > > Dan > > On Mon, Jan 19, 2015 at 4:50 PM, Chao Lu wrote: > >> Hi all, >> >> I defined a few org

[O] How to call org-agenda with the parameter

2015-01-19 Thread Chao Lu
Hi all, I defined a few org-agenda custom set, where I could M-x org-agenda RET then press "1" to list all my active TODOs. And I'm trying to write a function when I could pop-up a buffer and show me all the active TODOs. I tried (org-agenda "1"), and it does not work, then what should be the righ

Re: [O] org-download.el

2015-01-18 Thread Chao Lu
Hi Oleh, Thanks a lot for the detailed instruction again, and the screencast is a good job as well! I just did the testing. Please see below. 1. Have you made any customizations to `org-download`? It's easier for me to proceed with the defaults. *-- No, all I did is (require 'org-download)* 2.

Re: [O] org-download.el

2015-01-18 Thread Chao Lu
Hi Oleh, Thanks for the detailed instruction. I just checked following your advice, by copying the address of the image (and by looking at the browser-ring, I can make sure the address has been there), then M-x org-download-yank, returns error: "if: Wrong type argument: number-or-marker-p, nil".

Re: [O] org-download.el

2015-01-13 Thread Chao Lu
\" -o \"%s\"") > > (const :tag "url-retrieve" t)) > > :group 'org-download) > > ... > > > > ** My guess: You don't have "wget" and/or "curl" on your Mac? > > either that, or they are not in the path use

[O] org-download.el

2015-01-12 Thread Chao Lu
Dear all, Does anyone get org-download.el to work under Mac OSX? I'm struggling to get it work, but it seems to help a lot, empowering org to handle images a lot easier. I believe I've installed org-download.el correctly, but when I'm dragging and drop the image into an org buffer, all I get is t

Re: [O] Upgrade to org 8.0

2013-06-21 Thread Chao Lu
error when org-export-as-latex on test.org: * org-export-as-latex: Symbol's value as variable is void: org-export-latex-default-packages-alist * * * Totally lost why this is happening... On Fri, Jun 21, 2013 at 3:34 PM, Chao Lu wrote: > > >

Re: [O] Upgrade to org 8.0

2013-06-21 Thread Chao Lu
On Fri, Jun 21, 2013 at 3:27 PM, Chao Lu wrote: > Thanks a lot for those replies, which are quite helpful. > > 1. lch-org.el and lch-org-export.el together completes my conf about org, > which works before 8.0 > > 2. The version I installed is 8.0.3 tar ball instead of git,

Re: [O] Upgrade to org 8.0

2013-06-21 Thread Chao Lu
acs.d/lisp/org/ 3. M-x locate org-publish gives: '/Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.elc', indicating my installation has something wrong... still working on it. Thanks, Chao On Fri, Jun 21, 2013 at 8:45 AM, John Hendy wrote: > >

[O] Upgrade to org 8.0

2013-06-21 Thread Chao Lu
Dear list, I'm trying to upgrade to org 8.0.3 and met some difficulty that could not solve. Please help. 1. About installation Currently I'm using Emacs 24.3 under MacOSX mountain lion. The org mode shipped with this version of emacs is 7.9 I followed the instruction

[O] Academic Reference Workflows and recommendation of Bibdesk

2011-06-03 Thread Chao LU
Dear All, Here I'd like to discuss my workflow for Academic reference and recommend you Bibdesk. I use iTune to manage all my mp3 files. Mp3 format has the ability to store all the metadata into the file itself, and iTune offers a way to modify and display certain kind of music according to the m

[O] Org-capture template Problem

2011-05-23 Thread Chao LU
Dear all, I'm trying to define a template for org-capture like below: (setq org-capture-templates '( *("e" "EMACS" entry (file+olp (concat org-source-dir "/Emacs.org") "EMACS" "INBOX") "* %?" :prepend t)* ("i" "INBOX" entry (file+olp (concat org-private-dir "/i

[O] A little bug of Org capture?

2011-03-24 Thread Chao LU
Dear all, Don't know if it is a little bug: For org capture template, if I set an template like this: ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX" "test") "* %?" :prepend t) And for the iPrv.org, I have this structure: * INBOX ** test Then it works. But if the firs

[O] Capture Template problem

2011-03-23 Thread Chao LU
Dear All, I found a little problem when configuring Org-Capture. The target file is iPrv.org, whose structure is like this: === * INBOX *** A *** B *** C === So I defined a template like : ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX") "*** %?" :prepend t) Bu

Re: [O] Using Variable in Org-capture configuration

2011-03-23 Thread Chao LU
Yes, the latest version of org 7.5 works! Thanks~ Chao On Tue, Mar 22, 2011 at 12:56 PM, Carsten Dominik wrote: > > On 22.3.2011, at 15:25, Chao LU wrote: > > > Dear all, > > > > Just writing to see if it is possible to use variable in org-capture > configuration

[O] Using Variable in Org-capture configuration

2011-03-22 Thread Chao LU
Dear all, Just writing to see if it is possible to use variable in org-capture configuration, like this (setq org-capture-templates '(("t" "Todo" entry (file *"~/org/refile.org"*) "* TODO %?\n %i\n %a" :prepend t))) --

Re: [Orgmode] How to align tag to the right margin

2010-12-07 Thread Chao LU
AM, Eric S Fraga wrote: > Chao LU writes: > > > Dear all, > > > > Got another question, as titled, how to align tag to the right > > margin? My org tag look like below: > > check out the variable =org-tags-column= (C-h v org-tags-column RET). > -- > : E

[Orgmode] How to align tag to the right margin

2010-12-07 Thread Chao LU
Dear all, Got another question, as titled, how to align tag to the right margin? My org tag look like below: *| blablabalblablab :Book:Doc:EBook:STAR5:*|* | | - | >There's some blank between the tags and the right boundary

[Orgmode] Multi Todo state

2010-12-06 Thread Chao LU
Dear all, Is it possible to have multiple todo state for one item? Like example below: (setq org-todo-keywords '((type "PersonA" "PersonB" "PersonC" "|" "DONE") (sequence "REPORT" "BUG" "KNOWNCAUSE" "|" "FIXED"))) So it could be possible for one item both ha

[Orgmode] Latex under windows

2010-11-24 Thread Chao LU
Dear all, I'm trying to publish org files containing latex fragments, or (Preview it). My configuration used to be quite OK, but not working now, I'm not quite sure what happened. But seems org could successfully generate the *.tex file from the org file (in the %Temp%), but fail to generate the *

Re: [Orgmode] Org Mobile Setting and file encoding

2010-11-24 Thread Chao LU
on iphone failed on > the first lines of the index file. mobileorg on Android didn't fail > however. > > Good luck! > > Joost Helberg > > >>>>> "Chao" == Chao LU writes: > > Subject: [Orgmode] Org Mobile Setting and file encoding > >

[Orgmode] Org Mobile Setting and file encoding

2010-11-23 Thread Chao LU
Dear list, I'm trying to set up Mobile Org, but there's some problem, All my org files are placed in in ~/My Dropbox/org/org, as following: - (defvar org-dir (concat Dropbox "/org") "org dir") (defvar org-source-dir (concat Dropbox "/org/org") "org source dir") (defvar pub-html-dir (concat D

Re: [Orgmode] How to use variable in org publish function

2010-11-18 Thread Chao LU
Hi Nick, It works perfectly, thanks a lot~ Chao On Thu, Nov 18, 2010 at 9:50 AM, Nick Dokos wrote: > Chao LU wrote: > > > Dear all, > > > > I'm trying to define a variable, to let org-mode know different path to > use when I'm under different system (Wi

[Orgmode] How to use variable in org publish function

2010-11-17 Thread Chao LU
Dear all, I'm trying to define a variable, to let org-mode know different path to use when I'm under different system (Windows or Mac), but got trouble to get it work. Here is the Code: (defconst lch-win32-p (eq system-type 'windows-nt) "Are we on Windows?") (defconst lch-mac-p (eq system-ty

[Orgmode] How to do Properties search by define an agenda command

2010-11-10 Thread Chao LU
Dear all, I'm trying to figure out how to do Properties search by define an agenda command. Here is my item in org file: *** Franz Schwabl / Quantum Mechanics :PROPERTIES: :TITLE: Quantum Mechanics :AUTHOR: Franz Schwabl :CATEGORY: Quantum Mechanics :TAGS: Quantum Mechanics,

[Orgmode] Use Tags in Properties

2010-11-09 Thread Chao LU
Dear all, Is it possible to hide the Tags in the Properties Drawer? Sometimes my items have too many Tags, or the Tags are quite long like (Quantum Mechanics), the line will be quickly filled up... Thanks, Chao ___ Emacs-orgmode mailing list Please use

[Orgmode] How to export to ps file when generating agenda file on Windows

2010-11-09 Thread Chao LU
Dear all, I'm trying to generating the agenda file everyday as a pdf file, then print it out. But I failed to modify org-mode to do so automatically under windows system, each time I have to get the agenda generated first, then manually M-x ps-spool-buffer-with-faces, to save it as ps file. How to

[Orgmode] Org-attach-link on Windows XP

2010-11-09 Thread Chao LU
Dear All, I'm trying to manage a small personal library using org-mode. The command I find really useful is org-attach, then choose link. However, unluckily, seems Window XP seems not work well with this function, what it actually did is COPY the file... Since I'm managing a little library, I coul

[Orgmode] How to trigger costumed agenda after startup?

2010-10-11 Thread Chao LU
Dear list, The first thing for me to do after starting Emacs is just going to some costumed agenda command, how to trigger these agendas by .emacs? Thanks a lot. Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Em

[Orgmode] Can't find LaTeX under MAC

2010-09-27 Thread Chao LU
Dear all, I'm trying to use org-mode under MAC, and when I export to html, some fragments of LaTeX needs to be converted. So I got the texlive installed and then put these lines into my .emacs: 8<>8 (defconst lch-mac-p (eq window-system 'mac) "Are we on Mac") (if lch-mac-

[Orgmode] Author info while publishing to html

2010-07-23 Thread Chao Lu
Dear all, I'm using org-7.01g, Emacs 23.2.50.1. When I was using org-6.35c and older version, the publish function used to generate the author info like LooChao, and I like this style. The related configuration is just: (setq user-full-name "LooChao") (setq user-mail-address "looc...@gmail.com")

[Orgmode] Exclude some file to be in the agenda

2010-07-08 Thread Chao Lu
Dear all, The way I set the org agenda file is using all the *.org file in some dir. Like (setq org-agenda-files (file-expand-wildcards "~/.emacs.d/org/org/*.org")) But is it possible to exclude certain file to show up in the agenda? Sometime this will be handy. Thanks, Chao ___

[Orgmode] Both todo and tag search

2010-06-17 Thread Chao Lu
Dear all, For the custom agenda command, is it possible to define a search performing both todo and tag search, for example, the items whose todo state is ACTIVE, and the context(defined by tag) is Office? Thanks! Chao ___ Emacs-orgmode mailing list Pl

[Orgmode] Multiple TODO states

2010-06-17 Thread Chao Lu
Dear all, I'm wondering if it is possible for an item to have multiple todo state, like: Physics:*ACTIVE* *MOBILE* Quantum optics * :Optics::Video:MITC:ACTIVE:* --TODO -TAG For I defined a todo sequence like: (sequence

[Orgmode] Edit Worg, Tracking changes, ect.

2010-04-25 Thread Chao Lu
Dear All, I'm still struggling with edit Worg file under Windows system. I do have a working GIT under Cygwin, but the ssh never works. Is there anybody who are editing WOrg files under M$ Windows, could show me how to do so? Another questions will be, what kind of tool are you using to read the

[Orgmode] Auto-indexing

2010-04-25 Thread Chao Lu
Dear all, I just updated to the 6.35trans version, and found the auto-index function which used to work now doesn't work any longer. My conf is :auto-index t :index-filename "Sitemap.org" :index-title "Sitemap" Does anybody get any idea? Thanks a lot. Chao __

[Orgmode] Tag Align

2010-04-18 Thread Chao Lu
Dear All, I'm struggling for a neat Tag alignment, but haven't got any progress yet, is there anybody who has the problem solved? All the best, Chao <>___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.

[Orgmode] footnote

2010-04-06 Thread Chao Lu
Dear all, If I call the function org-footnote-create-definition, seems I succeeded to got the footnote working now, but new problem comes, for I don't like org to create a section with the head of Footnote, but I haven't succeeded to stop it yet, any advice? Thanks a lot, Chao __

[Orgmode] Text color and background color

2010-04-06 Thread Chao Lu
Dear all, Just wondering is it supported to change text color or background when do editing, which is useful to highlight some importance. This is important. Best, Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to

[Orgmode] Latex inline Latex image

2010-04-06 Thread Chao Lu
Dear all, Is it possible to display the latex equation as inline image in Org? For the equations is not understood-able unless after the conversion. Thanks! Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-o

[Orgmode] How to enable footnote

2010-04-06 Thread Chao Lu
Dear all, I was trying to use footnote in org, but it seems not work. I explicitly include #+OPTIONS: f:t Then use C-c C-x f to create a footnote. But after exporting to html, there's nothing happen, what I got is just plain text like blabla [fn:1] kaka No hyperlink at all. Does anybo

[Orgmode] Confusion about TODO tags

2010-03-23 Thread Chao Lu
Dear all, Why we need the tag-todo, what's the difference between the tag-todo and if I define a tag named with TODO? And is it possible when I change the state of one task to done, it will be archived automatically? Besides, how could I modify the behavior of the archive function, since I found

[Orgmode] Tag inheritance

2010-03-20 Thread Chao Lu
Dear all, Is it possible for all the headlines inherit tags from the *filename?* If we could make it a in-buffer setting, that will be great. For example, I usually write notes related to Emacs in a file called Emacs.org. ^.^ All the best, Chao * * ___

[Orgmode] Is it possible to expand the quick tag selection key

2010-03-20 Thread Chao Lu
Dear all, As I'm using more and more tags, I found the keys are not enough. It is possible to define keymaps like emacs? (setq org-tag-alist '(("Culture" . ?c) ("ComputerSE" . ?C) ("English" . ?e) ("GuoXue" . ?g) ("H

[Orgmode] Re: Problem with markups

2010-02-15 Thread Chao Lu
Dear all, Sorry to my spam, there's nothing wrong with Chinese, just found in order to have bold, there has to be some whitespace before the star. Please forget my previous email. Sorry. Chao On Mon, Feb 15, 2010 at 11:37 PM, Chao Lu wrote: > Dear all, > > I just tried to use t

[Orgmode] Problem with markups

2010-02-15 Thread Chao Lu
Dear all, I just tried to use the markup like **bold** to highlight some text, and it work well for English just like the manual tells. However, when I try the same stuff on Chinese like, *高亮*, nothing happened, the star lost its function and was recognized literally. Is this a bug or is there any

[Orgmode] Re: More convenient capture

2010-02-15 Thread Chao Lu
n, it copy the object with certain name, say, Humor_Pic_2.jpg, and create a link in the Humor.org. Done! I'm just new to Emacs, so it anybody interested to help me to write out such a function? All the best, Chao On Mon, Feb 15, 2010 at 11:05 PM, Chao Lu wrote: > Dear all, > > I

[Orgmode] More convenient capture

2010-02-15 Thread Chao Lu
Dear all, I'm wondering if org could have the power to capture pictures like the Evernote does? Although Evernote is far behind in other ways, but the capture is really convenient, whichever software you are, just select the content you want to save, and press Win+A, everything is done. I tried th

[Orgmode] Photo Gallery

2010-02-13 Thread Chao Lu
Dear all, Is it possible to use org to create a photo gallery? Which mean I need to insert a batch of image file, but do the links by hand could be so heavy work, any quick ways? Thanks, Chao ___ Emacs-orgmode mailing list Please use `Reply All' to sen

Re: [Orgmode] About publishing to html

2010-02-13 Thread Chao Lu
2010 at 5:53 PM, Chao Lu wrote: > Hey Carsten, > > I have read the link you gave, but still confusing... > > For example, I guess org automatically generate > > http://orgmode.org/org-info.js</a> > "> > > how could I tell it not to do this? > >

[Orgmode] About publishing to html

2010-02-13 Thread Chao Lu
Dear all, I'm still adjusting the web publishing of org, for I got a little confused about one line: Here is my configuration for publishing: :style " " --- But as I published foo.org to foo.html, and check the html file

[Orgmode] Org-style outline

2010-02-11 Thread Chao Lu
Dear all, I'm writing to see if there's anyway to use org-like outline in ALL kinds of files, like my emacs configuration file, whose suffix is .el. Could I tell Emacs ;;; headline 1 ;; headline 2 And it begin to have the ability to display my el file just as Org does? Besides, is there any act

[Orgmode] Is it possible to control info.js' behavior

2010-02-02 Thread Chao Lu
Dear all, I'm writing to see is it possible to control info.js' behavior, for currently it will unfolded the content under the first headline, but what I want is folded all. Any suggestion? Thanks a lot. Chao <><>___ Emacs-orgmode mailing list Please

[Orgmode] Another question

2010-02-02 Thread Chao Lu
Dear all, I know it's a silly question... But it is possible for emacs support free hand input (tablet), since for a student on physics, most notes are math equation related... Any suggestion? Chao ___ Emacs-orgmode mailing list Please use `Reply All'

[Orgmode] Is there any IN Buffer setting for preamble and Remember

2010-02-02 Thread Chao Lu
Dear all, When exporting, NOT publishing, is it possible to still use the preamble, but in-buffer setting it? Another question will be for remember, I tried several times, seem for the remember template, a headline is required, say, if I just want to add a line, like below, which is quite often w

[Orgmode] Just a piece of advice

2010-02-02 Thread Chao Lu
Dear all, As I walking around the internet using firefox and came across something interesting, I just press the Win+A global key to call Evernote or C-S-L to call Scrapbook(plugin of firefox) to remember it. But as I totally move to Org now, here comes my question, can our org do so, which is cap

Re: [Orgmode] Publish-current-file error

2010-02-02 Thread Chao Lu
think? Chao On Tue, Feb 2, 2010 at 6:01 PM, Nick Dokos wrote: > Chao Lu wrote: > > > I just start a new org file, say, PHY.org, type very simple words, then > > tried > > M-x org-publish-current-file. > > > > The *backtrace* tells: > > > &g

Re: [Orgmode] Publish-current-file error

2010-02-02 Thread Chao Lu
(setq org-publish-files-alist (org-publish-get-files org-publish-project-alist)) (progn (setq org-publish-files-alist (org-publish-get-files org-publish-project-alist))) (if (or refresh (not org-publish-files-alist)) (progn (setq org-publish-files-alist ...))) (when (or refresh (not org-pub

[Orgmode] Publish-current-file error

2010-02-02 Thread Chao Lu
Dear all, Today I was trying to publish a single org file using org-publish-current-file, however, org refused to do so, the error message is let*: Wrong type argument: stringp, nil I believe the org-publish function work well, for I could get the pre-defined project published smoothly

Re: [Orgmode] The ditaa picture

2010-02-02 Thread Chao Lu
any idea? Thanks a lot! Chao On Mon, Feb 1, 2010 at 2:56 PM, Eric Schulte wrote: > Hey Chao, > > Chao Lu writes: > > > Hey Eric, > > > > Now it works! Thank you s much. I'll read through the reference, > sorry to bother you > > so much, a little

[Orgmode] The way index.html is generated

2010-02-01 Thread Chao Lu
Dear all, I'm writing to ask if there any way to control the way how the index.html is generated? Now it works fine, but for a frontpage of the website, I really want to put more stuff than only a list of all the pages. Another question will be how to generate a tree-like navigation bar in all th

[Orgmode] Overview mode of info.js

2010-01-31 Thread Chao Lu
Dear all, As I'm trying to adjust the setting of info.js, I found when I set the view to be overview, it does not behave like what I expected. I just want the headlines to be shown, but by default, Org seems expand the content of the first section as well. So how could I modify this stuff? Thanks

Re: [Orgmode] The ditaa picture

2010-01-31 Thread Chao Lu
he block. > > To activate org-babel add the following to your Emacs configuration > > (require 'org-babel-init) > (require 'org-babel-ditaa) > > Best -- Eric > > Chao Lu writes: > > > Dear all, > > > > When I'm using the ditaa in

[Orgmode] How to disable localtoc of info.js

2010-01-29 Thread Chao Lu
Dear all, I was trying to disable the localtoc in org file, using #+INFOJS_OPT: localtoc:nil --- But it doesn't work, does anyone have some idea? Thanks, Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send

[Orgmode] Re: The trick behind this website

2010-01-29 Thread Chao Lu
One more question, how could I disable the footer part and if I want to use it, how could I add some icons, like powered by Emacs, Org-mode, UNIX icons? Thanks, Chao On Fri, Jan 29, 2010 at 4:58 AM, Chao Lu wrote: > Dear all, > > As I browse through the web, I came across a great

[Orgmode] The trick behind this website

2010-01-29 Thread Chao Lu
Dear all, As I browse through the web, I came across a great homepage, which is http://lumiere.ens.fr/~guerry/index.php. I like it a lot. But after learn from it, I really have some question. First of all, I really like the display of the index.php, but

[Orgmode] The ditaa picture

2010-01-29 Thread Chao Lu
Dear all, When I'm using the ditaa in a org file called pearl.org, by #+begin_ditaa communication.png blabla #+end_ditaa It generates a file called communication_5e2f49c31c46339e8e3af9ef8a2fd2dfa3d1fe74.png, but this picture is right located at the same file as the org file(p

[Orgmode] About Ditaa

2010-01-27 Thread Chao Lu
Dear all, I'm trying to power my org with the ditaa block generator, so I downloaded the jar file, and put it in ~/.emacs.d/org/var/ditaa0_9.jar. Then I include "(setq org-ditaa-jar-path "~/.emacs.d/org/var/ditaa0_9.jar")" in my .emacs. However it seems not work well, I do get some results like b

Re: [Orgmode] Org Folded View when Startup

2010-01-22 Thread Chao Lu
the yasnippet minor mode enabled, is it possibly be an cause? Thanks a lot! Chao On Fri, Jan 22, 2010 at 4:18 AM, Carsten Dominik wrote: > > On Jan 22, 2010, at 12:48 AM, Chao Lu wrote: > > Hey, >> >> I found my Org refuse to do the overview view correctly. Although I ha

[Orgmode] Org Folded View when Startup

2010-01-21 Thread Chao Lu
Hey, I found my Org refuse to do the overview view correctly. Although I have explicitly set the org-startup-folded to be t. Each time when I open an org file, it still in plain view (not folded). So I have to M-x org-mode, then it enters the fold view, which is really annoying... Could anybody h