From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: tab character Date: Thu, 27 Oct 2011 22:23:18 +0200 Message-ID: <4EA9BDB6.1040201@easy-emacs.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1319747016 5897 80.91.229.12 (27 Oct 2011 20:23:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2011 20:23:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 27 22:23:32 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RJWU5-0000QA-Oq for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Oct 2011 22:23:29 +0200 Original-Received: from localhost ([::1]:41615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJWU5-0003ga-6R for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Oct 2011 16:23:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJWTz-0003gS-6J for help-gnu-emacs@gnu.org; Thu, 27 Oct 2011 16:23:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJWTx-0001it-Ng for help-gnu-emacs@gnu.org; Thu, 27 Oct 2011 16:23:23 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:61513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJWTx-0001il-9c for help-gnu-emacs@gnu.org; Thu, 27 Oct 2011 16:23:21 -0400 Original-Received: from [192.168.178.27] (brln-4d0c1b25.pool.mediaWays.net [77.12.27.37]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MK5Y1-1RKLII2Q2n-0021rH; Thu, 27 Oct 2011 22:23:19 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.23) Gecko/20110920 SUSE/3.1.15 Thunderbird/3.1.15 In-Reply-To: X-Provags-ID: V02:K0:wBexS70/ybciOswk121HKndLExl/5ZiztzAhMhzUhCK wO6EChqwTFwRylRQsjdgaZvaWe5pJprkX96LxuYKwLItbHubG2 1fgH6zs2gWSZkvDF1qoafajHSXVkuvCyGEE/fSi3oxi1dLJcXe rsWzFN9qSMCY4mhGb2zdTey5RKg4N2dVlpESEuTHEr6K0VoCDg 58tBGsGGmPYwCKNIIL7CmBcCZm4vh0t2xt/YNS2QW46NNuDa5A onqT2fjCU2Zc4pcG5UndS6yRQ+mJ1YvmyGmbXUAyhv5T6Zs6IZ dYsA3cj1jwmc5FOFVYkibcs41tYrneLw+/pUA13Lu3hb5xCxwM u6oz5lpGzTvZQ8ki3TF7VExrOdgE0LGK0skjq6ygu X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.8 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:82681 Archived-At: Am 27.10.2011 17:05, schrieb Rustom Mody: > On Thu, Oct 27, 2011 at 8:01 PM, Ludwig, Markwrote: > >> If you just want it to insert a TAB character every time, just map the key >> to self-insert-command. >> > > Yes I gathered that this is the only way (or C-q TAB). Seems fairly > low-level for such a basic usage... > > >> Are you familiar with M-i that runs tab-to-tab-stop? That might be what >> you want, too, especially if you want spaces inserted to 'equal' what the >> TAB character would do on a typewriter, for instance. >> >> > I need tab to be entered as tab without any questions or ambiguity (think > makefiles?) > > >> Hope this helps, >> >> Mark >> >> From: help-gnu-emacs-bounces+ludwig.mark=siemens.com@gnu.org [mailto: >> help-gnu-emacs-bounces+ludwig.mark=siemens.com@gnu.org] On Behalf Of >> Rustom Mody >> Sent: Thursday, October 27, 2011 8:45 AM >> To: help-gnu-emacs@gnu.org >> Subject: tab character >> >> The tab-always-indent docs say: >> >> ----------------------------- >> Controls the operation of the TAB key. >> If t, hitting TAB always just indents the current line. >> If nil, hitting TAB indents the current line if point is at the left margin >> or in the line's indentation, otherwise it inserts a \"real\" TAB >> character. >> If `complete', TAB first tries to indent the current line, and if the line >> was already indented, then try to complete the thing at point. >> >> Some programming language modes have their own variable to control this, >> e.g., `c-tab-always-indent', and do not respect this variable." >> :group 'indent >> -------------------------------- >> Why is there nothing stronger than nil? IOW why is it so hard to just have >> tab be tab with no conditions? Hi, think you are perfectly right to ask that. A design flaw IMHO. Think it's worth a bug report or a post to emacs-devel. Andreas