From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: word-spaces in header of a captured item, but how? Date: Sat, 20 Aug 2016 13:52:48 +0100 Message-ID: <87bn0nlio5.fsf@skimble.plus.com> References: <87inuvg5if.fsf@skimble.plus.com> <87inuvfz84.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb5ln-0004mS-8K for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 08:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb5lh-0005MF-MD for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 08:53:02 -0400 Received: from avasout04.plus.net ([212.159.14.19]:54575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb5lh-0005MA-Fa for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 08:52:57 -0400 In-Reply-To: <87inuvfz84.fsf@saiph.selenimh> (Nicolas Goaziou's message of "Sat, 20 Aug 2016 13:37:15 +0200") 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: org-mode-email --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > Hello, > > Sharon Kimble writes: > >> I have this as part of my capture templates - >> >> ("c" "Clipboard" entry (file+headline "/home/boudiccas/.em= acs.d/org/scratch.org" "") >> "** %U %^{Head Line} %^g >> %c >> %?") >> >> Which works, except I can't have spaces between the words in the header >> of the item. [Here I'm referring to the 'header' as the sentence before >> the tag is inserted, and which you 'C-c C-c' to accept it.] I've googled >> for it but I haven't found any solutions. >> >> So how can I have word-spaces please? > > I cannot reproduce it. AFAIR, this sounds like a bug in development > version that was fixed 7 months ago. In this bug, hitting space would > validate the entry.=20 > > What Org version are you using. Why "can't you have spaces between the > words"? > Thanks Nicolas. I'm using 'Org-mode version 8.3.5 (8.3.5-elpaplus @ /home/boudiccas/.emacs.d/elpa/org-plus-contrib-20160815/)'. When I try to insert a space nothing happens, no key response, no error message, nothing. On checking the *Messages* buffer I see this - =2D-8<---------------cut here---------------start------------->8--- Mark set Template key:=20 Word wrapping disabled Saving file /home/boudiccas/.emacs.d/org/scratch.org... Wrote /home/boudiccas/.emacs.d/org/scratch.org Clipboard pasted as level 2 subtree =2D-8<---------------cut here---------------end--------------->8--- However when I try other capture templates I get this - =2D-8<---------------cut here---------------start------------->8--- Wrote /home/boudiccas/.emacs.d/org/scratch.org (void-variable *) in me/eval-region-and-kill-mark [2 times] =2D-8<---------------cut here---------------end--------------->8--- Which shows this from my init file - =2D-8<---------------cut here---------------start------------->8--- (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)) =2D-8<---------------cut here---------------end--------------->8--- But I don't know how to correct it, nor if its related to my lack of wordsp= aces. Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.1.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXuFKgAAoJEDaBgBkK+INbYbgP/1QYc1fkWH8MvySpNZoFuV/6 qGrxfH4t2xSlWhODf/9ICIlQIKhqjSn+HGx1bngs88AqoA2IN9ziE82nRVgQlDga ZVRbOG/2DHhQKfrvjKx6sDKlLSzfqOp53v3ggjhP9IamoOBt5mb7PcF1oPEPlwVw ivCype+1VF8ZeuNQajXF++0SeEdmKWKNOcSGbuT6/HcpZDyWeRcW3G7P3L6ims2D OF3OIhlnbsz0R4WNsTe/ZXCqeaDxzJ+aGAbTgATmG/oGoisgCWr0y0am4qFLJj0g OMBgkiFJiNo74r7Pa/c8IrhxOqLqSbkFhqcOclK/WoFxgoQIRraBcgjNnvhvvO8r ojMVPyFjlOoKdCDblxm1Gj9lRFNU3V/HIlpgXMCGu8vKRb1NvYy6FfwtgX/iIJVv KCLsWqKASYL9zZCDMsVsfMs+ICosRpui/SG/eEsyvuu02/KyLn+Ld/1UCsKCnOvy cXk/mBgwWZiN1N/QWA8hJoekCD7IV5RaLcj0mtUW/Wk9APlE5/8FBKLlL6Q9Ksa0 M+W4w5DukmUPWVqkgTj9SMyR8dufpXLWnaKwQYMA+Lt+BGHnvEwpoZKvtC+GZ60P a/mj7tyO1rmV3hmQwjM3Hl6F+tRO8PJ1SzyRRybff4Znu1xm2Q0nC0Git+sRZIZr vtUR9LcHeV1L9YchyvzO =3rHs -----END PGP SIGNATURE----- --=-=-=--