unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56118: [PATCH] Fix typo in Info description of 'auto-insert-alist'
@ 2022-06-21  2:02 Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-06-21  2:34 ` Eli Zaretskii
  2022-06-22  2:52 ` Richard Stallman
  0 siblings, 2 replies; 5+ messages in thread
From: Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-06-21  2:02 UTC (permalink / raw)
  To: 56118

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

Hello,

This joins with a comma two sentences that were separated by a period
instead of ending the first sentence after the first item of an "either"
phrase.

Thank you.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-typo-in-the-description-of-auto-insert-alist.patch --]
[-- Type: text/x-patch; name=0001-Fix-typo-in-the-description-of-auto-insert-alist.patch, Size: 1054 bytes --]

From 63ccd97ec161752dba7e399d6fd3d9992d5d31bf Mon Sep 17 00:00:00 2001
From: Earl Hyatt <okamsn@protonmail.com>
Date: Mon, 20 Jun 2022 21:49:39 -0400
Subject: [PATCH] Fix typo in the description of 'auto-insert-alist'.

---
 doc/misc/autotype.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi
index a3b0f16df9..a880642ac3 100644
--- a/doc/misc/autotype.texi
+++ b/doc/misc/autotype.texi
@@ -276,7 +276,7 @@ Autoinserting
   What gets inserted, if anything, is determined by the variable
 @code{auto-insert-alist}.  The @sc{car}s of this list are each either
 a mode name, making an element applicable when a buffer is in that
-mode.  Or they can be a string, which is a regexp matched against the
+mode, or they can be a string, which is a regexp matched against the
 buffer's file name.  In that way different kinds of files that have
 the same mode in Emacs can be distinguished.  The @sc{car}s may also
 be cons cells consisting of mode name or regexp as above and an
-- 
2.34.1


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

* bug#56118: [PATCH] Fix typo in Info description of 'auto-insert-alist'
  2022-06-21  2:02 bug#56118: [PATCH] Fix typo in Info description of 'auto-insert-alist' Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-06-21  2:34 ` Eli Zaretskii
  2022-06-21 10:53   ` Lars Ingebrigtsen
  2022-06-22  2:52 ` Richard Stallman
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2022-06-21  2:34 UTC (permalink / raw)
  To: Okamsn; +Cc: 56118

> Date: Tue, 21 Jun 2022 02:02:41 +0000
> From:  Okamsn via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> This joins with a comma two sentences that were separated by a period
> instead of ending the first sentence after the first item of an "either"
> phrase.

Both styles are valid (and I believe used elsewhere in our docs).





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

* bug#56118: [PATCH] Fix typo in Info description of 'auto-insert-alist'
  2022-06-21  2:34 ` Eli Zaretskii
@ 2022-06-21 10:53   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-21 10:53 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Okamsn, 56118

Eli Zaretskii <eliz@gnu.org> writes:

>> This joins with a comma two sentences that were separated by a period
>> instead of ending the first sentence after the first item of an "either"
>> phrase.
>
> Both styles are valid (and I believe used elsewhere in our docs).

Yup.  But the change does make the paragraph read better, in my opinion,
so I've pushed Earl's change to Emacs 28.

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





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

* bug#56118: [PATCH] Fix typo in Info description of 'auto-insert-alist'
  2022-06-21  2:02 bug#56118: [PATCH] Fix typo in Info description of 'auto-insert-alist' Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-06-21  2:34 ` Eli Zaretskii
@ 2022-06-22  2:52 ` Richard Stallman
  2022-06-22 13:47   ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2022-06-22  2:52 UTC (permalink / raw)
  To: Okamsn; +Cc: 56118

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  >  @code{auto-insert-alist}.  The @sc{car}s of this list are each either
  >  a mode name, making an element applicable when a buffer is in that
  > -mode.  Or they can be a string, which is a regexp matched against the
  > +mode, or they can be a string, which is a regexp matched against the

The change is ok, but deleting "they can be" would make it better writing.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







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

* bug#56118: [PATCH] Fix typo in Info description of 'auto-insert-alist'
  2022-06-22  2:52 ` Richard Stallman
@ 2022-06-22 13:47   ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2022-06-22 13:47 UTC (permalink / raw)
  To: rms; +Cc: okamsn, 56118

> Cc: 56118@debbugs.gnu.org
> From: Richard Stallman <rms@gnu.org>
> Date: Tue, 21 Jun 2022 22:52:18 -0400
> 
>   >  @code{auto-insert-alist}.  The @sc{car}s of this list are each either
>   >  a mode name, making an element applicable when a buffer is in that
>   > -mode.  Or they can be a string, which is a regexp matched against the
>   > +mode, or they can be a string, which is a regexp matched against the
> 
> The change is ok, but deleting "they can be" would make it better writing.

Thanks, done.





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

end of thread, other threads:[~2022-06-22 13:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21  2:02 bug#56118: [PATCH] Fix typo in Info description of 'auto-insert-alist' Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-21  2:34 ` Eli Zaretskii
2022-06-21 10:53   ` Lars Ingebrigtsen
2022-06-22  2:52 ` Richard Stallman
2022-06-22 13:47   ` Eli Zaretskii

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