Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-24 Thread Eric S Fraga
Samuel Wales writes: > On 2010-11-17, Eric S Fraga wrote: >> I apologise for jumping into the middle of a conversation but your > > It's an open conversation. Jump away. :) Thanks! >> reference to longlines-mode brings to mind visual-line-mode which was >> introduced in Emacs 23 (I believe).

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-23 Thread Samuel Wales
On 2010-11-16, John Hendy wrote: > ,- > | (defun unfill-region (begin end) That implementation again worked differently for you and me. It filled org headlines. In fact, I don't see how it wouldn't, given the regexp. Very strange. But I am about to try the Blogger editors to see if I can

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-23 Thread Samuel Wales
Hi Nick, On 2010-11-16, Nick Dokos wrote: > I get four options (w/Firefox): > > Reader comments > Post date and time > Edit HTML Line Breaks > Compose Settings I get backlinks, which you don't, and I don't get compose and line breaks, which you do. Google is funny. It is possible that the diff

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-23 Thread Samuel Wales
On 2010-11-17, Eric S Fraga wrote: > I apologise for jumping into the middle of a conversation but your It's an open conversation. Jump away. :) > reference to longlines-mode brings to mind visual-line-mode which was > introduced in Emacs 23 (I believe). This mode turns on =word-wrap= as > we

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-23 Thread Samuel Wales
Hi Tim, This looks interesting. I will try it next. Which behavior of Blogger is more standard for HTML? I am guessing that Blogger's default of converting \n to is non-standard and that browsers are supposed to unfill then fill paragraphs for you. But I am new to HTML so I thought I'd confir

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-17 Thread John Hendy
On Wed, Nov 17, 2010 at 5:47 AM, Christian Moe wrote: > Hi, > > Samuel Wales wrote: > >> So I guess I'd like to know if: >> >> 1) anybody has a /hook in the exporter/ to unfill paragraphs, or >> > > This is what I've come up with for posting comments on WordPress blogs, > without tags and lineb

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-17 Thread Eric S Fraga
John Hendy writes: > On Wed, Nov 17, 2010 at 3:09 AM, Eric S Fraga wrote: > > John Hendy writes: > > [...] > > > There was also a reference in the original post below to > > longlines-mode... > > I apologise for jumping into the middle of a conversation but your

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-17 Thread John Hendy
On Wed, Nov 17, 2010 at 3:09 AM, Eric S Fraga wrote: > John Hendy writes: > > [...] > > > There was also a reference in the original post below to > > longlines-mode... > > I apologise for jumping into the middle of a conversation but your > reference to longlines-mode brings to mind visual-line

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-17 Thread Christian Moe
Hi, Samuel Wales wrote: So I guess I'd like to know if: 1) anybody has a /hook in the exporter/ to unfill paragraphs, or This is what I've come up with for posting comments on WordPress blogs, without tags and linebreaks. It can probably be written more elegantly, but it does what I nee

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-17 Thread Tim Burt
Samuel Wales writes: > Hi Nick, > > That is a great idea. > > Unfortunately, that option is simply not there for me. > > In Firefox and emacs-w3m, I only get: > > Reader Comments > (*) Allow > ( ) Don't allow > Backlinks > ( ) Allow > (*) Don't allow > > And strangely do not get what you get.

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-17 Thread Eric S Fraga
John Hendy writes: [...] > There was also a reference in the original post below to > longlines-mode which (from my quick skim) seems to do what fill mode > does but with "soft" returns; it only appears to be filled but in > reality is not altering actual file line breaks. I tried this and can >

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Nick Dokos
Samuel Wales wrote: > In Firefox and emacs-w3m, I only get: > > Reader Comments > (*) Allow > ( ) Don't allow > Backlinks > ( ) Allow > (*) Don't allow > > And strangely do not get what you get. I tried reducing fonts in > Firefox also; the same thing showed up. > > I wonder if we are using

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
Hi Nick, That is a great idea. Unfortunately, that option is simply not there for me. In Firefox and emacs-w3m, I only get: Reader Comments (*) Allow ( ) Don't allow Backlinks ( ) Allow (*) Don't allow And strangely do not get what you get. I tried reducing fonts in Firefox also; the same thi

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Nick Dokos
John Hendy wrote: > Nick -- that was suggested to me when I posted about this topic a bit > back as well. [1] That does work, but there's a catch. It applies the > rule to every post that exists. If Samuel is just starting out, it's > actually awesome (would have been for me). But... I had about

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread John Hendy
It turns out that there are several hits for things like this. Those on the list who actually know elisp can perhaps decide which is the most robust implementation. Here's some more (did not try these... just digging them up and providing links): - http://blog.chrislowis.co.uk/2010/03/03/unfill-re

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread John Hendy
On Tue, Nov 16, 2010 at 6:17 PM, Samuel Wales wrote: > OK, more: > > I appreciate your considerable effort and I know that your perl > solution works for you, but debugging it so that it works for my box > also is not the approach that will work for all of us, and is not > something I can do at t

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread John Hendy
On Tue, Nov 16, 2010 at 9:46 PM, Nick Dokos wrote: > Samuel Wales wrote: > > > > 1) org source (my normally-preferred filled paragraphs) -> > > c-u c-c c-e R -> blogger > > - hard breaks are inserted so no filling can happen in > >published blog entry > >+ if large fo

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Nick Dokos
Samuel Wales wrote: > 1) org source (my normally-preferred filled paragraphs) -> > c-u c-c c-e R -> blogger > - hard breaks are inserted so no filling can happen in >published blog entry >+ if large fonts and small column, will break > awkwardly > - blog

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
OK, more: I appreciate your considerable effort and I know that your perl solution works for you, but debugging it so that it works for my box also is not the approach that will work for all of us, and is not something I can do at this time. A dependency on a specific version of perl or another p

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
No, I really meant my question the way I worded it. I really want to know the answer to 1-3, not the items you added. I am limited in the typing that I can do, John. All typing is very painful. So I cannot explain why right now. Just trust me please. __

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread John Hendy
On Tue, Nov 16, 2010 at 5:17 PM, Samuel Wales wrote: > Of these three options, which do you think makes the most sense? > > 1) a /hook in the exporter/ to unfill paragraphs, or > 2) a way for the HTML to instruct the browser to /ignore >newlines/, or > 3) an unfill-region that works better th

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
Of these three options, which do you think makes the most sense? 1) a /hook in the exporter/ to unfill paragraphs, or 2) a way for the HTML to instruct the browser to /ignore newlines/, or 3) an unfill-region that works better than mine. ___ Emacs-o

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Samuel Wales
Thanks, Giovanni, that helps; I assumed that "does not work" meant what it said. :) However, it doesn't help me when I actually post the HTML. The problem is that even without the , the paragraph does not fill. So I would have to unfill the paragraphs manually, then export, then undo the unfill

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-16 Thread Giovanni Ridolfi
Samuel Wales writes: > I found this in the manual. Does anybody know whether this is > relevant to the problem? > > \n:turn on/off line-break-preservation > (DOES NOT WORK) Samuel, it, actually, works for me: Org-mode version 7.3 commit-fee2c2c8dab57bf11ad34526f1364154f57fb020 GNU

[Orgmode] Re: HTML export and blogging to blogger.com

2010-11-15 Thread Samuel Wales
I found this in the manual. Does anybody know whether this is relevant to the problem? \n:turn on/off line-break-preservation (DOES NOT WORK) Thanks. Samuel On 2010-11-13, Samuel Wales wrote: > Well, I spoke too soon. I don't have a solution. Here is > what I tried. > > > 1)

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-13 Thread Samuel Wales
Thanks. Maybe it's a bug of some sort. Your settings look compatible with mine and as if they should not affect this. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/

Re: [Orgmode] Re: HTML export and blogging to blogger.com

2010-11-13 Thread John Hendy
On Sat, Nov 13, 2010 at 7:25 PM, Samuel Wales wrote: > Well, I spoke too soon. I don't have a solution. Here is > what I tried. > > 4) John's recipe: c-u c-c c-e R -> perl script -> blogger > - paragraphs are separated by too many blank lines > - blogger result attached > > Weird -- I

[Orgmode] Re: HTML export and blogging to blogger.com

2010-11-13 Thread Samuel Wales
Well, I spoke too soon. I don't have a solution. Here is what I tried. 1) org source (my normally-preferred filled paragraphs) -> c-u c-c c-e R -> blogger - hard breaks are inserted so no filling can happen in published blog entry + if large fonts and small column, wil