Re: [O] end-of-defun odd behaviour in org mode
On 2014-04-22 10:51 +0200, Bastien wrote: Yeah -- I pushed a fix, relying back again on `org-forward-element' and `org-backward-element'. Thanks. seems to work fine now. Leo
Re: [O] end-of-defun odd behaviour in org mode
On 2014-04-21 19:26 +0200, Bastien wrote: Commit 76fa97922 changed C-M-a and C-M-e to `org-backward-element' and `org-forward-element' but I know see it was wrong, so I partially reverted it, the old behavior makes more sense. Thanks. Thanks for reporting this, http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=76fa97922 Seems there is another bug after this change: C-M-e moves forward 1 and C-M-a moves back 0. org-back-to-heading does not fully satisfy the protocol of beginning-of-defun-function. Leo
[O] end-of-defun odd behaviour in org mode
Hi there, While adding support for org-mode in easy-kill¹ I have discovered C-M-a and C-M-e work asymmetrically. C-M-e moves forward 2 headlines while C-M-a move back 1. Cheers, Leo Footnotes: ¹ https://github.com/leoliu/easy-kill
Re: [O] Can org-capture-templates be made more flexible?
On 2013-11-06 16:15 +0800, Bastien wrote: I'm not sure I understand your use-case clearly: you need to invoke org-capture with no target file? Thanks for further explanations Exactly. I need the ability to send the org buffer created by capture to the Notes.app directly. The Notes.app handles the storage and synchronisation between multiple devices. Leo
Re: [O] Can org-capture-templates be made more flexible?
On 2013-11-07 00:25 +0800, Bastien wrote: In that case, using a target like (function ...) could do -- did you try this? thanks for the pointer. I glanced at this option while reading the org-capture-templates' doc. From org-capture-set-target-location: ((eq (car target) 'function) (funcall (nth 1 target)) (org-capture-put :exact-position (point)) (setq target-entry-p (and (derived-mode-p 'org-mode) (org-at-heading-p and org-capture-finalize calls save-buffer I think this option requires a file still. Thanks, Leo
[O] Can org-capture-templates be made more flexible?
Hi there, I use https://github.com/leoliu/applescripts/blob/master/Notes.el to pull notes from Notes.app on OS X into an org buffer. Naturally I also want to hook something into org-capture to create new notes. However, it seems org-capture-templates requires a file-location of some sort, which is unhelpful in this case. Any way to make org-capture-templates more flexible? Thanks, Leo
Re: [O] Can org-capture-templates be made more flexible?
On 2013-10-13 18:17 +0800, Suvayu Ali wrote: How about using a dummy file? It's a workaround which I want to avoid if possible. Thus me asking here. Leo
[O] What happens to org-export-with-LaTeX-fragments
Hi there, I am upgrading to org 8 and cleaning up my init. There are two variables that aren't defined any more: org-export-with-LaTeX-fragments and org-highlight-latex-fragments-and-specials. Could someone tell me what are the replacement for them? Thanks, Leo
Re: [O] What happens to org-export-with-LaTeX-fragments
On 2013-05-14 21:02 +0800, Rasmus wrote: I'm looking at an old exporter and assume that you are interested in MathJax and HTML. . .? Thank you, Rasmus. Leo
Re: [O] Changing the maintainer
On 2013-04-19 06:07 +0800, Carsten Dominik wrote: Bastien's activity has been unmatched. He has answered a huge amount of questions in the mailing list, fixed an uncounted number of bugs and he has been designing and applying changes over the entire breadth of the Org code base. This is no easy feat and I really admire his work. Besides this, he has done amazing work keeping the community together and making sure that the mailing list remains IMO one of the prime places on the internet. Kudos to Bastien for the tremendous contribution. Leo
Re: [O] org-export raises stringp nil error
On 2013-03-08 14:40 +0800, Bastien wrote: I find it hard to draw a clear line between regressions and bugs, especially since Org 7.9.x versions are way behind the current Org master branch. I think org-mode is better in ELPA, a better distribution channel than the core for things like org-mode. Bundling it in emacs doesn't help anybody. Leo
Re: [O] org-export raises stringp nil error
On 2013-03-08 15:37 +0800, Bastien wrote: I strongly think otherwise: Emacs needs a good outline and editing tool. outline.el is not usable enough and I can see no other Emacs tool than Org-mode for exporting to HTML/LaTeX/ODT easily. I understand the temptation in terms of maintainance, but I think maintainance problems should not take priority over usefulness of the code. I am not doubting maintainance cost or the usefulness of the code. It is about distribution of your code to the users. I think ELPA is the way to go. Leo
[O] [PATCH] fix polluting minibuffer-local-map
a/org.el b/org.el @@ -15578,57 +15578,57 @@ (defvar org-read-date-minibuffer-local-map (let ((map (make-sparse-keymap))) (set-keymap-parent map minibuffer-local-map) -(org-defkey minibuffer-local-map [(meta shift left)] +(org-defkey map [(meta shift left)] (lambda () (interactive) (org-eval-in-calendar '(calendar-backward-month 1 -(org-defkey minibuffer-local-map [(meta shift right)] +(org-defkey map [(meta shift right)] (lambda () (interactive) (org-eval-in-calendar '(calendar-forward-month 1 -(org-defkey minibuffer-local-map [(meta shift up)] +(org-defkey map [(meta shift up)] (lambda () (interactive) (org-eval-in-calendar '(calendar-backward-year 1 -(org-defkey minibuffer-local-map [(meta shift down)] +(org-defkey map [(meta shift down)] (lambda () (interactive) (org-eval-in-calendar '(calendar-forward-year 1 -(org-defkey minibuffer-local-map [?\e (shift left)] +(org-defkey map [?\e (shift left)] (lambda () (interactive) (org-eval-in-calendar '(calendar-backward-month 1 -(org-defkey minibuffer-local-map [?\e (shift right)] +(org-defkey map [?\e (shift right)] (lambda () (interactive) (org-eval-in-calendar '(calendar-forward-month 1 -(org-defkey minibuffer-local-map [?\e (shift up)] +(org-defkey map [?\e (shift up)] (lambda () (interactive) (org-eval-in-calendar '(calendar-backward-year 1 -(org-defkey minibuffer-local-map [?\e (shift down)] +(org-defkey map [?\e (shift down)] (lambda () (interactive) (org-eval-in-calendar '(calendar-forward-year 1 -(org-defkey minibuffer-local-map [(shift up)] +(org-defkey map [(shift up)] (lambda () (interactive) (org-eval-in-calendar '(calendar-backward-week 1 -(org-defkey minibuffer-local-map [(shift down)] +(org-defkey map [(shift down)] (lambda () (interactive) (org-eval-in-calendar '(calendar-forward-week 1 -(org-defkey minibuffer-local-map [(shift left)] +(org-defkey map [(shift left)] (lambda () (interactive) (org-eval-in-calendar '(calendar-backward-day 1 -(org-defkey minibuffer-local-map [(shift right)] +(org-defkey map [(shift right)] (lambda () (interactive) (org-eval-in-calendar '(calendar-forward-day 1 -(org-defkey minibuffer-local-map ? +(org-defkey map ? (lambda () (interactive) (org-eval-in-calendar '(diary-view-entries)) (message ))) -(org-defkey minibuffer-local-map +(org-defkey map (lambda () (interactive) (org-eval-in-calendar '(scroll-calendar-left 1 -(org-defkey minibuffer-local-map +(org-defkey map (lambda () (interactive) (org-eval-in-calendar '(scroll-calendar-right 1 -(org-defkey minibuffer-local-map \C-v +(org-defkey map \C-v (lambda () (interactive) (org-eval-in-calendar '(calendar-scroll-left-three-months 1 -(org-defkey minibuffer-local-map \M-v +(org-defkey map \M-v (lambda () (interactive) (org-eval-in-calendar '(calendar-scroll-right-three-months 1 Diff finished. Sun Jan 27 16:29:52 2013
[O] [BUG] org-mode fontification error [11 times]
In an empty org buffer, type #+tit Then M-TAB to complete. You should observe: org-mode fontification error Org-mode version 7.9.3d (release_7.9.3d-892-gdfa07a) Leo