From: David Bremner <bremner@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#838283: org-mode: notmuch links are unescaped twice
Date: Mon, 19 Sep 2016 08:41:03 -0300 [thread overview]
Message-ID: <147428526380.28091.6855492593906340869.reportbug@zancas.localnet> (raw)
Package: org-mode
Version: 8.3.4-1
Severity: normal
Tags: patch newcomer upstream
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
org-open-at-point calls org-link-unescape on the search term before
invoking org-notmuch-follow-link, so it's a bad idea to call it again
in org-notmuch-follow-link. In particular this breaks links with '%'
in them.
Here is a definition of org-notmuch-follow-link (from org-notmuch.el)
which seems to work.
(defun org-notmuch-follow-link (search)
"Follow a notmuch link to SEARCH.
Can link to more than one message, if so all matching messages are shown."
(require 'notmuch)
(notmuch-show search))
- -- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages org-mode depends on:
ii emacs24 24.5+1-7
ii emacsen-common 2.0.8
Versions of packages org-mode recommends:
ii texlive-generic-recommended 2016.20160819-2
ii texlive-latex-recommended 2016.20160819-2
Versions of packages org-mode suggests:
pn ditaa <none>
pn org-mode-doc <none>
ii texlive-fonts-recommended 2016.20160819-2
ii texlive-latex-extra 2016.20160819-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQGcBAEBCAAGBQJX387GAAoJEPIClx2kp54sFjkL/RfU0FuMNnY3XqXLR01cybAO
c7yrw5ANvtcmq+B3onOfDaxkW3ZUdKEUzoqLwUs0pitdqBAu+/I4JHsjcdlJgbik
xAMwCHTYeCYqCBSn9PPi6dZF8ciiQnZUyy1sijq5Dhl6vXXJ4h9ZlvGMk2EVuTpf
PEMTYCGAsvn/p6zgKZTBf/CEs8lEnejnHt4zCwvzAm7MujpgrrzDLNF3aMLRMALp
tIcM96E6fg9azXphisiZxxQ0ibEehF/FiPCefjGgzlHKxViD3nrXvAyuzv4WoKGN
3+hQYXm+YensBSCrYOEAkbFXB/BSyCHTx28CEk3oi7zk2dR43Opzc8D4Zv9Dahrs
pZ8jX7mQ3Nv7J25btLlLP95wkrPuY+zRiShhiajeI6Jsl10qXPz1NIeeKgwqkLs6
0uOUlEbg/84z2M3PEF7U3Xq0X53DvE03SOmbUr1MO7128jH7dqoX69+eyCgvMe1c
4MVCVYlbicilleWvVVIDynr+hQCtwoFO8JYbXtBl/w==
=pH5f
-----END PGP SIGNATURE-----
reply other threads:[~2016-09-19 11:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=147428526380.28091.6855492593906340869.reportbug@zancas.localnet \
--to=bremner@debian.org \
--cc=838283@bugs.debian.org \
--cc=submit@bugs.debian.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 public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).