Skip to content

Commit

Permalink
Merge pull request #1 from emacs-mirror/master
Browse files Browse the repository at this point in the history
merge master
  • Loading branch information
boyns authored Feb 23, 2021
2 parents 3fe2fb5 + efe42c2 commit 49f07eb
Show file tree
Hide file tree
Showing 186 changed files with 3,723 additions and 3,309 deletions.
14 changes: 9 additions & 5 deletions CONTRIBUTE
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,15 @@ more reliably, and makes the job of applying the patches easier and less
error-prone. It also allows sending patches whose author is someone
other than the email sender.

Once the cumulative amount of your submissions exceeds about 15 lines
of non-trivial code, we will need you to assign to the FSF the
copyright for your contributions. Ask on [email protected], and we
will send you the necessary form together with the instructions to
fill and email it, in order to start this legal paperwork.
Once the cumulative amount of your submissions exceeds a dozen or so
lines of non-trivial changes, we will need you to assign to the FSF
the copyright for your contributions. (To see how many lines were
non-trivially changed, count only added and modified lines in the
patched code. Consider an added or changed line non-trivial if it
includes at least one identifier, string, or substantial comment.)
Ask on [email protected], and we will send you the necessary form
together with the instructions to fill and email it, in order to start
this legal paperwork.

** Issue tracker (a.k.a. "bug tracker")

Expand Down
7 changes: 7 additions & 0 deletions admin/cus-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
;;
;; src/emacs -batch -l admin/cus-test.el -f cus-test-noloads
;;
;; or as a part of the test suite with
;;
;; make -C test test-custom-opts
;; make -C test test-custom-deps
;; make -C test test-custom-libs
;; make -C test test-custom-noloads
;;
;; in the emacs source directory.
;;
;; For interactive use: Load this file. Then
Expand Down
6 changes: 6 additions & 0 deletions doc/emacs/dired.texi
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ options (that is, single characters) requiring no arguments, and long
options (starting with @samp{--}) whose arguments are specified with
@samp{=}.

Dired does not handle files that have names with embedded newline
characters well. If you have many such files, you may consider adding
@samp{-b} to @code{dired-listing-switches}. This will quote all
special characters and allow Dired to handle them better. (You can
also use the @kbd{C-u C-x d} command to add @samp{-b} temporarily.)

@vindex dired-switches-in-mode-line
Dired displays in the mode line an indication of what were the
switches used to invoke @command{ls}. By default, Dired will try to
Expand Down
8 changes: 8 additions & 0 deletions doc/emacs/m-x.texi
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ Modes}). By default, no commands are excluded, but you can customize
the option @code{read-extended-command-predicate} to exclude those
irrelevant commands from completion results.

@kindex M-S-x
Conversely, Emacs can exclude all commands except those that are
particularly relevant to the current buffer. The @kbd{M-S-x} (that's
``meta shift x'') command works just like @kbd{M-x}, but instead of
listing all (or most) of the commands Emacs knows about, it will only
list the commands that have been marked as ``belonging'' to the
current major mode, or any enabled minor modes.

To cancel the @kbd{M-x} and not run a command, type @kbd{C-g} instead
of entering the command name. This takes you back to command level.

Expand Down
14 changes: 13 additions & 1 deletion doc/lispref/commands.texi
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,10 @@ I/O.
Point and the mark, as two numeric arguments, smallest first. This is
the only code letter that specifies two successive arguments rather than
one. This will signal an error if the mark is not set in the buffer
which is current when the command is invoked. No I/O.
which is current when the command is invoked. If Transient Mark mode
is turned on (@pxref{The Mark}) --- as it is by default --- and user
option @code{mark-even-if-inactive} is @code{nil}, Emacs will signal
an error even if the mark @emph{is} set, but is inactive. No I/O.

@item s
Arbitrary text, read in the minibuffer and returned as a string
Expand Down Expand Up @@ -848,6 +851,15 @@ non-@code{nil} if the command is to be included when completing in
that buffer.
@end deffn

@deffn Command execute-extended-command-for-buffer prefix-argument
This is like @code{execute-extended-command}, but limits the commands
offered for completion to those commands that are of particular
relevance to the current major mode (and enabled minor modes). This
includes commands that are tagged with the modes (@pxref{Using
Interactive}), and also commands that are bound to locally active
keymaps.
@end deffn

@node Distinguish Interactive
@section Distinguish Interactive Calls
@cindex distinguish interactive calls
Expand Down
2 changes: 1 addition & 1 deletion doc/lispref/display.texi
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@ the beginning of the result if a multi-column character in

If @var{ellipsis} is non-@code{nil}, it should be a string which will
replace the end of @var{string} when it is truncated. In this case,
more charcaters will be removed from @var{string} to free enough space
more characters will be removed from @var{string} to free enough space
for @var{ellipsis} to fit within @var{width} columns. However, if
the display width of @var{string} is less than the display width of
@var{ellipsis}, @var{ellipsis} will not be appended to the result. If
Expand Down
4 changes: 4 additions & 0 deletions doc/lispref/functions.texi
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,10 @@ This function returns @var{argument} and has no side effects.

@defun ignore &rest arguments
This function ignores any @var{arguments} and returns @code{nil}.
@end defun

@defun always &rest arguments
This function ignores any @var{arguments} and returns @code{t}.
@end defun

Some functions are user-visible @dfn{commands}, which can be called
Expand Down
4 changes: 2 additions & 2 deletions doc/lispref/markers.texi
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,8 @@ the function @code{use-region-p} for that (@pxref{The Region}).
@defvarx deactivate-mark-hook
These normal hooks are run, respectively, when the mark becomes active
and when it becomes inactive. The hook @code{activate-mark-hook} is
also run at the end of the command loop if the mark is active and it
is possible that the region may have changed.
also run when the region is reactivated, for instance after using a
command that switches back to a buffer that has an active mark.
@ignore
This piece of command_loop_1, run unless deactivating the mark:
if (current_buffer != prev_buffer || MODIFF != prev_modiff)
Expand Down
2 changes: 1 addition & 1 deletion doc/lispref/sequences.texi
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ returned value is a list.
(seq-map-indexed (lambda (elt idx)
(list idx elt))
'(a b c))
@result{} ((0 a) (b 1) (c 2))
@result{} ((0 a) (1 b) (2 c))
@end group
@end example
@end defun
Expand Down
2 changes: 1 addition & 1 deletion doc/lispref/windows.texi
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@ frame visible and, unless @var{alist} contains an
This function tries to display @var{buffer} by finding a window
that is displaying a buffer in a given mode.

If @var{alist} contains a @code{mode} entry, its value specifes a
If @var{alist} contains a @code{mode} entry, its value specifies a
major mode (a symbol) or a list of major modes. If @var{alist}
contains no @code{mode} entry, the current major mode of @var{buffer}
is used instead. A window is a candidate if it displays a buffer
Expand Down
119 changes: 60 additions & 59 deletions doc/misc/efaq.texi
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ Free Software Foundation, and related organizations.

@menu
* Real meaning of copyleft::
* Guidelines for newsgroup postings::
* Newsgroup archives::
* Guidelines for mailing list postings::
* Mailing list archives::
* Reporting bugs::
* Unsubscribing from Emacs lists::
* Contacting the FSF::
Expand All @@ -343,9 +343,10 @@ There has never been a copyright infringement case involving the GPL to
set any precedents. Although legal actions have been brought against
companies for violating the terms of the GPL, so far all have been
settled out of court (in favor of the plaintiffs). Please take any
discussion regarding this issue to the newsgroup
@uref{news:gnu.misc.discuss}, which was created to hold the extensive
flame wars on the subject.
discussion regarding this issue to
@uref{https://lists.gnu.org/mailman/listinfo/gnu-misc-discuss, the
gnu-misc-discuss mailing list}, which was created to hold the
extensive flame wars on the subject.

RMS writes:

Expand All @@ -359,49 +360,60 @@ distribute any version of Emacs or a related program, and give the
recipients the same freedom that you enjoyed.
@end quotation

@node Guidelines for newsgroup postings
@section What are appropriate messages for the various Emacs newsgroups?
@node Guidelines for mailing list postings
@section What are appropriate messages for the various Emacs mailing lists?
@cindex Newsgroups, appropriate messages for
@cindex GNU newsgroups, appropriate messages for
@cindex GNU mailing lists, appropriate messages for
@cindex Usenet groups, appropriate messages for
@cindex Mailing lists, appropriate messages for
@cindex Posting messages to newsgroups
@cindex Posting messages to mailing lists

@cindex GNU mailing lists
The Emacs mailing lists are described at
@uref{https://savannah.gnu.org/mail/?group=emacs, the Emacs Savannah
page}. Some of them are gatewayed to newsgroups.

The newsgroup @uref{news:comp.emacs} is for discussion of Emacs programs
in general. The newsgroup @uref{news:gnu.emacs.help} is specifically
for GNU Emacs. It therefore makes no sense to cross-post to both
groups, since only one can be appropriate to any question.

Messages advocating ``non-free'' software are considered unacceptable on
any of the @code{gnu.*} newsgroups except for @uref{news:gnu.misc.discuss},
which was created to hold the extensive flame-wars on the subject.
``Non-free'' software includes any software for which the end user can't
freely modify the source code and exchange enhancements. Be careful to
remove the @code{gnu.*} groups from the @samp{Newsgroups:} line when
posting a followup that recommends such software.

@uref{news:gnu.emacs.bug} is a place where bug reports appear, but avoid
posting bug reports to this newsgroup directly (@pxref{Reporting bugs}).

@node Newsgroup archives
@section Where can I get old postings to @uref{news:gnu.emacs.help} and other GNU groups?
@cindex Archived postings from @code{gnu.emacs.help}
@cindex Usenet archives for GNU groups
@cindex Old Usenet postings for GNU groups
page}.

Messages advocating ``non-free'' software are considered unacceptable
on any of the GNU mailing lists, except for
@url{https://lists.gnu.org/mailman/listinfo/gnu-misc-discuss, the
gnu-misc-discuss mailing list} which was created to hold the extensive
flame-wars on the subject.

``Non-free'' software includes any software for which the end user
can't freely modify the source code and exchange enhancements. Be
careful to remove any GNU mailing lists from @samp{Cc:} when posting a
reply that recommends such software.

@url{https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs, The
bug-gnu-emacs list} is a place where bug reports appear, but we
recommend using the commands @kbd{M-x report-emacs-bug} or @kbd{M-x
submit-emacs-patch} if at all possible (@pxref{Reporting bugs}).

Some GNU mailing lists are gatewayed to (Usenet) newsgroups.
For example, sending an email to
@url{https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs, The
bug-gnu-emacs list} has the effect of posting on the newsgroup
@uref{news:gnu.emacs.help}).

Finally, we recommend reading the
@url{https://www.gnu.org/philosophy/kind-communication.html, GNU Kind
Communications Guidelines} before posting to any GNU lists or
newsgroups.

@node Mailing list archives
@section Where can I read archives for @code{help-gnu-emacs} and other GNU lists?
@cindex Archived postings from @code{help-gnu-emacs}
@cindex Old mailing list posts for GNU lists
@cindex Mailing list archives for GNU lists

The FSF has maintained archives of all of the GNU mailing lists for many
years, although there may be some unintentional gaps in coverage. The
archive can be browsed over the web at
@uref{https://lists.gnu.org/r/, the GNU mail archive}.

Web-based Usenet search services, such as
@uref{https://groups.google.com/groups/dir?q=gnu&, Google}, also
archive the @code{gnu.*} groups.
Some web-based Usenet search services also archive the @code{gnu.*}
newsgroups.

@node Reporting bugs
@section Where should I report bugs and other problems with Emacs?
Expand All @@ -414,39 +426,25 @@ The correct way to report Emacs bugs is to use the command
@kbd{M-x report-emacs-bug}. It sets up a mail buffer with the
essential information and the correct e-mail address,
@email{bug-gnu-emacs@@gnu.org}.
Anything sent there also appears in the
newsgroup @uref{news:gnu.emacs.bug}, but please use e-mail instead of
news to submit the bug report. This ensures a reliable return address
so you can be contacted for further details.

Be sure to read the ``Bugs'' section of the Emacs manual before reporting
a bug! The manual describes in detail how to submit a useful bug
report (@pxref{Bugs, , Reporting Bugs, emacs, The GNU Emacs Manual}).
(@xref{Emacs manual}, if you don't know how to read the manual.)

RMS says:

@quotation
Sending bug reports to
@url{https://lists.gnu.org/mailman/listinfo/help-gnu-emacs,
the help-gnu-emacs mailing list}
(which has the effect of posting on @uref{news:gnu.emacs.help}) is
undesirable because it takes the time of an unnecessarily large group
of people, most of whom are just users and have no idea how to fix
these problem.
@url{https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs, The
bug-gnu-emacs list} reaches a much smaller group of people who are
@url{https://lists.gnu.org/mailman/listinfo/help-gnu-emacs, the
help-gnu-emacs mailing list} is undesirable because it takes the time
of an unnecessarily large group of people, most of whom are just users
and have no idea how to fix these
problem. @url{https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs,
The bug-gnu-emacs list} reaches a much smaller group of people who are
more likely to know what to do and have expressed a wish to receive
more messages about Emacs than the others.
@end quotation

RMS says it is sometimes fine to post to @uref{news:gnu.emacs.help}:

@quotation
If you have reported a bug and you don't hear about a possible fix,
then after a suitable delay (such as a week) it is okay to post on
@code{gnu.emacs.help} asking if anyone can help you.
@end quotation
@code{help-gnu-emacs@@gnu.org} asking if anyone can help you.

If you are unsure whether you have found a bug, consider the following
non-exhaustive list, courtesy of RMS:
Expand All @@ -458,6 +456,11 @@ is a bug. If Lisp code does not do what the documentation says it
does, that is a bug.
@end quotation

Anything sent to @email{bug-gnu-emacs@@gnu.org} also appears in the
newsgroup @uref{news:gnu.emacs.bug}, but please use e-mail instead of
news to submit the bug report. This ensures a reliable return address
so you can be contacted for further details.

@node Unsubscribing from Emacs lists
@section How do I unsubscribe from a mailing list?
@cindex Unsubscribing from GNU mailing lists
Expand Down Expand Up @@ -3526,10 +3529,8 @@ installing any nonfree software, we recommend for your freedom's sake
that you stay away from it.

The @uref{https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources,
GNU Emacs sources mailing list}, which is gatewayed to the
@uref{news:gnu.emacs.sources, Emacs sources newsgroup} (although the
connection between the two can be unreliable) is an official place
where people can post or announce their extensions to Emacs.
GNU Emacs sources mailing list} is an official place where people can
post or announce their extensions to Emacs.

The @uref{https://emacswiki.org, Emacs Wiki} contains pointers to some
additional extensions. @uref{https://wikemacs.org, WikEmacs} is an
Expand Down
Loading

0 comments on commit 49f07eb

Please sign in to comment.