From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Feeling lost without tabs Date: Wed, 23 Jul 2014 02:25:56 +0100 Message-ID: <87a980j26z.fsf@robertthorpeconsulting.com> References: <87fvhtndz1.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406078795 22629 80.91.229.3 (23 Jul 2014 01:26:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2014 01:26:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 23 03:26:28 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 1X9lK6-00049u-I4 for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jul 2014 03:26:26 +0200 Original-Received: from localhost ([::1]:42602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9lK5-0002fy-Oo for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Jul 2014 21:26:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9lJl-0002Zt-9X for help-gnu-emacs@gnu.org; Tue, 22 Jul 2014 21:26:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9lJf-0000rd-7M for help-gnu-emacs@gnu.org; Tue, 22 Jul 2014 21:26:05 -0400 Original-Received: from outbound-smtp02.blacknight.com ([81.17.249.8]:47489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9lJf-0000rO-1k for help-gnu-emacs@gnu.org; Tue, 22 Jul 2014 21:25:59 -0400 Original-Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp02.blacknight.com (Postfix) with ESMTP id 2C7EA98376 for ; Wed, 23 Jul 2014 01:25:37 +0000 (UTC) Original-Received: (qmail 32378 invoked from network); 23 Jul 2014 01:25:56 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.78.47.11]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 23 Jul 2014 01:25:56 -0000 In-Reply-To: <87fvhtndz1.fsf@debian.uxu> (message from Emanuel Berg on Wed, 23 Jul 2014 01:57:54 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.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:98918 Archived-At: Emanuel Berg writes: > Robert Thorpe writes: ... >> Sometimes having a set of different functions that do >> things slightly differently is the way that Emacs >> provides for customization. To give another example, >> C-j will make a newline and indent the next line. >> There's a function called >> reindent-then-newline-and-indent which can be used >> instead by remapping it to C-j. > > ...what? Like I said, Emacs sometimes provides several similar functions as a way to provide users with options. Often doing that is simpler than using variables. The function "reindent-then-newline-and-indent" indents the current line, inserts an newline then indents the next line. Nobody is going to run that function using M-x, it's there so people can map it to a key, normally replacing a default function (such as to C-j or RET). That's why buffer-menu and buffer-menu-other-window are present too. BR, Robert Thorpe