From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.emacs.help Subject: How to select the default coding system Date: Wed, 17 Sep 2014 16:05:04 +0200 Message-ID: Reply-To: mikael@djurfeldt.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1410988849 2399 80.91.229.3 (17 Sep 2014 21:20:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2014 21:20:49 +0000 (UTC) Cc: Mikael Djurfeldt To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 17 23:20:42 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XUMeX-0005XI-Oo for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2014 23:20:41 +0200 Original-Received: from localhost ([::1]:47325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUMeX-0004w9-8s for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2014 17:20:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUFwv-0003n8-VO for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 10:11:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUFwp-0002kD-Uv for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 10:11:13 -0400 Original-Received: from mail-oa0-x236.google.com ([2607:f8b0:4003:c02::236]:58608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUFwp-0002jS-Qv for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 10:11:07 -0400 Original-Received: by mail-oa0-f54.google.com with SMTP id m19so1127796oag.41 for ; Wed, 17 Sep 2014 07:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:to:cc :content-type; bh=3KPCT/lp/t1D6Xh8SpGt5m+/qnfwdfhSo2KTf6fmQAQ=; b=XEvxXUmXj0S4CBhSD5veKOskXPo46ODlcmEHUVKwjeoeT6hoe4I7wHeQLTwqTHFLCO vxS8lkTZNTeDcePWiKxjPDJKV+ryjS6UJFvjH8HyDtnLl5Ugalz8Krav3xsit52hrCDb yyp7oYMGpE7lBgMaWWlhESS6WxYZaNq4MIEAs5/q6i9b8OY0UMk/WAeC6YCb8l/3yl82 5sLYZRcBsSNIeKtCud4A3DE0BiwumZERZXm46xIIKCBML4nmqwtbyOmmg8Da4kV/DtiF l0bw7pt3d5mv5jMB1HTTkLej6LxUg4b5dHiXi2auyRyfO7aLVJAfE28CIZv4JaPWY/Uq PLeQ== X-Received: by 10.182.43.201 with SMTP id y9mr41798787obl.34.1410962704868; Wed, 17 Sep 2014 07:05:04 -0700 (PDT) Original-Received: by 10.202.87.19 with HTTP; Wed, 17 Sep 2014 07:05:04 -0700 (PDT) X-Google-Sender-Auth: FoXJqINXMbC08nwCvDxRR3NIBd4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::236 X-Mailman-Approved-At: Wed, 17 Sep 2014 17:19:32 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99986 Archived-At: Dear all, I just got a question from a beginner Emacs user how to set the default coding system. For some reason, he didn't get utf-8 by default (which he wanted). He might have touched some setting which caused this. Now, I'm myself an experienced Emacs user and once did have a complete overview of Emacs functionality. But the multi-lingual envorpnment, coding systems etc is new to me. Trying to find the answer to this users question, I realized that the complexity is too large even for me (elisp programmer) to find an answer in reasonable time. I started out browsing options in the GUI, trying to find an option for the default coding system. I *did* find some coding system options under "mule", but nothing which seemed to fit. In the manual I found a function "prefer-coding-system", which I gather one could place in .emacs. Q: What is the natural way to specify the default coding system, preferrably using the GUI (to facilitate things for this novel user). Best regards, Mikael D.