Re: [Orgmode] Re: How you ORGanize yourself? (aka: Why not one file to rule'em all?)
Actually, what I want is to show the path to the item, it arealdy does it when I have the item on focus, but maybe an option to display it on the todo list would be nice :) On Sun, Apr 18, 2010 at 1:35 AM, Marcelo de Moraes Serpa < celose...@gmail.com> wrote: > Thank you for the replies ;) > > One thing that I miss, is a way to make org-todo-list where each todo item > would, somehow, show its parent until the topmost (or with configurable > levels). Is it possible somehow? It would make it more easier to keep > projects in only one file (GTD.org for example). I can use follow mode, but > this would be nice. > > Thanks, > > Marcelo. > > > On Sat, Apr 17, 2010 at 3:54 PM, Carsten Dominik < > carsten.domi...@gmail.com> wrote: > >> >> On Apr 17, 2010, at 3:50 PM, Matt Lundin wrote: >> >> Hi Marcelo, >>> >>> Marcelo de Moraes Serpa writes: >>> >>> This is a thread to share your org dir (you have one right) file structure. The title is because I see many of org users prefer having big monolithic files, and I have a slightly different line of thought. >>> >>> I have a handful of central files: e.g, inbox.org, reading.org, >>> computer.org, writing.org, and so on. I've found, however, that on my >>> relatively modest machines org/outline buffers slow down at appr. >>> 12,000+ lines and become more or less unnavigable at appr. 30,000+ lines >>> (especially if they have a deeply nested structure). Whenever a file >>> gets too large, I simply create new files for sub-projects and >>> sub-topics (e.g., perl.org, emacs.org, etc.) and link to them from the >>> main file (e.g., computer.org). I also do a lot of archiving. >>> >>> FWIW, I've found it quite convenient to rely on filetags to organize my >>> notes. I've written a few functions that allow me to limit my agenda to >>> a subset of agenda files that share a filetag (e.g., "emacs" or >>> "writing"). This is a bit quicker than calling agenda commands on all >>> agenda files and then filtering afterward. It also allows for greater >>> focus on a particular area of work. >>> >>> Here are the functions: >>> >>> http://orgmode.org/worg/org-hacks.php#set-agenda-files-by-filetag >>> >> >> >> Hi Matt, >> >> this is very interesting! >> >> One idea: Instead of setting the value of org-agenda-files, >> you can also restrict in the following way: >> >> (org-agenda-remove-restriction-lock) >> (put 'org-agenda-files 'org-restrict my-file-list) >> (setq org-agenda-overriding-restriction 'files) >> >> The restriction sticks until you remove it with `C-c C_x >' >> >> I am not sure this will work better for your case - but maybe it will. >> >> - 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: How you ORGanize yourself? (aka: Why not one file to rule'em all?)
Thank you for the replies ;) One thing that I miss, is a way to make org-todo-list where each todo item would, somehow, show its parent until the topmost (or with configurable levels). Is it possible somehow? It would make it more easier to keep projects in only one file (GTD.org for example). I can use follow mode, but this would be nice. Thanks, Marcelo. On Sat, Apr 17, 2010 at 3:54 PM, Carsten Dominik wrote: > > On Apr 17, 2010, at 3:50 PM, Matt Lundin wrote: > > Hi Marcelo, >> >> Marcelo de Moraes Serpa writes: >> >> This is a thread to share your org dir (you have one right) file >>> structure. The title is because I see many of org users prefer having >>> big monolithic files, and I have a slightly different line of thought. >>> >> >> I have a handful of central files: e.g, inbox.org, reading.org, >> computer.org, writing.org, and so on. I've found, however, that on my >> relatively modest machines org/outline buffers slow down at appr. >> 12,000+ lines and become more or less unnavigable at appr. 30,000+ lines >> (especially if they have a deeply nested structure). Whenever a file >> gets too large, I simply create new files for sub-projects and >> sub-topics (e.g., perl.org, emacs.org, etc.) and link to them from the >> main file (e.g., computer.org). I also do a lot of archiving. >> >> FWIW, I've found it quite convenient to rely on filetags to organize my >> notes. I've written a few functions that allow me to limit my agenda to >> a subset of agenda files that share a filetag (e.g., "emacs" or >> "writing"). This is a bit quicker than calling agenda commands on all >> agenda files and then filtering afterward. It also allows for greater >> focus on a particular area of work. >> >> Here are the functions: >> >> http://orgmode.org/worg/org-hacks.php#set-agenda-files-by-filetag >> > > > Hi Matt, > > this is very interesting! > > One idea: Instead of setting the value of org-agenda-files, > you can also restrict in the following way: > > (org-agenda-remove-restriction-lock) > (put 'org-agenda-files 'org-restrict my-file-list) > (setq org-agenda-overriding-restriction 'files) > > The restriction sticks until you remove it with `C-c C_x >' > > I am not sure this will work better for your case - but maybe it will. > > - 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: [Bulk] [Orgmode] Column width in export
On Apr 16, 2010, at 10:29 PM, Vincent Belaïche wrote: Thanks Giovanni, The documentation is however incomplete, the info node "(org) Column groups" does not says that the `/' in the first field has the effect of excluding the row from export. Actually when you read this info node, what you (or better said I) understand is that the `/' indicates that this special row is used to specify column grouping. Therefore I propose the attached patch to documentation. Hi Vincent, what I really would like to do is to automatically remove lines that contain only narrowing cookies. That may be the most convenient. It is on my list. - Carsten Vincent. PS-1: Sorry if sometimes I disturbe this group with naive questions. PS-2: This is a resend, it seems that the previous message was not dispatched due to this that I made a too big attachement (tarzipped complete manual old and new version in addition to patch). Change log: ### 2010-04-16 Vincent Belaïche * org.texi (Column width and alignment): add information how to exclude special row from export. Patch: ### *** org.texi.oldFri Apr 16 19:57:15 2010 --- org.texiFri Apr 16 20:07:59 2010 *** *** 1862,1867 --- 1862,1884 @samp{} in a similar fashion. You may also combine alignment and field width like this: @samp{}. + To exclude the special row containing the column width and/or alignment from + being exported, insert a dummy first column with @samp{/} in the field that + is on the special row, like this (considering the same example as previously): + + @example + @group + |---+---+| + | / | | <6>| + | # | 1 | one| + | # | 2 | two| + | # | 3 | This=> | + | # | 4 | four | + |---+---+| + @end group + @end example + + @node Column groups, Orgtbl mode, Column width and alignment, Tables @section Column groups @cindex grouping columns in tables From: giovanni.rido...@yahoo.it To: vincent@hotmail.fr CC: emacs-orgmode@gnu.org Subject: Re: [Bulk] [Orgmode] Column width in export Date: Wed, 14 Apr 2010 13:26:31 +0200 Vincent Belaïche writes: | salut | dsdd | | <30> | | | gvrag f gfegegergrgh rghrghr ghrh =>| gerg | When exported to HTML there is one table row with `<30>' in it. Is there anyway to make this row not exported as a row (but possibly exploited in other ways) ? In the manual, in the "table" section, subsection Column groups it is written: " In order to specify column groups, you can use a special row where the first field contains only `/'. The further fields can either contain " Before posting, please, read, or, at least, search, skim the manual to find a possible solution. Giovanni ___ 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] Choosing external app at runtime?
On Apr 16, 2010, at 7:35 AM, Simon Guest wrote: Hi all, When I follow a link, Org mode knows what application to use. Except that sometimes I want to override that choice. For example, I have a collection of PDF files. Mostly I want to open them in my statically configured PDF viewer, which is fine. But sometimes I want to open one in Xournal, say, to annotate it. My mail client Wanderlust will ask me in cases like this: if multiple mailcap entries match, I get to choose when opening the attachment. Any chance we could do a similar thing in Org mode? Currently we do not have this. I can see that this could be both useful and annoying, if you have to answer a prompt each time. - 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] Announcing org-ruby
On Apr 14, 2010, at 10:12 PM, Greg Newman wrote: Actually Github is using it now to show org files for project readme's. Ah, this is how github does it? Good to know. - Carsten On Wed, Apr 14, 2010 at 10:59 AM, Carsten Dominik > wrote: Hi, has anybody tried or used this? Should we link to it on WOrg, or include it in the contrib directory? Thanks. - Carsten On Dec 27, 2009, at 10:19 PM, Brian Dewey wrote: I want to use org-mode files in one of the many Ruby static website generation tools (Webby, Webgen, Jekyll, etc.). Thus, I needed a way to extract simple HTML from an org-mode file without relying on emacs. Thus, org-ruby was born. It's not nearly as full featured as the emacs-based HTML export, but at the moment I am successfully using org-mode files as content for Webby static websites. Full source is here: http://github.com/bdewey/org-ruby Or you can just grab the gem and go: sudo gem install org-ruby ___ 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 - 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: [PATCH] followup to "`org-rember-templates' docstring"
On Apr 16, 2010, at 10:45 AM, Chris Gray wrote: Carsten Dominik wrote: Hi Stepan On Apr 16, 2010, at 12:23 AM, Štěpán Němec wrote: Hello, I'm sorry for my somewhat precocious previous mail (which I unfortunately still don't see posted, I use Gmane and am not subscribed -- any chance of making the list not moderated?). No, we like it spam free here. Please subscribe, if you don't want to receive the mails, use some throw-away web-based email address. With all mailman mailing lists, it's also possible subscribe using your normal email address and turn off delivery. It's one of the options in the settings screen. This makes it easier to remember which email address you should use to write to the list with. This may be worth a FAQ entry. Thanks. - 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: Failure exporting hyperlink as LaTeX [6.33x]
On Apr 16, 2010, at 4:42 PM, Juan M. Bello Rivas wrote: Hi, The following snippet: * Test [[http://gibk26.bse.kyutech.ac.jp/jouhou/protherm/protherm_search.htm ][ProTherm]] You cannot jump section levels for LaTeX export. - Carsten leads to a failure when exporting it as LaTeX. The problematic part of the produced LaTeX code is: \textbf{**\} \href{http://gibk26.bse.kyutech.ac.jp/jouhou/protherm/protherm_search.htm }{ProTherm} Thanks, Emacs : GNU Emacs 24.0.50.6 (i686-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-04-11 on russell Package: Org-mode version 6.33x current state: == (setq org-after-todo-state-change-hook '(org-clock-out-if-current) 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-agenda-before-write-hook '(org-agenda-add-entry-text) 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 '(longlines-mode flyspell-mode #[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) ) -- Juan M. Bello Rivas ___ 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] Preventing the export of cookies
On Apr 17, 2010, at 12:23 PM, Felix Geller wrote: Hi all, first, thanks for this great tool. :) Is there a way to prevent cookies ([/] and [%]) to be exported to LaTeX? Not currently, no. A patch would likely be accepted. - Carsten Thanks for your help in advance! Sincerely, Felix ___ 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] [PATCH] why is '-' not allowed in radio table name?
Applied, thanks. - Carsten On Apr 17, 2010, at 11:30 PM, Dan Davison wrote: I was using a radio table to convert an org table to texinfo, and got stuck for a bit until looking at the code and seeing that the name used for the radio table can not contain '-' (only letters, numbers and underscore). Is there a reason for this restriction? An alternative regexp is below (which also allows tabs as whitespace). Dan Modified lisp/org-table.el diff --git a/lisp/org-table.el b/lisp/org-table.el index 5839203..1d463a0 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -3800,7 +3800,7 @@ a radio table." (goto-char (org-table-begin)) (let (rtn) (beginning-of-line 0) - (while (looking-at "[ \t]*#\\+ORGTBL[: \t][ \t]*SEND +\\([a- zA-Z0-9_]+\\) +\\([^ \t\r\n]+\\)\\( +.*\\)?") + (while (looking-at "[ \t]*#\\+ORGTBL[: \t][ \t]*SEND[ \t]+\\ ([^ \t\r\n]+\\)[ \t]+\\([^ \t\r\n]+\\)\\([ \t]+.*\\)?") (let ((name (org-no-properties (match-string 1))) (transform (intern (match-string 2))) (params (if (match-end 3) ___ 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: Loosing tasks with remember
My alternate remember suggestion from a while back avoids lost data, for what it's worth. So if it is implemented as an alternate, you can try it. On 2010-04-13, Christian Zang wrote: > Thanks, Bernt, > > ok, invoking remember a couple of times in sequence is what I wanted to > avoid in the first place, but refiling a complete tree is a good idea and > might work for my purposes. > > Cheers, > Christian > > Am 14.04.2010 um 03:55 schrieb Bernt Hansen: > >> Christian Zang writes: >> >>> Dear org-enthusiasts, >>> >>> I have a remember template to file away quick notes and todos that looks >>> like >>> >>> (setq org-remember-templates >>> '(("Todo" ?t "*** TODO %?\n %i\n" "~/Org/inbox.org" "Inbox"))) >>> >>> When a invoke a remember buffer and write something like >>> >>> *** TODO Task 1 >>> >>> *** TODO Task 2 >>> >>> and file it away in my inbox.org file using C-c C-c everything is fine, >>> but when I choose a different headline (level 2) via C-1 C-c C-c, only >>> the first of the two tasks will get filed under the chosen headline, the >>> other one disappears. >>> >>> Is this the intended behaviour? Or am I overlooking an important >>> variable, or lies the problem in my template? If so, what can I do to >>> change my setup, so that every task will get filed under the chosen >>> headline? >>> >>> I am using the latest org-mode (pulled from git 10 min ago) with emacs >>> 23.1 on Mac OS X 10.6. >>> >>> Thanks! >> >> Hi Christian, >> >> Yes this is intended behaviour (sort of). Remember mode is designed for >> one task three per filing operation. I think it files multiple tasks in >> the default save configuration but if you file to a target only the >> first task is filed. >> >> To work around this I would either invoke remember multiple times, one >> for each task or provide a parent task to hold your multiple TODO >> entries like this >> >> * TODO refile task >> ** TODO Task 1 >> ** TODO Task 2 >> >> then you refile the entire tree to the target destination. >> >> HTH, >> Bernt >> >> >> ___ >> 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 > -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly disease for 25 years] == Retrovirus: http://www.wpinstitute.org/xmrv/index.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
Re: [Orgmode] Re: [Babel] Macro for begin_src?
On Apr 17, 2010, at 6:52 AM, Matt Lundin wrote: Erik Iverson writes: http://doc.norang.ca/org-mode.html#Yasnippets If anyone else has a different macro set up, I'm still interested in hearing your solutions. Nope, yasnippet is the way to go I think! There are quite a few other options. IMO, installing yasnippet is overkill if you are only using it for comment blocks in org-mode. 1. The first and simplest option is built into org-mode. Simply type: 8--- #+begin_src #+end_src --8<---cut here---end--->8--- For a full list of completions, type "C-h v org-structure-template-alist". 2. The second option is to save the text to a register: (set-register ?b "#+begin_src\n\n#+end_src") Then type C-x r i b to insert the source block. (info "(emacs) Registers") 3. You can use abbrev mode for dynamic expansion: - Activate the abbrev minor-mode in org-mode: + M-x abbrev-mode + permanently: (add-hook 'org-mode-hook (lambda () (abbrev-mode 1))) - In org-mode, type something like "sbp" for a perl source block. - Immediately after "sbp" type C-x a i l. - Enter the expansion: #+begin_src perl[C-q C-j][C-q C-j]#+end_src + Note: the C-q C-j creates a new line in the minibuffer - Now, whenever, you type sbp[Space, RET, TAB, etc.] in an org-mode buffer, the src block will magically appear. - If you want more complex completion (like yasnippet) you can combine abbrev mode with skeletons. See: - (info "(emacs) Abbrevs") and - http://www.emacswiki.org/emacs/SkeletonMode Best, Matt Neat. What would you use yasnippets for, if anything? All the best, Tom ___ 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: [Babel] Macro for begin_src?
On Sat, 17 Apr 2010 08:38:01 -0500, Nathan Neff wrote: You could play around with artist-mode if you use X. It uses the mouse with ascii symbols to create rectangles, lines etc. Then just change the text how you need. There are some helpful functions on emacswiki that show you how to set up ido with artist. Don't have the url handy though. Sadly, it seems you can't get artist-mode to work in a tty, though I believe you can in an xterm. Shelagh ___ 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] Escaping braces and org-export-latex-classes behaviour
Thanks for your reply. I am afraid I know nothing about Tex, so I cannot comment on that. But all my Latex references e.g. http://en.wikibooks.org/wiki/LaTeX/Colors give that as the correct syntax for \color, as opposed to e.g. \textcolor which has the syntax you report. But more generally, given that 90% of latex braces are just part of command syntax I have a feeling that it would be more economical to require the user to escape those braces which are indeed to be escaped in Latex. I think Carsten has been correcting quite a number of these "escape braces" bugs and I am not sure that the feature is worth his time. giulio On Sat, Apr 17, 2010 at 9:09 PM, Darlan Cavalcante Moreira wrote: > I think the correct would be using Latex syntax like \color{red}{whatever}. > > If you write using plain Tex syntax like {\color{red}whatever} org > will not understand that the outer curly brackets are part of the > command. > > > -- Darlan > > 2010/4/16 Giulio Fella : >> Hi, >> >> I have just upgraded from 6.33trans to 6.35g-55-g36d3e hoping to solve >> a problem with escaping braces. >> >> With LaTex_CLASS: beamer >> >> Something like >> {\color{red}whatever} >> >> exports to latex with escaped outer braces. Namely >> >> \{\color{red}whatever\} >> >> This is the same behaviour as in 6.33trans. I had read it was a bug >> which had been corrected. Is this a reappearing bug or is there a way >> round it? >> >> Also in version 6.33 the relevant content of org-export-latex-classes >> used to be exported before that of BEAMER_HEADER_EXTRA. Now it is >> parsed after it. Is there any variable I can set to reestablish the >> old behaviour? >> >> Many thanks in advance. >> >> Best wishes >> Giulio >> >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] why is '-' not allowed in radio table name?
I was using a radio table to convert an org table to texinfo, and got stuck for a bit until looking at the code and seeing that the name used for the radio table can not contain '-' (only letters, numbers and underscore). Is there a reason for this restriction? An alternative regexp is below (which also allows tabs as whitespace). Dan Modified lisp/org-table.el diff --git a/lisp/org-table.el b/lisp/org-table.el index 5839203..1d463a0 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -3800,7 +3800,7 @@ a radio table." (goto-char (org-table-begin)) (let (rtn) (beginning-of-line 0) - (while (looking-at "[ \t]*#\\+ORGTBL[: \t][ \t]*SEND +\\([a-zA-Z0-9_]+\\) +\\([^ \t\r\n]+\\)\\( +.*\\)?") + (while (looking-at "[ \t]*#\\+ORGTBL[: \t][ \t]*SEND[ \t]+\\([^ \t\r\n]+\\)[ \t]+\\([^ \t\r\n]+\\)\\([ \t]+.*\\)?") (let ((name (org-no-properties (match-string 1))) (transform (intern (match-string 2))) (params (if (match-end 3) ___ 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: How you ORGanize yourself? (aka: Why not one file to rule'em all?)
On Apr 17, 2010, at 3:50 PM, Matt Lundin wrote: Hi Marcelo, Marcelo de Moraes Serpa writes: This is a thread to share your org dir (you have one right) file structure. The title is because I see many of org users prefer having big monolithic files, and I have a slightly different line of thought. I have a handful of central files: e.g, inbox.org, reading.org, computer.org, writing.org, and so on. I've found, however, that on my relatively modest machines org/outline buffers slow down at appr. 12,000+ lines and become more or less unnavigable at appr. 30,000+ lines (especially if they have a deeply nested structure). Whenever a file gets too large, I simply create new files for sub-projects and sub-topics (e.g., perl.org, emacs.org, etc.) and link to them from the main file (e.g., computer.org). I also do a lot of archiving. FWIW, I've found it quite convenient to rely on filetags to organize my notes. I've written a few functions that allow me to limit my agenda to a subset of agenda files that share a filetag (e.g., "emacs" or "writing"). This is a bit quicker than calling agenda commands on all agenda files and then filtering afterward. It also allows for greater focus on a particular area of work. Here are the functions: http://orgmode.org/worg/org-hacks.php#set-agenda-files-by-filetag Hi Matt, this is very interesting! One idea: Instead of setting the value of org-agenda-files, you can also restrict in the following way: (org-agenda-remove-restriction-lock) (put 'org-agenda-files 'org-restrict my-file-list) (setq org-agenda-overriding-restriction 'files) The restriction sticks until you remove it with `C-c C_x >' I am not sure this will work better for your case - but maybe it will. - 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: Support (or not) for Emacs 21, and XEmacs
On Apr 17, 2010, at 5:39 PM, Michael Sperber wrote: Carsten Dominik writes: If you object to such a development, please step into this discussion. I do - I'm an avoid org-mode user, an XEmacs maintainer. and I'd be happy to help support XEmacs, if that would help change your mind. Hi Michael, how nice to get a reaction after all (you are the first). First let me say that I have been a big XEmacs user for many years. One of my bigger packages (IDLWAVE) was mostly developed under XEmacs. I did start using XEmacs at a time when it was clearly the better System. However, I have recently more and more the feeling how having to cater for several Emacs versions is a drag. The time I can devote to this project (Org-mode) is becoming less, not more. And I have to keep up with a system that generates 40 mailing list mails a day, and not infrequently 10 commits on a single day. I need to streamline, not to waste time. My impression is that Emacs right now has so much more momentum, and keeping the compatibility code seems unnecessary. I have written and maintained compatible code for all my packages over 2 decades. but I am not sure it makes sense anymore. My feeling was also that the interest in the XEmacs side for Org-mode is low. To my knowledge there is no Org-mode package for XEmacs, and the number of user on the mailing list seems to be very limited. So let me start with a question: Is XEmacs still alive, innovative? There has been no major release (it seems to me) for a very long time. It was my feeling that the XEmacs project is on its way to a slow death. I may be wrong about this. You propose to help. One way to go would be to continue a branch based on Org-mode 6.35, and to merge any new stuff into that branch. So a dedicated XEmacs-related person could keep such an XEmacs. In my test branch where I remove compatibility code (not only XEmacs, but also Emacs 21, and I'd love to ditch support for Emacs 22 - even though I cannot do that just yet), quite some code has changed, and I am not sure how easy it would be to keep a compatibility branch up to date. I am interested in a discussion, but I am not sure where it will lead. - Carsten -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla ___ 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] Escaping braces and org-export-latex-classes behaviour
I think the correct would be using Latex syntax like \color{red}{whatever}. If you write using plain Tex syntax like {\color{red}whatever} org will not understand that the outer curly brackets are part of the command. -- Darlan 2010/4/16 Giulio Fella : > Hi, > > I have just upgraded from 6.33trans to 6.35g-55-g36d3e hoping to solve > a problem with escaping braces. > > With LaTex_CLASS: beamer > > Something like > {\color{red}whatever} > > exports to latex with escaped outer braces. Namely > > \{\color{red}whatever\} > > This is the same behaviour as in 6.33trans. I had read it was a bug > which had been corrected. Is this a reappearing bug or is there a way > round it? > > Also in version 6.33 the relevant content of org-export-latex-classes > used to be exported before that of BEAMER_HEADER_EXTRA. Now it is > parsed after it. Is there any variable I can set to reestablish the > old behaviour? > > Many thanks in advance. > > Best wishes > Giulio > > > ___ > 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] odt2org
Hi Nicholas, I have some free time so I am reviewing the code again. I did it quite fast, because I was needing it. I would love if you could send me that file to reproduce the error. But it would be better, if you could produce one that I could add to the .zip without copyright issues. Kind regards, José M. 2009/8/18 Nick Dokos > Bastien wrote: > > > Jose Maria Garcia Perez writes: > > > > > Please don't blame since I am not a developer (I did what I could). I > have not > > > tested it much (I did it on windows, not in linux). > > > > > > The link for the software: > > > http://mantiel.wikidot.com/os:odt2org > > > > Hey, that looks great. I wanted to test it under GNU/Linux (debian) but > > the installation of the lxml library is not straightforward: > > > > http://codespeak.net/lxml/installation.html > > > > Did anyone successfully installed/tested Jose's converter under > GNU/Linux? > > > > Running on Ubuntu 8.04: I used synaptic to install lxml with no problems > (presumably you can do the same thing from debian using apt and get the > .deb from some ubuntu repository). I also needed to install > OleFileIO_PL: > > $ odt2org.py -i fax_1.odt -o fax1.org > ERROR: install "OleFileIO_PL": > http://www.decalage.info/files/OleFileIO_PL-0.18.zip > > > That was a straight python library install: unzip and run ``sudo python > setup.py install''. After that, I tried it on a fax cover sheet that I > just happened to have (I don't do odt so I don't have much lying around) > and after I got the following error, I tried it on a simple document > that I created: a title and a couple of bullets - I got the same error: > > > $ odt2org.py -i fax_1.odt -o fax_1.org > Traceback (most recent call last): > File "/home/nick/bin/odt2org.py", line 446, in >_oo.exportToORG() > File "/home/nick/bin/odt2org.py", line 376, in exportToORG >_output = self.__processText__() > File "/home/nick/bin/odt2org.py", line 174, in __processText__ >_tmp = self.__processParagraph__(_child) > File "/home/nick/bin/odt2org.py", line 200, in __processParagraph__ >for _i in _para.itertext(): > AttributeError: 'etree._Element' object has no attribute 'itertext' > > If you want to send me an odt document, I can try it out, but otherwise > I give up :-) > > HTH, > Nick > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: confused about logging
On 14 Apr 2010, carsten.domi...@gmail.com wrote: > If you pull the newest version, this information is only recorded if > either org-log-repeat is non-nil, or if the entry is collecting > clocking data. > > Hope this solves the problem for you. Excellent! This works perfectly. Thank you. Dan -- Dan Griswold Rochester, NY ___ 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: [Babel] Macro for begin_src?
Erik Iverson writes: >> http://doc.norang.ca/org-mode.html#Yasnippets >> >> If anyone else has a different macro set up, I'm still interested in >> hearing your solutions. >> > > Nope, yasnippet is the way to go I think! There are quite a few other options. IMO, installing yasnippet is overkill if you are only using it for comment blocks in org-mode. 1. The first and simplest option is built into org-mode. Simply type: 8--- #+begin_src #+end_src --8<---cut here---end--->8--- For a full list of completions, type "C-h v org-structure-template-alist". 2. The second option is to save the text to a register: (set-register ?b "#+begin_src\n\n#+end_src") Then type C-x r i b to insert the source block. (info "(emacs) Registers") 3. You can use abbrev mode for dynamic expansion: - Activate the abbrev minor-mode in org-mode: + M-x abbrev-mode + permanently: (add-hook 'org-mode-hook (lambda () (abbrev-mode 1))) - In org-mode, type something like "sbp" for a perl source block. - Immediately after "sbp" type C-x a i l. - Enter the expansion: #+begin_src perl[C-q C-j][C-q C-j]#+end_src + Note: the C-q C-j creates a new line in the minibuffer - Now, whenever, you type sbp[Space, RET, TAB, etc.] in an org-mode buffer, the src block will magically appear. - If you want more complex completion (like yasnippet) you can combine abbrev mode with skeletons. See: - (info "(emacs) Abbrevs") and - http://www.emacswiki.org/emacs/SkeletonMode 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
[Orgmode] Capturing Reference Material for Scientific Articles Written in Orgmode
Hi to all For those who are interested. [x] Do you write scientific articles in Orgmode? [x] Do you collect data (possible citations, ideas etc.) while reading books? [x] Do you own an Android phone? I just want to share a convenient method to collect scientific reference material with those who fulfill the points above. When I'm doing research for a paper or lecture, I use to collect reference material by photocopying parts of books or papers and labeling them according to my purposes. I follow a method similar to the famous "Zettelkasten" of Niklas Luhmann (I think there is no English equivalent for "Zettelkasten", it's a paper-based filing and reference system for citations, titles etc.). When I'm actually writing, I usually spread these "Zettel" (slips of paper) on the floor and start arranging them according to the argumentation line I want to develop and formulate. Since I write my stuff with Orgmode, I thought it would be handy to do this arrangement directly within the org-file of the paper I'm about to write. But, how to do this without transcribing the needed passages, and how to capture them where ever you are reading your books (train, library, toilet)? I own an Android phone, and I have installed a free app called "Scan2PDF". With Scan2PDF you can take a photocopy of a page in a book and send as a pdf-attachment to your mail address. The quality is sufficient. I wrote a shellscript that directly moves the mail-attachment to a predefined folder associated with the project and automatically creates an item and a link within the org-file of the paper I'm working on. This can be further automatized when running the script as a cronjob or as a procmail recipe. So, I can sit in a train, read a book, and create plenty of pdfs of the interesting passages. When I'm home again, these files are already linked to my paper and I can start re-reading and arranging them. Here is the script: --8<---cut here---start->8--- #!/bin/bash cd /home/sven/Mail/capture for i in $( ls ~/Mail/capture/ ); do PDFNAME="$(cat $i | grep ^Subject: | sed -e 's/Subject: //g' | sed -e 's/.*_//g')" PROJECT="$(cat $i | grep ^Subject: | sed -e 's/Subject: //g' | sed -e 's/_.*//g')" PDFDIR="/home/sven/documents/reference/$PROJECT" PAGE="$(cat $i | grep ^\[0-9]* | sed -e 's///g' | sed -e 's===g' | sed -e 's===g')" TITLE="$(cat $i | grep ^.*\<\/p\> | sed -e 's===g')" if [ ! -d $PDFDIR ] then mkdir $PDFDIR fi if [ ! -f /home/sven/documents/reference/$PROJECT.org ] then echo "* References" > /home/sven/documents/reference/$PROJECT.org fi munpack $i mv ~/Mail/capture/file*.pdf $PDFDIR/$PDFNAME:$PAGE.pdf sed -i "s=* References=* References\n** $TITLE\n\t [[file:$PDFDIR/$PDFNAME:$PAGE.pdf][$PDFNAME:$PAGE]]=g" /home/sven/documents/reference/$PROJECT.org rm $i done --8<---cut here---end--->8--- For example, you are sitting in a train reading a book by Niklas Luhmann published in 1978. You are reading this book for a paper you are working on. Now, you find an interesting passage about the self-referentiality of systems. You copy this page with your phone and mail the pdf to yourself. At home, the Email with the pdf-attachment is fetched by fetchmail and placed in a maildir folder "~/Mail/capture/" by procmail. The script is started once in an hour via cron. It reads the Subject which has to contain the project title and a key that represents the title of the book/article you were reading, separated by an understroke: , | mypaper_luhmann1978 ` This can be configured within Scan2PDF as a standard header as long as you are reading the respective book/article. If you change to another reading, just change the header configuration accordingly. The text-body of the Email contains the pagenumber of the reference and a short description (which will be the headline of the org-entry): , | 43 | Systems are self-referencial ` The effect is: 1. If not extant, the script creates a folder "mypaper" under ~/documents/references. 2. The attached photocopy of the page is detached from the mail[¹] and moved to this folder as luhmann:43.pdf 3. A link will be created in ~/documents/reference/mypaper.org, looking like this[²]: , | * References | ** Systems are self-referential |[[file:~/documents/references/mypaper/luhmann1978:43.pdf][luhman1978:43]] ` 4. The Email is deleted. You can capture plenty of those references within a short time. All you have to do is to take the photo and to type in the pagenumber and a short description. The rest will be done by Scan2PDF and the script. Thereafter you can move the org-entry with the link where ever you need it inside your paper (the "arrangement-on-the-floor phase"). Just click on the link and the file opens, so you can read it again and use its contents as a citation, inspiration, reminder or whatever. I'
[Orgmode] Re: Support (or not) for Emacs 21, and XEmacs
Carsten Dominik writes: > If you object to such a development, please step into this > discussion. I do - I'm an avoid org-mode user, an XEmacs maintainer. and I'd be happy to help support XEmacs, if that would help change your mind. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla ___ 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] Macro for begin_src?
RE: collections of org-mode yasnippets There is a collection available on github http://github.com/RickMoynihan/yasnippet-org-mode RE: binding the tab key for Yas expansion in Org-mode It is tricky, I use the solution shown here http://eschulte.github.com/emacs-starter-kit/starter-kit-org.html Best -- Eric Nathan Neff writes: > On Sat, Apr 17, 2010 at 9:06 AM, Erik Iverson wrote: > >> >> I'm guessing what you really want there is >>> >>>(set (make-local-variable 'yas/trigger-key) [tab]) >>> >>>instead of >>> >>> > (make-variable-buffer-local 'yas/trigger-key) >>> > (setq yas/trigger-key [tab]) >>> >>> >>> Hmmm. >>> >>> Do you guys un-map your TAB key so that it doesn't run org-cycle? >>> My TAB key will correctly trigger yas/insert-snippet in emacs-lisp mode. >>> However, in org-mode my TAB key is still mapped to org-cycle, even if I >>> add the org-mode hook using the code above. >>> >>> Thanks, >>> --Nate >>> >>> >> The order you do it might matter? >> > > I found the problem -- it's detailed right here, and it's tailored to fix > compatibility with org-mode: > http://yasnippet.googlecode.com/svn/trunk/doc/faq.html > > --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 ___ 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] Macro for begin_src?
On Sat, Apr 17, 2010 at 9:06 AM, Erik Iverson wrote: > > I'm guessing what you really want there is >> >>(set (make-local-variable 'yas/trigger-key) [tab]) >> >>instead of >> >> > (make-variable-buffer-local 'yas/trigger-key) >> > (setq yas/trigger-key [tab]) >> >> >> Hmmm. >> >> Do you guys un-map your TAB key so that it doesn't run org-cycle? >> My TAB key will correctly trigger yas/insert-snippet in emacs-lisp mode. >> However, in org-mode my TAB key is still mapped to org-cycle, even if I >> add the org-mode hook using the code above. >> >> Thanks, >> --Nate >> >> > The order you do it might matter? > I found the problem -- it's detailed right here, and it's tailored to fix compatibility with org-mode: http://yasnippet.googlecode.com/svn/trunk/doc/faq.html --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
Re: [Orgmode] Re: [Babel] Macro for begin_src?
I'm guessing what you really want there is (set (make-local-variable 'yas/trigger-key) [tab]) instead of > (make-variable-buffer-local 'yas/trigger-key) > (setq yas/trigger-key [tab]) Hmmm. Do you guys un-map your TAB key so that it doesn't run org-cycle? My TAB key will correctly trigger yas/insert-snippet in emacs-lisp mode. However, in org-mode my TAB key is still mapped to org-cycle, even if I add the org-mode hook using the code above. Thanks, --Nate The order you do it might matter? ___ 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: [Babel] Macro for begin_src?
On Sat, Apr 17, 2010 at 6:03 AM, Štěpán Němec wrote: > Dan Davison writes: > >> Thanks! I'm having trouble triggering the yasnippets using the TAB key, > so > > I'm > >> just using the GUI menu. > >> > >> Do you literally type "src" (no quotes), then press Tab? > > > > Yeah, but there's some magic code needed, which is also on Bernt's > > page. > > > > (add-hook 'org-mode-hook > > (lambda () > > ;; yasnippet > > (make-variable-buffer-local 'yas/trigger-key) > > (setq yas/trigger-key [tab]) > > (define-key yas/keymap [tab] 'yas/next-field-group))) > > I'm guessing what you really want there is > > (set (make-local-variable 'yas/trigger-key) [tab]) > > instead of > > > (make-variable-buffer-local 'yas/trigger-key) > > (setq yas/trigger-key [tab]) > > Hmmm. Do you guys un-map your TAB key so that it doesn't run org-cycle? My TAB key will correctly trigger yas/insert-snippet in emacs-lisp mode. However, in org-mode my TAB key is still mapped to org-cycle, even if I add the org-mode hook using the code above. Thanks, --Nate > The difference is that in the latter case you're making > `yas/trigger-key' be automatically buffer-local for *all* buffers, not > only in the buffer you're setting it (see e.g. the docstring of > `make-variable-buffer-local'). > > > Štěpán > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How you ORGanize yourself? (aka: Why not one file to rule'em all?)
Hi Marcelo, Marcelo de Moraes Serpa writes: > This is a thread to share your org dir (you have one right) file > structure. The title is because I see many of org users prefer having > big monolithic files, and I have a slightly different line of thought. I have a handful of central files: e.g, inbox.org, reading.org, computer.org, writing.org, and so on. I've found, however, that on my relatively modest machines org/outline buffers slow down at appr. 12,000+ lines and become more or less unnavigable at appr. 30,000+ lines (especially if they have a deeply nested structure). Whenever a file gets too large, I simply create new files for sub-projects and sub-topics (e.g., perl.org, emacs.org, etc.) and link to them from the main file (e.g., computer.org). I also do a lot of archiving. FWIW, I've found it quite convenient to rely on filetags to organize my notes. I've written a few functions that allow me to limit my agenda to a subset of agenda files that share a filetag (e.g., "emacs" or "writing"). This is a bit quicker than calling agenda commands on all agenda files and then filtering afterward. It also allows for greater focus on a particular area of work. Here are the functions: http://orgmode.org/worg/org-hacks.php#set-agenda-files-by-filetag 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: [Babel] Macro for begin_src?
What do you guys use for ditaa diagrams? Just copy/paste? Seems like it'd be a bit tedious to draw those boxes. --Nate On Sat, Apr 17, 2010 at 5:12 AM, Eric S Fraga wrote: > On Fri, 16 Apr 2010 21:23:35 -0500, Erik Iverson > wrote: > > > http://doc.norang.ca/org-mode.html#Yasnippets > > > > > > If anyone else has a different macro set up, I'm still interested in > > > hearing your solutions. > > > > > > > Nope, yasnippet is the way to go I think! > > +1 > > it might be nice to have a worg page on snippets for org-mode? I'm > happy to contribute a few. The ones I use the most are these two: > > block: > --8<---cut here---start->8--- > #name : #+begin_...#+end_ > # -- > #+begin_$1 $2 > $0 > #+end_$1 > --8<---cut here---end--->8--- > > and > > figure: > --8<---cut here---start->8--- > #name : figure > # -- > #+attr_latex: width=$1\textwidth > [[file:$2.pdf]] > $0 > --8<---cut here---end--->8--- > > ___ 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: Org-mode and appt
Bernt Hansen wrote: >> Is there any way to make appt report appointments scheduled at the >> same time? Is there way to fix #2? > So I get warnings for "Test" many times, and then a single warning for > "Test 2" 1 minute before the deadline and again at the deadline. > > I have no idea how to change this behaviour or if it is configurable at > all. Last time I looked at the code appt does not support multiple warnings. It would be a good thing to add on top of my patch for variable warning time. I got in a situation where a 90 minutes warning clobbered a 5 minutes appointment. http://kanis.fr/appointment-implement-variable-warning-time.html -- Ivan Kanis http://kanis.fr When you're looking at life In a strange new room Maybe drowning soon Is this the start of it all? -- Ian Curtis ___ 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: Bug: create latex png while export to HTML become very slow [6.35i]
Hello, I wanted to export some files to html, and they contain lots of LaTeX fragments. I've done some test on 6.35i and 6.34c. 6.35i included more packages when converting LaTeX to PNG, and that's a big issue for me because it is time consuming. And the result .dvi is much larger than 6.34c. these are some of my test result. 6.35i http://pastebin.com/0YPhjdW2 6.34c http://pastebin.com/A1azh7dW Thanks, Lucas ___ 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: [PATCH] docstring bug
I think that @samp{.} should rather be replaced by `.' or `<' than by (without simple quotes) < The `...@samp' marco is used for Texinfo source code, while simple quotes (`') are to be used in docstring. With my version of org, both `<' and `.' work, but maybe the prefix (`.' or `<') should be some customizable string. Vincent. > To: davi...@stats.ox.ac.uk > From: be...@norang.ca > Date: Fri, 16 Apr 2010 20:16:50 -0400 > CC: emacs-orgmode@gnu.org > Subject: [Orgmode] Re: [PATCH] docstring bug > > Dan Davison writes: > > > In the docstring for org-structure-template-alist it says something that > > I don't understand. I think perhaps it should be changed to > > > > diff --git a/lisp/org.el b/lisp/org.el > > index 1ef4395..ed602a5 100644 > > --- a/lisp/org.el > > +++ b/lisp/org.el > > @@ -9957,7 +9957,7 @@ This function can be used in a hook." > > ) > > "Structure completion elements. > > This is a list of abbreviation keys and values. The value gets inserted > > -it you type @samp{.} followed by the key and then the completion key, > > +it you type < followed by the key and then the completion key, > ^^ > if ? > > > usually `M-TAB'. %file will be replaced by a file name after prompting > > for the file using completion. > > There are two templates for each key, the first uses the original Org > > syntax, > > > > Dan > > ___ 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: [Bulk] [Orgmode] Column width in export
Thanks Giovanni, The documentation is however incomplete, the info node "(org) Column groups" does not says that the `/' in the first field has the effect of excluding the row from export. Actually when you read this info node, what you (or better said I) understand is that the `/' indicates that this special row is used to specify column grouping. Therefore I propose the attached patch to documentation. Vincent. PS-1: Sorry if sometimes I disturbe this group with naive questions. PS-2: This is a resend, it seems that the previous message was not dispatched due to this that I made a too big attachement (tarzipped complete manual old and new version in addition to patch). Change log: ### 2010-04-16 Vincent Belaïche * org.texi (Column width and alignment): add information how to exclude special row from export. Patch: ### *** org.texi.oldFri Apr 16 19:57:15 2010 --- org.texiFri Apr 16 20:07:59 2010 *** *** 1862,1867 --- 1862,1884 @samp{} in a similar fashion. You may also combine alignment and field width like this: @samp{}. + To exclude the special row containing the column width and/or alignment from + being exported, insert a dummy first column with @samp{/} in the field that + is on the special row, like this (considering the same example as previously): + + @example + @group + |---+---+| + | / | | <6>| + | # | 1 | one| + | # | 2 | two| + | # | 3 | This=> | + | # | 4 | four | + |---+---+| + @end group + @end example + + @node Column groups, Orgtbl mode, Column width and alignment, Tables @section Column groups @cindex grouping columns in tables > From: giovanni.rido...@yahoo.it > To: vincent@hotmail.fr > CC: emacs-orgmode@gnu.org > Subject: Re: [Bulk] [Orgmode] Column width in export > Date: Wed, 14 Apr 2010 13:26:31 +0200 > > Vincent Belaïche writes: > > > | salut | dsdd | > > | <30> | | > > | gvrag f gfegegergrgh rghrghr ghrh =>| gerg | > > > > When exported to HTML there is one table row with `<30>' in it. Is there > > anyway to make this row not exported as a row (but possibly exploited in > > other ways) ? > > In the manual, in the "table" section, subsection Column groups > it is written: > > " In order to specify column groups, you can use a special row where the > first field contains only `/'. The further fields can either contain " > > Before posting, please, read, or, at least, search, skim the manual > to find a possible solution. > > Giovanni ___ 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: [Babel] Macro for begin_src?
Dan Davison writes: >> Thanks! I'm having trouble triggering the yasnippets using the TAB key, so > I'm >> just using the GUI menu. >> >> Do you literally type "src" (no quotes), then press Tab? > > Yeah, but there's some magic code needed, which is also on Bernt's > page. > > (add-hook 'org-mode-hook > (lambda () > ;; yasnippet > (make-variable-buffer-local 'yas/trigger-key) > (setq yas/trigger-key [tab]) > (define-key yas/keymap [tab] 'yas/next-field-group))) I'm guessing what you really want there is (set (make-local-variable 'yas/trigger-key) [tab]) instead of > (make-variable-buffer-local 'yas/trigger-key) > (setq yas/trigger-key [tab]) The difference is that in the latter case you're making `yas/trigger-key' be automatically buffer-local for *all* buffers, not only in the buffer you're setting it (see e.g. the docstring of `make-variable-buffer-local'). Štěpán ___ 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] Preventing the export of cookies
Hi all, first, thanks for this great tool. :) Is there a way to prevent cookies ([/] and [%]) to be exported to LaTeX? Thanks for your help in advance! Sincerely, Felix ___ 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] Macro for begin_src?
On Fri, 16 Apr 2010 21:23:35 -0500, Erik Iverson wrote: > > http://doc.norang.ca/org-mode.html#Yasnippets > > > > If anyone else has a different macro set up, I'm still interested in > > hearing your solutions. > > > > Nope, yasnippet is the way to go I think! +1 it might be nice to have a worg page on snippets for org-mode? I'm happy to contribute a few. The ones I use the most are these two: block: --8<---cut here---start->8--- #name : #+begin_...#+end_ # -- #+begin_$1 $2 $0 #+end_$1 --8<---cut here---end--->8--- and figure: --8<---cut here---start->8--- #name : figure # -- #+attr_latex: width=$1\textwidth [[file:$2.pdf]] $0 --8<---cut here---end--->8--- ___ 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