unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Philip Kaludercic <philipk@posteo.net>,  emacs-devel@gnu.org
Subject: Re: master 740a1a3d0e: Add new user option 'diff-add-log-use-relative-names'
Date: Fri, 09 Sep 2022 10:22:31 +0200	[thread overview]
Message-ID: <87h71h7y9k.fsf@gmail.com> (raw)
In-Reply-To: <CADwFkm=SZCU6NNGmRyrNe8jLwVR-FCAACEd5E-nTvYcY32CiJw@mail.gmail.com> (Stefan Kangas's message of "Thu, 8 Sep 2022 18:12:34 -0700")

>>>>> On Thu, 8 Sep 2022 18:12:34 -0700, Stefan Kangas <stefankangas@gmail.com> said:

    Stefan> Philip Kaludercic <philipk@posteo.net> writes:
    >> That would be good, but I've also been a fan of adding
    >> (show-trailing-whitespace . t) on top of that.

    Stefan> I have `delete-trailing-whitespace' in `before-save-hook', and there are
    Stefan> git hooks in place.  So while I won't strongly object, adding that would
    Stefan> not be very useful to me.  Maybe it'd even be a tiny bit distracting.

    Stefan> So maybe we should leave that one out?

Sure

    Stefan> (We have .dir-locals-2.el too.)

So how about this (assuming we also add "-w" to
`vc-git-annotate-switches')

diff --git a/.dir-locals.el b/.dir-locals.el
index 7812beb001..da8326b547 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -4,29 +4,30 @@
 ((nil . ((tab-width . 8)
          (sentence-end-double-space . t)
          (fill-column . 70)
-	 (emacs-lisp-docstring-fill-column . 65)
+         (emacs-lisp-docstring-fill-column . 65)
          (bug-reference-url-format . "https://debbugs.gnu.org/%s")))
  (c-mode . ((c-file-style . "GNU")
             (c-noise-macro-names . ("INLINE" "ATTRIBUTE_NO_SANITIZE_UNDEFINED" "UNINIT" "CALLBACK" "ALIGN_STACK"))
             (electric-quote-comment . nil)
             (electric-quote-string . nil)
             (indent-tabs-mode . t)
-	    (mode . bug-reference-prog)))
+            (mode . bug-reference-prog)))
  (objc-mode . ((c-file-style . "GNU")
                (electric-quote-comment . nil)
                (electric-quote-string . nil)
-	       (mode . bug-reference-prog)))
+               (mode . bug-reference-prog)))
  (log-edit-mode . ((log-edit-font-lock-gnu-style . t)
                    (log-edit-setup-add-author . t)))
  (change-log-mode . ((add-log-time-zone-rule . t)
-		     (fill-column . 74)
-		     (mode . bug-reference)))
+             (fill-column . 74)
+             (mode . bug-reference)))
  (diff-mode . ((mode . whitespace)))
  (emacs-lisp-mode . ((indent-tabs-mode . nil)
                      (electric-quote-comment . nil)
                      (electric-quote-string . nil)
-	             (mode . bug-reference-prog)))
+                     (mode . bug-reference-prog)))
+ (lisp-data-mode . ((indent-tabs-mode . nil)))
  (texinfo-mode . ((electric-quote-comment . nil)
                   (electric-quote-string . nil)
-	          (mode . bug-reference-prog)))
+                  (mode . bug-reference-prog)))
  (outline-mode . ((mode . bug-reference))))


Robert
-- 



  reply	other threads:[~2022-09-09  8:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <166261812012.4600.17108351984445412533@vcs2.savannah.gnu.org>
     [not found] ` <20220908062200.80F3FC0088A@vcs2.savannah.gnu.org>
2022-09-08 12:16   ` master 740a1a3d0e: Add new user option 'diff-add-log-use-relative-names' Robert Pluim
2022-09-08 12:21     ` Philip Kaludercic
2022-09-08 12:25       ` Robert Pluim
2022-09-09  1:12       ` Stefan Kangas
2022-09-09  8:22         ` Robert Pluim [this message]
2022-09-11 10:43   ` Daniel Martín
2022-09-11 11:13     ` Philip Kaludercic

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h71h7y9k.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    --cc=stefankangas@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).