[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] SOLVED - Re: word-spaces in header of a captured item, but how?
From: |
Sharon Kimble |
Subject: |
[O] SOLVED - Re: word-spaces in header of a captured item, but how? |
Date: |
Sun, 21 Aug 2016 01:02:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> 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.
>
Sorted it! I deleted several packages - selected, ido-springboard,
ido-completing-read+, ido-vertical-mode, ido-yes-or-no, and
ido-ubiquitous - and I suspect that the last one was causing the
problem.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.1.1
signature.asc
Description: PGP signature