Re: [Orgmode] Patch for a timestamp exporting bug in org-latex.el
Applied, thanks. - Carsten On Apr 15, 2009, at 7:17 AM, Baoqiu Cui wrote: Hi Carsten, It seems that a minor old bug in LaTeX exporter was exposed recently by your timestamp change. When exporting a simple Org file that contains just the following two lines to LaTeX format, I got an error message saying Invalid use of `\' in replacement text: * DONE Test CLOSED: [2009-04-14 Tue 20:12] A patch is attached at the end of this email. Please let me know if you see any problem with the fix. Thanks, Baoqiu latex-timestamp.diff___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] #+include: export header lines
On Apr 14, 2009, at 6:35 PM, Dan Davison wrote: Carsten Dominik carsten.domi...@gmail.com writes: Hi Dan, special lines like #+OPTIONS are only parsed if the file is pointed to with #+SETUPFILE: ~/src/common/org-header.org HTH Yes that's what I was looking for, thanks! - Carsten P.S. Where should we have had what documentation to make this easier for you to find? Here are some suggestions. I could try to make a patch if that is helpful? Does one just edit the org.texi manually? I've edited my copy of org.texi as follows, but it didn't compile on make doc [see error at end] * [14.3 Summary of in-buffer settings] It might be logical to include the export options in this summary so that all the #+SOMETHING: options are together. Alternatively a link to [12.3 Export options] would be helpful in the initial text at node 14.3, i.e. around line 9642 in org.texi They are listed there, with a link to more detailed documentation. * #+SETUPFILE doesn't get an index entry So would that be a case of adding @cindex #+SETUPFILE on e.g. line 9691? I added this, thanks. * Make connections from node [12.3 Export options] to [14.3 Summary of in-buffer settings] Something like this at line 8151? For a summary of other in-buffer settings not specifically related to export, see @ref{Summary of in-buffer settings}. In particular, note that you can place commonly-used (export) options in a separate file which can be included using @code{#+SETUPFILE}. I added this as well, thanks. - Carsten ___ 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 fold a footer
On Apr 14, 2009, at 12:54 AM, Daniel Clemente wrote: Hi, this is a minor issue. I'd like three sections and a footer: * Section 1 111 * Section 2 222 * Section 3 333 --- Footer However, the footer appears as part of section 3, and it is hidden in the outline view (you don't know there will be a footer until you expand section 3). If I add a new section, „* Footer“, then this heading will be exported; this is also not nice. Is there some trick to add a footer at the end? (I think org-publish can add footers, but I would prefer a solution inside the same file; something like #+TEXT: but for footers). There is not built-in way to do this, no. All the text at the end becomes part of the last section, you will see this when you look at the exported HTML. You could modify the variable org-export-html-postamble, but that will be placed after the author/creator information. If you example above does the right thing for your export needs, then you could invent your own heading for a footer and use one of the preprocessor hooks to find and remove that headline. But formally (i.e. HTML structurally), this text will then belong to the last section before it. HTH - Carsten Thanks, Daniel ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bold links not working
Difficult to fix, I am afraid. - Carsten On Apr 13, 2009, at 3:45 AM, Daniel Clemente wrote: With org-mode 6.25trans from git from right now, I get this output: p A *a href=#destinationbold link/a*, a strongbold word/ strong. /p From this input: A *[[destination][bold link]]*, a *bold word*. Both links are however correctly hightlighted with a bold face. At the moment I don't know if this is a regression or did never work before. I have seen that [[destination][*bold link*]] works, but writing *some words and a [[d][bold]] link* is an easier syntax than *some bold words* [[d][*and a bold link*]]. The problem seeems to be in org-html-expand. It is breaking the line in these parts: - A * - [[destination][bold link]] - *, a *bold word*. …and calling org-html-do-expand on each. But the first part alone does not activate bold because it doesn't match org-emph-re. What I don't know is how org-html-do-expand could receive the full unbroken string so that it can detect the first bold and yet can't be fooled by asterisks inside the link, as in *[[de][oops* broken]] (this matches org-emph-re). -- Daniel ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] test
test ___ 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] Problem sorting by priority
Hi I don't know how long this has been a problem, as I've only just started using priorities on my tasks. I have a mixture of (usually) A and B priorities, and the rest have no priority set. If I sort the list by priority, the A's sort to the top as expected, but lower priorities stay where they are. I've just done a check to see what happens with C priority items, and the one I set up got sorted to below the `* Archive' heading! Org-mode version 6.25b GNU Emacs 22.3.1 (i386-mingw-nt6.0.6001) of 2008-09-06 on SOFT-MJASON Windows Vista (yeah, I know) This also happens on my other Windows machine, running `6.24trans' on WinXP Any ideas? Paul ___ 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] coloring is off and a crash
Under emacs 23.0.92 mac build, the coloring of my org files is off from what I saw in carbon emacs. For example, my first, second and third levels of the tree are all the same color (if that makes sense) but in carbon they are blue, orange and red respectively. Has anyone else experienced this? Also, I tried to go back to carbon emacs (22.3.1) but when folding the last item in a list it carbon crashes every time and I can't seem to capture the exception. *Greg Newman* http://20seven.org twitter: 20seven ___ 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] Problem sorting by priority
On Apr 15, 2009, at 12:02 PM, Paul Mead wrote: Hi I don't know how long this has been a problem, as I've only just started using priorities on my tasks. I have a mixture of (usually) A and B priorities, and the rest have no priority set. If I sort the list by priority, the A's sort to the top as expected, but lower priorities stay where they are. Items without a priority set are assumed to be priority B Try #+PRIORITIES: A D D this may be more to your liking. - Carsten I've just done a check to see what happens with C priority items, and the one I set up got sorted to below the `* Archive' heading! Org-mode version 6.25b GNU Emacs 22.3.1 (i386-mingw-nt6.0.6001) of 2008-09-06 on SOFT-MJASON Windows Vista (yeah, I know) This also happens on my other Windows machine, running `6.24trans' on WinXP Any ideas? Paul ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Problem sorting by priority
Carsten Dominik carsten.domi...@gmail.com writes: Try #+PRIORITIES: A D D this may be more to your liking. - Carsten So, that's a local setting for highest, lowest, default right? Thanks, I'll use that. Paul ___ 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: Problem sorting by priority
It worked! (as if I had any doubt!) Thanks Carsten. Paul ___ 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] org-feed: support Atom
I hacked org-feed to make it support different parsers, and wrote a simple Atom parser. Not sure how strong my git-fu is, but I try to send my patches here :) Proposed ChangeLog entry: 2009-04-15 Magnus Henoch magnus.hen...@gmail.com * org-feed.el (org-feed-alist): Add :parse-feed and :parse-entry options. Mention org-feed-parse-atom-feed and org-feed-parse-atom-entry in the docstring. (org-feed-parse-rss-feed): Renamed from org-feed-parse-feed. (org-feed-parse-rss-entry): Renamed from org-feed-parse-entry. (org-feed-update): Use sha1 instead of org-sha1-string. Use :parse-feed and :parse-entry. (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New functions. I have assigned copyright for Emacs; would that be good enough for Orgmode? Magnus From 8041c2f0a5379ccc08d3d3414cba54fb3786a94d Mon Sep 17 00:00:00 2001 From: Magnus Henoch magnus.hen...@gmail.com Date: Wed, 15 Apr 2009 11:19:19 +0100 Subject: [PATCH] * org-feed.el (org-feed-parse-rss-feed): Renamed from org-feed-parse-feed. (org-feed-parse-rss-entry): Renamed from org-feed-parse-entry. (org-feed-update): Update calls. --- lisp/org-feed.el | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/org-feed.el b/lisp/org-feed.el index fca71f7..3ece0f9 100644 --- a/lisp/org-feed.el +++ b/lisp/org-feed.el @@ -288,7 +288,7 @@ it can be a list structured like an entry in `org-feed-alist'. (error Cannot get feed %s name)) (when retrieve-only (throw 'exit feed-buffer)) - (setq entries (org-feed-parse-feed feed-buffer)) + (setq entries (org-feed-parse-rss-feed feed-buffer)) (ignore-errors (kill-buffer feed-buffer)) (save-excursion (save-window-excursion @@ -313,8 +313,8 @@ it can be a list structured like an entry in `org-feed-alist'. (push e changed ;; Parse the relevant entries fully - (setq new (mapcar 'org-feed-parse-entry new) - changed (mapcar 'org-feed-parse-entry changed)) + (setq new (mapcar 'org-feed-parse-rss-entry new) + changed (mapcar 'org-feed-parse-rss-entry changed)) ;; Run the filter (when filter @@ -540,8 +540,8 @@ If that property is already present, nothing changes. ((functionp org-feed-retrieve-method) (funcall org-feed-retrieve-method url -(defun org-feed-parse-feed (buffer) - Parse BUFFER for RS feed entries. +(defun org-feed-parse-rss-feed (buffer) + Parse BUFFER for RSS feed entries. Returns a list of entries, with each entry a property list, containing the properties `:guid' and `:item-full-text'. (let (entries beg end item guid entry) @@ -561,7 +561,7 @@ containing the properties `:guid' and `:item-full-text'. (goto-char end)) (nreverse entries -(defun org-feed-parse-entry (entry) +(defun org-feed-parse-rss-entry (entry) Parse the `:item-full-text' field for xml tags and create new properties. (with-temp-buffer (insert (plist-get entry :item-full-text)) -- 1.6.0.2 From 9f0061ff7825b18e7fbfcebf849be7cd192af340 Mon Sep 17 00:00:00 2001 From: Magnus Henoch magnus.hen...@gmail.com Date: Wed, 15 Apr 2009 11:35:01 +0100 Subject: [PATCH] * org-feed.el (org-feed-alist): Add :parse-feed and :parse-entry options. (org-feed-update): Use them. --- lisp/org-feed.el | 28 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/lisp/org-feed.el b/lisp/org-feed.el index 3ece0f9..55b14bc 100644 --- a/lisp/org-feed.el +++ b/lisp/org-feed.el @@ -159,7 +159,17 @@ Here are the keyword-value pair allows in `org-feed-alist'. This function gets passed a list of all entries that have been handled before, but are now still in the feed and have *changed* since last handled (as evidenced by a different sha1 hash). - When the handler is called, point will be at the feed headline. + When the handler is called, point will be at the feed headline. + +:parse-feed function + This function gets passed a buffer, and should return a list of entries, + each being a property list containing the `:guid' and `:item-full-text' + keys. The default is `org-feed-parse-rss-feed'. + +:parse-entry function + This function gets passed an entry as returned by the parse-feed + function, and should return the entry with interesting properties added. + The default is `org-feed-parse-rss-entry'. :group 'org-feed :type '(repeat (list :value ( http://; ) @@ -184,6 +194,12 @@ Here are the keyword-value pair allows in `org-feed-alist'. (list :inline t :tag Changed items (const :changed-handler) (symbol :tag Handler Function)) +(list :inline t :tag Parse Feed + (const :parse-feed) + (symbol :tag Parse Feed Function)) +(list :inline t :tag Parse Entry + (const :parse-entry) +
Re: [Orgmode] bug in remote references in spreadsheet
This is now fixed, thanks for the report. Please note that also modifying the remote table will not change references in a table that refers to it, because the remote table does not know who might be referring to it. - Carsten On Apr 6, 2009, at 10:07 PM, Rares Vernica wrote: Hello, I think the standard references do not work correctly in the remote function. Moreover, the edit all formulas (C-c ') window replaces the internal references with standard references. Even if I toggle the references back to internal ones, the references in the remote function do not get updated. Here is an example: #+TBLNAME: TableA | 101 | #+TBLFM: @1$1=remote(TableC,@1$1) #+TBLNAME: TableB | A1 | #+TBLFM: @1$1=remote(TableC,A1) #+TBLNAME: TableC | 101 | If I do C-c * in TableA, it works correctly. In TableB it doesn't. If I do C-c ' in TableA and then (with or without C-c C-r) C-c C-c and C- c *, then the contents of TableA will be equivalent to the ones of TableB and the reference will be broken. Here is version info (I updated both emacs and org-mode from repository today): emacs-version is a variable defined in `version.el'. Its value is 23.0.92.2 org-version is a variable defined in `org.el'. Its value is 6.25d Thanks for org! Rares ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] another bug in remote references in spreadsheet
Fixed, thanks. - Carsten On Apr 12, 2009, at 11:28 PM, Rares Vernica wrote: Hi, I think I found another bug related to remote references. When I insert/remove a row/column using the table commands, the remote references to other tables are also updated. I think org treats remote as a regular function and updates the references inside it. Here is an example: #+TBLNAME: TableA | 101 | #+TBLFM: @1$1=remote(TableB,@1$1) #+TBLNAME: TableB | 101 | If I go in the cell of TableA and do M-S-down arrow, I get the following: #+TBLNAME: TableA | | | 101 | #+TBLFM: @2$1=remote(TableB,@2$1) As you can see the remote reference has been updated. I similar update happens when I remove a row or insert/remove a column. Here is version info (I updated both emacs and org-mode from repository on April 6th): emacs-version is a variable defined in `version.el'. Its value is 23.0.92.2 org-version is a variable defined in `org.el'. Its value is 6.25d Thanks, Rares ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-feed: support Atom
Hi Magnus, On Apr 15, 2009, at 3:00 PM, Magnus Henoch wrote: I hacked org-feed to make it support different parsers, and wrote a simple Atom parser. This sounds very good! However, it does not mean anything to me. :-) Web-dump as I am, I have no clue what Atom means. And since I would like to understand the changes, would you mind explaining what this is useful for, and maybe show an example? I have assigned copyright for Emacs; would that be good enough for Orgmode? If it says future changes and is for Emacs, yes, this will be sufficient. - Carsten ___ 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-feed: support Atom
Actually, the patches look really good, I have already applied them, thank you very much. If I can ask a little more of your time, it would be great if you'd update http://orgmode.org/worg/org-contrib/org-feed.php (i.e. the corresponding .org file in Worg). And, if you like, feel free to update my RSS parser using xml-parse- region, it seems to me that you are doing a much better job with the parsing than me. Thanks for you contribution! - Carsten P.S. If you don't mind, I would like a copy of your copyright assignment, for my records. On Apr 15, 2009, at 3:00 PM, Magnus Henoch wrote: I hacked org-feed to make it support different parsers, and wrote a simple Atom parser. Not sure how strong my git-fu is, but I try to send my patches here :) Proposed ChangeLog entry: 2009-04-15 Magnus Henoch magnus.hen...@gmail.com * org-feed.el (org-feed-alist): Add :parse-feed and :parse-entry options. Mention org-feed-parse-atom-feed and org-feed-parse-atom-entry in the docstring. (org-feed-parse-rss-feed): Renamed from org-feed-parse-feed. (org-feed-parse-rss-entry): Renamed from org-feed-parse-entry. (org-feed-update): Use sha1 instead of org-sha1-string. Use :parse-feed and :parse-entry. (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New functions. I have assigned copyright for Emacs; would that be good enough for Orgmode? Magnus 0001--org-feed.el-org-feed-parse-rss-feed-Renamed-fr.patch0002-- org-feed.el-org-feed-alist-Add-parse-feed-and.patch0003--org- feed.el-org-feed-update-Use-sha1-instead-o.patch0004--org-feed.el- org-feed-parse-atom-feed.patch0005--org-feed.el-org-feed-alist- Mention-org-feed- pa.patch___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-feed: support Atom
Carsten Dominik carsten.domi...@gmail.com writes: Hi Magnus, On Apr 15, 2009, at 3:00 PM, Magnus Henoch wrote: I hacked org-feed to make it support different parsers, and wrote a simple Atom parser. This sounds very good! However, it does not mean anything to me. :-) Web-dump as I am, I have no clue what Atom means. And since I would like to understand the changes, would you mind explaining what this is useful for, and maybe show an example? Sure. The great thing about standards is that there are so many of them to choose from, and feeds are no exception. The current version of org-feed.el supports RSS - I'm not sure exactly which version; http://en.wikipedia.org/wiki/Rss#Variants lists six versions of RSS with various levels of intercompatibility. The Atom format is an attempt to clear up this mess by starting from scratch, and some web applications have only Atom feeds. One example of an Atom feed can be found at https://bugzilla.mozilla.org/. Go to Bugs Filed Today, get the feed by clicking the radio wave icon in the Firefox location bar, and use that URL for org-feed-alist. You will need my patches for that to work, and Parse Feed and Parse Entry need to be set to the Atom ones. Then, you have a low-maintenance list of Mozilla bugs in an Org-mode page. I have assigned copyright for Emacs; would that be good enough for Orgmode? If it says future changes and is for Emacs, yes, this will be sufficient. It does, yes. Magnus ___ 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] Point trapped in link
Hi Leo, could you or someone else file a bug report with Emacs about this? I just checked, Muse has the same problem. But strangely, evaluating the following form in fundamental mode (insert (propertize 12345 'invisible t) ) does not show this problem. Thanks. - Carsten On Apr 13, 2009, at 3:24 AM, Leo wrote: Hi all, I came across this bug by accident. 1. Create a new buffer and put it in org-mode 2. Create a new heading 3. Copy a url in for example http://www.google.com/ 4. C-c C-l on the link and change the description to 'google' without the quotes. 5. Move point (I use left and right) inside the link description. You can see the point sometimes trapped in the beginning of the description, left or right not able to move it. I am running: GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-04-12 on 64-71-7-214.static.wiline.com and org 6.21b. Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-feed: support Atom
Hi Magnus, thanks! - Carsten On Apr 15, 2009, at 4:43 PM, Magnus Henoch wrote: Carsten Dominik carsten.domi...@gmail.com writes: Hi Magnus, On Apr 15, 2009, at 3:00 PM, Magnus Henoch wrote: I hacked org-feed to make it support different parsers, and wrote a simple Atom parser. This sounds very good! However, it does not mean anything to me. :-) Web-dump as I am, I have no clue what Atom means. And since I would like to understand the changes, would you mind explaining what this is useful for, and maybe show an example? Sure. The great thing about standards is that there are so many of them to choose from, and feeds are no exception. The current version of org-feed.el supports RSS - I'm not sure exactly which version; http://en.wikipedia.org/wiki/Rss#Variants lists six versions of RSS with various levels of intercompatibility. The Atom format is an attempt to clear up this mess by starting from scratch, and some web applications have only Atom feeds. One example of an Atom feed can be found at https://bugzilla.mozilla.org/. Go to Bugs Filed Today, get the feed by clicking the radio wave icon in the Firefox location bar, and use that URL for org-feed-alist. You will need my patches for that to work, and Parse Feed and Parse Entry need to be set to the Atom ones. Then, you have a low-maintenance list of Mozilla bugs in an Org-mode page. I have assigned copyright for Emacs; would that be good enough for Orgmode? If it says future changes and is for Emacs, yes, this will be sufficient. It does, yes. Magnus ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] variables to get the export date and other export data
If you make me a complete list of what you'd like to have, I can add them to the macros. I don't want to add more [NAME], I don't think it is strange enough. - Carsten On Apr 14, 2009, at 9:08 PM, Daniel Clemente wrote: Hi, just like [TABLE-OF-CONTENTS] inserts the table of contents, are there other variables which will be translated on export? For instance [EXPORT-DATE] to get the export date, [VERSION] for the Org version, [FILE-NAME] for this file's name, … Otherwise, dynamic blocks with LISP code can be used, as suggested in a recent message. Only that variables can make this easier for common variables. There are also macros like {{{title}}}, {{{author}}}, but they are static (e.g. {{{date}}} is the date the user wrote, not the date at export time). --Daniel ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] htmlize.el
Hi! The latest htmlize.el, a version that works with Emacs 23, can now be found in the contrib directory of the Org distribution, so that it can be easily used to make HTML export files with colored code examples. Thanks to Hrvoje! Hrvoje told me he is looking for someone to take over maintenance of this package. Anyone interested here? - Carsten ___ 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: Point trapped in link
On 2009-04-15 15:52 +0100, Carsten Dominik wrote: Hi Leo, could you or someone else file a bug report with Emacs about this? I just checked, Muse has the same problem. But strangely, evaluating the following form in fundamental mode (insert (propertize 12345 'invisible t) ) does not show this problem. Thanks. - Carsten I can do this. Would it suffice just move the original bug report over? Leo. On Apr 13, 2009, at 3:24 AM, Leo wrote: Hi all, I came across this bug by accident. 1. Create a new buffer and put it in org-mode 2. Create a new heading 3. Copy a url in for example http://www.google.com/ 4. C-c C-l on the link and change the description to 'google' without the quotes. 5. Move point (I use left and right) inside the link description. You can see the point sometimes trapped in the beginning of the description, left or right not able to move it. I am running: GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-04-12 on 64-71-7-214.static.wiline.com and org 6.21b. Best, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. www.git-scm.com git - the one true version control system ___ 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] Personal Finance in org-mode?
On Apr 13, 2009, at 4:50 PM, Russell Adams wrote: Madhu, I second ledger. I've found it to be very powerful! After much use, I even wrote a CSV importer to bring in my bank statements. Now if I could only use remember-mode to hot-add ledger entries. You can now. After the next pull, try a remember template like this. This is only a dirty hack, I hope James TD Smith's implementation will be better. But it works. If the heading field in the template is `top' or `bottom', it is now OK if the target file is not in Org-mode, and the text in the remember buffer will be added to the file unchanged. Try a template like this: (ledger 108 ~/org/ledger bottom nil) HTH - Carsten Thanks. On Mon, Apr 13, 2009 at 01:53:59PM +0200, Carsten Dominik wrote: On Apr 13, 2009, at 11:19 AM, Madhu Rao wrote: Has anyone tried to configure org in a personal finance manager mode? I looked in the mail archive, but couldn't find any related posts. The finance applications on Mac OS are either too clumsy or sophisticated. I thought org-mode with some remember capture templates will do that stuff rather efficiently. If anyone has already set this up, that will help get started. While I have not used it myself, I would suspect that people, who get along with Org well, would be candidates for trying ledger by John Wiegley - Carsten ___ 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 -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Complete file names when inserting a link
Hi; with latest org-mode and emacs -Q, I pressed: 1. C-c C-l 2. file:/ 3. TAB I get [No match]. I expected that I could complete file names as in C-x C-f, without changing any setting. Is this a bug? -- Daniel ___ 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: Point trapped in link
On 2009-04-15 15:52 +0100, Carsten Dominik wrote: Hi Leo, could you or someone else file a bug report with Emacs about this? http://permalink.gmane.org/gmane.emacs.bugs/27204 Best wishes, -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ 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] here's a working version of org-generic
I have a bunch of random things that I'd like to export org stuff too and it seemed to me that much of the work of writing code to export stuff from org-mode into external documents could be conquered by simple string specifiers. So yesterday I hacked something together that is actually working enough I should be able to use it to other random xml formats, etc. It's far from complete but it's usable by the average elisp hacker. See the todo list at the top for all the things it *doesn't* do (sigh). EG, the demo specifier in the example specifier list (see the code) can be used to take this: Test * level 1 text level 1 *** level 2 text level 2 : this : is :critical * level 3 text [[file:foo2.org][level 3]] * Another 3 more text level 3 *** level 2 again more text level 2 *** jump to level 4 level 4 text *** back to 2 To produce this: h1Test/h1 datebr /bDate:/b i2009-04-15 12:21:42 PDT/ibr / /datetocname __Table of Contents__ /tocname toc #(1)--level 1 -- #(1.1)--level 2 -- #(1.1.1)--level 3 -- #(1.1.2)--Another 3 -- #(1.2)--level 2 again -- #(1.3)--back to 2 -- #(2)--back to 1 -- /toc secprefix h11 level 1 /h1 p text level 1/p secprefix h21.1 level 2 /h2 p text level 2pre this /pre pre is /pre pre critical /pre /p secprefix h3level 3 /h3 p ... -- In the bathtub of history the truth is harder to hold than the soap, and much more difficult to find. -- Terry Pratchett org-generic.el Description: application/emacs-lisp ___ 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: here's a working version of org-generic
On Wed, 15 Apr 2009 15:59:14 -0400, Bernt Hansen be...@norang.ca said: BH Isn't the filename (org-generic.el) well, um, too generic? If it's BH export-related wouldn't something like org-export-generic.el be better? BH (or maybe even org-export-tools.el? ) Well, I was psuedo-modeling it after the existing file names. Single dash, etc. I hardly care about the name of the file ;-) Maybe org-carefree? org-styleless? org-everything? -- In the bathtub of history the truth is harder to hold than the soap, and much more difficult to find. -- Terry Pratchett ___ 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-protocol and encoding
Hi Ulf and Carsten, here appended is a patch, that does two things. 1. Decode hex-encoded unicode = The new function `org-protocol-unhex-string' correctly decodes unicode hex-enoded, just like the JavaScript function `encodeURIComponent' does. I tested with several unicode and german websites. This is text fetched per org-protocol.el after patching: From the mew homepage (http://www.mew.org/index.html.ja): = ---8-8-8--- Quelle: [2009-04-16 Do], [[http://www.mew.org/index.html.ja][Mew のオフィシャルページ]] Mewに関する質問はMew-distメーリングリストへ送ってください。 作者個人宛に送っても,返事は戻ってこないかもしれません。 このページへのリンク、書籍・雑誌等での紹介は、 公序良俗に反しない範囲で自由にどうぞ。 = ---8-8-8--- 2. Allow a function as second argument to org-protocol-split-data = The default decoding function is now `org-protocol-unhex-string', if the second parameter to `org-protocol-split-data' is non-nil. If that parameter is a function, that function is used to decode the split parts. The patch still containes some lines with debugging code, that may be uncommented to see what's going on. patch-org-protocol.el Description: application/emacs-lisp Best Sebastian ___ 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-protocol and encoding
Sorry for replying to my own mail. Reading `man utf-8' might help to understand what the patch does. And, utf-8 is what is decoded here. Sebastian ___ 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] [PATCH] Call org-reveal after refiling
Sometimes refiling a task displays the next task heading after ... at the end of a folded task. This keeps the next task the cursor is on starting in column 1 which feels more natural. --- This is a similar change to commit 8fb7354 (Call org-reveal after archiving) This commit is available at git://git.norang.ca/org-mode for-carsten lisp/org.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index af2c97c..7af1637 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8336,7 +8336,8 @@ See also `org-refile-use-outline-path' and `org-completion-use-ido' (delete-region (point) (+ (point) region-length)) (org-cut-subtree)) (setq org-markers-to-move nil) - (message Refiled to \%s\ (car it))) + (message Refiled to \%s\ (car it)) + (org-reveal)) (defun org-refile-goto-last-stored () Go to the location where the last refile was stored. -- 1.6.3.rc0 ___ 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] [PATCH] Jump to selected clock task when starting the clock
Move the point to the selected task when clocking in using the clock history. I find I'm always going to the currently clocked task after picking it off of the menu and this saves one small step. This could be optionally controlled by a variable. --- This commit is available at git://git.norang.ca/org-mode for-carsten lisp/org-clock.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 0b0b607..e56f82f 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -380,7 +380,8 @@ the clocking selection, associated with the letter `d'. (org-clock-update-mode-line) (setq org-clock-mode-line-timer (run-with-timer 60 60 'org-clock-update-mode-line)) - (message Clock started at %s ts))) + (message Clock started at %s ts) +(org-clock-goto nil))) (defun org-clock-find-position (find-unclosed) Find the location where the next clock line should be inserted. -- 1.6.3.rc0 ___ 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] [PATCH] Call org-reveal after refiling
Applied, thanks. - Carsten On Apr 16, 2009, at 4:06 AM, Bernt Hansen wrote: Sometimes refiling a task displays the next task heading after ... at the end of a folded task. This keeps the next task the cursor is on starting in column 1 which feels more natural. --- This is a similar change to commit 8fb7354 (Call org-reveal after archiving) This commit is available at git://git.norang.ca/org-mode for-carsten lisp/org.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index af2c97c..7af1637 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8336,7 +8336,8 @@ See also `org-refile-use-outline-path' and `org-completion-use-ido' (delete-region (point) (+ (point) region-length)) (org-cut-subtree)) (setq org-markers-to-move nil) - (message Refiled to \%s\ (car it))) + (message Refiled to \%s\ (car it)) + (org-reveal)) (defun org-refile-goto-last-stored () Go to the location where the last refile was stored. -- 1.6.3.rc0 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Jump to selected clock task when starting the clock
Applied, thanks. - Carsten On Apr 16, 2009, at 4:06 AM, Bernt Hansen wrote: Move the point to the selected task when clocking in using the clock history. I find I'm always going to the currently clocked task after picking it off of the menu and this saves one small step. This could be optionally controlled by a variable. --- This commit is available at git://git.norang.ca/org-mode for-carsten lisp/org-clock.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 0b0b607..e56f82f 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -380,7 +380,8 @@ the clocking selection, associated with the letter `d'. (org-clock-update-mode-line) (setq org-clock-mode-line-timer (run-with-timer 60 60 'org-clock-update-mode-line)) - (message Clock started at %s ts))) + (message Clock started at %s ts) +(org-clock-goto nil))) (defun org-clock-find-position (find-unclosed) Find the location where the next clock line should be inserted. -- 1.6.3.rc0 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode