Re: [O] No title in org-export-as-odt
Hi, Miguel Ruiz rbeni...@yahoo.es writes: Any hint to get rid of the title in a org-export-as-odt session? I don't think you can org-odt-format-preamble function says: ... (when title (concat (org-odt-format-stylized-paragraph 'title (org-odt-format-tags '(text:title . /text:title) title)) ;; separator text:p text:style-name=\OrgTitle\/)) ... So I only need to find a way to assign nil to title variable inside the document. Also I might define a new option with org-export-inbuffer-options-extra, but the elaboration of the function is beyond my knowledge. I would appreciate any idea. #+OPTIONS: title:nil author:nil timestamp:nil toc:nil ^ This option is not supported. -- Bastien Thanks.
Re: [O] No title in org-export-as-odt
Miguel Ruiz rbeni...@yahoo.es wrote: Hi, Miguel Ruiz rbeni...@yahoo.es writes: Any hint to get rid of the title in a org-export-as-odt session? I don't think you can org-odt-format-preamble function says: ... (when title (concat (org-odt-format-stylized-paragraph 'title (org-odt-format-tags '(text:title . /text:title) title)) ;; separator text:p text:style-name=\OrgTitle\/)) ... So I only need to find a way to assign nil to title variable inside the document. I don't think you can unless you change the code. The title is set in org-lparse.el::org-do-lparse like this: , | ... |(title (org-xml-encode-org-text-skip-links | (or (and subtree-p (org-export-get-title-from-subtree)) | (plist-get opt-plist :title) | (and (not body-only) | (not |(plist-get opt-plist :skip-before-1st-heading)) | (org-export-grab-title-from-buffer)) | (and buffer-file-name | (file-name-sans-extension |(file-name-nondirectory buffer-file-name))) | UNTITLED))) | ... ` so even if you arrange for the opt-plist to set :title to nil, the buffer-file-name will override it. Nick Also I might define a new option with org-export-inbuffer-options-extra, but the elaboration of the function is beyond my knowledge. I would appreciate any idea. #+OPTIONS: title:nil author:nil timestamp:nil toc:nil ^ This option is not supported. -- Bastien Thanks.
[O] Publishing using the new exporter
Hi, I'm trying to use the new exporter for publishing a project. For some reason all .org files get exported to zero length .html files. The org-e-publishh-project-alist is currently shortened to: #+begin_example (setq org-e-publish-project-alist '((s2-org :base-directory ~/Documents/org/s2 :base-extension org :publishing-directory ~/public_html/s2 :publishing-function org-e-publish-org-to-html ) (s2-extra :base-directory ~/Documents/org/s2 :base-extension css\\|pdf\\|png\\|jpg\\|gif\\|ksh\\|sh\\|py :publishing-directory ~/public_html/s2 :publishing-function org-e-publish-attachment :include (.htaccess) :recursive t) (s2 :components (s2-org s2-extra)) )) #+end_example The files in s2-extra all get published without a hitch. Just the .org files turn up wrong. I'd be very thankful for any advice or pointers in the right direction. Thanks an best regards Robert
Re: [O] Publishing using the new exporter
Hello, Robert Klein klein...@mpip-mainz.mpg.de writes: I'm trying to use the new exporter for publishing a project. For some reason all .org files get exported to zero length .html files. Did you (require 'org-e-html) first? Regards, -- Nicolas Goaziou
Re: [O] No title in org-export-as-odt
Da: Miguel Ruiz rbeni...@yahoo.es Inviato: Lunedì 24 Settembre 2012 8:03 Bastien Miguel Ruiz rbeni...@yahoo.es writes: Any hint to get rid of the title in a org-export-as-odt session? I don't think you can org-odt-format-preamble function says: ... (when title (concat (org-odt-format-stylized-paragraph 'title (org-odt-format-tags '(text:title . /text:title) title)) ;; separator text:p text:style-name=\OrgTitle\/)) So I only need to find a way to assign nil to title variable inside the document. #+TITLE: - leave a blank space here? the new HTML exporter works. I would appreciate any idea. HTH, Giovanni /shooting in the dark.
Re: [O] auto-fill non-op, fill-paragraph error
Edward DeMeulle ed at demeulle.org writes: I'm on 7.9.1. I've been pulling from the repository every once in a while. Hi, I'm as well facing the org-fill-paragraph problems in 7.9.1. I'm on the [maint] branch. Kind regards, Jörn
Re: [O] auto-fill non-op, fill-paragraph error
Hi, modeless model...@modeless.de writes: I'm as well facing the org-fill-paragraph problems in 7.9.1. I'm on the [maint] branch. What is the value returned by M-x org-version RET ? -- Bastien
[O] [PATCH] Give possibility to start gnus with gnus-no-server
Greetings. I tried to use org today together with gnus, but was unable to access gnus via org, because I always start gnus with gnus-no-server. The attached patch enables this through a customizeable variable. -- Jarmo From 02e2822e733122b94adbe622b6945c6bca516c3d Mon Sep 17 00:00:00 2001 From: Jarmo Hurri jarmo.hu...@syk.fi Date: Mon, 24 Sep 2012 16:10:06 +0300 Subject: [PATCH] Give possibility to start gnus with gnus-no-server * lisp/org-gnus.el: Added a new customizable boolean variable org-gnus-no-server and support for it in function org-gnus-no-new-news. --- lisp/org-gnus.el |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index 8ae41ee..2e0b5b7 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -66,6 +66,12 @@ this variable to `t'. :version 24.1 :type 'boolean) +(defcustom org-gnus-no-server nil + If non-nil, gnus is started in org using the function 'org-gnus-no-server' +instead of 'gnus'. + :group 'org-gnus + :type 'boolean) + ;; Install the link type (org-add-link-type gnus 'org-gnus-open) @@ -287,7 +293,7 @@ If `org-store-link' was called with a prefix arg the meaning of (defun org-gnus-no-new-news () Like `M-x gnus' but doesn't check for new news. - (if (not (gnus-alive-p)) (gnus))) + (if (not (gnus-alive-p)) (if org-gnus-no-server (gnus-no-server) (gnus (provide 'org-gnus) -- 1.7.7.6
Re: [O] [Bug] org-capture datetree+prompt: wrong time (range) information in timestamp (%T escape sequence)
Hi Gregor, Gregor Zattler telegr...@gmx.net writes: But there are two problems with the time information, which I consider to be bugs: 1) If I enter a time *range* at the prompt, the %T expands to the time when I invoked the capture (now) while the date is still the entered day, not today. This is a mixture of the events date / recording time which I consider to be a bug. Instead I expect to see the date and time range of the appointment. The %T specifier do not allow ranges. I've changed the behavior here so that, when the user specifies a time range, only the first time spec is taken into account. 2) If I do not enter a time at all, since for instance the date is not bound to a time (e.g. holiday, birthday) the %T also expands to the time when I invoked the capture (now) while the date is still the entered day, not today. The %T specifier _requires_ a time to be set (otherwise you would use %t), but I agree the current time looks wrong here. So this is now 00:00 instead. This does not look perfect, but it's better IMHO. Thanks for reporting these bugs. Best, -- Bastien
Re: [O] [PATCH] Lookup functions, take two
Hi Jarmo, Jarmo Hurri jarmo.hu...@syk.fi writes: Modified the patch as requested: the ordering in the documentation is now Column formulas before the new Lookup functions. I feel my brain is a bit slow today... so sorry in advance if the question sounds stupid. What is the advantage of using org-lookup-* functions instead of a simple reference in the table formulas? -- Bastien
Re: [O] Org-mode release 7.9
Bastien b...@altern.org writes: Achim Gratz strom...@nexgo.de writes: Bastien writes: However I suggest to lose the plural and just use `org-plus-contrib´. Yes, that's fine for me. Thanks, Implemented and pushed. Thanks! So is there some server-side action which needs to be taken for these packages and the archive-contents file to begin appearing online? Where will one point ELPA to use these new packages? E.g., ;; -*- emacs-lisp -*- (add-to-list 'package-archives '(Org-mode . http://orgmode.org/pkg/foo;)) Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte
[O] Feature Request: Per-file attachment directories
Org Mode-erists: I like the attachment facility of Org for organizing external files related to a project, but it seems to lack an obvious feature. I use a separate org file for each major project, which in my case are law suits. I would like to have a custom attachment directory specified at the top of the file for all attachments related to the project, have it inherited by all headings, and be able to specify a custom directory for a heading relative to that file-wide attachment directory. I have tried this: #+PROPERTY: :ATTACH_DIR_INHERIT: t #+PROPERTY: :ATTACH_DIR: ~/cases/Client Name/Case Name/ but it does not work. When I C-c C-a f to open up the attachment directory on a headline, it gives me an ID-based directory in the data directory instead of the file-wide default. Also, when I C-c C-a s to set a custom attachment directory, it defaults to my org directory. Using the data directory would be fine if I only wanted to access files through Org Mode (and perhaps I should), but I occassionaly have to open a file from outside emacs (say, a spreadsheet from excel on a Windows machine) and finding the file in the ID-based heirarchy is tough. How hard would this be to implement? With this, I can thing of my org-mode file as a kind of annotated dired for a project. Regards, -- Daniel E. Doherty ded-...@ddoherty.net
[O] Bug: M-x org-agenda RET a RET = Lisp error: (wrong-type-argument number-or-marker-p nil) [7.9.1 (release_7.9.1-321-g9ebf47-git @ mixed installation! /usr/share/emacs/24.2.50/lisp/org/ and /home/h
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. With org from git (commit 9ebf47afbf2b60a496a1a5393aaa7734adc4d352), I get the error from the subject when I want to open the org agenda. You don't need any configs to trigger the error. Here's a minimal recipe: 1. emacs -Q 2. Add this to *scratch* and evaluate it: (progn ;; adapt the path as needed (add-to-list 'load-path ~/Repos/el/org-mode/lisp/) (require 'org)) 3. M-x org-agenda RET a RET With debug-on-error, I get the following backtrace (from uncompiled sources for clarity, you get the same error if org is compiled): --8---cut here---start-8--- Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) 1-(nil) (let ((--dotimes-limit-- (1- ndays)) (n 0)) (while ( n --dotimes-limit--) (setq day-numbers (cons (1+ (car day-numbers)) day-numbers)) (setq n (1+ n (progn (let ((--dotimes-limit-- (1- ndays)) (n 0)) (while ( n --dotimes-limit--) (setq day-numbers (cons (1+ (car day-numbers)) day-numbers)) (setq n (1+ n) (let* ((span (org-agenda-ndays-to-span (or span org-agenda-ndays org-agenda-span))) (today (org-today)) (sd (or start-day today)) (ndays (org-agenda-span-to-ndays span sd)) (org-agenda-start-on-weekday (if (eq ndays 7) org-agenda-start-on-weekday)) (thefiles (org-agenda-files nil (quote ifmode))) (files thefiles) (start (if (or (null org-agenda-start-on-weekday) ( ndays 7)) sd (let* ((nt (calendar-day-of-week ...)) (n1 org-agenda-start-on-weekday) (d (- nt n1))) (- sd (+ (if ... 7 0) d) (day-numbers (list start)) (day-cnt 0) (inhibit-redisplay (not debug-on-error)) (org-agenda-show-log-scoped org-agenda-show-log) s e rtn rtnall file date d start-pos end-pos todayp clocktable-start clocktable-end filter) (setq org-agenda-redo-command (list (quote org-agenda-list) (list (quote quote) arg) start-day (list (quote quote) span))) (progn (let ((--dotimes-limit-- (1- ndays)) (n 0)) (while ( n --dotimes-limit--) (setq day-numbers (cons (1+ (car day-numbers)) day-numbers)) (setq n (1+ n) (setq day-numbers (nreverse day-numbers)) (setq clocktable-start (car day-numbers) clocktable-end (1+ (or (org-last day-numbers) 0))) (org-set-local (quote org-starting-day) (car day-numbers)) (org-set-local (quote org-arg-loc) arg) (org-set-local (quote org-agenda-current-span) (org-agenda-ndays-to-span span)) (if org-agenda-compact-blocks nil (let* ((d1 (car day-numbers)) (d2 (org-last day-numbers)) (w1 (org-days-to-iso-week d1)) (w2 (org-days-to-iso-week d2))) (setq s (point)) (if org-agenda-overriding-header (insert (org-add-props (copy-sequence org-agenda-overriding-header) nil (quote face) (quote org-agenda-structure)) \n) (insert (org-agenda-span-name span) -agenda (if ( (- d2 d1) 350) (if (= w1 w2) (format (W%02d) w1) (format (W%02d-W%02d) w1 w2)) ) :\n))) (add-text-properties s (1- (point)) (list (quote face) (quote org-agenda-structure) (quote org-date-line) t)) (org-agenda-mark-header-line s)) (while (setq d (car (prog1 day-numbers (setq day-numbers (cdr day-numbers) (setq date (calendar-gregorian-from-absolute d) s (point)) (if (or (setq todayp (= d today)) (and (not start-pos) (= d sd))) (setq start-pos (point)) (if (and start-pos (not end-pos)) (setq end-pos (point (setq files thefiles rtnall nil) (while (setq file (car (prog1 files (setq files (cdr files) (catch (quote nextfile) (org-check-agenda-file file) (let ((org-agenda-entry-types org-agenda-entry-types)) (if org-agenda-include-deadlines nil (setq org-agenda-entry-types (delq :deadline org-agenda-entry-types))) (cond ((memq org-agenda-show-log-scoped ...) (setq rtn ...)) (org-agenda-show-log-scoped (setq rtn ...)) (t (setq rtn ... (setq rtnall (append rtnall rtn (if org-agenda-include-diary (let ((org-agenda-search-headline-for-time t)) (require (quote diary-lib)) (setq rtn (org-get-entries-from-diary date)) (setq rtnall (append rtnall rtn (if (or rtnall org-agenda-show-all-dates) (progn (setq day-cnt (1+ day-cnt)) (insert (if (stringp org-agenda-format-date) (format-time-string org-agenda-format-date (org-time-from-absolute date)) (funcall org-agenda-format-date date)) \n) (put-text-property s (1- (point)) (quote face) (org-agenda-get-day-face date)) (put-text-property s (1- (point)) (quote org-date-line) t) (put-text-property s (1- (point)) (quote org-agenda-date-header) t) (put-text-property s (1- (point)) (quote org-day-cnt) day-cnt) (if todayp (progn (put-text-property s (1- ...) (quote org-today) t))) (setq rtnall (org-agenda-add-time-grid-maybe rtnall ndays todayp)) (if rtnall (insert (org-agenda-finalize-entries rtnall)
Re: [O] Publishing using the new exporter
Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Robert Klein klein...@mpip-mainz.mpg.de writes: I'm trying to use the new exporter for publishing a project. For some reason all .org files get exported to zero length .html files. Did you (require 'org-e-html) first? Not that I have tried it, but I would expect error messages rather than zero-length files in that case. Is that expectation wrong? Nick
Re: [O] Bug: M-x org-agenda RET a RET = Lisp error: (wrong-type-argument number-or-marker-p nil) [7.9.1 (release_7.9.1-321-g9ebf47-git @ mixed installation! /usr/share/emacs/24.2.50/lisp/org/ and /ho
Hi Tassilo, Tassilo Horn t...@gnu.org writes: With org from git (commit 9ebf47afbf2b60a496a1a5393aaa7734adc4d352), I get the error from the subject when I want to open the org agenda. Should be fixed now, thanks! -- Bastien
Re: [O] Bug: M-x org-agenda RET a RET = Lisp error: (wrong-type-argument number-or-marker-p nil) [7.9.1 (release_7.9.1-321-g9ebf47-git @ mixed installation! /usr/share/emacs/24.2.50/lisp/org/ and /ho
Bastien b...@altern.org writes: Hi Bastien, With org from git (commit 9ebf47afbf2b60a496a1a5393aaa7734adc4d352), I get the error from the subject when I want to open the org agenda. Should be fixed now, thanks! Yes, works again. Thanks a lot, Tassilo
Re: [O] LaTeX export problem
Nicolas, Here is my configuration section (it goes at the end of the org file). Nothing in the LaTeX_HEADER lines gets inserted into output tex document. The old exporter just inserted them all verbatim. #+STARTUP:align fold nodlcheck hidestars oddeven lognotestate #+PROPERTY: exports results #+TITLE: Test document #+AUTHOR: #+EMAIL: myem...@gmail.com #+DATE: #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:nil -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: #+LANGUAGE: en #+LaTeX_CLASS:koma-article #+LaTeX_HEADER:\usepackage{color} #+LaTeX_HEADER:\definecolor{spot}{rgb}{0,0.2,0.6} #+LaTeX_HEADER:\definecolor{TUgreen}{RGB}{41,93,80} #+LaTeX_HEADER:\setkomafont{section}{\color{TUgreen}\sffamily\bfseries} #+LaTeX_HEADER:\renewcommand{\sfdefault}{jvn} #+LaTeX_HEADER:\renewcommand*\familydefault{\sfdefault} #+LaTeX_HEADER:\usepackage[automark,nouppercase]{scrpage2} #+LaTeX_HEADER:\clearscrheadfoot #+LaTeX_HEADER:\setheadwidth{paper} #+LaTeX_HEADER:\setfootwidth{paper} #+LaTeX_HEADER:\cohead[]{ #+LaTeX_HEADER: \includegraphics[width=7.75in]{MyHeader.jpg} #+LaTeX_HEADER:} #+LaTeX_HEADER:\cofoot[]{ #+LaTeX_HEADER: \includegraphics[width=7.75in]{MyFooter.png} #+LaTeX_HEADER:} #+LaTeX_HEADER:\pagestyle{scrplain} #+LaTeX_HEADER:\AtBeginDocument{\vspace*{5\baselineskip}\thispagestyle{scrheadings}} #+LaTeX_HEADER:\setlength{\topmargin}{-0.80in} #+LaTeX_HEADER:\setlength{\textheight}{730pt} #+LaTeX_HEADER:\makeatletter #+LaTeX_HEADER:\renewcommand{\maketitle}{ #+LaTeX_HEADER:% \vspace*{5\baselineskip}% #+LaTeX_HEADER: \vskip 2em% #+LaTeX_HEADER: \begin{center}% #+LaTeX_HEADER: {\LARGE \@title \par}% #+LaTeX_HEADER: \end{center}% #+LaTeX_HEADER: \par} \makeatother The new tex file just starts like this % Created 2012-09-24 Mon 11:31 \author{} \date{} \title{Test document} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.1.}} \begin{document} \maketitle Thanks Alex On Sat, Sep 22, 2012 at 3:07 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Alexander Vorobiev alexander.vorob...@gmail.com writes: I tried the new exporter (using today's snapshot of the sources) and it produced invalid LaTeX (it calls hypersetup without loading hyperref package). The export back-end doesn't load any package on its own. You have to make sure hyperref is properly loaded (AFAIK, it is by default). It also ignored the #+LaTeX_CLASS: and all the #+LaTeX_HEADER:lines in my file. Those lines shouldn't be ignored. You probably don't have any matching entry in `org-e-latex-classes' for your #+LATEX_CLASS: specification. I'm not sure about #+LaTeX_HEADER: lines. Do you have an example? Are there any examples of org files which show how to customize the new LaTeX exporter? Try first: M-x customize-group RET org-export-e-latex RET Regards, -- Nicolas Goaziou
Re: [O] dnd-protocol-alist and org
Yeah, I've tried there, but no luck. In fact, I thought it'd be interesting/relevant enough to org in order to post here. Integration with dnd and copy and paste for files and images would be awesome and put org on par with Evernote in this regard. I mean, it's so much faster and more intuitive to just paste images or files into a document (or drag and drop them) than it is to org-attach them or link them manually :) On Mon, Sep 24, 2012 at 12:10 AM, Bastien b...@altern.org wrote: Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com writes: *bump* Does anyone else think that'd be a nice feature? I'm having a hard time making dnd-protocol-alist work on OSX though, any hints appreciated :) AFAIU this is a general Emacs question, maybe you'll have more chance on emacs-devel. -- Bastien
Re: [O] Org-mode release 7.9
Eric Schulte writes: So is there some server-side action which needs to be taken for these packages and the archive-contents file to begin appearing online? Yes, archive-contents is not currently produced. AFAIK the server is still running Emacs 23 and I don't know if package-x is available. Although it should be possible to produce the package description vectors manually at the moment, I would like to avoid that. Where will one point ELPA to use these new packages? E.g., ;; -*- emacs-lisp -*- (add-to-list 'package-archives '(Org-mode . http://orgmode.org/pkg/foo;)) When archive-contents gets created, the URL must likely will be http://orgmode.org/pkg, until then you need to download the tar file and do a package-install-file. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada
Re: [O] Publishing using the new exporter
Nick Dokos writes: Did you (require 'org-e-html) first? Not that I have tried it, but I would expect error messages rather than zero-length files in that case. Is that expectation wrong? I think that if a backend hasn't registered callbacks, the defaults (doing nothing) will take over. I think there should be a canary someplace that tells you if you're trying to use a backend that hasn't been registered (or doesn't exist) to give a warning in this case. Ideally a backend should be autoloaded when requested, but I guess we're not there just yet. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Re: [O] Publishing using the new exporter
On 09/24/2012 12:25 PM, Nicolas Goaziou wrote: Hello, Robert Klein klein...@mpip-mainz.mpg.de writes: I'm trying to use the new exporter for publishing a project. For some reason all .org files get exported to zero length .html files. Did you (require 'org-e-html) first? Regards, Thanks, this helps. This is a bit curious for me. I compiled org-mode with ORG_ADD_CONTRIB = org-e-* org-md org-export in local.mk and simple eporting (instead of publishing) using org-e- export-html-to-html worked with only (require 'org-install) in my .emacs. Anyway, I can export now, though the new exporter doesn't seem to honor the :html-preamble and :html-postamble variables in the project alist yet. (I set them both to a function name, e.g. :html-preamble s2-preamble with s2-preamble defined as: #+begin_src elisp (defun s2-preamble () (org-get-file-contents ~/Documents/org/s2/html/preamble.html)) #+end_src So, org-get-file-contents is a function from the old exporter, but I didn't see any reason why it shouldn't. Another issue I encountered, when publishing(!) to pdf, the resulting pdfs didn't have any images. This is probably caused by the images beind created in :base-directory and the pdf being created in :publishing-directory (there may be more to this; I think at one time I already hat images in :publishing-directory). Note, images are created using plantuml source in the .org-files. Works Ok with the HTML exporter, images are created by the PDF exporter also bbut not included in the resulting PDF. Best regards Robert
Re: [O] [PATCH] Lookup functions, take two
Bastien b...@altern.org writes: I feel my brain is a bit slow today... so sorry in advance if the question sounds stupid. What is the advantage of using org-lookup-* functions instead of a simple reference in the table formulas? As noted in the documentation, most often you do something like this when fetching data from another table (in the case of org, using remote). I would preferred to include cases like this, but the tblfm-lines were too long for the resulting PDF... Say I have 100 students, and I want to grade them. I find the sum of their marks, and then have a grading table for the grades. The lookup function maps the marks to the grades, as shown in documentation in the second example. Another application would be, say, mapping your postal code to your municipality. The user would input the postal code, and the table would automatically fetch the corresponding municipality from another table. A third example would be a discount rate that depends on the total sum of your bill. Or a bonus that depends on how productive you were (given as a table by the suits). M*crosoft equivalents, supported by libreoffice, are the hlookup and vlookup functions: http://help.libreoffice.org/Calc/Spreadsheet_Functions#VLOOKUP -- Jarmo
[O] New exporter doesn't like #+LaTeX_CLASS
To get my favorite default sty files loaded with org mode, I have a set of LaTeX commands defined as rhs in org-export-latex-classes. This has always worked fine in the past, and continues to work fine with the old exporter, but when I include the line #+LaTeX_CLASS: rhs And process using org-export-dispatch, not only does it not load in the preamble I want, but it doesn't seem even to load most of the default packages, resulting in error messages like ! Undefined control sequence. l.6 \hypersetup { ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... By the way, this is with Org-mode version 7.9.1 (release_7.9.1-325-g2150a9 @ /Applications/Emacs.app/Contents/Resources/site-lisp/org-mode/lisp/) Thanks. Richard Stanton
Re: [O] Org-mode release 7.9
Hi, Achim Gratz strom...@nexgo.de writes: Yes, archive-contents is not currently produced. AFAIK the server is still running Emacs�23 and I don't know if package-x is available. Although it should be possible to produce the package description vectors manually at the moment, I would like to avoid that. Where will one point ELPA to use these new packages? E.g., ;; -*- emacs-lisp -*- (add-to-list 'package-archives '(Org-mode . http://orgmode.org/pkg/foo;)) When archive-contents gets created, the URL must likely will be http://orgmode.org/pkg, until then you need to download the tar file and do a package-install-file. http://orgmode.org/pkg/ is fine. How is the GNU ELPA downloading org-*.tar currently? org-plus-contrib-*.tar should not be downloaded on elpa.gnu.org. So maybe we should have two directories? Let me know what I need to add on the server. Jason may also help by installing Emacs 24.2 if necessary. -- Bastien
Re: [O] New exporter doesn't like #+LaTeX_CLASS
There's a new var, org-e-latex-classes. Philipp On Mon, Sep 24, 2012 at 10:46:26AM -0700, Richard Stanton wrote: To get my favorite default sty files loaded with org mode, I have a set of LaTeX commands defined as rhs in org-export-latex-classes. This has always worked fine in the past, and continues to work fine with the old exporter, but when I include the line #+LaTeX_CLASS: rhs And process using org-export-dispatch, not only does it not load in the preamble I want, but it doesn't seem even to load most of the default packages, resulting in error messages like ! Undefined control sequence. l.6 \hypersetup { ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... By the way, this is with Org-mode version 7.9.1 (release_7.9.1-325-g2150a9 @ /Applications/Emacs.app/Contents/Resources/site-lisp/org-mode/lisp/) Thanks. Richard Stanton
Re: [O] New exporter doesn't like #+LaTeX_CLASS
Richard, See the discussion in the following thread http://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg00505.html. It has a lot of helpful hints on the new exporter. Alex On Mon, Sep 24, 2012 at 12:46 PM, Richard Stanton stan...@haas.berkeley.edu wrote: To get my favorite default sty files loaded with org mode, I have a set of LaTeX commands defined as rhs in org-export-latex-classes. This has always worked fine in the past, and continues to work fine with the old exporter, but when I include the line #+LaTeX_CLASS: rhs And process using org-export-dispatch, not only does it not load in the preamble I want, but it doesn't seem even to load most of the default packages, resulting in error messages like ! Undefined control sequence. l.6 \hypersetup { ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... By the way, this is with Org-mode version 7.9.1 (release_7.9.1-325-g2150a9 @ /Applications/Emacs.app/Contents/Resources/site-lisp/org-mode/lisp/) Thanks. Richard Stanton
Re: [O] Feature Request: Per-file attachment directories
Daniel, On 9/24/2012 10:57 AM, Daniel E. Doherty wrote: Org Mode-erists: I like the attachment facility of Org for organizing external files related to a project, but it seems to lack an obvious feature. I use a separate org file for each major project, which in my case are law suits. I would like to have a custom attachment directory specified at the top of the file for all attachments related to the project, have it inherited by all headings, and be able to specify a custom directory for a heading relative to that file-wide attachment directory. I have tried this: #+PROPERTY: :ATTACH_DIR_INHERIT: t #+PROPERTY: :ATTACH_DIR: ~/cases/Client Name/Case Name/ but it does not work. When I C-c C-a f to open up the attachment directory on a headline, it gives me an ID-based directory in the data directory instead of the file-wide default. Also, when I C-c C-a s to set a custom attachment directory, it defaults to my org directory. Using the data directory would be fine if I only wanted to access files through Org Mode (and perhaps I should), but I occassionaly have to open a file from outside emacs (say, a spreadsheet from excel on a Windows machine) and finding the file in the ID-based heirarchy is tough. How hard would this be to implement? With this, I can thing of my org-mode file as a kind of annotated dired for a project. Regards, The following does not answer you request or question, but like you I use Org Mode for legal work (I'm a freelance paralegal). Have you thought about working entirely in Org Mode, including spreadsheets and then exporting. For instance Jambunathan's odt export. Or you can copy a region into a your preferred office suite's word processor, spreadsheet,etc. Charlie Millar
Re: [O] Feature Request: Per-file attachment directories
Daniel E. Doherty ded-...@ddoherty.net wrote: Org Mode-erists: I like the attachment facility of Org for organizing external files related to a project, but it seems to lack an obvious feature. I use a separate org file for each major project, which in my case are law suits. I would like to have a custom attachment directory specified at the top of the file for all attachments related to the project, have it inherited by all headings, and be able to specify a custom directory for a heading relative to that file-wide attachment directory. I have tried this: #+PROPERTY: :ATTACH_DIR_INHERIT: t #+PROPERTY: :ATTACH_DIR: ~/cases/Client Name/Case Name/ but it does not work. When I C-c C-a f to open up the attachment directory on a headline, it gives me an ID-based directory in the data directory instead of the file-wide default. Try losing the colons around the property names - the following seems to work OK (modulo the possible problem of filenames starting with . - I had to rename .emacs - dot.emacs for it to work): , | #+PROPERTY: ATTACH_DIR ./attachments | | | * bar :ATTACH: | :PROPERTIES: | :Attachments: dot.emacs | :END: | | Make an attachment. ` Nick Also, when I C-c C-a s to set a custom attachment directory, it defaults to my org directory. Using the data directory would be fine if I only wanted to access files through Org Mode (and perhaps I should), but I occassionaly have to open a file from outside emacs (say, a spreadsheet from excel on a Windows machine) and finding the file in the ID-based heirarchy is tough. How hard would this be to implement? With this, I can thing of my org-mode file as a kind of annotated dired for a project. Regards, -- Daniel E. Doherty ded-...@ddoherty.net
[O] bug in org-entry-get
Hello There is a bug in `org-entry-get' when used with non-nil INHERIT. When PROPERTY is set in `org-file-properties', `org-global-properties' or `org-global-properties-fixed' then 'org-entry-get' uses that value without first checking higher levels of the hierarchy. -- Jonas
Re: [O] Feature Request: Per-file attachment directories
Nick Dokos nicholas.do...@hp.com wrote: Daniel E. Doherty ded-...@ddoherty.net wrote: Org Mode-erists: I like the attachment facility of Org for organizing external files related to a project, but it seems to lack an obvious feature. I use a separate org file for each major project, which in my case are law suits. I would like to have a custom attachment directory specified at the top of the file for all attachments related to the project, have it inherited by all headings, and be able to specify a custom directory for a heading relative to that file-wide attachment directory. I have tried this: #+PROPERTY: :ATTACH_DIR_INHERIT: t #+PROPERTY: :ATTACH_DIR: ~/cases/Client Name/Case Name/ One more thing: I have no idea if spaces in the pathname are going to be a problem. A cursory test indicates that it's probably OK: (org-entry-get nil ATTACH-DIR) returns the whole pathname, spaces and everything. But if things break, that's one thing that you might want to change before giving up. Nick but it does not work. When I C-c C-a f to open up the attachment directory on a headline, it gives me an ID-based directory in the data directory instead of the file-wide default. Try losing the colons around the property names - the following seems to work OK (modulo the possible problem of filenames starting with . - I had to rename .emacs - dot.emacs for it to work): , | #+PROPERTY: ATTACH_DIR ./attachments | | | * bar :ATTACH: | :PROPERTIES: | :Attachments: dot.emacs | :END: | | Make an attachment. ` Nick Also, when I C-c C-a s to set a custom attachment directory, it defaults to my org directory. Using the data directory would be fine if I only wanted to access files through Org Mode (and perhaps I should), but I occassionaly have to open a file from outside emacs (say, a spreadsheet from excel on a Windows machine) and finding the file in the ID-based heirarchy is tough. How hard would this be to implement? With this, I can thing of my org-mode file as a kind of annotated dired for a project. Regards, -- Daniel E. Doherty ded-...@ddoherty.net
Re: [O] LaTeX export problem
Hello, Alexander Vorobiev alexander.vorob...@gmail.com writes: Here is my configuration section (it goes at the end of the org file). Nothing in the LaTeX_HEADER lines gets inserted into output tex document. The old exporter just inserted them all verbatim. #+STARTUP:align fold nodlcheck hidestars oddeven lognotestate #+PROPERTY: exports results #+TITLE: Test document #+AUTHOR: #+EMAIL: myem...@gmail.com #+DATE: #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:nil -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: #+LANGUAGE: en #+LaTeX_CLASS:koma-article #+LaTeX_HEADER:\usepackage{color} #+LaTeX_HEADER:\definecolor{spot}{rgb}{0,0.2,0.6} #+LaTeX_HEADER:\definecolor{TUgreen}{RGB}{41,93,80} #+LaTeX_HEADER:\setkomafont{section}{\color{TUgreen}\sffamily\bfseries} #+LaTeX_HEADER:\renewcommand{\sfdefault}{jvn} #+LaTeX_HEADER:\renewcommand*\familydefault{\sfdefault} #+LaTeX_HEADER:\usepackage[automark,nouppercase]{scrpage2} #+LaTeX_HEADER:\clearscrheadfoot #+LaTeX_HEADER:\setheadwidth{paper} #+LaTeX_HEADER:\setfootwidth{paper} #+LaTeX_HEADER:\cohead[]{ #+LaTeX_HEADER: \includegraphics[width=7.75in]{MyHeader.jpg} #+LaTeX_HEADER:} #+LaTeX_HEADER:\cofoot[]{ #+LaTeX_HEADER: \includegraphics[width=7.75in]{MyFooter.png} #+LaTeX_HEADER:} #+LaTeX_HEADER:\pagestyle{scrplain} #+LaTeX_HEADER:\AtBeginDocument{\vspace*{5\baselineskip}\thispagestyle{scrheadings}} #+LaTeX_HEADER:\setlength{\topmargin}{-0.80in} #+LaTeX_HEADER:\setlength{\textheight}{730pt} #+LaTeX_HEADER:\makeatletter #+LaTeX_HEADER:\renewcommand{\maketitle}{ #+LaTeX_HEADER:% \vspace*{5\baselineskip}% #+LaTeX_HEADER: \vskip 2em% #+LaTeX_HEADER: \begin{center}% #+LaTeX_HEADER: {\LARGE \@title \par}% #+LaTeX_HEADER: \end{center}% #+LaTeX_HEADER: \par} \makeatother The new tex file just starts like this % Created 2012-09-24 Mon 11:31 \author{} \date{} \title{Test document} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.1.}} \begin{document} \maketitle You need a space after the colons in #+LATEX_HEADER: and #+LATEX_CLASS lines. Regards, -- Nicolas Goaziou
Re: [O] new exporter: exporting subtree as beamer
Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: [ test_beamer.org ] * Test Beamer :PROPERTIES: :EXPORT_LaTeX_CLASS: beamer :EXPORT_LaTeX_CLASS_OPTIONS: [presentation] :EXPORT_FILE_NAME: presentation.pdf :COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt) :BEAMER_col_ALL: 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC :END: ** First Slide :B_frame: :PROPERTIES: :BEAMER_env: frame :END: - first bullet One more thing, though. The EXPORT_FILE_NAME is ignored at my side. You mean that, when you export * Test Beamer sub-tree, produced file isn't called presentation.pdf? That's strange. I cannot reproduce it. What is the output of: M-: (org-export-output-file-name .tex t) when point is around the first headline then? Regards, -- Nicolas Goaziou
[O] Breadcrumbs?
Has anyone ever tried implementing a breadcrumbs-type feature in org-mode? By that I mean something that would quickly tell you the headings up the whole path to the root, to quickly orient yourself when you're deep within a document. I was originally thinking of something always-present shown at the top of the frame, but maybe it would be better as something shown on demand in the minibuffer, possibly making it taller while shown. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please contact the sender via reply e-mail and destroy all copies of the original message. Thank you.
Re: [O] LaTeX export problem
Hi Nicolas, Thanks a lot for the help, I configured the org-e-latex-classes and now am getting somewhere - at least my LaTeX settings appear in the output. The next problem I have is babel-related. I create results of execution of my source blocks in org format so they are enclosed in #+BEGIN_ORG ... #END_ORG which gets translated by the new exporter into \begin{org} \end{org} - which makes pdflatex unhappy because the org environment is not defined anywhere. The old exported did not do anything like that. What do I have to do to make it work in the new exporter? Thanks Alex On Mon, Sep 24, 2012 at 4:15 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Alexander Vorobiev alexander.vorob...@gmail.com writes: Here is my configuration section (it goes at the end of the org file). Nothing in the LaTeX_HEADER lines gets inserted into output tex document. The old exporter just inserted them all verbatim. #+STARTUP:align fold nodlcheck hidestars oddeven lognotestate #+PROPERTY: exports results #+TITLE: Test document #+AUTHOR: #+EMAIL: myem...@gmail.com #+DATE: #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:nil -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: #+LANGUAGE: en #+LaTeX_CLASS:koma-article #+LaTeX_HEADER:\usepackage{color} #+LaTeX_HEADER:\definecolor{spot}{rgb}{0,0.2,0.6} #+LaTeX_HEADER:\definecolor{TUgreen}{RGB}{41,93,80} #+LaTeX_HEADER:\setkomafont{section}{\color{TUgreen}\sffamily\bfseries} #+LaTeX_HEADER:\renewcommand{\sfdefault}{jvn} #+LaTeX_HEADER:\renewcommand*\familydefault{\sfdefault} #+LaTeX_HEADER:\usepackage[automark,nouppercase]{scrpage2} #+LaTeX_HEADER:\clearscrheadfoot #+LaTeX_HEADER:\setheadwidth{paper} #+LaTeX_HEADER:\setfootwidth{paper} #+LaTeX_HEADER:\cohead[]{ #+LaTeX_HEADER: \includegraphics[width=7.75in]{MyHeader.jpg} #+LaTeX_HEADER:} #+LaTeX_HEADER:\cofoot[]{ #+LaTeX_HEADER: \includegraphics[width=7.75in]{MyFooter.png} #+LaTeX_HEADER:} #+LaTeX_HEADER:\pagestyle{scrplain} #+LaTeX_HEADER:\AtBeginDocument{\vspace*{5\baselineskip}\thispagestyle{scrheadings}} #+LaTeX_HEADER:\setlength{\topmargin}{-0.80in} #+LaTeX_HEADER:\setlength{\textheight}{730pt} #+LaTeX_HEADER:\makeatletter #+LaTeX_HEADER:\renewcommand{\maketitle}{ #+LaTeX_HEADER:% \vspace*{5\baselineskip}% #+LaTeX_HEADER: \vskip 2em% #+LaTeX_HEADER: \begin{center}% #+LaTeX_HEADER: {\LARGE \@title \par}% #+LaTeX_HEADER: \end{center}% #+LaTeX_HEADER: \par} \makeatother The new tex file just starts like this % Created 2012-09-24 Mon 11:31 \author{} \date{} \title{Test document} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.1.}} \begin{document} \maketitle You need a space after the colons in #+LATEX_HEADER: and #+LATEX_CLASS lines. Regards, -- Nicolas Goaziou
Re: [O] Emacs lisp code export difference between `org-export-region-as-html' and `org-export-as-html'
Actually I think I have a simpler version of this question now. I have this function: (defun render-one (file) (with-temp-buffer (insert-file file) (org-export-as-html nil nil nil 'string t))) With the last line being the important bit. If I open a file, foo.org, that has the #+BEING_SRC bit that I want to export, and put this line in the buffer and evaluate it: (org-export-as-html nil nil nil 'string t) then the result I get is correct -- the html that I want is embedded in the resulting string. But if instead I evaluate (render-one ~/foo.org) using the function above which should (I assume) do the same thing, it does not work. Instead, the html code I want is wrapped in pre tags and angle brackets changed to html entities. So, it seems that something about running the export function in my code above makes it ignore my :results html setting in the code block. Is this a security thing? Is there a variable that I need to let-bind in my function or something? Thanks for any help.
Re: [O] org-capture datetree+prompt: wrong time (range) information in timestamp (%T escape sequence)
Hi Bastien, org-mode users + developers: * Bastien b...@altern.org [24. Sep. 2012]: Gregor Zattler telegr...@gmx.net writes: But there are two problems with the time information, which I consider to be bugs: 1) If I enter a time *range* at the prompt, the %T expands to the time when I invoked the capture (now) while the date is still the entered day, not today. This is a mixture of the events date / recording time which I consider to be a bug. Instead I expect to see the date and time range of the appointment. The %T specifier do not allow ranges. I've changed the behavior here so that, when the user specifies a time range, only the first time spec is taken into account. 2) If I do not enter a time at all, since for instance the date is not bound to a time (e.g. holiday, birthday) the %T also expands to the time when I invoked the capture (now) while the date is still the entered day, not today. The %T specifier _requires_ a time to be set (otherwise you would use %t), but I agree the current time looks wrong here. So this is now 00:00 instead. This does not look perfect, but it's better IMHO. Thanks for reporting these bugs. Thanks for fixing this. Is this somehow possible with only one prompt: - to be prompted for the date of the event or the date and time / time range of the appointment. - the event/appointment to be recorded in a date tree under it's respective date, not under today. - having a timestamp in the resulting heading - to see the respective time (range) information in the agenda if there is any. I managed to to this without the date tree but with one level one heading for each entry. That's a bit more like Emacs diary, but I like the date tree because it's hides more information: (org-capture-templates (quote ( (d diary the Org way entry (file ~/org/diary.org) * %? %^T %^g Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.- P.S.: sorry to Bastien for first replying to him instead of the list: user input mistake.
Re: [O] bug in org-entry-get
Hi Jonas, Jonas Bernoulli jo...@bernoul.li writes: There is a bug in `org-entry-get' when used with non-nil INHERIT. When PROPERTY is set in `org-file-properties', `org-global-properties' or `org-global-properties-fixed' then 'org-entry-get' uses that value without first checking higher levels of the hierarchy. I can't reproduce this. What version? -- Bastien
Re: [O] Breadcrumbs?
Hi Ken, On 12-Sep-24, at 5:36 PM, Ken Williams wrote: Has anyone ever tried implementing a “breadcrumbs”-type feature in org-mode? By that I mean something that would quickly tell you the headings up the whole path to the root, to quickly orient yourself when you’re deep within a document. I was originally thinking of something always-present shown at the top of the frame, but maybe it would be better as something shown on demand in the minibuffer, possibly making it taller while shown. You can bind this to a speed command. It will show you the path to the current headline (less the first heading) in the echo area, and will also copy it to the kill ring. This is the functionality I need, but it would be easy to modify to do what you want. (defun org-copy-outline-path-less-root-to-kill-ring (optional a b) Copy the current outline path, less the first node, to the kill ring, and echo to the echo area. (interactive P) (let* ((bfn (buffer-file-name (buffer-base-buffer))) (case-fold-search nil) (path (rest (org-get-outline-path (setq path (append path (save-excursion (org-back-to-heading t) (if (looking-at org-complex-heading-regexp) (list (match-string 4)) (let ((formatted-path (org-format-outline-path path (1- (frame-width) (kill-new formatted-path) (message %s formatted-path Hope this helps, -Anthony
Re: [O] Breadcrumbs?
Hi Ken, Ken Williams ken.willi...@windlogics.com writes: Has anyone ever tried implementing a “breadcrumbs”-type feature in org-mode? What about this? (defun org-show-olpath () Show the outline path. (interactive) (let (p h) (save-excursion (while (and (setq h (ignore-errors (org-get-heading t t))) (org-up-heading-safe)) (setq p (concat h / p))) (setq p (concat (org-get-heading t t) / p))) p)) (add-hook 'org-mode-hook (lambda() (add-to-list 'mode-line-format '(:eval (org-show-olpath)) t))) -- Bastien
Re: [O] Breadcrumbs?
Bastien b...@altern.org writes: What about this? Or, inspired by Anthony's use of `org-get-outline-path': (defun org-show-olpath () Show the outline path. (org-no-properties (mapconcat 'identity (append (ignore-errors (org-get-outline-path)) (ignore-errors (list (org-get-heading t t /))) (add-hook 'org-mode-hook (lambda() (add-to-list 'mode-line-format '(:eval (org-show-olpath)) t))) -- Bastien
Re: [O] Feature request: setq org-agenda-follow-indirect 'parent
Hi Nicolas, Nicolas Girard girard.nico...@gmail.com writes: Indeed, within my PROJECT items, I differentiate between TODO and support (notes, references) children ; for instance #+BEGIN_SRC org ,* PROJECT My project ,** References ,*** Ref 1 ,*** Ref 2 ,** Notes ,*** Note 1 ,*** Note 2 ,** TODO Todo item 1 ,** TODO Todo item 2 #+END_SRC In this example, in order to work on, or even decide anything about Todo item 1, chances are that I'd also need to see the contents of the References and Notes items ; so the tree I'd need to see in the indirect buffer should have the *parent* of Todo item 1 as root, instead of Todo item 1 itself. C-u 1 C-c C-x b in Todo item 1 should do. HTH, -- Bastien
Re: [O] Breadcrumbs?
On Tue, Sep 25 2012, Ken Williams wrote: Has anyone ever tried implementing a “breadcrumbs”-type feature in org-mode? By that I mean something that would quickly tell you the headings up the whole path to the root, to quickly orient yourself when you’re deep within a document. I was originally thinking of something always-present shown at the top of the frame, but maybe it would be better as something shown on demand in the minibuffer, possibly making it taller while shown. The command `org-display-outline-path' will do this -- you could just bind it to a key in org-mode-map. Yours, Eric -- GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4) of 2012-09-16 on pellet 7.9.1
Re: [O] Emacs lisp code export difference between `org-export-region-as-html' and `org-export-as-html'
thorne ego...@gmail.com writes: (defun render-one (file) (with-temp-buffer (insert-file file) (org-export-as-html nil nil nil 'string t))) Try (defun render-one (file) (with-temp-buffer (insert-file file) (org-mode) (org-export-as-html nil nil nil 'string t))) (org-mode) is important here. -- Bastien
Re: [O] Breadcrumbs?
Eric Abrahamsen e...@ericabrahamsen.net writes: The command `org-display-outline-path' will do this -- you could just bind it to a key in org-mode-map. Indeed! I've updated `org-display-outline-path' so that it can return a string: (org-display-outline-path nil t t) So you can now hook it like this: (add-hook 'org-mode-hook (lambda() (add-to-list 'mode-line-format '(:eval (org-display-outline-path nil t t)) t))) -- Bastien
Re: [O] [PATCH] Lookup functions, take two
Hi Jarmo, thanks for the explanations -- I should I've read your doc patch more closely. It is a nice spreadsheet utility function but my feeling is that having it in Org's core does not really fit, as it introduces functions where we usually have references. Functions are fine for users to add, though, that's the whole point of allowing Elisp in table formulas. Maybe I'm too conservative on this one. I will wait for other users' insight -- especially Carsten, who can better decide what fits and what does not in this area. Thanks, -- Bastien
Re: [O] [PATCH] Give possibility to start gnus with gnus-no-server
Hi Jarmo, Jarmo Hurri jarmo.hu...@syk.fi writes: I tried to use org today together with gnus, but was unable to access gnus via org, because I always start gnus with gnus-no-server. (defalias 'gnus 'gnus-no-alias) in your .emacs.el should do, no? -- Bastien
Re: [O] [PATCH] Lookup functions, take two
It is a nice spreadsheet utility function but my feeling is that having it in Org's core does not really fit, as it introduces functions where we usually have references. Functions are fine for users to add, though, that's the whole point of allowing Elisp in table formulas. So if it does not fit the core, where should I add it so that the users will still find it? I think that in general it is a very good idea to have powerful tables in org. Right? Many users in the land of spreadsheet programs have gotten used to these functions. You have had at least one explicit request for this feature: http://lists.gnu.org/archive/html/emacs-orgmode/2010-07/msg01227.html -- Jarmo
Re: [O] Org HTML-PDF publishing
Just for the record, I just downloaded Adobe Acrobat, and org-html-acrobat seems to be a viable workflow, and not as expensive as Prince. However, Acrobat, as far as I'm concerned, doesn't provide any way to automate the process - you have to open it and edit it manually in order to polish the typography and add additional graphical elements, but seems to be a great alternative. Cheers, - Marcelo. On Sat, Sep 22, 2012 at 9:28 PM, Srinivas sp...@yahoo.com wrote: There is a free license for non-commerical use: From princexml.com: We offer a free license for non-commercial use of Prince. This license adds a small logo to the first page of generated PDF files. Will this work for you?
[O] orgmode + evernote, anyone using it? Use cases?
Hello everyone, As much as I love orgmode, I can't deny that Evernote looks slick. I would not replace org by Evernote per se, but Evernote does have more polished capture tools than orgmode has. Just the simple fact that you can drag and drop anything to an Evernote note, and it will automatically store/display it accordingly is great. I'm considering using Evernote for capturing research notes (alongside images and other kind of attachments). Does anyone else here also use Evernote? I'd also like to use it mainly as a polished client, and sync the docs back to orgmode somehow. I know there's the Evernote mode for emacs, but I haven't tried it yet. Anyway, I think org and Evernote *could* be an interesting combo; nevertheless, I'll be satisfied if this message triggers some interesting discussion about those two great tools. Cheers, - Marcelo.
Re: [O] [PATCH] Give possibility to start gnus with gnus-no-server
Bastien b...@altern.org writes: I tried to use org today together with gnus, but was unable to access gnus via org, because I always start gnus with gnus-no-server. (defalias 'gnus 'gnus-no-alias) in your .emacs.el should do, no? Greetings. You probably mean (defalias 'gnus 'gnus-no-server) which, to my ashtonishment, did not do it. I don't know why. It did not matter whether I defined the alias before or after requiring org. It is also possible for a user to run both gnus and gnus-no-server (e.g., the latter when there is no connection to the news server). -- Jarmo