Subject: bug#15244: closed (Re: bug#15244: eww: Enhance h1, h2 headers etc with text properties)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 15 Nov 2013 04:55:07 +0000

Your bug report

#15244: eww: Enhance h1, h2 headers etc with text properties

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
15244: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15244
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#15244: eww: Enhance h1, h2 headers etc with text properties
From: Jambunathan K <[email-masked]>
To: [email-masked]
Date: Fri, 15 Nov 2013 10:24:31 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

OP here.  Closed.

Subject: eww: Enhance h1, h2 headers etc with text properties
From: Jambunathan K <[email-masked]>
To: [email-masked]
Date: Mon, 02 Sep 2013 10:44:59 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Use case: 

Use eww to import HTML document in to Org format (or arbitrary text
markup format), the dirty way.

----------------------------------------------------------------

How can it be achieved:

1.  The *eww* buffer can slap text properties (like :h1, :h2, :bold) etc
    on to the rendered text.

2. Emacs can offer a search and replace based on *Text Properties*.

   This way I can do, 

   - Search for a text with *italic* face

     Replace it with

        /underlying text/

   - Search for all text with h1

     Replace it with 
     
        * underlying text for h1

  - Search for all text with h2

     Replace it with 
     
        ** underlying text for h2
              
  - Search for a hyperlink

    Replace it with

        [[:href of underlying text][underlying text]]