emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: \200\231 showing in org-mode post
Date: Wed, 22 Jan 2014 13:12:21 -0500	[thread overview]
Message-ID: <87fvof3myi.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 20140122162254.38405076@london

Sharon Kimble <boudiccas@talktalk.net> writes:

> On Wed, 22 Jan 2014 08:28:46 -0500
> Nick Dokos <ndokos@gmail.com> wrote:
>
>> Sharon Kimble <boudiccas@talktalk.net> 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

  parent reply	other threads:[~2014-01-22 18:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22 11:12 \200\231 showing in org-mode post Sharon Kimble
2014-01-22 13:28 ` Nick Dokos
2014-01-22 16:22   ` Sharon Kimble
2014-01-22 17:42     ` Nick Dokos
2014-01-22 18:12     ` Nick Dokos [this message]
2014-01-22 18:28       ` Sharon Kimble

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=87fvof3myi.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.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).