all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Silvio Levy <levy@msri.org>
To: Dennis Lin <dennis@djlin.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How do I avoid the line-wrap character?
Date: Tue, 06 Mar 2012 23:39:00 -0800	[thread overview]
Message-ID: <20120307073901.0A6BB180DF3@neo.msri.org> (raw)
In-Reply-To: Your message of Wed, 7 Mar 2012 00:01:25 -0600


> 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





             reply	other threads:[~2012-03-07  7:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07  7:39 Silvio Levy [this message]
2012-03-07 18:21 ` How do I avoid the line-wrap character? Dennis Lin
  -- strict thread matches above, loose matches on Subject: below --
2012-03-07  6:01 Dennis Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120307073901.0A6BB180DF3@neo.msri.org \
    --to=levy@msri.org \
    --cc=dennis@djlin.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.