From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Presnell Subject: Re: Can't store link in mu4e Date: Sun, 04 Sep 2016 16:02:16 -0400 Message-ID: <877farjuwn.fsf@ufl.edu> References: <87fupk3kee.fsf@ufl.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgdcX-0006Tf-VF for emacs-orgmode@gnu.org; Sun, 04 Sep 2016 16:02:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgdcR-0004x9-OX for emacs-orgmode@gnu.org; Sun, 04 Sep 2016 16:02:24 -0400 Received: from smtp-prod06.osg.ufl.edu ([128.227.74.254]:40490 helo=smtp.ufl.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgdcR-0004x4-IM for emacs-orgmode@gnu.org; Sun, 04 Sep 2016 16:02:19 -0400 Received: from xps8500 (ip24-250-159-23.ga.at.cox.net [24.250.159.23]) (authenticated bits=0) by smtp.ufl.edu (8.14.4/8.14.4/3.0.0) with ESMTP id u84K2GIJ060453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 4 Sep 2016 16:02:17 -0400 In-reply-to: <87fupk3kee.fsf@ufl.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org Mode After looking into this more carefully, I learned that org-add-link-type is deprecated. In case anyone else runs into this, the solution is to edit org-mu4e.el, replacing the lines (org-add-link-type "mu4e" 'org-mu4e-open) (add-hook 'org-store-link-functions 'org-mu4e-store-link) with the single line (org-link-set-parameters "mu4e" :follow #'org-mu4e-open :store #'org-mu4e-store-link) I'll report this to the mu developer in case he isn't already aware of the upcoming change in org mode. I wonder if org-mu4e.el wouldn't be better maintained as a part of org (like org-gnus.el and org-mew.el) rather than as a part of mu4e. Brett Presnell writes: > I pulled the latest org from git a few days ago. Now I can no longer > store links to email messages in mu4e with "C-c l". The message I get > is > > No method for storing a link from this buffer > > Nothing else has changed, and I am still able to pull up email message > by clicking on (old) links in org files, and org-capture of email > messages still works with "C-c c". > > I'm running > > mu/mu4e version 0.9.17 from github > > and a snapshot of GNU Emacs 25 > > GNU Emacs 25.1.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of > 2016-08-23 > > Any ideas? I really depend on this functionality.