From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Thompson Subject: Re: org-remember-AFTER-finalize-hook , anyone? Date: Sat, 30 Jan 2010 10:23:20 -0800 Message-ID: <2a4ba2fd1001301023g6ab70661l529733de212f2b64@mail.gmail.com> References: <20100130165419.GA9466@usha.takhisis.invalid> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0445596312==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbHyy-0008Ji-85 for emacs-orgmode@gnu.org; Sat, 30 Jan 2010 13:23:44 -0500 Received: from [199.232.76.173] (port=51684 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbHyx-0008JZ-QE for emacs-orgmode@gnu.org; Sat, 30 Jan 2010 13:23:43 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbHyv-0003bV-R5 for emacs-orgmode@gnu.org; Sat, 30 Jan 2010 13:23:43 -0500 Received: from mail-iw0-f185.google.com ([209.85.223.185]:58714) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbHyv-0003bH-FB for emacs-orgmode@gnu.org; Sat, 30 Jan 2010 13:23:41 -0500 Received: by iwn15 with SMTP id 15so1841781iwn.10 for ; Sat, 30 Jan 2010 10:23:40 -0800 (PST) In-Reply-To: <20100130165419.GA9466@usha.takhisis.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stefano Zacchiroli Cc: emacs-orgmode@gnu.org --===============0445596312== Content-Type: multipart/alternative; boundary=001485ea3c14f41157047e65d9d9 --001485ea3c14f41157047e65d9d9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ooh, I solved this problem before, but then I accidentally deleted all my files. I have a backup, but I haven't gotten around to restoring everything yet. I'll get back to you later. -Ryan On Sat, Jan 30, 2010 at 8:54 AM, Stefano Zacchiroli wrote= : > Short summary: I'd like to have a org-remember-after-finalize-hook which > is invoked *after* remember-finalize in function org-remember-finalize. > Does it exist and I've missed it or there is a work-around for its lack? > > In more detail, my use case is that I invoke remember from mutt (more on > this when I've solved this last remaining issue) to store org notes > which have backlink to the originating mail. To that end, I use > org-protocol with emacsclient, invoking the following pseudo command: > > emacsclient -t 'org-protocol:/remember:/m/mutt:$mid/mail/$note_body' > > It works fine. However, after having hit C-c C-c , only the org-mode > *window* goes away, whereas the whole emacsclient instance stays around, > usually with the scratch buffer. Given that I've invoked it only to > execute org-protocol, it would be nice for the whole emacsclient > instance to go away at the end. > > Having the requested hook I can hack a command which close the whole > frame. > > Additionally I wonder: isn't this a bug in org-protocol? Can't it just > use the whole frame and make it go away at the end? > > TIA, > Cheers. > > -- > Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 > zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/ > Dietro un grande uomo c'=E8 ..| . |. Et ne m'en veux pas si je te tutoi= e > sempre uno zaino ...........| ..: |.... Je dis tu =E0 tous ceux que j'aim= e > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --001485ea3c14f41157047e65d9d9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ooh, I solved this problem before, but then I accidentally deleted all my f= iles. I have a backup, but I haven't gotten around to restoring everyth= ing yet. I'll get back to you later.

-Ryan

On Sat, Jan 30, 2010 at 8:54 AM, Stefano Zacchiroli <z= ack@upsilon.cc> wrote:
Short summary: I'd like to have a org-remember-after-finalize-hook whic= h
is invoked *after* remember-finalize in function org-remember-finalize.
Does it exist and I've missed it or there is a work-around for its lack= ?

In more detail, my use case is that I invoke remember from mutt (more on this when I've solved this last remaining issue) to store org notes
which have backlink to the originating mail. To that end, I use
org-protocol with emacsclient, invoking the following pseudo command:

=A0emacsclient -t 'org-protocol:/remember:/m/mutt:$mid/mail/$note_body= '

It works fine. However, after having hit C-c C-c , only the org-mode
*window* goes away, whereas the whole emacsclient instance stays around, usually with the scratch buffer. Given that I've invoked it only to
execute org-protocol, it would be nice for the whole emacsclient
instance to go away at the end.

Having the requested hook I can hack a command which close the whole
frame.

Additionally I wonder: isn't this a bug in org-protocol? Can't it j= ust
use the whole frame and make it go away at the end?

TIA,
Cheers.

--
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 zack@{upsilon.cc,pps.ju= ssieu.fr,debian.org= } -<>- http://u= psilon.cc/zack/
Dietro un grande uomo c'=E8 ..| =A0. =A0|. Et ne m'en veux pas si j= e te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu =E0 tous ceux que j'a= ime


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--001485ea3c14f41157047e65d9d9-- --===============0445596312== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0445596312==--