From: Sharon Kimble <boudiccas@skimble.plus.com>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: SOLVED - Re: word-spaces in header of a captured item, but how?
Date: Sun, 21 Aug 2016 01:02:41 +0100 [thread overview]
Message-ID: <87zio7ng4e.fsf_-_@skimble.plus.com> (raw)
In-Reply-To: <87lgzr1lkv.fsf@saiph.selenimh> (Nicolas Goaziou's message of "Sat, 20 Aug 2016 17:55:44 +0200")
[-- Attachment #1: Type: text/plain, Size: 2044 bytes --]
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Sharon Kimble <boudiccas@skimble.plus.com> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
prev parent reply other threads:[~2016-08-21 0:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-20 9:21 word-spaces in header of a captured item, but how? Sharon Kimble
2016-08-20 11:37 ` Nicolas Goaziou
2016-08-20 12:52 ` Sharon Kimble
2016-08-20 15:55 ` Nicolas Goaziou
2016-08-21 0:02 ` Sharon Kimble [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zio7ng4e.fsf_-_@skimble.plus.com \
--to=boudiccas@skimble.plus.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).