From: jgombos <nabble.forum.jog@spamgourmet.com>
To: Help-gnu-emacs@gnu.org
Subject: Preserving trailing spaces
Date: Mon, 16 Apr 2007 20:41:47 -0700 (PDT) [thread overview]
Message-ID: <10028734.post@talk.nabble.com> (raw)
I know it's a strange request to want to preserve trailing spaces; most folks
want to nuke them. I'm working on a project where trailing spaces actually
have meaning (it's how the developer prevents the automated semantecize tool
from concatenating a long line of code that's intended to span multiple
lines for readability).
They have (probably inadvertently) installed Apex Emacs (aka aemacs), which
is essentially plain old emacs 20.7.1 with Rational's Apex functionality
integrated into the menu. I'm glad they provided it, but I'm the only emacs
user on the team, as everyone else is using the Rational's proprietary and
very basic editor.
So to get to the issue, emacs wipes out the trailing whitespace on every
file I make a change to, and the semantizer rearranges code that I didn't
touch, adding substantial noise to the diffs - which could frustrate
reviewers. How do I prevent emacs from nuking the trailing whitespace?
Everything I've read indicates that emacs automatically preserves
whitespace, and that it must be proactively configured to delete trailing
whitespace. My .emacs file is clean. So somewhere in this aemacs
installation, there must be a hook or something that I need to override.
How would I discover where that's happening? Is it the lisp code for
Ada-mode?
--
View this message in context: http://www.nabble.com/Preserving-trailing-spaces-tf3588636.html#a10028734
Sent from the Emacs - Help mailing list archive at Nabble.com.
next reply other threads:[~2007-04-17 3:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-17 3:41 jgombos [this message]
2007-04-17 20:34 ` Preserving trailing spaces Dieter Wilhelm
2007-04-18 13:14 ` jgombos
[not found] <mailman.2168.1176801350.7795.help-gnu-emacs@gnu.org>
2007-04-18 23:34 ` Giorgos Keramidas
2007-04-19 13:32 ` jgombos
[not found] ` <mailman.2260.1176989843.7795.help-gnu-emacs@gnu.org>
2007-04-19 15:37 ` Giorgos Keramidas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10028734.post@talk.nabble.com \
--to=nabble.forum.jog@spamgourmet.com \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.