From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrey Tykhonov Newsgroups: gmane.emacs.help Subject: Fwd: Search StackOverflow and paste code snippets without leaving the edited file Date: Fri, 27 Dec 2013 23:40:05 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1388180438 29951 80.91.229.3 (27 Dec 2013 21:40:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2013 21:40:38 +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 Dec 27 22:40:46 2013 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 1Vwf9C-00082d-7J for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2013 22:40:46 +0100 Original-Received: from localhost ([::1]:50362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwf9B-0005iA-QK for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2013 16:40:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwf8v-0005hz-9q for help-gnu-emacs@gnu.org; Fri, 27 Dec 2013 16:40:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vwf8t-00054O-4G for help-gnu-emacs@gnu.org; Fri, 27 Dec 2013 16:40:29 -0500 Original-Received: from mail-oa0-x230.google.com ([2607:f8b0:4003:c02::230]:63537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwf8s-00053s-IY for help-gnu-emacs@gnu.org; Fri, 27 Dec 2013 16:40:26 -0500 Original-Received: by mail-oa0-f48.google.com with SMTP id l6so10043823oag.7 for ; Fri, 27 Dec 2013 13:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ldDBsd3gcQ8Kr/ppyGtwy1uDHWqT3J2qfCXHVwXr1S4=; b=mw7W62fCVz6vErB6BCCjI6p9Nf01r9DlH3ZUNH7DNafIk4Zn1dadBdBGQEjzxoQ6qu u5I45tGGFDQ7sH1jaTUs5StVWC7O642jMKZCJmpoAB8hJeWpTwcXhiTmadw33bhoqiOp pMxmmQaUXnORqLD1ZZqqBU1vllEWTr6GRW0Tbh16RmD35cOwEgGJ2Ul59U5pr8VFGH5s qNwFmnhetba5556GiYPCSoiD9qFm91/jKyUWh5CJV2i5f+G5dIT8oOAlTZ0UQ14C9SKU QzrdMIf/Dw3pHRtXWOXrisjceJ/LfBIkx1aPqSxot1QLeqfQnlT6Stokezk5Jk6omunA 3oFw== X-Received: by 10.182.213.97 with SMTP id nr1mr10543952obc.48.1388180425763; Fri, 27 Dec 2013 13:40:25 -0800 (PST) Original-Received: by 10.76.169.42 with HTTP; Fri, 27 Dec 2013 13:40:05 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:95174 Archived-At: (Forgot include help-gnu-emacs in CC) 2013/12/27 Andrey Tykhonov > Hi York Zhao! > > Thanks for such detailed description of the issues which you've > experienced during `howdoi` installation. Thank you that you've posted this > here! > > Your letter for me is the strong reason why python' `howdoi` needs to be > excluded from `emacs-howdoi` dependencies. > > And I'm currently working on this. So `emacs-howdoi` will be working > without `python-howdoi` and thus `python-howdoi` will be not required to be > installed any more. I have already implemented some prototype and I'm going > to finish it during next several days... May be even today I'll provide > some basic version, will see... Please wait. > > P.S. Well, I were using linux and I've installed `howdoi` from the system > repository. And it works just good for me without any issues. I took a look > at the source of `python-howdoi` and the message "Sorry, couldn't find > any help with that topic" doesn't bring me any idea why it behaves so. (May > be in spare time I'll try to reproduce and investigate it on windows). By > the way if you still want to install `python-howdoi` you could try via > `python setup.py install` as you did. Just before it install setuptools: > download https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py and > execute by means of python. However I'm not sure that that will be helpful. > > > Thank you! > > > Andrey > > > 2013/12/27 York Zhao > >> Hi Andrey Tykhonov, >> >> Thank for introducing the "howdoi", sounds cool so I decided to give it a >> shot. >> >> I forked the "howdoi" repository first and followed the installation >> instruction, in bash from msysGit I typed: >> >> $ python setup.py install >> >> And I got the following error: >> >> Traceback (most recent call last): >> File "setup.py", line 3, in >> from setuptools import setup, find_packages >> ImportError: No module named setuptools >> >> So I downloaded "A standalone Windows executable with the howdoi >> application" >> from their link at github, I tried all their examples, but always got the >> response "Sorry, couldn't find any help with that topic". For example, I >> typed: >> >> $ howdoi -a format date bash >> >> And I got: >> >> Sorry, couldn't find any help with that topic >> >> I'm sorry I should have posted this to "howdoi" but I just thought you >> were >> using Windows as well and so I just wanted to see if you have a quick >> answer to >> my problem. >> >> >> Thanks in advance, >> >> York >> >> On Fri, Dec 27, 2013 at 4:54 AM, Andrey Tykhonov >> wrote: >> > Hi Tom, >> > >> > I was glad to find your letter in the inbox about idea to write a port >> for >> > sublime-howdoi-direct-paste. I was looking for some small Emacs project >> to >> > implement. And I decided to implement howdoi for emacs. >> > >> > Check out the emacs-howdoi: https://github.com/atykhonov/emacs-howdoi >> > >> > I wrote it last night. This is my first Emacs package and I'm relatively >> > new in Emacs/elisp... Therefore any comments due to code (and >> functionality >> > overall), suggestions, ideas about new features etc etc etc will be >> highly >> > appreciated. >> > >> > >> > Thank you! >> > >> > >> > Andrey T. >> > >> >> Check out the animgif demonstration here: >> > >> >> https://github.com/azac/sublime-howdoi-direct-paste[1] >> > >> >> It can be a good little Emacs project for the holidays if someone >> >> wants to do a port. >> > >> > >> >> (And I know: you shouldn't copy code blindly from the internet. It's >> >> only a convenience tool for quickly fethcing trivial code and >> >> modifying it for your own purposes. People who copy code blindly can >> >> also do it manually after all.) >> > >