Re: [O] How to call org-agenda with the parameter
Thanks, it works. Best, Chao On Mon, Jan 19, 2015 at 5:03 PM, Dan Griswold dgris...@rochester.rr.com wrote: Probably this instead: (org-agenda nil 1 nil) Dan On Mon, Jan 19, 2015 at 4:50 PM, Chao Lu loochao.l...@gmail.com wrote: 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 right way to do that? (defun lch-recur () (interactive) (split-window-vertically) (lch-cowsay-fortune) (other-window 1) *(org-agenda 1)* ) Thanks, Chao
Re: [O] How to call org-agenda with the parameter
Actually I'm trying to write a function, which simply split the window into two, inside one (org-agenda nil 1) is called, while inside the other call (org-agenda nil 2), however, (org-agenda) will always split the window using its own way. Is there anyway to get around this? Thanks. (defun lch-recur () (interactive) (split-window-horizontally) (org-agenda nil 1) (other-window 1) (org-agenda nil 2) ) (run-with-idle-timer 300 t 'lch-recur) And also how to define a function which delete all the org-agenda buffer 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 loochao.l...@gmail.com wrote: Thanks, it works. Best, Chao On Mon, Jan 19, 2015 at 5:03 PM, Dan Griswold dgris...@rochester.rr.com wrote: Probably this instead: (org-agenda nil 1 nil) Dan On Mon, Jan 19, 2015 at 4:50 PM, Chao Lu loochao.l...@gmail.com wrote: 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 right way to do that? (defun lch-recur () (interactive) (split-window-vertically) (lch-cowsay-fortune) (other-window 1) *(org-agenda 1)* ) Thanks, Chao
[O] How to call org-agenda with the parameter
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 right way to do that? (defun lch-recur () (interactive) (split-window-vertically) (lch-cowsay-fortune) (other-window 1) *(org-agenda 1)* ) Thanks, Chao
Re: [O] org-download.el
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. As I'm testing now, I can get a Wrong type argument: number-or-marker-p, nil error if the org-mode file in question is empty or the cursor is before the first heading. Is this the case for you? I'll fix this case soon anyway. -- *Not really, I made a test.org http://test.org then insert some heading, then tried (org-download-yank) with the web address on top of kill-ring, which did not trig the download events as well.* 3. If this doesn't work, try the following simplified function: (defun org-download-yank-1 () (interactive) (let ((filename ./foo.png)) (org-download--image https://www.google.nl/images/srpr/logo11w.png; filename) (insert (format [[%s]] filename)) (org-display-inline-images))) *-- This one works! The google logo gets into my test.org http://test.org buffer, which is a good signal~* Please let me know if there's any further instruction. And thanks for the help~~ Best, Chao On Sun, Jan 18, 2015 at 6:10 AM, Oleh ohwoeo...@gmail.com wrote: 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. Also I tried (org-download-yank the-address-to-the-image), which does not work either. Do you have any insight? Thanks. Alright, we're getting somewhere now. 1. Have you made any customizations to `org-download`? It's easier for me to proceed with the defaults. 2. As I'm testing now, I can get a Wrong type argument: number-or-marker-p, nil error if the org-mode file in question is empty or the cursor is before the first heading. Is this the case for you? I'll fix this case soon anyway. 3. If this doesn't work, try the following simplified function: (defun org-download-yank-1 () (interactive) (let ((filename ./foo.png)) (org-download--image https://www.google.nl/images/srpr/logo11w.png; filename) (insert (format [[%s]] filename)) (org-display-inline-images))) If this one doesn't work as well, I can proceed from there. regards, Oleh
Re: [O] org-download.el
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. Also I tried (org-download-yank the-address-to-the-image), which does not work either. Do you have any insight? Thanks. Best, Chao On Thu, Jan 15, 2015 at 7:11 AM, Oleh ohwoeo...@gmail.com wrote: Hello, 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 the link address inserted into the buffer, no downloading events trigger. I'm the org-download author. I've mentioned these things on the tracker, but there's no harm to posting here additionally. I don't have OSX, so I can't test it. However, it should work in theory, since all tools used are portable. Try using `org-download-yank' first: this one does everything except drag-and-drop. Just right click and copy the image url in the browser, and call `org-download-yank' in Emacs. If it doesn't work, the issue is with dnd, otherwise it's with the downloading itself. The default `org-download-backend 'uses `url-retrieve', which is a part of Emacs, so if it doesn't work then it's an Emacs bug. regards, Oleh
Re: [O] org-download.el
Thanks for the advice, but I've wget and curl installed through Mac ports. $ which crul= /usr/texbin/curl $ which wget = /usr/texbin/wget And the value of my exec-path is: (/usr/bin /bin /usr/sbin /sbin /Applications/Documents/Emacs.app/Contents/MacOS/libexec /Applications/Documents/Emacs.app/Contents/MacOS/bin /Applications/Mathematics/MATLAB_R2014a.app/bin /Applications/Documents/Emacs.app/Contents/MacOS/bin */usr/texbin* /opt/local/bin /usr/local/bin) which has included /usr/texbin Any thoughts? Thanks. On Tue, Jan 13, 2015 at 3:58 AM, Rainer M Krug rai...@krugs.de wrote: briangpowell . briangpowel...@gmail.com writes: * https://github.com/abo-abo/org-download/blob/master/org-download.el has: ... (defcustom org-download-backend t Method to use for downloading. :type '(choice (const :tag wget wget \%s\ -O \%s\) (const :tag curl curl \%s\ -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 used in emacs (are they installed via e.. homebrew?). Depending on how you set the paths, the emacs process might have different paths. Cheers, Rainer On Tue, Jan 13, 2015 at 2:49 AM, Chao Lu loochao.l...@gmail.com wrote: 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 the link address inserted into the buffer, no downloading events trigger. I double checked a few things before coming here: - My system has both curl and download. - I've set the download image dir to ~/Downloads/Foo - The value of dnd-protocol-alist contains (^\\(https?\\|ftp\\|file\\|nfs\\):// . org-download-dnd) The emacs I'm using is GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.org Is there any thought what I should check? Best, Chao -- Rainer M. Krug email: Raineratkrugsdotde PGP: 0x0F52F982
[O] org-download.el
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 the link address inserted into the buffer, no downloading events trigger. I double checked a few things before coming here: - My system has both curl and download. - I've set the download image dir to ~/Downloads/Foo - The value of dnd-protocol-alist contains (^\\(https?\\|ftp\\|file\\|nfs\\):// . org-download-dnd) The emacs I'm using is GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.org Is there any thought what I should check? Best, Chao
[O] Upgrade to org 8.0
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, successfully compiled org 8.0.3 and put all the *.elc file into my load-path. Here is the first confusion: *Before I was using (require 'org-install) to get org code evaluated. Seems org-install is obsolete now, then what should I put in my .emacs to get org loaded?* * * Although I do know why, but seems my old settings get org(8.0.3) loaded, i.e. M-x org-version gives 8.0.3. But when I try ffap on (require 'org-publish) seems emacs wants to jump to /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.el.gz, which is the old org version shipped with Emacs itself. 2. About org-export I read through the upgrading notes from worg, but still haven't got a working configuration file, maybe that's the issue of my org installation. But is there's *working conf on org-export that I can start with*? I attached my lch-org-export.el, could somebody have a look how to improve them to get 8.0.3 working. Thanks in advance for the help. Chris lch-org-export.el Description: Binary data
Re: [O] Upgrade to org 8.0
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, usually I do not prefer living at cutting edge. - M-x org-version -- Org-mode version 8.0.3 (8.0.3-dist @ /Users/LooChao/Dropbox/.emacs.d/lisp/org/) - Which reveals the org loaded is the one I installed, which is in my lisp dir. - I agree with John's advice -- keep the new version separate and some where in the load-path, which is ~/Dropbox/.emacs.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 jw.he...@gmail.com wrote: On Jun 21, 2013 2:43 AM, Chao Lu loochao.l...@gmail.com wrote: 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, successfully compiled org 8.0.3 and put all the *.elc file into my load-path. Here is the first confusion: Before I was using (require 'org-install) to get org code evaluated. Seems org-install is obsolete now, then what should I put in my .emacs to get org loaded? Although I do know why, but seems my old settings get org(8.0.3) loaded, i.e. M-x org-version gives 8.0.3. But when I try ffap on (require 'org-publish) seems emacs wants to jump to /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.el.gz, which is the old org version shipped with Emacs itself. 2. About org-export I read through the upgrading notes from worg, but still haven't got a working configuration file, maybe that's the issue of my org installation. But is there's working conf on org-export that I can start with? I attached my lch-org-export.el, could somebody have a look how to improve them to get 8.0.3 working. Thanks in advance for the help. Hi, Where exactly are the new org files installed? I don't see any load paths defined. I think the easiest/simplest/cleanest is to keep the hit version separate and just add the lisp dir to your load path vs mixing default org with installed git org files. I didn't catch any defined ox-* backends loaded either. For every backed you need to add it to org-export-backends or do: (require 'ox-backend) Lastly, you have old variable names in there... org-export-backend-* vars are now org-backend-*. I'd suggest reading the worg doc again! John Chris lch-org.el Description: Binary data lch-org-export.el Description: Binary data
Re: [O] Upgrade to org 8.0
On Fri, Jun 21, 2013 at 3:27 PM, Chao Lu loochao.l...@gmail.com 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, usually I do not prefer living at cutting edge. - M-x org-version -- Org-mode version 8.0.3 (8.0.3-dist @ /Users/LooChao/Dropbox/.emacs.d/lisp/org/) - Which reveals the org loaded is the one I installed, which is in my lisp dir. - I agree with John's advice -- keep the new version separate and some where in the load-path, which is ~/Dropbox/.emacs.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.* * I just tried list-load-path-shadows, got outputs like:* /Users/LooChao/Dropbox/.emacs.d/lisp/org/org hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org /Users/LooChao/Dropbox/.emacs.d/lisp/org/contrib/lisp/org-wl hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-wl /Users/LooChao/Dropbox/.emacs.d/lisp/org/org-w3m hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-w3m *...* * * *which shows my installation is OK, I guess just the new version don't have org-publish so the one bundled with emacs is not shadowed?* = Thanks, Chao On Fri, Jun 21, 2013 at 8:45 AM, John Hendy jw.he...@gmail.com wrote: On Jun 21, 2013 2:43 AM, Chao Lu loochao.l...@gmail.com wrote: 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, successfully compiled org 8.0.3 and put all the *.elc file into my load-path. Here is the first confusion: Before I was using (require 'org-install) to get org code evaluated. Seems org-install is obsolete now, then what should I put in my .emacs to get org loaded? Although I do know why, but seems my old settings get org(8.0.3) loaded, i.e. M-x org-version gives 8.0.3. But when I try ffap on (require 'org-publish) seems emacs wants to jump to /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.el.gz, which is the old org version shipped with Emacs itself. 2. About org-export I read through the upgrading notes from worg, but still haven't got a working configuration file, maybe that's the issue of my org installation. But is there's working conf on org-export that I can start with? I attached my lch-org-export.el, could somebody have a look how to improve them to get 8.0.3 working. Thanks in advance for the help. Hi, Where exactly are the new org files installed? I don't see any load paths defined. I think the easiest/simplest/cleanest is to keep the hit version separate and just add the lisp dir to your load path vs mixing default org with installed git org files. I didn't catch any defined ox-* backends loaded either. For every backed you need to add it to org-export-backends or do: (require 'ox-backend) Lastly, you have old variable names in there... org-export-backend-* vars are now org-backend-*. I'd suggest reading the worg doc again! John Chris
Re: [O] Upgrade to org 8.0
This is so confusing... M-x org-version Org-mode version 8.0.3 (8.0.3-dist @ /Users/LooChao/Dropbox/.emacs.d/lisp/org/) M-x list-load-path-shadows: /Users/LooChao/Dropbox/.emacs.d/lisp/org/org hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org /Users/LooChao/Dropbox/.emacs.d/lisp/org/contrib/lisp/org-wl hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-wl /Users/LooChao/Dropbox/.emacs.d/lisp/org/org-w3m hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-w3m *M-x describe-function org-export* * * org-export is an interactive autoloaded compiled Lisp function in*`org-exp.el'. * * |* * This one is in /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/* * * This explains why I got the 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 loochao.l...@gmail.com wrote: On Fri, Jun 21, 2013 at 3:27 PM, Chao Lu loochao.l...@gmail.com 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, usually I do not prefer living at cutting edge. - M-x org-version -- Org-mode version 8.0.3 (8.0.3-dist @ /Users/LooChao/Dropbox/.emacs.d/lisp/org/) - Which reveals the org loaded is the one I installed, which is in my lisp dir. - I agree with John's advice -- keep the new version separate and some where in the load-path, which is ~/Dropbox/.emacs.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.* * I just tried list-load-path-shadows, got outputs like:* /Users/LooChao/Dropbox/.emacs.d/lisp/org/org hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org /Users/LooChao/Dropbox/.emacs.d/lisp/org/contrib/lisp/org-wl hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-wl /Users/LooChao/Dropbox/.emacs.d/lisp/org/org-w3m hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-w3m *...* * * *which shows my installation is OK, I guess just the new version don't have org-publish so the one bundled with emacs is not shadowed?* = Thanks, Chao On Fri, Jun 21, 2013 at 8:45 AM, John Hendy jw.he...@gmail.com wrote: On Jun 21, 2013 2:43 AM, Chao Lu loochao.l...@gmail.com wrote: 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, successfully compiled org 8.0.3 and put all the *.elc file into my load-path. Here is the first confusion: Before I was using (require 'org-install) to get org code evaluated. Seems org-install is obsolete now, then what should I put in my .emacs to get org loaded? Although I do know why, but seems my old settings get org(8.0.3) loaded, i.e. M-x org-version gives 8.0.3. But when I try ffap on (require 'org-publish) seems emacs wants to jump to /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.el.gz, which is the old org version shipped with Emacs itself. 2. About org-export I read through the upgrading notes from worg, but still haven't got a working configuration file, maybe that's the issue of my org installation. But is there's working conf on org-export that I can start with? I attached my lch-org-export.el, could somebody have a look how to improve them to get 8.0.3 working. Thanks in advance for the help. Hi, Where exactly are the new org files installed? I don't see any load paths defined. I think the easiest/simplest/cleanest is to keep the hit version separate and just add the lisp dir to your load path vs mixing default org with installed git org files. I didn't catch any defined ox-* backends loaded either. For every backed you need to add it to org-export-backends or do: (require 'ox-backend) Lastly, you have old variable names in there... org-export-backend-* vars are now org-backend-*. I'd suggest reading the worg doc again! John Chris
[O] Academic Reference Workflows and recommendation of Bibdesk
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 metadata. Inspired by this, I was looking for similar way to organize all the academic references and even to build a personal digital library. I've tried a lot of softwares, Mendeley, Zotero, Papers, Endnote, Org-mode, Yep, BibDesk... My feeling is that, Org could get this done, but BibDesk does a better job. * 1. The Org-mode Way.* Learned from this mailing list, I think one of the ways to organize academic references is like below: Directory structure: +LibraryRoot `--- Library.org `--- Culture/ `--- Mathematics/ `--- Unix/ `-Emacs/ `--- others To check in an entry such as org-manual-7.5.pdf to the library, one could do: Library.org - #+LINK: pdf file:./Emacs/%s.pdf #+LINK: txt file:./Emacs/%s.txt * Emacs ** Org-mode *** Manual of version 7.5 :Emacs:Org:Manual: :PROPRIETIES: :Title: :Author: :Subject: :Keywords: :Comments: :END: Location: [[pdf:org-manual-7.5]] Then use org-attach to get the file settle down in the right place. To search all the Emacs entries, one could add Library.org to org-agenda files, then define a related org-agenda command. (It's kind like the smart group concept in iTune) However this process is quite time consuming, and non-intuitive. I prefer the features provided in iTune, Papers2, Bibtex, which could provide thumbnail and quicklooks of the files. *2. the Bibdesk way:* Now I'd like to recommend BibDesk here. First of all it's free, open resource. Its database file is just an bibtex file, so all the records is in plain text, even the thumbnails are stored inside this bibtex file. like below, === Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUIJidUJHRvcFgkb2JqZWN0c1gk(It's very long png source code, so I abridged here)} === Second, Bibdesk has a much more intuitive UI, and thumbnails are provided. It also support keywords, smart groups... Moreover, Bibdesk has a great feature called autofile, which could attach the file to certain directories (and build the directories structures you want as well!) Here is the example: Again, I want to put our org-manual-7.5.pdf into LibraryRoot/Unix/Emacs/ I just have this Bibtex entry ready: @article{OrgManual:7.5, Author = {Org-Mode}, Date-Added = {2011-06-03 16:07:44 -0400}, Date-Modified = {2011-06-03 16:14:54 -0400}, Keywords = {/Unix/Emacs, Emacs}, Title = {Org-mode Manual},} Here notice the first keywords is the directory structure I want to have. Then I set up a template of autofile, (%k[/]1/%l%n0%e), telling BibDesk to Build the directory structure based on my first keyword and rename it as what I want, then check it in. To me, this workflow for organizing digital references is complete now. I do think that BibDesk has great features to investigate, such as create the record from the bibtex and embed the picture inside the bibtex itself. Maybe we could also use the *.org as a database file and develop a framework to have our entries displayed in more intuitive way, maybe by using smart group, tag(keywords). Sorry for this such a long post, and looking forward to comments. Best, Chao
[O] Org-capture template Problem
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 /iPrv.org) INBOX -INBOX-) * %? :prepend t) ) ) And the file Emacs.org has such structure: #+-*- coding:utf-8; mode:org -*- #+STARTUP:Overview #+INFOJS_OPT: view:overview mouse:underline buttons:nil ltoc:nil #+INFOJS_OPT: up:Sitemap.html #+INFOJS_OPT: home:index.html #+INFOJS_OPT: path:./theme/org-info.js #+OPTIONS: num:nil h:3 TeX:nil LaTeX:nil toc:nil f:t \n:t #+FILETAGS: Emacs #+TITLE: Emacs #+LINK: pdf file:./Emacs/%s.pdf #+LINK: txt file:./Emacs/%s.txt * Emacs ** INBOX *** blabla It doesn't work, the error message is *progn: Heading not found on level 3: INBOX*. To me, it seems Emacs was trying to find the headline *(3rd level)* with name of INBOX. But according to my configuration, it should go and find the head of *2nd level*. Could anybody give me some hint why it behave like so? Thanks, Chao
[O] A little bug of Org capture?
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 first level and the second level happen to have the same title (it does happen to me sometimes), like: * INBOX ** INBOX (i INBOX entry (file+olp (concat org-private-dir /iPrv.org) INBOX * INBOX*) * %? :prepend t) Then Org will prompt an error. Thanks, Chao
Re: [O] Using Variable in Org-capture configuration
Yes, the latest version of org 7.5 works! Thanks~ Chao On Tue, Mar 22, 2011 at 12:56 PM, Carsten Dominik carsten.domi...@gmail.com 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, like this (setq org-capture-templates '((t Todo entry (file ~/org/refile.org) * TODO %?\n %i\n %a :prepend t))) \---How could I use- (concat My-Dropbox-Path refile.org) Since I put all my files in Dropbox, and the My-Dropbox-Path has different values under MAC and M$Windows. Using backquote as the others in this thread say is one possibility. However, you can also get the latest version of Org - it does allow a lisp form for the file name: http://article.gmane.org/gmane.emacs.orgmode/38067/match=form - Carsten Thanks, Chao
[O] Capture Template problem
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) But the Results turned out to be: === * INBOX ** D What I want is *** D (Level 3, not 2) *** A *** B *** C === So I changed my configuration a little like: (i INBOX entry (file+olp (concat org-private-dir /iPrv.org) INBOX * INBOX*) *** %? :prepend t) And accordingly the iPrv.org file. === * INBOX *** INBOX* *** A *** B *** C === But still error: Heading not found on level 2: INBOX. I'm using org 7.5 on Emacs OSX 23.3 Thanks, Chao
[O] Using Variable in Org-capture configuration
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))) \---How could I use- (concat My-Dropbox-Path refile.org) Since I put all my files in Dropbox, and the My-Dropbox-Path has different values under MAC and M$Windows. Thanks, Chao
[Orgmode] How to align tag to the right margin
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 of Emacs. Thanks in advance. Chao ___ 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 align tag to the right margin
Hi Eric, Yes, it works, by (setq org-tags-column 90). But new question arise, it does not apply to the tags which have already been there (only new tags after the modification of the alignment number), so how could I get all the tags updated? Thanks and best, Chao On Tue, Dec 7, 2010 at 10:24 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Chao LU looc...@gmail.com 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). -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.221.gb3e16) ___ 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] Org Mobile Setting and file encoding
Hi Joost, Thanks a lot, this helps, after I convert all the org files I have, then try Mobile org again, all the files could be decoded in MobileOrg now. Best, Chao On Tue, Nov 23, 2010 at 2:33 PM, Joost Helberg jo...@snow.nl wrote: Chao, whenever mobileorg fails loading the file and converting it into an UTF8 string, the error message about encoding is presented. The cause of your problem can be many things: - the file is incorrectly recognised as encrypted - the file is incorrectly recognised as not-encrypted - the encoding is not utf-8 and there are offending bytes - the parsing of the index file fails somehow To make sure utf-8 is all you do, evaluate (in .emacs e.g.): (prefer-coding-system 'utf-8) (set-default-coding-systems 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (setq default-buffer-file-coding-system 'utf-8) Furthermore, make sure you try everything not encrypted. Also, this helped with me, don't run the latest git org-mode against production release mobileorg. Somehow my mobileorg 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 looc...@gmail.com writes: Subject: [Orgmode] Org Mobile Setting and file encoding From: Chao LU looc...@gmail.com To: emacs-orgmode@gnu.org Date: Tue, 23 Nov 2010 12:54:49 -0500 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 Dropbox /org/public_html) html dir) (defvar org-mobile-dir (concat Dropbox /MobileOrg) org mobile dir) Then I set Mobile Org like this: (setq org-mobile-directory org-source-dir) (setq org-mobile-force-id-on-agenda-items nil) (setq org-mobile-inbox-for-pull (concat org-source-dir /mobile.org)) After org-mobile-push command, the agenda is generated, but in Mobile Org, it could not be opened, and the error message is bad file encoding, unable to detect file encoding, please re-save this file using UTF-8. So how could I figure out what the file encoding of my org files, and if not, how to convert them (there's quite a bit) to UTF-8, and in the future how to save the files automatically to UTF-8 with the Chinese support? The coding system is really confusing, thanks a lot!! Chao -- Snow B.V.http://snow.nl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Latex under windows
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 *.dvi, and so the png could not be converted. I double checked the Latex command, it is in the %PATH%, but the latex command will trigger pdftex (I'm using MiKTeX portable 2.9), will that be the cause of the failure? Error message: --- Saving file e:/Var/URoot/My Dropbox/org/org/Physics.org... Wrote e:/Var/URoot/My Dropbox/org/org/Physics.org FOLDED Saving file e:/Var/URoot/My Dropbox/org/org/Physics.org... Wrote e:/Var/URoot/My Dropbox/org/org/Physics.org SUBTREE (NO CHILDREN) Creating images for entry...1 Failed to create dvi file from a:/TEMP/orgtex1620UMh.tex Creating images for entry...done. Use `C-c C-c' to remove images. Cannot find image file `e:/Var/URoot/My Dropbox/org/org/ltxpng/Physics_f74dea7d59a672b862629c7b1f8d745672346a29.png' [4 times] --- Thanks a lot, and happy thanksgiving day! Chao ___ 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 Mobile Setting and file encoding
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 Dropbox /org/public_html) html dir) (defvar org-mobile-dir (concat Dropbox /MobileOrg) org mobile dir) Then I set Mobile Org like this: (setq org-mobile-directory org-source-dir) (setq org-mobile-force-id-on-agenda-items nil) (setq org-mobile-inbox-for-pull (concat org-source-dir /mobile.org)) After org-mobile-push command, the agenda is generated, but in Mobile Org, it could not be opened, and the error message is bad file encoding, unable to detect file encoding, please re-save this file using UTF-8. So how could I figure out what the file encoding of my org files, and if not, how to convert them (there's quite a bit) to UTF-8, and in the future how to save the files automatically to UTF-8 with the Chinese support? The coding system is really confusing, thanks a lot!! Chao ___ 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 variable in org publish function
Hi Nick, It works perfectly, thanks a lot~ Chao On Thu, Nov 18, 2010 at 9:50 AM, Nick Dokos nicholas.do...@hp.com wrote: Chao LU looc...@gmail.com 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 (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-type 'darwin) Are we on Mac) (if lch-mac-p (defvar org-source-dir ~/Dropbox/org/org org source dir));For under windows, it should be My Dropbox... (setq org-publish-project-alist '( (org-notes :base-directory org-source-dir))) Apparently, this doesn't work, since the variable org-source-dir will not be evaluated inside the quote, but I really didn't find out how to make it evaled... Does anyone has any hints? You need backquote (similar to quote, but allows selective evaluation of internal structure) and the , (selective evaluation) mechanism: (setq org-publish-project-alist `((org-notes :base-directory ,org-source-dir) )) See section 13.5 of the Emacs Lisp Reference manual for more details. HTH, Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] How to use variable in org publish function
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-type 'darwin) Are we on Mac) (if lch-mac-p (defvar org-source-dir ~/Dropbox/org/org org source dir));For under windows, it should be My Dropbox... (setq org-publish-project-alist '( (org-notes *:base-directory org-source-dir*))) Apparently, this doesn't work, since the variable org-source-dir will not be evaluated inside the quote, but I really didn't find out how to make it evaled... Does anyone has any hints? Thanks a lot. Chao ___ 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 do Properties search by define an agenda command
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, Group Theory :KEYWORD: Quantum Mechanics, Perturbation, Second Quantization :LOCATION: iTune :END: And I want to define a agenda command to search this item out. I've tried this one, but did not work: (19 TEST occur-tree Title=Quantum Mechanics) (19 TEST tags Title=Quantum Mechanics) So is there anyone knows how to do this correctly? Thanks, Chao ___ 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-attach-link on Windows XP
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 could not bear to have excess copy. So does anyone has advice how to fix this problem? Thanks a lot. Chao ___ 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 export to ps file when generating agenda file on Windows
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 do it automatically? Thanks, Chao ___ 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] Use Tags in Properties
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 `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] How to trigger costumed agenda after startup?
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. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Can't find LaTeX under MAC
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: 88 (defconst lch-mac-p (eq window-system 'mac) Are we on Mac) (if lch-mac-p (progn (setenv PATH (concat /usr/local/texlive/2010/bin/universal-darwin: (getenv PATH))) (setq exec-path (append exec-path '(/usr/local/bin /usr/local/texlive/2010/bin/universal-darwin:))) ) ) 8-8 But seems not work, org still can't find where the LaTeX is. Could anyone give me a hint? Thanks in advance ^.^ Chao ___ 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] Author info while publishing to html
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 LooChaolooc...@gmail.com, and I like this style. The related configuration is just: (setq user-full-name LooChao) (setq user-mail-address looc...@gmail.com) But after update the org-mode, without any change in the configuration, the author info style has been changed into LooChao, (without the email address), so I'm writing to see how to get the previous style back. Any suggestion? Thanks~ Chao ___ 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] Exclude some file to be in the agenda
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 ___ 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] Multiple TODO states
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 QUEUE(q) NEXT(n) ACTIVE(a) | DONE(d)) to indicate the state of task. However I also prefer to have some context with them, so I defined more todo state: (sequence MOBILE |) (sequence AUDIO |) (sequence CAR |) (sequence TIMEBOX |) (sequence RECUR-DAILY |) (sequence RECUR-DUALLY |) (sequence RECUR-TRIPLY |) (sequence RECUR-WEEKLY |) But seems Org refuse to put multiple todo state on the same item. And the reason I do not like to put these context into tag, is that I think these contexts are related to how I finish things, but the tags like Math Physics is more about the content of the item. So anyone has suggestions? Thanks, Chao ___ 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] Both todo and tag search
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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Auto-indexing
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 ___ 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] Edit Worg, Tracking changes, ect.
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 regular digest of Org-mode, I found it really painful to use gmail to do so. I tried Gnus, with finding it's so difficult to get Gnus working with Gmail even I followed the article from Emacs-wiki closely. And how could I track the changes or improvement of Org-mode, Worg, even Emacs-wiki. I tried rss using Google Reader, but really feel bad. Thanks in advance! Chao ___ 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] Tag Align
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 attachment: Align-Tag.png___ 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 enable footnote
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 anybody have any idea? Thanks, Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Latex inline Latex image
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-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Text color and background color
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 the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] footnote
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 ___ 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] Confusion about TODO tags
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 the item - *** blabla after archive, will be changed to * blabla properties - which I do not like so much. Thanks a lot, Chao ___ 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] Is it possible to expand the quick tag selection key
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) (Humor . ?h) (IMP . ?i) * (LIB . ?l) (Life . ?L) ; (Love . ?) ; (List . ?)* (Mathematics . ?m) (MAYBE . ?M) (Obtain . ?o) (Org . ?O) (Physics . ?p) (P525 . ?P) (Question . ?q) (TODO . ?t) (Video . ?v) )) The best, Chao ___ 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] Tag inheritance
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 * * ___ 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] More convenient capture
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 the org-protocol, seems it could not deal with pictures? Does anybody have good solutions? Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: More convenient capture
I just clarified my thought, I guess what I'm seeking for is such a function, First, it could be called even outside emacs, globally. Then, it could recognize what has been selected. Thirdly, it prompt to user to inquire which org file should it store the object to. Say, Humor.org Then, 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 looc...@gmail.com wrote: 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 the org-protocol, seems it could not deal with pictures? Does anybody have good solutions? Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Problem with markups
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 looc...@gmail.com wrote: 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 anyway to use **bold** like markups for other languages? All the best, Chao ___ 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 publishing to html
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 link rel=\icon\ href=\theme/favicon.ico\ type=\image/x-icon\ link rel=\shortcut icon\ href=\theme/favicon.ico\ link rel=\stylesheet\ href=\./theme/org.css\ type=\text/css\ /link script type=\text/javascript\ src=\theme/org-info.js\/script --- But as I published foo.org to foo.html, and check the html file, I found what is actually there is style type=text/css !--/*--![CDATA[/*!--*/ html { font-family: Times, serif; font-size: 12pt; } .title { text-align: center; } .todo { color: red; } .done { color: green; } .tag{ background-color: #add8e6; font-weight:normal } .target { } .timestamp { color: #bebebe; } .timestamp-kwd { color: #5f9ea0; } p.verse { margin-left: 3% } pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; font-family: courier, monospace; font-size: 90%; overflow:auto; } table { border-collapse: collapse; } td, th { vertical-align: top; } dt { font-weight: bold; } div.figure { padding: 0.5em; } div.figure p { text-align: center; } .linenr { font-size:smaller } .code-highlighted {background-color:#00;} .org-info-js_info-navigation { border-style:none; } #org-info-js_console-label { font-size:10px; font-weight:bold; white-space:nowrap; } .org-info-js_search-highlight {background-color:#00; color:#00; font-weight:bold; } /*]]*/-- /style *link rel=icon href=theme/favicon.ico type=image/x-icon link rel=shortcut icon href=theme/favicon.ico link rel=stylesheet href=./theme/org.css type=text/css /linkONLY This part is in my CONF file script type=text/javascript src=theme/org-info.js/script* script type=text/javascript src=http://orgmode.org/org-info.js /script script type=text/javascript !--/*--![CDATA[/*!--*/ org_html_manager.set(TOC_DEPTH, 3); org_html_manager.set(LINK_HOME, index.html); org_html_manager.set(LINK_UP, index.html); org_html_manager.set(LOCAL_TOC, 0); org_html_manager.set(VIEW_BUTTONS, 0); org_html_manager.set(MOUSE_HINT, underline); org_html_manager.set(FIXED_TOC, 0); org_html_manager.set(TOC, 0); org_html_manager.set(VIEW, overview); org_html_manager.setup(); // activate after the parameters are set /*]]*///-- /script script type=text/javascript !--/*--![CDATA[/*!--*/ function CodeHighlightOn(elem, id) { var target = document.getElementById(id); if(null != target) { elem.cacheClassElem = elem.className; elem.cacheClassTarget = target.className; target.className = code-highlighted; elem.className = code-highlighted; } } function CodeHighlightOff(elem, id) { var target = document.getElementById(id); if(elem.cacheClassElem) elem.className = elem.cacheClassElem; if(elem.cacheClassTarget) target.className = elem.cacheClassTarget; } /*]]*///-- /script So where does other part of the style come from, and is it possible to control these styles? All the best, Chao ___ 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] About publishing to html
Hey, Another question is, when I publish, I call org-publish, then org prompt me several project, I have to choose, how could I configure to directly publish to certain project? like: (global-set-key (kbd f6 f6) '*org-publish-directly to some project*) Best, Chao On Sat, Feb 13, 2010 at 5:53 PM, Chao Lu looc...@gmail.com wrote: Hey Carsten, I have read the link you gave, but still confusing... For example, I guess org automatically generate script type=text/javascript src=http://orgmode.org/org-info.js /script how could I tell it not to do this? Thanks, Chao On Sat, Feb 13, 2010 at 5:28 PM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Chao, this is all coverend in the relevant section of the manual: http://orgmode.org/manual/CSS-support.html#CSS-support - Carsten On Feb 13, 2010, at 11:25 PM, Chao Lu wrote: 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 link rel=\icon\ href=\theme/favicon.ico\ type=\image/x-icon\ link rel=\shortcut icon\ href=\theme/favicon.ico\ link rel=\stylesheet\ href=\./theme/org.css\ type=\text/css\ /link script type=\text/javascript\ src=\theme/org-info.js\/script --- But as I published foo.org to foo.html, and check the html file, I found what is actually there is style type=text/css !--/*--![CDATA[/*!--*/ html { font-family: Times, serif; font-size: 12pt; } .title { text-align: center; } .todo { color: red; } .done { color: green; } .tag{ background-color: #add8e6; font-weight:normal } .target { } .timestamp { color: #bebebe; } .timestamp-kwd { color: #5f9ea0; } p.verse { margin-left: 3% } pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; font-family: courier, monospace; font-size: 90%; overflow:auto; } table { border-collapse: collapse; } td, th { vertical-align: top; } dt { font-weight: bold; } div.figure { padding: 0.5em; } div.figure p { text-align: center; } .linenr { font-size:smaller } .code-highlighted {background-color:#00;} .org-info-js_info-navigation { border-style:none; } #org-info-js_console-label { font-size:10px; font-weight:bold; white-space:nowrap; } .org-info-js_search-highlight {background-color:#00; color:#00; font-weight:bold; } /*]]*/-- /style link rel=icon href=theme/favicon.ico type=image/x-icon link rel=shortcut icon href=theme/favicon.ico link rel=stylesheet href=./theme/org.css type=text/css /linkONLY This part is in my CONF file script type=text/javascript src=theme/org-info.js/script script type=text/javascript src=http://orgmode.org/org- info.js/script script type=text/javascript !--/*--![CDATA[/*!--*/ org_html_manager.set(TOC_DEPTH, 3); org_html_manager.set(LINK_HOME, index.html); org_html_manager.set(LINK_UP, index.html); org_html_manager.set(LOCAL_TOC, 0); org_html_manager.set(VIEW_BUTTONS, 0); org_html_manager.set(MOUSE_HINT, underline); org_html_manager.set(FIXED_TOC, 0); org_html_manager.set(TOC, 0); org_html_manager.set(VIEW, overview); org_html_manager.setup(); // activate after the parameters are set /*]]*///-- /script script type=text/javascript !--/*--![CDATA[/*!--*/ function CodeHighlightOn(elem, id) { var target = document.getElementById(id); if(null != target) { elem.cacheClassElem = elem.className; elem.cacheClassTarget = target.className; target.className = code-highlighted; elem.className = code-highlighted; } } function CodeHighlightOff(elem, id) { var target = document.getElementById(id); if(elem.cacheClassElem) elem.className = elem.cacheClassElem; if(elem.cacheClassTarget) target.className = elem.cacheClassTarget; } /*]]*///-- /script So where does other part of the style come from, and is it possible to control these styles? All the best, Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Photo Gallery
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 send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org-style outline
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 active mailing list of common Emacs questions? Any suggestion is welcomed, thanks! Chao ___ 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] The ditaa picture
Hey Eric, Thanks for you tip, but I guess the dvipng command works well. Things get kind of strange, since if I type $2^6$, Org recognizes it, and generates the right results, which means, it could find all the latex package needed. But if I try #+BEGIN_LaTeX \begin{equation} % arbitrary environments, x=\sqrt{b}% even tables, figures \end{equation}% etc #+END_LaTeX It will end up with some strange picture in ltxpng directory, which is just all black, nothing... Do you have any idea? Thanks a lot! Chao On Mon, Feb 1, 2010 at 2:56 PM, Eric Schulte schulte.e...@gmail.com wrote: Hey Chao, Chao Lu ch...@princeton.edu writes: Hey Eric, Now it works! Thank you s much. I'll read through the reference, sorry to bother you so much, a little busy on research. I'm happy to help. And, Could I ask for more... Say, are you using Org to generate LaTeX or beamer, by any chance? If so, I'm trying to configure the LaTeX part, my Org has been able to find the dvipng and latex bins, for it recognized the LaTeX blocks, and produced the images in the ltxpng dir. But problems the images it generated is just black, with nothing... Do you have any idea? Hmm, I do use org for both latex and Beamer presentations, it sounds like what you're describing is an issue during the preview of latex fragments from within org-mode files? I've had problems with that in the past, but they've mainly ended up being issue with org finding and using my dvipng command. I'd take a look at your messages buffer, and if you continue to have problems you can submit a bug report to the org-mode mailing list. Good Luck -- Eric Best, Chao On Mon, Feb 1, 2010 at 2:00 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi Chao, Try the following alternative to your statement -- #+begin_src emacs-lisp :exports results (defun fibonacci (n) (if (or (= n 0) (= n 1)) n (+ (fibonacci (- n 1)) (fibonacci (- n 2) (mapcar (lambda (row) (mapcar #'fibonacci row)) fib-inputs) #+end_src -- for more information on Org-babel see [1], and specifically for more information on the use of header arguments like :exports see [2]. Best -- Eric Chao Lu ch...@princeton.edu writes: Hey Eric, Thanks again for your instruction, now it works well. But could I ask more about org-babel? Actually I tried to enabled it by: --- (require 'org-babel-init) (require 'org-babel-ditaa) (org-babel-load-library-of-babel) --- Then tried to evaluate it by -- #+begin_src emacs-lisp (defun fibonacci (n) (if (or (= n 0) (= n 1)) n (+ (fibonacci (- n 1)) (fibonacci (- n 2) (mapcar (lambda (row) (mapcar #'fibonacci row)) fib-inputs) #+end_src -- But seems did not get what I want, which should be a series of numbers, what I got from is just a colored output when I export this file to html. Would you mind explain a little bit? Many thanks, Chao On Mon, Feb 1, 2010 at 10:40 AM, Eric Schulte schulte.e...@gmail.com wrote: Chao Lu looc...@gmail.com writes: Hey Eric, Thanks for the tip, it works well here! Yet another further question, is it possible to assign the directory where the picture should be exported to? For it is kind of messy if all the figures goes to the root directory. Yes, just add it to the :file name, i.e. #+begin_src ditaa :file data/communication.png :exports results Best -- Eric Thanks a lot for your help, Chao On Sat, Jan 30, 2010 at 7:46 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi Chao, I don't believe that it is currently possible to customize the file names in the ways you have described using the standard begin_ditaa blocks. It is possible to have complete control over the file names using org-babel, in which case the corresponding block would look like #+begin_src ditaa :file communication.png :exports results blabla #+end_src then the image will be created on export, and you
[Orgmode] Publish-current-file error
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. So do anyone has met similar problem? All the best, Chao ___ 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] Publish-current-file error
Hey Nick, Thanks a lot for your detailed explanation, now I'm pretty clear about the error. But I just get the idea why we could not publish arbitrary org file as html to current directory, I guess it could be kind of troublesome that every time to set up the project first? What do you think? Chao On Tue, Feb 2, 2010 at 6:01 PM, Nick Dokos nicholas.do...@hp.com wrote: Chao Lu looc...@gmail.com 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: Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-name-as-directory(nil) ... and as you can see, the problem is that file-name-as-directory is called with a nil argument, whereas it expects a string. (let* ((project-plist ...) (base-dir ...) (include-list ...) (recurse ...) (extension ...) (match ...)) (setq org-publish-temp-files nil) (org-publish-get-base-files-1 base-dir recurse match exclude-regexp exclude-regexp) (mapc (lambda ... ...) include-list) org-publish-temp-files) org-publish-get-base-files((options :section-numbers nil :table-of-contents nil :style script type=\text/javascript\\n/* ![CDATA[ */\n org_html_manager.set( TOC , 1);\norg_html_manager.set( LOCAL_TOC , 1);\norg_html_manager.set( VIEW_BUTTONS , true );\norg_html_manager.set( MOUSE_HINT , underline ); // or background-color like '#ee'\n org_html_manager.setup ();\n/* ]] */\n /script) nil) ... and this tells us that org-publish-get-base-files got called and somewhere in the execution of the let* form, it got the error. So you look at that let* form in org-publish-get-base-files and you see this: (let* ((project-plist (cdr project)) (base-dir (file-name-as-directory (plist-get project-plist :base-directory))) ... which tells me that you *have* to have a project-plist and it *has* to have a :base-directory property in order to be able to publish. You just cannot take an arbitrary org file and publish it without providing the publishing framework for it. HTH, Nick 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. So do anyone has met similar problem? Please set debug-on-error to t and after recreating the error, post the resulting backtrace. See the Feedback section of the Org manual for more details on how to report problems. HTH, Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Just a piece of advice
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 capture the html globally? This can be really nice, since I live in firefox heavily, (w3m is good, but sometimes, still need cookie, javascript, flash). If there's already procedure for configure Org to do so, could anybody who is familiar with this give me some hint? Thanks, Chao ___ 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] Is there any IN Buffer setting for preamble and Remember
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 when just want to write some idea down: - Don't forget buy some binders Could I do so, but let org know not generate the headline automatically? Thanks in advance, Chao ___ 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] Another question
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' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Is it possible to control info.js' behavior
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 attachment: The-way-now-it-is.pngattachment: The-way-prefered.png___ 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 way index.html is generated
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 the org pages, automatically? I know how to manually do so, using the preamble var, but have to update it each time I send new org file in. Thanks a lot, Chao ___ 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] The ditaa picture
Hey Eric, Thanks for the tip, it works well here! Yet another further question, is it possible to assign the directory where the picture should be exported to? For it is kind of messy if all the figures goes to the root directory. Thanks a lot for your help, Chao On Sat, Jan 30, 2010 at 7:46 PM, Eric Schulte schulte.e...@gmail.comwrote: Hi Chao, I don't believe that it is currently possible to customize the file names in the ways you have described using the standard begin_ditaa blocks. It is possible to have complete control over the file names using org-babel, in which case the corresponding block would look like #+begin_src ditaa :file communication.png :exports results blabla #+end_src then the image will be created on export, and you can also preview the image by pressing C-c C-o on the block. To activate org-babel add the following to your Emacs configuration (require 'org-babel-init) (require 'org-babel-ditaa) Best -- Eric Chao Lu looc...@gmail.com writes: 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( pearl.org). Is it possible to let it go to certain dir like the latex pictures do? And is it possible to let the generated picture has the prefix of the org file name automatically, like org_communication_5e2f49c31c46339e8e3af9ef8a2fd2dfa3d1fe74.png? Thanks, Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Overview mode of info.js
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 a lot, Chao ___ 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 ditaa picture
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(pearl.org). Is it possible to let it go to certain dir like the latex pictures do? And is it possible to let the generated picture has the prefix of the org file name automatically, like org_communication_5e2f49c31c46339e8e3af9ef8a2fd2dfa3d1fe74.png? Thanks, Chao ___ 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 trick behind this website
Dear all, As I browse through the web, I came across a great homepage, which is http://lumiere.ens.fr/~guerry/index.phphttp://lumiere.ens.fr/%7Eguerry/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 as far as I know, the org mode will regenerate the index.html every time the publish function is called. So how could the author manage to modify it without be overwrited by the publish funtion? Secondly, how could I publish to php file? By using the default org publish function, or have to develop some script myself? Then, what's the trick to add the random face icon? (It's really cute ^.^) More, how the use the special symbol in the headlines like ∀. And more, how could the button of the info.js be modified such that only Help and toggle view be left, which means the UP and HOME has been killed? I appreciate your help, thanks in advance! All the best, Chao ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: The trick behind this website
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 looc...@gmail.com wrote: Dear all, As I browse through the web, I came across a great homepage, which is http://lumiere.ens.fr/~guerry/index.phphttp://lumiere.ens.fr/%7Eguerry/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 as far as I know, the org mode will regenerate the index.html every time the publish function is called. So how could the author manage to modify it without be overwrited by the publish funtion? Secondly, how could I publish to php file? By using the default org publish function, or have to develop some script myself? Then, what's the trick to add the random face icon? (It's really cute ^.^) More, how the use the special symbol in the headlines like ∀. And more, how could the button of the info.js be modified such that only Help and toggle view be left, which means the UP and HOME has been killed? I appreciate your help, thanks in advance! All the best, Chao ___ 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 disable localtoc of info.js
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 replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] About Ditaa
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 blue-a-lot-of-random-digi.png in the exported html, but no picture. So I went to check the *Message*, finding Unable to access jarfile ~/.emacs.d/org/var/ditaa0_9.jar. Could not figure out why, does anybody have some idea? All the best, Chao ___ 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] Org Folded View when Startup
Hey Carsten, I believe the org-mode is turned on, for I saw it from the mode-line. But after I checked the *message buffer, I found something. -*Message--- *File mode specification error: (wrong-type-argument keymapp nil)* Loading f:/Var/URoot/.emacs.d/site-lisp/iimage.el (source)...done *File mode specification error: (wrong-type-argument keymapp nil) [2 times]* Desktop: 9 buffers restored. Loading f:/Var/URoot/.emacs.d/var/emacs-session...done For information about GNU Emacs and the GNU system, type C-h C-a. --- Do you have any idea? By the way, I have 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 carsten.domi...@gmail.comwrote: 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 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). Does it come up with Org-mode turned on at all? or is it in a different major mode? Any interesting messages in the *Messages* buffer? Why do you call your setup file org.el? This might cause problems, because the main org-mode lisp file is org.el as well... - Carsten So I have to M-x org-mode, then it enters the fold view, which is really annoying... Could anybody help me? My version of Emacs is 23.1.90.1 (WinNT), Org-mode is 6.33trans. And my configure for org is included in attachment. Thanks a lot. Chao org.el___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org Folded View when Startup
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 help me? My version of Emacs is 23.1.90.1 (WinNT), Org-mode is 6.33trans. And my configure for org is included in attachment. Thanks a lot. Chao org.el Description: Binary data ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode