From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Silvio Levy Newsgroups: gmane.emacs.help Subject: Re: How do I avoid the line-wrap character? Date: Tue, 06 Mar 2012 23:39:00 -0800 Message-ID: <20120307073901.0A6BB180DF3@neo.msri.org> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1331105980 2850 80.91.229.3 (7 Mar 2012 07:39:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2012 07:39:40 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Dennis Lin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 07 08:39:39 2012 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 1S5BTD-0003HP-H8 for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Mar 2012 08:39:35 +0100 Original-Received: from localhost ([::1]:36609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5BTC-00068A-HG for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Mar 2012 02:39:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5BT7-00067y-FX for help-gnu-emacs@gnu.org; Wed, 07 Mar 2012 02:39:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5BSj-0005Pf-Ew for help-gnu-emacs@gnu.org; Wed, 07 Mar 2012 02:39:29 -0500 Original-Received: from spike.lmi.net ([66.117.140.17]:54852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5BSj-0005PQ-96 for help-gnu-emacs@gnu.org; Wed, 07 Mar 2012 02:39:05 -0500 Original-Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id BC90A1540A7; Tue, 6 Mar 2012 23:39:01 -0800 (PST) Original-Received: by neo.msri.org (Postfix, from userid 1000) id 0A6BB180DF3; Tue, 6 Mar 2012 23:39:00 -0800 (PST) Original-Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id D66671806F1; Tue, 6 Mar 2012 23:39:00 -0800 (PST) In-reply-to: Your message of Wed, 7 Mar 2012 00:01:25 -0600 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.17 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:83963 Archived-At: > I was wondering if anyone knows of a better way. I isolate the URL on a line by itself (if it's in a buffer that I don't mind messing up -- otherwise I copy it to *scratch*). Then I edit it so it reads x 'long://and.complicated&url' Then I use M-| to feed the line to the shell. (x is my alias for the browser executable, which either opens the browser or adds a new tab if already open.) Undoubtedly this can be all be put into a single function, but I've been too lazy to do it. For now this method feels very natural, because I use M-| for all sorts of other things anyway. Silvio