From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: \200\231 showing in org-mode post Date: Wed, 22 Jan 2014 18:28:10 +0000 Message-ID: <20140122182810.20bf9cfa@london> References: <20140122111211.33e743ab@london> <87vbxcb0xd.fsf@gmail.com> <20140122162254.38405076@london> <87fvof3myi.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/fKr6VED_+FrccI/OWWxJeyI"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W62XM-0005vN-8W for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 13:28:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W62XH-00062d-RL for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 13:28:28 -0500 Received: from out1.ip06ir2.opaltelecom.net ([62.24.128.242]:42425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W62XH-00062V-G7 for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 13:28:23 -0500 In-Reply-To: <87fvof3myi.fsf@alphaville.bos.redhat.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org --Sig_/fKr6VED_+FrccI/OWWxJeyI Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 22 Jan 2014 13:12:21 -0500 Nick Dokos wrote: > Sharon Kimble writes: >=20 > > On Wed, 22 Jan 2014 08:28:46 -0500 > > Nick Dokos wrote: > > > >> Sharon Kimble writes: > >>=20 > >> > When pasting from an article on the web into an org-mode buffer, > >> > I start with -=20 > >> > "In today=E2=80=99s digital age, we are needing more and more passwo= rds > >> > to secure our data and our identity." > >> > and its displayed in the buffer as - > >> > "In today=C3=A2\200\231s digital age, we are needing more and more > >> > passwords to secure our data and our identity." > >> > > >> > In my .emacs I have - > >> > (setq selection-coding-system 'utf-8) > >> > (prefer-coding-system 'utf-8) > >> > (setq x-select-enable-clipboard t) > >> > with 'LANG=3Den_GB.UTF-8' being the first line in my locale > >> > settings.=20 > >> > > >> > How do I get it please that it pastes correctly from the desktop > >> > clipboard, and how do I get what is already pasted, and shows the > >> > aberrant behaviour, corrected please? > >> > > >>=20 > >> If you just open the file in UTF-8, does the ugliness go away? > >>=20 > > I don't know how to do that, sorry. > > > > But, when I went through my foo.org file correcting them all, they > > all seemed to be either ' or " . So I had a look in my .emacs and > > found that I was using - > > ;; Turn ' and " into =E2=80=98posh=E2=80=99 =E2=80=9Cquotes=E2=80=9D > > ;;(setq org-export-with-smart-quotes t) > > > > so I commented it out as you can see, and I'm now just carrying on > > as normal and just waiting to see if that clears it up.=20 > > >=20 > Now I'm *really* confused: org-export-with-smart-quotes only affects > how an org file is exported. What does that have to do with pasting > stuff from the web into an org file? >=20 I don't know, but I've just created a new 'test2.org' file and pasted the exact same paragraph which showed the aberrant behaviour, and it worked and imported with no problems! What is shown in the org-file is /exactly/ the same as the source document! So, as the original document was an org2blog posting, I've just created a new blog posting and pasted the same paragraph into it. And again, its been imported with no problems, with no difference between the source document and the blog posting.=20 So I don=E2=80=99t know whats going on, or what really cured it, but its now working perfectly! Thanks Sharon. --=20 =EF=BB=BFA taste of linux =3D http://www.sharons.org.uk efever =3D http://www.efever.blogspot.com/ efever =3D http://sharon04.livejournal.com/ my git repo =3D https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.50.1 Registered Linux user 561944 --Sig_/fKr6VED_+FrccI/OWWxJeyI Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJS4A3EAAoJEDaBgBkK+INbkEEQAMi8t7fpMMJQTwxsqT808r6W 0IDjqflIvJiwjb3u6SsuTbCuhKqg0/JrhWRVuaM8iLC9OG6owS/97Q3BkLykG2+7 16HxkYdlegD09+9bvdlbgTefBMSKHY6YssZyBbRAhC1C5dcQrF0QrzuKN2px/bdl 0xucsqKxDcGyYS1Hyy5nn0WhZdHZrZSqLPX1RTGDVlcnVSKeKUaQCYwg/0KuLyPd qr5qpTSiP7FqkQR66VzVzq22Wld5Ml8dGb0JGq/QCEV3O6ASA6Xv6S60ey+zwYal FRAK6WJF+M+fAuIva+qpWdlkTmLDhlLMGLU/7XeuAnwf70UrdalPBe5oXQ3LrH2d eZsSWcWEA0YGk0U02MGNFvDH6/9ZESqVeMAsm7f3/ayY0Osm58NosOvnIvyWRe9y PjixMlpfQ+8eCgvCH8UpHRBsToblWazefmAGIkX5GUQjspsqyVCVClhrvHRcpyxA uvLVAr1i6zDfW+otmeiJod9kRbRLtWyCj3wwnK83tcCRLe8fzNEU5uEjBOdPO3f/ 8cVj/uXOghV9Eg93Sw+aI4cHpRktC2OpoQMa63tBocVQ5njRc9pDQ1h+P2IMM7Zi 5WDVuHoWQz5Gvotu7nTjv53Zx3fqGFl3TlYrRYCg5756kBTnJxVxSTbW189S3zKQ 0vVH9skzf5IJ3ZATzX5h =6ZNQ -----END PGP SIGNATURE----- --Sig_/fKr6VED_+FrccI/OWWxJeyI--