1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

140909 Commits

Author SHA1 Message Date
Olivier Certner
d7f4cc0974
ERC: Track: Clarify documentation on tracked buffers and add references
* lisp/erc/erc-track.el (erc-modified-channels-alist): Clarify what
the list contains.  Add references to variables and functions involved
in displaying tracked buffers from this list.
(erc-make-mode-line-buffer-name): Describe exactly the algorithm, and
reference custom variables that influence it.
2021-09-11 22:55:16 -04:00
Olivier Certner
fb1f0dfec9
ERC: Track: Fix documentation of structure of 'erc-modified-channels-alist'
* lisp/erc/erc-track.el (erc-modified-channels-alist): Fix the
docstring: each element is a dotted list where the last cdr is
sometimes a proper list, making the element only sometimes a proper
list.
2021-09-11 22:54:44 -04:00
Stephen Gildea
252a769b11 ; * doc/lispref/files.texi (Changing Files): Fix xref to file-modes.
'file-modes' is in node "Testing Accessibility", not "File Attributes".
2021-09-10 20:22:47 -07:00
Basil L. Contovounesios
edc93a5ce6 ; Fix grammar in efaq.texi on Emacs vs XEmacs. 2021-09-08 12:41:07 +02:00
Glenn Morris
97aa8240d2 * doc/misc/efaq.texi: Misc copyedits.
Prefer mailing lists to newgroups.
(History of Emacs): Rename from "Status of Emacs".
Move XEmacs node here.
(Emacs for other operating systems): Merge all the "non-Unix"
systems into a single node.
2021-09-05 15:51:35 -07:00
Glenn Morris
e1050492d1 * doc/misc/efaq.texi (Reporting bugs): Refer to the Emacs manual.
That is better than having a separate, outdated text.
2021-09-03 08:45:16 -07:00
Stephen Gildea
0aa0410372 Fix "Finder" description for multi-file packages
* lisp/finder.el (finder-compile-keywords):  Now that 'version' is
set for more files, it is no longer necessary to check that we have
a version when picking the file from which to take the description.
Doing so caused built-in packages (where the version is known) to have
their package description taken from the last .el file that matched the
file name pattern, usually the last source file in the sub-directory.

This bug was introduced in July 2019 and first released in Emacs 27.1.

Thanks to Michael Albinus for reviewing this patch.
2021-08-25 17:39:26 -07:00
Tino Calancha
5b03849102 ; * test/lisp/files-tests.el: Add tests for save-some-buffers
; Do not merge to master.
2021-08-20 18:07:04 +02:00
Alan Mackenzie
9664ee182c C++ Mode: Don't confuse the pointer operator -> with the type indicating ->
This fixes bug #47468.

* lisp/progmodes/cc-engine.el (c-looking-at-inexpr-block): While searching
backwards for "->" which is a type indicating operator, disallow also commas.
2021-08-15 19:43:58 +00:00
Alan Mackenzie
b3aec9ee48 CC Mode: Fix unstable fontification of doc strings.
Also optimize a loop over several line doc-comments.

* lisp/progmodes/cc-fonts.el (c-font-lock-doc-comments): New variable
comment-mid, used as the starting point for applying c-doc-face-name in a
line comments.  In block comments, apply this face not from `comment-beg' but
from `region-beg', no earlier than the start of the fontification region.
2021-08-15 18:11:42 +00:00
Olivier Certner
b77f6af24e
ERC right stamps: also use latest buffer's window's width (Bug#44140)
* lisp/erc/erc-stamp.el (erc-insert-timestamp-right): Use latest
buffer's window's width to position the timestamp, if both
`erc-timestamp-right-column' and `erc-fill-column' are not set (or
`erc-fill-mode' is off).  This is what the documentation says, but was
not implemented.  Also fix the bug of using selected window's width
instead of the (or some) window showing the buffer.  The latest
window's width is saved in `erc-timestamp-last-window-width' and used
when the buffer is no more shown.  In case the buffer was never shown,
which I'm not sure can happen, either use `fill-column' if set, or
give up on aligning and just output the timestamp (modulo the kludge)
right after message text.  While here, fix the off by one calculation
of point start when the reference is the window's width.
2021-08-06 00:26:01 -04:00
Olivier Certner
75ecce4323
Unbreak ERC's Ibuffer filter (Bug#44100)
* lisp/erc/erc-ibuffer.el (erc-modified): Don't use `length' on dotted
lists (and not even to test if there is more than one element, for
that matter).  Use `cdr' instead.
2021-08-02 22:34:25 -04:00
Glenn Morris
61def1e392 ; Auto-commit of loaddefs files. 2021-08-01 06:12:18 -07:00
Eli Zaretskii
d0625dc553 ; One more change in back.texi. 2021-07-24 13:41:01 +03:00
Eli Zaretskii
06d0a66e57 ; Yet another last-minute change in Emacs manual for printing
* doc/emacs/book-spine.texi:
* doc/emacs/back.texi: Minor copyedits.
2021-07-24 13:15:50 +03:00
Eli Zaretskii
7ac411ae2c ; * src/data.c (Fcar, Fcdr): Doc fix. 2021-07-14 18:54:11 +03:00
Eli Zaretskii
0d9e1826f7 One more minor update of the Emacs manual for 19th printing
* doc/emacs/back.texi:
* doc/emacs/book-spine.texi:
* doc/emacs/emacs.texi: Last round of minor copyedits for 19th ed.
2021-07-13 15:03:59 +03:00
Basil L. Contovounesios
92616d30e0 ; Fix let-alist Texinfo markup
* doc/lispref/lists.texi (Association Lists): Use
@result (bug#34842).
2021-07-09 14:37:50 +01:00
Eli Zaretskii
c13acf8e34 ; * doc/emacs/mule.texi (International Chars): Mention 'describe-char'. 2021-07-08 09:51:02 +03:00
Eli Zaretskii
fbf1cb2bf2 Fix overfull hbox in Emacs manual
* doc/emacs/display.texi (Displaying Boundaries): Fix overfull
hbox.
2021-07-06 15:25:51 +03:00
Eli Zaretskii
fda60094a2 Minor copyedits of Emacs manual
* doc/emacs/book-spine.texi: Fix the author attribution.
(Bug#49405)
* doc/emacs/back.texi: Update text.
2021-07-06 14:57:19 +03:00
Amin Bandali
348b2aed0c
Update IRC-related references to point to Libera.Chat
Per GNU and FSF's announcements [0, 1] of moving official IRC channels
to the Libera.Chat IRC network, as well as several Emacs-related
channels following suit [2], update IRC-related references to reflect
the migration.

[0]: https://lists.gnu.org/archive/html/info-gnu/2021-06/msg00005.html
[1]: https://lists.gnu.org/archive/html/info-gnu/2021-06/msg00007.html
[2]: https://lists.gnu.org/archive/html/info-gnu-emacs/2021-06/msg00000.html
2021-07-03 23:39:18 -04:00
Daniel Martín
b0e725e2fe Fix typo in c-macro-expand docstring
* lisp/progmodes/cmacexp.el (c-macro-expand): Fix typo.  (Bug#49356)
2021-07-03 19:12:30 +03:00
Glenn Morris
d70dc6946a ; Auto-commit of loaddefs files. 2021-07-01 06:11:38 -07:00
Eli Zaretskii
d898d3c73a ; * doc/emacs/back.texi: Fix a typo. 2021-07-01 11:31:05 +03:00
Eli Zaretskii
de52dbd4ad Update doc/emacs/ for a new printing of the Emacs Manual book
* doc/emacs/book-spine.texi: New file: the printed book spine.
* doc/emacs/back.texi: New file: the backcover text for the
printed book.
* doc/emacs/emacs.texi: Update ISBN.
2021-07-01 11:28:05 +03:00
Alan Mackenzie
ef5f3d5ee7 C++ Mode: Handle new keywords static_cast, etc., wrt angle brackets
* lisp/progmodes/cc-langs.el (c-<>-arglist-kwds): Add const_cast,
dynamic_cast, reinterpret_cast and static_cast into this lang const.

* lisp/progmodes/cc-engine.el (c-clear-<-pair-props, c-clear->-pair-props)
(c-clear-<-pair-props-if-match-after, c-clear->-pair-props-if-match-before)
(c-forward-<>-arglist-recur):
Invalidate caches with c-trunctate-lit-pos-cache.
(c-forward-<>-arglist-recur): If in a matching <...> expression, the < has a
syntax-table property, but the > not, remove that property.
2021-06-27 12:59:18 +00:00
Eli Zaretskii
7722b510aa Another improvement in documentation of "memory" profiler
* lisp/profiler.el (profiler-start): Fix the doc string to better
explain what is "memory" profiler.
2021-06-19 16:08:50 +03:00
Eli Zaretskii
8d5c70d73a Improve documentation of profiler
* doc/lispref/debugging.texi (Profiling): Stop misleading users
about what "memory" profiling really is.
2021-06-19 15:39:11 +03:00
Eli Zaretskii
0ffef0b46b Document 'ispell-program-name'
* doc/emacs/fixit.texi (Spelling): Document
'ispell-program-name'.  (Bug#49039)
2021-06-15 18:21:50 +03:00
Eli Zaretskii
7be610f911 Fix documentation of 'face-extend-p'
* doc/lispref/display.texi (Attribute Functions): Fix description
of 'face-extend-p'.  (Bug#48936)
2021-06-13 17:10:51 +03:00
Eli Zaretskii
b94532f028 * src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak. (Bug#48884)
(cherry picked from commit 69a65212a2)
2021-06-09 15:35:38 +03:00
Basil L. Contovounesios
37f4457994 ; Fix typo in dynamic module functions docs. 2021-06-06 07:52:01 +01:00
Eli Zaretskii
f7d4bbceee ; * src/composite.h: Improve comments for LGSTRING and LGLYPH. 2021-06-02 17:50:57 +03:00
Glenn Morris
bef00aa137 ; Auto-commit of loaddefs files. 2021-06-01 06:12:39 -07:00
Eli Zaretskii
5dfa5e26dd Improve documentation of regexp ranges
* doc/lispref/searching.texi (Regexp Special): Document the effect
of using octal escapes in regexp ranges.  (Bug#17758)
2021-05-30 13:20:02 +03:00
Eli Zaretskii
30e5d93ee1 Improve documentation of display tables
* doc/lispref/display.texi (Display Tables): Add a cross-reference
to the next section.
2021-05-21 09:51:17 +03:00
Eli Zaretskii
8804ac857b * src/buffer.c (syms_of_buffer) <ctl-arrow>: Doc fix. (Bug#48539) 2021-05-21 09:37:47 +03:00
Eli Zaretskii
bcd92b5708 Improve documentation of Hexl mode
* doc/emacs/misc.texi (Editing Binary Files): Explain that Hexl can
also be used for editing text, including non-ASCII text.
2021-05-11 20:06:02 +03:00
Basil L. Contovounesios
c233f4eccd ; * etc/NEWS: Fix decoded-time-set-defaults typo.
This was mistakenly applied to NEWS.27 on the master branch in
2021-05-09 "; Fix decoded-time-set-defaults typo in NEWS.27."
but that has now been reverted (bug#48298).
2021-05-09 14:46:27 +01:00
Eli Zaretskii
4c3abb3dd1 Fix compilation errors with latest w32 API headers
* src/w32common.h: Rename OS_* to OS_SUBTYPE__*, as w32 API
headers started defining OS_NT, which breaks the use of the
enumeration.  All users changed.  (Bug#48303)
2021-05-09 10:59:08 +03:00
Eli Zaretskii
127f1f330b Improve doc strings in log-edit.el
* lisp/vc/log-edit.el (log-edit-new-comment-index)
(log-edit-maximum-comment-ring-size, log-edit-previous-comment)
(log-edit-next-comment, log-edit-comment-search-backward)
(log-edit-comment-search-forward)
(log-edit-comment-to-change-log)
(log-edit-header-contents-regexp, log-edit-font-lock-gnu-style)
(log-edit, log-edit-mode, log-edit-fill-entry, log-edit-done)
(log-edit-kill-buffer, log-edit-insert-message-template)
(log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate)
(log-edit-rewrite-fixes, log-edit-add-to-changelog)
(log-edit-generate-changelog-from-diff)
(log-edit-insert-changelog, log-edit-narrow-changelog)
(log-edit-changelog-entry, log-edit-changelog-insert-entries)
(log-edit-extract-headers): Enhance and reword doc strings.
2021-05-07 10:16:11 +03:00
Eli Zaretskii
e36183ff46 ; * etc/TODO (etc/DOC): Update the todo entries. 2021-05-06 11:41:43 +03:00
Philipp Stephani
40228fffd7 Fix code for newline-and-indent in skeleton language.
The code for this is the symbol 'n', which is usually spelled as '\n'
here, not the character ?\n.

* doc/misc/autotype.texi (Skeleton Language): Fix item for
newline-and-indent.
2021-05-02 20:57:38 +02:00
Philipp Stephani
56c4c8ef32 * lisp/jka-compr.el (jka-compr-uninstall): Fix function reference. 2021-05-02 01:02:00 +02:00
Glenn Morris
6a46d3d809 ; Auto-commit of loaddefs files. 2021-05-01 06:11:33 -07:00
Jim Porter
ccfd2e20a9 Fix GUD overlay arrows in M-x gdb when debugging over Tramp. Don't merge
* lisp/progmodes/gdb-mi.el (gdb-frame-handler): Use local part of
file name when setting `gud-last-frame'.
2021-05-01 12:05:37 +02:00
Jim Porter
e61688f87d Fix setting breakpoints in M-x gdb for remote files. Don't merge
* lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer): Fix modification
of GDB/MI "fullname" property for remote files
2021-05-01 11:56:19 +02:00
Eli Zaretskii
101a049f55 Improve doc string of 'tab-width'.
* src/buffer.c (syms_of_buffer) <tab-width>: Clarify doc string.
(Bug#48058)
2021-04-30 13:48:13 +03:00
Stefan Kangas
43c154404e * lisp/emacs-lisp/elp.el: Doc fixes. 2021-04-29 17:18:09 +02:00