From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.help Subject: Re: Search StackOverflow and paste code snippets without leaving =?utf-8?b?dGhlCWVkaXRlZA==?= file Date: Fri, 10 Jan 2014 16:49:43 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1389372643 16208 80.91.229.3 (10 Jan 2014 16:50:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2014 16:50:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 10 17:50:49 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1fIF-0001iV-Vp for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jan 2014 17:50:48 +0100 Original-Received: from localhost ([::1]:57728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1fIF-0001Wq-JH for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jan 2014 11:50:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1fHl-0001W5-3l for help-gnu-emacs@gnu.org; Fri, 10 Jan 2014 11:50:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1fHe-0000TC-VC for help-gnu-emacs@gnu.org; Fri, 10 Jan 2014 11:50:17 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1fHe-0000T4-O7 for help-gnu-emacs@gnu.org; Fri, 10 Jan 2014 11:50:10 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W1fHZ-0000jP-NW for help-gnu-emacs@gnu.org; Fri, 10 Jan 2014 17:50:05 +0100 Original-Received: from 94-21-223-5.pool.digikabel.hu ([94.21.223.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jan 2014 17:50:05 +0100 Original-Received: from adatgyujto by 94-21-223-5.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jan 2014 17:50:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.223.5 (Opera/9.80 (Windows NT 6.1) Presto/2.12.388 Version/12.16) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95335 Archived-At: Andrey Tykhonov gmail.com> writes: > > Great! I'll add this code snippet to the README. It makes howdoi much more > usable. How do you think: may be it would be good idea to integrate this > code with howdoi? Of course in case of helm availability. You can add the helm source definition to howdoi and a function howdoi-helm query which in the first lines requires the needed helm packages and the calls helm with howdoi. If the user has helm installed then it works seamlessly and if he doesn't then he'll get an error message saying helm cannot be loaded, so he knows helm should be installed. > Also in general transformed answers looks much more > better then before. (I keep going without any third party > dependencies). According to the first line of this emacswiki page emacs 24.4 has a html renderer built-in. You could check its availability and fall back to your own solution if it's not available: http://www.emacswiki.org/emacs/HtmlRenderingā€ˇ I haven't tried it, but I guess it covers a lot of cases which can occur in HTML docs.