flyspell faces and printing

View: New views
2 Messages — Rating Filter:   Alert me  

flyspell faces and printing

by Nathaniel Cunningham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just realized that words marked by flyspell (same approach is also used with new spellchecking functions) are printed with their yellow or orange, underlined face intact.  Can we specify that faces `flyspell-incorrect' and `flyspell-duplicate' should be ignored when printing?  Should we?

--Nathaniel

_______________________________________________
Aquamacs-devel mailing list
Aquamacs-devel@...
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-devel

Re: flyspell faces and printing

by davidswelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 19, 2009, at 10:50 AM, Nathaniel Cunningham wrote:

> I just realized that words marked by flyspell (same approach is also  
> used with new spellchecking functions) are printed with their yellow  
> or orange, underlined face intact.  Can we specify that faces  
> `flyspell-incorrect' and `flyspell-duplicate' should be ignored when  
> printing?  Should we?

I would add a customization variable `htmlize-ignore-faces' to  
htmlize, and then modify `htmlize-faces-at-point' to simply filter out  
all faces that are listed in the variable.
 
_______________________________________________
Aquamacs-devel mailing list
Aquamacs-devel@...
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-devel