Bug#844375: mu4e: can no longer store org-mode links

2016-11-16 Thread Norbert Preining
> Installed 0.9.17-1 and my problem has gone away.

Thanks for the confirmation!

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#844375: mu4e: can no longer store org-mode links

2016-11-16 Thread Olaf Meeuwissen
Norbert Preining writes:

>> A pre-release for 0.9.18 was made available 10 days ago ;-)
>
> Indeed, uploading in a second ... ;-)

Installed 0.9.17-1 and my problem has gone away.

Thanks!
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- EPSON AVASYS CORPORATION
   Free Software Foundation Associate Member since 2004-01-27
Support Free Software  https://my.fsf.org/donate
Join the Free Software Foundationhttps://my.fsf.org/join



Bug#844375: mu4e: can no longer store org-mode links

2016-11-15 Thread Norbert Preining
> A pre-release for 0.9.18 was made available 10 days ago ;-)

Indeed, uploading in a second ... ;-)

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#844375: mu4e: can no longer store org-mode links

2016-11-15 Thread Olaf Meeuwissen
Hi Norbert,

Norbert Preining writes:

> tags 844375 + fixed-upstream
> thanks
>
> Hi Olaf,
>
>> As of this morning's upgrade of org-mode to 9.0, org-mu4e no longer
>
> Yes, this is known and fixed in upstream.
>
> Can you try the attached patch and see if that helps? (Sorry, not using
> org mode and mu4e, so I cannot really test it).

I'd love to but it fails to apply.  I'm using mu4e-0.9.16.1.

> If the patch works I can make an intermediate release with this fixed,
> but I really would like to see an upstream release ;-)

A pre-release for 0.9.18 was made available 10 days ago ;-)

  https://github.com/djcb/mu/releases/tag/0.9.17

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- EPSON AVASYS CORPORATION
   Free Software Foundation Associate Member since 2004-01-27
Support Free Software  https://my.fsf.org/donate
Join the Free Software Foundationhttps://my.fsf.org/join



Bug#844375: mu4e: can no longer store org-mode links

2016-11-14 Thread Norbert Preining
tags 844375 + fixed-upstream
thanks

Hi Olaf,

> As of this morning's upgrade of org-mode to 9.0, org-mu4e no longer

Yes, this is known and fixed in upstream.

Can you try the attached patch and see if that helps? (Sorry, not using
org mode and mu4e, so I cannot really test it).

If the patch works I can make an intermediate release with this fixed,
but I really would like to see an upstream release ;-)

Thanks

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
diff --git a/mu4e/org-mu4e.el b/mu4e/org-mu4e.el
index cbb1697..4691614 100644
--- a/mu4e/org-mu4e.el
+++ b/mu4e/org-mu4e.el
@@ -117,16 +117,14 @@ Example usage:
 :description (funcall org-mu4e-link-desc-func msg))
 link
 
-(org-add-link-type "mu4e" 'org-mu4e-open)
-(add-hook 'org-store-link-functions 'org-mu4e-store-link)
-
 ;; org-add-link-type is obsolete as of org-mode 9.
 ;; Instead we will use the org-link-set-parameters method
 (if (fboundp 'org-link-set-parameters)
 (org-link-set-parameters "mu4e"
 			 :follow #'org-mu4e-open
-			 :store #'org-mu4e-store-link))
-
+			 :store #'org-mu4e-store-link)
+  (org-add-link-type "mu4e" 'org-mu4e-open)
+  (add-hook 'org-store-link-functions 'org-mu4e-store-link))
 
 (defun org-mu4e-open (path)
   "Open the mu4e message (for paths starting with 'msgid:') or run


Bug#844375: mu4e: can no longer store org-mode links

2016-11-14 Thread Olaf Meeuwissen
Package: mu4e
Version: 0.9.16-1
Severity: normal

Dear Maintainer,

As of this morning's upgrade of org-mode to 9.0, org-mu4e no longer
works.  Whenever I try to store a link I get

  No method for storing a link from this buffer

This happens in the header as well as in the message view.

The org-mu4e.el code mentions it assumes 8.x so this is probably
something for upstream.

Seeing that I rely quite heavily on this functionality, I was tempted to
make this a Severity: important ...

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mu4e depends on:
ii  dpkg1.18.10
ii  emacsen-common  2.0.8
ii  maildir-utils   0.9.16-1+b1

mu4e recommends no packages.

mu4e suggests no packages.

-- no debconf information

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- EPSON AVASYS CORPORATION
   Free Software Foundation Associate Member since 2004-01-27
Support Free Software  https://my.fsf.org/donate
Join the Free Software Foundationhttps://my.fsf.org/join