From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: \200\231 showing in org-mode post Date: Wed, 22 Jan 2014 13:12:21 -0500 Message-ID: <87fvof3myi.fsf@alphaville.bos.redhat.com> References: <20140122111211.33e743ab@london> <87vbxcb0xd.fsf@gmail.com> <20140122162254.38405076@london> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W62I5-00040o-4L for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 13:12:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W62Hz-0001Rs-Ms for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 13:12:41 -0500 Received: from plane.gmane.org ([80.91.229.3]:51701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W62Hz-0001Rn-Fk for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 13:12:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W62Hx-0004XN-5W for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 19:12:33 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jan 2014 19:12:33 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jan 2014 19:12:33 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Sharon Kimble writes: > On Wed, 22 Jan 2014 08:28:46 -0500 > Nick Dokos wrote: > >> Sharon Kimble writes: >> >> > When pasting from an article on the web into an org-mode buffer, I >> > start with - >> > "In today’s digital age, we are needing more and more passwords to >> > secure our data and our identity." >> > and its displayed in the buffer as - >> > "In todayâ\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=en_GB.UTF-8' being the first line in my locale settings. >> > >> > 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? >> > >> >> If you just open the file in UTF-8, does the ugliness go away? >> > 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 ‘posh’ “quotes” > ;;(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. > 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? Nick