[Orgmode] MindMap using tikz/pgf (was: A MindMap export would be awesome)
Hi all, MindMap looks like an effective way to represent certain knowledge structure. I wonder if export a substree or an org file to mindmap may be made possible through tikz/pgf. Here's an example of a mindmap done in tikz: http://imagebin.org/57996 example TeX \documentclass{article} \usepackage{tikz} \usetikzlibrary{mindmap} \begin{document} \begin{tikzpicture} \path[mindmap,concept color=black,text=white] node[concept] {Computer Science} [clockwise from=0] child[concept color=green!50!black] { node[concept] {practical} [clockwise from=90] child { node[concept] {algorithms} } child { node[concept] {data structures} } child { node[concept] {programming languages} } child { node[concept] {software engineering} } } child[concept color=blue] { node[concept] {applied} [clockwise from=-30] child { node[concept] {databases} } child { node[concept] {WWW} } } child[concept color=red] { node[concept] {technical} } child[concept color=orange] { node[concept] {theoretical} }; \end{tikzpicture} \end{document} -- Emacs uptime: 6 days, 1 hour, 34 minutes, 22 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Day workflow: need your opinion
On 2009-08-04 06:57 +0100, Xavier Maillard wrote: a) I doing some non urgent (planned) DBA tasks (call this project A) b) someone calls me (interrupting Project A) c) I am doing what urgency of b) is needed d) when c) is finished, I get back to project A At my job, they often rules the retro planning concept which is bloat. So how would you manage such situation in org-mode ? Let me give it a try. When I am at Task A but interupted for Task B, I will mark Task A with one of the todo-keywords (you can create one specific for interruption for example PAUSE). Then you need to review what is on your plate by C-c a t to decide your next action after Task B. -- Emacs uptime: 8 days, 14 hours, 0 minutes, 20 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] C-RET bug?
Hi there, ,[ (info (org)Structure editing) ] | `C-RET' | Just like `M-RET', except when adding a new heading below the | current heading, the new heading is placed after the body instead | of before it. This command works from anywhere in the entry. ` Inside a substree and with the point at the beginning of a line, C-RET turns the current line into a heading. In the following example, indicates where the point is. * Sample This is not a heading After C-RET, it changes to * Sample * This is not a heading I can reproduce this with org 6.29c as included in Emacs. Can someone else reproduce this bug? Best, Leo -- Emacs uptime: 11 minutes, 35 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Positioning Latex diagram on PDF output
On 2009-08-08 19:29 +0100, Graham Smith wrote: I am experimenting with a TiKZ/pgf mindmap in orgmode. Although it looks as if it should fit on the (A4) PDF page, it is offset to the right and cut off, even though there seems to plenty of room on the page to left of the diagram. I think this is due to the geometry of your document. There's a left margin that pushes the tikz picture to the right. The code is just the example from the manual, which I have modified a bit, and is shown below. Is there some way of moving it across to the left a bit, so it will fit on the page? You can use the preview package to trim the output so that it leaves, for example, 1pt on all sides of the tikz pictures. Here is a compilable example. %% \documentclass{article} \usepackage{tikz} \usetikzlibrary{mindmap} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{1pt} \begin{document} \begin{tikzpicture} \path[mindmap,concept color=black,text=white] node[concept] {Ecological Impact Assessment} [clockwise from=0] child[concept color=green!50!black] { node[concept] {Ecology} [clockwise from=90] child { node[concept] {theory} } child { node[concept] {field skills} } child { node[concept] {methods} } child { node[concept] {software engineer\-ing} } } child[concept color=blue] { node[concept] {Legislation} [clockwise from=-30] child { node[concept] {EIA} } child { node[concept] {Policy and Planning} } } child[concept color=red] { node[concept] {Data Analysis} [clockwise from=-30] child{node[concept]{Statistics}} child{node[concept]{GIS}} child{node[concept]{Decision Science}} } child[concept color=orange] { node[concept] {Professional Practice} [clockwise from=-75] child{node[concept]{Business skills}} child{node[concept]{Presentation skills}} child{node[concept]{EcIA best practice}} }; \end{tikzpicture} \end{document} Many thanks, Graham Are you developing a mindmap exporter for org? If so, I am very interested ;) Best, Leo -- Emacs uptime: 1 day, 3 hours, 44 minutes, 23 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Positioning Latex diagram on PDF output
On 2009-08-08 22:14 +0100, Graham Smith wrote: Based on this I have altered the headers in orgmode to #+LATEX_HEADER: \usepackage{tikz} #+LATEX_HEADER: \usetikzlibrary{mindmap,trees} #+LATEX_HEADER: \usepackage[active,tightpage]{preview} #+LATEX_HEADER: \PreviewEnvironment{tikzpicture} #+LATEX_HEADER: \setlength\PreviewBorder{20pt} This has certainly solved the mindmap position problem, but now the resultant pdf loses all the text from the original orgmode file. :-( I assume I don't need to add the document class line? In that case, you can use geometry package or scale your tikz picture so that it fits into the textwidth. -- Emacs uptime: 1 day, 5 hours, 57 minutes, 35 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Positioning Latex diagram on PDF output
On 2009-08-09 08:33 +0100, Graham Smith wrote: Leo, Thanks again, it seems the answer lies in Latex, rather than OrgMode, so I will work away at that. having said that, the commands you gave me are extremely useful for making a stand alone diagram to insert as a graphic into some other document. So well worth knowing. You're welcome, Graham. Leo -- Emacs uptime: 1 day, 17 hours, 41 minutes, 13 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] 6.29c bug: (void-variable org-export-html-special-string-regexps)
Hi all, Here is how to reproduce the bug: 1. create a file kk.el with the following content: (setq org-modules nil) (define-key mode-specific-map [?a] 'org-agenda) (define-key mode-specific-map [?l] 'org-store-link) (setq org-agenda-files '(~/kk.org)) (setq org-export-with-LaTeX-fragments t org-highlight-latex-fragments-and-specials t) 2. create an empty file named kk.org 3. emacs -q -l kk.el 4. C-c a a Backtrace: Debugger entered--Lisp error: (void-variable org-export-html-special-string-regexps) org-compute-latex-and-specials-regexp() org-set-regexps-and-options() org-mode() set-auto-mode-0(org-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(#buffer kk.org ~/kk.org nil nil ~/kk.org (1861876 234881026)) find-file-noselect(~/kk.org) org-get-agenda-file-buffer(~/kk.org) byte-code(.!\f.q...!.!q~. .. .\n\..\f.\..\...\...ed..#..c.eb.#c...!G... ..!.#G.eb.. .Q.!..!..#.....!.\#m.). ! [file bmp org-todo-keywords-for-agenda org-todo-keywords-1 org-done-keywords-for-agenda org-done-keywords bufferp org-check-agenda-file org-get-agenda-file-buffer buffer-modified-p org-refresh-category-properties append remove-text-properties re-search-forward nil t org-on-heading-p add-text-properties point-at-bol org-end-of-subtree ^\\*+ + \\ 0 set-buffer-modified-p org-todo-keyword-alist-for-agenda org-todo-key-alist org-tag-alist-for-agenda org-tag-alist pall org-agenda-skip-archived-trees rea pa org-comment-string re pc] 4) org-prepare-agenda-buffers((~/kk.org)) org-prepare-agenda(Day/Week) org-agenda-list(nil) call-interactively(org-agenda-list) byte-code(.. . \\.p... !..�...@..a.b..c.d.e.#..f.g..h.#p.i.jz..!�...@.j.da.k.e...k.\fc#.k.=...f.g. ..H. ....K.=....F..!.G`..H..!.)..!..J \.89.8!...8.A..8.B..8.CC#.A.=C.\...A.=C.\...A.=C.\...A.=C.\...A.=\...C.\...A.=1...C.\...a@...c.\...A.=R.. ..C.\...A.=d.. ..C.\...A.=v.. ..C.\A! ...C.\A!...C.\.A\.@..laa)\...J...\n...!...J....Q.!...JR....S.!...JT....U.!...JV...U..M..W..M.N.M.O..N!+...JX. ..Y.!...JZ.D.Y..M4.[..M.N.M.O..N!+...J\\.U..].!...J^...P_.=m..`.!.K? .\fC#a..M.M.N.M.O..N!+...Jb....c.!...Jd....e.!...Jf....g.!...h.!. [prefix-descriptions org-agenda-custom-commands org-agenda-custom-commands-orig buf bfn entry nil delq mapcar #[(x) A;\f. B..A@;..�...@'@..aa)bb...@.abb [x prefix-descriptions nil ] 4] buffer-file-name buffer-base-buffer put org-agenda-files org-restrict org-agenda-redo-command org-lprops org-agenda-get-restriction-and-command region t region-beginning region-end subtree org-back-to-heading org-end-of-subtree require calendar assoc 2 functionp 3 4 agenda org-let (org-agenda-list current-prefix-arg) alltodo (org-todo-list current-prefix-arg) search (org-search-view current-prefix-arg match nil) stuck (org-agenda-list-stuck-projects current-prefix-arg) tags (org-tags-view current-prefix-arg match) tags-todo (org-tags-view (quote ...) match) todo (org-todo-list match) tags-tree org-check-for-org-mode (org-match-sparse-tree current-prefix-arg match) ...] 6) org-agenda(nil) call-interactively(org-agenda nil nil) -- Emacs uptime: 7 minutes, 29 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: 6.29c bug: (void-variable org-export-html-special-string-regexps)
Another bug maybe related to this one is trying to complete #+ produces another error: Debugger entered--Lisp error: (args-out-of-range 2 10) match-string(2 ) (cons (match-string 2 x) (match-string 1 x)) (lambda (x) (string-match ^#\\+\\(\\([A-Z_]+:?\\).*\\) x) (cons (match-string 2 x) (match-string 1 x)))() mapcar((lambda (x) (string-match ^#\\+\\(\\([A-Z_]+:?\\).*\\) x) (cons (match-string 2 x) (match-string 1 x))) (#+TITLE: Tasks.org #+AUTHOR: Leo Shidai Liu #+EMAIL: sl...@cam.ac.uk #+DATE: 2009-08-10 Mon #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP:#+LINK_HOME: #+CATEGORY: Tasks #+SEQ_TODO: TODO FEEDBACK VERIFY DONE #+TYP_TODO: Me Jason Marie DONE #+PRIORITIES: A C B #+DRAWERS: PROPERTIES CLOCK LOGBOOK #+STARTUP: content odd hidestars noalign nil #+TAGS: @Computer(c) @Errands(e) @Home(h) @None(n) @Office(o) @Phone(p) #+FILETAGS: #+ARCHIVE: %s_archive:: #+LINK: org file:~/org/%s.org)) (append (mapcar (lambda ... ... ...) (org-split-string ... \n)) (mapcar (quote list) org-additional-option-like-keywords)) (cond (opt (setq type :opt) (require ...) (append ... ...)) (startup (setq type :startup) org-startup-options) (link (append org-link-abbrev-alist-local org-link-abbrev-alist)) (texp (setq type :tex) org-html-entities) ((string-match \\`\\*+[ ]+\\' ...) (setq type :todo) (mapcar ... org-todo-keywords-1)) (searchhead (setq type :searchhead) (save-excursion ... ...) tbl) (tag (setq type :tag beg beg1) (or org-tag-alist ...)) (prop (setq type :prop beg beg1) (mapcar ... ...)) (t (progn ... ...))) (let* ((a nil) (end ...) (beg1 ...) (beg ...) (confirm ...) (searchhead ...) (struct ...) (tag ...) (prop ...) (texp ...) (link ...) (opt ...) (startup ...) (completion-ignore-case opt) (type nil) (tbl nil) (table ...) (pattern ...) (completion ...)) (cond (... ...) (... ... ...) (... ... ... ... ... ... ...) (t ... ... ...))) (catch (quote exit) (let* (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (cond ... ... ... ...))) (progn (if pc-mode (partial-completion-mode -1)) (catch (quote exit) (let* ... ...))) (unwind-protect (progn (if pc-mode ...) (catch ... ...)) (if pc-mode (partial-completion-mode 1))) (let ((pc-mode ...)) (unwind-protect (progn ... ...) (if pc-mode ...))) (org-without-partial-completion (catch (quote exit) (let* ... ...))) org-complete(nil) call-interactively(org-complete nil nil) -- Emacs uptime: 18 minutes, 25 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Lisp error: (args-out-of-range 2 10) (was: 6.29c bug: (void-variable org-export-html-special-string-regexps))
On 2009-08-10 12:55 +0100, Leo wrote: Another bug maybe related to this one is trying to complete #+ produces another error: Debugger entered--Lisp error: (args-out-of-range 2 10) match-string(2 ) (cons (match-string 2 x) (match-string 1 x)) (lambda (x) (string-match ^#\\+\\(\\([A-Z_]+:?\\).*\\) x) (cons (match-string 2 x) (match-string 1 x)))() mapcar((lambda (x) (string-match ^#\\+\\(\\([A-Z_]+:?\\).*\\) x) (cons (match-string 2 x) (match-string 1 x))) (#+TITLE: Tasks.org #+AUTHOR: Leo Shidai Liu #+EMAIL: sl...@cam.ac.uk #+DATE: 2009-08-10 Mon #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+CATEGORY: Tasks #+SEQ_TODO: TODO FEEDBACK VERIFY DONE #+TYP_TODO: Me Jason Marie DONE #+PRIORITIES: A C B #+DRAWERS: PROPERTIES CLOCK LOGBOOK #+STARTUP: content odd hidestars noalign nil #+TAGS: @Computer(c) @Errands(e) @Home(h) @None(n) @Offic e(o) @Phone(p) #+FILETAGS: #+ARCHIVE: %s_archive:: #+LINK: org file:~/org/%s.org)) (append (mapcar (lambda ... ... ...) (org-split-string ... \n)) (mapcar (quote list) org-additional-option-like-keywords)) (cond (opt (setq type :opt) (require ...) (append ... ...)) (startup (setq type :startup) org-startup-options) (link (append org-link-abbrev-alist-local org-link-abbrev-alist)) (texp (setq type :tex) org-html-entities) ((string-match \\`\\*+[ ]+\\' ...) (setq type :todo) (mapcar ... org-todo-keywords-1)) (searchhead (setq type :searchhead) (save-excursion ... ...) tbl) (tag (setq type :tag beg beg1) (or org-tag-alist ...)) (prop (setq type :prop beg beg1) (mapcar ... ...)) (t (progn ... ...))) (let* ((a nil) (end ...) (beg1 ...) (beg ...) (confirm ...) (searchhead ...) (struct ...) (tag ...) (prop ...) (texp ...) (link ...) (opt ...) (startup ...) (completion-ignore-case opt) (type nil) (tbl nil) (table ...) (pattern ...) (completion ...)) (cond (... ...) (... ... ...) (... ... ... ... ... ... ...) (t ... ... ...))) (catch (quote exit) (let* (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (cond ... ... ... ...))) (progn (if pc-mode (partial-completion-mode -1)) (catch (quote exit) (let* ... ...))) (unwind-protect (progn (if pc-mode ...) (catch ... ...)) (if pc-mode (partial-completion-mode 1))) (let ((pc-mode ...)) (unwind-protect (progn ... ...) (if pc-mode ...))) (org-without-partial-completion (catch (quote exit) (let* ... ...))) org-complete(nil) call-interactively(org-complete nil nil) Here is how to reproduce this one: 1. kk.el with the following line: (setq org-modules nil) 2. emacs -q -l kk.el 3. open an org file 4. type in #+ 5. press M-TAB Backtrace is as in the previous post. -- Emacs uptime: 11 minutes, 34 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org suggestion: option which allows moving subtrees freely
On 2009-08-11 10:24 +0100, PT wrote: Often I want to move an item or a subtree to an other location with M-up/down and I get the message Cannot move past superior level. I think there could be an option allowing this behavior. In practice I found sometimes it would be quicker and easier to move stuff under a different heading in the same file by simply using Meta+cursor keys than using the refill interface. I agree with Carsten and Tassilo. I don't see this as an improvement. C-k and C-y is easy enough to move substrees and it can move them anywhere. -- Emacs uptime: 21 hours, 53 minutes, 48 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [ANN] org-docview.el - Link to PDF files from org-mode
On 2009-08-12 19:25 +0100, Jan Böcker wrote: the new doc-view-mode in emacs 23 can be used to view DVI, PDF and PostScript files. I have written a custom link type for org-mode to allow linking to those files from org-mode. If doc-view-mode could provide native support for those file types, it'd be much more realistic to replace standard viewers provided by the os. Unfortunately the last time I checked which is quite a while ago, it converted those files into images and use Emacs to view them. A proper pdf viewer is crucial to academic workers and in each of the major operating systems, there are free capable viewers available. So if this feature is to be in org core, please don't make it the default. Thanks. Leo -- Emacs uptime: 2 days, 4 hours, 16 minutes, 37 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: doc-view-mode (was: Re: [ANN] org-docview.el - Link to PDF files from org-mode)
On 2009-08-12 20:30 +0100, Óscar Fuentes wrote: Converting the pdf|ps|dvi file to images is exactly what your favourite viewer does. Could you provide a link to this? I'd like to know more about the details. However, whatever the pdf viewer does, a proper one makes working with pdf files pleasant. For example, skim on OS X is a decent one. Leo -- Emacs uptime: 2 days, 5 hours, 24 minutes, 39 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [ANN] org-docview.el - Link to PDF files from org-mode
On 2009-08-12 22:33 +0100, Carsten Dominik wrote: So if this feature is to be in org core, please don't make it the default. I don't really see how this would be a problem. Jan does not propose to make file: links use docview to display a pdf file. But when a user is looking at a file in docview, it does make sense to make store link point to the docview of the file, I would think. No conflict in sight. - Carsten In this case, no conflict ;) -- Emacs uptime: 2 days, 9 hours, 29 minutes, 41 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Is this a bug in orgstruct-mode
Hi Carsten, I find the following M-RET behaviour a bit strange. For example, in an empty buffer with orgstruct-mode on. A list like this can be created with 1 at the beginning of buffer and using M-RET to insert the second item. 1. one 2. two However, if there is an empty line preceding '1. one', M-RET also inserts a blank line between items, like this: 1. one 2. two Do you know if this is a bug? [Tested in GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-08-10] Best wishes, Leo -- Emacs uptime: 5 days, 20 hours, 34 minutes, 4 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Is this a good feature to have?
Hi all, Remember is a convenient tool for collecting tasks. However I always feel it can be more flexible in someway since I started using it quite a while ago. So I have the following proposal. 1. Add a key C-c i char for each %char in the *Remember* buffer. For example, `C-c i a' shall toggle the insertion of the annotation. 2. Add a new syntax to %char as a placeholder for the corresponding C-c i char. For example, %a can be used in a template to indicate the place to insert annotation when pressing `C-c i a'. if no placeholder is indicated in the template, then `C-c i a' insert the annotation in current place. This proposal is to eliminate the need to define multiple similar templates. For example, one with annotation and another without, or one with clipboard and another without. What do people think of this? Best, Leo -- Emacs uptime: 6 days, 8 hours, 48 minutes, 55 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Is this a bug in orgstruct-mode
Any comment on this bug? On 2009-08-16 12:02 +0100, Leo wrote: Hi Carsten, I find the following M-RET behaviour a bit strange. For example, in an empty buffer with orgstruct-mode on. A list like this can be created with 1 at the beginning of buffer and using M-RET to insert the second item. 1. one 2. two However, if there is an empty line preceding '1. one', M-RET also inserts a blank line between items, like this: 1. one 2. two Do you know if this is a bug? [Tested in GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-08-10] Best wishes, Leo -- Emacs uptime: 1 day, 3 hours, 27 minutes, 29 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Is this a bug in orgstruct-mode
On 2009-08-18 19:59 +0100, Carsten Dominik wrote: Hi Leo, this is actually in the FAQ: http://orgmode.org/worg/org-faq.php#blank-line-after-headlines-and-list-items - Carsten The bug I am reporting is that when there is a blank line preceding the FIRST heading or list item, the second one will have a blank line. The FAQ seems to address when there is a blank line preceding the second heading or list item, the third one will have a blank line. The behaviour in the FAQ is smart and desirable. In my view the blank line preceding the FIRST heading or list item is not part of that heading or list item and base behaviour on that is wrong. Do you still think this is a non-bug? Thanks. Leo -- Emacs uptime: 1 day, 7 hours, 39 minutes, 7 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Is this a bug in orgstruct-mode
On 2009-08-19 10:31 +0100, Carsten Dominik wrote: The bug I am reporting is that when there is a blank line preceding the FIRST heading or list item, the second one will have a blank line. The FAQ seems to address when there is a blank line preceding the second heading or list item, the third one will have a blank line. The behaviour in the FAQ is smart and desirable. In my view the blank line preceding the FIRST heading or list item is not part of that heading or list item and base behaviour on that is wrong. I don't think it is either wrong or right. When creating the second headline, Org has no way of guessing what you want, to it makes a choice, and I opted for a simple algorithm that looks only above the previous sibling, in this case the first list item. I don't see why the other choice would be any better. Anyone else want to weigh in on tis issue? I think it is completely fine to leave it as it is. -- Emacs uptime: 1 day, 19 hours, 42 minutes, 30 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Use remember to file an item to a list
Hi there, I want to use a special org file to collect quotes. The file is special in that it contains only a plain list. I want to use remember to quickly file a quote to it but it seems this is not yet possible to do in orgmode. I wonder if this feature is useful to have? Thanks. Leo -- Emacs uptime: 1 day, 19 hours, 50 minutes, 24 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Use remember to file an item to a list
On 2009-08-19 09:55 +0100, Bastien wrote: Hi Leo, Leo sdl@gmail.com writes: I want to use a special org file to collect quotes. The file is special in that it contains only a plain list. I want to use remember to quickly file a quote to it but it seems this is not yet possible to do in orgmode. I wonder if this feature is useful to have? For this I would have two files: the one with usual headlines, where you can remember your quotes, and another one where those headings are converted to list items. It shouldn't be hard to automate. Otherwise I don't understand how remembering a plain list would work, since remembering heavily relies on the target structure. I finally decided to use bookmark to jump to the file quickly and insert quotes directly. -- Emacs uptime: 2 days, 23 hours, 47 minutes, 0 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Preventing (or mitigating) accidental deletion in org-mode
On 2009-08-23 11:58 +0100, Nick Bell wrote: Org-mode is great and I'd like to commit to it. However, I'm held back by the apparent fragility of data stored in org-files. For example, it's easy to delete entire folded trees of data with just a couple of keystrokes or a mouse click. This should not be a problem as long as you know how the undo in Emacs works. You can even use browse-kill-ring¹ to see what you have deleted in Emacs. Footnotes: ¹ http://www.emacswiki.org/emacs/BrowseKillRing -- Emacs uptime: 5 days, 21 hours, 45 minutes, 22 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Preventing (or mitigating) accidental deletion in org-mode
On 2009-08-23 13:27 +0100, Nick Bell wrote: I'm trying to write a little function using before-save-hook to compare the current buffer to the saved version and output the result of diffstat, asking the user whether they want to go ahead with the save or view the full diff. Or has someone done something like this before? See diff-buffer-with-file. -- Emacs uptime: 5 days, 22 hours, 23 minutes, 6 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: POLL: Change of keys to move agenda through time
On 2009-08-25 10:12 +0100, Carsten Dominik wrote: Hi, we have the proposal to do the following key changes in the agenda: 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again 2. Use the keys n and p to switch the agenda to earlier and later dates. I like n and p to move up and down like in many other modes for example ibuffer, dired, Gnus etc. Changing this to be incompatible with other modes alienates orgmode. So I'd vote to keep current behaviour. I would like to call a vote on this issue. Please weigh in. Should we make this change? yes or no? NO. - Carsten -- Emacs uptime: 7 days, 20 hours, 38 minutes, 33 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: POLL: Change of keys to move agenda through time
On 2009-08-25 11:59 +0100, Leo wrote: I like n and p to move up and down like in many other modes for example ibuffer, dired, Gnus etc. Changing this to be incompatible with other modes alienates orgmode. So I'd vote to keep current behaviour. I would like to call a vote on this issue. Please weigh in. Should we make this change? yes or no? NO. Let me say a few more words. 1. I'd prefer keeping n and p as it is since it is quite standard elsewhere. 2. I don't mind changing left and right to normal cursor movement. 3. Uppercase N and P can be used to move the agenda to next and previous views. I like it better than M-n and M-p pair. Hope this helps. Leo -- Emacs uptime: 7 days, 21 hours, 46 minutes, 45 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Gnus link bug
Hi Bastien, On 2009-08-25 03:43 +0100, Bastien wrote: I feel there's something we can simplify. Also the old code for handling gnus-article-mode moves the cursor around. So I simplified org-gnus-store-link as follows: As long as (header (with-current-buffer gnus-summary-buffer (gnus-summary-article-header))) fetches the right header, I think it's okay to use your code. Thanks for this! Could you install that in org.git? Cheers, Leo -- Emacs uptime: 10 days, 1 hour, 37 minutes, 36 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-mode on sloooow computer
On 2009-08-31 22:03 +0100, Daniel Martins wrote: I did all but it complains about a org-agenda-list: Symbol's function definition is void: elp-wrapper Daniel Maybe put (autoload 'elp-wrapper elp) somewhere in your .emacs. This will get your org mode to compile. But you may want to figure out where that elp-wrapper is used. The vanilla org mode does not seem to use it. -- Emacs uptime: 14 days, 6 hours, 51 minutes, 8 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Emacs 21.4.1 support
On 2009-09-14 20:13 +0100, Tassilo Horn wrote: Emacs 21.4 is nearly 4 years old! Org-mode uses quite a bunch of more or less recent emacs features, so getting it fully working would be quite a hassle with a lot of compatibility code. I agree. Org is moving forward extremely fast and the main development has been done single-handedly by Carsten. On my server where I have only 500M quota, I install emacs23 to /tmp and make a backup of that. Leo -- Emacs uptime: 2 hours, 27 minutes, 15 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: text-mode-abbrev-table default?
On 2009-10-28 09:19 +, Carsten Dominik wrote: Because if I do tis by default, someone if going to want to have a separate table :-) You solution is good - a nice snippet for a FAQ, maybe? It seems natural to `define-abbrev-table' org-mode-abbrev-table with text-mode-abbrev-table being its parent ;) Leo -- Emacs uptime: 36 days, 1 hour, 45 minutes, 0 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: text-mode-abbrev-table default?
On 2009-10-28 10:37 +, Carsten Dominik wrote: It seems natural to `define-abbrev-table' org-mode-abbrev-table with text-mode-abbrev-table being its parent ;) Org-mode is defined using define-derived-mode, so maybe that should already do this? - Carsten I tested it in GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-09-22 and it seems abbrevs in text-mode is not inherited. Leo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: text-mode-abbrev-table default?
On 2009-10-28 15:30 +, Carsten Dominik wrote: On 2009-10-28 09:19 +, Carsten Dominik wrote: Because if I do tis by default, someone if going to want to have a separate table :-) You solution is good - a nice snippet for a FAQ, maybe? It seems natural to `define-abbrev-table' org-mode-abbrev-table with text-mode-abbrev-table being its parent ;) Hmm, after reconsidering, I think you are right. How exactly would that look like? Should that be a top-level form in org.el? And should I then define org-mode with :abbrev-table org-mode-abbrev- table ? Just make me a patch, and I will apply it. I make the following patch using the org.el in Emacs (cvs 20090922). diff -u -L /Applications/Emacs.app/Contents/Resources/lisp/org/org.el.gz -L /var/folders/b2/b2DGafs+EpaLFYrOC7ZWRTQ/-Tmp-/buffer-content-58096yEn /var/folders/b2/b2DGafs\+EpaLFYrOC7ZWR\+\+\+\+TQ/-Tmp-/jka-com58096_Ot /var/folders/b2/b2DGafs\+EpaLFYrOC7ZWR\+\+\+\+TQ/-Tmp-/buffer-content-58096yEn --- /Applications/Emacs.app/Contents/Resources/lisp/org/org.el.gz +++ /var/folders/b2/b2DGafs+EpaLFYrOC7ZWRTQ/-Tmp-/buffer-content-58096yEn @@ -4054,6 +4054,8 @@ (org-indent-mode 1)) (org-set-startup-visibility))) +(abbrev-table-put org-mode-abbrev-table + :parents (list text-mode-abbrev-table)) (put 'org-mode 'flyspell-mode-predicate 'org-mode-flyspell-verify) (defun org-current-time () Diff finished. Thu Oct 29 08:20:52 2009 Thanks. - Carsten Best wishes, Leo -- Emacs uptime: 36 days, 23 hours, 32 minutes, 4 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Proposed key binding changes: archiving and attachments
On 2009-10-30 06:54 +, Carsten Dominik wrote: I would like to change some key bindings related to archiving, and this change will also affect the access key for attachments. The main reason is that I think there should be a single default key for archiving, and that the user sets a variable to decide what the default archiving method should be. I would like this key to be `C-c C-a' which is why the org-attach key would have to move as well. I think one of these days we could take a look at the whole of the key bindings in org mode. It is violating some conventions. For example, 'Alt' usually means something slightly different in actions in both Emacs and other applications on the system: `C-f' - forward-char `C-M-f' - forward-sexp On OS X, Cmd + H - Hide APP Cmd + Option(Alt) + H - Hide others But in org, it seems the Shift key is taking this role: M-RET M-S-RET .. And usually Shift is not a modifier on terminals so another set of keys are provided. Another problem is the C-c C-x prefix. It makes the keys look long. And I always fear I might type C-x C-c instead which exits Emacs. Best wishes, Leo -- Emacs uptime: 38 days, 8 hours, 42 minutes, 15 seconds ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [OT] Emacs for email?
On 2009-12-02 00:39 +, Keith Lancaster wrote: Darlan Cavalcante Moreira darc...@gmail.com writes: I use wanderlust for email (including this list) and it works really well with imap. I was somewhat hard to configure, but now that everything is working I don't feel like going back to my previous e-mail client (evolution). - Darlan Cavalcante Thanks for all the responses! Looks like I have a bit of investigating to do. Second try posting this from gnus... Keith I would also recommend Gnus. Not only it is included in Emacs but also actively maintained. Leo ___ 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: How to combine the analogue (Moleskine) world with digital (org-mode) world ?
On 2010-01-24 14:09 +, Torsten Wagner wrote: My question is now. What would be the best way to combine the moleskine and org-mode ? Does someone have experience with a paper based and digital mixture system? One of my ideas was to print out the weekly or monthly agenda as small as possible and just attach it to the molenskine (it has a little card holder at the back). This would allow me to check what is in my org-mode agenda. However, I would still have two independent systems. In my view, the effort it takes to maintain such a mixed system might be too high. And it becomes worse when you need to exchange information between the two subsystems. Unfortunately I can't see an easy solution to this. I probably will get an iphone (or any capable portable device) that can run a full-featured gtd system and sync with other devices (pc, maybe some gtd websites etc.), ie I will go for an all-digital solution. I used to have a 1st gen iphone and I used the voice recording and camera to collect items. I have found these two features valuable ;) Best wishes, Leo ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Any idea why the git repo is so huge
Hello, The git repo I just checked out a minute ago is 54M, 20 times bigger than the org lisp files. Any idea why it is so large? Thanks. Leo ___ 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: Any idea why the git repo is so huge
On 2010-02-02 12:29 +, Ian Barton wrote: The git repo I just checked out a minute ago is 54M, 20 times bigger than the org lisp files. Any idea why it is so large? Thanks. Leo Don't forget it has a complete history of all org development since the initial import of the source. You may be able to reduce the size of your local repo by running: git gc See http://kernel.org/pub/software/scm/git-core/docs/v1.6.0.6/git-gc.html Ian. Of course. But git is supposed to be very efficient in storing history and other things. I remembered when it first appeared when Linus was still maintaining it, it could have the Linux kernel's source tree with complete history and other things within 1.5 times the size of the net source. Git gc won't help because 54M is the size of the first checkout. Leo ___ 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] C-RET errs
Hello all, I wonder if there's a cure for this error. When I hit C-RET in a fresh org-mode buffer but not at the beginning, it errs with something like this: Before first headline at position 2 in buffer *xyz* but M-RET does not err at all. This is tested with org-mode that is part of Emacs 23.1.93. Best wishes, Leo -- H A P P Y H O L I D A Y S! ___ 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: C-RET errs
On 2010-03-01 21:10 +, David Maus wrote: Worked fine with Org-mode version 6.33x shipped with GNU Emacs 23.1.92.1 (i486-pc-linux-gnu, GTK+ Version 2.18.7) of 2010-02-24 on elegiac, modified by Debian Only if debian fixed this bug. I can reproduce this bug on Gnu/Linux with these steps. 1. git clone --depth 1 git://repo.or.cz/org-mode.git 2. go into the lisp dir and start emacs like this: emacs -q -L . 3. goto the scratch buffer and 'M-x org-mode' and then 'C-RET' and can't be reproduced on my side with Org-mode version 6.34trans (release_6.34c.160.gf000) That's indeed fixed with the master branch. on GNU Emacs 23.1.92.1 (i486-pc-linux-gnu, GTK+ Version 2.18.7) of 2010-02-24 on elegiac, modified by Debian -- H A P P Y H O L I D A Y S! ___ 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] patch from master branch attached (was: C-RET errs)
Only if debian fixed this bug. I can reproduce this bug on Gnu/Linux with these steps. 1. git clone --depth 1 git://repo.or.cz/org-mode.git 2. go into the lisp dir and start emacs like this: emacs -q -L . 3. goto the scratch buffer and 'M-x org-mode' and then 'C-RET' The following patch from the master branch should fix this bug. Carsten, would you be able to fix it in Emacs upstream? Many thanks. Leo. --- a/org.el2010-03-03 16:36:22.0 + +++ b/org.el2010-03-03 16:37:09.0 + @@ -5965,21 +5965,26 @@ (save-match-data (looking-at [ \t]*$) -(defun org-insert-heading (optional force-heading) +(defun org-insert-heading (optional force-heading invisible-ok) Insert a new heading or item with same depth at point. If point is in a plain list and FORCE-HEADING is nil, create a new list item. If point is at the beginning of a headline, insert a sibling before the current headline. If point is not at the beginning, do not split the line, -but create the new headline after the current line. - (interactive P) - (if (= (buffer-size) 0) +but create the new headline after the current line. +When INVISIBLE-OK is set, stop at invisible headlines when going back. +This is important for non-interactive uses of the command. + (interactive P) + (if (or (= (buffer-size) 0) + (and (not (save-excursion (and (ignore-errors (org-back-to-heading invisible-ok)) +(org-on-heading-p + (not (org-in-item-p (insert \n* ) (when (or force-heading (not (org-insert-item))) (let* ((empty-line-p nil) (head (save-excursion (condition-case nil (progn - (org-back-to-heading) + (org-back-to-heading invisible-ok) (setq empty-line-p (org-previous-line-empty-p)) (match-string 0)) (error * Diff finished. Wed Mar 3 16:37:49 2010 -- H A P P Y H O L I D A Y S! ___ 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: C-RET errs
On 2010-03-03 16:24 +, Leo wrote: I can reproduce this bug on Gnu/Linux with these steps. 1. git clone --depth 1 git://repo.or.cz/org-mode.git BTW, I wrote too hastily. you should also switch to tag release_6.33f in order to actually see the bug. Master branch fixed this bug. 2. go into the lisp dir and start emacs like this: emacs -q -L . 3. goto the scratch buffer and 'M-x org-mode' and then 'C-RET' ___ 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] A bug in org-fix-bullet-type
Hello, In an org buffer with the following: 1. one - another one| 2. two 3. tree Place the point at | and M-left, the point will no longer at |. I think this is due to org-fix-bullet-type which restores point position by column. But org-fix-bullet-type could insert different length of text depending on the list item type (ie - or 1. or 1)). Cheers, Leo ___ 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: A bug in org-fix-bullet-type
On 2010-03-17 14:37 +, Carsten Dominik wrote: Hi Leo, am not able to reproduce this problem. - Carsten Odd. I can reproduce it with org 6.34 trans from git repo. I attach two screen shots to show the difference. attachment: org-before.pngattachment: org-after.png Best, Leo ___ 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: A bug in org-fix-bullet-type
On 2010-03-17 15:11 +, Carsten Dominik wrote: Yes, I now see it as well. Fixed, thanks. - Carsten Many thanks, Carsten. Leo ___ 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] AI for orgmode
Hello, Sorry to use a subject like this. A few weeks ago I saw slides of a presentation (link available on http://netzhansa.blogspot.com/2010/02/clojure-sliders-from-february-berlin.html) about using clojure (one of lisp languages) for developing intelligent project management software. I think the idea is great although the slides didn't present how their company did it. With a bit of brain storming we might be able to come up with something great for orgmode and to take orgmode to another level of greatness: zero configuration with some intelligence ;) BTW, recently while talking with some chap on #lisp irc channel who was seeking a GTD tool (folks there usually are already literate with Emacs since SLIME is the best tool for developing common lisp applications). He told me that he had tried to adopt org mode but unfortunately he could not get it to where he wanted it to be in an afternoon, so he had to abandon it. And he is experienced in lisp programming since that is his job. Thinking about my own experience, I didn't feel the pain since I gradually changing my org mode configuration over a few years. but I could understand the frustration. Leo ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[O] Fix commit 9ff7f80f51a15c4a3dd2b654f0b08e9e290f5375
I am running org mode from trunk. I am getting this error: , | org-babel-pop-to-session-maybe: Symbol's value as variable is void: | org-babel-inline-src-block-regexp ` for M-up/down. The error was introduced in http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=9ff7f80f51a15c4a3dd2b654f0b08e9e290f5375 Please apply this patch to fix the bug: --- a/ob.el +++ b/ob.el @@ -141,7 +141,7 @@ \\([^\000]*?\n\\)?[ \t]*#\\+end_src) Regexp used to identify code blocks.) -(eval-when-compile +(eval-and-compile (defvar org-babel-inline-src-block-regexp (concat ;; (1) replacement target (2) lang Diff finished. Tue Aug 2 01:18:06 2011 Leo
Re: [O] Fix commit 9ff7f80f51a15c4a3dd2b654f0b08e9e290f5375
On 2011-08-02 01:59 +0800, Achim Gratz wrote: Please apply this patch to fix the bug: This gets rid of the error message, but does not fix the bug, IMHO. Which bug? There is no reference to any bug report in the commit so I am clueless. Leo
[O] C-x n s no longer works in outline mode
I have been using this outside of org-mode for many years but it is broken in 7.7. Debugger entered--Lisp error: (error Before first headline at position 134230 in buffer init) signal(error (Before first headline at position 134230 in buffer init)) error(Before first headline at position %d in buffer %s 134230 #buffer init) byte-code(\300\301`p#\207 [error Before first headline at position %d in buffer %s] 4) org-back-to-heading(t) org-narrow-to-subtree() call-interactively(org-narrow-to-subtree nil nil) Leo
Re: [O] C-x n s no longer works in outline mode
Note: Broken by commit http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=1e59039f8cf93830f930f7dc99117c41586552e9
[O] org-mode fontification error [6 times]
Just a heads-up. I saw this in my *message* buffer. I don't know how it happened. I am using org-mode 7.7 on Emacs 23.3.50. Leo
Re: [O] org-mode fontification error [6 times]
On 2011-08-18 15:22 +0800, Bastien wrote: Just a heads-up. I saw this in my *message* buffer. I don't know how it happened. Is this with emacs -Q? I am unable to reproduce this with emacs-23.3.1 and emacs-24.0.50.1. It is in my normal running emacs session. I haven't found a reproduction recipe. But I have been using the same org-mode setup for years. Leo
[O] bug#9435: 23.3.50; infinite loop in org-submit-bug-report
I am running Org-mode version 7.7. 1. emacs -q 2. (setq org-modules (quote (org-bbdb org-bibtex org-gnus org-info org-habit org-inlinetask org-irc org-protocol org-w3m org-mouse))) 3. M-x org-mode 4. From the menubar Org = Send bug report You should observe the infinite loop. A backtrace is shown in http://paste.pound-python.org/raw/11999/. In GNU Emacs 23.3.50.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36) of 2011-09-04 on Victoria.local Windowing system distributor `Apple Inc.', version 10.6.8 configured using `configure 'CFLAGS=-g' '--prefix=/usr/local/unix/emacs' '--with-mac' '--without-dbus'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Org
[O] [PATCH] Check marker is valid before use
lisp/org-agenda.el | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index bf03b68c..f4b8bcbf 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -6784,13 +6784,13 @@ (defun org-agenda-previous-line () (defun org-agenda-do-context-action () Show outline path and, maybe, follow mode window. (let ((m (org-get-at-bol 'org-marker))) -(if (and org-agenda-follow-mode m) - (if org-agenda-follow-indirect - (org-agenda-tree-to-indirect-buffer) - (org-agenda-show))) -(if (and m org-agenda-show-outline-path) - (org-with-point-at m - (org-display-outline-path t) +(when (and (markerp m) (marker-buffer m)) + (and org-agenda-follow-mode + (if org-agenda-follow-indirect + (org-agenda-tree-to-indirect-buffer) +(org-agenda-show))) + (and org-agenda-show-outline-path + (org-with-point-at m (org-display-outline-path t)) (defun org-agenda-show-priority () Show the priority of the current item. -- 1.7.7
Re: [O] [Accepted] Check marker is valid before use
On 2011-10-21 16:09 +0800, Carsten Dominik wrote: Patch 994 (http://patchwork.newartisans.com/patch/994/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3Cm1ipnj8mj4.fsf%40gmail.com%3E Here is the original message containing the patch: Sadly the version of org-mode in emacs 24 still has the bug. Leo
[O] Mouse clicking on headings
Hi there, I occasionally use mouse on org mode files; I have the module org-mouse loaded. However only recently I noticed mouse clicking on the heading stars no longer toggles the visibility of the heading. I am annoyed by this change. Could someone enlighten me on this? Leo
Re: [O] Mouse clicking on headings
On 2011-11-12 21:18 +0800, Nicolas Goaziou wrote: I cannot reproduce this on the latest version. Could you upgrade Org and tell me if the bug is still there? Seems to be fine in the latest version. I thought my org-mode version was fairly recent. Leo
Re: [O] Prompts for `C-c .' and `C-c !'
On 2012-01-24 00:01 +0800, François Pinard wrote: Commands `C-c .' and `C-c !' both insert a time stamp in the buffer, and the date is prompted in the mini-buffer in the same way for both commands. One of them is going to insert DATE, the other [DATE]. The mini-buffer always show DATE, like this: Date+time [2012-01-23]: = 2012-01-23 lun Could it be: Date+time [2012-01-23]: = [2012-01-23 lun] I think this is a good suggestion. is unconditionally set in org-time-stamp-custom-formats but it can be fixed by tweaking org-read-date-display. Leo
Re: [Orgmode] [BUG] org splitting window weird layout
On 2011-02-12 22:41 +0800, Bastien wrote: Leo sdl@gmail.com writes: Function org-fast-tag-selection may create a three-window layout like this: http://imagebin.org/127056. Perhaps due to my delay in replying, the image disappeared. Do you still have this problem? If so, can you be so kind as to report the picture? Thanks! Carsten has applied the patch. Leo -- Oracle is the new evil ___ 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: [O] Release 7.5
On 2011-03-07 22:42 +0800, Bastien wrote: here it is, release 7.5, my first release as Org's new maintainer. Congratulations, Bastien. Leo
[O] Why face org-link is now blue?
Hi there, I installed org-mode 7.5 with emacs-23 and found that links are no longer in purple but blue, like this: http://imgur.com/LEkZt.png It looks confusing to me. Any idea whether this is a bug? Thanks. Leo
[O] org-capture does not fully clean up after C-c C-k
Hello, I have one template as follows (n Notes entry (file Notes.org) * %?\n %i :prepend t) Every time I `C-c C-k' to abort the capture, a blank line is inserted at the front of file Notes.org. orgmode 2011-04-29 from git on Emacs 23.3.50. With best wishes, Leo
Re: [O] org-capture in message-mode buffer
On 2011-05-04 21:14 +0800, Ulf Stegemann wrote: The idea behind `org-store-link' (which is triggered by `org-capture') in message mode is to store a link to a /sent/ message even though the message has not been sent by the time you call `org-store-link'. This currently works only with Gnus and only if there's a Gcc header present in the message you are working on. `org-gnus-store-link' needs the Gcc header to determine where the message would go once it has been sent (in order to create a link to it). The error you've encountered means that there hasn't been a Gcc header in your message when you've called `org-capture'. I think org-gnus-store-link is too aggressive. I also dislike the fact that it inserts the Message-Id header. Also, the stored link may be useless unless it is referenced in the template chosen by the user. Leo
Re: [O] org-capture in message-mode buffer
On 2011-05-05 15:02 +0800, Ulf Stegemann wrote: Hmmm, is it? Suppose that linking to a message yet to be archived wouldn't be there, then `org-store-link' will tell you `org-store-link: Cannot link to a buffer which is not visiting a file' when called in a message buffer (like in any other non-file buffer). When I call org-capture in any buffer not visiting any file except in message mode, I don't get any error. I also dislike the fact that it inserts the Message-Id header. As the org link to Gnus messages consists of the group and the message id the latter one is need (as is the first one, the Gcc header). No reliable message id, no org link. One may argue if it's a good idea to generate the message id when calling `org-store-link' but I think it's a fair tradeoff to accept this in order to get the link to the message yet to be archived. If that depends on the Gcc header being available, it should check it and do nothing when users does not use one. Also, the stored link may be useless unless it is referenced in the template chosen by the user. Hmmm, I'm not quite sure what your scenario is here. If you dislike the behaviour of `org-store-link' in message mode and furthermore do not want to store a link at all since your template does not use it, why do you call `org-capture' from the message mode buffer at all? Ulf That seems like a very strange question. The only reason to have a global keybinding to org-capture is so that one can invoke it anywhere anytime. For example, while composing a new mail I might have a great idea I want to add to my Notes but I don't care where I invoke org-capture as illustrated by the template I use: (n Notes entry (file Notes.org) * %?\n %i :prepend t) BTW, the reason I have stopped using Gcc (long ago) is that I have gmail to do archiving for me. It is accessible anytime anywhere and not tied to a specific machine. I believe the following patch is due. Leo diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index eba4cb44..7290f1c6 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -187,7 +187,8 @@ (defun org-gnus-store-link () group newsgroups message-id x-no-archive)) (org-add-link-props :link link :description desc) link)) - ((eq major-mode 'message-mode) + ((and (eq major-mode 'message-mode) +(message-fetch-field gcc)) (setq org-store-link-plist nil) ; reset (save-excursion (save-restriction
Re: [O] org-capture in message-mode buffer
On 2011-05-05 15:59 +0800, Leo wrote: I believe the following patch is due. Think about it some more, there is a reason to signal an error when calling org-store-link interactively but it should not when invoked by org-capture. Otherwise it will get in the way. Leo
Re: [O] org-capture in message-mode buffer
On 2011-05-05 17:19 +0800, Ulf Stegemann wrote: [elide 4 lines] This sounds interesting (at least for those that use gmail). Is the URL where the archived message will be available predictable, i.e. is it possible to know it while still composing the message? If yes, it would be great to expand `org-gnus-store-link' to either use a Gnus archive group (Gcc) or a gmail one. I have started using latest No Gnus and realised the Gcc header is now enabled per default. But after some trial I turned it off anyway. I use gmail smtp which does the archiving automatically. I don't know enough whether that is predictable. Leo
Re: [O] org-bbdb-anniversaries gives error 'bad sexp'
On 2011-05-16 00:58 +0800, Matt Lundin wrote: I'd be happy to take this on. AFAICT, there are three functions in org-bbdb that no longer exist in bbdb v3. If you want you can build on top of my version. The anniversaries is still broken since I don't use BBDB-anniv.el. The rest works well for the past few weeks. Leo ;;; org-bbdb.el --- Support for links to BBDB entries from within Org-mode ;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 ;; Free Software Foundation, Inc. ;; Author: Carsten Dominik carsten at orgmode dot org, ;; Thomas Baumann thomas dot baumann at ch dot tum dot de ;; Keywords: outlines, hypermedia, calendar, wp ;; Homepage: http://orgmode.org ;; Version: 7.5 ;; ;; This file is part of GNU Emacs. ;; ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see http://www.gnu.org/licenses/. ; ;; ;;; Commentary: ;; This file implements links to BBDB database entries from within Org-mode. ;; Org-mode loads this module by default - if this is not what you want, ;; configure the variable `org-modules'. ;; It also implements an interface (based on Ivar Rummelhoff's ;; bbdb-anniv.el) for those org-mode users, who do not use the diary ;; but who do want to include the anniversaries stored in the BBDB ;; into the org-agenda. If you already include the `diary' into the ;; agenda, you might want to prefer to include the anniversaries in ;; the diary using bbdb-anniv.el. ;; ;; Put the following in /somewhere/at/home/diary.org and make sure ;; that this file is in `org-agenda-files` ;; ;; %%(org-bbdb-anniversaries) ;; ;; For example my diary.org looks like: ;; * Anniversaries ;; #+CATEGORY: Anniv ;; %%(org-bbdb-anniversaries) ;; ;; ;; To add an anniversary to a BBDB record, press `C-o' in the record. ;; You will be prompted for the field name, in this case it must be ;; anniversary. If this is the first time you are using this field, ;; you need to confirm that it should be created. ;; ;; The format of an anniversary field stored in BBDB is the following ;; (items in {} are optional): ;; ;; -MM-DD{ CLASS-OR-FORMAT-STRING} ;; {\n-MM-DD CLASS-OR-FORMAT-STRING}... ;; ;; CLASS-OR-FORMAT-STRING is one of two things: ;; ;; - an identifier for a class of anniversaries (eg. birthday or ;;wedding) from `org-bbdb-anniversary-format-alist' which then ;;defines the format string for this class ;; - the (format) string displayed in the diary. ;; ;; You can enter multiple anniversaries for a single BBDB record by ;; separating them with a newline character. At the BBDB prompt for ;; the field value, type `C-q C-j' to enter a newline between two ;; anniversaries. ;; ;; If you omit the CLASS-OR-FORMAT-STRING entirely, it defaults to the ;; value of `org-bbdb-default-anniversary-format' (birthday by ;; default). ;; ;; The substitutions in the format string are (in order): ;; - the name of the record containing this anniversary ;; - the number of years ;; - an ordinal suffix (st, nd, rd, th) for the year ;; ;; See the documentation of `org-bbdb-anniversary-format-alist' for ;; further options. ;; ;; Example ;; ;; 1973-06-22 ;; 20??-??-?? wedding ;; 1998-03-12 %s created bbdb-anniv.el %d years ago ;; ;; From Org's agenda, you can use `C-c C-o' to jump to the BBDB ;; link from which the entry at point originates. ;; ;;; Code: (require 'org) (eval-when-compile (require 'cl)) ;; Declare external functions and variables (declare-function bbdb ext:bbdb-com (regexp optional layout)) (declare-function bbdb-search-organization ext:bbdb-com (regexp optional layout)) (declare-function bbdb-current-record ext:bbdb (optional full)) (declare-function bbdb-search-name ext:bbdb-com (regexp optional layout)) (declare-function bbdb-record-name ext:bbdb-com (record)) (declare-function bbdb-record-organization ext:bbdb-com (record)) (declare-function bbdb-record-note-split ext:bbdb (record label)) (declare-function bbdb-split ext:bbdb (separator string)) (declare-function bbdb-string-trim ext:bbdb (string)) (declare-function bbdb-records ext:bbdb) (declare-function bbdb-completing-read-record ext:bbdb-com (prompt optional omit-records)) (declare-function diary-ordinal-suffix diary-lib (n)) (defvar bbdb-buffer-name) (defvar date) ;; dynamically scoped from Org ;; Customization (defgroup org-bbdb-anniversaries nil Customizations
Re: [O] org-capture in message-mode buffer
On 2011-05-24 11:19 +0800, Carsten Dominik wrote: is there an agreement here on whether the patch appearing in this thread http://patchwork.newartisans.com/patch/783/ should be applied or not? - Carsten I don't really know. The patch merely goes back to the same behaviour before the patch to add link support for message mode and only when GCC header cannot be found. But I do use it in my org mode. Leo
Re: [O] org-capture does not fully clean up after C-c C-k
On 2011-06-16 15:51 +0800, Carsten Dominik wrote: Hi Leo, I am unable to reproduce this. I do get an empty line the first time, but when the empty line is already there, then there is no problem. Do you find the insertion of this one empty line a problem? - Carsten I am running org-mode from git 2011-05-20 and I can still reproduce the problem. I suspect this might be related to other things in my setup. I will track it down later on. Leo
[O] A new org-mode release for Emacs 24.1
It seems it has been a long time since last release. Any plan to update the orgmode included in Emacs upstream? Thanks. Leo
Re: [O] org-capture does not fully clean up after C-c C-k
On 2011-06-16 15:51 +0800, Carsten Dominik wrote: Hi Leo, I am unable to reproduce this. I do get an empty line the first time, but when the empty line is already there, then there is no problem. Do you find the insertion of this one empty line a problem? - Carsten Sorry for the long delay. I can reproduce this in Emacs -q with (setq org-blank-before-new-entry '((heading))) Leo
Re: [O] org-capture does not fully clean up after C-c C-k
On 2011-07-12 07:00 +0800, Bastien wrote: [snipped 14 lines] Sorry for the long delay. I can reproduce this in Emacs -q with (setq org-blank-before-new-entry '((heading))) Please let me know if the attached patch fixes this issue. Thanks, Yes, it fixes this issue. Leo
[Orgmode] Re: how to change agenda split windows setting
On 2008-10-17 09:57 +0100, Rainer Stengele wrote: Having a new widescreen LCD I would like to have my agenda i the left window and the corresponding org file entries in the right window. By default the splitting is top and bottom. Can I change this setting by customising org or is this an emacs option? I could not find a hint in the manual. Thanks! Rainer I think this has been built in in Emacs CVS, see `split-window-preferred-function'. Cheers, -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the better alternative -- http://www.openoffice.org/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-Mode Presentation Videos
On 2008-10-17 20:30 +0100, [EMAIL PROTECTED] wrote: I sometimes wish that AUCTeX was included in the Emacs distribution. I think this is the goal. They're collecting copy assignments from developers. Sometimes this can take forever:( Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the better alternative -- http://www.openoffice.org/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How to remove the automatically generated css codes from exported HTML file?
On 2008-10-23 10:45 +0100, Carsten Dominik wrote: If you must, (setq org-export-html-style-default ) But I would recommend to simply overwrite everything you need with your own style. - Carsten Maybe the export facilities can benefit from using some kind of template engine, allowing people to design templates for different export formats. And then we can add a per file setting to choose which template to use, or even by setting a directory-local variable for all files in a 'project'. ,[ Directory-local variables ] | ** Directory-local variables can now be defined. | By default, Emacs looks in .dir-settings.el for directory-local | variables. For more information, see `set-directory-project' and | `define-project-bindings'. ` Here 'template' I mean file template like those in openoffice. Cheers, -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the better alternative -- http://www.openoffice.org/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [BUG] Completion with Mouse
Hi there, I just noticed one bug when converting a muse file to org. In a org buffer, try to complete the following: #+begin M-TAB *Completions* buffer pop up: Click mouse-2 on a completion to select it. In this buffer, type RET to select the completion near point. Possible completions are: BEGIN: BEGIN_EXAMPLE BEGIN_HTML BEGIN_LaTeX BEGIN_QUOTE BEGIN_SRC BEGIN_VERSE Let's say now I use mouse to click on BEGIN_EXAMPLE, then the org buffer is left with: #+beginBEGIN_EXAMPLE However, there is no problem when #+BEGIN is all in capital. BTW, any way to quickly insert those #+BEGIN #+END tags. Tested in org 6.14 from CVS Emacs of 2008-12-14. Cheers, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [BUG] Completion with Mouse
On 2008-12-18 16:30 +, Giovanni Ridolfi wrote: I think this is the same kind of bug I found a month ago, and Carsten[1] [1] http://lists.gnu.org/archive/html/emacs-orgmode/2008-11/msg00343.html answered: [...] yes, this is a bug, relatively hard to fix, so for now, just use the keyboard [...] Thanks for the info. Did you try the completion with the keyboard? maybe it works, please, let us know. Yes, keyboard completion works but it is still slow to type begin_exM-TAB. I have used M-/ instead. Cheers, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Windows and emacs
On 2009-01-09 05:18 +, Manish wrote: On Fri, Jan 9, 2009 at 3:48 AM, Mike Newman wrote: [snip] What I use is the EmacsW32 (http://ourcomments.org/Emacs/EmacsW32.html). This gives you recent snapshot of Emacs 23 (I use the patched version). Does tramp work well on it? I have been using it for a while. GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-12-14 on BREPNB -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Highlight current date in agenda buffer
Hi there, My friend asked about how to have the current date highlighted when in the week view of the agenda. Any ideas? Thanks, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [help] A org agenda command
On 2007-04-24 11:18 +0100, Carsten Dominik wrote: LEVEL=2/-DONE means that the search for stuck projects should consider any level 2 entry (i.e. starting with **) as a project, but should immediately exclude projects where the top headline is marked DONE. I remember we had a discussion to make LEVEL=2 respect `org-odd-levels-only' i.e. LEVEL=2 would mean headings starting with three * when org-odd-levels-only is t. However, after using this for such a long time I realise this is counter intuitive. Thus if possible please revert the change. All the best, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [help] A org agenda command
On 2009-02-04 14:22 +, Carsten Dominik wrote: On Feb 4, 2009, at 10:41 AM, Leo wrote: On 2007-04-24 11:18 +0100, Carsten Dominik wrote: LEVEL=2/-DONE means that the search for stuck projects should consider any level 2 entry (i.e. starting with **) as a project, but should immediately exclude projects where the top headline is marked DONE. I remember we had a discussion to make LEVEL=2 respect `org-odd-levels-only' i.e. LEVEL=2 would mean headings starting with three * when org-odd-levels-only is t. However, after using this for such a long time I realise this is counter intuitive. Thus if possible please revert the change. [...] Hi Leo, Hi Carsten, long time no 'see'. this is possible, but will break what people use, I am afraid. I re-read our discussion. Realising that org-odd-levels-only can be set on a per file basis, now I think it is better to keep current change. The remaining issue is to find a place to document the meaning of LEVEL in org-stuck-projects. Actually I have removed customisation of org-stuck-projects and use its default value. With the flowing of so many new features into org, I find less need to inspect stuck projects. - Carsten Best wishes, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-tab-follows-link
On 2009-02-09 11:38 +, Carsten Dominik wrote: [...] The implementation is bad and I woud like to remove this option. Did the recent survey suggest this variable is heavily used? Seems sufficient to remove it ;) - Carsten -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-install.el in Emacs probably should be removed
Hi Carsten, I just notice there is a dummy file in emacs/lisp/org. The use of this file hides problems away for example if users install org to a dir that is overshadowed by the lisp/org in emacs (this happen quite often to newbies too). Two files with the same name but different content also confuse other users. I think for users using both standalone and included org versions, the cleaner and better way is to use one of the following (load org-install t) or (require 'org-install nil t) in their own .emacs files if they want to avoid error (we can put this in the documentation). But I guess some will prefer emacs to throw an error when that org-install that does autoloads is missing. Pointing out the install procedure is only for installing standalone org package is also sufficient. Thus I propose we do away with this dummy file and keep the emacs distribution clean. Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Release 6.23
On 2009-02-20 10:23 +, Carsten Dominik wrote: I have released version 6.23 of org-mode. This is a release with some important changes, and I recommend to read the release notes carefully. Will this or its bug fix release get into 23.1? I do hope so tho. Best wishes, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Error exporting to temp buffer
Hi there, Put the following sample in a buffer *not* visiting any file and try `C-c C-e H' to get the back trace. It is reproducible in GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on BREPNB with orgmode 6.21b. Sample: *good* is /already/ very _important_. But http://www.google.com is not the right place. ,[ Backtrace ] | Debugger entered--Lisp error: (wrong-type-argument stringp nil) | file-name-nondirectory(nil) | org-export-html-preprocess((:emph-multiline t :for-html t :skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc :priority nil :footnotes t :timestamps t :archived-trees headline :select-tags (export) :exclude-tags (noexport) :add-text nil :LaTeX-fragments t)) | org-export-preprocess-string(#(*good* is /already/ very _important_. But http://www.google.com is not the\nright place. 0 1 (fontified nil :org-license-to-kill t face (bold) font-lock-multiline t invisible org-link) 1 5 (fontified nil :org-license-to-kill t face (bold) font-lock-multiline t) 5 6 (fontified nil :org-license-to-kill t face (bold) font-lock-multiline t invisible org-link mouse-face highlight keymap (keymap ... ... ... ... ...)) 6 7 (fontified nil :org-license-to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...)) 7 10 (fontified nil :org-license-to-kill t) 10 11 (fontified nil :org-license-to-kill t face (italic) font-lock-multiline t invisible org-link) 11 18 (fontified nil :org-license-to-kill t face (italic) font-lock-multiline t) 18 19 (fontified nil :org-license-to-kill t face (italic) font-lock-multiline t invisible org-link) 19 25 (fontified nil :org-license-to-kill t) 25 26 (fontified nil :org-license-to-kill t face (underline) font-lock-multiline t invisible org-link) 26 35 (fontified nil :org-license-to-kill t face (underline) font-lock-multiline t) 35 36 (fontified nil :org-license-to-kill t face (underline) font-lock-multiline t invisible org-link) 36 42 (fontified nil :org-license-to-kill t) 42 47 (fontified nil rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text) :org-license-to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...) face org-link) 47 48 (fontified nil rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text) :org-license-to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...) face org-link) 48 49 (fontified nil rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text) :org-license-to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...) face org-link) 49 63 (fontified nil rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text) :org-license-to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...) face org-link) 63 75 (fontified nil :org-license-to-kill t) 75 87 (fontified nil)) :emph-multiline t :for-html t :skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc :priority nil :footnotes t :timestamps t :archived-trees headline :select-tags (export) :exclude-tags (noexport) :add-text nil :LaTeX-fragments t) | org-export-as-html(nil nil nil *Org HTML Export*) | org-export-as-html-to-buffer(nil) | call-interactively(org-export-as-html-to-buffer) | org-export(nil) | call-interactively(org-export nil nil) ` Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Error exporting to temp buffer
On 2009-03-19 16:40 +, Carsten Dominik wrote: [...] Hi Leo, Hi Carsten, I cannot reproduce this. I can repliably reproduce it. Actually I just tried it with a fresh Emacs session. Looking at (file-name-nondirectory org-current-export-file) in org-export-html-preprocess and when an org buffer is NOT visiting any file, org-current-export-file is set to nil by org-export-as-html, thus the error occurs. Can anyone else reproduce this bug? BTW, I came across this when trying to combine Gnus+Org to blog to blogger.com. I have come up with a decent solution based on Gnus alone. So this bug is not bugging me any more. - Carsten -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Error exporting to temp buffer
On 2009-03-19 22:36 +, Nick Dokos wrote: and when I step through it, the when expression evaluates to nil, so the whole thing is skipped. So it may be some setting in Leo's setup or maybe something is missing from the fragment, that would make that expression non-nil. So my question is: Thank you for finding this. What do I have to do to make (plist-get parameters :LaTeX-fragments) Maybe org-export-with-LaTeX-fragments is the culprit. I set it to t in my setup. non-nil? -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Error exporting to temp buffer
On 2009-03-20 08:25 +, Giovanni Ridolfi wrote: [...] Leo, would you, please, try to upgrade to 6.24b [1] and report if this bug still happens? ;-) These days I tend to use whatever comes with Emacs to save time and also to help with pretest ;) -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Release 6.25
On 2009-04-01 15:12 +0100, Carsten Dominik wrote: I am releasing version 6.25 of Emacs Org-mode. It has been almost a month, and I feel that this release is really packed with good stuff, so please read the release notes carefully. Thank you, Carsten, for the excellent work. Wonder whether it may be possible to push this into Emacs 23.1. Regards, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Release 6.25
On 2009-04-01 15:43 +0100, Carsten Dominik wrote: On Apr 1, 2009, at 4:35 PM, Leo wrote: On 2009-04-01 15:12 +0100, Carsten Dominik wrote: I am releasing version 6.25 of Emacs Org-mode. It has been almost a month, and I feel that this release is really packed with good stuff, so please read the release notes carefully. Thank you, Carsten, for the excellent work. Wonder whether it may be possible to push this into Emacs 23.1. No. I have asked a few week ago, and the answer was that at this stage only bug fixes should go in. I find it hard to separate these from all the other development, so only severe bugs I fix in the Emacs version. Because of this, the one in Emacs probably receives less testing. There are also issues that I do not yet have all the copyright assignments for 6.25. - Carsten -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Patch to fix two bugs in HTML/DocBook exporters
On 2009-04-09 06:27 +0100, Baoqiu Cui wrote: level are exported as *one* list. For example, the following two lists 1. Ordered List Item 1 2. Ordered List Item 2 - Itemized List Item 1 - Itemized List Item 2 - Itemized List Item 3 This is, actually, not a bug but on purpose. List boundaries are set by indentation, and the list type is set by the first item. I prefer to keep it that way. In the same way, the actual numbers in an ordered list are ignored and the list is renumbered on export. Thanks for the explanation, Carsten! This makes perfect sense to me. No wonder I found the same problem in function `org-beginning-of-item-list'. :-) If a lot of people like to mix different list types together in the way I showed above, I would prefer that Org mode has finer support for this. But for now, I think we should keep the existing way. mixing lists is easy to do. Just use Alt + left/right to decrease/increase the item's indentation. I think a way to terminate list is quite important, particularly when embedding list inside an article. I always found it difficult to start a new paragrah after a list because when you type TAB on the first line of the new paragraph it indents it to the level that shows it is part of the last list item. How about making double blank line do that? Cheers, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Point trapped in link
Hi all, I came across this bug by accident. 1. Create a new buffer and put it in org-mode 2. Create a new heading 3. Copy a url in for example http://www.google.com/ 4. C-c C-l on the link and change the description to 'google' without the quotes. 5. Move point (I use left and right) inside the link description. You can see the point sometimes trapped in the beginning of the description, left or right not able to move it. I am running: GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-04-12 on 64-71-7-214.static.wiline.com and org 6.21b. Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Personal Finance in org-mode?
On 2009-04-13 15:50 +0100, Russell Adams wrote: Madhu, I second ledger. I've found it to be very powerful! After much use, I even wrote a CSV importer to bring in my bank statements. Now if I could only use remember-mode to hot-add ledger entries. I just installed ledger on macosx yesterday. It looks very powerful. Thanks. -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Point trapped in link
On 2009-04-15 15:52 +0100, Carsten Dominik wrote: Hi Leo, could you or someone else file a bug report with Emacs about this? I just checked, Muse has the same problem. But strangely, evaluating the following form in fundamental mode (insert (propertize 12345 'invisible t) ) does not show this problem. Thanks. - Carsten I can do this. Would it suffice just move the original bug report over? Leo. On Apr 13, 2009, at 3:24 AM, Leo wrote: Hi all, I came across this bug by accident. 1. Create a new buffer and put it in org-mode 2. Create a new heading 3. Copy a url in for example http://www.google.com/ 4. C-c C-l on the link and change the description to 'google' without the quotes. 5. Move point (I use left and right) inside the link description. You can see the point sometimes trapped in the beginning of the description, left or right not able to move it. I am running: GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-04-12 on 64-71-7-214.static.wiline.com and org 6.21b. Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. www.git-scm.com git - the one true version control system ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Point trapped in link
On 2009-04-15 15:52 +0100, Carsten Dominik wrote: Hi Leo, could you or someone else file a bug report with Emacs about this? http://permalink.gmane.org/gmane.emacs.bugs/27204 Best wishes, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Emacs 21
On 2009-04-21 13:25 +0100, Carsten Dominik wrote: Still, official Emacs 21 support will stop. I think this is more than OK. There are tons of past releases still around that runs nicely on Emacs 21. - Carsten -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-mode on sloooow computer
On 2009-04-24 12:35 +0100, Carsten Dominik wrote: With some more improvements (available now) this should get down to 1.5 seconds. Not perfect, but almost a factor of three from the original 4.35 seconds. I have to ditch org 6.21b now for the performance gained. What's really annoying is that I can on longer use the following to compile .el files. I am using GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-04-22 on neutron.local. ,[ .bash_profile ] | alias bbc='/Applications/Emacs.app/Contents/MacOS/Emacs -batch -q -no-site-file -f byte-compile-file' ` Any one got a fix? When I run 'bbc somefile.el', it does not take the file I supply and still ask me 'Byte compile file: '. Please, everybody watch out for strange behavior in the agenda, to make sure I have not messed up anything while doing the optimization. We should to profiling more often, this can apparently make a big difference. -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-mode on sloooow computer
On 2009-04-24 16:57 +0100, Nick Dokos wrote: Any one got a fix? Does replacing 'byte-compile-file' with 'batch-byte-compile' make any difference? Nick Thanks, Nick. It turned out that was a typo when I manually copied this from my old setup. Cheers, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Fast tag selection: defining multiple-key shortcutst
On 2009-04-29 01:37 +0100, Varnit Suri wrote: Hi all, I am just wondering if there 's a way to define two characters (rather than one) for the fast tag selection. Here's what I did: (setq org-tag-alist '((HOME . ?h) (FAMILY . fa) (MONEY . mo) (BILLS . bi))) So HOME can be inserted using an 'h', but FAMILY using 'fa'. I 'm trying to do this coz I have way too many tags that start with the same letter, so multiple characters are more intuitive. Any ideas? The current implementation of tag selection works well with a small number of tags. I have 6 tags myself. How many tags do you use? Remember you don't need to use the characters in the tag string. For example you can assign 0-9 for the most used ones. Another solution is to reimplement this using ido i.e. it requires users to type the whole string but uses ido to narrow down the selection quickly. Thanks, Varnit -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How to set a entry with Chinese calender?
On 2009-05-05 14:53 +0100, Wei-Wei Guo wrote: And I notice two bugs. I think it's not bugs of your package. I assume you mean without loading cal-china-plus, the follow restults still stand. Could you investigate more and report those bugs to emacs-devel? The author of calendar.el is actually an expert in this field, it is good to have him reviewing this. 1. The calculation of Chinese year is right. For example, if I born in 1982.11 of *solar* calendar and my father born in 1952.12 of *lunar* calendar. My age is calculated as 27 and my father's age is calculated as 58, which should be 57. Because my father's birthday is in the next year of *solar* calender, his age is calculated one year more. 2. Month of Chinese date is not right. Due to the conversion of http://www.nongli.com/item3/searchNL.asp, 2009.5.5 is 己丑 戊辰 庚戌, but Emacs Calender gives : Chinese date: Cycle 78, year 26 (己丑), month 4 (己巳), day 11 (庚戌) It seems it converts one month late. Best wishes, Wei-Wei Best wishes, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How to set a entry with Chinese calender?
On 2009-05-06 00:32 +0100, Wei-Wei Guo wrote: 1. The calculation of Chinese year is not right. For example, if I born in 1982.11 of *solar* calendar and my father born in 1952.12 of *lunar* calendar. My age is calculated as 27 and my father's age is calculated as 58, which should be 57. Because my father's birthday is in the next year of *solar* calender, his age is calculated one year more. This bug cannot be reproduced without loading cal-china-plus for it uses the diary-chinese-anniversary of your package. For example. %%(diary-anniversary 11 1 1982) I'm %d years old. %%(diary-chinese-anniversary 12 1 1952) Dad is %d years old. Could you give me some hints on how to present the bug without your package? How do you make calendar show the age of your father? I put %%(diary-chinese-anniversary 12 1 1952) in my diary file and on 2008.12.27 (solar calendar), it says '56 years old', isn't this correct? There are different ways of counting ages. The diff var in the diary-chinese-anniversary holds the age value. Incidentally I found a bug in diary-chinese-anniversary. Could you test the attached version? cal-china-plus.el Description: cal-china-plus.el Thanks, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How to set a entry with Chinese calender?
On 2009-05-06 02:57 +0100, Leo wrote: Those Chinese Characters became gibberish so I also posted it here http://paste.lisp.org/display/79735. -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How to set a entry with Chinese calender?
On 2009-05-06 06:27 +0100, Wei-Wei Guo wrote: [...] How do you make calendar show the age of your father? I put %%(diary-chinese-anniversary 12 1 1952) in my diary file and on 2008.12.27 (solar calendar), it says '56 years old', isn't this correct? Saturday 27 December 2008 Birthday: Dad is 56 years old. Friday 15 January 2010 Birthday: Dad is 58 years old. There is no '57 years old'. That's the bug I spotted. Should be fixed now. There are different ways of counting ages. The diff var in the diary-chinese-anniversary holds the age value. Incidentally I found a bug in diary-chinese-anniversary. Could you test the attached version? The new version cause .org very slow and shows Bad sexp at line 36 in What do you want to test? Sorry there was a typo. Fixed in http://paste.lisp.org/display/79755. Best wishes, Wei-Wei -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode