[Accepted] [Orgmode] Allow inclusion of author's email in LaTeX export
Patch 536 (http://patchwork.newartisans.com/patch/536/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C1294928979-14439-1-git-send-email-wence%40gmx.li%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] Allow inclusion of author's email in LaTeX export Date: Thu, 13 Jan 2011 19:29:39 - From: Lawrence Mitchell we...@gmx.li X-Patchwork-Id: 536 Message-Id: 1294928979-14439-1-git-send-email-we...@gmx.li To: emacs-orgmode@gnu.org Cc: Lawrence Mitchell we...@gmx.li * org-latex.el (org-export-latex-make-header): Export email in author line if `org-export-email-info' is non-nil. Previously exporting to LaTeX would not include the document author's email address when org-export-email-info was set. This patch corrects this oversight using the \thanks command to add a footnote to the author line. --- lisp/org-latex.el | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 8a9f9eb..4b36273 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1276,7 +1276,9 @@ TITLE is the current title from the buffer or region. OPT-PLIST is the options plist for current buffer. (let ((toc (plist-get opt-plist :table-of-contents)) (author (org-export-apply-macros-in-string - (plist-get opt-plist :author + (plist-get opt-plist :author))) + (email (org-export-apply-macros-in-string + (plist-get opt-plist :email (concat (if (plist-get opt-plist :time-stamp-file) (format-time-string %% Created %Y-%m-%d %a %H:%M\n)) @@ -1300,8 +1302,12 @@ OPT-PLIST is the options plist for current buffer. (org-export-latex-fontify-headline title)) ;; insert author info (if (plist-get opt-plist :author-info) - (format \\author{%s}\n - (org-export-latex-fontify-headline (or author user-full-name))) + (format \\author{%s%s}\n + (org-export-latex-fontify-headline (or author user-full-name)) + (if (and org-export-email-info email + (string-match \\S- email)) + (format \\thanks{%s} email) +)) (format %%\\author{%s}\n (org-export-latex-fontify-headline (or author user-full-name ;; insert the date ___ 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
[Accepted] [Orgmode] How do I include text between a range of line numbers with #INCLUDE
Patch 529 (http://patchwork.newartisans.com/patch/529/) is now Accepted. Maintainer comment: Added some cosmetic changes and a small rewrite of the doc This relates to the following submission: http://mid.gmane.org/%3CAANLkTi%3DEBSvP9ukR5LRJQxBk%2BDaBHK4vyM0pvdr%3D9-JR%40mail.gmail.com%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] How do I include text between a range of line numbers with #INCLUDE Date: Sun, 09 Jan 2011 00:28:01 - From: Puneeth Chaganti puncha...@gmail.com X-Patchwork-Id: 529 Message-Id: AANLkTi=EBSvP9ukR5LRJQxBk+DaBHK4vyM0pvdr=9...@mail.gmail.com To: Carsten Dominik carsten.domi...@gmail.com Cc: Venkatesh Choppella venkatesh.choppe...@iiit.ac.in, emacs-orgmode@gnu.org Hi Carsten, On Sat, Jan 8, 2011 at 11:35 PM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Puneeth, can cou please augment the patch with a propert ChangeLog-like entry, and with documentation for the manual, and then resubmit? Here is a patch with a ChangeLog entry and documentation for the manual. Please tell me if it looks OK. Also, I hope using git-format-patch is the right way to send this page. If not, what is the right way? Thanks, Puneeth From 4a9be5b1a7a19c5d092ed14a86d29ad83122e9a8 Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti puncha...@gmail.com Date: Sun, 9 Jan 2011 00:48:51 +0530 Subject: [PATCH] Include only specified range of line numbers of a file * doc/org.texi (Include files): Document :lines. * lisp/org-exp.el (org-export-handle-include-files): Support :lines property. (org-get-file-contents): New argument lines to include specify a range of lines to include. On Fri, Jan 7, 2011 at 1:29 PM, Puneeth puncha...@gmail.com wrote: On Fri, Jan 7, 2011 at 10:03 AM, Venkatesh Choppella venkatesh.choppe...@iiit.ac.in wrote: I would like to include a part of a file (between a given range of line numbers) instead of the whole file. Is there a way to do that in org-mode? It isn't possible to include files using line numbers, as of now. Here's a quick patch that would add this feature. I have tested it with small files and works fine. Can somebody tell me if it looks good? :lines 5-10 will include the lines from 5 to 10, 10 excluded. :lines -10 will include the lines from 1 to 10, 10 excluded. :lines 5- will include the lines from 1 to the end of the file. HTH, Puneeth --- doc/org.texi| 11 +++ lisp/org-exp.el | 24 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index e83909d..62f90e9 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -8891,6 +8891,17 @@ use #+INCLUDE: ~/snippets/xx :prefix1+ :prefix @end example +You can also include a portion of a file, by specifying a range of line +numbers using the @code{:lines} parameter. The line with the line number +equal to the end of the range, will not be included. The start or/and the +end limits of the range, may be omitted to use the obvious defaults. + +@example +#+INCLUDE: ~/.emacs :lines 5-10 @r{Include lines 5 to 10, 10 excluded} +#+INCLUDE: ~/.emacs :lines -10@r{Include lines 1 to 10, 10 excluded} +#+INCLUDE: ~/.emacs :lines 10-@r{Include lines from 10 to EOF} +@end example + @table @kbd @kindex C-c ' @item C-c ' diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 3d466fa..ea81386 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2130,13 +2130,14 @@ TYPE must be a string, any of: (defun org-export-handle-include-files () Include the contents of include files, with proper formatting. (let ((case-fold-search t) - params file markup lang start end prefix prefix1 switches all minlevel) + params file markup lang start end prefix prefix1 switches all minlevel lines) (goto-char (point-min)) (while (re-search-forward ^#\\+INCLUDE:?[ \t]+\\(.*\\) nil t) (setq params (read (concat ( (match-string 1) ))) prefix (org-get-and-remove-property 'params :prefix) prefix1 (org-get-and-remove-property 'params :prefix1) minlevel (org-get-and-remove-property 'params :minlevel) + lines (org-get-and-remove-property 'params :lines) file (org-symname-or-string (pop params)) markup (org-symname-or-string (pop params)) lang (and (member markup '(src SRC)) @@ -2159,7 +2160,7 @@ TYPE must be a string, any of: end (format #+end_%s markup (insert (or start )) (insert (org-get-file-contents (expand-file-name file) -prefix prefix1 markup minlevel)) +prefix prefix1 markup minlevel lines)) (or (bolp) (newline)) (insert (or end all)) @@ -2176,15 +2177,30 @@ TYPE must be a
[Accepted] [Orgmode] org-sparse-tree command name
Patch 363 (http://patchwork.newartisans.com/patch/363/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C4CD3B219.1050100%40easy-emacs.de%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] org-sparse-tree command name Date: Fri, 05 Nov 2010 12:28:25 - From: =?utf-8?q?Andreas_R=C3=B6hler_=3Candreas=2Eroehler=40easy-emacs=2Ede?= =?utf-8?q?=3E?= X-Patchwork-Id: 363 Message-Id: 4cd3b219.1050...@easy-emacs.de To: emacs-orgmode emacs-orgmode@gnu.org diff --git a/doc/org.texi b/doc/org.texi index 72053e9..2f4c225 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1400,8 +1400,7 @@ commands can be accessed through a dispatcher: @table @asis @orgcmd{C-c /,org-sparse-tree} This prompts for an extra key to select a sparse-tree creating command. -...@kindex C-c / r -...@item C-c / r +...@orgcmd{c-c / r,org-sparse-tree} @vindex org-remove-highlights-with-change Occur. Prompts for a regexp and shows a sparse tree with all matches. If the match is in a headline, the headline is made visible. If the match is in ___ 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
[Accepted] [Orgmode] org-agenda: fix org-agenda-category-icon-alist defcustom type
Patch 364 (http://patchwork.newartisans.com/patch/364/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C1288968225-10023-1-git-send-email-julien%40danjou.info%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] org-agenda: fix org-agenda-category-icon-alist defcustom type Date: Fri, 05 Nov 2010 19:43:45 - From: Julien Danjou jul...@danjou.info X-Patchwork-Id: 364 Message-Id: 1288968225-10023-1-git-send-email-jul...@danjou.info To: emacs-orgmode@gnu.org Cc: Julien Danjou jul...@danjou.info * list/org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type. Signed-off-by: Julien Danjou jul...@danjou.info --- lisp/org-agenda.el | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 9dbda4d..68aaa86 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1463,14 +1463,13 @@ category, you can use: (\Emacs\ '(space . (:width (16 :group 'org-agenda-line-format - :type '(list :tag Category icons -(repeat - (list - (string :tag Category regexp) - (string :tag File or data) - (string :tag Type) - (boolean :tag Data?) - (list :tag Properties) + :type '(alist :key-type (string :tag Regexp matching category) + :value-type (choice (list :tag Icon + (string :tag File or data) + (symbol :tag Type) + (boolean :tag Data?) + (repeat :tag Extra image properties :inline t symbol)) + (list :tag Display properties sexp (defgroup org-agenda-column-view nil Options concerning column view in the agenda. ___ 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
[Accepted] [Orgmode] 20101029_orgtexi_names.patch
Patch 355 (http://patchwork.newartisans.com/patch/355/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C4CCABB44.1030703%40easy-emacs.de%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] 20101029_orgtexi_names.patch Date: Fri, 29 Oct 2010 17:17:08 - From: =?utf-8?q?Andreas_R=C3=B6hler_=3Candreas=2Eroehler=40easy-emacs=2Ede?= =?utf-8?q?=3E?= X-Patchwork-Id: 355 Message-Id: 4ccabb44.1030...@easy-emacs.de To: emacs-orgmode emacs-orgmode@gnu.org org-return diff --git a/doc/org.texi b/doc/org.texi index aa4f30b..9293804 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1732,8 +1732,7 @@ necessary. @orgcmd...@key{tab},org-shifttab} Re-align, move to previous field. @c -...@kindex @key{RET} -...@item @key{RET} +...@orgcmd{@key{RET},org-return} Re-align the table and move down to next row. Creates a new row if necessary. At the beginning or end of a line, @key{RET} still does NEWLINE, so it can be used to split a table. ___ 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
[Accepted] [Orgmode] 20101028_orgtexi_names.patch - (2)
Patch 347 (http://patchwork.newartisans.com/patch/347/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C4CC94AAB.2030908%40easy-emacs.de%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] 20101028_orgtexi_names.patch - (2) Date: Thu, 28 Oct 2010 15:04:27 - From: =?utf-8?q?Andreas_R=C3=B6hler_=3Candreas=2Eroehler=40easy-emacs=2Ede?= =?utf-8?q?=3E?= X-Patchwork-Id: 347 Message-Id: 4cc94aab.2030...@easy-emacs.de To: emacs-orgmode emacs-orgmode@gnu.org diff --git a/doc/org.texi b/doc/org.texi index 54f52e2..7630830 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1708,8 +1708,7 @@ unpredictable for you, configure the variables @table @kbd @tsubheading{Creation and conversion} -...@kindex C-c | -...@item C-c | +...@orgcmd{c-c |,org-table-create-or-convert-from-region} Convert the active region to table. If every line contains at least one TAB character, the function assumes that the material is tab separated. If every line contains a comma, comma-separated values (CSV) are assumed. @@ -1723,16 +1722,14 @@ table. But it's easier just to start typing, like @kbd{|Name|Phone|Age @key{RET} |- @key{TAB}}. @tsubheading{Re-aligning and field motion} -...@kindex C-c C-c -...@item C-c C-c +...@orgcmd{c-c C-c,org-ctrl-c-ctrl-c} Re-align the table without moving the cursor. @c @orgcmd{TAB,org-cycle} Re-align the table, move to the next field. Creates a new row if necessary. @c -...@kindex s...@key{tab} -...@item s...@key{tab} +...@orgcmd{s-@key{TAB},org-shifttab} Re-align, move to previous field. @c @kindex @key{RET} ___ 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
[Accepted] [Orgmode] 20101020_texi-command-names.patch
Patch 327 (http://patchwork.newartisans.com/patch/327/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C4CBECEB7.7020604%40easy-emacs.de%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] 20101020_texi-command-names.patch Date: Wed, 20 Oct 2010 16:12:55 - From: =?utf-8?q?Andreas_R=C3=B6hler_=3Candreas=2Eroehler=40easy-emacs=2Ede?= =?utf-8?q?=3E?= X-Patchwork-Id: 327 Message-Id: 4cbeceb7.7020...@easy-emacs.de To: emacs-orgmode emacs-orgmode@gnu.org Cc: Carsten Dominik carsten.domi...@gmail.com BTW can't see where the meaning of key S is told... Cheers diff --git a/doc/org.texi b/doc/org.texi index 4a725d3..a59e8e8 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1077,13 +1077,11 @@ after the end of the subtree. Just like @kbd...@key{ret}}, except when adding a new heading below the current heading, the new heading is placed after the body instead of before it. This command works from anywhere in the entry. -...@kindex m...@key{ret} -...@item m...@key{ret} +...@orgcmd{m-s-@key{RET},org-insert-todo-heading} @vindex org-treat-insert-todo-heading-as-state-change Insert new TODO entry with same level as current heading. See also the variable @code{org-treat-insert-todo-heading-as-state-change}. -...@kindex c...@key{ret} -...@item c...@key{ret} +...@orgcmd{c-s-@key{RET},org-insert-todo-heading-respect-content} Insert new TODO entry with same level as current heading. Like @kbd...@key{ret}}, the new headline will be inserted after the current subtree. ___ 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
[Accepted] [Orgmode] typo in variable name: org-inlinetask-defaut-state
Patch 324 (http://patchwork.newartisans.com/patch/324/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C874ocie66b.fsf%40stats.ox.ac.uk%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] typo in variable name: org-inlinetask-defaut-state Date: Tue, 19 Oct 2010 17:08:28 - From: Dan Davison davi...@stats.ox.ac.uk X-Patchwork-Id: 324 Message-Id: 874ocie66b@stats.ox.ac.uk To: emacs org-mode mailing list emacs-orgmode@gnu.org diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el index 29b1544..041ee29 100644 --- a/lisp/org-inlinetask.el +++ b/lisp/org-inlinetask.el @@ -106,7 +106,7 @@ When nil, they will not be exported. (defvar org-complex-heading-regexp) (defvar org-property-end-re) -(defcustom org-inlinetask-defaut-state nil +(defcustom org-inlinetask-default-state nil Non-nil means make inline tasks have a TODO keyword initially. This should be the state `org-inlinetask-insert-task' should use by default, or nil of no state should be assigned. @@ -117,16 +117,16 @@ default, or nil of no state should be assigned. (defun org-inlinetask-insert-task (optional no-state) Insert an inline task. -If prefix arg NO-STATE is set, ignore `org-inlinetask-defaut-state'. +If prefix arg NO-STATE is set, ignore `org-inlinetask-default-state'. (interactive P) (or (bolp) (newline)) (let ((indent org-inlinetask-min-level)) (if org-odd-levels-only (setq indent (- (* 2 indent) 1))) (insert (make-string indent ?*) -(if (or no-state (not org-inlinetask-defaut-state)) +(if (or no-state (not org-inlinetask-default-state)) \n - (concat org-inlinetask-defaut-state \n)) + (concat org-inlinetask-default-state \n)) (make-string indent ?*) END\n)) (end-of-line -1)) (define-key org-mode-map \C-c\C-xt 'org-inlinetask-insert-task) ___ 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
[Accepted] [Orgmode] Fix an error in org-taskjuggler-get-unique-id
Patch 326 (http://patchwork.newartisans.com/patch/326/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C871v7modmr.fsf%40saadawi.sbszh.ch%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] Fix an error in org-taskjuggler-get-unique-id Date: Tue, 19 Oct 2010 12:17:16 - From: Christian Egli christian.e...@alumni.ethz.ch X-Patchwork-Id: 326 Message-Id: 871v7modmr@saadawi.sbszh.ch To: emacs-orgmode@gnu.org Don't try to pop from an empty list and downcase the result --- lisp/org-taskjuggler.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el index 23f4b62..6367b7a 100644 --- a/lisp/org-taskjuggler.el +++ b/lisp/org-taskjuggler.el @@ -503,7 +503,7 @@ finally add more underscore characters (\_\). (parts (split-string headline)) (id (org-taskjuggler-clean-id (downcase (pop parts) ; try to add more parts of the headline to make it unique -(while (member id unique-ids) +(while (and (member id unique-ids) (car parts)) (setq id (concat id _ (org-taskjuggler-clean-id (downcase (pop parts)) ; if its still not unique add _ (while (member id unique-ids) ___ 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
[Accepted] [Orgmode] Use `C-c C-x _' for interactively calling `org-timer-stop'
Patch 255 (http://patchwork.newartisans.com/patch/255/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C8762yn6gq0.fsf%40gnu.org%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] Use `C-c C-x _' for interactively calling `org-timer-stop' Date: Fri, 03 Sep 2010 01:19:35 - From: Bastien bastien.gue...@wikimedia.fr X-Patchwork-Id: 255 Message-Id: 8762yn6gq0@gnu.org To: emacs-orgmode@gnu.org Unless I missed something, `org-timer-stop' has no keybinding yet. I propose to use `C-c C-x _'. Is that okay for everyone? diff --git a/lisp/org.el b/lisp/org.el index fc44fc7..01da980 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -16383,6 +16383,7 @@ BEG and END default to the buffer boundaries. (org-defkey org-mode-map \C-c\C-x.'org-timer) (org-defkey org-mode-map \C-c\C-x-'org-timer-item) (org-defkey org-mode-map \C-c\C-x0'org-timer-start) +(org-defkey org-mode-map \C-c\C-x_'org-timer-stop) (org-defkey org-mode-map \C-c\C-x,'org-timer-pause-or-continue) (define-key org-mode-map \C-c\C-x\C-c 'org-columns) ___ 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
[Accepted] [Orgmode] inside table, delete-backward-char must not insert spaces when overwrite mode is on
Patch 245 (http://patchwork.newartisans.com/patch/245/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C201008271956.43528.Stromeko%40stromeko.net%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] inside table, delete-backward-char must not insert spaces when overwrite mode is on Date: Fri, 27 Aug 2010 22:56:43 - From: Achim Gratz strom...@stromeko.net X-Patchwork-Id: 245 Message-Id: 201008271956.43528.strom...@stromeko.net To: emacs-orgmode@gnu.org * lisp/org.el (org-delete-backward-char): check for nil overwrite-mode before inserting spaces. TINYCHANGE There's probably a different/better way to do this, but this seemed the least intrusive. This patch is in the public domain. --- lisp/org.el |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index bc62633..41f35d4 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -16597,9 +16597,11 @@ because, in this case the deletion might narrow the column. (noalign (looking-at [^|\n\r]* |)) (c org-table-may-need-update)) (backward-delete-char N) - (skip-chars-forward ^|) - (insert ) - (goto-char (1- pos)) + (if (not overwrite-mode) + (progn + (skip-chars-forward ^|) + (insert ) + (goto-char (1- pos ;; noalign: if there were two spaces at the end, this field ;; does not determine the width of the column. (if noalign (setq org-table-may-need-update c))) ___ 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
[Accepted] [Orgmode] org-protocol default template should be nil
Patch 249 (http://patchwork.newartisans.com/patch/249/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C878w3m2ua3.fsf%40gmx.de%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] org-protocol default template should be nil Date: Wed, 01 Sep 2010 05:15:48 - From: Sebastian Rose sebastian_r...@gmx.de X-Patchwork-Id: 249 Message-Id: 878w3m2ua3@gmx.de To: Emacs-orgmode mailing list emacs-orgmode@gnu.org Hi Carsten, this little patch fixes an issue Richard brought up. We always used the w template as the default for `org-remember' and also used it for `org-capture' for historical reasons. Unfortunately, this breaks, if the user has no w template defined. The patch below simply set's the custom variable `org-protocol-default-template-key' to nil, so the interactive template selection is used by default. This works for both, remember an capture. I will adjust the docs, once the patch is applied. Thanks, Sebastian diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el index 3f240fd..21f28e7 100644 --- a/lisp/org-protocol.el +++ b/lisp/org-protocol.el @@ -260,7 +260,7 @@ Here is an example: :group 'org-protocol :type '(alist)) -(defcustom org-protocol-default-template-key w +(defcustom org-protocol-default-template-key nil The default org-remember-templates key to use. :group 'org-protocol :type 'string) ___ 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
[Accepted] [Orgmode] Re: html-export mangels mailto: links
Patch 251 (http://patchwork.newartisans.com/patch/251/) is now Accepted. Maintainer comment: Applied a slightly modified version: better handling of absolute filenames. This relates to the following submission: http://mid.gmane.org/%3C87iq2o3b5s.fsf%40noorul.maa.corp.collab.net%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Orgmode] Re: html-export mangels mailto: links Date: Thu, 02 Sep 2010 11:35:43 - From: Noorul Islam noo...@noorul.com X-Patchwork-Id: 251 Message-Id: 87iq2o3b5s@noorul.maa.corp.collab.net To: Achim Gratz strom...@nexgo.de Cc: emacs-orgmode@gnu.org Achim Gratz strom...@nexgo.de writes: HTML export removes the mailto:; from a link, which will then be interpreted as a local link by the browser. For an example, see the link to this mailing list in ORGWEBPAGE/index.org and the corresponding HTML export on orgmode-org (or just the local file). org-html.el : Fix exporting file, mailto, news and ftp protocols. * lisp/org-html.el (org-html-make-link): (expand-file-name ) removes one / from ///path-to-file, so add one. Anything other than 'file' type should be exported along with the type. TINYCHANGE Thanks and Regards Noorul diff --git a/lisp/org-html.el b/lisp/org-html.el index 099b2e3..4430768 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -720,7 +720,7 @@ MAY-INLINE-P allows inlining it as an image. ;;Substitute just if original path was absolute. ;;(Otherwise path must remain relative) (if (file-name-absolute-p path) - (expand-file-name path) + (concat / (expand-file-name path)) path))) ((string= type ) (list nil path)) @@ -756,8 +756,7 @@ MAY-INLINE-P allows inlining it as an image. (setq thefile (let ((str (org-export-html-format-href thefile))) - (if (and type (not (string= file type)) -(org-string-match-p ^// str)) + (if (and type (not (string= file type))) (concat type : str) str))) ___ 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] Patchwork: Patch 176 Accepted
Patch 176 (http://patchwork.newartisans.com/patch/176/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3C87fwz4159y.fsf%40thinkpad.tsdh.de%3E ___ 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] Patchwork: Patch 167 Accepted
Patch 167 (http://patchwork.newartisans.com/patch/167/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3C12750.1279923404%40alphaville.usa.hp.com%3E ___ 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] Patchwork: Patch 170 Accepted
Patch 170 (http://patchwork.newartisans.com/patch/170/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3C87tynn8zpj.fsf%40fastmail.fm%3E ___ 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] Patchwork: Patch 177 Accepted
Patch 177 (http://patchwork.newartisans.com/patch/177/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3C8739v3o2jl.wl%25n.goaziou%40gmail.com%3E ___ 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] Patchwork: Patch 185 Accepted
Patch 185 (http://patchwork.newartisans.com/patch/185/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3CAANLkTikktWbpU7CqywS9R9DK3uRwOAs_mFKL_FcQrUFT%40mail.gmail.com%3E ___ 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] Patchwork: Patch 172 Accepted
Patch 172 (http://patchwork.newartisans.com/patch/172/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3C87aapfntrb.wl%25n.goaziou%40gmail.com%3E ___ 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] Patchwork: Patch 184 Accepted
Patch 184 (http://patchwork.newartisans.com/patch/184/) is now Accepted. This relates to the following submission: http://mid.gmane.org/%3CAANLkTimHMebUD-keygj1XD5cxO0uRffbrspBSjFgwOO5%40mail.gmail.com%3E ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-mode options
Hi Richard, Richard G Riley [EMAIL PROTECTED] writes: Should the properties given here http://orgmode.org/manual/Publishing-options.html#Publishing-options be applicable in this form: , | #+TITLE: Blog | #+AUTHOR:rgr | #+EMAIL: rgr | #+DATE: 2008-03-23 Sun | #+LANGUAGE: en | #+TEXT: Test Blog | | :PROPERTIES: | :publishing-directory: ~/webs/web1/public_html | :table-of-contents:nil | :END: | | * Blog You can set most of the options listed on this page by setting the proper flag on the #+OPTIONS: line. E.g. the table of contents: #+OPTIONS: toc:nil This is documented here: http://orgmode.org/manual/Export-options.html#Export-options The #+OPTIONS line is not a suitable place for setting the publishing directory, because the value for this is likely to be too long. For now, there is no other mean to set the publishing directory but to define a project or to set `org-export-publishing-directory' locally in the file. But I agree that a simple(r) way to set this would be nice. What about #+EXPORT_DIRECTORY ? (Instead of a property in :PROPERTIES:) Note: the export/publish semantic is a bit misleading here. The manual talks about export options and publishing options. Many export options are also publishing options, but not all publishing options are export options -- the most obvious example being the :recursive publishing option, which only makes sense for projects/directories. I will try to clarify this and to refactor the option names a bit. Thanks for bringing this up. I can't seem to set the directory the html gets written to. But I should be able to do it without using org-publish-project-alist ? As mentionned above, for now: * COMMENT Local variables # Local Variables: # org-export-publishing-directory: ~/public_html/ # End: -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Add anniversary and org-mode
Thomas Baumann [EMAIL PROTECTED] writes: just another question, did you include the anniversaries via inclusion of the diary (does work here) or directly with %%(bbdb-include-anniversaries) or alike? I use this: (add-hook 'list-diary-entries-hook 'bbdb-include-anniversaries) -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] help for org-export-latex.el
forfan [EMAIL PROTECTED] writes: So I downloaded org-export-latex.el from http://www.emacswiki.org/cgi-bin/wiki/OrgMode#toc2. My fault. I've put the latest version in http://www.cognition.ens.fr/~guerry/u/org-export-latex.el You can download it from here. But the _safest_ way is to download the latest Org package here: http://orgmode.org/org-5.23a.zip http://orgmode.org/org-5.23a.tar.gz so that you can be sure all .el work well together. Please help me to solve the problem? Hope this helps. Let me know if you encounter any other problem, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Add anniversary and org-mode
Hi Richard, Richard G Riley [EMAIL PROTECTED] writes: I used add anniversary in the agenda and ended up with something like %%(diary-anniversary 3 19 2008) John's daughter's birthday. in my diary file. But its not showing up in my agenda or my calendar. What could be the issue here? I even tried c in the calendar view to generate the agenda for that day. Did you tell Org to include the diary? (setq org-agenda-include-diary t) -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Add anniversary and org-mode
Thomas Baumann [EMAIL PROTECTED] writes: Nice suggestion, would you mind to send me an example record? Somehow I don't seem to get the format of the bbdb-file right. In a bbdb entry, add the anniversary field like this: C-o anniversary RET -MM-DD Make sure you added the anniversary field to the list of user-fields at the beginning of you ~/.bbdb file: ;;; user-fields: (anniversary) HTH, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] blogging from org-mode
Cezar Halmagean [EMAIL PROTECTED] writes: I am trying to set up a blog page on my website and I would prefer to use org-mode for that. I wonder what are the features provided by blorg and org-blog.el and which is better and actively maintained. I have tried both http://www.cognition.ens.fr/~guerry/org-blogging.html and This page is outdated. Check blorg on this page instead: http://www.cognition.ens.fr/~guerry/blorg.php I know some people are using blorg successfully. I can't compare with org-blog.el since I've never used it. In any case, a blog engine for Org is really *hot* on the to-do list. This week is a bit crazy for me since I'm moving out (from London to Paris) but I've not given up the work on this. HTH, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] rcirc
Hi Richard! Richard G Riley [EMAIL PROTECTED] writes: Are there any plans to support remembering irc channels using org-mode? e.g a hot link on a todo/remembered item which opens rcirc? I recall planner had links to erc. Yes, there is such a plan: org-irc.el, developed by Phil comes with the latest org distribution: http://orgmode.org/org-5.23a.tar.gz ... and will surely be part of GNU Emacs soon. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Converting to html in a shell script
lanas [EMAIL PROTECTED] writes: I would like to convert an org file to HTML, much like C-c C-e h would do, automatically from a shell script. So far I've tried unsuccesfully some permutaions of: emacs -batch -l ~/.emacs -eval '(org-export-as-html ./file.org)' emacs -batch -l ~/.emacs -eval '(org-export-as-html)' ./file.org The function `org-export-as-html' doesn't take the file as an argument, it has to be called in the buffer where a file has been found. Look at the script for example: #!/bin/bash emacs -batch -eval \ (progn (load-file \~/org-mode/org.el\) \ (load-file \~/elisp/config/org-batch-config.el\) \ (find-file \~/yourfile.org\) \ (org-export-as-html 3)) I use org-batch-config.el because obviously I don't need to load all my Emacs config for running this script. But I think it's cleaner to define projects with org-publish and then to publish a project like: emacs -batch -eval (progn (load \~/org-mode/org.el\) \ (org-publish \myproject\)) HTH, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] rcirc
Richard G Riley [EMAIL PROTECTED] writes: The guys on #emacs kind of laughed at me a while back for using erc - apparently its seen as a bit girly ... rcirc doesnt seem to allow config of multiple servers and channels though so I thought org-mode might be useful for remembering servers and channels. Erc, girlish ?? I wish I'd be mannish enough to use it correctly. Let's fight against G33k poshery! (ps I added a todo to write a beginners guide to getting code completion working :-;) Great :) -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] How to set a date relative to the original date?
Hi Wanrong, Wanrong Lin [EMAIL PROTECTED] writes: * MAYBE A test SCHEDULED: 2008-02-13 Wed But I found ++3d produces the same result as +3d, which is 3 days after today. AFAIK, the difference between +2d and ++2d is only relevant when *editing* the timestamp at point -- not when rescheduling with C-c C-s. Maybe this should be the case. -- Bastien -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] makeinfo error in git
[EMAIL PROTECTED] (Joel J. Adamson) writes: I did make on a git-clone from this morning at 10:06 EDT, and got: , | makeinfo --no-split org.texi -o org | org.texi:4408: Misplaced {. | org.texi:4408: Misplaced }. | makeinfo: Removing output file `org' due to errors; use --force to preserve. | make: *** [org] Error 1 ` Fixed, thanks. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Release 5.23a
Xin Shi [EMAIL PROTECTED] writes: Is that possible to make it kill the buffer on the C-c C-e h case? Or let user to customize this behavior? I don't know the reason to keep that buffer in this case. I don't know what the default should be, I have no personal preference. I think it's quite useful to have the exported file accessible through the list of buffers even if you don't want to jump to it. But I certainly wouldn't go for an option about this. What people think? Note two differences with publishing: (1) publishing require a file to be part of a project and (2) publishing will kill exported buffers. I'm not sure where are these two differences comes from? Are they behaviors in org or in general? I'm not sure what do you mean by in general. In case of publishing, since you can publish a project from *any* buffer, it doesn't really make sense to keep the exported buffers alive, right? As for the (1), the truth is that it would be nice to be able to add a file to a project on the fly. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: IRC Channel
Phil Jackson [EMAIL PROTECTED] writes: Bastien [EMAIL PROTECTED] writes: Being the owner of the channel doesn't require anything special from you, except responsability (and glory): ,[ http://freenode.net/policy.shtml ] | Channels on freenode are owned and operated by the groups which register | them. No minimum level of activity or moderation is expected or required | of channel owners. ` I think it is a good idea to go for #org-mode. Am I right in thinking that http://freenode.net/group_registration.shtml is what we're after? Seems very formal... Which makes me realize that we don't *need* to register #org-mode. It is just something that we can do, if we want to protect this name or if we want specific services from freenode. I don't think it's necessary, but maybe other do. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: IRC Channel
Russell Adams [EMAIL PROTECTED] writes: Shall we standardize on #org-mode then? Yes, good idea. I think there's enough mailing list traffic that IRC may be a casual support area. I'll certainly be present when time permits. IRC is a timesink but er... Erc is not only for bitlbee :) So I might pop up there from time to time too. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: FR: date marking in calendar
Cezar Halmagean [EMAIL PROTECTED] writes: (add-hook 'initial-calendar-window-hook 'mark-diary-entries) If %%(org-diary :scheduled :timestamp) throws an error, cheat a little and use this instead: %%(condition-case nil (org-diary :scheduled :timestamp) (error nil)) Does anyone have a screenshot of how this looks like ? I can't imagine what it does and how it displays things. See the screenshot. The dates in red color are those where there is a diary appointment or an org agenda scheduled item. attachment: calendar.jpg -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: date marking in calendar
Wanrong Lin [EMAIL PROTECTED] writes: Thanks a lot for the suggestion. My appointments are in org files are agenda are marked with a tag, so using diary as you suggested does not work exactly as I wished. Of course, my suggestion only works if you use the usual Org machinery for appointments... Also, I did not see any calendar markings in my trial even with org-diary, but I suspect it might be because I ran emacs in a text terminal, not an X-window or Windows. I will try it later. It should be visible in a text terminal with a decent version of Emacs. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Using C-c - to (un)listify and/or C-c * to (un)headify ?
Carsten Dominik [EMAIL PROTECTED] writes: The first function could be merged into (org-ctrl-c-minus): (un)listify the active region, and if there is no active region, just cycle through the list types (as it does now). This is now implemented in `C-c -' The second fonction could convert raw lines into headings and headings back into raw lines. This is now on `C-c *' Great! I was to lazy to implement this myself, but switching from a list of items to a list of entries is really useful. Thanks! -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] First column of tables from sub headings and drawyers
Antano Solar [EMAIL PROTECTED] writes: Waiting forward for the org release with the skip-empty-row parameter :) It is now in the git repository. ** Task 1 *** Step a :properties: :Time_Utilized 10 hours :end *** Step b With Regards Antano Solar John :properties: :Time_Utilized 15 hours :end Then in column view it should show Task Time_Utilikzed Task1 25 I think this is beyond the scope of the columnview dynamic block... -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] export-html, close the .html file
Xin Shi [EMAIL PROTECTED] writes: Is that possible to not open the .html file in the Emacs buffer after exporting the .org file to HTML? Thanks! Is `C-c C-e H' what you need? -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] export-html, close the .html file
Xin Shi [EMAIL PROTECTED] writes: Not really. That one is export to temporary buffer. What I want is when org-export-html, is just do the work at the background, without open the .html in one of Emacs' buffer. Sorry I misunderstood your question, because exporting to HTML does not open the result in the current buffer, unless you explicitly export to a temporary buffer. What you want exactly is that all export buffers should be cleaned up after expor -- am I right? I so, I agree, and will fix this. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] export-html, close the .html file
Xin Shi [EMAIL PROTECTED] writes: Yes. That's exactly what I mean. :) I so, I agree, and will fix this. Done. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] First column of tables from sub headings and drawyers
Antano Solar [EMAIL PROTECTED] writes: Thank you for the patch , What you have done does solve my problem with little changes in the structure from my side. What I had actually asked for was this, * project ** task 1 properties: :estimated_time=10 hours :utilized_time = 5 hours end: **task2 In this case only task1 should appear in the column view and task 2 should not . Currently task2 is also appearing with empty values for the remaining columns Since the purpose of `org-dblock-write:columnview' is to capture the column view, I think the default behavior should be to display *all* entries, even those which properties are not set - because they are displayed in the current view. But maybe a parameter like :skip-empty-row would make sense. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] TODOs not shown in TOC of HTML export
lanas [EMAIL PROTECTED] writes: What I mean by this is the following: * DONE Phase one :MIKE: * TEST Phase two :PIERRE: * TODO Phase three :DIETER: The table of contents will not show the TODO, DONE, TEST, so it is not possible to quickly see the state of the tasks. Check for these variables: org-export-mark-todo-in-toc nil org-export-remove-timestamps-from-toc t org-export-with-tags 'not-in-toc Also, the name tags at the end will not show unless you add text after them i.e.: * TODO Phase three :DIETER: 2 DAYS Tags should be at the end of the headlines. Look at `org-export-with-tags' on how to control tags appearance in the table of contents. HTH, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file
Carsten Dominik [EMAIL PROTECTED] writes: Yes, but only with this setting will return key be added to the org-mouse-map key map, and be bound to org-open-at-point command under certain contexts (like on the leading stars of a heading). Further, org-open-at-point is advised by org-mouse.el, which will do org-cycle under certain contexts. Yes, this is really an accidental feature by a sequence of events: org-return-follow-link will add org-return to the mouse-map org-mouse.el will activate the stars in a headline Yes, there is an advice for this in org-mouse.el. I think we should remove it since org-mouse.el shouldn't change the behavior of keystrokes (only the behavior of the mouse.) -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] title for single page export to html
Xin Shi [EMAIL PROTECTED] writes: Is that possible to add a line in the .org file indicating the title of the exported HTML, in stead of the file name? For example: #title This is the title of the HTML #+TITLE: This is the title of the HTML `C-c C-c' on this line to make org-mode aware of it. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] New tutorial about using Org as a spreadsheet system
Hi Chris, Chris Randle [EMAIL PROTECTED] writes: As I followed along, I spotted a couple of things: 1) Under Your first formula, the first vmean formula you show is a column formula, whereas the text implies it should have been a field formula. Well spotted, I fixed this. 2) I'd never used #+CONSTANTS before, and as I followed along I discovered that I had to do a 'C-c C-c' on the CONSTANTS line before the table had knowledge of it. It might be good to make that explicit, otherwise the table shows #ERRORs. I got to use my new-found debugging knowledge to work out why! I added this line: (Don't forget to hit =C-c C-c= on the =#+CONSTANTS= line so that org-mode knows about it.) Thanks for the feedback. The updated version is an the Worg repo and should be exported to the HTML Worg website in about ten minutes. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-bookmark.el
Tokuya Kameshima [EMAIL PROTECTED] writes: I wrote an emacs code, org-bookmark.el, which supports for orgmode links to Emacs bookmarks. You can store the links in the Bookmark List buffer by running M-x org-store-link. Great, thanks. Not sure it's useful, but I regularly uses this bookmark links to follow daily or weekly changing file links. I guess it is useful for those who prefer to update their bookmarks rather than to update their Org links directly. On top of this, when `org-bookmark' is in use, storing a link while visiting a file (or while in dired-mode) could first check if the file at point is bookmarked: if it is, then `org-bookmark-store-link' would be used; if it isn't, storing the file would fall back on the current mechanism. BTW, would you be okay to add this to the CONTRIB/ directory in the git repository? Let me know, I can do it for you. ;;; org-bookmark.el - Support for links to Emacs bookmark ;; Carstens outline-mode for keeping track of everything. ;; Copyright (C) 2008 Free Software Foundation, Inc. ;; ;; Author: Tokuya Kameshima kames AT fa2.so-net.ne.jp ;; Version: 1.0 ;; Keywords: outlines, hypermedia, calendar, wp ;; ;; This file is part of GNU Emacs. This line should rather mention: This file is not part of GNU Emacs. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] New tutorial about using Org as a spreadsheet system
Hi folks, i've made a small tutorial about the use of spreadsheet facilities in org-mode: http://www.legito.net/worg/org-tutorials/org-spreadsheet-intro.php It won't be very useful for those who are already familiar with this amazing field of application for Org, and the curious minds will stay hungry after reading it, but I hope it will make some of you consider using it for simple needs, and digg further into it. Enjoy! Note: Worg is moving to www.legito.net -- I will delete the old website next week. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Agenda publishing
Manish [EMAIL PROTECTED] writes: At first it still did not work, even with htmlize. But then I was using Orgmode that came with emacs 22.1. I got the latest, and put it in the site-list directory while removing the two org files in 22.1/. Yes. Sorry, I often wrongly assume people are using a recent Org. With the latest Orgmode, it works. It works even too well. I mean, is there a way to produce a somewhat sober output than an actual emacs 'screenshot' (in my case with the blue background I'm using in emacs) ? Something like the regular html output of an org file done with org-export-as-html. The blue background and the actual emacs fonts are nice in html but are a bit too colorful for regular use. This has been previously requested, as long with some code to export in a TeX file. I am working on code that will help do this. The latest Orgmode works nicely, but a bit on the slow side for loading times. I think there's a way to compile .el files to accelerate processing. Could you tell me what command is used to compile Orgmode ? Just a `make' in org directory should do it. Alternatively, if for one reason or another you want to compile .el files by hand, go to a directory with `C-x d', mark .el files with `% m \.el RET, then try to byte-compile them all with `B'. HTH, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] blorg.el
Rick Moynihan [EMAIL PROTECTED] writes: But the problem appears to be that the URL which appears twice in the block isn't inserted literally but is instead expanded into an a href= in the source when M-x blorg-publish is run e.g: object width=425 height=355param name=movie value=a href=http://www.youtube.com/watch?v=fu8rAWciQNs;watch?v=fu8rAWciQNs/a/paramparam name=wmode value=transparent/paramembed src=a href=http://www.youtube.com/watch?v=fu8rAWciQNs;watch?v=fu8rAWciQNs/a Argh. I see. Is there a way to disable this when inside dynamic blocks? Not one that I will work on now. But please be patient, I'm coding the new export engine and it will be much easier to publish a blog with it. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] faces for keywords
Dmitri Minaev [EMAIL PROTECTED] writes: When I followed the examples given in the manual for setting org-todo-keyword-faces, I could change the font color but not its weight. I had to defface a new face and use it in the org-todo-keyword-faces to get the bold font. What I did first was: (setq org-todo-keyword-faces '((WAITING . (:foreground blue :weight bold :bold t The same face definition syntax used with defface worked well: (defface org-waiting-face '((t (:foreground blue :weight bold :bold t))) Face for WAITING todo items.) (setq org-todo-keyword-faces '((WAITING . org-waiting-face))) GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) What did I do wrong? Nothing. I tested this and noticed that the problem happened for the :weight and :bold property, not for the :foreground property. Which confirms this is a problem with Emacs. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org 2 openoffice impress converter
Hi Fabian, Fabian Braennstroem [EMAIL PROTECTED] writes: Wouldn't it be great to create a presentation in emacs; at least the first outlining? Sounds nice. So, what do you think about an org 2 openoffice impress converter...? The exporting process is probably pretty similar to the html-exporting procedure!? I think you might be interested in the S5 Slide Show system: http://meyerweb.com/eric/tools/s5/ S5 is a slide show format based entirely on XHTML, CSS, and JavaScript. With one file, you can run a complete slide show and have a printer-friendly version as well. The markup used for the slides is very simple, highly semantic, and completely accessible. Anyone with even a smidgen of familiarity with HTML or XHTML can look at the markup and figure out how to adapt it to their particular needs. Anyone familiar with CSS can create their own slide show theme. It's totally simple, and it's totally standards-driven. See the quite impressive demonstration here: http://meyerweb.com/eric/tools/s5/s5-intro.html I think it would be *much* easier to go that way, since the export format will just be a subset of HTML. Unless someone points to a very simplistic example of ooimpress format, I'd rather not mix up with this. Of course this rely on the yes-coming-soon! brand new exporter. I will work on it this WE, maybe something good will come from this. Play with S5 and let me know if you'd find it useful to have a S5 exporter in Org. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org 2 openoffice impress converter
Russell Adams [EMAIL PROTECTED] writes: Why not use the existing Latex export to make a PDF presentation? Yes, that's another way. Or maybe we could have a prosper exporter. Again, the plan is to make the exporter modular so that people can write extensions. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Use orgstruct-mode to edit TWiki Markup language ?
Rainer Stengele [EMAIL PROTECTED] writes: ---+ Headline Level 1 * text * text ---+ Headline Level 1 i. text1 i. text2 ---++ Headline Level 2 ---+++ Headline Level 3 --- Headline Level 4 I wonder if it would be possible to somehow locally set the regex which defines what a headline for org is. As old perl hacker I would say the regex it is something as simple as ^---[+]+\s As a starting point, maybe check outline-mode and outline-minor-mode. (setq outline-regexp ^---\++) will help. Then look in the menu for the show/hide commands in outline. Thus you will have basic folding capabilities. But not all the Org fun, sure. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Logging state change with timestamp, but without note
Wanrong Lin [EMAIL PROTECTED] writes: I would like to record down the time stamp when a TODO item changed its state into some specific states (like DELEGATED), but I don't want to be prompt with a window for notes. I like the idea. Here is a patch against latest org.el from git that implements something that might suits your needs. If you add %! to one of the heading in `org-log-note-headings' then Org doesn't pop up a new buffer, the log is filled automatically. (setq org-log-note-headings '((done . CLOSING NOTE %t) (state . State %-12s %t%!) (clock-out . Carsten, if you like it, I push it and update the manual accordingly. diff --git a/org.el b/org.el index d33d0ad..dd48e1d 100644 --- a/org.el +++ b/org.el @@ -14893,30 +14893,36 @@ The auto-repeater uses this.) (defun org-add-log-note (optional purpose) Pop up a window for taking a note, and add this note later at point. (remove-hook 'post-command-hook 'org-add-log-note) - (setq org-log-note-window-configuration (current-window-configuration)) - (delete-other-windows) - (move-marker org-log-note-return-to (point)) - (switch-to-buffer (marker-buffer org-log-note-marker)) - (goto-char org-log-note-marker) - (org-switch-to-buffer-other-window *Org Note*) - (erase-buffer) - (let ((org-inhibit-startup t)) (org-mode)) - (insert (format # Insert note for %s. + (catch 'exit +(when (string-match + %! (cdr (assq org-log-note-purpose org-log-note-headings))) + ;; The note should be construed and filled silently + (org-store-log-note t) + (throw 'exit t)) +(setq org-log-note-window-configuration (current-window-configuration)) +(delete-other-windows) +(move-marker org-log-note-return-to (point)) +(switch-to-buffer (marker-buffer org-log-note-marker)) +(goto-char org-log-note-marker) +(org-switch-to-buffer-other-window *Org Note*) +(erase-buffer) +(let ((org-inhibit-startup t)) (org-mode)) +(insert (format # Insert note for %s. # Finish with C-c C-c, or cancel with C-c C-k.\n\n - (cond - ((eq org-log-note-purpose 'clock-out) stopped clock) - ((eq org-log-note-purpose 'done) closed todo item) - ((eq org-log-note-purpose 'state) - (format state change to \%s\ org-log-note-state)) - (t (error This should not happen) - (org-set-local 'org-finish-function 'org-store-log-note)) - -(defun org-store-log-note () + (cond + ((eq org-log-note-purpose 'clock-out) stopped clock) + ((eq org-log-note-purpose 'done) closed todo item) + ((eq org-log-note-purpose 'state) + (format state change to \%s\ org-log-note-state)) + (t (error This should not happen) +(org-set-local 'org-finish-function 'org-store-log-note))) + +(defun org-store-log-note (optional auto-note) Finish taking a log note, and insert it to where it belongs. - (let ((txt (buffer-string)) + (let ((txt (if auto-note (buffer-string))) (note (cdr (assq org-log-note-purpose org-log-note-headings))) lines ind) -(kill-buffer (current-buffer)) +(unless auto-note (kill-buffer (current-buffer))) (while (string-match \\`#.*\n[ \t\n]* txt) (setq txt (replace-match t t txt))) (if (string-match \\s-+\\' txt) @@ -14933,7 +14939,8 @@ The auto-repeater uses this.) (current-time))) (cons %s (if org-log-note-state (concat \ org-log-note-state \) -) +)) + (cons %! (if lines (setq note (concat note ))) (push note lines)) (when (or current-prefix-arg org-note-abort) (setq lines nil)) @@ -14953,10 +14960,11 @@ The auto-repeater uses this.) (setq ind (concat (match-string 0) )) (end-of-line 1) (while lines (insert \n ind (pop lines))) - (set-window-configuration org-log-note-window-configuration) - (with-current-buffer (marker-buffer org-log-note-return-to) -(goto-char org-log-note-return-to)) - (move-marker org-log-note-return-to nil) + (unless auto-note +(set-window-configuration org-log-note-window-configuration) +(with-current-buffer (marker-buffer org-log-note-return-to) + (goto-char org-log-note-return-to)) +(move-marker org-log-note-return-to nil)) (and org-log-post-message (message %s org-log-post-message))) ;; FIXME: what else would be useful? -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Task time limit
Sebastjan Trepca [EMAIL PROTECTED] writes: Anyway, this new version works! :) Be careful about clocking out from agenda views if you're also advising org-clock-out. It doesn't work, I can't see why for now. Thank you very much, this will be very useful. Btw, why not integrate it with org-mode? I don't think this has to be part of org-mode. I'm not using it myself and I would be surprised if many people are using it. This is a strange way of using appointments as reminders. And most of the times you will clock the task out before the appt will pop up -- which means you really relies on `appt-message-warning-time' to tell you that you're about to reach the appointment... Anyway, I opened a page named org-adhoc-code.org on Worg: http://www.cognition.ens.fr/~guerry/worg/org-adhoc-code.html We could put other tiny pieces of code here in the future. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Integration of Org mode with Mairix: org-mairix.el
Hi Adam, Adam Spiers [EMAIL PROTECTED] writes: but I was hoping to get some feedback from the (apparently tiny?) user-base first. Is there anyone other than myself and Austin currently reading the list who uses org-mairix.el, or who might be interested in using it? I'm not using org-mairix.el anymore because org-nnml.el suits my needs. But I like mairix and I'm using it a lot (with Gnus.) If you solve the issues you mentionned then I will give it another try, for sure! -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: list indentation
Hi Ceazr, cezar [EMAIL PROTECTED] writes: How common is a blank line in a list item ? I'd say it's more common for a blank line to end a list item. FWIW I often use multi-paragraphs in a list item. I think it should be outlawed. Generally speaking, I think we shouldn't put too many constraints on the way the text has to be formatted, even if it costs the user two or three additional keystrokes. Best, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problems with Properties and Columns
Hi Ian, Ian Barton [EMAIL PROTECTED] writes: Taking the snippet below as an example. If I try to add a Property below My Bank using C-c C-x p I am offered completions for the Properties defined under Web Site Passwords, not Bank Details. Is this a bug, or am I misunderstanding the scope of the Columns directive? The COLUMN property just defines the column view, not the properties themselves. When you set a property with `C-c C-x p', the prompt offers completion over all the properties that are found in the current buffer. Does that answer your question? -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Unable to export to latex
Antano Solar [EMAIL PROTECTED] writes: On Feb 8, 2008 4:42 PM, Bastien Guerry [EMAIL PROTECTED] wrote: Antano Solar [EMAIL PROTECTED] writes: When I type org-export-as- tab i dont see latex in the list. Make sure org-export-latex.el is in your load-path. Then require it, if necessary: (require 'org-export-latex) If this triggers no error, then you should be able to use M-x org-export-as-latex normally. I get the following error now when I do org-export-as-latex org-export-latex-set-initial-vars: Symbol's value as variable is void: org-todo-keywords-1 I guess your Org version is a bit old. What is the output of C-h v org-version RET? Anyway, as I told you, just download the latest package from Org's website and come back if the problem persists: http://orgmode.org/org-5.21.tar.gz -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Unable to export to latex
Antano Solar [EMAIL PROTECTED] writes: When I type org-export-as- tab i dont see latex in the list. Make sure org-export-latex.el is in your load-path. Then require it, if necessary: (require 'org-export-latex) If this triggers no error, then you should be able to use M-x org-export-as-latex normally. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-export-region-as-latex exports more than region
Nick Dokos [EMAIL PROTECTED] writes: I did a little tracing and it looks to me that the function org-export-latex-first-lines returns much more than it should in the two strange cases above. I fixed this in the git repo. Thanks for the detailed report and sorry for the delay. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] importing html
Brian Gough [EMAIL PROTECTED] writes: Is there an html-org mode converter? I have some web pages I want to import into org. Thanks. AFAIK there is no such tool. And designing a generic tool for this might be really tricky. I guess it's easier to code something ad hoc, just suitable for the specific structure of the HTML files you want to import. Maybe you can send one of yours HTML files? -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] (no subject)
Hi Dimitri, Dimitris Kapetanakis [EMAIL PROTECTED] writes: This is really a question for Bastien I tried to use blorg.el but I can't load it it says Compiling file g:/Emacs/site-lisp/blorg.el at Mon Jan 28 13:17:20 2008 blorg.el:133:1:Warning: value returned from (fboundp (quote replace-regexp-in-string)) is unused blorg.el:1405:1:Error: Invalid read syntax: ? can you help me? I've uploaded a small fix for this. Please check blorg.el 0.75b: http://www.cogintion.ens.fr/~guerry/u/blorg.el HTH, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: blorg.el
Hi Dimitris, Dimitris Kapetanakis [EMAIL PROTECTED] writes: Sadly, I still cannot make it work. Now it compiles ok but when I run the M-x blorg-publish command on the file -- #+TITLE: meltemi #+BLOG_URL: http://localhost/blorg/ #+PUBLISH_DIR: g:/htdocs/BLORG/ * DONE This is my first entry :misc: CLOSED: [2008-01-30 Τετ] Hello world! -- 1. Can you send me a complete backtrace? See this section in Org's manual How to create a useful backtrace: http://orgmode.org/manual/Feedback.html 2. Wild guesses: 1) is the g:/htdocs/BLORG/ really an existing directory? 2) try with a timestamp in english, with no localized characters sorry for bathering you again No problem. It's just that blorg.el is quite old now, and the plan I have is to rewrite it from scratch - so I don't want to spend to much time trying to *improve* it. But fixing bugs is okay, please send me more information. Note: keep me posted in private, as it might no be of interest for most org-mode users. Thanks, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: source code
Phil Jackson [EMAIL PROTECTED] writes: So what do you think Carsten? I would like to see the: #+BEGIN_EXAMPLE lang:shell-script #+END_EXAMPLE That Bastien suggested. I would be willing to help out the exporter people if need be. For the record, the full suggestion is here: http://thread.gmane.org/gmane.emacs.orgmode/5053/focus=5057 -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] blorg.el
Hi Rick, Rick Moynihan [EMAIL PROTECTED] writes: I've been meaning to mention that blorg produces invalid XML for atom feeds (perhaps also RSS/HTML). Most obviously it doesn't appear to entity escape characters the following characters properly '', '', '', which should be rendered as gt; lt; and amp; respectively. Trying to fix this is dangerous, it might break other things. If the issue is just XML validation, I won't do it for now - sorry. Also I think img tags aren't closed properly, i.e. they're rendered as img src=foo.jpg rather than the correct: img src=foo.jpg/ Fixed in 0.75d. Another issue I have, is that sometimes when calling blorg-publish it doesn't render links properly, i.e. [[http://foo.com/][foo]] will be displayed in the HTML/XML rather than: a href=http://foo.com;foo/a This doesn't always happen, but seems to occur when either: - you run blorg-publish without a C-u prefix argument. - or, you have an orglink which runs across a line break, e.g. [[http://foo.com/]| --- newline [foo]] (Of course, blorg should use Org's HTML converter. This is in the plan for the next org-based blogging system, so I'm not willing to try fixing this neither...) Also, it'd be great if there was a way to easily embed flash video content onto the pages, by using custom links, e.g. [[youtube:http://www.youtube.com/watch?v=fu8rAWciQNs]] Which would be expanded into the appropriate embeded object: object width=425 height=355param name=movie value=http://www.youtube.com/v/fu8rAWciQNsrel=1;/paramparam name=wmode value=transparent/paramembed src=http://www.youtube.com/v/fu8rAWciQNsrel=1; type=application/x-shockwave-flash wmode=transparent width=425 height=355/embed/object What about a simple dynamic block ? (defun org-dblock-write:youtube (params) Insert a header from a file. (let ((url (plist-get params :url))) (insert (format object width=\425\ height=\355\param name=\movie\ value=\%s\/paramparam name=\wmode\ value=\transparent\/paramembed src=\%s\ type=\application/x-shockwave-flash\ wmode=\transparent\ width=\425\ height=\355\/embed/object url url #+BEGIN: youtube :url http://www.youtube.com/watch?v=fu8rAWciQNs; #+END: Should expand in the correct block of text. HTH, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: source code
Rick Moynihan [EMAIL PROTECTED] writes: Also, Bastien... In blorg.el is it possible to include HTML snippets as blocks of markup inside the posts? For example embedding a video into a post? Sadly not - but keep the pressure, it motivates me to work harder on the next org-based blogging tool :) -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Survey results
Leo [EMAIL PROTECTED] writes: It is interesting to see the number of Xemacs users is small. Being included in GNU Emacs surely helps. But note that keeping XEmacs compatibility is also mentionned in the 5th section. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Column view questions
Hi, Egli Christian (KIRO 41) [EMAIL PROTECTED] writes: Yes. Is there an easy way to create HTML that allows outline folding? Would be nice for this application. Do you mean something along the line of http://freemind.sourceforge.net/PublicMaps-exported.html? I just stumble on this: http://tinyurl.com/28x5nw - New elements in HTML 5 It seems that HTML 5 will support new elements like article/section/nav/time, etc. I let you check on the page, but it sounds like pretty exciting, especially for structured content like the one Org-mode produces! Best, -- Bastien ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Is it any function similar to appoinment alert in the planner mode?
[EMAIL PROTECTED] writes: I have just switched from Planner to Org recent and I find the Org mode fit my need more. But I failed to find a function that I used a lot in the Planner mode. The function is that a alert window is pop up (with a beep as well) when an appointment time is coming with in a few minutes. Is it such a function in current Org mode. If no, can we implement it? Here is a solution that works for me. (defun bzg-org-agenda-to-appt () Activate appointments found in `org-agenda-files'. (interactive) (require 'org) (let* ((today (org-date-to-gregorian (time-to-days (current-time (files org-agenda-files) entries file) (while (setq file (pop files)) (setq entries (append entries (org-agenda-get-day-entries file today :timestamp (mapc (lambda(x) (let* ((event (org-trim (get-text-property 1 'txt x))) (time (number-to-string (get-text-property 1 'time-of-day x))) (time-st (concat (substring time 0 2) : (substring time 2 4 (appt-add time-st event))) entries))) Of course you should have initialized appt and this could be hooked somewhere. Let me know if it's okay for you. Regards, -- Bastien ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode