unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53231: 28.0.90; [PATCH] GNU ELPA: Enable sentence-end-double-space in README
@ 2022-01-13 15:02 Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-01-14  7:53 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-13 15:02 UTC (permalink / raw)
  To: 53231

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]


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?

Thanks,
YE


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: README (Local variables): Enable sentence-end-double-space --]
[-- Type: text/x-patch, Size: 621 bytes --]

From a8ab2128960e79b5df28fa8a02f30481784188d5 Mon Sep 17 00:00:00 2001
From: YugaEgo <yet@ego.team>
Date: Thu, 13 Jan 2022 16:51:07 +0200
Subject: [PATCH] * README (Local variables): Enable sentence-end-double-space

---
 README | 1 +
 1 file changed, 1 insertion(+)

diff --git a/README b/README
index f05e9e58ac..ff2a5d0f92 100644
--- a/README
+++ b/README
@@ -588,6 +588,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
 Local variables:
 mode: org
 fill-column: 70
+sentence-end-double-space: t
 paragraph-separate: "[ 	\f]*$"
 time-stamp-pattern: "4/#\\+DATE: %Y-%02m-%02d$"
 end:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#53231: 28.0.90; [PATCH] GNU ELPA: Enable sentence-end-double-space in README
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-14  7:53 UTC (permalink / raw)
  To: Y. E.; +Cc: 53231, Stefan Monnier

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#53231: 28.0.90; [PATCH] GNU ELPA: Enable sentence-end-double-space in README
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-14 16:15 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Y. E., 53231

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.


        Stefan






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#53231: 28.0.90; [PATCH] GNU ELPA: Enable sentence-end-double-space in README
  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
  2022-01-17 21:33       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 6+ messages in thread
From: Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-17 16:48 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: larsi, yet, 53231

[-- 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#53231: 28.0.90; [PATCH] GNU ELPA: Enable sentence-end-double-space in README
  2022-01-17 16:48     ` Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 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
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-01-17 21:33 UTC (permalink / raw)
  To: Y. E.; +Cc: larsi, 53231

> 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.

Thanks, pushed!


        Stefan






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#53231: 28.0.90; [PATCH] GNU ELPA: Enable sentence-end-double-space in README
  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
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-20  9:11 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Y. E., 53231

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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.
>
> Thanks, pushed!

So I guess that fixes the issue, and I'm therefore closing this bug
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-20  9:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).