[Orgmode] Re: DiTAA error under Ubuntu
Nick, Eric, Sorry for answering late -- while you were prompt at replying. Have been out for one day. Nick Dokos wrote: Nick Dokos nicholas.do...@hp.com wrote: Sebastien_Vauban wxhgmqzgw...@spammotel.com wrote: I'm trying to use the DiTAA tool for making easy graphics in a couple of minutes. Though, I've this error when exporting to LaTeX: --8---cut here---start-8--- [...@mundaneum] ...texmf/tex/latexjava -jar /home/sva/Downloads/emacs/site -lisp/org-mode/contrib/scripts/ditaa.jar /tmp/org-ditaa13182XLS archi.png DiTAA version 0.6b, Copyright (C) 2004 Efstathios Sideris Exception in thread main java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so From a quick look at synaptic, it seemed `openjdk-6-jre-lib' would be the most likely candidate package to contain libmawt.so, but it wasn't there. Here is the situation of Java-related packages on my system so far: i A bootchart-java - Boot process performance analyser (visuali i A ca-certificates-java- Common CA certificates (JKS keystore) i A default-jre-headless- Standard Java or Java compatible Runtime (headless) i A java-common - Base of all Java packages i A java-gcj-compat - Java runtime environment using GIJ i A java-gcj-compat-headless- Java runtime environment using GIJ (headle i A java-gcj-compat-headless- Java runtime environment using GIJ (headless version) i A libaccess-bridge-java - Java Access Bridge for GNOME i A libbcel-java- Analyze, create, and manipulate (binary) J i A libcommons-cli-java - API for working with the command line argu i A libcommons-compress-java- Java API for working with tar, zip and bzi i A libcommons-lang-java- Extension of the java.lang package i A liblog4j1.2-java- Logging library for java i A liblog4j1.2-java-gcj- Logging library for java (native code) i A libmx4j-java- An open source implementation of the JMX(T i A libregexp-java - regular expression library for Java i A openjdk-6-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless) i A openjdk-6-jre-lib - OpenJDK Java runtime (architecture independent libraries) i A tzdata-java - time zone and daylight-saving time data fo p default-jdk - Standard Java or Java compatible Development Kit p default-jdk-builddep- Standard Java or Java compatible build dependencies p openjdk-6-dbg - Java runtime based on OpenJDK (debugging symbols) p openjdk-6-demo - Java runtime based on OpenJDK (demos and examples) p openjdk-6-doc - OpenJDK Development Kit (JDK) documentation p openjdk-6-jdk - OpenJDK Development Kit (JDK) p openjdk-6-jre - OpenJDK Java runtime, using Hotspot JIT p openjdk-6-jre-zero - Alternatve JVM for OpenJDK, using Zero/Shark p openjdk-6-source- OpenJDK Development Kit (JDK) source files p openjdk-6-source-files - OpenJDK 6 source files (used as a build dependency) p sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent f p sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples p sun-java5-doc - Sun JDK(TM) Documention -- integration installer p sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE) p sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0 p sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent p sun-java5-plugin- The Java(TM) Plug-in, Java SE 5.0 p sun-java5-source- Sun Java(TM) Development Kit (JDK) 5.0 source files p sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent fil p sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples p sun-java6-doc - Sun JDK(TM) Documention -- integration installer p sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE) p sun-java6-javadb- Java(TM) DB, Sun Microsystems' distribution of Apache Derby p sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6 p sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent f p sun-java6-plugin- The Java(TM) Plug-in, Java SE 6 p sun-java6-source- Sun Java(TM) Development Kit (JDK) 6 source files p sun-javadb-client - Java DB client p sun-javadb-common - Java DB common files p sun-javadb-core
[Orgmode] patch: added macro to org-additional-option-like-keywords
From 8e59b595b855f7cd9377598219a7b8dbb22e41f6 Mon Sep 17 00:00:00 2001 From: Stephan Schmitt drmab...@cs.tu-berlin.de Date: Thu, 13 Aug 2009 11:19:30 +0200 Subject: [PATCH] added MACRO to org-additional-option-like-keywords '#+MACRO' can now be auto-completed using M-Tab --- lisp/org.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 6a37acd..b76e329 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8924,7 +8924,7 @@ This function can be used in a hook. BEGIN_SRC END_SRC CATEGORY COLUMNS CAPTION LABEL -BIND)) +BIND MACRO)) (defcustom org-structure-template-alist '( -- 1.6.3.3 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] How do people do it: lots of tags?
Working in an 80-90 character line format, I am afraid to use more than a few tags, and I try to make them short. After well over a year, I am still a bumbling novice with org-mode, but I'm beginning to have some insight, perhaps, into how some things can work. I like the idea of tags alot, and that they can be used to group entries in wide ranging bunches of files. How do people get around the line length limitation? I would appreciate learning how others deal with lots of tags? I think it's more interesting to not limit to a closed system of tags. Thank you again for this program, and for all the help and advice. Alan You can know the name of a bird in all the languages of the world, but when you're finished, you'll know absolutely nothing whatever about the bird... So let's look at the bird and see what it's doing---that's what counts. Richard Feynman ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-special-blocks for code chunks
Hi Chris, Chris Gray wrote: Sébastien Vauban wrote: I have a problem exporting code chunks to LaTeX (beamer, in fact -- but that does not change anything to the problem) that contain underscores. I can't get a properly outputted underscore in my slide. Any idea or workaround? Is lstlisting like a verbatim environment? Yes, it is. What's extra is the highlight of keywords, contextual for every programming language. I think you might be able to just use \begin{lstlisting} and \end{lstlisting} in that case. Org does not interpret anything inside such blocks, which is why org-special-blocks was created in the first place. OK. That works. Though, I'm lost about choosing the best representation for code chunks (I don't even speak here of literate programming) to be shown in slides or documents. Look, I've done an ECM with the different ways I currently see for Org-mode: --8---cut here---start-8--- * Org *** A. To escape the \_ * 1. No marking at all \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} * 2. Literal LaTeX code #+LaTeX: \begin{lstlisting} months_employed(?applicant, ?months) #+LaTeX: \end{lstlisting} * 3. Lines between markers #+BEGIN_LaTeX \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} #+END_LaTeX * 4. Org-special-blocks #+BEGIN_lstlisting months_employed(?applicant, ?months) #+END_lstlisting *** B. Or not to escape the _? * 1. No marking at all \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} * 2. Literal LaTeX code #+LaTeX: \begin{lstlisting} months\_employed(?applicant, ?months) #+LaTeX: \end{lstlisting} * 3. Lines between markers #+BEGIN_LaTeX \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} #+END_LaTeX * 4. Org-special-blocks #+BEGIN_lstlisting months\_employed(?applicant, ?months) #+END_lstlisting --8---cut here---end---8--- Without org-special-blocks, I have such LaTeX generated: --8---cut here---start-8--- % Created 2009-08-13 Thu 12:07 \documentclass[final]{mcreport} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{hyperref} \usepackage{xcolor} \usepackage{listings} \title{ecm-escape} \author{Fabrice Niessen} \date{13 August 2009} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Org} \label{sec-1} \subsection{A. To escape the \_} \label{sec-1.1} \subsubsection{1. No marking at all} \label{sec-1.1.1} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{2. Literal \LaTeX{} code} \label{sec-1.1.2} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{3. Lines between markers} \label{sec-1.1.3} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{4. Org-special-blocks} \label{sec-1.1.4} months$_{\mathrm{employed}}$(?applicant, ?months) \subsection{B. Or not to escape the _?} \label{sec-1.2} \subsubsection{1. No marking at all} \label{sec-1.2.1} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \subsubsection{2. Literal \LaTeX{} code} \label{sec-1.2.2} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \subsubsection{3. Lines between markers} \label{sec-1.2.3} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \subsubsection{4. Org-special-blocks} \label{sec-1.2.4} months\_employed(?applicant, ?months) \end{document} --8---cut here---end---8--- With org-special-blocks turned on, I have: --8---cut here---start-8--- % Created 2009-08-13 Thu 12:10 \documentclass[final]{mcreport} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{hyperref} \usepackage{xcolor} \usepackage{listings} \title{ecm-escape} \author{Fabrice Niessen} \date{13 August 2009} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Org} \label{sec-1} \subsection{A. To escape the \_} \label{sec-1.1} \subsubsection{1. No marking at all} \label{sec-1.1.1} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{2. Literal \LaTeX{} code} \label{sec-1.1.2} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{3. Lines between markers} \label{sec-1.1.3} \begin{\LaTeX{}} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \end{\LaTeX{}} \subsubsection{4. Org-special-blocks} \label{sec-1.1.4} \begin{lstlisting} months$_{\mathrm{employed}}$(?applicant, ?months) \end{lstlisting} \subsection{B. Or not to escape the _?} \label{sec-1.2} \subsubsection{1. No marking at all} \label{sec-1.2.1} \begin{lstlisting}
[Orgmode] Re: doc-view-mode
Óscar Fuentes o...@wanadoo.es writes: As said above, instantaneous response is not required for me. For most users, it is. I open a doc and then I usually use PageDown to go to the page I want (if it's not too far back). If each PageDown would start a new conversion, that would be damn slow. Also, searching with C-s (followed by more C-s like in isearch) would be hard. The problem with converting all the document to image files is that I often open large pdf's (several thousand pages) and small/medium dynamically generated pdf's. This would create tens of thousands of image files on a busy day (no exaggerating) which would require several gigabytes. Well, here's a workaround for your situation. Let's say foo.pdf contains 5000 pages, and you only want to see page 2500. 1. Open it; doc-view starts conversion from page 1 2. Hit M-g M-g 2500 RET; conversion stops and restarts at page 2500 which will be displayed to you 3. Hit K to kill the further conversion 4. Now, only page 2500 (and the few following pages that where converted) will be accessible IMHO, a user-configurable switch for render this page and delete it before rendering the next would be okay. More advanced options like keeping just the last N recently viewed pages of M documents (plus the succesive page of the current one) would be nice too, but if doc-view-mode supported the simple one-page option, it would be fine for me. I think that would add quite much complexity for not too much gain. Basically, the overall conversion approach would need to be changed and searching and other stuff would need to be adapted... P.D.: After some experimentation with doc-view it seems to me that the file image cache system is flawed: open a large pdf file - doc-view starts conversion - enlarge - doc-view cancels previous conversion, throws away the files, and starts a new one - shring - cancel, throw and restart again, etc - close the pdf view - open the same pdf view - if the cache I guess you thought that creating separate caches for every new zoom level would be too much caching :-) Yep. It seems there is a bug: open a large pdf - before the conversion ends, kill the buffer - open the pdf again - the conversion is not resumed, only those pages converted on the previous session are accesible. Yes, I know. That's because ghostscript has no option to check the number of pages in a pdf/ps file... So the best you can do is to clear the page in that case... Bye, Tassilo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-special-blocks for code chunks
Hi Seb, Thanks for testing things so extensively. Look, I've done an ECM with the different ways I currently see for Org-mode: I've never seen the term ECM before. What does it mean? Conclusions? - Org-special-blocks seems to misbehave in cases A3/B3 (adding an unsound environment) and A4 (letting the underscore being converted); I would argue that it is only misbehaving in A3 and B3, since the whole point of org-special-blocks is that org-style interpretation of your text is happening inside the blocks. In this sense, it was never really meant to be used with verbatim-type environments. (I use it mainly for things like lemma and proof environments). I think that A3/B3 show a bug, though, so that should be fixed. (Either with a special case in org-special-blocks or by moving the hook around in org-exp-latex). I will try to have a look at this later. - Though, case A1 is not very friendly: nothing tells I'm inline LaTeX code (what about other exports, as HTML and the like?) I'm not sure, but I think it sends the whole thing to latex and then renders the output as an image. Cheers, Chris ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-special-blocks for code chunks
Hi Chris, Chris Gray wrote: Thanks for testing things so extensively. No prob. Trying to fully understand all sides of the problem. Look, I've done an ECM with the different ways I currently see for Org-mode: I've never seen the term ECM before. What does it mean? ECM is French for Exemple Complet Minimal (= Minimal Complete Example). Conclusions? - Org-special-blocks seems to misbehave in cases A3/B3 (adding an unsound environment) and A4 (letting the underscore being converted); I would argue that it is only misbehaving in A3 and B3, since the whole point of org-special-blocks is that org-style interpretation of your text is happening inside the blocks. About A4: maybe you're right, yes. In this sense, it was never really meant to be used with verbatim-type environments. (I use it mainly for things like lemma and proof environments). I think that A3/B3 show a bug, though, so that should be fixed. (Either with a special case in org-special-blocks or by moving the hook around in org-exp-latex). I will try to have a look at this later. OK. Thanks. - Though, case A1 is not very friendly: nothing tells I'm inline LaTeX code (what about other exports, as HTML and the like?) I'm not sure, but I think it sends the whole thing to latex and then renders the output as an image. Never using HTML... But when it comes to make a choice for my whole life ;-), I must take this into account... Best regards, Seb -- Sébastien Vauban ___ 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
Re: [Orgmode] Re: Org-special-blocks for code chunks
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: [...] Look, I've done an ECM with the different ways I currently see for Org-mode: I haven't followed this whole thread, so please forgive me if I'm duplicating information. With the latest Org-mode from git, regular source-code blocks can be exported into the lstlisting LaTeX environment. I mention this because it does not appear as an option in your ECM. For instructions see http://orgmode.org/worg/org-faq.php#fontified_source_code_w_latex -- Eric * Org *** A. To escape the \_ * 1. No marking at all \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} * 2. Literal LaTeX code #+LaTeX: \begin{lstlisting} months_employed(?applicant, ?months) #+LaTeX: \end{lstlisting} * 3. Lines between markers #+BEGIN_LaTeX \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} #+END_LaTeX * 4. Org-special-blocks #+BEGIN_lstlisting months_employed(?applicant, ?months) #+END_lstlisting *** B. Or not to escape the _? * 1. No marking at all \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} * 2. Literal LaTeX code #+LaTeX: \begin{lstlisting} months\_employed(?applicant, ?months) #+LaTeX: \end{lstlisting} * 3. Lines between markers #+BEGIN_LaTeX \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} #+END_LaTeX * 4. Org-special-blocks #+BEGIN_lstlisting months\_employed(?applicant, ?months) #+END_lstlisting Without org-special-blocks, I have such LaTeX generated: % Created 2009-08-13 Thu 12:07 \documentclass[final]{mcreport} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{hyperref} \usepackage{xcolor} \usepackage{listings} \title{ecm-escape} \author{Fabrice Niessen} \date{13 August 2009} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Org} \label{sec-1} \subsection{A. To escape the \_} \label{sec-1.1} \subsubsection{1. No marking at all} \label{sec-1.1.1} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{2. Literal \LaTeX{} code} \label{sec-1.1.2} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{3. Lines between markers} \label{sec-1.1.3} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{4. Org-special-blocks} \label{sec-1.1.4} months$_{\mathrm{employed}}$(?applicant, ?months) \subsection{B. Or not to escape the _?} \label{sec-1.2} \subsubsection{1. No marking at all} \label{sec-1.2.1} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \subsubsection{2. Literal \LaTeX{} code} \label{sec-1.2.2} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \subsubsection{3. Lines between markers} \label{sec-1.2.3} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \subsubsection{4. Org-special-blocks} \label{sec-1.2.4} months\_employed(?applicant, ?months) \end{document} With org-special-blocks turned on, I have: % Created 2009-08-13 Thu 12:10 \documentclass[final]{mcreport} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{hyperref} \usepackage{xcolor} \usepackage{listings} \title{ecm-escape} \author{Fabrice Niessen} \date{13 August 2009} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Org} \label{sec-1} \subsection{A. To escape the \_} \label{sec-1.1} \subsubsection{1. No marking at all} \label{sec-1.1.1} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{2. Literal \LaTeX{} code} \label{sec-1.1.2} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \subsubsection{3. Lines between markers} \label{sec-1.1.3} \begin{\LaTeX{}} \begin{lstlisting} months_employed(?applicant, ?months) \end{lstlisting} \end{\LaTeX{}} \subsubsection{4. Org-special-blocks} \label{sec-1.1.4} \begin{lstlisting} months$_{\mathrm{employed}}$(?applicant, ?months) \end{lstlisting} \subsection{B. Or not to escape the _?} \label{sec-1.2} \subsubsection{1. No marking at all} \label{sec-1.2.1} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \subsubsection{2. Literal \LaTeX{} code} \label{sec-1.2.2} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \subsubsection{3. Lines between markers} \label{sec-1.2.3} \begin{\LaTeX{}} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \end{\LaTeX{}} \subsubsection{4. Org-special-blocks} \label{sec-1.2.4} \begin{lstlisting} months\_employed(?applicant, ?months) \end{lstlisting} \end{document} Conclusions? - Org-special-blocks seems
[Orgmode] Annoying face customizations
Hi Carsten, I have a small problem with the org customize interface. I have two systems which I sync files between using git (my Eee PC and my Linux Workstation). I've started syncing my .emacs and custom.el files along with my org-mode files. Both systems are running the same version of GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian and org-mode. However on my workstation when I customize org-tags-alist or org-agenda-custom-commands I get face information embedded in the data like this: , | '(org-tag-alist (quote ((:startgroup) (#(@InTown 0 7 (face nil)) . 116) (#(@Work 0 5 (face org-done)) . 119) ... ` but my Eee PC doesn't do this. It saves changes like this , | '(org-tag-alist (quote ((:startgroup) (@InTown . 116) (@Work . 119) ... ` This makes synchronizing changes with git a bit hard since there are always conflicts for the different face information. Ideally I'd like to just remove the face information completely so that it looks like the second entry above. Is there some way to control this? Thanks, Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Sorting subheaders
Hello, Does anyone know a way to sort headers or subheaders? I can sort items by time in the agenda view, but something more powerful, possibly by :TAG: or just by name would be very useful. Example: * Top ** C ** B ** A - after some magic key combination - * Top ** A ** B ** C Thanks! -Scott ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Template for web publishing
Hi all, I have just made available a template for web publishing with org-mode. I found some little problems doing my website, and so I think it may be useful for others too. The template is based on the settings described at http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php The template is available at http://herraiz.org/stuff/orgmode-web-publishing.tar.bz2 I have written some details about how to use it in my blog http://blog.herraiz.org/archives/241 Cheers, Israel ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How do people do it: lots of tags?
Hey Alan, Alan E. Davis lngn...@gmail.com writes: Working in an 80-90 character line format, I am afraid to use more than a few tags, and I try to make them short. After well over a year, I am still a bumbling novice with org-mode, but I'm beginning to have some insight, perhaps, into how some things can work. I like the idea of tags alot, and that they can be used to group entries in wide ranging bunches of files. How do people get around the line length limitation? I would appreciate learning how others deal with lots of tags? I think it's more interesting to not limit to a closed system of tags. This is how I get around the line-length: http://orgmode.org/worg/org-hacks.php#sec-13 If that is too involved you can also change the value of `org-tags-column' and `org-agenda-tags-column' to a bigger value than it is currently set to for a quick fix. Alan HTH, benny ___ 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
Re: [Orgmode] Sorting subheaders
Scott Novotney snovot...@gmail.com writes: Hello, Does anyone know a way to sort headers or subheaders? I can sort items by time in the agenda view, but something more powerful, possibly by :TAG: or just by name would be very useful. You want org-sort. To sort your example by name, put the cursor in the top level heading (* Top) and then use M-x org-sort, and select 'a' for alphanumeric sort. org-sort calls org-sort-entries-or-items (unless you're in a table). Below is the documentation for that (C-h f org-sort-entries-or-items) [It looks like the main index of the manual needs a n entry under 'sort' or 'sorting'. Currently there's only one for sorting in the agenda.] Dan , | org-sort-entries-or-items is an interactive compiled Lisp function in | `org.el'. | | (org-sort-entries-or-items optional with-case sorting-type | getkey-func compare-func property) | | Sort entries on a certain level of an outline tree, or plain list items. | If there is an active region, the entries in the region are sorted. | Else, if the cursor is before the first entry, sort the top-level items. | Else, the children of the entry at point are sorted. | If the cursor is at the first item in a plain list, the list items will be | sorted. | | Sorting can be alphabetically, numerically, by date/time as given by | a time stamp, by a property or by priority. | | The command prompts for the sorting type unless it has been given to the | function through the sorting-type argument, which needs to a character, | (?n ?N ?a ?A ?t ?T ?s ?S ?d ?D ?p ?P ?r ?R ?f ?F). Here is the | precise meaning of each character: | | n Numerically, by converting the beginning of the entry/item to a number. | a Alphabetically, ignoring the TODO keyword and the priority, if any. | t By date/time, either the first active time stamp in the entry, or, if | none exist, by the first inactive one. | In items, only the first line will be chekced. | s By the scheduled date/time. | d By deadline date/time. | c By creation time, which is assumed to be the first inactive time stamp | at the beginning of a line. | p By priority according to the cookie. | r By the value of a property. | | Capital letters will reverse the sort order. | | If the sorting-type is ?f or ?F, then getkey-func specifies a function to be | called with point at the beginning of the record. It must return either | a string or a number that should serve as the sorting key for that record. | | Comparing entries ignores case by default. However, with an optional argument | with-case, the sorting considers case as well. ` Example: * Top ** C ** B ** A - after some magic key combination - * Top ** A ** B ** C Thanks! -Scott ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[PATCH] Re: [Orgmode] Sorting subheaders
... [It looks like the main index of the manual needs an entry under 'sort' or 'sorting'. Currently there's only one for sorting in the agenda.] diff --git a/doc/org.texi b/doc/org.texi index 79dac8e..0cb27da 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -957,6 +957,7 @@ See also the variable @code{org-goto-interface}. @cindex pasting, of subtrees @cindex cutting, of subtrees @cindex copying, of subtrees +...@cindex sorting, of subtrees @cindex subtrees, cut and paste @table @kbd ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Customizing main Agenda view??
At Wed, 12 Aug 2009 12:13:14 +0100, Paul Mead wrote: 1. Map C-c a a to a custom agenda view: (setq org-agenda-custom-commands '((a Agenda ((agenda ) (todo STARTED) turns out this was exactly what I needed, thanks! You are welcome! I'm glad it helped. Best, Matt ___ 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
Re: [Orgmode] Fast way to jump to another specific heading?
Have you tried the org-refile interface? C-u C-c C-w lets you jump to a heading using the same interface you get when refiling, so you can customise it easily. My org-refile config is: (setq org-refile-targets '((org-agenda-files :maxlevel . 2)) org-refile-use-outline-path 'file org-refile-target-verify-function (lambda () (not (member ARCHIVE (org-get-tags) This lets me go to whichever file I choose out of the list of agenda files then up to two deep into the hierarchy, filtering out archived sections. If you're sticking to one file, perhaps see if (setq org-refile-use-outline-path t) is to your taste. 2009/8/13 Jan Böcker lists@jboecker.de: Hello, at the moment I use one org-mode file per project and use ido.el's fuzzy search to quickly open the appropriate project file. However, this tends to clutter up my buffer list when I forget to kill buffers after using them. I'd like to use only one file to store all my active projects and use ido.el to quickly jump to another project node (project nodes being defined as, say, all direct descendants of a particular top-level node). Ideally, after jumping to the node, the outline would automatically be narrowed down to the target node. Are there similar facilities already present in org-mode that I missed? If not, I'd like to propose a new feature: take the results of a custom agenda view (as those allow us to define powerful searches), then feed the results to ido-mode or the standard emacs autocompletion for the user to select one to jump to. Unfortunately, my elisp-fu (and knowledge of org-mode internals) is way too insufficient to implement something like that myself. Jan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Fast way to jump to another specific heading?
Jan Böcker lists@jboecker.de writes: Hello, at the moment I use one org-mode file per project and use ido.el's fuzzy search to quickly open the appropriate project file. However, this tends to clutter up my buffer list when I forget to kill buffers after using them. I'd like to use only one file to store all my active projects and use ido.el to quickly jump to another project node (project nodes being defined as, say, all direct descendants of a particular top-level node). Ideally, after jumping to the node, the outline would automatically be narrowed down to the target node. Are there similar facilities already present in org-mode that I missed? Have you tried the following with org-refile and org-goto? (setq org-completion-use-ido t) Best, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Fast way to jump to another specific heading?
On Thu, 13 Aug 2009, Andrew Stribblehill wrote: Have you tried the org-refile interface? This looks like what I need! I didn't think of refiling when looking for a way to navigate my outline. On Thu, 13 Aug 2009, Matt Lundin wrote: Have you tried the following with org-refile and org-goto? (setq org-completion-use-ido t) I tried, failed, then noticed that org-refile refuses to use ido if org-refile-use-outline-path is in use (the function org-olpath-completing-read in org.el explicitly sets this to nil, the comment says does not work with ido). I have now set org-refile-use-outline-path to nil, and org-refile-targets to only include my active projects; that works great! Thanks a lot! Jan ___ 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