emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] word-spaces in header of a captured item, but how?


From: Nicolas Goaziou
Subject: Re: [O] word-spaces in header of a captured item, but how?
Date: Sat, 20 Aug 2016 17:55:44 +0200

Sharon Kimble <address@hidden> writes:

> However when I try other capture templates I get this -
>
> Wrote /home/boudiccas/.emacs.d/org/scratch.org
> (void-variable *) in me/eval-region-and-kill-mark [2 times]
>
> Which shows this from my init file -
>
> (use-package selected
>   :defines selected-keymap
>   :bind
>   (:map selected-keymap
>         ("C-c C-c" . me/eval-region-and-kill-mark)
>         ("<M-left>" . me/indent-rigidly-left-and-keep-mark)
>         ("<M-right>" . me/indent-rigidly-right-and-keep-mark)
>         ("<" . mc/mark-previous-like-this)
>         (">" . mc/mark-next-like-this)
>         ("C-b b" . me/browse-url-and-kill-mark)
>         ("C-c c" . capitalize-region)
>         ("C-c l" . downcase-region)
>         ("C-c u" . upcase-region)
>         ("C-f f" . fill-region)
>         ("C-g" . selected-off)
>         ("C-s r" . reverse-region)
>         ("C-s s" . sort-lines)
>         ("C-s w" . me/sort-words))
>   :init (selected-global-mode))
>
> (defun me/eval-region-and-kill-mark (beg end)
>   "Execute the region as Lisp code.
>  Call `eval-region' and kill mark. Move back to the beginning of the region."
>   (interactive "r")
>   (eval-region beg end)
>   (setq deactivate-mark t)
>   (goto-char beg))
>
> But I don't know how to correct it, nor if its related to my lack of
> wordspaces.

I don't know "selected" package and I cannot understand why you need to
bind `me/eval-region-and-kill-mark' to C-c C-c.

In any case, it is probably not related to Org you to your
configuration.

Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]