[Orgmode] Bug: org-src-lang-modes maps lisp incorrectly [6.34trans (release_6.34c.107.geb521)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Trying to source blocks for common lisp (eg lisp-mode) produces an error. The fix is trivial: replace the assoc pair '("lisp" . 'lisp-mode) in org-src-lang-modes with '("lisp" . 'lisp). We have to do this because `org-edit-src-code' wants to play smart and append -mode to whatever symbol is in that alist. In case this is not enough follows is a reproducable test-case. Put any buffer into org-mode, and put the following in , | #+BEGIN_SRC lisp | | #+END_SRC ` Put point somewhere in that block and do: M-x org-edit-src-code RET We get an error about not able to find the mode "lisp-mode-mode". Of course the proposed fix is simply replacing 'lisp-mode with 'lisp. Emacs : GNU Emacs 23.1.92.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.6) of 2010-02-09 on elegiac, modified by Debian Package: Org-mode version 6.34trans (release_6.34c.107.geb521) current state: == (setq org-export-html-final-hook '(org-inlinetask-remove-terminator) org-empty-line-terminates-plain-lists t org-log-done 'time org-toc-default-depth 2 org-export-author-info nil org-agenda-skip-scheduled-if-deadline-is-shown t org-archive-default-command 'org-archive-set-tag org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-hide-block-startup t org-special-ctrl-a/e t org-startup-align-all-tables t org-agenda-clockreport-parameter-plist '(:link t :maxlevel 4) org-default-priority 67 org-agenda-files '("~/lisp/nisp/irc-bot/tree-funcallable-class.org" "~/lisp/nisp/emacs/org/nisp-org-util.org" "~/org/todo-triage.org") org-blocker-hook '(org-block-todo-from-checkboxes org-block-todo-from-children-or-siblings-or-parent) org-tag-faces '(("gitapi" :foreground "purple")) org-src-window-setup 'other-window org-publish-timestamp-directory "~/org/.org-timestamps/" org-export-ascii-final-hook '(org-inlinetask-remove-terminator) org-agenda-window-setup 'other-frame org-hide-leading-stars t org-checklist-export-function 'org-export-as-ascii org-completion-use-ido t org-metaup-hook '(org-babel-load-in-session-maybe) org-archive-save-context-info '(time file category todo priority itags olpath ltags) org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current nisp-org-todo-updates-notify-erc) org-babel-interpreters '("sh" "emacs-lisp") org-goto-interface 'outline-path-completion org-odd-levels-only t org-agenda-start-with-log-mode t org-remember-clock-out-on-exit t org-special-ctrl-k t org-export-copy-to-kill-ring nil org-todo-setup-filter-hook '(org-choose-setup-filter) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-agenda-time-grid '((daily weekly today require-timed) "" (800 1000 1200 1400 1600 1800 2000)) org-export-time-stamp-file nil org-log-redeadline 'time org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist) ("asymptote" . asy) ("dot" . fundamental) ("lisp" . lisp-mode)) org-trigger-hook '(org-choose-keep-sensible) org-export-preprocess-hook '(org-eval-replace-snippts org-export-blocks-preprocess) org-agenda-diary-file "~/org/diary.org" org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-make-link-description-function 'nisp-org-make-link-description org-confirm-shell-link-function 'y-or-n-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-clock-persist t org-plain-list-ordered-item-terminator 41 org-todo-keywords '((sequence "TODO(t)" "DONE(d!)") (sequence "QUESTION(q!)" "ANSWERED(d!)")) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-default-notes-file "~/org/notes.org" org-use-property-inheritance '("VERSION") org-directory "~/org/" org-imenu-depth 4 org-log-reschedule 'time org-registry-file "/home/james/.emacs.d/config/org-registry.el" org-export-html-use-infojs t org-blank-before-new-entry '((hea
[Orgmode] [Buglet] issue where org-agenda always prints to PostScript "with faces"
If you tweak org-agenda-custom-commands to create a PostScript version of your agenda (for example by following this link... http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php#sec-5.4 ) ... and like me you happen to use a dark background in Emacs (set-face-background 'default "black"), you end up with PostScript files which take account of your background colour. In my case if I were to actually print my agenda on a printer, I'd probably drain it of black ink! :-) This problem appears to be because org-agenda always prints using "ps-print-buffer-with-faces". Please could a variable be added such that for awkward users like me org-mode would use "ps-print-buffer" instead. Thanks for a fantastic productivity tool! Regards, James. ___ 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
[O] Bug: doc string incorrect in org-icalendar-exclude-tags [8.3.2 (release_8.3.2-1-g115c4b @ /home/james/src/org-mode/lisp/)]
I've been trying to sort out the icalendar export bits. I've noticed the docstring of (org-icalendar-exclude-tags) states that the tag can be set with the ICAL_EXCLUDE_TAGS keyword. (it doesn't work). However in the code of (org-export-define-derived-backend), the :exclude-tags of :options-alist uses "ICALENDAR_EXCLUDE_TAGS". The does work as a file level keyword. In an org file: #+ICAL_EXCLUDE_TAGS: NOICAL * Headline to not export :NOICAL: (org-icalendar-combine-agenda-files) any dates in the headline are exported to the ics file. But instead: #+ICALENDAR_EXCLUDE_TAGS: NOICAL * Headline to not export :NOICAL: (org-icalendar-combine-agenda-files) does not export any dates in the headline to the ics file. Could the docstring be updated to say "ICALENDAR_EXCLUDE_TAGS"? It may save confusion for the next person looking at this. Thanks. Oh, and I realize I'm not on the HEAD, but ~/src/org-mode (stable) $ git diff origin/HEAD -- lisp/ox-icalendar.el ~/src/org-mode (stable) $ Emacs : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.16.4) of 2015-06-28 on trouble, modified by Debian Package: Org-mode version 8.3.2 (release_8.3.2-1-g115c4b @ /home/james/src/org-mode/lisp/) Sent with my mu4e
Re: [Orgmode] org-mode breaks buffer indexing in sclang-mode
On Mon, Oct 4, 2010 at 4:42 PM, Carsten Dominik wrote: > Hi James, > > does this only happen when Org-mode opens the calendar, > or also when you use M-x calendar? > Ah... I misdiagnosed it. Opening the calendar doesn't cause the problem. It's after choosing the date to insert as a timestamp or schedule/deadline. Then org-mode hides the *Calendar* buffer and it's at that point that the sclang buffers get messed up. (Or maybe it's when the calendar buf inserts the timestamp into the org-mode buffer - those are indistinguishable from the user's point of view.) Couldn't reproduce it with M-x calendar, which doesn't insert a timestamp AFAICS. That tipped me off... so I retested this way: 1. Open scd file (sclang-mode). Run "Document.current" -- reports "a ScelDocument." 2. Open org-mode file. 3. C-c ., then C-g (no timestamp insertion). 4. C-x b to the sclang mode doc. Run "Document.current" again -- reports "a ScelDocument." 5. C-x b to org-mode. C-c . and choose a date. 6. Step 4 again, but now "Document.current" replies "nil." Bingo! So it breaks when clicking on a date in *Calendar* to add the timestamp. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ 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] Narrow table cells in Aquamacs 1.9
I was just trying to use narrow table cells. After editing a cell (C-c `), C-c C-c fails with an error. org-table-finish-edit-field: Wrong type argument: window-live-p, nil Known issue? Or maybe I just need to wait until I get the bad RAM chip fix in my Linux machine so that I can use a real Emacs. James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ 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] Option to prevent auto-insertion of blank lines by M-return?
Sorry if this is an obvious question, but I'm not having much luck finding the right org-mode customization options (due to the fact that there are so many of them, in combination with my relative noobness). Here's the behavior I would like to change: I have outline headings with a blank line in between, e.g. *** MIDI class 2 <2010-10-14 Thu 08:45> *** MIDI class 3 <2010-10-21 Thu 08:45> And I want to add more headings underneath MIDI class 2. So I put the cursor at the end of the "MIDI class 2" line and hit M-return. Then I get this: *** MIDI class 2 <2010-10-14 Thu 08:45> *** *** MIDI class 3 <2010-10-21 Thu 08:45> But I would rather get this: *** MIDI class 2 <2010-10-14 Thu 08:45> *** *** MIDI class 3 <2010-10-21 Thu 08:45> I sort of understand that it's replicating the blank space between headings, but I would rather put in the blank space if I want it, instead of the tool assuming that I want it and then forcing me to take it out. Hoping for a customize option... thanks! James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Option to prevent auto-insertion of blank lines by M-return?
Perfect! Thanks. In case anyone is searching list archives... the answer is: org-blank-before-new-entry. James PS Org-mode is *saving my bacon* on a big multimedia composition project due for performance in about 2 weeks. I might have been able to keep track of the details with something else, but the human-readable file format of org-mode is a winner for me. So thanks for the very excellent work on a deep, pleasant-to-use tool! On Fri, Oct 8, 2010 at 5:35 PM, Carsten Dominik wrote: > Hi James, > > this is a FAQ: > > > http://orgmode.org/worg/org-faq.php#blank-line-after-headlines-and-list-items > > - Carsten > > > On Oct 8, 2010, at 11:29 AM, James Harkins wrote: > > Sorry if this is an obvious question, but I'm not having much luck finding >> the right org-mode customization options (due to the fact that there are so >> many of them, in combination with my relative noobness). >> >> Here's the behavior I would like to change: I have outline headings with a >> blank line in between, e.g. >> >> *** MIDI class 2 <2010-10-14 Thu 08:45> >> >> *** MIDI class 3 <2010-10-21 Thu 08:45> >> >> And I want to add more headings underneath MIDI class 2. So I put the >> cursor at the end of the "MIDI class 2" line and hit M-return. Then I get >> this: >> >> *** MIDI class 2 <2010-10-14 Thu 08:45> >> >> *** >> >> *** MIDI class 3 <2010-10-21 Thu 08:45> >> >> But I would rather get this: >> >> *** MIDI class 2 <2010-10-14 Thu 08:45> >> *** >> >> *** MIDI class 3 <2010-10-21 Thu 08:45> >> >> I sort of understand that it's replicating the blank space between >> headings, but I would rather put in the blank space if I want it, instead of >> the tool assuming that I want it and then forcing me to take it out. >> >> Hoping for a customize option... thanks! >> James >> >> >> -- >> James Harkins /// dewdrop world >> jamshar...@dewdrop-world.net >> http://www.dewdrop-world.net >> >> "Come said the Muse, >> Sing me a song no poet has yet chanted, >> Sing me the universal." -- Whitman >> >> blog: http://www.dewdrop-world.net/words >> audio clips: http://www.dewdrop-world.net/audio >> more audio: http://soundcloud.com/dewdrop_world/tracks >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > - Carsten > > > > -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ 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] Column view and subtask overview interaction
I'm running a pull from yesterday and have noticed something a bit strange. I haven't been using column view with a subtask overview until today so I do not know if this particular usage had been working. I have a simple list of tasks: ** Application Discovery [0/5] *** STARTED Service Catalog Definition :Barbara: *** TODO Application Inventory :Brian:Chris: *** TODO Policies :Barbara: *** STARTED Projects In Flight :All: *** TODO Future Projects :All: Now, if I go into column view to do some updates such as change one keyword such as a TODO to DONE, when I exit column view, the parent heading is wiped out and replaced as below: ** [1/5[1/5[1/5[1/5[1/5[1/5]5] *** STARTED Service Catalog Definition :Barbara: *** DONE Application Inventory :Brian:Chris: - State "DONE" from "TODO" [2010-12-02 Thu 22:52] *** TODO Policies :Barbara: *** STARTED Projects In Flight :All: *** TODO Future Projects :All: When I first ran into this earlier today I had manipulated about 30 subtasks clobbering 5 different parent tasks before I noticed when I exited column view. I think I'm more frustrated by not knowing enough to help find a fix. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug in column view with cookie on item line
On 1/4/11 10:33 AM, Bastien wrote: Indraneel Majumdar writes: With [%] or [/] set to update, the item line gets mangled as soon as TODO is changed to DONE from column view. Here's what it looks like: ** TODO test 1 [/] :PROPERTIES: :Effort: 1 :END: *** T[0/1[0/1[0/1[0/1[0/1[1/1]]<<< MANGLED AGAIN (line was TODO test 1 [/]) Kinda scary -- are you still experiencing this? "With [%] or [/] set to update" : what do you mean? Thanks, I think this is the same issue I mentioned last month and Bernt Hansen recognized as being the case since release 4.76: http://thread.gmane.org/gmane.emacs.orgmode/34461/focus=34517 Unfortunately, my todo of learning more to delve into figuring out a patch is still a todo. ___ 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] Bug: Scatter doubles up on SCHEDULED items [7.4]
Hi, I love the idea of the new bulk scatter command, but it's giving me a problem. When used, it adds an extra SCHEDULED item to entries rather than change the current one. Maybe this is expected behaviour and I just don't "get it", but I don't think so. If I can give any more information that might be useful, I'm happy to. Thanks for org and thanks in advance for any help with this! Regards, James Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0) of 2009-09-27 on palmer, modified by Debian Package: Org-mode version 7.4 current state: == (setq org-log-done 'time org-clock-in-switch-to-state "STARTED" org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-custom-commands '(("H" "Personal/home list" tags "@HOME|PERSONAL") ("D" "Daily Action List" ((agenda "" ((org-agenda-ndays 1) (org-agenda-sorting-strategy (quote ((agenda time-up priority-down tag-up (org-deadline-warning-days 2)) ) ) ) ("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil) (org-agenda-todo-ignore-with-date nil)) ) ("w" "Tasks waiting on something" todo "WAITING" nil) ("A" "Tasks to be Archived" todo "DONE|CANCELLED|DELEGATED" nil) ("r" "Weekly Review" ((agenda "" ((org-agenda-ndays 7))) (tags "CATEGORY=\"Project\"") (tags "CATEGORY=\"Someday\"") (todo "WAITING")) ) ("j" "Journal" tags "CATEGORY=\"Journal\"") ("S" "Someday" tags "CATEGORY=\"Someday\"")) org-agenda-files "~/Documents/gtd/lists/agendas" org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-tags-column -120 org-habit-show-habits-only-for-today nil org-babel-load-languages '((R . t) (ditaa . t) (dot . t) (emacs-lisp . t) (gnuplot . t) (haskell) (ocaml) (python . t) (ruby) (screen) (sh . t) (sql) (sqlite . t)) org-clock-into-drawer "CLOCK" org-agenda-entry-text-exclude-regexps '(".* - State.*" "Added:.*$" "\\[\\[.*\\]\\]") org-fontify-whole-heading-line t org-metaup-hook '(org-babel-load-in-session-maybe) org-capture-templates '(("t" "Todo" entry (file+headline "~/Documents/gtd/lists/gtd.org" "Tasks") "* TODO %? %^G\n Added: %U\n SCHEDULED: %t\n %i") ("w" "Waiting" entry (file+headline "~/Documents/gtd/lists/gtd.org" "Waiting") "* WAITING %?\nAdded: %U\n %i") ("j" "Journal" entry (file+headline "~/Documents/gtd/lists/journal.org" "Journal") "* %U %?:JOURNAL:\n\n") ("T" "Todo (Linked)" entry (file+headline "~/Documents/gtd/lists/gtd.org" "Tasks") "* TODO %? %^G\n Added: %U\n SCHEDULED: %t\n %i\n %a") ("W" "Waiting (Linked)" entry (file+headline "~/Documents/gtd/lists/gtd.org" "Waiting") "* WAITING %?\nAdded: %U\n %i\n %a") ("J" "Journal (Linked)" entry (file+headline "~/Documents/gtd/lists/journal.org" "Journal") "* %U %?:JOURNAL:\n\n %i\n %a") ("s" "Someday..." entry (file+headline "~/Document
[Orgmode] Get weekly agenda for the current file only, NOT from the agenda list
(Yay! I get to subscribe to yet another mailing list for [probably] a simple question.) (Yay! http://orgmode.org/emacs-orgmode@gnu.org is broken for me - 404 error.) OK... I'm falling in love with org-mode but I would like to run C-c a a and have it make an agenda for only the current buffer. One of the files I use routinely is on removable storage and I don't want to add it to the agenda list. I looked at the FAQ - no answer. Documentation on custom agenda commands is too dense for me to parse through just now (I'm under some tight deadlines). Hoping there's a quick, easy way to do it. Thanks! James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Get weekly agenda for the current file only, NOT from the agenda list
Thanks everyone for the fast response. On 9/10/10 4:42 PM, Manish wrote: On Fri, Sep 10, 2010 at 1:13 PM, James Harkins wrote: (Yay! I get to subscribe to yet another mailing list for [probably] a simple question.) (Yay! http://orgmode.org/emacs-orgmode@gnu.org is broken for me - 404 error.) Eh? Wheres is that supposed to point? From http://orgmode.org/: --- Mailing list There is a mailing list for discussion about org-mode. * Subscribe to it at the web interface. * Directly send mail to it. If you are not subscribed, a moderator will look at the message before passing it through to the list. --- The broken link I posted is "Directly send mail to it." (Hence small annoyance about having no option but to subscribe when I already get a ton of messages from mailing lists.) and this great tutorial at http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php is a better place to get started with custom agenda commands than the manual. Thanks for the pointers! I know well about the challenges of open source documentation... :-) James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-mode breaks buffer indexing in sclang-mode
As I said before, I'm really enjoying org-mode. I love that I can keep all my semester's teaching data in one text file and zoom in right to where I want quickly. But, today I found a not-good interaction between it and the main programming mode that I use in Emacs (sclang-mode, an interactive front end for the supercollider* audio programming language). Supercollider keeps objects internally for code documents. These are connected to Emacs buffers. The sclang-mode lisp code assigns an integer index to buffers that supercollider is supposed to know about, and passes those indices into the sc interpreter. When I run sclang-mode on its own, this is all totally stable. It's also stable if I have an org-mode buffer open and I'm editing only. As soon as org-mode opens a calendar buffer, the sclang interpreter no longer knows about its Document buffers -- i.e., when in a buffer that's been loaded from disk, the sc code "Document.current.path" should return the full path to the file, but after opening the calendar, Document.current returns 'nil' and .path fails with an error. This could happen if Emacs tells sclang that the buffer closed (but the buffer is still open). This is consistent behavior that I can reproduce on-demand, both in Aquamacs 1.9 (OSX) and Emacs 23 on Ubuntu. Opening an agenda view does not trigger the problem. It seems to be just the calendar. Why would opening a calendar buffer to choose a date mess around with other modes' buffers? Not a major, major problem for me but it seems something fishy is going on and I thought I would report it. James * http://supercollider.sourceforge.net -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ 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] would take more than an org-mode strip-down.
by 1p, I saved the task list for the catering event this evening in my dropbox. Look under documents, Jim’s stuff." You see where this is going. An org-mode text document is just too flimsy to stand alone in the sea of files on a computer. That’s why evernote is successful-it’s a more orderly place for scraps. People used to muck up folders and drag stuff to their desktop with the same caliber of content. If you held your desktop as sacred, or your Emacs platform, what then happens when these other “temporary” odds and ends nonetheless compete with your focus? 5) I don’t subscribe to the notion that all ideas begin to take form through an Outline. Outlines were something pounded into lots of heads as kids, and they work for some and not for others. To me, they are far too linear of an invention to trust with germinating ideas and projects. My outline skills are epically good, but I still don’t find the outline as the key tool for repurposing and leveraging divergent ideas (or for note-taking for that matter). And again, with an awareness management system like org-mode, how would you effectively create an Outline for Everything? Would that be any easier to navigate than the index card that I made just for today in my back pocket? Then to play the provocateur, if I can’t create an Outline for Everything how many little baskets of Anythings do I want to enforce in my life? Or should I just start with my work? (then what happens to the rest of my life? Should I use refrigerator magnets?) Where do I put these separate Outlines if I can’t look in the same place at any time for them? How do they fit in with each other? The mobile implementation of org-mode thus far further confuses the matter-it places these divergent files in a file browser. How does that actually help me work the system? What about a front end? Perhaps some instruction on bridging the free-association, brain storming, linear thinking, mind-mapping, UML, media files and inspiration, concepts directly into an Org-mode file would be of help. If I understood org-mode, I might even be the person to do it. Many ideas will never see a formal outline first (even if the concept of an outline latently exists)-only my software design documents or other specification sheets would show through with such formality. Please tell me if and where these points will be addressed, as their a slim chance of my renavigating to the live thread where I found your email (see point 1). Hope this message is in the right hands. I’m incredibly grateful for this line of communication and for the work you are doing, and I want to make this work. James Levine-East Village, NYC
Re: [O] would take more than an org-mode strip-down.
I’ll go on leap of faith that the email I’ve been provided actually contributes to the same thread I emailed to earlier. Please everyone: thank you for looking out. This is clearly a thoughtful and supportive community. You can not deny, however, that even the design of this forum is but one example of how the Emacs community maintains its exclusivity. Own up to it. If there’s no problem, then don’t fix it. But for those who are following the statements on comparing org-mode to commercial substitutes like Taskpaper and see this as an outcome of people making less-informed choices, I hope I can keep your attention. Once I know which way to point my eyes, I promise I will fall in line. Please take a step back folks, there’s an implied objective that I’m making which I’ll state more explicitly: In order for org-mode to be attractive as an alternative to popular self-help like GTD, Covey and the market of task managers both digital and paper that exist, this community would need to take all this extensive documentation and package it. Do not confuse content with transparency. People don’t even read this much before electing their President. Should open-source software not concern itself with good bullet points? Does this imply that I’m not appreciative of the work? There’s an opportunity cost with finding the time for even this thread, which I’m hoping we can agree should not be a barrier of entry for those who are simply interested in trying org-mode. As it stands, however, just trying org-mode takes lots of reading if just to install correctly. That’s all I’m saying. Text is but one way that people learn. If you’re documenting sofware, it leans towards rational, logical, and linear thinking. Some people require a full-picture model first seeing things from many angles. Other’s prefer trial and error, and others, still, enjoy hypotheticals. People can adopt different strategies along the way. But to insist on only one method of learning and sharing, while being concerned that you’re not meeting a larger audience is tantamount to calling the rest of the class stupid, or simply a manner of dishonesty with one’s own motivations. Maybe what would be helpful is some bridge instruction: “Graduating from Taskpaper: so you’re ready to try org-mode. What to expect:” I do find that if I have an orientation point, even if it wasn’t the best decision in the first place, I have a better reference as to the changes I would envision and what the value of future options would be. cheers James On Sep 28, 2011, at 10:18 AM, Jambunathan K wrote: James > Greetings, > > As an expert end-user but outside the computer science field, I’ve > felt there to be a high cost of entry for working in org-mode. This is another perfectly practical way to address the problem that you are contending to with. https://lists.gnu.org/archive/html/emacs-orgmode/2011-04/msg00173.html Jambunathan K.
Re: [O] would take more than an org-mode strip-down.
Tis true. Just like Wordpress and other terrific open resources: just because you implement them doesn’t mean you’re the type to do the tinkering. People make a living off building websites (I daresay, you could make a career of fixing the screw-ups of people embarking in WP who think that means they’re supposed to do everything themselves), so what’s the ethical ambiguity in earning a living from setting up management systems for people and institutions, even if you’re using open-source material? Just wish I was savvy enough to be on par with the current implementers. J On Sep 28, 2011, at 10:18 AM, Jambunathan K wrote: James > Greetings, > > As an expert end-user but outside the computer science field, I’ve > felt there to be a high cost of entry for working in org-mode. This is another perfectly practical way to address the problem that you are contending to with. https://lists.gnu.org/archive/html/emacs-orgmode/2011-04/msg00173.html Jambunathan K.
[O] how to show deadlines in global to-do list?
Hi, Apologies if this is a common question -- I did do some google searching, but didn't find a straightforward answer and the agenda options are too complex for me to figure out quickly -- I'm too busy to devote a couple of hours figuring out the right way. I like the out-of-the-box to-do list, except one thing: I would like to see the items' deadlines. The weekly agenda view shows the deadlines, but I need a view where I can see *only* to-do items and their deadlines. I read in the manual about creating custom agenda views, and I see a lot about defining custom searches, but it isn't obvious (to me) how to customize the display of an existing search. I also checked M-x customize-group for agenda options, to do display options and line format, but I don't see anything self-evident. (I don't want to make a custom time-grid view searching only todos: I want the todos displayed in *priority* order, just, if there's a deadline, show it.) I'm quite busy and I have approximately 5 more minutes to devote to this, so if somebody could send me a simple way to add deadlines to the to-do list, I'd be much obliged. Thanks. James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] how to show deadlines in global to-do list?
At Fri, 02 Dec 2011 12:01:05 -0500, emacs-orgmode-requ...@gnu.org wrote: > Date: Fri, 2 Dec 2011 03:01:36 + (UTC) > From: Herbert Sitz > To: emacs-orgmode@gnu.org > Subject: Re: [O] how to show deadlines in global to-do list? > > James Harkins gmail.com> writes: > > > I like the out-of-the-box to-do list, except one thing: I would like > > to see the items' deadlines. The weekly agenda view shows the > > deadlines, but I need a view where I can see *only* to-do items and > > their deadlines. > > > Here is one way: > > Include this line in your org-file's config lines, or just stick it in if you > don't have config-line block: > > #+COLUMNS: %45ITEM %18DEADLINE ... snip Thanks, that's very helpful. It means I can focus my documentation searches on a couple of options rather than several dozen :) -- now that I know that to-do + column view is a good way (if not the best way). James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] how to show deadlines in global to-do list?
At Fri, 02 Dec 2011 12:01:05 -0500, emacs-orgmode-requ...@gnu.org wrote: > Date: Fri, 2 Dec 2011 03:01:36 + (UTC) > From: Herbert Sitz > To: emacs-orgmode@gnu.org > Subject: Re: [O] how to show deadlines in global to-do list? > > James Harkins gmail.com> writes: > > > I like the out-of-the-box to-do list, except one thing: I would like > > to see the items' deadlines. The weekly agenda view shows the > > deadlines, but I need a view where I can see *only* to-do items and > > their deadlines. > > > Here is one way: > > Include this line in your org-file's config lines, or just stick it in if you > don't have config-line block: > > #+COLUMNS: %45ITEM %18DEADLINE ... snip Okay! This is great. Poking around orgmode's info docs turned up the variable org-columns-default-format. Supposedly the variable can be customized, but M-x customize-apropos doesn't find it. In any case: (setq org-columns-default-format "%45ITEM %18DEADLINE") in my .emacs forces the to-do column list to include the deadline, if available, with no #+COLUMNS line per file. That's good enough for now: C-a < t C-c C-x C-c -- and I know sometime later, when I have a little more time, I can try to crack the custom-search syntax. Thanks! I doubt I would've found my way to column view so quickly on my own. James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] org-babel ocaml List append problems
I have just discovered org-babel supports ocaml and I've just started to learn it. My problem is when appending two lists together, when run through org-babel returns a error message. I would try and run this code [3;2;3] @ [3;2;3;4;5];; and get a error message saying "Invalid function: 3" Is there a solution to this as the code should work? James
Re: [O] org-babel ocaml List append problems
I ran the same code with C-c C-c and the result was the same #+begin_src ocaml [3;2;3] @ [3;2;3;4;5];; #+end_src #+results: | 3 | 2 | 3 | 3 | 2 | 3 | 4 | 5 | Thank you James On 6 May 2011 08:45, Eric Schulte wrote: > Hi James, > > I get the following... > > #+begin_src ocaml > [3;2;3] @ [3;2;3;4;5];; > #+end_src > > #+results: > | 3 | 2 | 3 | 3 | 2 | 3 | 4 | 5 | > > I recently (in the last month) pushed some changes up to the Org-mode > git repository which fix result handling for ocaml. Please try with the > latest version of Org-mode from git, and if the problem persists send > along a minimal example sufficient to reproduce the problem. > > Thanks -- Eric > > James Hurford writes: > >> I have just discovered org-babel supports ocaml and I've just started to >> learn it. My problem is when appending two lists together, when run >> through org-babel returns a error message. I would try and run this >> code >> >> [3;2;3] @ [3;2;3;4;5];; >> >> and get a error message saying >> >> "Invalid function: 3" >> >> Is there a solution to this as the code should work? >> >> James >> >> >> >> > > -- > Eric Schulte > http://cs.unm.edu/~eschulte/ > -- James Hurford terra...@gmail.com There are two ways of constructing a software design: one way is to make it so simple that there are obviously no deficiencies; the other is to make it so complicated that there are no obvious deficiencies. -- C.A.R. Hoare
[O] how i pass output of one codeblock as iinput of another codeblock without manual copy paste
Hi, I have been using code blocks with the following way to pass one's output to the other's input(or input variable). You can notice that I am manually copying/pasting the contents of "RESULTS" and create a table with a name "my_table". Now, is there anyway I can do this passing the output automatically without manual copy/paste? Thanks (using orgmode 7.8) #+srcname: code1 #+begin_src sh :exports code :results value table Some codes here #+end_src #+RESULTS: |Good results| #+tblname: my_table ### this is copied from the previous results manually |Good results| #+call: transpose(table=my_table) #+results: transpose(table=my_table) |Good results Processed by transpose|
Re: [O] how i pass output of one codeblock as iinput of another codeblock without manual copy paste
Thank you, Tom. It works like a charm! Now, I will read the document one more time very carefully and throughly. James On Mon, Jul 2, 2012 at 7:25 PM, Thomas S. Dye wrote: > James Kang writes: > > > Hi, > > > > I have been using code blocks with the following way to pass one's > > output to the other's input(or input variable). > > You can notice that I am manually copying/pasting the contents of > > "RESULTS" and create a table with a name "my_table". > > Now, is there anyway I can do this passing the output automatically > > without manual copy/paste? > > > > Thanks > > (using orgmode 7.8) > > > > #+srcname: code1 > > #+begin_src sh :exports code :results value table > > Some codes here > > #+end_src > > > > #+RESULTS: > > |Good results| > > #+tblname: my_table ### this is copied from the previous results > manually > > |Good results| > > #+call: transpose(table=my_table) > > > > #+results: transpose(table=my_table) > > |Good results Processed by transpose| > Aloha James, > > The Org mode manual should answer your question: > > http://orgmode.org/manual/var.html#var > > You'll probably want to use #+name: code1 rather than #+srcname: code1 > > Once you've done that, then #+call: transpose(table=code1) ought to > work, if the Library of Babel is loaded or you have otherwise defined > transpose. > > All the best, > Tom > > -- > Thomas S. Dye > http://www.tsdye.com >
[O] MobileOrg on an Android tablet?
Is anyone using MobileOrg for android on a tablet? More specific question -- is the android version just a phone app that will get blown up onto the tablet screen, or will it use the extra screen space on a tablet? Thanks, James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] mobile-org, webdav, can't push (password not accepted)
Hi, I need a little help with mobile-org and webdav. (I need to use webdav because I live year-round in China, and the last time I tried, dropbox was not accessible from the mainland. In any case, I prefer to keep the data local.) I've set up the webdav server following the instructions here: http://www.howtoforge.com/how-to-set-up-webdav-with-apache2-on-ubuntu-10.04 This guide suggests two tests: connecting to webdav at the command line using cadaver, and using "connect to server" in Ubuntu's nautilus (Ubuntu 12.04). In both of those tests, I can authenticate successfully to the server. In Emacs, I made sure the org files I want to sync are under org-directory, and I think I set up the rest okay according to: http://orgmode.org/worg/org-faq.html#mobileorg_webdav Org Mobile Files: Hide Value [X] org-agenda-files [ ] org-agenda-text-search-extra-files State: STANDARD. Files to be staged for MobileOrg. More Org Mobile Directory: Hide Value /scpc:hjhmbrg@127.0.0.1:org/webdav/ State: SAVED and set. The WebDAV directory where the interaction with the mobile takes place. Org Mobile Inbox For Pull: Hide Value ~/Documents/mobileorg/from-mobile.org State: SAVED and set. But pushing from orgmode refuses to accept the password. I know I'm typing in the correct password because it works with cadaver and "connect server." I also tried the staging approach. Same problem. The org files are staged successfully. Then there's a pop-up window for the OpenSSH password, but again, if I type the exact same password I used with "sudo htpasswd," it fails to authenticate. Note again that it is *not* a general webdav problem -- I can authenticate by other methods, but whatever org is doing to log in, it isn't working. Any ideas? hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] MobileOrg on an Android tablet?
> From: Luis Anaya > > Is anyone using MobileOrg for android on a tablet? > > I am... Vizio table running Honeycomb. Cool... I'm almost running it. Just got an Asus transformer tab. I posted a question separately about push problems :-( so I'm not there yet. > It is the android version a phone app. > In the case of mobileorg on Honeycomb, you get more area for text if > you choose to. It works ok. Keep in mind that you're organizing your > life in plain text :) Of course :-) I had read an article in pc mag about how awfully android tablet apps use screen space, which got me thinking. Now that I have one, it's not such a big deal as that guy was whining about. Looking forward to getting it all configured! James
Re: [O] mobile-org, webdav, can't push (password not accepted)
At Sat, 14 Jul 2012 12:05:16 -0400, James Harkins wrote: > > Hi, I need a little help with mobile-org and webdav. (I need to use webdav > because I live year-round in China, and the last time I tried, dropbox was > not accessible from the mainland. In any case, I prefer to keep the data > local.) OK... For testing purposes, I decided to start off with dropbox. I can switch to webdav later (but my return to China is in about 3.5 weeks, so the clock is ticking -- the original question in this thread still needs to be solved). I was able to push to dropbox, and sync on my tablet. Some issues -- - I can't find an option within MobileOrg on the tablet to look at an agenda-style view. Does it exist? (This is for android.) - So I thought, okay, how about synchronizing to the tablet's calendar? Unfortunately, it seems that MobileOrg ignores timestamps in item headlines. The item has to have either a scheduled time or a deadline. So I guess I will need to enter redundant dates -- once in the headline for C-c a, and again using C-c C-s. Is that correct, or a bug? So... interesting... a bit less than I hoped. But orgmode itself is so much better than anything else I've used, it's worth trying to make it work. Thanks, James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] mobile-org, webdav, can't push (password not accepted)
At Sat, 14 Jul 2012 18:47:33 -0400, James Harkins wrote: > - So I thought, okay, how about synchronizing to the tablet's calendar? > Unfortunately, it seems that MobileOrg ignores timestamps in item headlines. > The item has to have either a scheduled time or a deadline. So I guess I will > need to enter redundant dates -- once in the headline for C-c a, and again > using C-c C-s. Is that correct, or a bug? Oops, sent too soon... Redundant dates are presented redundantly in emacs' agenda view! So I'll have to switch my habit from C-c . to C-c C-s. That's not so bad... never mind :) hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Year or Month Agenda view without empty days
If I set up a custom agenda command for 30 days, I get stuff like this: Month-agenda (W28-W33): Sunday 15 July 2012 Monday 16 July 2012 W29 Tuesday17 July 2012 Wednesday 18 July 2012 Thursday 19 July 2012 agenda_main:12:00.. Scheduled: Sushi then Blueberry fest :Trip2012:: The problem is, in MobileOrg, I see a list of days first, no indication which days have anything in them. So I would like to have this agenda view include only days with items in them: Month-agenda (W28-W33): Thursday 19 July 2012 agenda_main:12:00.. Scheduled: Sushi then Blueberry fest :Trip2012:: *Maybe* include "Monday 16 July 2012 W29" for the week number. Then in M-org, I would know if I expand a day, that there's something inside. Possible? The "customize" interface reveals no settings that would seem to apply. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] mobile-org, webdav, can't push (password not accepted)
At Sat, 14 Jul 2012 12:05:16 -0400, James Harkins wrote: > > Hi, I need a little help with mobile-org and webdav. (I need to use webdav > because I live year-round in China, and the last time I tried, dropbox was > not accessible from the mainland. In any case, I prefer to keep the data > local.) Okay... the original question isn't "solved" (webdav server is still not working) but I did just discover that MobileOrg for android supports Ubuntu One as an alternative to dropbox. I don't see any coverage online about that service being blocked in China (whereas there are tons of stories about dropbox), so I guess it's going to be okay. (If not, that would cause a bit of panic as I look for an alternative...) It would be worth an update to the manual to list the other sync options. "Dropbox or WebDAV" sent me on a wild goose chase. James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Year or Month Agenda view without empty days
At Sun, 15 Jul 2012 12:38:03 -0400, James Harkins wrote: > So I would like to have this agenda view include only days with items in them: > > Month-agenda (W28-W33): > Thursday 19 July 2012 > agenda_main:12:00.. Scheduled: Sushi then Blueberry fest > :Trip2012:: Idea: I guess I can use org-finalize-agenda-hook. The function would be something like (pseudocode): (if (the buffer's first word is "month" or "year") (do a regexp-replace changing ^\(\(Sun\|Mond\|Tue\|Wed\|Thu\|Fri\|Sat\).* \)*\(Sun\|Mond\|Tue\|Wed\|Thu\|Fri\|Sat\) to \3 )) Maybe I'm barking up the wrong tree -- if so, somebody stop me :) -- but it seems pretty straightforward, apart from learning enough emacs-lisp functions to do this. That shouldn't be too much time, but not today (other problems to beat my head against). I'll write back if I get stuck. James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] MobileOrg and tags
Been fiddling around with an issue that I noticed in MobileOrg for android... but I just noticed something strange that makes me think it's an issue in org-mode itself. The issue reveals itself when using MobileOrg to edit a tagged node. Instead of the actual tags, MobileOrg shows "#+DRAWERS::" (as many times as there are tags for that item). Then this gets written back during org-mobile-pull. What I noticed is this, in index.org: #+TAGS: #+DRAWERS: PROPERTIES CLOCK LOGBOOK So, I guess, really two issues: - MobileOrg parses the absence of anything after "TAGS" as undifferentiated white space, and assumes that #+DRAWERS: is the name of a valid tag. - Orgmode doesn't populate the list of tags based on the tags that are actually used in the source files. So my questions are: - Where are the #+TAGS: supposed to come from? Only from org-tag-alist? If so, that's a bit of a bother. I don't know in advance what tags I will need. I'd rather not have to customize the variable every time I introduce a new tag. - If my guess is right, is it a reasonable enhancement to have org-mobile-push append the tags found in the files onto what is already there in org-tag-alist? Thanks, James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Updating org from git repository
I have done this: cd ~/share/org-mode.git git checkout release_7.8.11 git checkout -b rel7.8.11 make make install I've already set up a ton of orgmode stuff in ~/.emacs, but Emacs was still finding the old org version. So I added: (add-to-list 'load-path "/home/dlm/share/org-mode.git/lisp") Now, when I reload orgmode, the minibuffer correctly shows "Org-mode version 7.8.11 (release_7.8.11 @ /home/dlm/share/org-mode.git/lisp/)" but... Export to PDF dies with: "org-version: Symbol's function definition is void: org-release" How do I complete the installation? hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Updating org from git repository
Achim Gratz nexgo.de> writes: > Suvayu Ali writes: > > See the output of "make help". The above is not the prescribed way to do > > it. If you want the old make behaviour, you can do "make oldorg && make > > install". > > No, he's using the latest release version of Org, which means the old > Makefile (if this was really his intention I#d recommend to at least > check out maint). For your suggestion to work he'd need to switch to > the master branch. Indeed, "make help" just tells me to run "make install." So, how do I solve the problem with org-version? I use PDF export a lot during the school year. hjh
Re: [O] Updating org from git repository
At Tue, 17 Jul 2012 17:37:09 -0400, Mehul Sanghvi wrote: > Did you have Emacs up and running already ? Did you restart Emacs ? Yes. I've even logged out and logged back in (for a separate reason). > Did you do M-x org-reload ? Quoting myself: ~~ Now, when I reload orgmode, the minibuffer correctly shows "Org-mode version 7.8.11 (release_7.8.11 @ /home/dlm/share/org-mode.git/lisp/)" ~~ The problem persists. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Updating org from git repository
Achim Gratz NexGo.DE> writes: > James Harkins gmail.com> writes: > > So, how do I solve the problem with org-version? > > I already sent an answer to your original question, but somehow that didn't make > it to the list: most likely you've missed a "(require 'org-install)" in your > startup sequence. That did it. Thanks. hjh
Re: [O] MobileOrg and tags
At Mon, 16 Jul 2012 22:34:11 -0400, James Harkins wrote: > > Been fiddling around with an issue that I noticed in MobileOrg for android... > but I just noticed something strange that makes me think it's an issue in > org-mode itself. ... snip > - Where are the #+TAGS: supposed to come from? Only from org-tag-alist? If > so, that's a bit of a bother. I don't know in advance what tags I will need. > I'd rather not have to customize the variable every time I introduce a new > tag. Following up on my question about transmitting tags over to MobileOrg -- the question being how to make sure MobileOrg knows about the existing tags, so that it's possible to edit tagged nodes without breaking the tags. I found a reference to a function, org-global-tags-completion-table, that would collect all of the tags currently being used. So, as an experiment, I made a small change to org-mobile.el [1]. And, magically, in index.org, now I get: #+TAGS: Bug FarShore Hadron Hard Lament lily Lilypond. And on my tablet, editing a node shows the correct tags (no more #+DRAWERS::) and, tapping on a tag brings up a full, correct list of tags. Great! IMO, what a typical user would expect. Obviously this is a hack, and I am 1/ not sophisticated enough with lisp and 2/ not familiar enough with the orgmode codebase to implement a real solution. I guess it would be something like a customization variable to determine whether or not to concatenate the tag completion table onto org-tag-alist-for-agenda, and then a conditional in the spot that I changed. If no objection, I'll add a feature request (if I don't find an existing one). hjh [1] Diff vs. release_7.8.11 diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 946e821..5644a05 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -430,7 +430,8 @@ agenda view showing the flagged items." ((listp e) (if (stringp (car e)) (car e) nil)) (t nil))) - org-tag-alist-for-agenda +; org-tag-alist-for-agenda + (org-global-tags-completion-table) (with-temp-file (if org-mobile-use-encryption org-mobile-encryption-tempfile -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Bug: Include existing tags in index.org :Mobile: [7.8.11 (release_7.8.11.dirty @ /home/dlm/share/org-mode.git/lisp/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Currently, org-mobile-create-index-file populates the #+TAGS: line based on org-tag-alist-for-agenda. This is inconvenient and confusing, for these reasons: 1. A new user of MobileOrg has to learn the hard way that the tags don't come over without the user having to take the extra step of populating org-tag-alist-for-agenda. 2. Every time the user tags a node with a new identifier, she has to update org-tag-alist-for-agenda by hand. 3. At least in MobileOrg for android, editing a tagged node ends up corrupting the tags (because the tag list has the wrong items in it). A reasonable solution is to include the result of (org-global-tags-completion-table) in the tag list. A customization variable could be added so that the user could decide to use only org-tag-alist-for-agenda (current behavior) if desired. I checked many times (customize-apropos) for options related to tags, but there is nothing to handle this and nothing in org-mobile-create-index-file to handle it either. So there is nothing in my .emacs that could help the issue, no need to include it. release_7.8.11.dirty: It's "dirty" only because I modified org-mobile.el as a proof of concept, to see if org-global-tags-completion-table would get the results I expected. It does. Emacs : GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-03-25 on allspice, modified by Debian Package: Org-mode version 7.8.11 (release_7.8.11.dirty @ /home/dlm/share/org-mode.git/lisp/) -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] MobileOrg and tags
On 7/28/12, Bastien wrote: > Can you try replacing the call to the function > > (org-global-tags-completion-table) > > by a call to the variable `org-tag-alist'? > > I'm not using org-mobile.el, so purely a shoot in the dark. Nope. "org-tag-alist" is empty in my installation, and I didn't find any code that populates it automatically. Tags are still empty. > But `org-tag-alist-for-agenda' doesn't seem necessary here, > and using `org-global-tags-completion-table' is too time > consuming. Unfortunately, as far as I can see, (org-global-tags-completion-table) is the only function that will generate the tag list from multiple agenda files. Per your comment on my bug report, I tried (org-get-buffer-tags) but, as I would have expected from the name, it acquires the tags only from the active buffer when C-c C-x RET p is called. I have: Agenda file 1: { set, of, tags, from, file, 1 } Agenda file 2: { another, group, of, tags } If file 1 is the active buffer, then the tags written into the index are only "set, of, tags, from, file, 1." "Another" and "group" are omitted. By (org-get-buffer-tags): #+TAGS: DC Hadron Lilypond Maybe MusicSoftware NYC SuperCollider TaxQs TIP Today Todo Trip2012 By (org-global-tags-completion-table): #+TAGS: Bug DC FarShore Hadron Hard Lament lily Lilypond longC Maybe midfast MusicSoftware MyConcert NYC Opt SC Sheng SuperCollider TaxQs TIP Today Todo Trip2012 Wk11Docs Wk11plugs Wk2012 I would rather wait a little longer and have a correct result, than save time and have the feature not work. Or have a configuration variable so the user can decide how to generate the tag list. If the global tag completion table function is too slow for some, they could manually populate org-tag-alist or...? hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] MobileOrg and tags
At Fri, 03 Aug 2012 14:31:12 +0200, Bastien wrote: > I've finally committed a change for this, using > `org-global-tags-completion-table' inconditionnally. > > Please test it and report any problem. Sorry I was late in delivering the patch. How about this (to apply on top of 7.8.11)? If it doesn't apply to master, I can regenerate it against the master branch. Let me know. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks >From 0e5b879eff9c7d7a09cbb721c763455fc14854e1 Mon Sep 17 00:00:00 2001 From: James Harkins Date: Wed, 1 Aug 2012 21:12:01 -0400 Subject: [PATCH] Add rebuild-tag-list defcustom and implement in org-mobile-create-index-file org-mobile-rebuild-tag-list is a boolean. If true, it calls org-global-tags-completion-table to generate a complete list of tags used in agenda files, to put into index.org. If false, it uses org-tag-alist-for-agenda instead (saving time). --- lisp/org-mobile.el | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 946e821..2105c5f 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -214,6 +214,18 @@ For now, it is not recommended to change this variable." :group 'org-mobile :type 'string) +(defcustom org-mobile-rebuild-tag-list t + "If non-nil, use (org-global-tags-completion-table) to populate the list +of all tags used in all agenda files. This ensures that all tags are available +on the mobile device. + +If the agenda files are very large, this could be time consuming. Set to nil +to disable the automatic generation of the list. You may then supply the tag list +manually by populating org-tag-alist-for-agenda." + :type 'boolean + :group 'org-mobile +) + (defvar org-mobile-pre-push-hook nil "Hook run before running `org-mobile-push'. This could be used to clean up `org-mobile-directory', for example to @@ -430,7 +442,10 @@ agenda view showing the flagged items." ((listp e) (if (stringp (car e)) (car e) nil)) (t nil))) - org-tag-alist-for-agenda + (if org-mobile-rebuild-tag-list + (org-global-tags-completion-table) +org-tag-alist-for-agenda) + (with-temp-file (if org-mobile-use-encryption org-mobile-encryption-tempfile -- 1.7.9.5
Re: [O] MobileOrg and tags
At Fri, 03 Aug 2012 18:16:55 +0200, Bastien wrote: > Please test my change first, it spares us the cost of a new > option, and it should be fast enough. If it is not, maybe we'll > go with your patch. It's not working. I'm unsure if I'm doing something wrong or if the patch is broken. Normally, I'm running on a separate (private) branch which was checked out from the release 7.8.11 tag. I plan to keep fairly up-to-date with releases, but I don't want to run routinely on the main development branch. So this is what I did: - git checkout master - git pull - make clean - make - Restart Emacs - Switch temporarily to a different org-mobile-push working directory - org-mobile-push Two differences in behavior: - It pops up a buffer showing me the contents of agendas.org, and asks me what coding system I want to use (default "raw-text"). That strikes me as an unnecessary distraction in the workflow, although maybe this is intentional. - An error is produced: Debugger entered--Lisp error: (wrong-type-argument stringp ("~/Documents/mobileorg/semester.org" . "semester-fall.org")) expand-file-name(("~/Documents/mobileorg/semester.org" . "semester-fall.org")) find-file-noselect(("~/Documents/mobileorg/semester.org" . "semester-fall.org")) #[(file) "\302!q\210\303\304 \305\306\"\"\207" [file org-tag-alist find-file-noselect append org-get-buffer-tags mapcar #[... "\242;\205 \242C\207" [x] 1]] 5](("~/Documents/mobileorg/semester.org" . "semester-fall.org")) mapcar(#[(file) "\302!q\210\303\304 \305\306 \"\"\207" [file org-tag-alist find-file-noselect append org-get-buffer-tags mapcar #[... "\242;\205 \242C\207" [x] 1]] 5] (("~/Documents/mobileorg/semester.org" . "semester-fall.org") ("~/Documents/mobileorg/agenda_main.org" . "agenda_main.org"))) org-global-tags-completion-table((("~/Documents/mobileorg/semester.org" . "semester-fall.org") ("~/Documents/mobileorg/agenda_main.org" . "agenda_main.org"))) org-mobile-create-index-file() byte-code("\303\304!\210\305 \210\306 \210\307\310!\210\311\312\313\"\314 \210*\307\315!\210\316 \210\307\317!\210\320 \210\307\321!\210\322 \210\307\323!\210\324 \210\303\325!\207" [org-mobile-files-alist org-agenda-files inhibit-redisplay run-hooks org-mobile-pre-push-hook org-mobile-check-setup org-mobile-prepare-file-lists message "Creating agendas..." t mapcar car org-mobile-create-sumo-agenda "Creating agendas...done" org-save-all-org-buffers "Copying files..." org-mobile-copy-agenda-files "Writing index file..." org-mobile-create-index-file "Writing checksums..." org-mobile-write-checksums org-mobile-post-push-hook] 4) org-mobile-push() call-interactively(org-mobile-push nil nil) Am I going about this properly? hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] MobileOrg and tags
At Fri, 03 Aug 2012 20:06:04 +0200, Bastien wrote: > > James Harkins writes: > > > Two differences in behavior: > > > > - It pops up a buffer showing me the contents of agendas.org, and asks me > > what coding system I want to use (default "raw-text"). That strikes me as > > an unnecessary distraction in the workflow, although maybe this is > > intentional. > > You'll have this if you use `org-global-tags-completion-table' anyway. Okay, I can see my question might have been a little confusing: Asking it in the context of the tags change suggested that I thought the "coding system" prompt is the result of the tag-related change. It is a separate question, though. Why do I now have to take an extra step to push to mobileorg, which I did not have to take before? > > - An error is produced: > > > > Debugger entered--Lisp error: (wrong-type-argument stringp > > ("~/Documents/mobileorg/semester.org" . "semester-fall.org")) > > Please check again against current HEAD, I made a small change that > might make a difference. No, it didn't help. It seems I was right. You can't pass a list of cons-cells into org-global-tags-completion-table. It has to be a list of strings. It's necessary to get "car" from each item in files-alist. diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 7795780..f6ab493 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -424,7 +424,7 @@ agenda view showing the flagged items." done-kwds (org-uniquify org-todo-keywords-for-agenda))) (setq drawers (org-uniquify org-drawers-for-agenda)) -(setq tags (mapcar 'car (org-global-tags-completion-table files-alist))) +(setq tags (mapcar 'car (org-global-tags-completion-table (mapcar 'car files-alist (with-temp-file (if org-mobile-use-encryption org-mobile-encryption-tempfile hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] MobileOrg, webdav, correct use of org-mobile-directory?
Okay, I've just about gotten that WebDAV service set up for mobileorg sync. I can both GET and PUT files using cadaver. But org-mode isn't talking to it properly. According to [1] ("[user]" is a substitute for the real http user name): org-mobile-directory: /scpc:**user**@localhost:80/webdav/ Then org-mobile-push gets further: Loading tramp...done Tramp: Opening connection for [user]@localhost using scpc... Tramp: Sending command `exec ssh -l [user] -o ControlPath=/tmp/tramp.26688vS.%r@%h:%p -o ControlMaster=yes -e none localhost' Tramp: Waiting for prompts from remote shell Tramp: Sending password Tramp: Sending command `exec ssh -l [user] -o ControlPath=/tmp/tramp.26688vS.%r@%h:%p -o ControlMaster=yes -e none localhost' Tramp: Found remote shell prompt on `localhost' Tramp: Opening connection for [user]@localhost using scpc...done ... but chokes on something surprising: org-mobile-check-setup: Variable `org-mobile-directory' must point to an existing directory Huh? [1] clearly says: (setq org-mobile-directory "/scpc:u...@remote.host:org/webdav/") ... but: (unless (and org-mobile-directory (stringp org-mobile-directory) (string-match "\\S-" org-mobile-directory) (file-exists-p org-mobile-directory) (file-directory-p org-mobile-directory)) (error "Variable `org-mobile-directory' must point to an existing directory")) I suppose I can hack it by putting the physical location of the webdav share into org-mobile-directory. But, the documentation seems incompatible with the current behavior. hjh [1] http://orgmode.org/worg/org-faq.html#mobileorg_webdav -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
On Aug 12, 2012 12:29 PM, "Nick Dokos" wrote: > But from what you show below, you are not using cadaver (or anything > webdav-related for that matter) to do the copying. You are using > scp: *that*'s what you've got to get working. When configuring a new service, it's useful to conduct a minimal test to ensure that nothing is wrong with the service. That was the point of using cadaver. For my immediate needs, I think I can do without scp, since org-mode and Apache are on the same machine. The broader point is about the documentation. It says "do it this way" but "this way" doesn't work. > > org-mobile-directory: /scpc:**user**@localhost:80/webdav/ > > > > This looks wrong - if you try it with scp from the command line, can > you copy a file to that destination? 1. How do I use scp from the command line? 2. This destination is modeled on the docs, so if it's wrong, then so is the doc. > Where does org-mobile-directory point to if not the "physical location > of the webdav share"? The tramp stuff doesn't know or care about webdav > at all: it is just the mechanism that copies files from your local > machine to some other machine, so it needs to know exactly where to copy > it to. Well, it almost looks to me like org-mobile-directory is asked to do two things at once: specify the scp syntax *and* hold a path that can be resolved on the local file system. This is the source of my confusion. At best, the docs are unclear. No matter for me. I'll just set org-mobile-directory to the physical, local path that is remotely accessible by webdav. But the doc was rather misleading, suggesting that some editorial attention would be warranted. hjh
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
On Aug 12, 2012 4:42 PM, "Bastien" wrote: > > But the doc was rather misleading, suggesting that some editorial > > attention would be warranted. > > Can you send a patch to fix the docs? I wouldn't mind doing so, but I haven't the foggiest how it's supposed to work. hjh
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
At Sun, 12 Aug 2012 00:29:20 -0400, Nick Dokos wrote: > This looks wrong - if you try it with scp from the command line, can > you copy a file to that destination? OK, I played a little more with scp and got closer -- I can copy a file from the command line: scp /home/[myuser]/tmp/afile.txt [user]@localhost:/var/www/mobileorg/web And "[user]@localhost:/var/www/mobileorg/web" for org-mobile-directory avoids the directory check error, but then: org-mobile-create-sumo-agenda: Cannot write to file /scpc:user@localhost:/var/www/mobileorg/web/agendas.org Same error if I change org-mobile-directory to be /scp:blahblah instead of /scpc. So: okay at the commandline, not from Emacs. As mentioned, it's a bit on the academic side because I can just use a local path. But, if I'm going to update the documentation, I'd like to get it to run successfully through scp once. Thanks. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
At Sun, 19 Aug 2012 02:35:20 +0100, Adam Spiers wrote: > > On Sun, Aug 19, 2012 at 12:25 AM, Adam Spiers wrote: > > Agreed. If at least one person lets me know that my explanations > > above make sense, I might find some time to tweak the FAQ accordingly. > > I went ahead and tweaked it anyway: > > http://orgmode.org/worg/org-faq.html#sec-20 Thanks, this is a bit clearer. I would go even further into "for-dummies" territory, such as: ~~~ How does synchronization via WebDAV work? Synchronization involves two avenues of communication: 1. Between Emacs org-mode and the remotely-accessible share. This line of communication is used for org-mobile-push (C-c C-x RET p) and org-mobile-pull (C-c C-x RET g). 2. Between the remotely-accessible share and the mobile device(s), used when synchronizing MobileOrg on a phone or tablet. #1 is done one way and one way only: org-mode reads or writes files to a filesystem path. When using Dropbox or Ubuntu One, it is a local directory. The Dropbox or Ubuntu One sync daemon takes care of transferring the data to the remote share. In that case, org-mode does not have to concern itself at all with the cloud storage. With WebDAV, there are two possibilities: - The WebDAV server is running on the same machine where org-mode is being used. This can simplify the configuration, but may restrict sync to a local wi-fi network. In this scenario, set org-mobile-directory to the physical path on the local machine housing the WebDAV share. - Or, the WebDAV server is located on a different machine that is accessible by HTTP from anywhere in the Internet. It may be possible to mount the remote directory locally; if so, org-mobile-directory should be the mounted location. If this is not possible, you can also use scp (secure-copy) to push data and tramp to pull. Both require ssh access to the remote machine. Here, org-mobile directory should look like this: "/scpc:u...@remote.host:org/webdav/" ... where "user" is the ssh username on the remote machine and "remote.host" is the domain name. The physical path to the WebDAV share should follow the colon; it may be different from this example. Org-mode never uses WebDAV to push or pull data. Do not configure org-mobile-directory with the HTTP URL of the WebDAV share. #2, communication between the share and the mobile devices, does use WebDAV. Configure MobileOrg with the full URL pointing to the index.org file, e.g., http://a.webdav.server.com/webdav/my_user/mobileorg/index.org. ~~~ hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Org-mode release 7.9
I'm delighted to hear of the new release, and will upgrade today via git. However... might I suggest that those who are commenting on the release, please refrain from quoting the entire changelog? It's rather unpleasant for digest readers. It's one of the reasons why computers have Delete keys :-D Sorry to be a stickler, but in the first digest announcing the release, I had to page through the whole changelog 3 or 4 times because the first several people to reply did not trim the quotes. And there's another today. Thanks. hjh
[O] ODT preferred format option per-file?
Hi, I have one particular org file that I would like to export to PDF by way of ODT. (I already set up outline styling in LibreOffice and I would like to use that, instead of trying to reconfigure a similar look in LaTeX. For fun, I did try the LaTeX pdf export and the output format is not what I need for this case.) But I may want to export other org files to ODT *without* converting them to PDF. http://orgmode.org/manual/Extending-ODT-export.html This says I can customize the org-export-odt-preferred-output-format variable. This works beautifully, but it's a global setting that will apply to every ODT export. So my question is -- is there any export option for the preferred format, per file? Something like: #+ODT_PREFERRED_FORMAT: pdf I couldn't find any documentation in the ODT export section of the manual for an option like this. Alternately, I suppose I could write a lisp function that would set the variable and call the export, but that would definitely be a hack. Thanks in advance, hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] ODT preferred format option per-file?
# Local Variables: # org-export-odt-preferred-output-format: "pdf" # End: This is a great help, thanks. Will pull and try it tonight. I suppose I must be using the old exporter, since the variable without -e- enabled PDF conversion. That's working fine for me, but I should probably look into the new exporter (assuming the old one will be removed sometime). Good to know how to do it in both cases. Thanks again! hjh
[O] TODO + org-mobile-push vs. org-store-link
Hi, I'm using "Org-mode version 7.9 (release_7.9-34-g4ca67b @ /home/dlm/share/org-mode.git/lisp/)" -- just discovered some garble-age related to storing and inserting links in conjunction with TODO items and org-mobile-push. Suppose this is one of the org-agenda files that will be synced with MobileOrg. ~~~ * TODO A headline to link ** A subheading * Links go here ~~~ When you org-mobile-push, the TODO item receives a SHA id: * TODO A headline to link :PROPERTIES: :ID: 5f922d66-5a46-4704-8ab4-13a711677232 :END: Now, if I also want to link to this item (why?*), I would hit C-c l on the TODO headline, which tries to assign another SHA id. Then I get a mess. ~~~ * TODO A headline to link :PROPERTIES: :ID: 331b4df1-3974-4c1b-aa67-a519af8b7b3d :END: :END: ** A subheading ~~~ (I'm not sure if the ID is the same before or after C-c l.) So we have two :END: markers and -- *worse* -- the subheading has been moved up to the previous line, where it is no longer a subheading. I'm quite sure I did org-mobile-push before storing the link. I suspect org-store-link may not be checking sufficiently for an existing ID, and trying to put the ID into a place where it expects to find no :PROPERTIES: block (but there is one). * Why? The file is actually a presentation for beamer export. Rather than have live TODO items appear in the slide drafts, I thought I would collect the TODOs in a :noexport:-tagged subtree, but this was after I had already made the exportable headings into TODOs and mobile-pushed. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] TODO + org-mobile-push vs. org-store-link
At Tue, 04 Sep 2012 12:50:44 +0800, James Harkins wrote: > Now, if I also want to link to this item (why?*), I would hit C-c l on the > TODO headline, which tries to assign another SHA id. Then I get a mess. > > ~~~ > * TODO A headline to link > > :PROPERTIES: > :ID: 331b4df1-3974-4c1b-aa67-a519af8b7b3d > :END: > :END: ** A subheading > ~~~ > > (I'm not sure if the ID is the same before or after C-c l.) > > So we have two :END: markers and -- *worse* -- the subheading has been moved > up to the previous line, where it is no longer a subheading. > > I'm quite sure I did org-mobile-push before storing the link. I suspect > org-store-link may not be checking sufficiently for an existing ID, and > trying to put the ID into a place where it expects to find no :PROPERTIES: > block (but there is one). Hm, wait, that's not quite right. The beamer trees are in a separate file specifically because I did not want to push them onto my phone. So I'm not sure exactly what happened. There's a link in one of my org-agenda/mobile files to the top heading of the beamer file. I did do an org-mobile-push in the morning. But I just confirmed with a quick test that mobile-push does NOT greedily scan through any org buffers and add IDs to TODOs, schedules. So the errant :PROPERTIES: block (which I assume is the source of the extra :END:) didn't come from there... but it did come from somewhere. Ah... another dim memory... I copied this content out of a file that *is* pushed. Probably those headings acquired IDs when they were part of the other file, and I didn't delete the properties in the new file. But I still can't reproduce it with a simple file :( so I don't know quite what causes it, only that something screwy happened when storing a link to a heading that had already been property-ified. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] org-url-hexify-p default can be fragile?
Related to my earlier question about links -- the default of org-url-hexify-p is true, which has the side effect for naïve users that links to a subtree in a different file can no longer open the file automagically. I guess there's a good reason to do that, but it threw me for a loop. (Actually I kind of guessed that it might happen, since I didn't see anywhere that the connections between the hashes and the target files were persisted, but trusted that org might have some magic and handle it gracefully, since it handles everything else gracefully :-p ) Just a thought. Not sure if it's worth changing, but it's a bit of a discrepancy, in that most of org-mode follows the principle of least surprise quite well but this does not: I store and insert a link, and it might not work after closing Emacs. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] org-url-hexify-p is not respected
Have to admit, I'm getting a wee bit cross as it's 12:30 at night here, and all I wanted to do was save a link to a beamer-export .org file into another org file, and it keeps giving the link a hex ID that I *do not want*. I have customized org-url-hexify-p -- C-h v org-url-hexify-p shows: ~~~ org-url-hexify-p is a variable defined in `org.el'. Its value is nil Documentation: When non-nil, hexify URL when creating a link. ~~~ But C-c l creates: That looks curiously like the hexified link that should not be generated according to the nil value of org-url-hexify-p. I want the link because cannot be resolved after quitting and restarting emacs (which is, IMO, a really massive weakness of org-url-hexify-p's default enabled setting, but I suppose there was a good reason for it). How do I make org-url-hexify-p behave properly? Org-mode version 7.9 (release_7.9-34-g4ca67b @ /home/blahblah/share/org-mode.git/lisp/) Thanks. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] org-url-hexify-p is not respected
At Mon, 10 Sep 2012 00:37:40 +0800, James Harkins wrote: > > Have to admit, I'm getting a wee bit cross as it's 12:30 at night here, and > all I wanted to do was save a link to a beamer-export .org file into another > org file, and it keeps giving the link a hex ID that I *do not want*. > > I have customized org-url-hexify-p -- C-h v org-url-hexify-p shows: My bad, wrong variable. I should have customized "Org Link To Org Use Id." Now I see hexify is to turn, e.g., into %20. I'm still really confused how the ID options work. Last night, I could not get org to generate a link without creating an ID (using the default value of org-link-to-org-use-id). Now, I tried to verify what happens with ID-style links, so I customized org-link-to-org-use-id to be 't' -- and org now refuses to generate the ID. ??? This is even after saving the custom setting, quitting and relaunching emacs. It simply is not making the link according to the variable. (The link target is an org file.) Anyway, I'm going to set that variable to nil, and just hope that tomorrow org won't interpret nil to mean "I'll make whatever link style I choose, thank you very much." hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] org-url-hexify-p is not respected
At Mon, 10 Sep 2012 00:58:27 -0400, Nick Dokos wrote: > > I'm still really confused how the ID options work. Last night, I > > could not get org to generate a link without creating an ID (using the > > default value of org-link-to-org-use-id). Now, I tried to verify what > > happens with ID-style links, so I customized org-link-to-org-use-id to > > be 't' -- and org now refuses to generate the ID. ??? This is even > > after saving the custom setting, quitting and relaunching emacs. It > > simply is not making the link according to the variable. (The link > > target is an org file.) > > C-h v org-link-to-org-use-id RET should help in alleviating (at least > some of) the confusion. Note the default value: you probably want to set > it to create-if-interactive-and-no-custom-id. OK, but will this create the IDs or not? Today, I had wanted to enable the IDs in order to provide a scenario where they don't work. For normal use, I *don't* want the IDs because I found they don't persist through Emacs sessions. "create-if-interactive" -- I'm assuming C-c l is interactive -- "-and-no-custom-id" -- these would be on headlines where there is no existing ID. So it *would* create an ID, right? Not what I ultimately want. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] org-url-hexify-p is not respected
At Mon, 10 Sep 2012 12:07:26 +0530, Jambunathan K wrote: > If all you need is a stable link, you can go with CUSTOM_ID property for > links. Just type in whatever string you want. IDs are machine created > but CUSTOM_IDs are man made ones. I don't want IDs at all. I want [[file:.]] hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] org-url-hexify-p is not respected
On Tue, Sep 11, 2012 at 9:47 AM, James Harkins wrote: > I'm pushing a bit on this because creating an id when linking to an org-mode > headline is the default behavior, but what I observed (couldn't open the > link) is fundamentally broken. OK... mainly to reassure myself that I am in fact not going crazy, I looked at this a bit more. If I start a fresh Emacs session and store a link to an org headline, no ID is created, regardless of the setting of org-link-to-org-use-id, apparently because my installation does not load the org-id module at launch. This is also the reason why C-c C-o on an ID link failed in a new Emacs session. After M-x load-library RET org-id RET, C-c C-o worked fine. So then the question is, why was I getting the ID-style links in the first place? I hadn't loaded that module before (I didn't even know about load-library before). I suspect one of the org-mobile functions (which I *am* using) loads the module. TODOs, scheduled and deadline items receive IDs during org-mobile-push. This (or something else, but this is the only org feature where I had ever seen IDs until my confusing experience with C-c l) probably turned it on, but then gave me no indication that this would break the link feature if I didn't customize org-modules. So I think what I will do is add the module. My only real concern is to get links that work. I had wanted to turn off IDs because it appeared to me that they were not reliable. Indeed, without Jambunathan K's comment about load-library, I would still be under the impression. So there is some documentation or warning-to-the-user issue lurking. It seems to be assumed you won't get ID links if you didn't explicitly load org-id (in which case you know that you need the module to open the links), but org-id may be loaded silently and end up messing with the user's brain. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Digest configuration
If there is a very long message, the digest gets truncated. For instance, in digest volume 79, issue 14, the fourth message consists of an immense stack trace. The digest cuts off midway through. According to the table of contents, that leaves 39 messages that I can't read without clicking around in the archives... of course, I take digest delivery to avoid having to do that. There must be a smarter way to group messages into digests so that no single digest is too big, while messages don't get lost. hjh
Re: [O] Digest configuration
On Sep 18, 2012 6:26 PM, "Bastien" wrote: > > Hi James, > > James Harkins writes: > > > There must be a smarter way to group messages into digests so that no > > single digest is too big, while messages don't get lost. > > I assume this is about mailman digests. > > If so, please report this to the mailman developers. > > We don't have any way to fix this from here. I'm also subscribed to the lilypond-users list, also hosted at gnu.org, and its digests have the same format, so I assume it's also mailman. Lilypond-users, however, delivers several digests per day and there seems to be a size cap on each one. If there are more posts in a day, I get more digests, not one longer digest. So I suppose the maximum digest size is already configurable without logging an issue with the mailman devs. hjh
[O] LaTeX beamer export: relative file links?
I'm writing presentations for my classes using beamer export from org-mode (which is working beautifully, btw -- it's faster than LibreOffice impress and I get a convenient plain text archive of my slide contents to boot). I'm authoring in Linux but I have to show the pdfs in windows. That's generally no problem, except... this week I wanted a link on one slide to an mp3 audio example. I entered the link in org-mode as a relative path ./blah.mp3, which either org or latex expanded to a UNIX-style full path. (I'm guessing org.) Obviously windows would not understand the UNIX path. The question, then: Is it possible to use relative paths for file links in latex export? (I admit, I haven't searched for customize variables before writing this- apologies if it's obvious. I spent most of my research time this week setting up a mingw build environment for SuperCollider, so I'm a bit search-fatigued I'm afraid.) Thanks, hjh
Re: [O] LaTeX beamer export: relative file links?
At Sat, 29 Sep 2012 12:34:05 -0400, Nick Dokos wrote: > Maybe this: > > , > | org-link-file-path-type is a variable defined in `org.el'. > | Its value is adaptive No. That's about storage of links, but in my org file, the links *are* relative. They become absolute during export. Less search-fatigued this morning. It seems, from the section of org-export-latex-links pasted below, that file paths are always expanded and this is not configurable. My test: # export header stuff omitted except the really critical: #+TITLE: Applied Techniques for Digital Audio \newline Introduction to Filters #+AUTHOR:H. James Harkins #+DATE: 26 September 2012 * Section ** Slide *** Bullet with [[./1346482292091_2436.mp3][inline link]] C-c C-e l produces: \item Bullet with \href{file:///media/39ED-A99A/some/folders/omitted/1346482292091_2436.mp3}{inline link} hjh (path (cond ((member type '("coderef")) raw-path) ((member type '("http" "https" "ftp")) (concat type ":" raw-path)) ((and re-radio (string-match re-radio raw-path)) (setq radiop t)) ((equal type "mailto") (concat type ":" raw-path)) ((equal type "file") (if (and (org-file-image-p (expand-file-name raw-path) org-export-latex-inline-image-extensions) (or (get-text-property 0 'org-no-description raw-path) (equal desc full-raw-path))) (setq imgp t) (progn (when (string-match "\\(.+\\)::.+" raw-path) (setq raw-path (match-string 1 raw-path))) (if (file-exists-p raw-path) ; hjh editorial comment: It's mandatory... oops! ; expand-file-name is a built-in function in `C source code'. ; (expand-file-name NAME &optional DEFAULT-DIRECTORY) ; ***Convert filename NAME to absolute***, and canonicalize it. (concat type "://" (expand-file-name raw-path)) (concat type "://" (org-export-directory :LaTeX org-export-latex-options-plist) raw-path -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] C-c ^ for plain lists? Why not?
I've started to like checklists because they are a good way to keep account of things that have to be done, without the individual items being entered into the agenda (and thus transferred to MobileOrg). But I'm running into the limitation that plain lists can't be sorted *by their checklist status*. You can sort alphabetically, numerically or by time or function. So, I guess I have to write a lisp function to do it... but I don't have time to do that right now, but I need to sort the list now... Valid feature request? hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] C-c ^ for plain lists? Why not?
On Oct 9, 2012 2:29 AM, "Nicolas Goaziou" wrote: > There are four states: checked box, unchecked box, transitory box and no > box at all. I can't see an order that should be prevalent over others. Fair enough, thanks. I'll check the org manual later to see if the format of the function is documented anywhere. (I might have time to try my hand at the function, but I wouldn't have time to guess the expected output and inputs.) hjh
Re: [O] The statement on what is orgmode.
Semi-off topic, related to this: brian powell writes: > So, again, seriously, this thread is misnamed. "What can't you do in > Emacs/OrgMode?" What can't it be used for?--this should be the thread! I had four main uses for emacs: - Programming in SuperCollider - Email (wanderlust) - Editing of Lilypond source files for music notation - Org Lilypond was the first to go. Lilypond-mode is basically unmaintained, and its code completion is rather poor compared to the dedicated, qt-based editor Frescobaldi. Then SuperCollider 3.6 came out, with a new, dedicated qt-based editor, again improving on the code completion available in sclang-mode. Then I got a tablet and started doing email on it, and lost interest in wanderlust. So now I'm down to using emacs just for org-mode and... that's [expletive] spectacular all by itself :) In the last year, using beamer export for my class presentations opened my eyes to org-mode as a writing tool. My next paper will be written entirely in org-mode, looking forward to that! hjh
[O] org-mobile-push vs. symlinks
Sorry for resending as a new thread. I had wanted to reply to my original message on gmane, but gmane's search fails to locate the thread (?). Anyway, I still don't understand the rationale for the current behavior. Does anyone know why org-mobile-push resolves the agenda files' names to symlink targets? Thanks, hjh -- Forwarded message -- Date: Sat, Dec 8, 2012 at 11:42 AM Subject: org-mobile-push vs. symlinks I had a problem with mobile org sync, which I finally tracked down to the handling of symlinks in org-mobile-push. Setup: I want to have a different file name for my school org file depending on fall or spring semester, but I hoped to avoid changing org-agenda-files once a semester. So I symlinked semester-fall.org to ~/Documents/mobileorg/semester.org. It seems that org-mobile-push resolves the symlink to determine the filename to drop into the online share. So MobileOrg knows about semester-fall.org, but there is no file by that name in org-directory. So, when I sync captures back to the computer, org-mobile-pull opens a buffer for semester-fall.org, but it's empty because there is no file by that name under org-directory -- so, of course the parent node can't be found. My question: Is there a technical reason why org-mobile-push must use the symlink target's filename, instead of the filename that actually lives under org-directory? Other parts of the code assume the filename under org-directory. I can think of two possibilities: - One should not put symlinks into org-directory, or at least make sure the symlink's name is the same as the target. If this is an intentional limitation, it should be documented. - Or, the symlink resolution is not actually necessary and it causes problems. In that case, it's a bug that should be fixed. Which is it? :-) hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] C-c ^ for plain lists? Why not?
Carsten Dominik gmail.com> writes: > Playing with this idea I noticed that the sorting function > did not accept their additional arguments like sorting-key > and get key-function in they way they should. So I patched > them, to make the following work in the current master: > > (defun org-sort-list-by-checkbox-type () > "Sort list items according to Checkbox state." > (interactive) > (org-sort-list >nil ?f >(lambda () > (if (looking-at org-list-full-item-re) >(cdr (assoc (match-string 3) >'(("[X]" . 1) ("[-]" . 2) ("[ ]" . 3) (nil . 4 >4 I finally had a chance to play with this -- works nicely, except I managed to get emacs into an infinite loop this way: 1. C-c ^ f org-sort-list-by-checkbox-type 2. This puts the done items at the top, which I didn't want, so... C-c ^ F org- sort-list-by-checkbox-type. 3. Emacs goes into a tailspin (recovered by C-g). > I would think that > > checked - transitionary - unchecked - no box > > is a pretty decent default. I disagree. I'd suggest unchecked - transitionary - checked - no box. It makes more sense to pull the not-done items to the top, no? But it's easy to modify the function for my environment. Thanks!! hjh
Re: [O] C-c ^ for plain lists? Why not?
On Dec 29, 2012 1:40 AM, "Bastien" wrote: > > > > 1. C-c ^ f org-sort-list-by-checkbox-type > > 2. This puts the done items at the top, which I didn't want, so... C-c ^ F org- > > sort-list-by-checkbox-type. > > 3. Emacs goes into a tailspin (recovered by C-g). > > `org-list-get-item-end-before-blank' is meant to be used as an > interactive function directly, not as a callback within `org-sort-list'. I'm afraid this means rather little to me, and I haven't time now (in the middle of end-of-semester grading) to dig in and find where org-list-get-item-end-before-blank is being invoked from a function that doesn't directly reference it. Since it's published hack, probably this should be fixed and updated on worg, or a note added to explain that you shouldn't use F with this function for now. hjh
[O] Trimming quotes
Just a reminder to be kind to list members who are receiving digests and TRIM QUOTED MATERIAL. Recently: http://article.gmane.org/gmane.emacs.orgmode/63982 48 lines of new content vs 1123 lines of quotes, for a whopping signal-to-noise ratio of 4.27%. Scrolling isn't *that* much fun... I realize subsequent posts in that thread were trimmed, so it may be just a one- off oversight for these posters. But, it happens a lot, on several lists that I read, often enough that it's become a pet peeve. Thanks. hjh
Re: [O] Trimming quotes
On Dec 29, 2012 11:23 PM, "Thomas S. Dye" wrote: > Can you point me to trimming guidelines for digest readers? I don't know where to find published guidelines, but this is how I try to handle it: - Quote just enough to capture the gist of what you're replying to. (As here -- I'm answering a specific question, so I quote the question and trim out the rest.) Sometimes that calls for just a couple of lines, or it might need a longer chunk (of a code example, say). The thread I pointed to would have needed some longer quotes. - Quotes from messages earlier than the one you're directly answering should be avoided, but if you need material from an older message to get the gist, keep it really really short. (E.g., if you're quoting a long code snip from the previous message, there is no need to include the same code snip in higher quote levels.) - Avoid top-posting. Top-posting allows you to ignore the amount of quoted material beyond the mail editor window's lower boundary. You have no idea if it's 30, 50, 200 or over 1000 lines. (I know some have reasons to prefer top-posting and I don't want to reopen that debate, but it seems a valid observation that excessively long quotes usually come with top-posted replies. So an alternate way to say it is: If you really want to top-post, please also review the entire contents for redundancy before sending.) hjh
[O] Visibility cycling of plain lists?
Is there a way to show the content of a node containing a plain list, so that the plain list items are collapsed? Or, is there a function that will automatically collapse all the items in the plain list? For instance, if I have a tree like this: * Top level I ** Subheading A *** Further subheading 1 ** Subheading B * Top-level II When I first visit the file, I see: * Top level I... * Top-level II ... and if I expand the first heading, I see: * Top level I ** Subheading A... ** Subheading B * Top-level II But, if the tree has this structure instead: * TODO Top level I [0/2] - [ ] List item A Comments on list item A - [ ] List item B Comments on list item B * Top-level II ... expanding the first node expands the entire contents, including the comments -- I see *everything*. It's more useful to me to see the list items collapsed (comments hidden), and then I can use tab visibility cycling to see the comments that I want to see. I'm aware that I could use regular subheadings for these list items. The problem is that they would all have to be TODOs (because I want the parent node's progress cookie to update), but I don't need to track them individually in my agenda views. The top-level here is a homework assignment, and each list item is work received from one student. In the agenda, I need to know only that I haven't graded everything for that assignment yet, but I don't need to see a separate TODO entry for every student. Lists with checkboxes are perfect for this. Also, if I used "real" TODOs, org-mobile-push would assign an org-id to every one of them, grossly bloating my ~/.emacs.d/.org-id-locations (and bloating the org file with hundreds of :PROPERTIES: drawers that I don't really need). So it's really much more efficient for me to use list items, except that I haven't found a way to use visibility cycling on them that is as intelligent as it is for outline headings. Thanks, hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Visibility cycling of plain lists?
On Mon, Dec 31, 2012 at 11:53 AM, James Harkins wrote: > Is there a way to show the content of a node containing a plain list, > so that the plain list items are collapsed? Or, is there a function > that will automatically collapse all the items in the plain list? Oops, just answered my own question: http://orgmode.org/manual/Plain-lists.html#Plain-lists "For more details, see the variable org-cycle-include-plain-lists. If this variable is set to integrate, plain list items will be treated like low-level headlines." This confused me, however, because there is no "integrate" option in org 7.9. There is an option "As children of outline headings." Also, org-cycle-include-plain-lists's docstring is wrong: "When t, make TAB cycle visibility on plain list items." So... never mind the original question (but there are a couple of documentation issues). hjh
Re: [O] Visibility cycling of plain lists?
On Dec 31, 2012 5:36 PM, "Bastien" wrote: > > This confused me, however, because there is no "integrate" option in > > org 7.9. There is an option "As children of outline headings." > > You are confusing the value of the option (which can indeed be > 'integrate as a symbol) and the description of this choice in the > customize interface. My point exactly- neither the manual nor the docstring do anything to dispel that confusion. > > Also, org-cycle-include-plain-lists's docstring is wrong: "When t, > > make TAB cycle visibility on plain list items." > > Mhh... what is wrong here? There are (at least) 3 options (I have no idea if there are any more), but only t is described. I suppose t is the default behavior (tab collapses plain list items, but they're all open by default). But I'm guessing based on observation. This goes unstated. 'integrate is a valid option, but the docstring doesn't say so. It also doesn't say anything about the behavior of nil. I can file bugs later. hjh
Re: [O] Visibility cycling of plain lists?
On Mon, Dec 31, 2012 at 10:19 PM, Bastien wrote: > Hi James, > > James Harkins writes: > >> My point exactly- neither the manual nor the docstring do anything to >> dispel that confusion. > > If you do C-h v org-cycle-include-plain-lists RET you read that > a value of t allows visibility cycling and that a value of 'integrate > temporarily interprets list items as outline headlines. You're right; I had forgotten to expand the docstring, so I saw only the first line. The options are explained in subsequent paragraphs. The only issue left, then, is the disconnect between the value menu descriptions and the actual values. Here, I guess it would make sense to follow the Emacs convention for documenting customize-interface value menus, if there is such a convention. If not, this patch might help, adding text like this after the paragraph description: ~~ Value menu options: Never --> nil With cursor in plain list (recommended) --> t (the default) As children of outline headings --> integrate ~~ (I'm assuming the convention is not "don't document.") In the org manual, it would probably be enough to add a parenthetical note: ~~ If this variable is set to 'integrate' ("As children of outline headings" in the customize interface), plain list items will be treated like low-level headlines. ~~ > When customizing, you can either set it to "Never", which is obvious. > > Or to `t', which is explained. I differ here -- in the menu, you don't set it to "t." > Or to the other value, which is the symbol 'integrate. This third > value is mentioned in the docstring, and it is pretty obvious that > it corresponds to "As children of outline headings", as there are > no other choices. Ah, I see. It's *obvious*. (I guess org-mode's target audience is smarter than I am.) I do see your point that the options are described, and I apologize for overlooking them earlier. But, if one is using the customize interface, then there remains a (small) bit of guesswork to connect the documentation to what is presented in the interface, and I think generally documentation should be there to eliminate guesswork (or at least reduce the need for it). (That's not a specific complaint to org -- on the SuperCollider mailing list, I'm constantly harping on method documentation that doesn't explain the expected types of the input and output, for the same reason -- if I have to write a short bit of test code to figure out what the method is supposed to do, then the documentation isn't complete.) hjh PS And *again* I'm bitten by the fact that I just can't get used to mailing lists where replies are sent to individual authors as well as the list address... sorry about that.
Re: [O] org-mobile-push vs. symlinks
On Jan 3, 2013 8:57 PM, "Bastien" wrote: > > Hi James, > > James Harkins writes: > > > - One should not put symlinks into org-directory, or at least make > > sure the symlink's name is the same as the target. If this is an > > intentional limitation, it should be documented. > > > > - Or, the symlink resolution is not actually necessary and it causes > > problems. In that case, it's a bug that should be fixed. > > > > Which is it? :-) > > I'd say the first one :) Hm, I'd suggest a third possibility then: - There isn't actually a good reason for the restriction and nobody knows why it's done this way, but it's too much trouble to fix for a corner case that's easily worked around. The outcome is the same as the first: document the issue. hjh
Re: [O] org-mobile-push vs. symlinks
On Jan 4, 2013 11:34 PM, "Bastien" wrote: > > Hi James, > > James Harkins writes: > > > The outcome is the same as the first: document the issue. > > Org is yours :) I worked in software support for awhile, so... I know what it means, e.g., when some behavior is labeled a "known issue" ;-) I'm not sure of the procedure to contribute to the org manual, but I might suggest something like this, under MobileOrg section B2: ~~ This operation copies all files currently listed in org-mobile-files to the directory org-mobile-directory. By default this list contains all agenda files (as listed in org-agenda-files), but additional files can be included by customizing org-mobile-files. File names will be staged with paths relative to org-directory, so all files should be inside this directory.* ... (rest of paragraph) * It is recommended to store the source org files physically under org-directory. If this is not practical, org-directory may contain symlinks to the org files, provided that the symlink has the same name as the original file. If the original file is called "mylife.org," then the symlink should also be called mylife.org. If the names are different, pulling edited nodes from MobileOrg will fail. ~~ hjh
Re: [O] org-mobile-push vs. symlinks
On Jan 6, 2013 9:57 PM, "Bastien" wrote: > > Hi James, > > James Harkins writes: > > > I'm not sure of the procedure to contribute to the org manual, but I > > might suggest something like this, under MobileOrg section B2: > > I added a footnote: > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=76684b5 (The thread that wouldn't die...) I just looked at the footnote text... why did we go from "symlinks work if the name is the same" to an unqualified "symlinks are not supported"? It isn't always feasible, or even desirable in some cases, to keep all your org files under org-directory. For instance, I have a separate project folder for a series of concerts to be given in the spring. If I back up this folder, I want the project's org file to come with it. The updated documentation seems to suggest that I should store the org file physically under org-directory and place a symlink under the project directory, making backups a bit more complex ("oh my, I forgot again what is the cp or rsync option to follow links... man page..."). I can accept the same-name requirement, but it really makes much more sense to me to keep org files physically with their projects. So I'd kindly request that future org-mobile changes avoid breaking the use of symlinks in org-directory (which currently does work). Documenting that symlinks are supported (with the one caveat about the filename) is a step in that direction. hjh
[O] org-id garbage collection?
Hi, Does org-id ever remove deleted items from ~/.emacs.d/.org-id-locations? I did find the function org-id-update-id-locations, which definitely compacts the locations file. I haven't verified if this actually removes items, or merely reorganizes the list to be stored more efficiently. A curious thing about that function -- if duplicate IDs are found, it says to check the Messages buffer, but Messages is full of lines like: Finding ID locations (659/674 files): ~/Documents/mobileorg/semester.org Finding ID locations (660/674 files): ~/Documents/mobileorg/semester.org Finding ID locations (661/674 files): ~/Documents/mobileorg/semester.org Finding ID locations (662/674 files): ~/Documents/mobileorg/semester.org Finding ID locations (663/674 files): ~/Documents/mobileorg/semester.org Since older entries are removed from Messages, these lines caused the duplicate ID info to be lost. Thanks. hjh
Re: [O] org-id garbage collection?
On Jan 9, 2013 4:21 PM, "Bastien" wrote: > > Hi James, > > James Harkins writes: > > > Since older entries are removed from Messages, these lines caused the > > duplicate ID info to be lost. > > You can tweak `message-log-max'. Ok... and the behavior of org-id-update-id-locations? Does it remove ids that aren't found in any of the org files? I guess if I have time tonight, I can parse the old and new locations files and compare the keys. I was hoping someone would know and save me the trouble. hjh
Re: [O] changed?
On Jan 10, 2013 11:40 AM, "Nick Dokos" wrote: > I get different behavior from what you describe, with Org-mode > version 7.9.2 (release_7.9.2-948-gab17f9 @ > /home/nick/elisp/org-mode/lisp/) and also going back to the version you > mention below and also 7.9.2 for good measure: > > M-S-right behaves as you describe (it demotes the current subtree) but > M-right demotes all the headings in the region (nb: *not* subtrees necessarily, > unless the region encompasses the whole subtree). You are... quite right. I got confused between the two. Thanks :-) hjh
[O] New exporter documentation?
I apologize in advance for what is likely to be a dumb question, but I'm struggling to find documentation of the new exporter. Google pointed to [1], but this is documentation for developers of new backends. I only want to use the existing backends, and I want to understand how the new _exporter_ is different from the old__. Specific question: Is there an easy way to use a given LaTeX template (.cls and .bib)? (I also found [2] but "easy" is not how I would describe that.) I suppose I've just overlooked a blindingly obvious link somewhere...TIA, hjh [1] http://orgmode.org/worg/dev/org-export-reference.html [2] https://github.com/novoid/orgmode-ACM-template
Re: [O] New exporter documentation?
On Jan 18, 2013 4:11 PM, "Florian Beck" wrote: > > James Harkins writes: > > > Specific question: Is there an easy way to use a given LaTeX template (.cls and .bib)? (I also found [2] but "easy" is not how I would describe that.) > > The easiest way is probably ... snip code Thanks - that seems pretty straightforward. I'll try later. hjh
[O] Wrong non-interactive behavior of org-insert-heading breaks org-mobile-pull
I've been working for a while to track down a problem that manifests in org-mobile-pull. It turns out the issue is actually in org-mode itself. Specifically (I think this is the right conclusion), if org-insert-heading-respect-content is called non-interactively, and the heading on which it's operating is invisible, then it actually inserts the heading under the previous higher-level visible heading. Example: I have a testing org file, synced up to MobileOrg, containing in part: * Top level 2 ** Second level 3 *** Under second 3 ** Second level 4 On my phone, I added a new heading "Test node C" under the parent "Under second 3." Expected result of org-mobile-pull: * Top level 2 ** Second level 3 *** Under second 3 Test node C ** Second level 4 Actual result of org-mobile-pull: * Top level 2 ** Second level 3 *** Under second 3 ** Second level 4 ** Test node C ~~ Exhaustive findings from edebug sessions follow: The way it's supposed to work is: 1. Find the parent (in this case, by olp). 2. Go to the end of the line. 3. org-insert-heading-respect-content: This should locate the end of the third level subtree (which is the same as the beginning of "Second level 4"), and then insert a new third level heading "*** " here. 4. Then org-mobile-edit demotes the new subheading and inserts the content. But, if I do org-mobile-pull with all of the top-level headings collapsed, what actually happens is: 1. Find the parent (in this case, by olp). 2. Go to the end of the line. 3. org-insert-heading-respect-content: First shows the parent subtree (the code snip is from org-insert-heading): (t ;; somewhere in the line (save-excursion (setq previous-pos (point-at-bol)) (end-of-line) (setq hide-previous (outline-invisible-p))) (and org-insert-heading-respect-content (org-show-subtree)) (org-show-subtree) calls (org-end-of-subtree), and this identifies the right point. But, showing the subtree (at least in my installation) shows the node's payload and any child nodes, but *it does not show the heading itself*. Then a little bit later we get: (when (featurep 'org-inlinetask) (while (and (not (eobp)) (looking-at "\\(\\*+\\)[ \t]+") (>= (length (match-string 1)) org-inlinetask-min-level)) (org-end-of-subtree nil t))) I'm not using inline tasks, so this falls through to (org-end-of-subtree nil t). This call explicitly clears the INVISIBLE-OK flag... so, the end-of-subtree location that it identifies is the next visible heading**and NOT the right place (which is hidden). This is the next top-level heading (because we started with all the top headings collapsed). Then, continuing blindly on, a new top-level heading is added, then demoted, and the fourth level heading but I added on my phone has become a second-level heading. ** Note: org-end-of-subtree reads the wrong level of the "current" heading in this instance, I think because it does (org-back-to-heading invisible-ok). Since invisible-ok is false, this would go back to the previous heading that is exposed, which in my test is top-level. So it seems this particular call to org-end-of-subtree assumes that the correct parent node is visible at that moment, but this assumption is not necessarily valid during org-mobile-pull. I suppose it could be fixed by changing 'nil' to 't' but I have no idea if this would break something else. I'll leave that to the experts to decide. hjh
[O] Bug: org-insert-heading-respect-content inserts at the wrong level if target heading is invisible [7.9.2 (release_7.9.2-883-g6fb36e.dirty @ /home/dlm/share/org-mode.git/lisp/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I'm resending the issue that I reported the other day, now with a MCE. SHORT DESCRIPTION: Recent versions of MobileOrg for Android allow the user to create new headings under specific nodes. This creates an "addheading" edit, which is processed by finding the target parent node and then calling org-insert-heading-respect-content to make a new heading at the same level as the given parent. (Then that heading is demoted, and the content is inserted.) If the target heading is invisible at this time, org-insert-heading-respect-content looks upward to the target heading's parents, finding the closest one that is visible. Then it inserts the new heading at this level. That is, given a tree like this: * I ** A *** 1 ** B * II If we try to insert a new heading "2" under "A," we should get this (expected behavior): * I ** A *** 1 *** 2 ** B * II Instead, we get: * I ** A *** 1 ** B ** 2 * II If the user doesn't discover the mistake, the subtree structure is corrupted and it may be hard to untangle. Note: Several MobileOrg users have seen the same problem. This issue is not specific to my configuration. STEPS TO REPRODUCE: 1. Create a file "test.org" with the following content: * I ** A *** 1 ** B * II 2. Cycle global visibility so that all top level headings are folded. You should see this in the buffer. * I... * II 3. From the scratch buffer, execute the following. The second expression extracts the bare minimum function calls from org-mobile-apply and org-mobile-edit to illustrate the issue. (I spent a lot of time with edebug, and I'm certain this is the actual sequence of events.) (require 'org-mobile) (org-with-point-at (org-mobile-locate-entry "olp:test.org:I/A") (progn (end-of-line 1) (org-insert-heading-respect-content) (org-demote) (insert "2. This should be a third-level heading, but it isn't") ) ) 4. Go back to test.org and expand all headings. * I ** A *** 1 ** B ** 2. This should be a third-level heading, but it isn't * II FURTHER DETAILS: With edebug, I found that the problem within org-insert-heading is the use of org-end-of-subtree here: (when (featurep 'org-inlinetask) (while (and (not (eobp)) (looking-at "\\(\\*+\\)[ \t]+") (>= (length (match-string 1)) org-inlinetask-min-level)) (org-end-of-subtree nil t))) I tried changing this to (org-end-of-subtree t t) -- using the invisible-ok option -- but it didn't make a difference in the result. Alternately, the problem might be: (t ;; somewhere in the line (save-excursion (setq previous-pos (point-at-bol)) (end-of-line) (setq hide-previous (outline-invisible-p))) (and org-insert-heading-respect-content (org-show-subtree)) ... where org-show-subtree does not actually show the desired parent node. I think org-end-of-subtree expects the proper parent to be visible at that point, but for some reason, that isn't actually happening. Emacs : GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-22 on batsu, modified by Debian Package: Org-mode version 7.9.2 (release_7.9.2-883-g6fb36e.dirty @ /home/dlm/share/org-mode.git/lisp/) current state: == (setq org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-files '("~/Documents/mobileorg/semester.org" "~/Documents/mobileorg/agenda_main.org" "~/Documents/mobileorg/usconcert.org") org-agenda-window-setup 'current-window org-hide-leading-stars t org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-mobile-files '(org-agenda-files "~/Documents/mobileorg/test.org") org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-mobile-inbox-for-pull "~/Documents/mobileorg/from-mobile.org" org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-todo-keywords '((sequence "TODO" "MAYBE" "INPROG" "MTG" "|" "POSTPONED" "DONE")) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-directory "~/Documents/mobileorg" org-blank-before
[O] "Inheriting" timestamps
Not sure of the right terminology, but a reasonable description of what I'm hoping to do is to have some TODO items inherit their timestamp from a parent level. This is mainly for things that I need to do soon, but not on a specific day, and they might roll over to the next day (especially [#C] items). So I was thinking of something like: * Pending today <2012-02-21 Tue> ** TODO Something ** TODO Something else And then those items would appear for February 21 in the agenda day/week view. If I finish one of the tasks, I would move it under another heading (and its status would be DONE anyway, so it would disappear from the agenda). Then tomorrow, I would want to change the "Pending today" timestamp and the TODOs underneath would then show up for Wednesday in the agenda. If that isn't feasible, I'd be satisfied with an automatic way to change all the timestamps in subheadings underneath a given heading: put the Emacs cursor on the "Pending today" line, hit some keystroke, and all the dates change underneath. I have another question about Beamer too, but will put that in a separate e-mail. Thanks, James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Beamer export: upgrade problem, and basic questions
First, a kind of icky problem. I had some problems with the example presentation at [1] -- tags are exporting as bold text instead of being interpreted. \item[Thanks to Eric Fraga \textbf{:BMCOL:B\_block:}]\label{sec-1.1.1} I thought this was probably because of an old org version, so I downloaded org 7.8.03, checked paths in the Makefile, did "make" and "sudo make install." Now emacs shows org-version as 7.8.03, but C-c C-e p just gives me the message "org-export-preprocess-string: Cannot open load file: org-nil" -- Per this thread [2], I am looking for a variable called "backend-name" but it doesn't exist in my environment (C-h v backend-name ==> "no match"). I have no idea how to fix this. Now... Apologies in advance for what is surely a basic question. I've searched quite a bit online yesterday and today for a document about org-mode beamer export that goes a bit beyond the (very useful) "for dummies" tutorial at [3]. I am new to LaTeX. (*shame*) :-p Since reading this, I've downloaded the LaTeXe and beamer PDF manuals and learned: - It's going to take a while to learn to think like LaTeX. That's okay with me. - The key is thinking about structure rather than layout. Like, yesterday I wanted to center and boldface a paragraph. "Center" and "boldface" might not be the right terms. Better to figure out a structural unit appropriate for the material. (One challenge here is that the Beamer user's guide doesn't have much in the way of summary.) - If I'm going to influence the layout in anything more than a trivial way, I need to understand LaTeX environments. - Beamer class export documentation [1] is really dense. It would really help me to get some pointers on where to look first. I don't mind doing research, but it's a huge amount of documentation and I have no way right now to guess what's critical to read first, what's important and what I could leave for later. Thanks, James [1] http://orgmode.org/manual/Beamer-class-export.html#Beamer-class-export [2] http://permalink.gmane.org/gmane.emacs.orgmode/39788 [3] http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Beamer export: upgrade problem, and basic questions
At Tue, 21 Feb 2012 17:05:38 +0530, Jambunathan K wrote: > > James Harkins writes: > > > "org-export-preprocess-string: Cannot open load file: org-nil" -- > > Try one or both of > > (require 'org-latex) > (require 'org-beamer) Thank you! OK... closer. Now, all looks reasonable until: (/usr/share/texmf-texlive/tex/latex/float/float.sty Package: float 2001/11/08 v1.3d Float enhancements (AL) \c@float@type=\count155 \float@exts=\toks43 \float@box=\box56 \@float@everytoks=\toks44 \@floatcapt=\box57 ) ! LaTeX Error: File `wrapfig.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. l.15 \usepackage {soul}^^M *** (cannot \read from terminal in nonstop modes) Full log attached. Maybe I need to use bleeding edge LaTeX, not the (old) ubuntu 10.04 packages? hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2012.2.20) 21 FEB 2012 20:56 entering extended mode %&-line parsing enabled. **/home/dlm/Documents/xinghai/beamer-demo.tex (/home/dlm/Documents/xinghai/beamer-demo.tex LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. (/usr/share/texmf/tex/latex/beamer/base/beamer.cls (/usr/share/texmf/tex/latex/beamer/base/beamerbasercs.sty Package: beamerbasercs 2007/01/28 (rcs-revision 1.4) ) Document Class: beamer 2007/03/11 cvs version 3.07 A class for typesetting pres entations (rcs-revision 1.70) (/usr/share/texmf/tex/latex/beamer/base/beamerbasemodes.sty Package: beamerbasemodes 2007/01/28 (rcs-revision 1.22) \beamer@tempbox=\box26 \beamer@tempcount=\count79 \c@beamerpauses=\count80 (/usr/share/texmf/tex/latex/beamer/base/beamerbasedecode.sty Package: beamerbasedecode 2007/01/28 (rcs-revision 1.20) \beamer@slideinframe=\count81 \beamer@minimum=\count82 ) \beamer@commentbox=\box27 \beamer@modecount=\count83 ) \headheight=\dimen102 \headdp=\dimen103 \footheight=\dimen104 \sidebarheight=\dimen105 \beamer@tempdim=\dimen106 \beamer@finalheight=\dimen107 \beamer@animht=\dimen108 \beamer@animdp=\dimen109 \beamer@animwd=\dimen110 \beamer@leftmargin=\dimen111 \beamer@rightmargin=\dimen112 \beamer@leftsidebar=\dimen113 \beamer@rightsidebar=\dimen114 \beamer@boxsize=\dimen115 \beamer@vboxoffset=\dimen116 \beamer@descdefault=\dimen117 \beamer@descriptionwidth=\dimen118 \beamer@lastskip=\skip41 \beamer@areabox=\box28 \beamer@animcurrent=\box29 \beamer@animshowbox=\box30 \beamer@sectionbox=\box31 \beamer@logobox=\box32 \beamer@linebox=\box33 \beamer@sectioncount=\count84 \beamer@subsubsectionmax=\count85 \beamer@subsectionmax=\count86 \beamer@sectionmax=\count87 \beamer@totalheads=\count88 \beamer@headcounter=\count89 \beamer@partstartpage=\count90 \beamer@sectionstartpage=\count91 \beamer@subsectionstartpage=\count92 \beamer@animationtempa=\count93 \beamer@animationtempb=\count94 \beamer@xpos=\count95 \beamer@ypos=\count96 \beamer@showpartnumber=\count97 \beamer@currentsubsection=\count98 \beamer@coveringdepth=\count99 \beamer@sectionadjust=\count100 \beamer@tocsectionnumber=\count101 (/usr/share/texmf/tex/latex/beamer/base/beamerbaseoptions.sty Package: beamerbaseoptions 2007/01/28 (rcs-revision 1.8) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 )) (/usr/share/texmf/tex/latex/pgf/basiclayer/pgfcore.sty (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (/etc/texmf/tex/latex/config/graphics.cfg File: graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live ) Package graphics Info: Driver file: pdftex.def on input line 91. (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def File: pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX \Gread@gobject=\count102 )) \Gin@req@height=\dimen119 \Gin@req@width=\dimen120 ) (/usr/share/texmf/tex/latex/pgf/systemlayer/pgfsys.sty (/usr/share/texmf/tex/latex/pgf/utilities/pgfrcs.sty (/usr/share/texmf/tex/generic/pgf/utilities/pgfutil-common.tex \pgfutil@everybye=\toks15 ) (/usr/share/texmf/tex/generic/pgf/utilities/pgfutil-latex.def) (/usr/share/texmf/tex/generic/pgf/utilities/pgfrcs.code.tex Package: pgfrcs 2008/02/20 v2.00 (rcs-revision 1.21) )) (/usr/share/texmf/tex/ge
Re: [O] Beamer export: upgrade problem, and basic questions
At Tue, 21 Feb 2012 09:39:27 -0500, Nick Dokos wrote: > Both soul.sty and wrapfig.sty are in the package texlive-latex-extra, > so you just need to install that: > > sudo apt-get install texlive-latex-extra Ah, thanks. Some progress, but still: ! LaTeX Error: File `marvosym.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. l.18 \usepackage {wasysym}^^M ! ==> Fatal error occurred, no output PDF file produced! Does anyone have a comprehensive list of all ubuntu packages that are required for beamer to work with org 7.8.03? hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Beamer export: upgrade problem, and basic questions
At Tue, 21 Feb 2012 10:21:51 -0500, Nick Dokos wrote: > > Does anyone have a comprehensive list of all ubuntu packages that are > > required for beamer to work with org 7.8.03? > > > > Check > > http://orgmode.org/worg/org-dependencies.html > > It's out of date, but maybe it's still useful. :) Actually I already had all the mentioned packages installed. Fortunately "wasysym" is in the description of ubuntu's texlive-fonts-recommended package, so I found it that way. And... success! So, at least texlive-fonts-recommended should be added to the dependencies page. I haven't checked for tex* packages that I installed but which aren't on that page. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Beamer confusion: environments are ignored
Still having Beamer problems. C-c C-e p is making the PDF at the end, but it's ignoring structural tags except for lists. I've pasted a simple example under my name. In the resulting .tex file, the code for both frames is identical, except for "sec" labels. The second frame contains Beamer environment properties while the first frame does not, so it looks like the block environments are not doing anything. For that matter, I just checked the tex file generated by Carsten's demo presentation in the org manual, and there's no evidence of the blocks at all. The only TeX environments that appear with \begin are {document}, {frame} and {itemize} -- but Carsten's demo uses: :PROPERTIES: :BEAMER_env: block :BEAMER_envargs: C[t] :BEAMER_col: 0.5 :END: ... :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :BEAMER_envargs: <2-> :END: ... :PROPERTIES: :BEAMER_env: block :END: ... and a :B_note: tag, which claims it "will be formatted as a beamer note" but it isn't. For my own short file, I would have assumed that I did something wrong, but that's less plausible for example code from the manual. So I suppose it must be an installation or configuration problem. Ideas? Tonight's experimentation is driven by the simple use case I mentioned before -- centering a paragraph (and eventually putting some extra space around it, but I can handle that later). E.g., - A bullet heading within the frame A free paragraph Centered text - Another bullet Am I on the right track by looking at blocks? Could somebody give me a quick example of how to do this, and I'll try to extrapolate to other uses? Thanks, James #+TITLE: beamer-blocks.org #+AUTHOR:dlm #+EMAIL: dlm@dlm-laptop #+DATE: 2012-02-22 Wed #+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 #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [bigger] #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) * A section ** A frame *** An item Some text, which I hope will become a block *** Another item Other text ** A second frame *** An item:B_alertblock: :PROPERTIES: :BEAMER_env: alertblock :END: Some text, which I hope will become a block *** Another item :B_normal: :PROPERTIES: :BEAMER_env: normal :END: Other text -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Beamer confusion: environments are ignored
(Sorry for breaking the thread -- I'm using the digest. Come to think of it, I was wondering -- how do other digest readers participate in discussions without messing up the thread IDs? Use a news reader, or...? Nabble?) Sebastien Vauban wrote: > For horizontal centering, a workaround (or simply a solution) can be something > like: > > #+LaTeX: \begin{center} > #+ATTR_LaTeX: width=0.75\linewidth > [[~/Pictures/Dock.jpg]] > #+LaTeX: \end{center} > > Best regards, > Seb Thanks. After reading the Beamer user's guide, this will get me pretty much where I need to go. Still, though, if there is nothing wrong with Carsten's example presentation and it renders incorrectly, then I suppose it's a bug. Shall I file a bug report? There is a reproducer here: http://article.gmane.org/gmane.emacs.orgmode/52631 Can someone confirm? Bug or not? hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Beamer confusion: environments are ignored
At Fri, 24 Feb 2012 09:34:11 +0800, James Harkins wrote: > Still, though, if there is nothing wrong with Carsten's example presentation > and it renders incorrectly, then I suppose it's a bug. > > Shall I file a bug report? There is a reproducer here: > > http://article.gmane.org/gmane.emacs.orgmode/52631 > > Can someone confirm? Bug or not? Progress. Following instructions to prepare for a bug report, I tried a minimal-org set up and suddenly the blocks render as expected. Then I realized... the older org version that I started with (the one bundled with Emacs) didn't include a beamer class for LaTeX export, so I copied a definition for it from somewhere online and put it in ~/.emacs. Next test: Remove the customization of org-export-latex-classes and try again... and the blocks behave correctly. So, no bug. Sorry for noise. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] BEAMER_FRAME_LEVEL + subtree export
Getting deeper into beamer export and enjoying it -- props to the responsible developers. A point of fine print that escaped me in the available documentation -- maybe I just overlooked, but probably this is something that should be clarified. When doing a buffer export, #+BEAMER_FRAME_LEVEL refers to the absolute subheading level: 2 == **, 3 = *** etc. For a subtree export, you need to subtract the level of the subtree being exported. #+BEAMER_FRAME_LEVEL: 2 #+TITLE: Show #1 #+AUTHOR:dlm #+EMAIL: dlm@dlm-laptop #+DATE: 2012-02-26 Sun * Presentation 1 ** Section 1 *** Frame 1 Some text *** Frame 2 More text At first I thought I would need to set the frame level to 3 (because "*** Frame 1"), but it needs to be 2 for a subtree export originating from "Presentation 1" because the frames are two levels underneath the top level. I can easily imagine that the frame level is documented as relative to the subtree being exported -- just pointing out that this is an easy place to get confused and probably would benefit from stating explicitly. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] [beamer] When are :BEAMER_envargs: used or ignored?
According to the online documentation [1], it seems that :BEAMER_envargs: should apply to all Beamer environments: ~~~ BEAMER_envargs The beamer-special arguments that should be used for the environment, like [t] or [<+->] of <2-3>. If the BEAMER_col property is also set, something like C[t] can be added here as well to set an options argument for the implied columns environment. c[t] or c<2-> will set an options for the implied column environment. ~~~ This does work in the example presentation at [1], but it seems only for B_block entries. I was trying to use B_beamercolorbox, where presumably the color selections (fg=, bg=) should be environment arguments, but this is ignored. What's more, if I take the colors out of the color box's envargs and replace it with another argument syntax -- <2-> -- that definitely works with B_block, this is also ignored. So it seems, if you wanted to have a colorbox appear in a later overlay, you would be screwed (would have to write the LaTeX by hand). A bit confused. Or, the simple question -- how do you set the colors of a color box in Beamer export? Oh, wait, I just figured it out... though you would have to admit, this is not remotely obvious. ** Frame 2 \\ where we will not use columns #+LaTeX: \setbeamercolor{ybg}{bg=yellow} *** ybg:B_beamercolorbox: Please test this stuff! :PROPERTIES: :BEAMER_env: beamercolorbox :END: It kind of strikes me like an epic hack: you have to name the headline after the Beamer color ID, instead of naming the headline after the content... not very /org/anized. Worth a bug report or feature request? hjh [1] http://orgmode.org/manual/Beamer-class-export.html -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Agenda custom command problems
Hi, Two questions about agenda custom commands. 1. I've defined a few custom agenda commands, but the only one that actually appears in the agenda dispatcher is 'z'. If I open Emacs and immediately C-h v org-agenda-custom-commands, it says: Its value is (("z" tags-todo "-ExamFdbk")) But... The following block is one of the arguments to custom-set-variables in my ~/.emacs. I used the customize interface to create the custom commands. '(org-agenda-custom-commands (quote (("z" tags-todo "-ExamFdbk" nil) ("1" "Course-related TODOs" tags-todo "+AudioClass|Lesson|MyConcert|Workshop11&-Wk11plugs-Wk11Docs" nil) ("2" "Spring semester TODOs" tags-todo "-Wk11plugs-Wk11Docs" ((org-agenda-files (quote ("~/Documents/xinghai/11-12-spring/semester-spr.org"))) (org-agenda-sorting-strategy (quote (time-up If I manually execute the entire custom-set-variables block, after that, C-h v shows the complete value. Quite funny... it's all there, but Emacs doesn't process it during startup...? I've never seen that before with any other customize variable. All the other customize variables are set correctly. Any ideas how to fix? 2. I would like command "2" to show a subset of the TODOs (based on tags) in one given file, sorted in order of time stamp. Everything is working except the sorting: (org-agenda-sorting-strategy '(time-up)) is so far not having any effect. The TODOs appear in the order of appearance in the file. I need time stamp order to see at a glance what I need to do today vs tomorrow, etc. ("2" "Spring semester TODOs" tags-todo "-Wk11plugs-Wk11Docs" ((org-agenda-files '("~/Documents/xinghai/11-12-spring/semester-spr.org")) (org-agenda-sorting-strategy '(time-up How to make the sorting strategy apply to a tags-todo search? (Sorry if these are boring questions... I'm not as deep into org as people who are contributing emacs-lisp on list :) These are just things that seem like they should be working, according to the documentation, but they aren't.) hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Bug report: weekly agenda and blank, timestamped headers
If an org file on the agenda list contains a header that is blank but for a date/timestamp, the weekly agenda command will fail. The resulting agenda buffer will be of type nil and contain only date headers.
[O] Bug report: weekly agenda and blank, timestamped headers
If an org file on the agenda list contains a header that is blank but for a date/timestamp, the weekly agenda command will fail. The resulting agenda buffer will be of type nil and contain only date headers.
Re: [O] Agenda custom command problems
At Mon, 27 Feb 2012 18:45:05 +0800, James Harkins wrote: > > Hi, > > Two questions about agenda custom commands. Hi, Any ideas on these? Short versions of the questions: 1. Why does Emacs ignore 2 out of 3 agenda custom commands, which I defined through the customize interface and appear in correct syntax in my ~/.emacs? 2. Why does (org-agenda-sorting-strategy (quote (time-up))) have no effect in a tags-todo search? James Details, for context: > 1. I've defined a few custom agenda commands, but the only one that actually > appears in the agenda dispatcher is 'z'. If I open Emacs and immediately C-h > v org-agenda-custom-commands, it says: > > Its value is > (("z" tags-todo "-ExamFdbk")) > > But... The following block is one of the arguments to custom-set-variables in > my ~/.emacs. I used the customize interface to create the custom commands. > > '(org-agenda-custom-commands (quote (("z" tags-todo "-ExamFdbk" nil) ("1" > "Course-related TODOs" tags-todo > "+AudioClass|Lesson|MyConcert|Workshop11&-Wk11plugs-Wk11Docs" nil) ("2" > "Spring semester TODOs" tags-todo "-Wk11plugs-Wk11Docs" ((org-agenda-files > (quote ("~/Documents/xinghai/11-12-spring/semester-spr.org"))) > (org-agenda-sorting-strategy (quote (time-up > > If I manually execute the entire custom-set-variables block, after that, C-h > v shows the complete value. > > Quite funny... it's all there, but Emacs doesn't process it during > startup...? I've never seen that before with any other customize variable. > All the other customize variables are set correctly. > > Any ideas how to fix? > > 2. I would like command "2" to show a subset of the TODOs (based on tags) in > one given file, sorted in order of time stamp. Everything is working except > the sorting: (org-agenda-sorting-strategy '(time-up)) is so far not having > any effect. The TODOs appear in the order of appearance in the file. > > I need time stamp order to see at a glance what I need to do today vs > tomorrow, etc. > > ("2" "Spring semester TODOs" tags-todo "-Wk11plugs-Wk11Docs" > ((org-agenda-files > '("~/Documents/xinghai/11-12-spring/semester-spr.org")) >(org-agenda-sorting-strategy > '(time-up > > How to make the sorting strategy apply to a tags-todo search? > > (Sorry if these are boring questions... I'm not as deep into org as people > who are contributing emacs-lisp on list :) These are just things that seem > like they should be working, according to the documentation, but they aren't.) -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
Re: [O] Agenda custom command problems
At Wed, 29 Feb 2012 17:22:34 +0800, James Harkins wrote: > 1. Why does Emacs ignore 2 out of 3 agenda custom commands, which I defined > through the customize interface and appear in correct syntax in my ~/.emacs? > > 2. Why does (org-agenda-sorting-strategy (quote (time-up))) have no effect in > a tags-todo search? Question #1 has a stupid answer. I had forgotten to remove another setq for org-agenda-custom commands later in my .emacs -- so this one is solved now. Question #2 is open. Is there any way at all to change the sorting of a to-do list? > > 2. I would like command "2" to show a subset of the TODOs (based on tags) > > in one given file, sorted in order of time stamp. Everything is working > > except the sorting: (org-agenda-sorting-strategy '(time-up)) is so far not > > having any effect. The TODOs appear in the order of appearance in the file. > > > > I need time stamp order to see at a glance what I need to do today vs > > tomorrow, etc. > > > > ("2" "Spring semester TODOs" tags-todo "-Wk11plugs-Wk11Docs" > > ((org-agenda-files > > '("~/Documents/xinghai/11-12-spring/semester-spr.org")) > >(org-agenda-sorting-strategy > > '(time-up James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Agenda TODO sorting by date
I'm still poking around, trying to figure out how to sort my TODO tag search the way that I want. Initially I thought org-agenda-sorting-strategy would do it, but only just found the variable's documentation: "Sorting structure for the agenda items of a single day." Since I want to sort the TODO entries *by day* (across multiple days), obviously this won't do it. So I still have the question. Given this (omitting tags): * Audio Class ** Audio session 03 *** TODO Write next week's assignment <2012-03-04> * Lessons ** Audio 2010 *** TODO Listen and critique <2012-03-03> ** TODO (something else, not time stamped) How do I get a tags-search (to-do only) like this? *** TODO Listen and critique <2012-03-03> *** TODO Write next week's assignment <2012-03-04> ** TODO (something else, not time stamped) Currently, I get *** TODO Write next week's assignment <2012-03-04> *** TODO Listen and critique <2012-03-03> *** TODO (something else, not time stamped) because that's the order in which they appear in the file. So I have to scan the whole list to find what's for today, what's for tomorrow etc. I keep thinking, orgmode can already practically make me a grilled cheese sandwich, so there must be a way to do this. Just can't find it. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks