From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ckhan Newsgroups: gmane.emacs.help Subject: Elisp to open a line-wrapped URL Date: Sat, 24 Feb 2018 15:53:15 -0800 (PST) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1519516406 23395 195.159.176.226 (24 Feb 2018 23:53:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Feb 2018 23:53:26 +0000 (UTC) Injection-Date: Sat, 24 Feb 2018 23:53:15 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 25 00:53:22 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epjd4-0005e0-7W for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2018 00:53:22 +0100 Original-Received: from localhost ([::1]:52264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epjf6-0002HS-O8 for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Feb 2018 18:55:28 -0500 X-Received: by 10.200.81.215 with SMTP id d23mr4932477qtn.31.1519516395584; Sat, 24 Feb 2018 15:53:15 -0800 (PST) X-Received: by 10.31.48.198 with SMTP id w189mr663578vkw.1.1519516395428; Sat, 24 Feb 2018 15:53:15 -0800 (PST) Original-Path: usenet.stanford.edu!q21no4113832qtn.1!news-out.google.com!m4ni8867qte.0!nntp.google.com!t24no1228507qtn.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.130.71.1; posting-account=XMo5DQkAAAApA8Qtlaw8jKDsIFzKQegf Original-NNTP-Posting-Host: 24.130.71.1 Original-Xref: usenet.stanford.edu gnu.emacs.help:221958 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:116073 Archived-At: Say I like wrapping my code at 80cols. But say I also occasionally include URLs in comments . So I might wind up with something like this # See also Google Drive generated py docs: # https://developers.google.com/resources/api-libraries/ # documentation/drive/v2/python/latest/ # drive_v2.permissions.html#insert How do I teach emacs to open the URL that is near my cursor, even though it's split across lines with comment markers in between?