From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Search StackOverflow and paste code snippets without leaving the edited file Date: Sun, 05 Jan 2014 03:05:17 +0100 Organization: Aioe.org NNTP Server Message-ID: <871u0ni3nt.fsf@nl106-137-194.student.uu.se> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388887812 15461 80.91.229.3 (5 Jan 2014 02:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jan 2014 02:10:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 05 03:10:20 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 1VzdAP-0006vG-Ld for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jan 2014 03:10:17 +0100 Original-Received: from localhost ([::1]:56362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzdAP-0005fc-4V for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Jan 2014 21:10:17 -0500 Original-Path: usenet.stanford.edu!goblin3!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 54 Original-NNTP-Posting-Host: VVbyYd/iFZoeWNmD9i++cQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:rP1RS67id+8AXV59irEQ7L9e4sE= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:202992 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:95261 Archived-At: Andrey Tykhonov writes: > First of all because it is small enough, in my > opinion, to be a major mode. It contains in itself > only three key bindings. So I decided that minor mode > will be appropriate. First of all, this project seems to be an absolute *killer*! M-a-r-v-e-l-o-u-s! As for major mode or not, I don't see why this should not be a major mode. Weather it should be a major mode or a minor mode is not a function of the project's size, but *character*. Why don't make a whole interface around this tool with one-key strokes? I.e., not `C-x p' or the like for previous question, but simply `p'. If you want this module to be reached from other modes, you can have that *interface* a minor mode, because this module truly reaches over the entire span of computer activity. Some other thoughts: I can't stand web browsers for a thousand real and imagined reasons, but there is no denying the human "weight" does make the web indispensable. Gnus and Usenet, for example, should be a hundred times better than the hysterical SX sites, but because of the popularity of those sites, and the marginalization of lots of Usenet newsgroups (or Google groups, now), it doesn't matter. It is just reality. It is hard to beat thousands of programmers who are eager to prove themselves and are neurotic about their "reputation". Sad state, but submit a question - one second later, you have a correct answer. Like I said, hard to beat. With tools like this, perhaps in time, we can have "the best of both worlds". If you like, check out some interface hacks I did to w3m [1]. It is all about getting the contents of Google searches, YouTube, Pirate Bay, Wikipedia, etc., and to have that integrated with you Emacs buffer (the region, or word-at-point, to fire off searches). It has been working good for me, though your project is a big leap beyond those mere interfaces. Anyway, keep it up :) [1] http://user.it.uu.se/~embe8573/conf/.emacs-w3m -- underground experts united: http://user.it.uu.se/~embe8573