unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15244: eww: Enhance h1, h2 headers etc with text properties
@ 2013-09-02  5:14 Jambunathan K
  2013-09-02  5:24 ` Jambunathan K
  2013-11-15  4:54 ` Jambunathan K
  0 siblings, 2 replies; 3+ messages in thread
From: Jambunathan K @ 2013-09-02  5:14 UTC (permalink / raw)
  To: 15244


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]] 

  





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15244: eww: Enhance h1, h2 headers etc with text properties
  2013-09-02  5:14 bug#15244: eww: Enhance h1, h2 headers etc with text properties Jambunathan K
@ 2013-09-02  5:24 ` Jambunathan K
  2013-11-15  4:54 ` Jambunathan K
  1 sibling, 0 replies; 3+ messages in thread
From: Jambunathan K @ 2013-09-02  5:24 UTC (permalink / raw)
  To: 15244

Jambunathan K <kjambunathan@gmail.com> writes:

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

This is filed as the following request (which is against Core Emacs)

    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15245





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15244: eww: Enhance h1, h2 headers etc with text properties
  2013-09-02  5:14 bug#15244: eww: Enhance h1, h2 headers etc with text properties Jambunathan K
  2013-09-02  5:24 ` Jambunathan K
@ 2013-11-15  4:54 ` Jambunathan K
  1 sibling, 0 replies; 3+ messages in thread
From: Jambunathan K @ 2013-11-15  4:54 UTC (permalink / raw)
  To: 15244-done


OP here.  Closed.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-15  4:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-02  5:14 bug#15244: eww: Enhance h1, h2 headers etc with text properties Jambunathan K
2013-09-02  5:24 ` Jambunathan K
2013-11-15  4:54 ` Jambunathan K

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).