[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] “Match data clobbered by buffer modification hooks”
From: |
Nicolas Goaziou |
Subject: |
Re: [O] “Match data clobbered by buffer modification hooks” |
Date: |
Tue, 01 Nov 2016 15:30:58 +0100 |
Saša Janiška <address@hidden> writes:
> Not sure how I’m supposed to do it? Writing some custom function?
> Where?
Evaluate the following function (C-x C-e) and test again.
(defun org--align-node-property ()
"Align node property at point.
Alignment is done according to `org-property-format', which see."
(save-match-data
(when (save-excursion
(beginning-of-line)
(looking-at org-property-re))
(replace-match
(concat (match-string 4)
(org-trim
(format org-property-format (match-string 1) (match-string
3))))
t t))))
Regards,
- Re: [O] “Match data clobbered by buffer modification hooks”, Saša Janiška, 2016/11/01
- Re: [O] “Match data clobbered by buffer modification hooks”, Saša Janiška, 2016/11/01
- Re: [O] “Match data clobbered by buffer modification hooks”, Nicolas Goaziou, 2016/11/01
- Re: [O] “Match data clobbered by buffer modification hooks”, Saša Janiška, 2016/11/01
- Re: [O] “Match data clobbered by buffer modification hooks”,
Nicolas Goaziou <=
- Re: [O] “Match data clobbered by buffer modification hooks”, Saša Janiška, 2016/11/01
- Re: [O] “Match data clobbered by buffer modification hooks”, Saša Janiška, 2016/11/13
- Re: [O] “Match data clobbered by buffer modification hooks”, Nicolas Goaziou, 2016/11/13
- Re: [O] “Match data clobbered by buffer modification hooks”, Saša Janiška, 2016/11/14
- Re: [O] “Match data clobbered by buffer modification hooks”, Nicolas Goaziou, 2016/11/14
- Re: [O] “Match data clobbered by buffer modification hooks”, Saša Janiška, 2016/11/14
- Re: [O] “Match data clobbered by buffer modification hooks”, Nicolas Goaziou, 2016/11/14
- Re: [O] “Match data clobbered by buffer modification hooks”, Saša Janiška, 2016/11/14