[Orgmode] Re: Questions about org-capture templates and usage

2010-12-05 Thread Matt Lundin
Alan  lngn...@gmail.com writes:

1. Eventually a tutorial will surely be available.  I haven't found
  one.   Useful tutorials for me would be 

   1. How to make general templates, and pitfalls.
   2. Advanced usages of org-capture: using functions, etc.  
   3. Common errors and causes

I put this in the Features awaiting tutorials list on Worg:

http://orgmode.org/worg/org-tutorials/index.php#sec-7


2. Documentation is minimal, while the complexity of the system is
   great.   

Could you please explain what else you'd like to see in the
documentation?

- http://orgmode.org/manual/Capture.html
- (info (org) Capture)
- M-x describe-variable org-capture-templates

3. I have had to modify my usage to accomodate to changes in
   org-capture, relative to org-remember. Some differences devolve
   from explicit design features

   1. It is no longer necessary to auto-save uncommitted items. As
  a consequence there seems (as I understand it) to no longer
  be a way to use a prefix key to allow one to visit the item
  in it's context AFTER committing it with C-c C-c.

I have spend a good deal of time worrying over this, but
haven't solved the problem.  Probably 90% of the times I save
(C-c C-c) the Captured item, I stumble over how to find it
again to enhance or review the item.

*Is there a way to do this, or can we request a way to do this?*

The function org-capture-goto-last-stored will take you the item. 

You can bind this to a key.

Or if you would like always to jump to a capture item after filing it,
you can add a hook:

(add-hook 'org-capture-after-finalize-hook 'org-capture-goto-last-stored)

4. I would like to be able to capture to a non-orgmode file.
   My remember template saved  some notes, a list of items from an
   agenda search, or any text   was marked as a region, as a memo
   wrapped up as a latex memo, with  a latex memo header and
   an \end{document.  

   It is my understanding that this won't work anymore because
   capture will not save to a non-orgmode file.  

*Is this correct, and/or what, if anything can I do to make
this work?* `

AFAICT, it works fine. You can use the plain entry type. For instance,
here's a template that puts the selected region in a quote environment
in the file ~/searches.tex.

--8---cut here---start-8---
(add-to-list 'org-capture-templates 
 '(x Random note plain (file ~/searches.tex) 
   \\begin{quote}\n%i\n\\end{quote}))
--8---cut here---end---8---

Best,
Matt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [Babel] Patch for adding Microsoft's osql command-line utility

2010-12-05 Thread Eric Schulte
Hi Seb,

Thanks for the patch, this has just been applied.

-- Eric

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Hi Eric,

 Here a patch for osql from Microsoft.

 diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
 index 19c271d..9e6f06a 100644
 --- a/lisp/ob-sql.el
 +++ b/lisp/ob-sql.el
 @@ -66,6 +66,10 @@ This function is called by `org-babel-execute-src-block'.
   (out-file (or (cdr (assoc :out-file params))
 (org-babel-temp-file sql-out-)))
   (command (case (intern engine)
 +('msosql (format osql %s -s \\t\ -i %s -o %s
 + (or cmdline )
 + (org-babel-process-file-name in-file)
 + (org-babel-process-file-name out-file)))
  ('mysql (format mysql %s -e \source %s\  %s
  (or cmdline )
   (org-babel-process-file-name in-file)

 Best regards,
   Seb

___
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][babel]: Broken Link in Babel Intro page?

2010-12-05 Thread Eric Schulte
Hi Chris,

Thanks for the report.  The Babel pages on Worg need some maintenance
(any volunteers much appreciated).  The Org-mode manual has more
complete and up to date information, see [1] for working with code
blocks in general and [2] for header arguments specifically.

-- Eric

Chris Malone chris.m.mal...@gmail.com writes:

 Hi,

 In the section entitled *Code Blocks in Babel* on the [[
 http://orgmode.org/worg/org-contrib/babel/intro.php][Worg Babel Intro
 page]], it is listed that there are =header-arguments=, which can be added
 to a src block to control its evaluation and output.  It then provides a
 link to a
 [[http://orgmode.org/worg/org-contrib/babel/reference.php][HeaderArguments]]
 page for more details, however this link appears to be broken -
 I get a *404 Error* when trying to load the page.

 Chris
 ___
 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

Footnotes: 
[1]  http://orgmode.org/manual/Working-With-Source-Code.html

[2]  http://orgmode.org/manual/Header-arguments.html


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [babel] Enabling language mode for plantuml?

2010-12-05 Thread Eric Schulte
Hi Rainer,

The preferred method of adding support for a language is shown here
http://orgmode.org/manual/Languages.html

-- Eric

Rainer M Krug r.m.k...@gmail.com writes:

 On 12/03/2010 12:31 PM, zwz wrote:
 Rainer M Krug r.m.k...@gmail.com writes:
 
 Hi

 I would like to be able to edit code blocks of plantuml via C-', but I
 get the message
 No such language mode: plantuml-mode

 Is there an easy way of defining this new language mode, so that I can
 edit it via C-'?
 I don't need syntax highlighting at the moment, although ' as the
 comment character would be nice.

 Thanks,

 Rainer
 Hi, Rainer
 
 I wrote a plantuml-mode, which is now not perfect but usable.
 It is available on:
 http://zhangweize.wordpress.com/2010/09/20/update-plantuml-mode/
 
 Just copy the code and save it as plantuml-mode.el in a path where
 emacs finds its libraries.

 Just a quick question: whenever I add the line

 #+begin_src emacs-lisp
   (load-file ~/.emacs.d/site-lisp/plantuml-mode.el)
 #+end_src

 to load the plantuml-mode into my emacs.org file, the message window
 opens when starting emacs --- when I comment it out, it doesn't.

 Am I doing something wrong here?

 Rainer

 
 Best regards,
 zwz
 
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Babel, Python and UTF-8

2010-12-05 Thread Eric Schulte
Vincent Beffara vbeff...@ens-lyon.fr writes:

 Hi,

 (and it would be excellent to allow for a code block as a preamble,
 instead of a string in the header or as an alternative, because
 preambles once they are allowed tend to grow uncontrollably ;-)

 This is currently possible using the `sbe' function.  Arbitrary emacs
 lisp can be placed inside of header arguments, and the `sbe' take the
 name of a code block and returns its result.

 Very cool ! That does all I want, thanks for the info. For multi-line it
 is a bit heavy to write, with lots of \n and preamble .= lskjd, but I
 can live with that. Unless there is a way already to write something
 like this ?

 #+source: my-preamble
 #+begin_src python :return preamble
   # -*- coding: utf-8 -*-
   import os,sys,whatever
 #+end_src

 #+begin_src python :preamble (org-babel-get-and-expand-source-code-body 
 my-preamble) :return s
   s = é
 #+end_src

 There is org-babel-get-src-block-info but it looks at the block around
 (point), not by name ... so I guess it would not be too hard to write
 the extraction method, but it might be somewhere in the code already.


Yes, the following uses an internal Babel function, but is probably much
simpler

#+results: my-preamble
: # -*- coding: utf-8 -*-
: import os,sys,whatever

#+begin_src python :preamble (org-babel-ref-resolve my-preamble) :return s
s = é
#+end_src

Note that as written this will return the following python error

Traceback (most recent call last):
  File stdin, line 2, in module
ImportError: No module named whatever


 One naive question : why is the code path different for tangling and
 evaluation ? One would think that a natural way for evaluation would be
 to tangle the current block (plus included noweb stuff etc) into a
 temporary file and eval that file ... and that would enable shebang for
 evaluation as well. There must be something I am missing here.

 Tangling works for *any* programming language, even those which have yet
 to be created and have no explicit Emacs or Org-mode support, this is
 because on tangling the code block is simply treated as text.

 As far as I understood from testing, tangling does adapt to the language
 (at least to implement :var in a suitable way), so I was under the
 impression that evaluating could be implemented as some kind of wrapping
 around the tangled output - and obviously the wrapping would have to be
 language-specific even if for the most part the tanglong is not.


Yes, some language specific features (e.g. variable expansion) can be
used by the tangling mechanisms if such features are defined for the
language in question, however tangling can be done in the absence of any
language specific features and thus works for any arbitrary language.

That shebang and preamble should remain separate for the other reasons
mentioned in my previous email.


 I am just discovering all of this, sorry if I have horrible
 misconceptions about the thing ...


No problem, it is a fairly (but I don't think overly) complex system.


 Regards,

 /v


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [Babel] Using Noweb + some problems

2010-12-05 Thread Eric Schulte
Hi Seb,

I find this email difficult to parse.  Could you take some extra time in
composition of these emails to distill the problem/question into a small
clear statement of a couple of sentences with a single 10 line example.

There is simply too much content below and without investing a great
deal of time I don't know which parts are germane to your question.

Thanks -- Eric

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 #+TITLE: Make use of NoWeb with string replacement
 #+DATE:  2010-12-03
 #+LANGUAGE:  en_US

 * Abstract

 Difficult to sum up. Though, questions turn around the reuse of code for
 tangle purpose (read: Noweb calls) whose text must be replaced inside.

 Two real problems are also identified -- see
 [[*Important%20remarks][Important remarks]].

 * Somewhere in my local LOB

 (I'm beginning to play with one such file. Though, I've never succeeded
 copying a new snippet to it, using =C-c C-v i=, even when it's written it's
 successfully added)

 ** Add a column into a table

 #+srcname: add-column-in-table(table, column, type, nullability)
 #+begin_src sql
 -- add column `$column' (if column does not exist yet)
 IF NOT EXISTS (SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = '$table'
AND COLUMN_NAME = '$column')
 BEGIN
 ALTER TABLE $table
 ADD $column $type $nullability
 END
 #+end_src

 ** Convert date to French format

 #+srcname: convert-date-to-French-format
 #+begin_src sql :var column :engine msosql
 CONVERT(varchar(10), $column, 103) AS $column
 #+end_src

 THERE

 =103= is the code for the French format =dd/mm/=.

 * Somewhere in my work file

 ** Add the following columns

 Create 3 new columns:

 #+results: sql-param
 | table   | column  | type| nullability |
 |-+-+-+-|
 | prestations | prsNbr1 | tinyint | NULL|
 | prestations | prsNbr2 | tinyint | NULL|
 | prestations | prsNbr3 | tinyint | NULL|

 *** Code snippet (to be tangled later on)

 I want to apply the values onto the following chunk of code:

 #+srcname: add-column-in-table(table, column, type, nullability)
 #+begin_src sql :results output
 -- add column `$column' (if column does not exist yet)
 IF NOT EXISTS (SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = '$table'
AND COLUMN_NAME = '$column')
 BEGIN
 ALTER TABLE $table
 ADD $column $type $nullability
 END
 #+end_src

 *** Expanded code block

 Write out the result of the expansions:

 #+call: add-column-in-table(table=sql-param[2,0],
 column=sql-param[2,1], type=sql-param[2,2],
 nullability=sql-param[2,3])

 #+call: add-column-in-table(table=sql-param[3,0],
 column=sql-param[3,1], type=sql-param[3,2],
 nullability=sql-param[3,3])

 #+call: add-column-in-table(table=sql-param[4,0],
 column=sql-param[4,1], type=sql-param[4,2],
 nullability=sql-param[4,3])

 Pressing =C-c C-v C-e= on the above =#+call= lines shows me the following
 stack trace:

 #+begin_src emacs-lisp
 Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   intern(nil)
   (let ((--cl-var-- ...)) (cond (... ...) (... ...) (... ...) (t ...)))
   (case (intern engine) ((quote msosql) (format osql %s -s \\ -i 
 %s -o %s ... ... ...)) ((quote mysql) (format mysql %s -e \source %s\  
 %s ... ... ...)) ((quote postgresql) (format psql -A -P footer=off -F \
 \  -f %s -o %s %s ... ... ...)) (t (error no support for the %s sql 
 engine engine)))
   (let* ((result-params ...) (cmdline ...) (engine ...) (in-file ...) 
 (out-file ...) (command ...)) (with-temp-file in-file (insert ...)) (message 
 command) (shell-command command) (search-forward #+end_src) (forward-char 
 1) (insert \n#+results:\n#+begin_example\n) (insert #+end_example\n) 
 (beginning-of-line) (previous-line) (insert-file-contents out-file))
   org-babel-execute:sql(-- add column `$column' (if column does not exist 
 yet)\nIF NOT EXISTS (SELECT *\n   FROM 
 INFORMATION_SCHEMA.COLUMNS\n   WHERE TABLE_NAME = '$table'\n  
  AND COLUMN_NAME = '$column')\nBEGIN\nALTER TABLE $table\nADD 
 $column $type $nullability\nEND\n ((:var type . tinyint) (:var table . 
 prestations) (:var column . prsNbr1) (:var nullability . NULL) 
 (:colname-names) (:rowname-names) (:result-params silent replace) 
 (:result-type . value) (:comments . ) (:shebang . ) (:cache . no) 
 (:noweb . no) (:tangle . no) (:exports . code) (:results . silent) 
 (:hlines . no) (:session . none) (:result-type . value) (:result-params 
 replace) (:rowname-names) (:colname-names)))
   funcall(org-babel-execute:sql -- add column `$column' (if column does not 
 exist yet)\nIF NOT EXISTS (SELECT *\n   FROM 
 INFORMATION_SCHEMA.COLUMNS\n   WHERE TABLE_NAME = '$table'\n  
  AND COLUMN_NAME = '$column')\nBEGIN\nALTER TABLE $table\nADD 
 $column $type 

Re: [Orgmode] Re: [Babel] Reporting 2 problems of code execution

2010-12-05 Thread Eric Schulte
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

[...]
 I feel the same about the Babel file property.
 Maybe allowing such a specification line?

 #+BABEL sql: :engine mysql :cmdline -S server -U sa -P secret -d
 storeall -n -w 700 -s  

 That seems like a good suggestion, the only question seems to be what is
 the most natural syntax.

 I think I would lean more towards something like

 #+SQL_SOURCE:

 I don't really care about the form. I'll let you make the best choice, the one
 that best fits the whole Babel thing. Though, your proposition seems very
 adequate to me...


I've added this to our task list.

Cheers -- Eric

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Org support for the notmuch mail client

2010-12-05 Thread Matthieu Lemerre

I should have mentioned that the reason why I wrote it is that I would
very much like to have it included in org-mode, and I'm OK to sign the
copyright papers if necessary.

Regards,
Matthieu


On Sun, 28 Nov 2010 17:26:29 +0100, Matthieu Lemerre ra...@free.fr wrote:
 
 Hello, org-mode!
 
 The attached file implements links to mail collections and searchs to
 the notmuch mail client. A search is a query to be performed by
 notmuch; it is the equivalent to folders in other mail
 clients. Similarly, mails are refered to by a query, so both a link can
 refer to several mails.
 
 I had read on this list
 (http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28411.html) that
 there already was an implementation of links to notmuch, but it could
 not be implemented because of paperwork problems. I have implemented
 this because I got tired of waiting :)
 
 I'm new to hacking org-mode, and the implementation might not be
 perfect. I would be happy to receive comments. I already have one
 question: why is it needed to url-encode the links in org mode? For
 instance, I would like to be able to hand-write links like this:
 
 [[notmuch-search:to:xxx and not from:]]
 
 But it only works if I org-link-encode/org-link-decode the link (else,
 the and not .. is completely skipped from the query). Similarly, if I do
 
 (org-open-link-from-string
 notmuch:id:\7f39qo4aut@aeuaue.free.fr\))
 
 The last  gets removed in the argument I receive in org-notmuch-open.
 
 This is a pity because hand-writing url-encoded links is not
 user-friendly.
 
 
 PS: could you please Cc me because I am not subscribed to the list.
 
 Matthieu
 
Attachment: org-notmuch.el (application/emacs-lisp)

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Allow user to limit amount of context stored in file link search strings

2010-12-05 Thread Matt Lundin
* lisp/org.el: (org-make-heading-search-string) Optionally limit
  number of lines stored in file link search strings.
  (org-context-in-file-links) Add option to set to integer specifying
  number of lines.
---
 lisp/org.el |   19 +++
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 66514a2..2d769be 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1385,12 +1385,15 @@ nil   Never use an ID to make a link, instead link 
using a text search for
 (defcustom org-context-in-file-links t
   Non-nil means file links from `org-store-link' contain context.
 A search string will be added to the file name with :: as separator and
-used to find the context when the link is activated by the command
-`org-open-at-point'.
+used to find the context when the link is activated by the command 
+`org-open-at-point'. When this option is t, the entire active region 
+will be placed in the search string of the file link. If set to a 
+positive integer, only the first n lines of context will be stored.
+
 Using a prefix arg to the command \\[org-store-link] (`org-store-link')
 negates this setting for the duration of the command.
   :group 'org-link-store
-  :type 'boolean)
+  :type '(choice boolean integer))
 
 (defcustom org-keep-stored-link-after-insertion nil
   Non-nil means keep link in list for entire session.
@@ -8501,7 +8504,8 @@ according to FMT (default from 
`org-email-link-description-format').
 (defun org-make-org-heading-search-string (optional string heading)
   Make search string for STRING or current headline.
   (interactive)
-  (let ((s (or string (org-get-heading
+  (let ((s (or string (org-get-heading)))
+   (lines org-context-in-file-links))
 (unless (and string (not heading))
   ;; We are using a headline, clean up garbage in there.
   (if (string-match org-todo-regexp s)
@@ -8515,6 +8519,13 @@ according to FMT (default from 
`org-email-link-description-format').
   (while (string-match org-ts-regexp s)
(setq s (replace-match  t t s
 (or string (setq s (concat * s)))  ; Add * for headlines
+(when (and string (integerp lines) ( lines 0))
+  (let ((slines (org-split-string s \n)))
+   (when ( lines (length slines))
+ (setq s (mapconcat 
+  'identity
+  (reverse (nthcdr (- (length slines) lines) 
+   (reverse slines))) \n)
 (mapconcat 'identity (org-split-string s [ \t]+)  )))
 
 (defun org-make-link (rest strings)
-- 
1.7.3.2


___
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] [OT] recutils

2010-12-05 Thread Michael Brand
Hi Jose

On Sat, Dec 4, 2010 at 13:28, Jose E. Marchesi jema...@gnu.org wrote:
 But note that the relational characteristics in
 recutils are not very sophisticated.

 The rule here is: if you need something more complex then you probably
 should be using a real relational dbms instead :)

Ok, maybe I expected a bit too much for the initial version 1.0. But
is it already possible or planned to allow recsel deliver field values
from two tables, joined together with a foreign key or what does the
manual mean with the ability of records to refer to other records
(sort of foreign keys)?

Michael

___
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] Pandoc can now do Org

2010-12-05 Thread Puneeth
Hi all,

I've quite often felt the need for an importer to orgmode and so have
others on the list.  I stumbled upon Pandoc, while I was trying to
convert some formats.  It's pretty neat and has a bunch of readers and
writers (though it's not perfect).  I have hacked up an Orgmode
writer for it and it has been added to pandoc's master.  Some of you
may find it useful.

Also, my Haskell skills are pretty rudimentary (learnt it for this
sole purpose). Some love from the Haskell gurus, will do my code some
good.


Thanks,
Puneeth

___
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] Pandoc can now do Org

2010-12-05 Thread Jeff Horn
Nice! I looked at pandoc once but don't remember a lot about it. How
well does your importer handle math?

On Sun, Dec 5, 2010 at 2:16 PM, Puneeth puncha...@gmail.com wrote:
 Hi all,

 I've quite often felt the need for an importer to orgmode and so have
 others on the list.  I stumbled upon Pandoc, while I was trying to
 convert some formats.  It's pretty neat and has a bunch of readers and
 writers (though it's not perfect).  I have hacked up an Orgmode
 writer for it and it has been added to pandoc's master.  Some of you
 may find it useful.

 Also, my Haskell skills are pretty rudimentary (learnt it for this
 sole purpose). Some love from the Haskell gurus, will do my code some
 good.


 Thanks,
 Puneeth

 ___
 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




-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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] [OT] recutils

2010-12-05 Thread Jose E. Marchesi


On Sat, Dec 4, 2010 at 13:28, Jose E. Marchesi jema...@gnu.org wrote:
 But note that the relational characteristics in
 recutils are not very sophisticated.

 The rule here is: if you need something more complex then you probably
 should be using a real relational dbms instead :)

Ok, maybe I expected a bit too much for the initial version 1.0. But
is it already possible or planned to allow recsel deliver field values
from two tables, joined together with a foreign key or what does the
manual mean with the ability of records to refer to other records
(sort of foreign keys)?

Right now the recutils use the information of the foreign keys
(compound fields) just to pick the type of the field in the referenced
record descriptor.

For the next version it is planned to support joins in recsel.  For
example, having a database like:

  %rec: Hacker
  %key: Name

  Name: Mr. foo

  %rec: Package

  Name: GNU foo
  Hacker:Name: Mr. foo

  Name: GNU bar
  Hacker:Name: Mr. foo

It will be possible to invoke recsel like:

  $ recsel -t Hacker -p Name,Package:Name foo.rec
  Name: Mr. Foobar
  Package:Name: GNU foo

  Name: Mr. Foobar
  Package:Name: GNU bar

-- 
Jose E. Marchesijema...@gnu.org
GNU Project http://www.gnu.org

___
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] Working with =src= blocks :results header argument

2010-12-05 Thread Chris Malone
Hi,

I've been looking through the manual to get more familiar with Babel and
using source code in general.  Below is a simple example, which I'm not sure
is working as intended.

#+tblname:
example-table
| 1 | a
|
| 2 | b
|
| 3 | c
|
| 4 | d
|


#+begin_src emacs-lisp :var data=example-table[-3,1] :results value raw

data

#+end_src


Upon =C-c C-c= this produces the expected result:

#+results:

b

=C-c C-c= /again/, however, results in:

#+results:

b

b

In other words, the default results handling of =replace= appears to not
work with a =raw= results type.  I tried explicitly adding the handling via
a =:results value raw replace= header argument but again this didn't seem to
fix things.

Is this what is intended for the =raw= type of results - no replacement
effect at all - or is this a bug?

Chris
___
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] TYPO in manual for =:noweb= header argument

2010-12-05 Thread chris . m . malone

Hi,

In section 14.8.2.10 of the online manual [[  
http://orgmode.org/manual/noweb.html#noweb ] [here]] the third item in the  
list should begin with =tangle= instead of =yes=.


Chris
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Questions about org-capture templates and usage

2010-12-05 Thread Charles Cave
Alan lngndvs at gmail.com writes:

1. Eventually a tutorial will surely be available.  I haven't found
  one.   Useful tutorials for me would be 
 
   1. How to make general templates, and pitfalls.
   2. Advanced usages of org-capture: using functions, etc.  
   3. Common errors and causes

I am writing such a tutorial to explain date-trees and capture mode.
Capture mode is a great leap forward from remember.

I will publish this tutorial by the 12th of December.

My other org-mode, GTD and project planning tutorials
are at this page:

http://members.optusnet.com.au/~charles57/GTD/

Charles



___
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] TYPO in manual for =:noweb= header argument

2010-12-05 Thread Thomas S. Dye

Aloha Chris,

Thanks for pointing this out.  I believe that was fixed in the changes  
submitted by Brian Gough recently.  I'm not sure how long it will take  
Brian's changes to appear online.


All the best,
Tom

On Dec 5, 2010, at 11:40 AM, chris.m.mal...@gmail.com wrote:


Hi,

In section 14.8.2.10 of the online manual [[ http://orgmode.org/manual/noweb.html#noweb 
 ] [here]] the third item in the list should begin with =tangle=  
instead of =yes=.


Chris___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Working with =src= blocks :results header argument

2010-12-05 Thread Eric Schulte
Hi Chris,

This is the expected behavior for the raw results type.  This is because
there is no way to know where raw results begin or end so it wouldn't be
safe to remove them from the Org-mode file.  Take the following example.

#+begin_src emacs-lisp :results raw
  * just another heading
It probably wouldn't be wise to remove this text.
- is it the product of a code block or not?
- how would it be possible to tell programatically?
#+end_src

Best -- Eric

Chris Malone chris.m.mal...@gmail.com writes:

 Hi,

 I've been looking through the manual to get more familiar with Babel and
 using source code in general.  Below is a simple example, which I'm not sure
 is working as intended.

 #+tblname:
 example-table
 | 1 | a
 |
 | 2 | b
 |
 | 3 | c
 |
 | 4 | d
 |


 #+begin_src emacs-lisp :var data=example-table[-3,1] :results value raw

 data

 #+end_src


 Upon =C-c C-c= this produces the expected result:

 #+results:

 b

 =C-c C-c= /again/, however, results in:

 #+results:

 b

 b

 In other words, the default results handling of =replace= appears to not
 work with a =raw= results type.  I tried explicitly adding the handling via
 a =:results value raw replace= header argument but again this didn't seem to
 fix things.

 Is this what is intended for the =raw= type of results - no replacement
 effect at all - or is this a bug?

 Chris
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-mode Code Blocks Manuscript: Request For Comments

2010-12-05 Thread Christopher Allan Webber
Hey Eric!

I've greatly enjoyed reading this paper.

One comment: Figure 1 shows its first src block as type sh, but it's
clearly C (it's tangling to .c at the very least...)

Again, great and fun article!
 - cwebb

Eric Schulte schulte.e...@gmail.com writes:

 Hi,

 Dan Davison, Tom Dye, Carsten Dominik and myself have been working on a
 paper introducing Org-mode's code block functionality.  We plan to
 submit this paper to the Journal of Statistical Software.  As both
 Org-mode and the code block functionality are largely products of this
 mailing list community, and in the spirit of an open peer review process
 we are releasing the current draft of the paper here to solicit your
 review and comments.

 Both the .org and .pdf formats of the paper are available at the
 following locations.

 http://cs.unm.edu/~eschulte/org-paper/babel.org

 http://cs.unm.edu/~eschulte/org-paper/babel.pdf

 Thanks -- Eric

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Questions about org-capture templates and usage

2010-12-05 Thread Bernt Hansen
Matt Lundin m...@imapmail.org writes:

 Alan  lngn...@gmail.com writes:

3. I have had to modify my usage to accomodate to changes in
   org-capture, relative to org-remember. Some differences devolve
   from explicit design features

   1. It is no longer necessary to auto-save uncommitted items. As
  a consequence there seems (as I understand it) to no longer
  be a way to use a prefix key to allow one to visit the item
  in it's context AFTER committing it with C-c C-c.

   I have spend a good deal of time worrying over this, but
   haven't solved the problem.  Probably 90% of the times I save
   (C-c C-c) the Captured item, I stumble over how to find it
   again to enhance or review the item.

   *Is there a way to do this, or can we request a way to do this?*

 The function org-capture-goto-last-stored will take you the item. 

 You can bind this to a key.

 Or if you would like always to jump to a capture item after filing it,
 you can add a hook:

 (add-hook 'org-capture-after-finalize-hook
 'org-capture-goto-last-stored)

I visit newly captured items all the time.  If you capture something (I
have C-M-r bound to org-capture) and store it with C-c C-c you can visit
it immediately with a double prefix  C-u C-u C-M-r as stated in the
org-capture docstring:

,
| C-M-r runs the command org-capture, which is an interactive autoloaded
| Lisp function in `org-capture.el'.
| 
| It is bound to C-c r, C-M-r.
| 
| (org-capture optional GOTO KEYS)
| 
| Capture something.
| 
| Uses keymap org-capture-mode-map, which is not currently defined.
| 
| This will let you select a template from `org-capture-templates', and then
| file the newly captured information.  The text is immediately inserted
| at the target location, and an indirect buffer is shown where you can
| edit it.  Pressing M-x org-capture-finalize brings you back to the previous 
state
| of Emacs, so that you can continue your work.
| 
| When called interactively with a C-u prefix argument GOTO, don't capture
| anything, just go to the file/headline where the selected template
| stores its notes.  With a double prefix argument C-u C-u, go to the last note
 ^^
| stored.
  ^^
| 
| When called with a `C-0' (zero) prefix, insert a template at point.
| 
| Lisp programs can set KEYS to a string associated with a template in
| `org-capture-templates'.  In this case, interactive selection will be
| bypassed.
`

HTH,
Bernt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Two issues with :VISIBILITY: property

2010-12-05 Thread Matt Lundin
Cassio Koshikumo ckoshik...@gmail.com writes:

 I've just recently began using emacs and org-mode, and I'm already in
 love. So, first, let me thank and congratulate Mr. Dominik and
 everyone else involved.

Welcome! 

 The children property allows me to press C-u C-u TAB to show only
 the synopsis and the headlines inside the chapters -- which is exactly
 what I want.

 But here's the thing: if I decide to put Chapter 1 /after/ Chapter
 2, using M-Down or M-S-Down, it gets moved alright -- but the entire
 Chapter 1 subtree is expanded. I no longer see only the headlines
 inside it, but also the entire text inside them. Is this by design? If
 so, why? It seems to me that the :VISIBILITY: property should hold
 when moving trees around.

I cannot replicate this. When I move the headlines, they remain folded.

 That was the first issue. The second is:

 The :VISIBILITY: property seems to work only when it's applied to
 level 1 trees. For example, say I have this:

 * Part 1

 ** Chapter 1
   :PROPERTIES:
   :VISIBILITY: children
   :END:

   Synopsis for Chapter 1 goes here.

 *** Section 1 (Ch.1)
 The actual text for Section 1 of Chapter 1.

 ** Chapter 2
   :PROPERTIES:
   :VISIBILITY: children
   :END:

   Synopsis for Chapter 2 goes here.

 *** Section 1 (Ch.2)
 The actual text for Section 1 of Chapter 2.

 When I press C-u C-u TAB, only Chapter 1 gets expanded correctly
 (synopsis + headlines inside it). Chapter 2 stays completely folded
 (Chapter 2...), without any children or content shown -- effectively
 ignoring the children property, or acting as it was set to folded.
 I guess this wasn't supposed to happen, right?

Yes, this is a bug. Thanks for reporting it. 

It was introduced with commit 383802d063a9f2dd959d5574b226fa8ec7f8be41,
which caused the problem it intended to solve. See:

http://thread.gmane.org/gmane.emacs.orgmode/28159/focus=28442

The commit has org-mode process the headlines from bottom to top, which
means that any changes to the visibility of lower headlines are
overridden/modified by changes higher up. Reverting the change causes
VISIBILITY to work correctly.

I send a patch shortly.

Thanks,
Matt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Revert Fix :VISIBILITY: handling of nested folded properties

2010-12-05 Thread Matt Lundin
This reverts commit 383802d063a9f2dd959d5574b226fa8ec7f8be41.

The commit had org-mode process the headlines from bottom to top, which
meant that any changes to the visibility of lower headlines were
overridden/modified by changes higher up the tree. Reverting the commit
causes VISIBILITY to work correctly.
---
 lisp/org.el |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 66514a2..4b39c9c 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6073,8 +6073,8 @@ With a numeric prefix, show all headlines up to that 
level.
   (interactive)
   (let (org-show-entry-below state)
 (save-excursion
-  (goto-char (point-max))
-  (while (re-search-backward
+  (goto-char (point-min))
+  (while (re-search-forward
  ^[ \t]*:VISIBILITY:[ \t]+\\([a-z]+\\)
  nil t)
(setq state (match-string 1))
-- 
1.7.3.2


___
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] Pandoc can now do Org

2010-12-05 Thread Puneeth
Hi Jeff,

On Mon, Dec 6, 2010 at 12:54 AM, Jeff Horn jrhorn...@gmail.com wrote:
 Nice! I looked at pandoc once but don't remember a lot about it. How
 well does your importer handle math?


The LaTeX reader (and therefore the Orgmode writer) of pandoc does
math pretty well. You may want to try it, to see if it fits your
needs.

But some other things are broken and need to be fixed. It doesn't seem
to have table support, as of now. Also, it seems to parse some
environments incorrectly as quote environments. I didn't look at the
source, so I do not know for sure.

--
Puneeth

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Questions about org-capture templates and usage

2010-12-05 Thread Alan E. Davis
I am at much greater ease due to these two messages.  They solve several of
my befuddlements about capture.

On Mon, Dec 6, 2010 at 1:59 PM, Bernt Hansen be...@norang.ca wrote:

 I visit newly captured items all the time.  If you capture something (I
 have C-M-r bound to org-capture) and store it with C-c C-c you can visit
 it immediately with a double prefix  C-u C-u C-M-r as stated in the
 org-capture docstring:


This is exactly what I was looking for in the manual.  In fact, I think my
comment about the manual was partly a response to being unable to find this
item in the   manual, when I know I had seen reference to it somewhere.
Maybe in my request for items to be included in the manual, the docstrings
in org-capture.el would be scanned.  I missed this on my cursory search of
that file.  I will search for it myself, and work on (believe it or not)
org-help.org, that I use as a helpmate.

I have org-capture assigned to C-c, so C-u C-u C-c c goes straight to the
last stored item.  Perfect.


 |
 | (org-capture optional GOTO KEYS)
 |

I THINK I understand that GOTO here refers to the prefix C-u ?  And C-u C-u
circumvents this?


 | When called interactively with a C-u prefix argument GOTO, don't capture
 | anything, just go to the file/headline where the selected template
 | stores its notes.  With a double prefix argument C-u C-u, go to the last
 note

 ^^
 | stored.
  ^^


This is it! What I was looking for.

I think, thought it may seem crazy, I would like to still have a way to
specify in the template that one would remain with the newly captured item
in its environment, after finalizing.   Just the same, thinking about that
it's an indirect buffer, it makes more sense how it works now...

Awe, heck, these two methods solve my problem well enough...

|
 | When called with a `C-0' (zero) prefix, insert a template at point.
 |


This is a great feature...


 | Lisp programs can set KEYS to a string associated with a template in
 | `org-capture-templates'.  In this case, interactive selection will be
 | bypassed.
 `


This is something I'd like to see an example of.

Thank you again, and again,

Alan Davis

 Pollution is nothing but the resources we are not harvesting. We allow
 them to disperse because we've been ignorant of their value.

--- R. Buckminster Fuller

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] org-velocity templates

2010-12-05 Thread Paul M. Rodriguez

This patch allows full customization of org-remember or org-capture
templates for use with org-velocity.

Paul Rodriguez.

diff --git a/contrib/lisp/org-velocity.el b/contrib/lisp/org-velocity.el
index 2a1f41b..b3d4006 100644
--- a/contrib/lisp/org-velocity.el
+++ b/contrib/lisp/org-velocity.el
@@ -4,7 +4,7 @@
 
 ;; Author: Paul M. Rodriguez paulmrodrig...@gmail.com
 ;; Created: 2010-05-05
-;; Version: 2.2
+;; Version: 2.3
 
 ;; This file is not part of GNU Emacs.
 
@@ -64,8 +64,8 @@
 ;; preferring `org-capture'.  Otherwise the user is simply taken to a
 ;; new heading at the end of the file.
 
-;; Thanks to Richard Riley, Carsten Dominik, and Bastien Guerry for
-;; their suggestions.
+;; Thanks to Richard Riley, Carsten Dominik, Bastien Guerry, and Jeff
+;; Horn for their suggestions.
 
 ;;; Usage:
 ;; (require 'org-velocity)
@@ -125,6 +125,32 @@
   :group 'org-velocity
   :type 'boolean)
 
+(defcustom org-velocity-remember-templates
+  '((Velocity entry
+ ?v
+ * %:search\n\n%i%?
+ nil
+ bottom))
+  Use these templates with `org-remember'.
+Meanwhile `org-default-notes-file' is bound to `org-velocity-use-file'.
+The keyword :search inserts the current search.
+See the documentation for `org-remember-templates'.
+  :group 'org-velocity
+  :type (or (get 'org-remember-templates 'custom-type) 'list))
+
+(defcustom org-velocity-capture-templates
+  '((v
+ Velocity entry
+ entry
+ (file )
+ * %:search\n\n%i%?))
+  Use these template with `org-capture'.
+Meanwhile `org-default-notes-file' is bound to `org-velocity-use-file'.
+The keyword :search inserts the current search.
+See the documentation for `org-capture-templates'.
+  :group 'org-velocity
+  :type (or (get 'org-capture-templates 'custom-type) 'list))
+
 (defstruct (org-velocity-heading
 	(:constructor org-velocity-make-heading)
 	(:type list))
@@ -139,23 +165,39 @@
 	  (number-sequence 65 90)))	;uppercase letters
   List of chars for indexing results.)
 
+(defconst org-velocity-display-buffer-name *Velocity headings*)
+
+(defvar org-velocity-search nil
+  Variable to bind to current search.)
+
+(defsubst org-velocity-buffer-file-name (optional buffer)
+  Return the name of the file BUFFER saves to.
+Same as function `buffer-file-name' unless BUFFER is an
+indirect buffer.
+  (buffer-file-name
+   (or (buffer-base-buffer buffer)
+   buffer)))
+
 (defun org-velocity-use-file ()
   Return the proper file for Org-Velocity to search.
 If `org-velocity-always-use-bucket' is t, use bucket file; complain
 if missing.  Otherwise if this is an Org file, use it.
-  (let ((org-velocity-bucket
-	 (and org-velocity-bucket (expand-file-name org-velocity-bucket
-(if org-velocity-always-use-bucket
-	(or org-velocity-bucket (error Bucket required but not defined))
-  (if (and (eq major-mode 'org-mode)
-	   (buffer-file-name))
-	  (buffer-file-name)
-	(or org-velocity-bucket
-	(error No bucket and not an Org file))
+  (or
+   ;; In remember and capture buffers the target should be used.
+   (and org-remember-mode org-default-notes-file)
+   (let ((org-velocity-bucket
+	  (and org-velocity-bucket (expand-file-name org-velocity-bucket
+ (if org-velocity-always-use-bucket
+	 (or org-velocity-bucket (error Bucket required but not defined))
+   (if (and (eq major-mode 'org-mode)
+		(org-velocity-buffer-file-name))
+	   (org-velocity-buffer-file-name)
+	 (or org-velocity-bucket
+	 (error No bucket and not an Org file)))
 
 (defsubst org-velocity-display-buffer ()
   Return the proper buffer for Org-Velocity to display in.
-  (get-buffer-create *Velocity headings*))
+  (get-buffer-create org-velocity-display-buffer-name))
 
 (defsubst org-velocity-bucket-buffer ()
   Return proper buffer for bucket operations.
@@ -232,29 +274,18 @@ If there is no last heading, return nil.
 'action action))
   (newline))
 
-(defun org-velocity-remember (heading optional region)
-  Use `org-remember' to record a note to HEADING.
-If there is a REGION that will be inserted.
+(defun org-velocity-remember ()
+  Use `org-remember' to record a note.
   (let ((org-remember-templates
-	 (list (list
-		Velocity entry
-		?v
-		(format * %s\n\n%%?%s heading (or region ))
-		(org-velocity-use-file)
-		'bottom
-(org-remember nil ?v)))
-
-(defun org-velocity-capture (heading optional region)
-  Use `org-capture' to record a note to HEADING.
-If there is a REGION that will be inserted.
+	 org-velocity-remember-templates))
+(call-interactively 'org-remember)))
+
+(defun org-velocity-capture ()
+  Use `org-capture' to record a note.
   (let ((org-capture-templates
-	 (list `(v
-		 Velocity entry
-		 entry
-		 (file ,(org-velocity-use-file))
-		 ,(format * %s\n\n%%?%s heading (or region ))
+	 org-velocity-capture-templates))
 (if (fboundp 'org-capture) ;; quiet compiler
- (org-capture nil v
+	(call-interactively 'org-capture
 
 (defun org-velocity-insert-heading (heading)
   Add a new 

[Orgmode] Including current time in agenda

2010-12-05 Thread suvayu ali
Hi,

I have been attempting this for a few days now. I want to have an
entry for the current time in today's agenda. That way I can keep
track of how much time I have left until my next appointment.

So far what ever I try, it shows up as an entry without a timestamp as
shown below.

Monday  6 December 2010 W49
   8:00.. 
  10:00.. 
  12:00.. 
  14:00.. 
  thoughts:   15:30-17:30 W' meeting
  16:00.. 
  18:00.. 
  20:00.. 
  thoughts:   Currrent time
  thoughts:   TODO Hostel Room Change


So far my attempts have been some variation of `%%(format-time-string
%H%M)'  or `%%(diary-entry-time ...)'. Am I approaching this the
wrong way? Is this not supported by the diary library?

Thanks for any thoughts/suggestions.

-- 
Suvayu

Open source is the future. It sets us free.

___
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] Cool Clockreport in 7.3

2010-12-05 Thread Nathan Neff
Much easier to read, and I love the nesting/indenting of
sub-headings.

http://nateneff.com/org-mode-clockreport-rules.html

--Nate

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Table export to HTML, column alignment

2010-12-05 Thread Saptarshi Guha
Hello,

I would like to align a 2 column table with the left and right columns
left and right justified.
Having read [1], I tried

#+ATTR_HTML:  rules=all frame=none border=0
|+--|
| l|  r |
| daldladldlaksdlakjdlasjdlajksd | asdasdasSun Dec 05 13:09:05 PST 2010 |
| dasdasdasdasdaededeadaed   | Sun Dec 05 13:10:17 PST 2010 |
| asdasdasdasdas | Sun Dec 05 13:11:07 PST 2010 |
| dasdaedaededaeda   | Sun Dec 05 13:13:55 PST 2010 |
|+--|
||  |

And ran into this issue

1) It works in org-mode but the exported table still has left align
for both columns

Is there a CSS way (using id/classes) to get around the above?

Many thanks
Joy

org-version

release_7.3-199-gdf4b7
Org-mode version 7.3 (release_7.3.199.gdf4b7.dirty)









[1] http://orgmode.org/manual/Column-width-and-alignment.html

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Pass ahref in ATTR_HTML?

2010-12-05 Thread Saptarshi Guha
Hello,

One more question, the following did work in 6.33, I upgraded to 7.3
and now the a href is not parsed and
the entire text appears

#+CAPTION: Image obtained via FFound and Tumblr. Access it
#+CAPTION: a 
href='http://community.livejournal.com/laceandflora/1781082.html?style=mine'here/a
#+ATTR_HTML: alt=windmill sans haircut title=From tumblr class=bordered
[[./img/out-1.jpg]]


Something I've missed here?

Regard
Joy

___
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