unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* set the coding of emacs24.3
@ 2013-10-28 10:54 xiaocai_2010
  2013-10-28 16:17 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: xiaocai_2010 @ 2013-10-28 10:54 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

question1:  how to set the coding of the emacs24.3
when I debug the java code in 'JDE' mode,the output in the buffer is in the code like 'assic' which i can't understand, i prefer that the output could in chinese.  So how to set the coding of the emacs.

question 2: how to set the width of 'tab'

thanks




xiaocai_2010@126.com

[-- Attachment #2: Catch.jpg --]
[-- Type: image/jpeg, Size: 66360 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: set the coding of emacs24.3
  2013-10-28 10:54 set the coding of emacs24.3 xiaocai_2010
@ 2013-10-28 16:17 ` Eli Zaretskii
  2013-10-29 12:44   ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2013-10-28 16:17 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Mon, 28 Oct 2013 18:54:49 +0800
> From: "xiaocai_2010@126.com" <xiaocai_2010@126.com>
> 
> question1:  how to set the coding of the emacs24.3

Before you visit a file:

  C-x RET c CODING RET C-x C-f FILE RET

After you visit a file:

  C-x RET r CODING RET

where CODING is the coding you want, e.g., chinese-iso-8bit.

> question 2: how to set the width of 'tab'

  M-x set-variable RET tab-width RET N RET

where N is the width.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: set the coding of emacs24.3
  2013-10-28 16:17 ` Eli Zaretskii
@ 2013-10-29 12:44   ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2013-10-29 12:44 UTC (permalink / raw)
  To: help-gnu-emacs

>> question 2: how to set the width of 'tab'
>   M-x set-variable RET tab-width RET N RET
> where N is the width.

Note that this is very rarely what users really want.  Usually they want
to set the width of spacing inserted when hitting the TAB *key* (whereas
the above controls the displayed width of TAB *characters*).


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-29 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 10:54 set the coding of emacs24.3 xiaocai_2010
2013-10-28 16:17 ` Eli Zaretskii
2013-10-29 12:44   ` Stefan Monnier

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).