From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: word-spaces in header of a captured item, but how? Date: Sat, 20 Aug 2016 17:55:44 +0200 Message-ID: <87lgzr1lkv.fsf@saiph.selenimh> References: <87inuvg5if.fsf@skimble.plus.com> <87inuvfz84.fsf@saiph.selenimh> <87bn0nlio5.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb8cg-0002RT-1t for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 11:55:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb8cc-0002H3-Uy for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 11:55:50 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:57855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb8cc-0002Gt-Nz for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 11:55:46 -0400 In-Reply-To: <87bn0nlio5.fsf@skimble.plus.com> (Sharon Kimble's message of "Sat, 20 Aug 2016 13:52:48 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Sharon Kimble Cc: org-mode-email Sharon Kimble 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) > ("" . me/indent-rigidly-left-and-keep-mark) > ("" . 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,