From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: `#` in org mode links doesn't open correctly? Date: Tue, 8 Apr 2014 08:53:03 -0400 Message-ID: References: <87mwfw1cp5.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1396961755 29261 80.91.229.3 (8 Apr 2014 12:55:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2014 12:55:55 +0000 (UTC) Cc: emacs To: Thorsten Jolitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 08 14:55:52 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 1WXVZ8-0001Uc-CG for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2014 14:55:50 +0200 Original-Received: from localhost ([::1]:40048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXVZ7-0001V8-LI for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2014 08:55:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXVX7-0006r0-4F for help-gnu-emacs@gnu.org; Tue, 08 Apr 2014 08:53:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXVX6-0007Gw-17 for help-gnu-emacs@gnu.org; Tue, 08 Apr 2014 08:53:45 -0400 Original-Received: from mail-qc0-x22f.google.com ([2607:f8b0:400d:c01::22f]:36283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXVX5-0007Ga-Tf for help-gnu-emacs@gnu.org; Tue, 08 Apr 2014 08:53:43 -0400 Original-Received: by mail-qc0-f175.google.com with SMTP id e16so851073qcx.6 for ; Tue, 08 Apr 2014 05:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5I8cwAZlA4ENXua27PPKC8lzkOFlNxsSeGBP+rnLrng=; b=mvYBLvjUfMt97oEWYG8/OoeMIRRK2Fl//PMOh7RE8norpIs2EDV0ZaM6aOHiv0KQrB m1j9tVw8BprPu64VYOzIg0Y+YsqQKW1e7qehOxTrQktir84bZgsZx8uQJzuaEuYtuw7a sQdyGVInmB7jyR+IcZ5VImAaJh7d3YctVBmpT8e0ybYJjOp8ogpbD1rT64uwmun9kM/n zS6ATDkZah2jOvDGqYm2GtraGktEzQR01PPjA+HE9e83x0UnoUjpDihMU65rMySr0ODA jHS09yaldLc90lIUnNFnPElUd9N9bH1Rje4ob6Bwt7O08qPOhdHAyqX1T6DmsNRn4cEe rF7Q== X-Received: by 10.140.86.168 with SMTP id p37mr3875802qgd.23.1396961623335; Tue, 08 Apr 2014 05:53:43 -0700 (PDT) Original-Received: by 10.140.101.151 with HTTP; Tue, 8 Apr 2014 05:53:03 -0700 (PDT) In-Reply-To: <87mwfw1cp5.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::22f 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:97039 Archived-At: On Tue, Apr 8, 2014 at 3:51 AM, Thorsten Jolitz wrote: > Tim Visher writes: > >> I'm putting together a reading list file for SICP and I'm linking >> directly to the HTML version of the book. >> >> Many of the links include target data with them (i.e. >> `link#some-target`) and when I call `org-open-at-point` it corrupts >> the link by incorrectly converting `#` to `%23`. >> >> How can I get this to behave properly? > > I just switched to outorg and used C-c C-l to insert this link with > Org-mode: > > [[http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%25_sec_1.1.5][SICP-LINK]] > > which looks like this when copied from w3m: > > ,------------------------------------------------------------------------- > | http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.5 > `------------------------------------------------------------------------- > > but the Org link, besided being modified, works with org-open-at-point > or w3m-browse-url for me, so it does not really seem to be corrupted? What do you mean, 'besides being modified'? I'm on `GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0)`. Any chance you're on a more recent version and this is a bug that was fixed? I just confirmed that if I drop into fundamental mode and directly use browse-url-at-point, the behavior still happens. I'm using Chrome as my browser. -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail