Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Here's a fairly simple first stab, with page breaks made into an >> element, and a sample handling in the LaTeX backend. I've hardcoded ^L >> and the page-delimiter regexp that finds it,

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Here's a fairly simple first stab, with page breaks made into an >> element, and a sample handling in the LaTeX backend. I've hardcoded ^L >> and the page-delimiter regexp that finds it,

[O] [PATCH] Re: \newpage in HTML export

2013-11-21 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Suvayu Ali writes: > >> On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: >>> Suvayu Ali writes: >>> >>> > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: >>> >> O

Re: [O] \newpage in HTML export

2013-11-21 Thread Eric Abrahamsen
Suvayu Ali writes: > On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: >> Suvayu Ali writes: >> >> > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: >> >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: >>

Re: [O] \newpage in HTML export

2013-11-20 Thread Eric Abrahamsen
Suvayu Ali writes: > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: >> > >> > That works. But that means I need both #+HTML: and #+Latex: for the same >> > thing. \newpage should convert as appropriate depending on th

Re: [O] How to filter on files

2013-11-18 Thread Eric Abrahamsen
Rene writes: > Bastien gnu.org> writes: > >> Rene yahoo.com> writes: >> >> > I'd have loved though to be able to switch from one view (home+office view) >> > to another (office view) without having to reconstruct the whole >> > agenda. >> >> Maybe the `org-agenda-sticky' option can help there

Re: [O] custom emacs org-emphasis-alist breaks EXPORT, help ;-) ?

2013-11-03 Thread Eric Abrahamsen
email, but > i >> > guess im again doing something wrong. shouldn't the below example >> > color "salt", it dosent see to work. >> > >> > ;test >> > (font-lock-add-keywords >> >  'org-mode >> > '(("\b[Ss]a

Re: [O] custom emacs org-emphasis-alist breaks EXPORT, help ;-) ?

2013-11-02 Thread Eric Abrahamsen
x27;(:weight ultra-bold :foregroun "#FF9800") > t Looks like you're missing a backslash at the beginning of the regexp -- make sure it reads "\\b... E > thank you for all your help > > > > On Sat, Nov 2, 2013 at 12:15 PM, Eric Abrahamsen < > e...@e

Re: [O] custom emacs org-emphasis-alist breaks EXPORT, help ;-) ?

2013-11-02 Thread Eric Abrahamsen
ing fairly complicated, so be patient and go slow! E > instead of the original > > (font-lock-add-keywords >  'org-mode > '(("\\(₆[^₆\n]+₆\\)" (0 '(:foreground "#00" :underline t > :background "#FF9AEA" :weight ultra-bold) t &

Re: [O] Bug? org-set-tags never uses ido

2013-10-31 Thread Eric Abrahamsen
Anders Johansson writes: > Greetings, > I want to use ido everywhere and wanted to know why this doesn't seem > to work for setting org-mode tags (it never has for me). > > Using edebug to step through the call to org-icompleting-read which > org-set-tags does I can see that it never gets to usin

Re: [O] [RFC] Simple cache mechanism for `org-element-at-point'

2013-10-30 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Nicolas Goaziou writes: > >> Here is a slight change to the second one, which will correctly reset >> cache when some variables are customized or when a buffer is refreshed >> (C-c C-c on a keyword). > > By the way, almost a month has passed since the first message in t

Re: [O] trying to write a guidebook for students using org , need help with formating

2013-10-23 Thread Eric Abrahamsen
Xebar Saram writes: > Thanks again guys > > Rick: "But a better approach would be to define your own latex list > environment for > program steps and use lists:" > > ive never used latex, do you mind expanding on that a bit? > > Eric: "I don't think it's cut, is it? I just tried with your example

Re: [O] Problem with automatic recursive adding of org-agenda-files

2013-10-23 Thread Eric Abrahamsen
Nicolas Richard writes: > Eric Abrahamsen writes: >> FWIW, I don't even have a `find-lisp-find-files' function in my >> installation (GNU Emacs 24.3.1). > > Even if you eval (load-library "find-lisp") ? It's built-in for me on > GNU Emacs 24.3

Re: [O] trying to write a guidebook for students using org , need help with formating

2013-10-23 Thread Eric Abrahamsen
t? I just tried with your example and long lines are preserved as-is (ie, quite long). What would you like it to look like, in the end? E > On Wed, Oct 23, 2013 at 11:56 AM, Eric Abrahamsen < > e...@ericabrahamsen.net> wrote: > > Xebar Saram writes: > >

Re: [O] Problem with automatic recursive adding of org-agenda-files

2013-10-23 Thread Eric Abrahamsen
Tor Eriksson writes: > Hello all, > > I have searched the web without finding a solution to the following > problem: > > I am using this snippet in my .emacs.d (using emacs starterkit) to > dynamically and recursively load all org files in the directory > "important-directory" and any subdirector

Re: [O] trying to write a guidebook for students using org , need help with formating

2013-10-23 Thread Eric Abrahamsen
preciate all the help from everyone. thanks alot! > > z. > > > On Wed, Oct 23, 2013 at 4:00 AM, Eric Abrahamsen < > e...@ericabrahamsen.net> wrote: >> >> Xebar Saram writes: >> >> > Thank you all >> > >> > "I think `org-expo

Re: [O] trying to write a guidebook for students using org , need help with formating

2013-10-22 Thread Eric Abrahamsen
Xebar Saram writes: > Thank you all > > "I think `org-export-preserve-breaks' is the option you want. Try > setting it in a single buffer with #+OPTIONS:\n:nil and see what > happens..." > > that sounds interesting, but i couldn't understand how to use it > (again im still an org novice:) ) > do

Re: [O] trying to write a guidebook for students using org , need help with formating

2013-10-22 Thread Eric Abrahamsen
Xebar Saram writes: > Hi all > > i decided to dive into the deep water and get rid of M$ word once and > for all. I'm still an org novice but since i love org i choose org > for the task. > > I'm trying to write a simple guidebook for my students in a GIS > course. Everything works great apart fo

Re: [O] Drag images from Firefox to org-mode

2013-10-16 Thread Eric Abrahamsen
Oleh writes: > The address and date are auto-added as a comment now. > The updated source can be found at https://github.com/abo-abo/org-download > > Images can be stored in a custom dir with: > > (setq org-download-image-dir "~/Pictures/org") > > I still want to add some rescaling option via Ima

Re: [O] Markup (blod for instance) over line breaks

2013-10-14 Thread Eric Abrahamsen
Dror Atariah writes: > On Oct 14, 2013, at 07:11 AM, Eric Abrahamsen wrote: > >> Dror Atariah writes: >> >>> Dear org-moders, >>> >>> It might be terribly simple, but I failed to find a solution. How can >>> I mark several words as bold (o

Re: [O] Markup (blod for instance) over line breaks

2013-10-13 Thread Eric Abrahamsen
Dror Atariah writes: > Dear org-moders, > > It might be terribly simple, but I failed to find a solution. How can > I mark several words as bold (or emphasized or any similar markup), > in particular if the words spans over *more then one line*? > > A similar problem can occur when one is pasting

Re: [O] Computations on properties

2013-10-09 Thread Eric Abrahamsen
Eric Schulte writes: > Thorsten Jolitz writes: > >> Eric Abrahamsen writes: >> >>> Thierry Pellé writes: >>> >>>> Hi, >>>> I'm seeking how to do something like that >>>> >>>> Let the following text in

Re: [O] Computations on properties

2013-10-09 Thread Eric Abrahamsen
Thorsten Jolitz writes: > Eric Abrahamsen writes: > >> Thierry Pellé writes: >> >>> Hi, >>> I'm seeking how to do something like that >>> >>> Let the following text inserted in an org-mode file >>> >>> * Mean Calcul

Re: [O] Computations on properties

2013-10-09 Thread Eric Abrahamsen
Thierry Pellé writes: > Hi, > I'm seeking how to do something like that > > Let the following text inserted in an org-mode file > > * Mean Calculation > :PROPERTIES: > :VAL1: 5 > :VAL2: 10 > :COEF: 10 > :END: > > I would like to append the result of a computation > like RES=(VAL1*COEF+VAL

Re: [O] capture, attach, link files from web

2013-10-08 Thread Eric Abrahamsen
Myles English writes: > e...@...net writes: > I've often thought it would be nice to link to images in an org file with http: links, then at some arbitrary point in time call a hypothetical org-localize-external-resources command. That command would wget all the external resou

Re: [O] capture, attach, link files from web

2013-10-07 Thread Eric Abrahamsen
Myles English writes: > Hi Eric, > > I am glad you like it. > > e...@ericabrahamsen.net writes: > > [..] > >> Rather than sending downloaded files to $TMPDIR, it might be nice to >> have them just use whatever dir org-attach would have used. I use >> org-attach from time to time, and notice that

Re: [O] capture, attach, link files from web

2013-10-07 Thread Eric Abrahamsen
Myles English writes: > Hello, > > Just thought I would share something I find useful. What the code below > does is: > > 1) prompts for a link to a file on the internet > 2) downloads the file > 3) attaches the file to the current subtree > 4) inserts at the current point a link to the attachme

Re: [O] custom emacs org-emphasis-alist breaks EXPORT, help ;-) ?

2013-10-05 Thread Eric Abrahamsen
Xebar Saram writes: > thx again Eric > > i still have an issue with this when one of the symbols used to start > /end the highlight is used in a sentence, for example using your > code: > > (font-lock-add-keywords >  'org-mode >  '(("-1-\\([^-1-]+\\)-1-" (0 '(:weight ultra-bold :background "# > D

Re: [O] custom emacs org-emphasis-alist breaks EXPORT, help ;-) ?

2013-10-04 Thread Eric Abrahamsen
without things getting much more complicated... > On Fri, Oct 4, 2013 at 12:15 PM, Eric Abrahamsen < > e...@ericabrahamsen.net> wrote: > > Xebar Saram writes: > > > Thank you again > > > > that works well but i think it dosent cover what i

Re: [O] custom emacs org-emphasis-alist breaks EXPORT, help ;-) ?

2013-10-04 Thread Eric Abrahamsen
Xebar Saram writes: > Thank you again > > that works well but i think it dosent cover what i had in org. in org > i use the ♩ symbol to highlight all the text between the 2 ♩, IE > > ♩ALL THIS TEXT IS HIGHLIGHTED♩, currently with the above code the ♩ > is highlighted but not the text between, is

Re: [O] [RFC] Simple cache mechanism for `org-element-at-point'

2013-10-03 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > The following patches introduce a simple cache mechanism for both > `org-element-at-point' and `org-element-context'. My goal is to make > them fast enough to be used in most core commands (excepted > headlines-only commands). > > Since a wrong cache can break

Re: [O] Org Tutorials need more structure

2013-09-30 Thread Eric Abrahamsen
Matt Price writes: > On Sun, Sep 29, 2013 at 4:44 AM, Eric Abrahamsen > wrote: >> Carsten Dominik writes: >> >>> Hi everyone, >>> >>> today I looked at our tutorial page at >>> >>> http://orgmode.org/worg/org-tutorials/index.html

Re: [O] Org Tutorials need more structure

2013-09-29 Thread Eric Abrahamsen
Carsten Dominik writes: > Hi everyone, > > today I looked at our tutorial page at > > http://orgmode.org/worg/org-tutorials/index.html > > and came away with the feeling that that this page has become > somewhat useless for people who are really new to Org. I think > the page should start with a

Re: [O] using orgtbl-sqlinsert

2013-09-24 Thread Eric Abrahamsen
ey all be replaced with Babel?), but the problem I brought up here, at least, is fixed. Thanks! Eric > On 26.5.2013, at 08:56, Eric Abrahamsen wrote: > >> I've got a table I'm trying to insert into a sqlite database. I've been >> looking at orgtbl-sqlinsert and t

Re: [O] modify postamble in html export

2013-09-21 Thread Eric Abrahamsen
On 09/21/13 17:00 PM, pw wrote: > Le 21/09/2013 06:23, Eric Abrahamsen a écrit : >> Whoops, that's what I get for posting untested code... As Nicholas >> points out the function should take an argument, but in your simplest >> case you can ignore it: >> >&g

Re: [O] modify postamble in html export

2013-09-20 Thread Eric Abrahamsen
pw writes: >> You can override the whole thing by re-defining the `org-html-postable' >> variable. Set it to a function which returns the string you want: >> >> (defun my-org-html-postamble () >> (format "Last update : %s" (format-time-string "%d %b %Y"))) >> >> (setq org-html-postamble 'my-org

Re: [O] modify postamble in html export

2013-09-19 Thread Eric Abrahamsen
pw writes: > Hi, > > I want to have a postamble in html with just the date (and without hours). > > I already delete other informations in the postamble with these > variables into my .emacs : > '(org-export-author-info nil) > '(org-export-creator-info nil) > '(org-html-validation-link nil) >

Re: [O] [export] Should sidewaystable option automatically add rotating package?

2013-09-16 Thread Eric Abrahamsen
ternets. > >> Does tabu have such issues [of conflicting with other packages]? >> With which packages (what you know) > > I don't think tabu causes any problems. It states it doesn't rewrite > any existing code (as e.g. tabularx does) cf. p. 1. > > Perhaps, Eric

Re: [O] Outline cycling does not preserve point's position

2013-09-09 Thread Eric Abrahamsen
Carsten Dominik writes: > On 10.9.2013, at 05:47, Carsten Dominik wrote: > >> >> On 9.9.2013, at 17:41, Nicolas Goaziou wrote: >> >>> Carsten Dominik writes: >>> It is extremely predictable if you know about the structure of an Org document and if you think in elements. >>> >>> I

Re: [O] How to easily create a new export engine...

2013-09-04 Thread Eric Abrahamsen
flammable project writes: > Thanks Nocolas and Suvayu, > > > I will spend some time on ox-md.el and the section listed by Nicolas. > > One last question: > If I choose to extend the existing back-end, would I be able to put > all the code into a external file and allow the user to load it > throu

Re: [O] org-insert-heading rewritten from scratch

2013-08-31 Thread Eric Abrahamsen
Carsten Dominik writes: > On 8.8.2013, at 09:41, Eric Abrahamsen wrote: > >> Carsten Dominik writes: >> >>> Hi, >>> >>> I have rewritten org-insert-heading, because it had become an >>> unmaintainable beast. >>> Pl

Re: [O] WISH: SQL on org-mode tables

2013-08-20 Thread Eric Abrahamsen
Marc Ihm writes: > Yes, would like this too ! > (But do not know, how to achieve this ...) > > I think that simplifying the task of storing data in org-tables would allow > many interesting org-applications to be implemented more easily. > > And thanks for pointing at cvsql; > will have a look. >

Re: [O] Buffer-specific export filter?

2013-08-20 Thread Eric Abrahamsen
Suvayu Ali writes: > On Tue, Aug 20, 2013 at 07:45:11PM +0800, James Harkins wrote: >> Is it possible to apply a specific filter during export for one org >> document, but not others? >> >> Basically, a buffer-specific export filter. >> >> It appears in the org manual that the hook needs to be

Re: [O] org-insert-heading rewritten from scratch

2013-08-08 Thread Eric Abrahamsen
Carsten Dominik writes: > Hi, > > I have rewritten org-insert-heading, because it had become an unmaintainable > beast. > Please follow up in this thread if you find problems with the new > implementation. > Very likely there will be bugs, but now I am at least confident they can be > fixed. >

[O] [CODE] org-open-link-from-string in a program

2013-08-07 Thread Eric Abrahamsen
Eric Abrahamsen writes: > I'm trying to write a small function that programmatically follows a > link to a gnus message, then calls > `gnus-summary-wide-reply-with-original' to start a reply to that > message. Okay, this seems like a fair amount of code for something th

Re: [O] Extending org-contacts with properties: naming properties

2013-08-07 Thread Eric Abrahamsen
Karl Voit writes: > * David Rogers wrote: >> >> I agree that this kind of simple thing looks like a better >> idea. However, it would also be nice to be able to call it some name >> where a person who encounters the software capability but doesn't yet >> know what it's for will understand what i

Re: [O] org-open-link-from-string in a program

2013-08-04 Thread Eric Abrahamsen
Eric Abrahamsen writes: > I'm trying to write a small function that programmatically follows a > link to a gnus message, then calls > `gnus-summary-wide-reply-with-original' to start a reply to that > message. It seemed like `org-open-link-from-string' (after extract

Re: [O] org-open-link-from-string in a program

2013-08-03 Thread Eric Abrahamsen
Eric Abrahamsen writes: > I'm trying to write a small function that programmatically follows a > link to a gnus message, then calls > `gnus-summary-wide-reply-with-original' to start a reply to that > message. It seemed like `org-open-link-from-string' (after extract

Re: [O] org-open-link-from-string in a program

2013-08-03 Thread Eric Abrahamsen
Thorsten Jolitz writes: > Eric Abrahamsen writes: > >> Thorsten Jolitz writes: >> >>> Eric Abrahamsen writes: >>> >>>> I'm trying to write a small function that programmatically follows a >>>> link to a gnus message, then calls

Re: [O] org-open-link-from-string in a program

2013-08-03 Thread Eric Abrahamsen
Thorsten Jolitz writes: > Eric Abrahamsen writes: > >> I'm trying to write a small function that programmatically follows a >> link to a gnus message, then calls >> `gnus-summary-wide-reply-with-original' to start a reply to that >> message. It seemed

[O] org-open-link-from-string in a program

2013-08-03 Thread Eric Abrahamsen
I'm trying to write a small function that programmatically follows a link to a gnus message, then calls `gnus-summary-wide-reply-with-original' to start a reply to that message. It seemed like `org-open-link-from-string' (after extracting the address part from the link) would be the right choice, b

Re: [O] Agenda in the mode-line?

2013-08-02 Thread Eric Abrahamsen
Kyle Sexton writes: > Bastien writes: > >> Kyle Sexton writes: >> >>> Does anyone know if there is a feature to show something like 'Tasks: 4' >>> on the mode-line for tasks that are currently open? >> >> This is the default behavior since long: hitting "I" to clock in a >> task in the agenda o

Re: [O] How to convert a string to Org parsed tree

2013-07-28 Thread Eric Abrahamsen
Yujie Wen writes: > Hi, > >   I am working on the org-reveal exporter and I need to convert a > string get from org-element-property into HTML format. The property > string have some Org-mode markups that need to be converted to > relevant HTML labels. For example, a string of "/italic/" to " > i

Re: [O] Simplifying the weekly agenda a tiny bit, howto?

2013-07-19 Thread Eric Abrahamsen
François Pinard writes: > Eric Abrahamsen writes: > >> First of all, if your event is a meeting, it should only be >> timestamped, not deadlined or scheduled. Then it will just show up >> where it's supposed to, and not before (or after). > > How do I get i

Re: [O] Simplifying the weekly agenda a tiny bit, howto?

2013-07-18 Thread Eric Abrahamsen
François Pinard writes: > Hi, Org friends. Here is an (edited) copy of my weekly agenda: > > > Week-agenda (W29): > Lundi 15 Juillet 2013 W29 > Mardi 16 Juillet 2013 > Mercredi 17 Juillet 2013 > Jeudi 18 Juillet 2013 > notes: In 1 d.: TODO *Some meeting > Automobile:

Re: [O] Should comments break paragraphs?

2013-07-18 Thread Eric Abrahamsen
Rasmus writes: > Eric Abrahamsen writes: > >>> There is also a #+begin_annotation block special to ODT export, and >>> there was some talk about devising a backend-agnostic solution along >>> those lines for comments that one /does/ want exported. >> >

Re: [O] Should comments break paragraphs?

2013-07-18 Thread Eric Abrahamsen
Christian Moe writes: > Eric S Fraga writes: > >> Rasmus writes: >> >> [...] >> >>> show up on the side of the documents. Again, I don't agree that they >>> are comments in the sense that '^#.*' is a comment. Again, I think >>> the correct approach for adding such notes is inlinetasks. >> >> +

Re: [O] collect info from org files in agenda when open?

2013-07-13 Thread Eric Abrahamsen
Gregor Zattler writes: > Hi Noorul, org-mod users and developers, > * Noorul Islam K M [13. Jul. 2013]: >> Gregor Zattler writes: >>> I customized my org-agenda-files variable to contain 4 files. >>> But I wished I could automatically add org files to the agenda >>> simply by opening them. Is

[O] default export templates broken?

2013-07-10 Thread Eric Abrahamsen
I wonder if something in the new export backend system has broken inserting export option templates? Choosing anything but "default" as the backend gives me this backtrace, in this case html. The offending functions seem to have no definition (compiler macros?) so I couldn't poke further, but it lo

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Eric Abrahamsen
Thorsten Jolitz writes: > Robert Klein writes: > > Hi Robert, > >> I'm currently playing around with retrieving options, e.g. functions like: > >> #+begin_src elisp >> (defun org-find-export-option (file option-name &optional backend) ... > > thanks, that brought me on the right track, I was sea

Re: [O] [Exporter] How to save 'info' plist for later use?

2013-07-10 Thread Eric Abrahamsen
Thorsten Jolitz writes: > Nick Dokos writes: > >> Thorsten Jolitz writes: >> >>> Thorsten Jolitz writes: >>> >>> PS >>> How could I get my hands on the 'info' plist during the buffer parsing and save it for later use in calls like >>> >>> As far as I understand it, the 'info' plist i

Re: [O] [PATCH] ox-html: Under html5-fancy, use for the ToC

2013-07-09 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Kodi Arfer writes: > >> While I admit I'm not totally sure, in general, when a given fancy >> HTML5 element is appropriate, this case (an intra-page table of >> contents) seems right in line with the second code example here: >> >> http://www.w3.org/html/wg/d

Re: [O] org-odt-export-to-odt: hide text

2013-07-06 Thread Eric Abrahamsen
Daniel Clemente writes: > El Sat, 6 Jul 2013 13:03:01 +0200 Suvayu Ali va escriure: >> >> If you or any other user wants this kind of feature, you have to come up >> with a syntax that is not intrusive and doesn't break basic Org >> features. >> > > I created such a syntax for normal text fil

[O] use save-window-excursion in agenda archiving?

2013-07-05 Thread Eric Abrahamsen
I don't know if this is a new development, but archiving items from the agenda causes the buffer to jump so the archived line is at the top of the window. This is pretty distracting, and makes archiving multiple items kind of annoying. I believe switching the `save-excursion' call at line 8382 of

Re: [O] Org entries from tables

2013-07-03 Thread Eric Abrahamsen
Bastien writes: > Hi Baptiste, > > Baptiste writes: > >> Is there a way back (or the other way), that is, create org entries with >> associated properties from a table. > > Not to my knowledge (and that of the Org FAQ, FWIW...) > > Sorry! If you were very, very adventurous, however, you could

Re: [O] Shortkeys for shifting dates in Agenda view?

2013-07-01 Thread Eric Abrahamsen
Martin writes: > I often use the agenda view to postpone tasks to future dates, so > technically I want to change the SCHEDULED or DEADLINE dates of one or > several agenda lines to a future date, e. g. "tomorrow". > > This is possible with the shortkey Shift-, however this forces > me to move my

Re: [O] [RFC] Replace some HTML related keywords with OPTIONS items

2013-06-21 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Any objection to applying the following patch to master? > > Basically, > > #+HTML_INCLUDE_STYLE: nil > > becomes > > #+OPTIONS: html-style:nil > > and > > #+HTML_HTML5_FANCY: t > > becomes > > #+OPTIONS: html5-fancy:t > > > Regards, Looks good! +1 fo

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Eric Abrahamsen
Feng Shu writes: > Feng Shu writes: > >> Viktor Rosenfeld writes: >> >>> Hi, >>> >>> Feng Shu wrote: >>> org-mode odt exporter are using 'org-odt-styles-file, which are odt templetes, I think latex exporter should do like this. for example: >>> >>> I would also like to have a template

Re: [O] Go to heading using LISP

2013-06-09 Thread Eric Abrahamsen
Alexander Wingård writes: > Eric Abrahamsen ericabrahamsen.net> writes: > >> >> Alexander Wingård gmail.com> writes: >> >> > Hi! >> > >> > I want to create special key-bindings that use the org-refile goto >> > interface to ju

Re: [O] Go to heading using LISP

2013-06-08 Thread Eric Abrahamsen
Alexander Wingård writes: > Hi! > > I want to create special key-bindings that use the org-refile goto > interface to jump to specific headings. > > My initial attempt was: > (org-refile 4 "gtd.org" "Projects/Work/Bugs") > > But it seems specifying RFLOC is not that simple. > > Someone have any i

[O] [PATCH] Re: using orgtbl-sqlinsert

2013-06-04 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Eric Abrahamsen writes: > > A very quiet "bump", to see if anyone knows how to handle this... Clearly whining wasn't getting me anywhere, so here's a patch. I don't claim to understand all the ins and outs of orgtbl-to-generic, so

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Eric Abrahamsen
Andreas Leha writes: > Hi Eric, > > Eric S Fraga writes: > >> Andreas Leha writes: >>> Eric S Fraga writes: >> >> [...] >> There are workarounds but they involve using latex directly (to add entries to a TOC basically). >>> >>> I am aware of that. Sorry for being unclear. I would l

Re: [O] using orgtbl-sqlinsert

2013-06-01 Thread Eric Abrahamsen
Eric Abrahamsen writes: A very quiet "bump", to see if anyone knows how to handle this... > I've got a table I'm trying to insert into a sqlite database. I've been > looking at orgtbl-sqlinsert and this page[fn:1], but I suspect all that > is out of date. I

[O] using orgtbl-sqlinsert

2013-06-01 Thread Eric Abrahamsen
I've got a table I'm trying to insert into a sqlite database. I've been looking at orgtbl-sqlinsert and this page[fn:1], but I suspect all that is out of date. I haven't seen anyone talking about #+ORGTBL: keywords, or things like "#+BEGIN RECEIVE ORGTBL exsql" in the past year or so. Do those sti

[O] using orgtbl-sqlinsert

2013-05-25 Thread Eric Abrahamsen
I've got a table I'm trying to insert into a sqlite database. I've been looking at orgtbl-sqlinsert and this page[fn:1], but I suspect all that is out of date. I haven't seen anyone talking about #+ORGTBL: keywords, or things like "#+BEGIN RECEIVE ORGTBL exsql" in the past year or so. Do those sti

Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-19 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Paul Stansell writes: >> >>> Hello, >>> >>> I've noticed that #+ATTR_LaTeX seems to be no longer honoured (I'm >>> using release_8.0.3-133-ga5872) &

Re: [O] #+ATTR_LaTeX no longer honoured

2013-05-19 Thread Eric Abrahamsen
Paul Stansell writes: > Hello, > > I've noticed that #+ATTR_LaTeX seems to be no longer honoured (I'm > using release_8.0.3-133-ga5872) > > This is demonstrated for the attached org file. It's the exact > example from http://orgmode.org/manual/Images-in-LaTeX-export.html. > > I expect the export

Re: [O] Bug: html quoting tags are transformed after exporting [8.0.2 (8.0.2-10-g3e1d83-elpa @ d:/SDTs/Emacs/lisp/org/)]

2013-05-17 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Kelvin Hu writes: > >> Hi all, >> >> First of all, I am really appreciate your good work - org mode. >> >> Currently I meet something wrong when I am trying to export an org >> buffer into html, as org manual >> describ

Re: [O] Bug: html quoting tags are transformed after exporting [8.0.2 (8.0.2-10-g3e1d83-elpa @ d:/SDTs/Emacs/lisp/org/)]

2013-05-17 Thread Eric Abrahamsen
Kelvin Hu writes: > Hi all, > > First of all, I am really appreciate your good work - org mode. > > Currently I meet something wrong when I am trying to export an org > buffer into html, as org manual > described(http://orgmode.org/org.html#Quoting-HTML-tags), html tags > quoted with "@" should b

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Eric Abrahamsen
Samuel Wales writes: > Hi Eric, > > On 5/15/13, Eric Abrahamsen wrote: >> I still think it's pretty important to have an option for creating a new >> headline *below* all the contents of the current subtree -- what C-RET >> used to do. > > This might be

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Eric Abrahamsen
Samuel Wales writes: > How about this? IMO this would be ideal. > > - M-RET is for the current context > - C-RET is for a new context > > |-+--++--| > | command | context | pos| action | >

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Eric Abrahamsen
Christian Moe writes: > Eric Abrahamsen writes: > >> I don't see why `org-ctrl-c-star' --> `org-toggle-heading' isn't enough >> for creating headlines out of existing text. > > Fair point, but I find it useful to have a simpler and speedier > co

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-15 Thread Eric Abrahamsen
to have two commands back: one that starts a new heading under point, and one that starts a new heading at the end of the current subtree. Ie, what M-RET and C-RET used to do... Eric > Yours, > Christian > > > Eric Abrahamsen writes: > >> For the past couple of weeks I'

[O] M-RET and C-RET turn current line of text into a heading?

2013-05-14 Thread Eric Abrahamsen
For the past couple of weeks I'm finding that both M-RET and C-RET turn the line under point into a heading, instead of inserting a new heading elsewhere. This happens with `org-M-RET-may-split-line' set to anything. So this: #+begin_src org * Chapter One :PROPERTIES: :some_prop: t :END: In which

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-05-06 Thread Eric Abrahamsen
Carsten Dominik writes: > Hi Eric, > > thanks for the reply. OK, I am going with the patch for now, let's > push more thinking about HTML5 further down the line. > > Thanks for working this out! My pleasure, I hope I haven't stifled debate... > On 6.5.2013, a

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-05-06 Thread Eric Abrahamsen
L. If we're going to rethink things, let's rethink this too. Eric [1] http://glyph.twistedmatrix.com/2008/06/data-in-garbage-out.html > On 2.5.2013, at 23:07, Eric Abrahamsen wrote: > >> Rick Frankel writes: >> >>> On Tue, Apr 30, 2013 at 08:26:52PM -0700,

Re: [O] getting file properties

2013-05-04 Thread Eric Abrahamsen
John Kitchin writes: > Hi everyone, > > if I have an org-file with this in it: > > #+EMAIL: jkitc...@cmu.edu > > is there an org lisp command to get the email address after I have > opened the file? I am looping through many files to generate a report, > and would like to do this in emacs-lisp. I

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-05-02 Thread Eric Abrahamsen
Rick Frankel writes: > On Tue, Apr 30, 2013 at 08:26:52PM -0700, Eric Abrahamsen wrote: >> Rick Frankel writes: >> >> > Whoops. Wrong key. Patch actually attached to this email... >> > rick >> >> Great, I'll consolidate all these -- would it b

Re: [O] [html] centering

2013-05-02 Thread Eric Abrahamsen
Samuel Wales writes: > Has there been a recent change in HTML centering? We get this now: > > > > This does not work in browsers that do not support CSS. > > Thanks. > > Samuel Looks like Bastien put that in in baa2999, around March 12. That commit moved the remaining inline style declaratio

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-30 Thread Eric Abrahamsen
Rick Frankel writes: > Whoops. Wrong key. Patch actually attached to this email... > rick Great, I'll consolidate all these -- would it be better to mush them into one big patch, or to keep them separate (I suppose for ease of rollback, if something goes wrong)? E

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-28 Thread Eric Abrahamsen
Rick Frankel writes: > On Fri, Apr 26, 2013 at 10:14:17AM -0700, Eric Abrahamsen wrote: >> Rick Frankel writes: >> > >> > Therefore, `org-html-close-tag' should check that the doctype is not a >> > flavor of html4 rather than a flavor of xhtml. An

Re: [O] the "right way" to build OMPL export and import

2013-04-26 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Eric Abrahamsen writes: > >> Would you suggest an export backend that only handles headlines (other >> elements are a no-op)? I suppose you could just write org-opml-headline >> to read properties and return XML chunks, and then you wouldn'

Re: [O] the "right way" to build OMPL export and import

2013-04-26 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> I'm not sure the general export engine is going to be of much use, >> since XML is so completely flexible, but you'll definitely want to >> build it on top of the internal parser. > >

Re: [O] the "right way" to build OMPL export and import

2013-04-26 Thread Eric Abrahamsen
Alexis Gallagher writes: > Hi, > > I would love to be able to export org documents to opal, so that I can > read them with the various commercial outlining apps on platforms > without emacs -- e.g, iOS. The ideal thing would be if I could import > OPML as well. > > Is anyone working on this alrea

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-26 Thread Eric Abrahamsen
Rick Frankel writes: > On 25.04.2013 17:20, Eric Abrahamsen wrote: >> Who knew this would turn out to be such a fraught issue! All I wanted >> was that little green checkmark from the W3C... >> >> Here's what I think should be an acceptable final patch. I droppe

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-25 Thread Eric Abrahamsen
is works, E >From d3af8f41480eea27e0165e4dcd594ce3475e56cd Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Thu, 25 Apr 2013 14:00:24 -0700 Subject: [PATCH 11/11] ox-html.el: Export to various flavors of (X)HTML lisp/ox-html.el (org-html-doctype-alist): New variable holding an alist of (X)H

Re: [O] Org-mode documentation within Emacs

2013-04-24 Thread Eric Abrahamsen
Alan Schmitt writes: > Hi Glyn, > > Glyn Millington writes: > >> Hi Alan, >> >> This is how I do it. > > [...] > >> I also have this in my init.el >> >> (setq Info-default-directory-list (cons "/home/glyn/info/" >> Info-default-directory-list)) >> >> Then it should appear in Emacs' info-reader >

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-23 Thread Eric Abrahamsen
Carsten Dominik writes: > On 23.4.2013, at 06:57, Samuel Wales wrote: > >> As a non-expert HTML user, I'd want whatever works on the most >> browsers, even old ones, as my audience is likely to include many who >> have old browsers in addition to many who have new ones, mobile ones, >> and acces

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-22 Thread Eric Abrahamsen
Rick Frankel writes: > On Sat, Apr 20, 2013 at 10:59:32AM +0800, Eric Abrahamsen wrote: >> >> The " />" style doesn't validate for html4, that's what I was going on. >> It certainly doesn't make my browser explode, but I wanted that little >

Re: [O] merging per-file (or heading) TODO sequences

2013-04-21 Thread Eric Abrahamsen
Carsten Dominik writes: > On 21.4.2013, at 11:08, Eric Abrahamsen wrote: > >> I could have sworn I've done this successfully before, but... >> >> I need a special sequence of TODO keywords for one file -- actually just >> one headline in particular. I t

<    3   4   5   6   7   8   9   10   11   >