From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Some Developer Newsgroups: gmane.emacs.help Subject: Setting up Emacs tabs like my Vim config Date: Mon, 30 Dec 2013 18:42:46 +0000 Message-ID: <52C1BEA6.6000902@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1388429952 19004 80.91.229.3 (30 Dec 2013 18:59:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2013 18:59:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 30 19:59:15 2013 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 1Vxi3V-0005i8-IF for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 19:59:13 +0100 Original-Received: from localhost ([::1]:59476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxi3V-00012g-1T for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 13:59:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxhnp-0005nT-7F for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 13:43:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vxhne-0008GE-O7 for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 13:43:01 -0500 Original-Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:40412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxhne-0008G1-Hf for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 13:42:50 -0500 Original-Received: by mail-we0-f170.google.com with SMTP id w61so10496758wes.29 for ; Mon, 30 Dec 2013 10:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=eW8Lake7wJitozAI1VKZxzrBzSVi/t587WsBHVLmlUk=; b=XC++sR0GGDCfYSVFnF3OpyIJVY8VYlTc6La3A5sdklrkbVDJJ3A40nPR6tSMzELoag iyKgAvcgfbjyQ2lpFVQGV1HilGCbRJSTm8a4VFnkPRr5CoKQzLIejIb6t8kWRhVZ/RYY kIfIfyXQ9X6oz9XZMFzvZrcKBj/PSSFynVWIp2xNAa3TRMwoAL96Yl3US2xpfauPGwYR 4Mp7pXqT6Zfh5blDbt8eyh6spLGGs/Xt0IRFPT7wa+fAP5OLsbeGNp9Z28f54EtyrBQh 02iorVBjp06d1DcuUsF69MR3OByn3btHROLVc9TCLd7WepC8NHEIF4dNity+EpzzFmJ7 K8zA== X-Received: by 10.180.9.39 with SMTP id w7mr13813058wia.9.1388428969115; Mon, 30 Dec 2013 10:42:49 -0800 (PST) Original-Received: from [192.168.1.169] (cpc1-reig5-2-0-cust251.6-3.cable.virginm.net. [81.106.27.252]) by mx.google.com with ESMTPSA id ju6sm261651wjc.1.2013.12.30.10.42.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 10:42:48 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22a X-Mailman-Approved-At: Mon, 30 Dec 2013 13:59:03 -0500 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:95203 Archived-At: I'm playing around with Emacs for the first time at the moment and so far things seem to be working well. The only problem I have with Emacs is how it deals with tabs and indentation in general. I've read the manual on it but it seems like Emacs makes this unnecessarily hard. Here is my current Vim config: " Set proper tab / spacing settings set expandtab set smarttab set shiftwidth=4 set tabstop=4 set softtabstop=4 Does anyone know what an equivalent configuration would be in Emacs? I'm using 24.3.1 if that makes any difference.