From: Daniel Pittman <daniel@rimspace.net>
To: help-gnu-emacs@gnu.org
Subject: Re: strange error
Date: Sun, 14 Nov 2010 20:42:20 +1100 [thread overview]
Message-ID: <m2iq00kzr7.fsf@rimspace.net> (raw)
In-Reply-To: 4CDF642B.3080300@gmail.com
Rajinder Yadav <devguy.ca@gmail.com> writes:
> On 10-11-13 11:01 PM, Daniel Pittman wrote:
>> Rajinder Yadav<devguy.ca@gmail.com> writes:
>>> On 10-11-13 08:05 PM, Daniel Pittman wrote:
>>>> Rajinder Yadav<devguy.ca@gmail.com> writes:
>>>>
>>>>> Is there a way to force emacs to save in utf-8 ? I was cutting and pasting
>>>>> code out of emacs and getting strange errors. I then opened up another
>>>>> editor, pasted in there and then copied out of 2nd editor and pasted the
>>>>> code and everything was fine, strange error gone!
>>>>
>>>> You can change the encoding of a buffer with 'C-x RET f', which invokes
>>>> `set-buffer-file-coding-system' - that will allow you to set the buffer to
>>>> UTF-8 or any other supported encoding.
>>>
>>> Thanks Daniel, just a follow up, is there a way to show what encoding is being
>>> used along the bottom status bar?
>>
>> It should, by default, in the bottom left. Usually just a one character
>> indicator, like the 'U' I see for this UTF-8 buffer. :)
>>
>> See Info node `(emacs) Mode Line' for details on the interpretation of that.
>
> hmm not seeing that? i am using a ruby on rails setup with ecb and cedet, i
> wonder if one of those are doing something with the mode line.
I would guess; the indicators are the defaults, not something that gets turned
on post-hoc, so it /should/ be there.
Daniel
--
✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
next prev parent reply other threads:[~2010-11-14 9:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-13 2:58 strange error Rajinder Yadav
2010-11-14 1:05 ` Daniel Pittman
[not found] ` <4CDF5854.4090300@gmail.com>
[not found] ` <m2wroglfir.fsf@rimspace.net>
2010-11-14 4:23 ` Rajinder Yadav
2010-11-14 9:42 ` Daniel Pittman [this message]
2010-11-14 10:13 ` Peter Dyballa
2010-11-16 13:48 ` Rajinder Yadav
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2iq00kzr7.fsf@rimspace.net \
--to=daniel@rimspace.net \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.