[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
advice vs hooks in org (was DWIM region)
From: |
Rusi |
Subject: |
advice vs hooks in org (was DWIM region) |
Date: |
Mon, 8 Jan 2018 08:09:50 -0800 (PST) |
User-agent: |
G2/1.0 |
On Friday, January 5, 2018 at 4:33:59 AM UTC+5:30, Emanuel Berg wrote:
> Kaushal Modi wrote:
>
> > (defun modi/advice-region-or-whole (orig-fun
> > &rest args) "Advice function that applies
>
> Sweet heaven! Advices make you crazy sooner
> rather than later... And especially for this
> simple task I dare not imagine how the rest of
> your system ever sticks together. But TEHO, of
> course...
This reminds me…
I find that org-protocol uses advice on server-visit-files to work
Would it not have been possible to do it cleaner using the various server-hooks?
[Ive spent the last several days trying to get it to work.
Its particularly rough going since have to debug across firefox and emacs
]
- count regexp hits, Emanuel Berg, 2018/01/03
- RE: count regexp hits, Drew Adams, 2018/01/04
- Message not available
- Re: count regexp hits, Emanuel Berg, 2018/01/04
- Re: DWIM region (was: Re: count regexp hits), Kaushal Modi, 2018/01/04
- Message not available
- Re: DWIM region (was: Re: count regexp hits), Emanuel Berg, 2018/01/04
- Re: DWIM region (was: Re: count regexp hits), Kaushal Modi, 2018/01/04
- Message not available
- Re: DWIM region (was: Re: count regexp hits), Emanuel Berg, 2018/01/04
- advice vs hooks in org (was DWIM region),
Rusi <=
- Message not available
- Re: DWIM region, Emanuel Berg, 2018/01/04
- Re: DWIM region, Stefan Monnier, 2018/01/04
- Message not available
- Re: DWIM region, Emanuel Berg, 2018/01/04
- Re: DWIM region, Emanuel Berg, 2018/01/04
- Message not available
- Re: DWIM region, Emanuel Berg, 2018/01/05
- Re: DWIM region, Stefan Monnier, 2018/01/05
- Message not available
- Re: DWIM region, Emanuel Berg, 2018/01/05
- Re: DWIM region, Stefan Monnier, 2018/01/06
- Message not available
- Re: DWIM region, Emanuel Berg, 2018/01/06
- Message not available
- Re: DWIM region, Emanuel Berg, 2018/01/06