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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#15244: closed (eww: Enhance h1, h2 headers etc with text
 properties)
Date: Fri, 15 Nov 2013 04:55:05 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 15 Nov 2013 10:24:31 +0530
with message-id <87bo1mmfi0.fsf <at> gmail.com>
and subject line Re: bug#15244: eww: Enhance h1, h2 headers etc with text properties
has caused the debbugs.gnu.org bug report #15244,
regarding eww: Enhance h1, h2 headers etc with text properties
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
15244: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15244
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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]] 

  


[Message part 3 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: 15244-done <at> debbugs.gnu.org
Subject: Re: bug#15244: eww: Enhance h1, h2 headers etc with text properties
Date: Fri, 15 Nov 2013 10:24:31 +0530
OP here.  Closed.


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.