Re: [O] org-edit-file ?

2011-07-21 Thread Sebastian Rose
Dov Grobgeld writes: > I'm not sure that emacs is the best tool to e.g. generate a template png > file of a given size and given background, or a svg file. I still don't feel > that any of the proposed solutions solves the file:foo.svg edit scenario, > where foo.svg does not exist yet. Also I woul

Re: [Orgmode] Re: Sending org buffer as mail?

2010-12-16 Thread Sebastian Rose
Rainer M Krug writes: > OK - I asked on the emacs help list, and got a response. I added the > followig to my emacs.org: > > * Add message hook to include selected text as body > Thanks to Deniz Dogan > #+begin_src emacs-lisp > (add-hook 'message-mode-hook > (lambda () >

Re: [Orgmode] Re: Sending org buffer as mail?

2010-12-16 Thread Sebastian Rose
Rainer M Krug writes: > * Add message hook to include selected text as body > Thanks to Deniz Dogan > #+begin_src emacs-lisp > (add-hook 'message-mode-hook > (lambda () > (let (text) > (with-current-buffer (other-buffer) > (when (region

Re: [Orgmode] Can I change the link name in TOC?

2010-11-09 Thread Sebastian Rose
Water Lin writes: > While I generate the table of content of my org file, the link of each > sub-title will be something like #sec-2.2 > > But when I change the sequence of the title, the anchor will be changed. > > I want to maintain permalinks for each anchors. Is it possbile to change > the #se

Re: [Orgmode] Using macros in worg

2010-11-03 Thread Sebastian Rose
Benny Simonsen writes: >> there's no special setup needed. > > I had an old org-mode, after upgrade the macros are expanded :) > > I would like to auto-publish the web page when I push to the central server. You might be interested in this document: http://orgmode.org/worg/worg-setup.php an

Re: [Orgmode] Using macros in worg

2010-11-03 Thread Sebastian Rose
Benny Simonsen writes: > Hi > > I would like to use org-mode + git to generate a web page. I would > also like to use the "#+MACRO: " directives as defined in Worg > /macrs.setupfile. > > I have downloaded cloned the git repository for Worg > (git clone http://repo.or.cz/r/Worg.git) for an example

Re: [Orgmode] no line break after subheading?

2010-10-26 Thread Sebastian Rose
Matt Price writes: > Hi eveyrone, > > I'm coming up on this with some frequency now -- I often need to write > documents in a pretty compact format, in which subheadings really need to be > on the same line as their component text. so for instance here: > > ** Timeline > *** September 2011 > Rese

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-25 Thread Sebastian Rose
Christian Moe writes: > Maybe someone with a browser where colgroups actually do work (Opera!) can > check > > 1. if they only work with the align attribute, and not with CSS, and > > 2. whether they still work (take precedence) now that the individual cells are > aligned with CSS for their class

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-25 Thread Sebastian Rose
Carsten Dominik writes: > OK, I will use class. I could make a special case for the docbook > exporter.. +1 >> Having to set /anything/ on each cell just to align a column is not optimal >> either, but since some browsers don't honor colgroups, it's the most robust >> way. How refer to

Re: [Orgmode] Lines starting with a star not interpreted as a headline ?

2010-10-23 Thread Sebastian Rose
Frederic Couchet writes: > Hello, > > Is it possible to configure drawers so that lines starting with a star > are not interpreted as a headline ? > > I like to store in drawers useful text, for example excerpt from > emails. But, if the text contains for example lines like : > > * blabla > > the

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-23 Thread Sebastian Rose
Carsten Dominik writes: > I have now in the default style: > > td, th { vertical-align: top; } > th.right { text-align:right; } > th.left { text-align:left; } > th.center { text-align:center; } > td.right { text-align:right; } > td.left { text-align:left; } > td.center {

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-23 Thread Sebastian Rose
Carsten Dominik writes: >> How about this (line-wrapped for readability): >> >> >> >> 1 >> bar >> text >> >> >> instead of >> >> >> 1 >> bar >> text >> >> >> ?? >> >> >> Combined with the ways to add IDs and classes to tables, we could then style >> the >> columns better. >> >> I would l

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-23 Thread Sebastian Rose
Carsten Dominik writes: >> OK, found it. It was in my .emacs which I didn't use for ages... >> >> But: >> >> > /> >> >> must be: >> >> > /> >> >> >> i.e. "" and "" have to occur only once each and >> wrap the "" definitions. >> >> The after each "" happens only for the second >> table. > > Hi

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-22 Thread Sebastian Rose
Carsten Dominik writes: > On Oct 22, 2010, at 3:59 PM, Sebastian Rose wrote: > >> Carsten Dominik writes: >>> Hi Sebastian, >>> >>> my guess would be that you have customized the td and th tags? If yes, >>> please >>> reset the custom

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-22 Thread Sebastian Rose
Carsten Dominik writes: > On Oct 22, 2010, at 3:59 PM, Sebastian Rose wrote: > >> Carsten Dominik writes: >>> Hi Sebastian, >>> >>> my guess would be that you have customized the td and th tags? If yes, >>> please >>> reset the custom

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-22 Thread Sebastian Rose
Carsten Dominik writes: > Hi Sebastian, > > my guess would be that you have customized the td and th tags? If yes, please > reset the customization, you need the new default values (which you then can > still modify). > > Please check the variables org-export-table-header-tags and > org-export-t

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-22 Thread Sebastian Rose
Carsten Dominik writes: >> | | | | >> | A | B | C | >> | 1 | 2 | 3 | >> | 12 | 13 | 300 | >> | 9 | 11 | 4 | > > I have now fixed this issue, at least for the HTML exporter. > > 1. The HTML exporter now puts a style attribute onto each >individual field to make sure the fi

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-21 Thread Sebastian Rose
Sebastian Rose writes: > Carsten Dominik writes: >> On Oct 21, 2010, at 9:36 AM, Christian Moe wrote: >> >>> On 10/21/10 2:25 AM, Sebastian Rose wrote: >>> (...) >>>>> >>>>> | | | | >>>>> | A | B | C

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-21 Thread Sebastian Rose
Carsten Dominik writes: > On Oct 21, 2010, at 9:36 AM, Christian Moe wrote: > >> On 10/21/10 2:25 AM, Sebastian Rose wrote: >> (...) >>>> >>>> | | | | >>>> | A | B | C | >>>> | 1 | 2 | 3 | >>>> | 12 | 1

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-20 Thread Sebastian Rose
Bernt Hansen writes: > Jeff Horn writes: > >> Is there a way to specify a particular column in org-mode that will be >> exported right-aligned in HTML? >> >> | A | B | C | >> | 1 | 2 | 3 | >> >> For the table above, I would like column C right aligned when I export >> to HTML, but the other colum

Re: [Orgmode] Publishing htaccess files with a project

2010-10-20 Thread Sebastian Rose
Jeff Horn writes: >> The problem is, that `org-publish-get-base-files' seems to put basenames >> into `org-publish-temp-files' instead of absolute paths. > > Ah. Thanks for the info. That makes sense. > >> I'm currently working on it  (probably my fault anyway). > > I really appreciate your help,

Re: [Orgmode] Publishing htaccess files with a project

2010-10-20 Thread Sebastian Rose
Jeff Horn writes: > We had a bit of a discussion off list, but I still haven't been able > to get the behavior I am after. See below. > > > When I make the change as you have suggested above, I get the original > file not found error. > > From the *Messages* buffer: >

Re: [Orgmode] Babel for blogging

2010-10-18 Thread Sebastian Rose
Manuel Giraud writes: > Eric S Fraga writes: > >> On Fri, 15 Oct 2010 11:07:05 -0600, "Eric Schulte" >> wrote: >>> >>> Hi Manuel, >>> >>> The following works for me, it creates an index of all files in the same >>> directory as the Org-mode file. >>> >>> --8<---cut here--

Re: [Orgmode] Re: Publishing bug: FOOTNOTE DEFINITION NOT FOUND: 0

2010-10-17 Thread Sebastian Rose
"Erik L. Arneson" writes: > On Sun, 17 Oct 2010, Erik L. Arneson wrote: >> I'm running into a very strange bug when publishing to HTML. Even when >> a page contains no footnotes, a footnote section is added with one >> footnote an the text "FOOTNOTE DEFINITION NOT FOUND: 0". > > I am, by the way,

Re: [Orgmode] Tiny piece of customization for ctrl-c ctrl-c within a timestamp

2010-10-16 Thread Sebastian Rose
Marc-Oliver Ihm writes: > Hello ! > > > I sometimes find myself adjusting timestamps just by editing its text; > e.g. changing <2010-10-16 Su> to <2011-10-16 Su>. However after that > editing, the day of week is usually wrong (or might be right, I just > dont know). Hi Marc-Oliver, http://orgm

Re: [Orgmode] Applying inline styles to a section for exported HTML

2010-10-16 Thread Sebastian Rose
Jeff Horn writes: > I'm aware we can define #+ATTR_HTML: for styling of divs containing > images and tables. Is there similar functionality for section divs? > Simply adding the required option below or above the section didn't do > the trick. > > Since section divs aren't named semantically[1], I

Re: [Orgmode] Publishing htaccess files with a project

2010-10-16 Thread Sebastian Rose
Jeff Horn writes: > Hi orgsters, > > I'm wondering how I should publish .htaccess files? My current setup > is a source directory under ~/org/, which is kept at Dropbox, and a > publishing directory under ~/Sites/, which is not. Since data loss is > pyschologically crippling, I like to keep *all*

Re: [Orgmode] Elementary: How to return to the main view

2010-10-14 Thread Sebastian Rose
Umesh P N writes: > Hi, > > From the main view, if I click on a tag, org-mode will show only items with > that tag. How to go back to the main view? > > Is the information I see when I click on a tag a sparse tree? If so, how to > return from a sparse tree to the main view? Press `q' No idea

Re: [Orgmode] Re: Testing --- again...

2010-10-04 Thread Sebastian Rose
"Eric Schulte" writes: > Hi, > > So, I've been using the framework in the combined-testing branch this > morning writing tests to strap down my daily Babel bug fixes, and I'm > really liking ERT. > > I wonder, can we commit to the combined-testing branch, and if so could > we fold it into the mast

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Sebastian Rose
Sorry for not following this thread closely. But from what I read, I thought it might be better to have a _command_ to sort existing lists alphabetically? That way, there is nothing that has to be "turned on" globally, that could intefere with Org mode's syntax. Excuse me, if that's of topic o

Re: [Orgmode] Re: Testing --- again...

2010-10-03 Thread Sebastian Rose
le whatever needs we identify > during the course of writing the tests. How would you feel about using > this as the new base of test development? > > Best -- Eric > > also I have some inline comments below Hi Eric, that's good news! > Sebastian Rose writes: >> What

Re: [Orgmode] non-frame text in beamer export

2010-10-03 Thread Sebastian Rose
Neil Hepburn writes: > Greetings > > I have recently started using org-mode to generate Beamer > presentations for lecture notes. I always create lecture note > printouts for my students using the beamerarticle package. I like to > put additional explanatory material into these notes that don't sh

Re: [Orgmode] How to modify org-export-latex-emphasis-alist

2010-10-03 Thread Sebastian Rose
"Thomas S. Dye" writes: > Aloha all, > > I use this patch locally to let the LaTeX url package typeset and break lines > in > long path names. Is there a way to make this change from my .emacs, so I can > continue to use the Org-mode master branch and not my url branch? Or, is > there > a be

Re: [Orgmode] Re: Testing --- again...

2010-10-03 Thread Sebastian Rose
"Eric Schulte" writes: > "Eric Schulte" writes: > To illustrate my suggestions, I've thrown together a couple simple Babel > tests roughly following this outline, currently up in the > `schulte-testing' branch of the Org-mode repo. > > To try it out > 1) load the testing/org-test.el file > 2) run

Re: [Orgmode] Re: Testing --- again...

2010-10-02 Thread Sebastian Rose
"Eric Schulte" writes: > Hi Sebastian, > > Sebastian Rose writes: > >> "Eric Schulte" writes: >>> Hi, >>> >>> This is exciting. >>> >>> Rather than impose a complete directory/layout schema before-hand I'd

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-02 Thread Sebastian Rose
"Eric Schulte" writes: > Hi Puneeth, > > I believe that export is only allowed from buffers visiting files, when > I tried to reproduce your problem exporting from a buffer without a file > name I get the following error message > > (error "Need a file name to be able to export") > > which is th

Re: [Orgmode] Re: Testing --- again...

2010-10-02 Thread Sebastian Rose
ts >> to start one, and each of these lead to nothing. So I would >> be perfectly happy to give a free hand, write access to the repo >> and a full directory in the distribution to implement one. >> Once there is a framework, I am sure many people would be >> willing t

[Orgmode] Re: Testing --- again...

2010-10-02 Thread Sebastian Rose
Carsten Dominik writes: > It would be OK to have a lisp subdirectory in testing, > just as it would be OK to have contrib/lisp in testing > for the contributed packages. That's what it is like. You probably did not notice, because "org-test.el" is supposed to live inside "testing/", so it's not

[Orgmode] Re: Testing --- again...

2010-10-02 Thread Sebastian Rose
it _dead simple to right and execute tests_. > > More comments below. > > On Oct 2, 2010, at 5:51 AM, Sebastian Rose wrote: > >> Hi, >> >> >> I thought about testing again recently. This is something, that never >> really got started. For a reason

[Orgmode] Testing --- again...

2010-10-01 Thread Sebastian Rose
Hi, I thought about testing again recently. This is something, that never really got started. For a reason: there's no framework for testing. I therefore wrote a very rough proposal, found on http://github.com/SebastianRose/org-test The idea is, to provide two simple commands: * org-t

Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-30 Thread Sebastian Rose
Carsten Dominik writes: > Hi Sebastian, > > I believe I have fixed the bug. But please note that there is a > typo in your function osm-org-link-export, in the last line it > must be target, not taget. > > HTH > > - Carsten Hi Carsten, it's fixed indeed! Thanks a bunch! Sebastian __

Re: [Orgmode] Org-protocol / Chrome on Linux

2010-09-30 Thread Sebastian Rose
Sebastian Rose writes: > Mattias Jämting writes: >> Yes i'm running a pretty standard Ubuntu 10.04 setup. >> >> I managed to get it working on chrome by removing the >> encodeURIComponent command on location.href. >> >> I could simulate it in the ter

Re: [Orgmode] Org-protocol / Chrome on Linux

2010-09-30 Thread Sebastian Rose
Mattias Jämting writes: > Yes i'm running a pretty standard Ubuntu 10.04 setup. > > I managed to get it working on chrome by removing the > encodeURIComponent command on location.href. > > I could simulate it in the terminal like this. > > matt...@helium:~$ xdg-open org-protocol://capture://http%3

Re: [Orgmode] Toolbar buttons for common actions (helping emacs newbees)

2010-09-29 Thread Sebastian Rose
Richard Moreland writes: > Hi Olivier, > > The icons I have been using in MobileOrg are from Glyphish[1]. I > don't know how they would look in a toolbar, but they are nice and > simple. I also checked out icons from the Tango Project[2]. > > Hope this helps, > Richard > > [1] http://glyphish.c

Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-29 Thread Sebastian Rose
application/emacs-lisp > On Sep 6, 2010, at 3:13 PM, Sebastian Rose wrote: >> Org file: >> * Test links >> >> [[track:((9.707032442092896 52.37033874553582))test.svg][test-track]] >> >> >> ASCII-export: >> 1 Test links >>

Re: [Orgmode] ELPA

2010-09-28 Thread Sebastian Rose
"Eric Schulte" writes: > I would think that it only makes sense to have one Org-mode package in > ELPA, namely the bleeding edge git version of Org-mode. ELPA serves as > a way to distribute packages which are not (or can't be) part of Emacs, package.el in emacs-24 lists Org-mode as "built-in".

Re: [Orgmode] Re: Org-mode screencasts

2010-09-28 Thread Sebastian Rose
Richard Riley writes: > Unfortunately neither istanbul nor recordmydesktop work properly on my > twinview desktop : both are very very slow and flickery. > > What is the current concensus for screencasting with Linux : hopefully > with some sort of ability to show the keys pressed and an easy way

Re: [Orgmode] Re: ditaa set-up on windows box

2010-09-27 Thread Sebastian Rose
Markus Heller writes: > Sebastian Rose writes: > >> Markus Heller writes: >>> C:\Documents and Settings\mheller>java -jar C:\Documents and >>> Settings\mheller\.e >>> macs.d\org-mode\contrib\scripts\ditaa.jar --help >>> Exception in thread &

Re: [Orgmode] Re: ditaa set-up on windows box

2010-09-27 Thread Sebastian Rose
Markus Heller writes: > C:\Documents and Settings\mheller>java -jar C:\Documents and > Settings\mheller\.e > macs.d\org-mode\contrib\scripts\ditaa.jar --help > Exception in thread "main" java.util.zip.ZipException: The system cannot find > th > e file specified > at java.util.zip.ZipFile

Re: [Orgmode] Re: ditaa set-up on windows box

2010-09-27 Thread Sebastian Rose
>> does `org-ditaa-jar-path' have the correct value? >> You can find out this way: >> >> M-: org-ditaa-jar-path RET > > Yes, it does. > >> Can you execute >> >>java -jar c:\path\to\ditaa.jar --help >> >> on the command line using the value of that variable? > > Doing this gives the follow

Re: [Orgmode] org-footnote in messages, practical question.

2010-09-27 Thread Sebastian Rose
Łukasz Stelmach writes: > Hi. > > I am thinking about deploying org-footnote in message-mode. I'd like to > use it for URLs most and I'd like to ask you a question. Where would you > like to see the footnotes sections in my messages ;-) below or above the > signature. Please consider that if they

Re: [Orgmode] Testing code

2010-09-27 Thread Sebastian Rose
Sebastian Rose writes: > I'd like to write a few simple tests for the modified hex-decoding > functions I wrote for org-protocol.el. > These functions and the patch is easier to understand and maintain if > there are some simple tests, I guess. > > Could we have a short

Re: [Orgmode] Re: [PROPOSAL] Quick and easy installation instructions

2010-09-27 Thread Sebastian Rose
Dan Davison writes: > Sebastian Rose writes: > >> Carsten Dominik writes: >>>>> org-install would figure out where org.el is, add to .emacs and query >>>>> for compilation. This wouod make things independent from make and >>>>> other to

[Orgmode] Testing code

2010-09-27 Thread Sebastian Rose
Hi, I'd like to write a few simple tests for the modified hex-decoding functions I wrote for org-protocol.el. These functions and the patch is easier to understand and maintain if there are some simple tests, I guess. Could we have a short introduction in writing tests on Worg (or is it there)?

Re: [Orgmode] Re: [PROPOSAL] Quick and easy installation instructions

2010-09-27 Thread Sebastian Rose
would it make >> sense to have emacs do everything, including the download? > > This rings a bell - I think Sebastian Rose implemented that already. Let > search! It's in contrib/lisp/org-track.el. But as Org mode is on ELPA already, M-x package-list-packages and this kind of p

Re: [PATCH] Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-27 Thread Sebastian Rose
David Maus writes: >> Also I guess the decoding is secure. Means we could change the >> comment of this function: > >> (defun org-protocol-unhex-compound (hex) >> "Unhexify unicode hex-chars. E.g. `%C3%B6' is the German Umlaut `ö'. >> Note: this function falls back on single byte decoding if a

Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-26 Thread Sebastian Rose
Also I guess the decoding is secure. Means we could change the comment of this function: (defun org-protocol-unhex-compound (hex) "Unhexify unicode hex-chars. E.g. `%C3%B6' is the German Umlaut `ö'. Note: this function falls back on single byte decoding if a character sequence is not valid utf

Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-26 Thread Sebastian Rose
rrrggrgrggrgr premature and wrong patch, sorry. Again against master: diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el index 21f28e7..d69d584 100644 --- a/lisp/org-protocol.el +++ b/lisp/org-protocol.el @@ -305,7 +305,7 @@ part." (defun org-protocol-unhex-string(str) "Unhe

Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-26 Thread Sebastian Rose
David Maus writes: > Sebastian Rose wrote: >>David Maus writes: >>>> sh$ man utf-8 >>> >>> Thanks! I finally get a grip on one of my personal nightmares. > > >>It's not that bad, is it? :D > > Even better: It makes sense ;) &g

Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-26 Thread Sebastian Rose
>>The binary representation of 127 is 0111 and valid ascii char. DEL >>actually (sh$ man ascii) > > Right, and that's why it is encoded: No control characters in a URI. Great ! :) > The final algorithm for the shiny new unicode aware percent encoding > function would be: > > - percent enco

Re: [Orgmode] compiling org without make

2010-09-26 Thread Sebastian Rose
Hi Gez, "Gez" writes: > 1. How I find out which version of orgmode I have? I'm assuming from > http://orgmode.org/ that it's 6.21b, but is there a way of confirming > this? M-x org-version > 2. Do I need to compile at all? At least in order to get started > learning and using it? No. I n

Re: [Orgmode] ditaa set-up on windows box

2010-09-25 Thread Sebastian Rose
Markus Heller writes: > Hello everyone, > > this might be a little OT, but I'm having a hard time to get ditaa to > run properly. The org-mode part works, it's the Java part that's giving > me trouble, I'm getting loads of "Exception in thread "main" > java.lang.misc stuff goes here" errors, and

Re: [Orgmode] Re: orgmode as a reference system: Storing private/sensitive information and syncing across devices.

2010-09-24 Thread Sebastian Rose
Paul Sexton writes: > Check out: http://ccrypt.sourceforge.net/ > > There is an emacs package provided, ps-ccrypt.el, which provides seamless > loading & saving of encryted files. I have been using it with my org agenda > file for several months with no problems. > > Paul Emacs comes with ever

Re: [Orgmode] Re: Yet another way to use maps --- the light way

2010-09-23 Thread Sebastian Rose
Memnon Anon writes: > Hi, > > Sebastian Rose writes: > >> there is a light and easy way to use google and openstreetmap.org maps >> if you define them as a custom link type: >> >> (setq org-link-abbrev-alist >> '(("gmap" >

Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-23 Thread Sebastian Rose
David Maus writes: >> sh$ man utf-8 > > Thanks! I finally get a grip on one of my personal nightmares. It's not that bad, is it? :D > The > attached patch is the first step in this direction: It modifies the > algorithm of `org-link-escape', now iterating over the input string > with `mapco

Re: [Orgmode] Org-mode screencasts

2010-09-23 Thread Sebastian Rose
Hi Richard, great idea. There are some screencasts around that could serve as a basis. I'd gladly rework my two little screencasts about org-protocol: http://www.youtube.com/watch?v=h7Z2PiAcgh8 http://www.youtube.com/watch?v=G2xjwxEj-c8 I used Wink[1] to create those screnncasts. But I guess

[Orgmode] Yet another way to use maps --- the light way

2010-09-23 Thread Sebastian Rose
Hi, there is a light and easy way to use google and openstreetmap.org maps if you define them as a custom link type: (setq org-link-abbrev-alist '(("gmap" . "http://maps.google.com/maps?q=%s";) ("omap" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1";))) Now [[

Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-22 Thread Sebastian Rose
David Maus writes: > Sebastian Rose wrote: >>Is there a reason for this distinction between multibyte and unibyte? >>I favour the "shotgun-approach" if not. It's bullet-proof. > >>The JavaScript function `encodeURIComponent()' encodes the German Umlaut

Re: [Orgmode] Re: orgmode as a reference system: Storing private/sensitive information and syncing across devices.

2010-09-20 Thread Sebastian Rose
Marcelo de Moraes Serpa writes: > Hmm, never heard about it :) > > But I assume that -- at least in terms of network security -- having > the WebDav server below a HTTPS layer is enough. This would at least > put a layer of security for when I'm syncing between devices (in this > case OSX<->WebDav

Re: [Orgmode] exporting to a specified directory

2010-09-20 Thread Sebastian Rose
Bastien writes: > Hi Erik, > > Erik Iverson writes: > >> Can you set some option in an org-mode buffer telling the >> exporter to write the HTML and PDF versions of the document >> in a specific directory? I know the publishing mechanism >> does this, just wondering if there is a simple variable

Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-20 Thread Sebastian Rose
David Maus writes: > Sébastien Vauban wrote: >>Hello, > >>With current git pull, and such an Org file (in UTF-8 encoding): > >> ... > >>I get the following error when trying to export it via PDFLaTeX: > > The problem is, that the 'É' character is not in Org's default list > for link escapes but `s

Re: [Orgmode] Re: How can I get document metadata?

2010-09-19 Thread Sebastian Rose
Aidan Gauland writes: > Sebastian Rose gmx.de> writes: >> This is awkward to use: >> >> (org-parse-local-options >> (org-get-local-options) >> 'org-export-headline-levels) >> >> Is that function still in use? >> >> `grep

Re: [Orgmode] How can I get document metadata?

2010-09-19 Thread Sebastian Rose
Sebastian Rose writes: > Aidan Gauland writes: >> Is there an org function to get the title, author, etc. of an org document? >> >> --Aidan > > How about > > C-h f org-parse-local-options > > > BTW: > > C-h f org-par TAB TAB > > is your fri

Re: [Orgmode] How can I get document metadata?

2010-09-19 Thread Sebastian Rose
Aidan Gauland writes: > Is there an org function to get the title, author, etc. of an org document? > > --Aidan How about C-h f org-parse-local-options BTW: C-h f org-par TAB TAB is your friens ;) HTH Sebastian ___ Emacs-orgmode mailing list

Re: [Orgmode] Re: [Patch] Bug: Inconsistency with org-publish-attachment

2010-09-17 Thread Sebastian Rose
Aidan Gauland writes: > On Sat, Sep 18, 2010 at 12:18:42AM +0200, Sebastian Rose wrote: >> That commit already includes the (obviously wrong) first patch... >> >> Here's the patch that reverts the first attempt and applies the new >> one. Hope this works

Re: [Orgmode] Re: [Patch] Bug: Inconsistency with org-publish-attachment

2010-09-17 Thread Sebastian Rose
Aidan Gauland writes: > Sebastian Rose gmx.de> writes: >> did you revert the previous patch? The second patch was against master >> again. > > I ran git reset --hard then applied the second patch. > >> I changed to a subdirectory of my :base-director

Re: [Orgmode] Re: [Patch] Re: Bug? Inconsistency with org-publish-attachment

2010-09-17 Thread Sebastian Rose
Aidan Gauland writes: > Sebastian Rose gmx.de> writes: >> This here works for both --- here it does. > > Uh, not quite. Now what should be in techy/programs/ is in > techy/programs/techy/programs/ (non-org files, that is). At least now > all files are treated consiste

Re: [Orgmode] Re: [Patch] Re: Bug? Inconsistency with org-publish-attachment

2010-09-16 Thread Sebastian Rose
Aidan, that patch was against current master of course. Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Re: [Orgmode] Re: [Patch] Re: Bug? Inconsistency with org-publish-attachment

2010-09-16 Thread Sebastian Rose
Aidan Gauland writes: > Sebastian Rose gmx.de> writes: >> `org-publish-attachment' is wrong or called with wrong arguments. >> >> This patch fixes it. >> >> As always, there might be a better way to fix it, >> but this way the function `org

Re: [Orgmode] Problem when previewing latex fragments

2010-09-16 Thread Sebastian Rose
Darlan Cavalcante Moreira writes: > Hello list, > > When I run org-preview-latex-fragment (C-c C-x C-l) I get the error > , > ! org-create-formula-image: Symbol's function definition is void: > ! org-export-latex-fix-inputenc > ` > > However, I run org-reload it works (until I close my gtd

Re: [Orgmode] inline images in org-mode

2010-09-16 Thread Sebastian Rose
Robert Goldman writes: > ... Is there some > magic I can put in the Local Variables block that will cause the images > to be displayed on startup? > > # org-display-inline-images: t # Local Variables: # mode: Org # eval: (org-display-inline-images) # End: Sebastian

Re: [Orgmode] Re: Any way to limit which subtrees to export based on TODO keywords?

2010-09-16 Thread Sebastian Rose
Scot Becker writes: >> The TODO keyword COMMENT should do what you're after. And toggle it with `C-c ;' > I can't believe I didn't think of that. I even use that one already > in other files. Thanks, > > Scot Sebastian ___ Emacs-orgmode mailing li

Re: [Orgmode] inline images in org-mode

2010-09-16 Thread Sebastian Rose
Robert Goldman writes: > I was looking for a way to put illustrations in my org-mode files so > that I could actually look at them while editing the org stuff. I found > a post a while ago suggesting using iimage mode (which is included with > the Aquamacs that I use, and is readily available if

[Orgmode] [Patch] Re: Bug? Inconsistency with org-publish-attachment

2010-09-16 Thread Sebastian Rose
Aidan Gauland writes: > On Thu, Sep 16, 2010 at 12:40:34AM +0200, Sebastian Rose wrote: >> Aidan Gauland writes: >> > Sebastian Rose gmx.de> writes: >> >> It would be a bug. >> >> >> >> But I cannot reproduce it (current Org mode from git

Re: [Orgmode] options and batch exporting

2010-09-15 Thread Sebastian Rose
Samuel Potter writes: > Hi all, > Sorry if this has been answered before -- wasn't able to track down a > solution on my own. I have an org-mode file that has a set of > #+OPTIONS: and #+STYLE: headers that I'd like to export to HTML from a > shell script. Unfortunately, when I do so, it seems tha

Re: [Orgmode] Re: Bug? Inconsistency with org-publish-attachment

2010-09-15 Thread Sebastian Rose
Aidan Gauland writes: > Sebastian Rose gmx.de> writes: >> It would be a bug. >> >> But I cannot reproduce it (current Org mode from git, emacs24). > > I just figured out why: I store all my images in ~/images/ and just > have symbolic links to them in my O

Re: [Orgmode] Emacs version

2010-09-15 Thread Sebastian Rose
Sébastien Vauban writes: > Hi Sebastian, > > Sebastian Rose wrote: >> It would be a bug. >> But I cannot reproduce it (current Org mode from git, emacs24). > > I see that many of you already have Emacs 24. Did you build it yourself from > the sources, or is there a p

Re: [Orgmode] Question about local variables block

2010-09-15 Thread Sebastian Rose
Robert Goldman writes: > I've been putting local variables blocks at the bottom of some of my > org-mode files (in particular, those files that I share with others). > > The problem is that having a local variables block at the bottom of the > file, at least if it uses # as a virtual comment chara

Re: [Orgmode] Bug? Inconsistency with org-publish-attachment

2010-09-15 Thread Sebastian Rose
Aidan Gauland writes: > I have a (sub)project for publishing a website. It uses > org-publish-attachment with the recursive option. > > ("static" > :base-directory "~/doc-aidan/windmill-hill/main/" > :publishing-directory "~/doc-aidan/windmill-hill/published/" > :publishing-function org-publis

Re: [Orgmode] Change color in fontified html export for strings

2010-09-14 Thread Sebastian Rose
Rainer M Krug writes: > On 14/09/10 13:41, Sebastian Rose wrote: >> Eric S Fraga writes: >>> Thanks Sebastian. I think that will definitely help the OP. However, >>> at least on my system, I believe the variable is actually >>> org-export-htmlize-output-ty

Re: [Orgmode] Nested exports - Exporting a "sub.org" file while exporting "main.org"

2010-09-14 Thread Sebastian Rose
Rainer M Krug writes: > Hi > > I want to export a subdocument (sub.org) while exporting a main document > (main.org), but I am getting an > "Args out of range: 0,0" > error message after the sub.org document is exported. > > Am I doing something wrong or is it not possible to have nested exports?

Re: [Orgmode] Templates - newline in string?

2010-09-14 Thread Sebastian Rose
Marco Alberti writes: > Hi all, > when customizing org-capture-templates, how do I insert newlines in the > template > string? I tried RET, C-RET and such, but nothing works, and I couldn't find > documentation. > Thanks, > Marco Hi Marco, just type `C-q C-j' as you would do when searchi

Re: [Orgmode] Change color in fontified html export for strings

2010-09-14 Thread Sebastian Rose
Eric S Fraga writes: > Thanks Sebastian. I think that will definitely help the OP. However, > at least on my system, I believe the variable is actually > org-export-htmlize-output-type (type, not style). Yes, sorry Eric, right: org-export-htmlize-output-type Sebastian __

Re: [Orgmode] export of .org file from within a different .org file

2010-09-14 Thread Sebastian Rose
Rainer M Krug writes: > Hi > > I have an org file (report.org) which creates a report. > > Now I want to do a few things with the resulting report, before I create > it to run a simulation, and afterwards copy it into a directory with a > name linked to some parameter of the simulation. I am now u

Re: [Orgmode] Change color in fontified html export for strings

2010-09-14 Thread Sebastian Rose
Rainer M Krug writes: > On 14/09/10 10:16, Eric S Fraga wrote: >> On Tue, 14 Sep 2010 10:05:32 +0200, Rainer M Krug wrote: >> >> [...] >> >>> The string >>> >>> .string {color: #ff4500;} >>> >>> is in the html file, but it is not used - the color is hardcoded as >>> #00: >> >> so this has

Re: [Orgmode] Change color in fontified html export for strings

2010-09-13 Thread Sebastian Rose
Rainer M Krug writes: > Hi > > when exporting code blocks to html, strings are exported as yellow > (#00), which is really difficult to read. Is there a possibility to > customize the colors (specifically the one used for strings) used for > the fontification when exporting to html? > > Thanks

[Orgmode] Re: not exporting TODOs but exporting their subordinates

2010-09-08 Thread Sebastian Rose
Sam Cramer writes: > When working on a document, I tend to sprinkle TODO headlines throughout the > doc. These are really very loosely structured; they just represent things > that I need to do somewhat near the area that I'm looking at. > > I mark these lines with a :noexport: tag in order to pr

Re: [Orgmode] Re: Org now fontifies code blocks

2010-09-07 Thread Sebastian Rose
Bastien writes: > Carsten Dominik writes: > >> I *do* like the idea mentioned earlier to use a different background >> when fontification is turned on. Just a slight grey instead of white, >> for example. That would help distinguish things in export mode. > > +1 +2 > Or maybe a different fon

Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-06 Thread Sebastian Rose
Bastien writes: > Sebastian Rose writes: > >> C-c C-e A >> >> gives me: >> >> Debugger entered--Lisp error: (void-variable type) > > This should now be fixed in git - please pull and try. Yes, it is fixed. I still can return what ever I want with no

Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-06 Thread Sebastian Rose
Carsten Dominik writes: > Hi Sebastian, > > I have just pushed the code that was needed to allow custom link > formatting for ASCII export, like you have implemented it. This was > simple an omission in the ascii exporter. > So I hope it will work now > > - Carsten C-c C-e A gives me: De

  1   2   3   4   5   6   7   8   9   >