1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
Commit graph

140900 commits

Author SHA1 Message Date
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
Stefan Kangas
1984213f62 * lisp/emacs-lisp/pp.el: Doc fixes. 2021-04-29 13:45:18 +02:00
Stefan Kangas
6486c9dc73 * admin/make-tarball.txt: Note to update more files on web page. 2021-04-28 15:23:43 +02:00
Philipp Stephani
7d5b973959 * doc/misc/cl.texi (For Clauses): Minor copyedits. 2021-04-24 23:29:58 +02:00
Philipp Stephani
4570781f8d ; * doc/lispref/files.texi (Directory Names): Add missing parenthesis 2021-04-24 23:24:08 +02:00
Eli Zaretskii
1b52fd538d Minor update for make-tarball.txt
* admin/make-tarball.txt (UPDATING THE EMACS WEB PAGES AFTER A
RELEASE): Update and enhance the section to make it easier to find
the banner and verify the updated pages are in place.
2021-04-24 15:17:40 +03:00
Jorge P. de Morais Neto
8efb8491b2 * doc/misc/cl.texi (Iteration Clauses): fix `never' clause typo
This fixes bug#47962.

Copyright-paperwork-exempt: yes
2021-04-24 13:05:47 +03:00
Basil L. Contovounesios
0873134682 ; Fix Texinfo in last change to minibuf.texi. 2021-04-20 13:34:59 +01:00
Eli Zaretskii
cad8913c89 Improve filling-related documentation
* doc/emacs/text.texi (Auto Fill, Fill Commands): Mention special
line-breaking rules for CJK characters and the kinsoku rules.
(Bug#47856)

* lisp/textmodes/fill.el
(fill-separate-heterogeneous-words-with-space): Doc fix.
2021-04-20 15:12:10 +03:00
Philipp Stephani
2b7eed23eb ; * doc/lispref/keymaps.texi (Easy Menu): Fix typo. 2021-04-17 23:13:57 +02:00