From: Y. E. via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: larsi@gnus.org, yet@ego.team, 53231@debbugs.gnu.org
Subject: bug#53231: 28.0.90; [PATCH] GNU ELPA: Enable sentence-end-double-space in README
Date: Mon, 17 Jan 2022 18:48:12 +0200 [thread overview]
Message-ID: <m28rvejokz.fsf@ego.team> (raw)
In-Reply-To: <jwv8rvipa7b.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Fri, 14 Jan 2022 11:15:19 -0500)
[-- Attachment #1: Type: text/plain, Size: 873 bytes --]
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Lars Ingebrigtsen [2022-01-14 08:53:54] wrote:
>> Y. E. <yet@ego.team> writes:
>>> This update is for those (like me) who have 'sentence-end-double-space'
>>> disabled in their configurations. As far as I understand,
>>> '.dir-locals.el' is not added on purpose to this directory, right?
>> I'm not sure -- perhaps Stefan has some comments; added to the CCs.
>
> No particular opinion, but I can't see any reason why we would not want
> a `.dir-locals.el` so adding it to `.dir-locals.el` is also a good idea.
Okay, then I'm attaching another patch, with the .dir-locals.el file.
It's based on the Emacs's version and similar to the one added to the
branch 'elpa-admin' via a390566f71a52e9d5d71eae56e3c2e92d2c4a2f9.
The difference is the attached defines settings for 'lisp-data-mode'
instead of 'emacs-lisp-mode'.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add .dir-locals.el --]
[-- Type: text/x-patch, Size: 2082 bytes --]
From b470bb8c6c82cdbb45cd9535b77b97fe8dfa99cd Mon Sep 17 00:00:00 2001
From: YugaEgo <yet@ego.team>
Date: Mon, 17 Jan 2022 18:39:55 +0200
Subject: [PATCH] Add .dir-locals.el
* .dir-locals.el: New file.
* README (Local variables): Move fill-column to .dir-locals.el.
* elpa-packages (Local Variables): Move indent-tabs-mode to .dir-locals.el.
---
.dir-locals.el | 17 +++++++++++++++++
README | 1 -
elpa-packages | 4 ----
3 files changed, 17 insertions(+), 5 deletions(-)
create mode 100644 .dir-locals.el
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000000..949deb6c78
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,17 @@
+;;; Directory Local Variables
+;;; For more information see (info "(emacs) Directory Variables")
+
+((nil . ((tab-width . 8)
+ (sentence-end-double-space . t)
+ (fill-column . 70)
+ (bug-reference-url-format . "https://debbugs.gnu.org/%s")))
+ (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)))
+ (diff-mode . ((mode . whitespace)))
+ (lisp-data-mode . ((indent-tabs-mode . nil)
+ (electric-quote-comment . nil)
+ (electric-quote-string . nil)
+ (mode . bug-reference-prog))))
diff --git a/README b/README
index f05e9e58ac..cb437651fc 100644
--- a/README
+++ b/README
@@ -587,7 +587,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
#+BEGIN_COMMENT
Local variables:
mode: org
-fill-column: 70
paragraph-separate: "[ \f]*$"
time-stamp-pattern: "4/#\\+DATE: %Y-%02m-%02d$"
end:
diff --git a/elpa-packages b/elpa-packages
index 902fce5adb..859054226c 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -578,7 +578,3 @@
("zones" :url nil) ;https://www.emacswiki.org/emacs/zones.el
("ztree" :url "https://github.com/fourier/ztree")
)
-
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
--
2.34.1
next prev parent reply other threads:[~2022-01-17 16:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 15:02 bug#53231: 28.0.90; [PATCH] GNU ELPA: Enable sentence-end-double-space in README Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-14 7:53 ` Lars Ingebrigtsen
2022-01-14 16:15 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-17 16:48 ` Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-01-17 21:33 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-20 9:11 ` Lars Ingebrigtsen
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=m28rvejokz.fsf@ego.team \
--to=bug-gnu-emacs@gnu.org \
--cc=53231@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=monnier@iro.umontreal.ca \
--cc=yet@ego.team \
/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).