[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp to open a line-wrapped URL
From: |
Yuri Khan |
Subject: |
Re: Elisp to open a line-wrapped URL |
Date: |
Mon, 26 Feb 2018 12:02:21 +0700 |
On Sun, Feb 25, 2018 at 6:53 AM, ckhan <charleykhan@gmail.com> wrote:
> 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?
You might be able to solve this for yourself using Emacs.
What about other people who read your code: using other editors? …in a
mail client? …on the web?
Do them a favor and keep your URLs unwrapped.