Re: [Orgmode] something odd with org-remember-mode and kill-ring-save
On Dec 5, 2009, at 3:40 PM, Good Bad wrote: I made a wrapped version of org-remember-kill which saves the remember content to the kill ring and then calls the original org- remember-kill. It works as I expect in most cases but not always. First, the relevant elisp code is: (define-key global-map "\C-cr" 'org-remember) (defun org-remember-kill-my () (interactive) (unless org-remember-mode (error "This does not seem to be a remember buffer for Org-mode")) (let ((beg (point-min)) (case-fold-search t)) (beginning-of-buffer) (search-forward-regexp "^* " nil t) (setq beg (or (match-end 0) beg)) (goto-char (point-max)) (skip-chars-backward " \n\r\t") (copy-region-as-kill beg (point)) ) (org-remember-kill)) (eval-after-load "org-remember" '(define-key org-remember-mode-map (kbd "C-c r") 'org-remember- kill-my)) (eval-after-load "org-remember" '(define-key org-remember-mode-map (kbd "C-c C-k") 'org-remember- kill-my)) When I bring up remember window and then writes "one two three" (without quotes), and kills one word (by pressing , which calls backward-kill- word) and press C-c C-k or C-c r (which calls the wrapper org-remember-kill-my, then the saved content is not "one two ", it's "threeone two". The odd thing doesn't happen if I call my wrapper function with M-x, or if I move my cursor after and before pressing C-c C-k or C-c r. It's as if the append-next-kill command is being called somewhere. How should I fix my wrapper? Set last-command to something that is not a kill command. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Feature request: org-export-format-source-code-or-example and srcname
Hi Hi, when using the listings LaTeX package, it would be very useful if the value of srcname was added to the output. For instance, #+srcname: my_code_chunk #+begin_src latex :results latex :exports code :tangle no \usepackage{fontspec,xunicode,xltxtra} #+end_src would give: \lstset{language=TeX}[caption={my\_code\_chunk}] \begin{lstlisting} \usepackage{fontspec,xunicode,xltxtra} \end{lstlisting} (note the added "[caption={my\_code\_chunk}]") Cheers, Nicolas Is there anyone besides Nicolas what would like to see the source name in the exported listing? Is that something that should be done in org-babel, or in the normal export stuff? - Carsten On Dec 2, 2009, at 6:41 PM, Nicolas Girard wrote: ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Html and unreadable characters
On Dec 1, 2009, at 1:03 PM, andrea wrote: Sebastian writes: It seems you use a dark background color in emacs? If so, just adjust the CSS style `background-color' for your tags like this: pre, code.pre { background-color:black; /* or #33 ... */ /* ... more styles here ... */ } Yes I am using a dark background, but normally I don't want to see html output with a dark background. I'd just like that the colors gets updated to a light color theme, is that possible? By the way how do I insert css properties? I found in 12.6.7 the #+STYLE and the various things I can set, but not where to insert them. Simply pasting that in an org buffer and exporting to html doesn't work... Hi Andrea, I am having trouble understanding what exactly you have tried and what not. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Shift keys when you have multiple todo sets in one file
Hi, From the docs: "S-<> and S-<> and walk through all keywords from all sets" What I would /really/ like is for S-<> and S-<> to _stay_ within the same set, with me using C-S-<> (or right) to _switch_ to another set. What I have (so far) on the top of the file is: #+TODO: TODO | DONE #+TODO: WAITING | DONE The reason I kept it as separate sets is that I anticipate WAITING to be infrequent compared to TODO. So I don't want to put TODO and WAITING in the same set. I think there's another (more standard) way of setting the TODO state (I forget the shortcut), but for me the S-Left/Right is really, really convenient. And incidentally, the S-Left/Right doesn't seem to do as advertised. It jumps from one set to the other only once (haven't tested with 3 sets). Mueen ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Question about searches (ultimately for agenda)
On 12/16/09 03:37, Carsten Dominik wrote: This is what skip conditions are for. Here is an entry for org-agenda-custom-commands which does this for the specific "Jack" example: ("X" "Tags match ignoring done stuff" tags "Jack" ((org-agenda-skip-function '(and (org-entry-is-done-p) (outline-next-heading) (point) Almost. It worked if I exclude (outline-next-heading). Was there a reason you had that? Also, I'm pretty weak with Emacs Lisp. What does (point) do? Google's no help (obviously). If you want to be prompted for the tags match, leave the match element empty (empty string). But do that only after you next upgrade from the git repo, because there was a bug related to prompting. Thanks. I'll wait till the next version, and then add the config in - no rush! Mueen ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Can embed css stylesheet directly?
Carsten Dominik writes: > Whay don't you just try? > > The answer is yes, you need to surround the text by > OK. I will try it. Thanks Water Lin > - Carsten > On Dec 16, 2009, at 3:10 AM, Water Lin wrote: > >> >> I use org-mode to build my note sites. For some reason, I don't want >> to >> create a seperately css stylesheet which is linked by something like >> following in my org-publish-project-alist: >> - >> :style "> href=\"../common/stylesheet.css\" type=\"text/css\"/>" >> - >> >> Can I insert the css stylesheet here directly rather than using a css >> file? >> >> Thanks >> >> Water lin >> >> -- >> Water Lin's notes and pencils: http://en.waterlin.org >> Email: water...@ymail.com >> __ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com >> >> >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > - Carsten > > > > -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [babel] Tiny "problems"
Sébastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >> Sébastien Vauban writes: [...] >>> - *after* =C-c '= forth and back, all the blank lines in my source block (in >>> my example, the one between "SET NOCOUNT ON" and "SELECT TOP 10") are >>> filled >>> with an amount of whitespaces (and, in my Emacs config, highlighted as >>> useless spaces). >>> >>> - the condition block is not indented properly in the tangled output file; >>> only the first line is: >>> >> >> Maybe the above two issues could be fixed by setting the >> `org-src-preserve-indentation' variable's value to t. Since I only need this >> in some org-mode buffers I set it as a buffer local variable by placing a >> line like the following at the top of these buffers. >> >> # -*- org-src-preserve-indentation: t -*- >> >> again this should/will be in the documentation somewhere... > > That's not it (already tried before posting). That variable, when set, makes > Org removes the minimum common number of whitespaces. > > That does not fix the problem of useless whitespaces in blank lines, and has > no impact on the indentation of tangled blocks: > Hi Seb, I misunderstood your indentation issue earlier. Currently I don't think we support indentation to the level of the noweb reference in the original source-code block. At first glance that does however seem to be a better default behavior. I'll look into this. As a work-around you may want to try the attached version of your file seb.org Description: Binary data which results in this following sql file CP111.sql Description: Binary data Best -- Eric ___ 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: Incorrect escaping of braces on LaTeX export [6.33trans (release_6.33f.122.g7062a.dirty)]
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. While attempting to generate some notes for a class I give I ran into an error in the generated latex file. I use memoir for my notes since this package gives me the particular formatting I like without any hassle so I created an org-export-latex-class to make use of it. Since my boilerplate for my notes includes a number of lines after the \begin{document} line I have added these to #+TEXT entries in the org file. I use the memoir titlingpage facility as it gives me the control and look I want without a lot of code. However, this causes a problem with org export since the \maketitle line must be inside a titlingpage environment. To accomplish this I have set the #+TITLE: directive to an empty value and put the entire titlingpage environment (3 lines) in #+TEXT lines. I have included a simple ErrorSample latex class in my configuration which demonstrates the problem without as much being generated. A sample org file looks like this: --- #+TITLE: #+OPTIONS: toc:nil #+LaTeX_CLASS: ErrorSample #+TEXT: \title{ABC Class Notes} #+TEXT: \begin{titlingpage} #+TEXT: \maketitle #+TEXT: \end{titlingpage} #+TEXT: \maxtocdepth{subsection} #+TEXT: \pagenumbering{roman} #+TEXT: \cleartooddpage #+TEXT: \tableofcontents #+TEXT: \cleartooddpage #+TEXT: \chapterstyle{companion} #+TEXT: \pagestyle{companion} #+TEXT: \aliaspagestyle{part}{companion} #+TEXT: \aliaspagestyle{chapter}{headings} #+TEXT: \aliaspagestyle{cleared}{companion} #+TEXT: \include{Preface} #+TEXT: \pagenumbering{arabic} * Simple First Heading Some text. * Simple Second Heading Other text. --- The generated tex file is shown next. Notice the escaped closing brace on the \title{} instruction: --- % Created 2009-12-16 Wed 15:54 \documentclass[letter,twoside,openright]{memoir} \usepackage{varioref} \usepackage{shorttoc} \usepackage{color} \usepackage{graphicx} \usepackage{bbding} \setlength{\parindent}{0pt} \setlength{\parskip}{1ex} \title{} \author{Mark Elston} \date{16 December 2009} \begin{document} \title{ABC Class Notes\} \begin{titlingpage} \maketitle \end{titlingpage} \maxtocdepth{subsection} \pagenumbering{roman} \cleartooddpage \tableofcontents \cleartooddpage \chapterstyle{companion} \pagestyle{companion} \aliaspagestyle{part}{companion} \aliaspagestyle{chapter}{headings} \aliaspagestyle{cleared}{companion} \include{Preface} \pagenumbering{arabic} \chapter{Simple First Heading} \label{sec-1} Some text. \chapter{Simple Second Heading} \label{sec-2} Other text. \end{document} --- Emacs : GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002) of 2009-07-29 on SOFT-MJASON Package: Org-mode version 6.33trans (release_6.33f.122.g7062a.dirty) current state: == (setq org-log-done 'time org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-agenda-custom-commands '(("S" "Schedule for the week" ((agenda "") (todo "TODO" org-agenda-files '("~/org") org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent org-block-todo-from-checkboxes) org-list-demote-modify-bullet '(("-" . "+") ("+" . "-")) org-fontify-whole-heading-line t org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-skip-timestamp-if-done t org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-interpreters '("R" "asymptote" "dot" "ditaa" "python" "sh" "emacs-lisp") org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-protocol-protocol-alist '(("Fireforg get bibtex entry: fireforg-bibtex-entry://" :protocol "fireforg-bibtex-entry" :function org-fireforg-receive-bibtex-entry) ("Fireforg show annotation: fireforg-show-annotation:///" :protocol "fireforg-show-annotation" :function org-fireforg-show-annotation) ) org-agenda-skip-scheduled-if-done t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(yas/org-very-safe-expand org-babel-hide-result-toggle-maybe org-hide-block-toggle-maybe) org-src-mode-hook '(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-agenda-before-write-hook '(org-agenda-add-entry-text) org-directory "~/org/" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
Re: [Orgmode] Re: Add \EUR to `org-html-entities'
On Dec 17, 2009, at 12:25 AM, Nick Dokos wrote: Carsten Dominik wrote: ... Nick, are you still thinking about documenting package dependencies for LaTeX export? This would be one. Yes - it's on the infinite todo list to be done over the break. But it is near the beginning, so I just *might* get it done... Near the beginning, I just *love* that. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] problem with export of verbatim code
Hi Eric, thanks for the bug report, this is now fixed. - Carsten On Dec 2, 2009, at 10:38 AM, Eric S Fraga wrote: Hello, the attached files illustrate a bug in the export of verbatim code to LaTeX that replaces a sequence of [[x]] with [[section-label][x]]. Actually, this happens when exporting to html as well so it may be a generic problem. An example is attached including the org and latex files. Note that I cannot easily fix the verbatim code to work around this bug as this code is automatically generated using babel (with my own maxima plugin). Thanks, eric < examplebug .org>___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Add \EUR to `org-html-entities'
Carsten Dominik wrote: > ... > > Nick, are you still thinking about documenting package > dependencies for LaTeX export? This would be one. > Yes - it's on the infinite todo list to be done over the break. But it is near the beginning, so I just *might* get it done... Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Add \EUR to `org-html-entities'
Hi Ulf, I have added your symbols. Nick, are you still thinking about documenting package dependencies for LaTeX export? This would be one. - Carsten On Dec 3, 2009, at 4:42 PM, Ulf Stegemann wrote: Hi Carsten, Carsten Dominik wrote: On Dec 2, 2009, at 8:38 AM, Ulf Stegemann wrote: is there anything that speaks against adding --8<--snip-->8--- ("EUR" . "€") --8<--snap-->8--- to `org-html-entities'? \EUR{} is provided by the Marvosym package and € a valid (X)HTML representation of the euro sign. Maybe ever better would be to add I would like to minimize external dependencies. well, that's something that speaks against it :) Which distributions carry this package? Marvosym comes with my TeX Live LaTeX distro and used to come with teTeX AFAIR. I had the impression the package was rather widely used but I maybe wrong. ("EURdig" . "€") ("EURhv" . "€") ("EURcr" . "€") ("EURtm" . "€") I do not understand the purpose of these extra symbols, and why they are all equal in HTML While \EUR becomes the `official' euro symbol, \EURdig is a variant of that with the same width as digits, \EURhv is a euro symbol that fits to Helvetica, \EURcr dto. to Courier and \EURtm dto. to Times. This makes a difference in LaTeX but is all the same in HTML: €. Anyway, adding those symbols is not strictly necessary since everybody can use the eurosym package (where \euro{} command comes from). I like the Marvosym package better but I can also stick to what I currently do: #+LATEX_HEADER: \newcommand{\euro}{\EUR} Ulf ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Obscure Bug with HTML Export if Directory Starts with an Underscore
Hi Ian, thank you for your report. This has nothing to do with the directory starting with an underscore. What is happening here is that Org-mode uses the first line in the buffer, "-" in your case as the title of the document since no other title is defined. Of course, the body-only export then discards the "title", and you end up without your first line. You could fix this with a dummy #+TITLE: line, or by putting anything at all in a earlier line, even above #+STARTUP, or by setting the :title option in your publishing setup. Another way would be #+STARTUP: showall indent #+STARTUP: hidestars #+OPTIONS: H:2 num:nil tags:nil toc:1 timestamps:t #+TITLE: ADSL Connection Problems. #+BEGIN_HTML --- layout: post title: {{{title}}} tags: [gadgets, linux, test] excerpt: Problems, problems! --- #+END_HTML Main text of post goes here. i.e using the {{{title}}} macro to insert the title into the right place while having #+TITLE around to stop Org from grabbing the first line. One could also question if it makes sense to grab the title from the buffer if body-only is set, and I have now changed it so that in this case it will *not* take the title from buffer text. Hope something here will help you - these are murky waters. - Carsten On Dec 2, 2009, at 12:44 PM, Ian Barton wrote: As part of my attempt to get org to play nicely with Jekyll, I think I have found a problem with html export. My org directory structure looks like: org| --|mountaineering --|cycling --|_posts Basically org files for blog posts go into posts. My org files look like: #+STARTUP: showall indent #+STARTUP: hidestars #+OPTIONS: H:2 num:nil tags:nil toc:1 timestamps:t #+BEGIN_HTML --- layout: post title: ADSL Connection Problems. tags: [gadgets, linux, test] excerpt: Problems, problems! --- #+END_HTML Main text of post goes here. I am just exporting the body text (see below for my config). Carsten recently updated org to remove leading line feeds at the top of the exported file. So my exported file looks like: --- layout: post title: ADSL Connection Problems. tags: [gadgets, linux, test] excerpt: Problems, problems! --- However, if the directory the file is exported from starts with an underscore e.g. _posts, The exporter removes the first ---. I have a workaround - put two lines with --- at the top of the file. I am using the current git checkout of org. My project a list looks like: (setq org-publish-project-alist '( ("org-ianbarton" ;; Path to your org files. :base-directory "~/devel/ianbarton/org/" :base-extension "org" ;; Path to your Jekyll project. :publishing-directory "~/devel/ianbarton/jekyll/" :recursive t :publishing-function org-publish-org-to-html :headline-levels 4 :html-extension "html" :body-only t ;; Only export section between ) ("org-static-ian" :base-directory "~/devel/ianbarton/org/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\| ogg\\|swf\\|php" :publishing-directory "~/devel/ianbarton/" :recursive t :publishing-function org-publish-attachment) ("ian" :components ("org-ianbarton" "org-static-ian")) )) Ian. ___ 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] Re: [LaTeX-Export] Longtable and Caption
On Dec 3, 2009, at 4:22 PM, Ulf Stegemann wrote: Hi Carsten, Carsten Dominik wrote: it was my understanding that the caption command in longtable is different from the caption command in normal tables, in that it is a line that is printed over the table on each page - so I thought it always needs to be there. Is that not correct? yes, treatment is different but nevertheless the caption is not mandatory for longtable. I never had any problems with longtable tables without \caption{}. Hi Ulf, sorry for being so slow to process this request. I believe this works now as you requested, please verify. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] footnote: org >> latex
Org-mode source file: > - OSD[fn:OSD] > - OSD[fn:OSD] ... >[fn:OSD] OSD: "open source definition" Resulting PDF: > • OSD¹ > • OSD$^1$ ... >--- > ¹OSD: "open source de nition" What I want is to be able to have multiple footnotes leading to the same reference. I tried to do footnotes with different syntaxes but I could not manage to get it. Example: Open source is defined by the OSD¹. The OSD¹ definition is written in the form of guidelines. The GPL² plays an important role talking about licensing. ¹ OSD: "open source definition" ² GPL: "General Public License" Am I using the wrong syntax or is it a bug? Any idea how to fix it? Greetings from Austria, Eraldo ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Agenda repeats diary entries
On Mon, Dec 14, 2009 at 1:52 PM, Nathan Neff wrote: > Hello, > > I'm using org-agenda-diary-file. > > When I run agenda-mode with the attached configuration, > I see the same diary entry under each day. > > Here's what my agenda shows. Notice that the entry > from Dec. 08 shows up on Dec. 14's and Dec. 15's agenda. > Also, "2009" and "2009-12-December" headers > repeated under each day. > > Monday 14 December 2009 W51 > Diary: 2009 > Diary: 2009-12 December > Diary: * 2009-12-08 Tuesday > Diary: ** Something else. > Diary: <2009-12-08 Tue> > Tuesday15 December 2009 > Diary: 2009 > Diary: 2009-12 December > Diary: * 2009-12-08 Tuesday > Diary: ** Something else. > Diary: <2009-12-08 Tue> > > Here's the contents of my diary file "journal.org" > * 2009 > ** 2009-12 December > *** 2009-12-08 Tuesday > Something else. > <2009-12-08 Tue> > > I've tried to include the bare-minimum in my .emacs file, > and I can provide it if necessary. I'm submitting this > using M-x org-submit-bug-report, so hopefully, all necessary > info is included. > > Thanks for any suggestions, > > --Nate > > > > > mode > Emacs : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) > of 2009-09-27 on crested, modified by Debian > Package: Org-mode version 6.33trans (release_6.33f.113.ga3b7) > > current state: > == > (setq > org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) > org-agenda-files '("~/tmp/temp-org-dir/temp.org") > org-agenda-include-diary t > org-after-todo-state-change-hook '(org-clock-out-if-current) > org-export-latex-format-toc-function 'org-export-latex-format-toc-default > org-export-preprocess-hook '(org-export-blocks-preprocess) > org-agenda-diary-file "~/Documents/journal.org" > org-tab-first-hook '(org-hide-block-toggle-maybe) > org-src-mode-hook '(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-agenda-before-write-hook '(org-agenda-add-entry-text) > org-directory "~/tmp/temp-org-dir" > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers > org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-mode-hook '(#[nil "\300\301\302\303\304$\207" >[org-add-hook change-major-mode-hook org-show-block-all > append local] >5] > ) > org-confirm-elisp-link-function 'yes-or-no-p > org-occur-hook '(org-first-headline-recenter) > org-export-preprocess-before-selecting-backend-code-hook > '(org-beamer-select-beamer-code) > org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc >org-beamer-auto-fragile-frames >org-beamer-place-default-actions-for-lists) > ) > I've tried getting rid of the above problem by using a bare-bones .emacs file with only these lines in it: (setq org-agenda-include-diary t) (setq diary-file "~/Documents/personal/journal.org") (setq org-agenda-diary-file diary-file) I still see repeated diary entries like this in the agenda Monday 14 December 2009 W51 Diary: 2009-12 December Diary: 2009-12-15 Tuesday Diary: * Foo bar Diary: <2009-12-15 Tue> Tuesday15 December 2009 Diary: 2009-12 December Diary: 2009-12-15 Tuesday Diary: * Foo bar Diary: <2009-12-15 Tue> Am I doing something wrong when declaring the org-agenda-diary-file? Thanks, --Nate ___ 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] [OT]: Inconsolata and emacs
On 12/15/2009 1:57 PM, Nicolas Girard wrote: 2009/12/14 Carsten Dominik: On Dec 10, 2009, at 11:34 PM, Nicolas Girard wrote: [snip] That said, I'm using the free Inconsolata [*] font as my main font in emacs, which offers a rich collection of various geometric shapes& symbols. So, at no extra cost, I can enhance the aspect of my Org buffers. Attached is a little example to demonstrate what can be done. To get this result: 1. I had to redefine org-agenda-format-date-aligned so that I can replace the hardcoded lines surrounding dates with better looking ones 2. I used the "Watch" unicode character to represent scheduled events: (setq org-agenda-scheduled-leaders '("⌚ " "⌚ ")) 3. I replaced the hardcoded '[' character denoting inactive timestamps with a white triangle Your screenshot looks really nice. I'm wondering, what OS are you using? I treid to use inconsolata in emacs under windoze XP, but the font looks terrible, no matter if I activate clear type or not. How did you set emacs up to use inconsolata? Thanks Markus See ? Who said Org couldn't be sexier ? [*] http://www.levien.com/type/myfonts/inconsolata.html ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: org-hide-context
Scot Becker writes: > I like that, too. > > > On Wed, Dec 16, 2009 at 3:58 PM, Adam Spiers wrote: > > It would be great to have an opposite to `org-reveal' which folded all > siblings, ancestors, and maybe even all ancestors' siblings of the > current headline. A suitable key-binding might be C-u C-u C-c C-r > or similar. Are these speed commands at all similar to what you have in mind? * Speed commands #+begin_src emacs-lisp (defun ded/org-show-next-heading-tidily () "Show next entry, keeping other entries closed." (if (save-excursion (end-of-line) (outline-invisible-p)) (progn (org-show-entry) (show-children)) (outline-next-heading) (unless (and (bolp) (org-on-heading-p)) (org-up-heading-safe) (hide-subtree) (error "Boundary reached")) (org-overview) (org-reveal t) (org-show-entry) (show-children))) (defun ded/org-show-previous-heading-tidily () "Show previous entry, keeping other entries closed." (let ((pos (point))) (outline-previous-heading) (unless (and (< (point) pos) (bolp) (org-on-heading-p)) (goto-char pos) (hide-subtree) (error "Boundary reached")) (org-overview) (org-reveal t) (org-show-entry) (show-children))) (setq org-use-speed-commands t) (add-to-list 'org-speed-commands-user '("n" ded/org-show-next-heading-tidily)) (add-to-list 'org-speed-commands-user '("p" ded/org-show-previous-heading-tidily)) #+end_src Dan > > Thanks, > Adam > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ 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] FR: org-hide-context
I like that, too. On Wed, Dec 16, 2009 at 3:58 PM, Adam Spiers wrote: > It would be great to have an opposite to `org-reveal' which folded all > siblings, ancestors, and maybe even all ancestors' siblings of the > current headline. A suitable key-binding might be C-u C-u C-c C-r > or similar. > > Thanks, > Adam > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [org-mac-protocol] How to actually set it up and use it?
On Tue, 15 Dec 2009 13:58:26 -0600, Ron Parker wrote: > On Dec 13, 2009, at 8:48 AM, Christopher Suckling wrote: > >> On Sat, 12 Dec 2009 12:56:00 -0600, Ron Parker >> wrote: >> >>> After reading this message I downloaded org-mac-protocol and >>> installed >>> it. The scripts work for me if I open them in Script Editor and run >>> them, but they do not work from the scripts menu nor from >>> Quicksilver. >> > > I'm closer. Calling (org-load-modules-maybe) after doing (add-to-list > org-modules 'org-mac-protocol) seems to have the items on the script > menu working. But, calling them from Quicksilver still fails. Curious. This really shouldn't make any difference. All the AppleScripts do is put together a call to emacsclient; thus if they work launched by one method, then changing your .emacs shouldn't facilitate another method. You could check that the call to emacsclient is being properly constructed by taking one of the scripts, say org-link, and adding , | display dialog theScript ` the line before , | do shell script theScript ` But it sounds like something fishy is going on with Quicksilver. Best, Christopher ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: FR: org-remember shortcut to customize-option org-remember-templates
Adam Spiers writes: > I really like the way `M-x org-agenda C' takes you straight to the > *Customize Option: Org Agenda Custom Commands* buffer. Similarly, it > would be nice if `M-x org-remember C' took you straight to the > *Customize Option: Org Remember Templates* buffer. But what if I have a org-remember-template assigned to the ?C character? Bye, Tassilo ___ 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] FR: org-hide-context
It would be great to have an opposite to `org-reveal' which folded all siblings, ancestors, and maybe even all ancestors' siblings of the current headline. A suitable key-binding might be C-u C-u C-c C-r or similar. Thanks, Adam ___ 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] FR: org-remember shortcut to customize-option org-remember-templates
I really like the way `M-x org-agenda C' takes you straight to the *Customize Option: Org Agenda Custom Commands* buffer. Similarly, it would be nice if `M-x org-remember C' took you straight to the *Customize Option: Org Remember Templates* buffer. Although in both cases it would be even nicer if the keystroke for this was customisable, as no doubt some people already have `M-x org-remember C' set up to do something else. Thanks, Adam ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org 45d619c82 doesn't let me create new nodes with (org-refile-allow-creating-parent-nodes (quote confirm))
Hi! Case closed, looks like I had an old version of org-mode. The problem just disappeared, I can't reproduce it any more. Don't know what made it disappear. > Hiho! > > Carsten Dominik schrieb: > > this seems to work fine for me. > > Hm. Anyone else who has this problem? > > If not, it's probably my config again. I think I'll trace the > function with edebug to figure it out. > > Thanks for your feedback! > > Fullquote to jog people's memories: > > > On Nov 11, 2009, at 4:36 PM, Friedrich Delgado Friedrichs wrote: > > >I use the following settings to allow me to create new nodes on the > > >fly when refiling: > > > > > >'(org-refile-allow-creating-parent-nodes (quote confirm)) > > >'(org-refile-targets (quote ((org-agenda-files :maxlevel . > > >5 > > >'(org-refile-use-outline-path (quote full-file-path)) > > > > > >(My almost complete settings are in my previous mail to this list > > >today.) > > > > > >Say I have \home\friedel\Org\Someday.org which doesn't contain the > > >node "Foo" yet, so I give "\home\fdf\Org\Someday.org/Foo/" at the > > >"Refile to:" prompt. > > > > > >This just silently fails, it doesn't even produce an error, no > > >message, nothing. (Just "Getting targets...done" when I'm completing > > >the path.) > > Kind regards > Friedel ---Zitatende--- -- Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;) ___ 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: lowercase todo kw
Fixed, thanks. - Carsten On Dec 14, 2009, at 10:21 PM, Samuel Wales wrote: I found three places where the lowercase version of a todo kw is treated specially in the latest org. For example, * todo this is lowercase First, in the agenda, they have a special face. Second, when inserting an id link, they are removed. Third, when printing the olpath, they are removed. To reproduce, place point at bol on 5 and press the spacebar. I expect todo to be in the olpath, but it is not. Thanks. Samuel * 1 *** 2 * here are some keywords i like *** todo * 5 -- Q: How many CDC "scientists" does it take to change a lightbulb? A: You only think it's dark. [CDC has denied ME/CFS for 25 years] = Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Quoting latex code
Carsten Dominik writes: > On Dec 15, 2009, at 1:49 PM, andrea wrote: > > You can also write ~\pi~ Ok thanks. Anyway I'm putting into that small guide all the things I found useful for my works, maybe someone else could be interested. Here you find it: http://github.com/AndreaCrotti/database-implementation/raw/master/symbols.pdf ___ 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] keep newlines on pdf export
Hi Carsten > I am always much more interested in thinking about a solution > if I am not just presented with an abstract wish, but rather > with a concrete example where this might be useful. First of all I want to thank all of you (again) for this great mailing-list. I am a great fan of the idea of writing an org file and being able to export it to differnt formats as desired. (ASCII, html, pdf, etc) In my case the absence of consistent newlines (as present in html export) was not that much of a problem because the document (scientific article on complex numbers) does not need to be exported to html at all... so I just added "\\" to the end of every line. Nontheless I took notice of the problem and wanted to get and give some feedback. Greetings from Austria, Eraldo ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Question about searches (ultimately for agenda)
Mueen Nawaz writes: > On 12/15/09 21:26, Matt Lundin wrote: >> Provided DONE and RETURNED are inactive todos than the following should >> suffice: >> >> C-a M Jack [RET] > > I think you meant C-c a M Jack [RET] Yes indeed. I'm still practicing typing out the notation for keybindings. I suppose that C-c a is such a quick maneuver that I instinctively shorten its notation. :) > It actually does filter out inactive TODO's, but I actually > wanted to do C-c a m Jack [RET]. I don't want to limit the search to > headlines that have a TODO state. I just want to exclude those that > have DONE (or anything equivalent to it). Ah yes. Now I see that this is indeed what you were requesting in the original post. I suppose I need to brush up on basic logic as well. :) There is a shortened tag search syntax for including or excluding TODO states: C-c a m [RET] Jack/-DONE-RETURNED You could assign this a shortcut in using org-agenda-custom-commands command to avoid having to type it repeatedly. I'm not aware if there is a shorter way to indicate *all* inactive todo states in such a search. Best, Matt ___ 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] Re: [PATCH] Suppress extra newlines around source code in LaTeX export
On Dec 15, 2009, at 11:55 AM, Nicolas Girard wrote: 2009/12/14 Carsten Dominik : Actually, I cannot reproduce this problem - I do not see the extra newline. Hi Carsten, you're absolutely right, I performed yet another git pull and couldn't reproduce this either. Great ! Now, speaking of extra newlines, I'm puzzled about this: at some stage (which I didn't identify yet, maybe when exporting to LaTeX), Org adds an ID property to some headings in my document ; that is, for instance, * Aa * Bb Text becomes * Aa * Bb :PROPERTIES: :ID: fa489059-d27e-47fb-929d-8ca9c749d079 :END: Text Notice the extra newline between :END: and Text. It's all good except when exporting to LaTeX *and* the concerned heading is to be treated as an item. I've been thinking a bit about this special case ; and it seems to me like, on one side, the extra newline should remain, and on the other side, empty lines following a heading should be ignored by the LaTeX translator when this heading is translated into an item. What do you think ? I do agree and have tried to fix it. Please verify. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: Column mode breaks beamer export [6.33trans]
Fixed, thank you for the report. - Carsten On Dec 15, 2009, at 9:07 AM, Robin Green wrote: After I enable "column view of properties" in the attached file, export to PDF via LaTeX fails with the following error in the minibuffer: org-export-as-latex: Text is read-only: "Type `e' to edit property" 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 6.33trans current state: == (setq org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- vars) org-agenda-files '("/src/greenrd/org") org-blocker-hook '(org-block-todo-from-checkboxes org-block-todo- from-children-or-siblings-or-parent) org-checklist-export-function 'org-export-as-ascii org-after-todo-state-change-hook '(org-clock-out-if-current org- checklist) org-agenda-todo-ignore-scheduled t org-startup-folded nil org-agenda-sorting-strategy '((agenda time-up priority-down effort- up category-keep) (todo priority-down effort-up category-keep) (tags priority-down effort-up category-keep) (search category-keep)) org-agenda-prefix-format '((agenda . " %-12:c%-12:T%?-12t% s") (timeline . " % s") (todo . " %-12:c") (tags . " %-12:c") (search . " %-12:c")) org-deadline-warning-days 900 org-export-latex-format-toc-function 'org-export-latex-format-toc- default org-agenda-skip-scheduled-if-done t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(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(t)" "QUESTION(q)" "PLANNING(p)" "PENDING(e)" "STARTED(s)" "FINISHING(f)" "|" "DONE(d)" "OBSOLETE(o)") ) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-default-notes-file "/src/greenrd/org/remember.org" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] ) org-global-properties '(("Effort_ALL" . "0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00 8:00")) org-return-follows-link t org-confirm-elisp-link-function 'yes-or-no-p org-beamer-environments-extra '(("figure" "F" "\\begin{figure}" "\ \end{figure}")) org-agenda-todo-ignore-with-date t org-enforce-todo-dependencies t org-occur-hook '(org-first-headline-recenter) org-priority-start-cycle-with-default nil org-export-preprocess-before-selecting-backend-code-hook '(org- beamer-select-beamer-code) org-agenda-todo-ignore-deadlines t org-modules '(org-bbdb org-bibtex org-gnus org-info org-jsinfo org- irc org-mew org-mhe org-rmail org-vm org-wl org-w3m org-checklist org-interactive-query org-man org- registry) org-remember-templates '(("Web link" 119 "* %u %c \n\n%:region\n" nil "Web links" nil)) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix- toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-enforce-todo-checkbox-dependencies t org-lowest-priority 70 ) #+STARTUP: beamer #+TITLE: Cohere: Towards Web 2.0 Argumentation #+AUTHOR: Simon Buckingham Shum #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 2 #+BEAMER_HEADER_EXTRA: \usetheme{Szeged}\usecolortheme{wolverine} \institute{Knowledge Media Institute, The Open University, UK} #+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %8BEAMER_extra(Extra) #+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 :ETC * Context ** What is argumentation software? *** *mapping* an argument :BMCOL: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_envargs: C[T] :END: exposing its structure * typically in graph form *** for the purposes of this talk # I was going to say "typically" here, but I've only read 4-5 papers # in this area, so I can't be sure that it's typical. But that's how # it seems to me. *manual* data entry * not extraction can relate back to sources * links * video timestamps *** :B_figure:BMCOL: :BMCOL:B_figure: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: figure :END: \includegraphics[width=.7\columnwidth]{What_the_Bible_says.jpg} *** optionally *queries* for sub-arguments *multiple* I/O styles * directed graph * textual outline *collaborative editing* ** Why use argumentation software? *** example: climate change debates *** large and complex *** interdisciplinary science politic
Re: [Orgmode] Re: Question about searches (ultimately for agenda)
On Dec 16, 2009, at 4:35 AM, Mueen Nawaz wrote: On 12/15/09 21:26, Matt Lundin wrote: Provided DONE and RETURNED are inactive todos than the following should suffice: C-a M Jack [RET] I think you meant C-c a M Jack [RET] It actually does filter out inactive TODO's, but I actually wanted to do C-c a m Jack [RET]. I don't want to limit the search to headlines that have a TODO state. I just want to exclude those that have DONE (or anything equivalent to it). This is what skip conditions are for. Here is an entry for org-agenda-custom-commands which does this for the specific "Jack" example: ("X" "Tags match ignoring done stuff" tags "Jack" ((org-agenda-skip-function '(and (org-entry-is-done-p) (outline-next-heading) (point) If you want to be prompted for the tags match, leave the match element empty (empty string). But do that only after you next upgrade from the git repo, because there was a bug related to prompting. Hope this helps - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Customizing how inactive timestamps are displayed
2009/12/16 Carsten Dominik : > > On Dec 15, 2009, at 10:57 PM, Nicolas Girard wrote: > >> See ? Who said Org couldn't be sexier ? >> >> [*] http://www.levien.com/type/myfonts/inconsolata.html > > That *does* look nice! > > Please pull and use `org-agenda-inactive-leader' > Thanks very much, Carsten ! -- Nicolas ___ 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