GNU bug report logs - #15244
eww: Enhance h1, h2 headers etc with text properties

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Mon, 2 Sep 2013 05:14:01 UTC

Severity: wishlist

Done: Jambunathan K <kjambunathan <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jambunathan K <kjambunathan <at> gmail.com>
To: 15244 <at> debbugs.gnu.org
Subject: bug#15244: eww: Enhance h1, h2 headers etc with text properties
Date: Mon, 02 Sep 2013 10:44:59 +0530
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]] 

  




This bug report was last modified 10 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.