Skip Menu |

This queue is for tickets about the Org-Parser CPAN distribution.

Report information
The Basics
Id: 95947
Status: resolved
Priority: 0/
Queue: Org-Parser

People
Owner: Nobody in particular
Requestors: bernt.budde [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Syntax with markup
Date: Sun, 25 May 2014 05:24:33 +0300
To: bug-Org-Parser [...] rt.cpan.org
From: Bernt Budde <bernt.budde [...] gmail.com>
Hi! First, again thanks for a cool module! I found a minor problem, which might depend on different Emacs versions? Parentheses seems to be OK with markup for bold etc. E.g.: ** In this Headline, _this is underlined_ and (*this will be bold*) This trivial change seems to work in Org/Document.pm: - (?<markup_start> (?:(?<=\s)|\A) + (?<markup_start> (?:(?<=[\s\(])|\A) I'll look into this a bit more and will let you know if I find anything else. (The comment for "markup_end" claims that an "!" stops accepting markup, but it works for me in Emacs.) /Bernt Budde PS I use standard Emacs (24.3.1) on Ubuntu 14.04. DS PPS When you export to HTML, this line: * Org::Parser limitations: _underlined_ ok, but (_should also be u-lined_) Results in this: <li><a href="#sec-4">4 Org::Parser limitations: <span style="text-decoration:underline;">underlined</span> ok, but (<span style="text-decoration:underline;">should also be u-lined</span>)</a> I get a similar result for this: *foo*! DS
Thanks for bringing this up. I'm on Emacs 23.4.1. "(" indeed starts markup, as well as "{", while "<" and "[" do not. I have modified the regex to accept "(" and "{", but for some reason "{" doesn't work. Have added tests for this (with "{" fudged for now). ref: commit a677d26 Regards, Steven On Sat May 24 22:24:43 2014, bernt.budde@gmail.com wrote: Show quoted text
> Hi! > > First, again thanks for a cool module! > > I found a minor problem, which might depend on different Emacs versions? > > Parentheses seems to be OK with markup for bold etc. E.g.: > > ** In this Headline, _this is underlined_ and (*this will be bold*) > > This trivial change seems to work in Org/Document.pm: > - (?<markup_start> (?:(?<=\s)|\A) > + (?<markup_start> (?:(?<=[\s\(])|\A) > > I'll look into this a bit more and will let you know if I find anything > else. (The comment for "markup_end" claims that an "!" stops accepting > markup, but it works for me in Emacs.) > > /Bernt Budde > > PS > I use standard Emacs (24.3.1) on Ubuntu 14.04. > DS > > PPS > When you export to HTML, this line: > * Org::Parser limitations: _underlined_ ok, but (_should also be u-lined_) > > Results in this: > <li><a href="#sec-4">4 Org::Parser limitations: <span > style="text-decoration:underline;">underlined</span> ok, but (<span > style="text-decoration:underline;">should also be u-lined</span>)</a> > > I get a similar result for this: *foo*! > DS
Subject: Re: [rt.cpan.org #95947] Syntax with markup
Date: Thu, 17 Jul 2014 04:52:18 +0300
To: bug-Org-Parser [...] rt.cpan.org
From: Bernt Budde <bernt.budde [...] gmail.com>
Hi, A small note about nitpicking that might be "legally" a bug in Org::Parser. :-) Non-TODO rows can legally have priority [#A] etc. I don't know if this is worth fixing, it should be unusual. (I am rewriting my old start on my small html based editor. I wrote around this with some really ugly code.) /Bernt On Tue, May 27, 2014 at 8:40 AM, steven haryanto via RT < bug-Org-Parser@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=95947 > > > Thanks for bringing this up. > > I'm on Emacs 23.4.1. "(" indeed starts markup, as well as "{", while "<" > and "[" do not. I have modified the regex to accept "(" and "{", but for > some reason "{" doesn't work. Have added tests for this (with "{" fudged > for now). > > ref: commit a677d26 > > Regards, > Steven > > On Sat May 24 22:24:43 2014, bernt.budde@gmail.com wrote:
> > Hi! > > > > First, again thanks for a cool module! > > > > I found a minor problem, which might depend on different Emacs versions? > > > > Parentheses seems to be OK with markup for bold etc. E.g.: > > > > ** In this Headline, _this is underlined_ and (*this will be bold*) > > > > This trivial change seems to work in Org/Document.pm: > > - (?<markup_start> (?:(?<=\s)|\A) > > + (?<markup_start> (?:(?<=[\s\(])|\A) > > > > I'll look into this a bit more and will let you know if I find anything > > else. (The comment for "markup_end" claims that an "!" stops accepting > > markup, but it works for me in Emacs.) > > > > /Bernt Budde > > > > PS > > I use standard Emacs (24.3.1) on Ubuntu 14.04. > > DS > > > > PPS > > When you export to HTML, this line: > > * Org::Parser limitations: _underlined_ ok, but (_should also be
> u-lined_)
> > > > Results in this: > > <li><a href="#sec-4">4 Org::Parser limitations: <span > > style="text-decoration:underline;">underlined</span> ok, but (<span > > style="text-decoration:underline;">should also be u-lined</span>)</a> > > > > I get a similar result for this: *foo*! > > DS
> > > >
I've fixed this and renamed the attribute todo_priority -> priority (although the old name will be supported for a while). On an unrelated note, I've also added progress cookie parsing ('* TODO headline [4/10]') as well. Releasing 0.39. Regards, Steven On Wed Jul 16 21:52:29 2014, bernt.budde@gmail.com wrote: Show quoted text
> Hi, > > A small note about nitpicking that might be "legally" a bug in Org::Parser. > :-) > > Non-TODO rows can legally have priority [#A] etc. I don't know if this is > worth fixing, it should be unusual. > > (I am rewriting my old start on my small html based editor. I wrote around > this with some really ugly code.) > > /Bernt > > > > > On Tue, May 27, 2014 at 8:40 AM, steven haryanto via RT < > bug-Org-Parser@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=95947 > > > > > Thanks for bringing this up. > > > > I'm on Emacs 23.4.1. "(" indeed starts markup, as well as "{", while "<" > > and "[" do not. I have modified the regex to accept "(" and "{", but for > > some reason "{" doesn't work. Have added tests for this (with "{" fudged > > for now). > > > > ref: commit a677d26 > > > > Regards, > > Steven > > > > On Sat May 24 22:24:43 2014, bernt.budde@gmail.com wrote:
> > > Hi! > > > > > > First, again thanks for a cool module! > > > > > > I found a minor problem, which might depend on different Emacs versions? > > > > > > Parentheses seems to be OK with markup for bold etc. E.g.: > > > > > > ** In this Headline, _this is underlined_ and (*this will be bold*) > > > > > > This trivial change seems to work in Org/Document.pm: > > > - (?<markup_start> (?:(?<=\s)|\A) > > > + (?<markup_start> (?:(?<=[\s\(])|\A) > > > > > > I'll look into this a bit more and will let you know if I find anything > > > else. (The comment for "markup_end" claims that an "!" stops accepting > > > markup, but it works for me in Emacs.) > > > > > > /Bernt Budde > > > > > > PS > > > I use standard Emacs (24.3.1) on Ubuntu 14.04. > > > DS > > > > > > PPS > > > When you export to HTML, this line: > > > * Org::Parser limitations: _underlined_ ok, but (_should also be
> > u-lined_)
> > > > > > Results in this: > > > <li><a href="#sec-4">4 Org::Parser limitations: <span > > > style="text-decoration:underline;">underlined</span> ok, but (<span > > > style="text-decoration:underline;">should also be u-lined</span>)</a> > > > > > > I get a similar result for this: *foo*! > > > DS
> > > > > > > >
Subject: Re: [rt.cpan.org #95947] Resolved: Syntax with markup
Date: Thu, 17 Jul 2014 12:18:55 +0300
To: "bug-Org-Parser [...] rt.cpan.org" <bug-Org-Parser [...] rt.cpan.org>
From: Bernt Budde <bernt.budde [...] gmail.com>
♥ :-) Thanks! Sent from my iPad Show quoted text
> On 17 jul 2014, at 09:57, "steven haryanto via RT" <bug-Org-Parser@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=95947 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.