all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: chad <yandros@MIT.EDU>,
	"emacs-devel@gnu.org Development" <emacs-devel@gnu.org>
Subject: Re: Calendar-mode and show-trailing-whitespace
Date: Fri, 10 May 2013 13:16:02 -0400	[thread overview]
Message-ID: <tq61yqg3hp.fsf@fencepost.gnu.org> (raw)
In-Reply-To: jwvobcmlc5d.fsf-monnier+emacs@gnu.org

Stefan Monnier wrote:

> Most people who enable show-trailing-whitespace globally just do it
> because they like their files to be "whitespace clean", and couldn't
> care less about "whitespace cleanliness" of internally generated text
> as long as it doesn't make its way into their files.

(add-hook 'find-file-hook (lambda ()
          (setq-local show-trailing-whitespace t)))

Or someone who cares about whitespace can add a `files-only' option for
show-trailing-whitespace.



      reply	other threads:[~2013-05-10 17:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 19:02 Calendar-mode and show-trailing-whitespace chad
2013-05-07 19:09 ` Glenn Morris
2013-05-07 21:24   ` Stefan Monnier
2013-05-10 17:16     ` Glenn Morris [this message]

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=tq61yqg3hp.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=yandros@MIT.EDU \
    /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.