From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: emacs + donation Date: Wed, 10 Jan 2018 17:07:59 +0100 Message-ID: <20180110160759.GB17655@tuxteam.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1515600492 23574 195.159.176.226 (10 Jan 2018 16:08:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 16:08:12 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 10 17:08:07 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZIv1-0005IB-TU for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 17:08:00 +0100 Original-Received: from localhost ([::1]:51056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZIx1-0003tH-HS for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 11:10:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZIvD-0002vP-Gm for help-gnu-emacs@gnu.org; Wed, 10 Jan 2018 11:08:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZIv9-0005ZK-4I for help-gnu-emacs@gnu.org; Wed, 10 Jan 2018 11:08:11 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:40490) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZIv8-0005Qy-MF for help-gnu-emacs@gnu.org; Wed, 10 Jan 2018 11:08:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=Wb1kRfs6uGGLeofUDrmKM8ZoznhJHb0M3NYwAc0oj3A=; b=C42MUV77KLL8rfi7mtTJNzhRv1I1iqTlqR3L6Do7xvhvWXEIGmFC3nHERr9jXcpwyxCMSMJ+8FRnfr8cX61S3VguZn57Pvmz0XmwEblzNOjhDSy/L9HryfGj0jDk2DlwCXR93vXcrq0njeFCOhTihivIjvCVuyjOLU7mIri1gjKyammZHWF/s4L2dbbM+o64B+KnkXWJ/Xn2dlkH+IM75Sa9T1RfTTHkfbnmtMoh4oPizGQnnWxz2r/26kYHfys0xqsDI2nlA3aZ44TZfz7yQImCKPL6lCT4r1S4vEy+zUBhej/G3LuIjmSElDeI30Cx2KrjFUAMPXYnOBZvm3AJhg==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1eZIv1-0005A7-Kv for help-gnu-emacs@gnu.org; Wed, 10 Jan 2018 17:07:59 +0100 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:115640 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jan 10, 2018 at 09:35:36AM -0500, d paddy wrote: > Greetings... > > I was initially pointed to info@fsf.org so as to get help with an emacs > question and donate to fsf. > A consequence of that interaction was my redirection to > help-gnu-emacs@gnu.org... > > QUESTION: How do I stop emacs from changing what I type? I guess you are falling prey to "electric-indent-mode". (I assume you are using fundamental-mode, but for most programming modes this is similar) To check this, re-run your experiment, but *before*, enter the following command: "M-x electric-indent-mode" (M-x is the META key, typically Alt on a PC keyboard). You should see the message "Electric-Indent mode disabled" in the mode line (otherwise my hunch is incorrect and you may stop reading here :) Now retry. You see, electric indent mode inserts spaces to indent a newly entered line to match the insertion of the line above. To not let lots of lines with just whitespaces in it, it helpfully removes trailing whitespace when you leave the line with RET. Possibly it was this humble minor mode who was stealing the whitespace you entered. If you *really* want to have control over non-visible stuff in your buffer, you might enjoy whitespace-mode, which highlights (among other things) those otherwise invisible critters. And now keep those donations coming :-) Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlpWOl8ACgkQBcgs9XrR2kafhwCfY9F4EiGSUY8FaluzeMhPLEJ8 4CcAnixLCjB4/odrVf20anfs5KKCqtZQ =PNUb -----END PGP SIGNATURE-----