Noam Postavsky [Mon, 22 Apr 2019 02:44:50 +0000 (22:44 -0400)]
Recognize single quote attribute values in nxml and sgml (Bug#35381)
* lisp/textmodes/sgml-mode.el (sgml-specials): Add single quote.
(sgml-syntax-propertize-rules): Handle single quote.
* test/lisp/nxml/nxml-mode-tests.el (nxml-mode-font-lock-quotes): New
test.
* test/lisp/textmodes/sgml-mode-tests.el
(sgml-delete-tag-bug-8203-should-not-delete-apostrophe): Now passes.
Noam Postavsky [Fri, 19 Apr 2019 17:28:00 +0000 (13:28 -0400)]
Disable extra display of in nxml-mode (Bug#32897)
* lisp/nxml/nxml-mode.el (nxml-char-ref-display-extra): Don't put
display for the newline, it makes the indentation look wrong.
Noam Postavsky [Fri, 19 Apr 2019 03:36:04 +0000 (23:36 -0400)]
Fix nxml-get-inside (Bug#32003)
The change from 2016-01-16 "lisp/nxml: Use syntax-tables for comments"
made nxml-get-inside return non-nil for any string or comment,
including attribute strings. This caused incorrect and therefore
indentation.
* lisp/nxml/nxml-rap.el: Update commentary to reflect changes to
nxml-mode parsing.
(nxml-get-inside): Only return non-nil when inside comments and
generic strings, not normal quote-delimited strings.
* test/lisp/nxml/nxml-mode-tests.el: New tests.
Eli Zaretskii [Wed, 8 May 2019 17:34:09 +0000 (20:34 +0300)]
Fix positioning client buffer as instructed by emacsclient
* lisp/server.el (server-switch-buffer): Let-bind
switch-to-buffer-preserve-window-point to nil when switching
to the client buffer, when the client requested a specific
position. (Bug#35602)
Stefan Monnier [Wed, 8 May 2019 17:19:36 +0000 (13:19 -0400)]
* etc/package-keyring.gpg: Add the 2019 key (backport)
Vitalie Spinu [Wed, 8 May 2019 09:12:29 +0000 (11:12 +0200)]
Fix incorrect cloning of eieio-instance-inheritor objects (Bug#34840)
* lisp/emacs-lisp/eieio-base.el (clone): Unbound slots of
eieio-instance-inheritor objects as documented in the docs string
and implemented in the original eieio implementation.
Vitalie Spinu [Tue, 7 May 2019 11:15:43 +0000 (13:15 +0200)]
Fix cloning of eieio-named objects (Bug#22840)
* lisp/emacs-lisp/eieio-base.el (clone): Correctly set the name of the
cloned objects from eieio-named instances.
Basil L. Contovounesios [Tue, 7 May 2019 00:40:22 +0000 (01:40 +0100)]
Fix ibuffer-unmark-backward synopsis (bug#35572)
* lisp/ibuffer.el (ibuffer-mode): Fix synopsis of
ibuffer-unmark-backward along with other minor copy-edits.
Eli Zaretskii [Mon, 6 May 2019 18:52:19 +0000 (21:52 +0300)]
; * src/lisp.h (DEFSYM): Fix inaccurate comment.
Noam Postavsky [Sun, 5 May 2019 03:55:50 +0000 (23:55 -0400)]
Clarify handling of long options (Bug#24949)
* doc/emacs/cmdargs.texi (Emacs Invocation): Note that space can be
used instead of "=" only if an option requires an argument.
Eli Zaretskii [Sat, 4 May 2019 09:22:49 +0000 (12:22 +0300)]
Improve documentation of the daemon and emacsclient
* doc/emacs/misc.texi (emacsclient Options):
* doc/emacs/cmdargs.texi (Initial Options): Document that
using --daemon=NAME will need to specify the same NAME when
invoking 'emacscilent'. (Bug#35547)
Noam Postavsky [Thu, 2 May 2019 02:17:10 +0000 (22:17 -0400)]
* etc/NEWS.24: Belatedly announce delete-consecutive-dups.
Glenn Morris [Wed, 1 May 2019 16:20:05 +0000 (09:20 -0700)]
; Auto-commit of loaddefs files.
Glenn Morris [Wed, 1 May 2019 16:15:59 +0000 (09:15 -0700)]
* admin/update_autogen: Handle git worktree.
; No need to merge to master.
Noam Postavsky [Sun, 28 Apr 2019 12:28:46 +0000 (08:28 -0400)]
Update process filter example (Bug#35044)
* doc/lispref/processes.texi (Filter Functions): Use
insert-before-markers in the "ordinary" filter example, like
internal-default-process-filter does.
YAMAMOTO Mitsuharu [Sun, 28 Apr 2019 22:31:45 +0000 (07:31 +0900)]
* src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW.
Noam Postavsky [Fri, 19 Apr 2019 04:55:14 +0000 (00:55 -0400)]
Recommend using font-lock-face over face (Bug#35044)
* doc/lispref/modes.texi (Precalculated Fontification): Explain
advantages of using font-lock-face over face.
Noam Postavsky [Sat, 27 Apr 2019 19:22:11 +0000 (15:22 -0400)]
Check if mouse_face_overlay was deleted (Bug#35273)
* src/xdisp.c (note_mouse_highlight): Check if the mouse_face_overlay
actually points to a buffer, before calling
mouse_face_overlay_overlaps on it.
Paul Eggert [Sat, 5 Jan 2019 17:47:14 +0000 (09:47 -0800)]
Port to platforms where tputs is in libtinfow
* configure.ac (tputs_library): Also try tinfow, ncursesw (Bug#33977).
(cherry picked from commit
a3d52b3057c98bce581bc94912ef3ced6fad6f14)
Charles A. Roelli [Fri, 26 Apr 2019 19:49:46 +0000 (21:49 +0200)]
; * doc/lispref/nonascii.texi (Coding System Basics): Fix grammar.
Michael Albinus [Thu, 25 Apr 2019 20:49:03 +0000 (22:49 +0200)]
; Add missing space in custom.texi
Glenn Morris [Tue, 23 Apr 2019 01:24:22 +0000 (21:24 -0400)]
* admin/admin.el (set-version): Check for increase in version length,
rather than a .50 version.
Noam Postavsky [Mon, 15 Apr 2019 22:49:57 +0000 (18:49 -0400)]
Be more careful about indent-sexp going over eol (Bug#35286)
* lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only go over multiple
sexps if the end of line is within a sexp.
* test/lisp/emacs-lisp/lisp-mode-tests.el
(indent-sexp-stop-before-eol-comment)
(indent-sexp-stop-before-eol-non-lisp): New tests.
Basil L. Contovounesios [Wed, 17 Apr 2019 15:34:47 +0000 (16:34 +0100)]
Backport: Improve pure and side-effect-free docs
For discussion, see thread starting at:
https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00316.html
* doc/lispref/customize.texi (Composite Types): Do not overspecify
:match-alternatives predicates.
* doc/lispref/eval.texi (Intro Eval): Anchor definition of "side
effect" for cross-referencing...
* doc/lispref/functions.texi (What Is a Function): ...from here.
Define what a pure function is.
* doc/lispref/internals.texi (Writing Emacs Primitives): Describe
currently preferred approach to marking primitives as pure and
side-effect-free.
* doc/lispref/symbols.texi (Standard Properties): Expand description
of pure and side-effect-free properties.
(cherry picked from commit
4430a9b54fca266e48d0eb8b72d83706910f10b8)
Basil L. Contovounesios [Mon, 1 Apr 2019 23:56:04 +0000 (00:56 +0100)]
Backport: Avoid using obsolete indent-relative-maybe
* lisp/electric.el (electric-indent-functions-without-reindent):
* lisp/indent.el (indent-according-to-mode): Check for
indent-relative-first-indent-point in addition to its obsolete alias
indent-relative-maybe.
* lisp/obsolete/vi.el (vi-com-map): Use
indent-relative-first-indent-point in place of its obsolete alias
indent-relative-maybe.
(cherry picked from commit
0e468a620458fecd003c396050aa6deb722982c1)
Mauro Aranda [Mon, 8 Apr 2019 23:24:32 +0000 (20:24 -0300)]
Avoid false positives and false negatives of Info-quoted face
* lisp/info.el (Info-mode-font-lock-keywords): Modify the regexp, for
matching single quotes of opening single quote and closing single
quote, and avoid matching text followed by a curly quote when it is
not quoting. (Bug#35202)
Eli Zaretskii [Sun, 21 Apr 2019 11:56:04 +0000 (14:56 +0300)]
Fix markup related to quoting in Info
* doc/misc/sc.texi (Citations): Fix markup of '>'.
* doc/misc/mh-e.texi (Speedbar): Fix markup in a @table.
* doc/misc/calc.texi (Yacas Language Mode): Fix a typo.
* doc/emacs/mark.texi (Setting Mark): Remove duplicate
quoting. (Bug#35202)
Eli Zaretskii [Sun, 21 Apr 2019 11:21:52 +0000 (14:21 +0300)]
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
Noam Postavsky [Mon, 5 Feb 2018 01:43:26 +0000 (20:43 -0500)]
Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)
* configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than
AC_SEARCH_LIBS.
* src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure,
instead of just LIBLCMS2.
(cherry picked from commit
cb3863370cbe574810f796726faa39ba0de0a429)
Glenn Morris [Sat, 20 Apr 2019 18:38:47 +0000 (11:38 -0700)]
Add a package: line to c-submit-bug-report.
* lisp/progmodes/cc-mode.el (c-submit-bug-report):
Add a Package: line for mail clients that do not support X- headers.
Glenn Morris [Sat, 20 Apr 2019 17:06:26 +0000 (10:06 -0700)]
; Remove empty NEWS sections
Glenn Morris [Sat, 20 Apr 2019 17:04:18 +0000 (10:04 -0700)]
; Add NEWS sections for 26.3
Glenn Morris [Sat, 20 Apr 2019 17:03:40 +0000 (10:03 -0700)]
; Bump Emacs version to 26.2.50
Glenn Morris [Sat, 20 Apr 2019 17:02:58 +0000 (10:02 -0700)]
* admin/admin.el (set-version): Add NEWS headers for a .50 version.
Eli Zaretskii [Sat, 20 Apr 2019 07:21:02 +0000 (10:21 +0300)]
Backport doc improvement in ELisp manual
* doc/lispref/processes.texi (Accepting Output): Backport:
document how do avoid race conditions while waiting for all of
the process's output to arrive.
Noam Postavsky [Thu, 18 Apr 2019 00:22:09 +0000 (20:22 -0400)]
Document insert-image-file's return value (Bug#32978)
* lisp/image-file.el (insert-image-file): Document return value.
Braun Gábor [Fri, 22 Mar 2019 15:11:44 +0000 (16:11 +0100)]
Autoload cua-toggle-rectangle-mark (Bug#34947)
* lisp/emulation/cua-base.el (cua-toggle-rectangle-mark): Autoload it.
Library cua-base.el binds cua-toggle-rectangle-mark to a key in the
:set function in (defcustom cua-rectangle-mark-key ...), so it should
ensure that the command is defined.
Copyright-paperwork-exempt: yes
Noam Postavsky [Tue, 16 Apr 2019 00:38:15 +0000 (20:38 -0400)]
Tell xclip not to expect job-control under eshell (Bug#35257)
* lisp/eshell/esh-proc.el (eshell-needs-pipe): Add "xclip" and other
programs that xclip.el (in GNU ELPA) calls with
`process-connection-type' bound to nil.
Noam Postavsky [Fri, 19 Apr 2019 18:06:08 +0000 (14:06 -0400)]
; * src/emacs.c: Fix typo in comment (Bug#35320).
Basil L. Contovounesios [Wed, 17 Apr 2019 13:24:31 +0000 (14:24 +0100)]
Fix off-by-one-link error in image--set-property
* lisp/image.el (image--set-property): Ensure new value is set even
in the unlikely case that the plist is empty. Fix off-by-one-link
error when deleting a property. (bug#35285)
* test/lisp/image-tests.el: New file.
(image--set-property): New test.
Glenn Morris [Tue, 16 Apr 2019 21:33:24 +0000 (14:33 -0700)]
* admin/admin.el (make-manuals-dist--1):
Update for incompatible copy-file change re "directories".
Robert Pluim [Tue, 16 Apr 2019 16:07:31 +0000 (18:07 +0200)]
Document some compilation-mode faces
* doc/emacs/building.texi (Compilation Mode): Describe faces
available to affect appearance of compilation-mode buffers.
Eli Zaretskii [Tue, 16 Apr 2019 15:32:18 +0000 (18:32 +0300)]
Mention the assignment form in "Copyright Assignment"
* doc/emacs/trouble.texi (Copyright Assignment): Mention the
copyright assignment form explicitly. Suggested by Konstantin
Kharlamov <hi-angel@yandex.ru>.
Eli Zaretskii [Tue, 16 Apr 2019 15:27:37 +0000 (18:27 +0300)]
Fix confusing wording in the user manual
* doc/emacs/maintaining.texi (VC Undo): Remove a potentially
inaccurate, outdated, and/or confusing sentence. (Bug#35290)
Eli Zaretskii [Mon, 15 Apr 2019 15:05:52 +0000 (18:05 +0300)]
Fix the MSDOS build when running under CWSDPMI
* src/msdos.c (the_only_tty_output): Define.
* src/msdos.h (the_only_tty_output): Declare.
* src/frame.c (make_terminal_frame) [MSDOS]:
* src/dispnew.c (init_display) [MSDOS]: Set up
f->output_data.tty pointer using the_only_tty_output, before
dereferencing the pointer. This prevents crashes with DPMI
servers that provide NULL pointer protection.
Stefan Monnier [Sun, 14 Apr 2019 22:45:35 +0000 (18:45 -0400)]
* lisp/progmodes/python.el: Be more careful about temp file removal
(python-shell-prompt-detect): Use unwind-protect to try and not leave
file behind in case of error.
Alexander Gramiak [Sun, 7 Apr 2019 05:02:24 +0000 (23:02 -0600)]
Backport: Plug memory leak in GTK x-display-monitor-attributes-list
* src/frame.c (free_monitors) [USE_GTK]: Define in the GTK case as
well.
* src/xfns.c (x-display-monitor-attributes-list) [USE_GTK]: Plug
memory leak. Use dupstring over xstrdup as gdk_monitor_get_model may
return NULL.
Alexander Gramiak [Sun, 14 Apr 2019 15:27:50 +0000 (09:27 -0600)]
Backport: * lisp/frame.el (frame--size-history): Fix infloop. (Bug#35272)
Robert Pluim [Sun, 14 Apr 2019 12:36:30 +0000 (14:36 +0200)]
Downcase charset
RFC 2046 specifies that the charset parameter is case-insensitive.
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-with-decoded-handle):
Downcase charset. Suggested by Christophe TROESTLER
<Christophe.TROESTLER@umons.ac.be>. (Bug#35265).
Phillip Lord [Sun, 14 Apr 2019 17:16:52 +0000 (18:16 +0100)]
Update for Emacs-26
* nt/README.W32: Update details about packaging which changed for
Emacs-26.
Eli Zaretskii [Fri, 12 Apr 2019 18:46:25 +0000 (21:46 +0300)]
* doc/lispref/display.texi (Showing Images): Fix a typo. (Bug#35240
Nicolas Petton [Thu, 11 Apr 2019 19:59:46 +0000 (21:59 +0200)]
Bump Emacs version to 26.2
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 26.2.
Nicolas Petton [Thu, 11 Apr 2019 19:59:28 +0000 (21:59 +0200)]
* etc/HISTORY: Update for Emacs 26.2 release.
Nicolas Petton [Thu, 11 Apr 2019 19:58:20 +0000 (21:58 +0200)]
; ChangeLog.3 update
Nicolas Petton [Thu, 11 Apr 2019 19:57:49 +0000 (21:57 +0200)]
* etc/AUTHORS: Update.
Eli Zaretskii [Thu, 11 Apr 2019 14:00:44 +0000 (17:00 +0300)]
Improve documentation of 'read-command'
* src/minibuf.c (Fread_command): Document the return value
when DEFAULT-VALUE is nil and the user enters nothing.
* doc/lispref/minibuf.texi (High-Level Completion): Document
the printed representation of a symbol whose name is empty.
(Bug#3522)
Eli Zaretskii [Thu, 11 Apr 2019 13:37:02 +0000 (16:37 +0300)]
; * CONTRIBUTE: Mention where to ask for the copyright assignment form.
Eli Zaretskii [Thu, 11 Apr 2019 13:25:06 +0000 (16:25 +0300)]
Fix an outdated URL in a comment
* src/emacs.c: Fix reference to Cocoa CoreFoundation Release
Notes. (Bug#35225)
Basil L. Contovounesios [Thu, 4 Apr 2019 22:37:08 +0000 (23:37 +0100)]
Backport: Fix comment-empty-lines docstring (bug#35152)
* lisp/newcomment.el (comment-empty-lines): Consistently use US
commas in docstring. Fix indentation of and typo in custom :type.
(cherry picked from commit
690c678fb6c1fb5b2f828f9bb90782bd0b01c399)
Alex Branham [Tue, 26 Mar 2019 01:49:01 +0000 (20:49 -0500)]
Backport: Update documentation for indent-relative functions
* lisp/indent.el (indent-relative): Document what happens when there
is no previous nonblank line.
* doc/lispref/text.texi (Relative Indent): Document
indent-relative-first-indent-point instead of obsolete
indent-relative-maybe. Fix documentation of which argument from
'indent-relative' is used.
Bug#34858
(cherry picked from commit
10cd65878c741d2a22a1f2c36c54fcad4e516f72)
Noam Postavsky [Wed, 10 Apr 2019 23:29:38 +0000 (19:29 -0400)]
Update nxml-mode.texi: completion now gives xmlns="-!-"
* doc/misc/nxml-mode.texi (Completion): As of 2016-01-16 "* lisp/nxml:
Use standard completion; it also works for company-mode", completing
an attribute when there is only one candidate inserts both quotes.
Update the example accordingly.
Eric Abrahamsen [Wed, 10 Apr 2019 03:13:47 +0000 (20:13 -0700)]
Note that choose-completion-string-functions funcs take four args
* lisp/simple.el (choose-completion-string-functions): Functions in
this list actually need to accept four arguments, though the fourth
should be ignored.
Gemini Lasswell [Thu, 22 Nov 2018 21:00:03 +0000 (13:00 -0800)]
Address name conflicts in EIEIO documentation (bug#31660)
* doc/misc/eieio.texi (Quick Start): Rename the class used in the
example from 'record' to 'person'.
(Building Classes): Advise user to check for name conflicts before
naming a class. Add a missing apostrophe.
(Making New Objects): Correct grammar. Rename the class used in the
example from 'record' to 'my-class'.
Mattias Engdegård [Tue, 9 Apr 2019 14:56:37 +0000 (16:56 +0200)]
Clarify the TESTFN argument to `alist-get'
* lisp/subr.el (alist-get):
Rephrase the initial text to clarify the meaning of the TESTFN argument.
It's an equality predicate, not a look-up function (Bug#35206).
(cherry picked from commit
c81465580fe262f28ce47502c00f4afcbe3b8f8d)
Eli Zaretskii [Mon, 8 Apr 2019 16:53:48 +0000 (19:53 +0300)]
* src/editfns.c (Fnarrow_to_region): Doc fix. (Bug#35163)
Eli Zaretskii [Sat, 6 Apr 2019 08:48:36 +0000 (11:48 +0300)]
Fix doc strings of 'vc-version-diff' and 'vc-version-ediff'
* lisp/vc/vc.el (vc-version-diff, vc-version-ediff): Describe
arguments in the doc strings. (Bug#35019)
Eli Zaretskii [Sat, 6 Apr 2019 08:22:13 +0000 (11:22 +0300)]
Improve documentation of set-window-start
* doc/lispref/windows.texi (Window Start and End):
* src/window.c (Fset_window_start): Document that reliable
setting of a window start position requires to adjust point to
be visible. (Bug#34038)
Eli Zaretskii [Sat, 6 Apr 2019 08:04:37 +0000 (11:04 +0300)]
Improve documentation of window parameters
* doc/lispref/windows.texi (Cyclic Window Ordering): Describe
the effect of the 'other-window' window parameter.
(Window Parameters): Improve the descriptions of window
parameters. Move the detailed description of the
'quit-restore' window parameter from here...
(Quitting Windows): ...to here. (Bug#35063)
Eli Zaretskii [Sat, 6 Apr 2019 07:16:16 +0000 (10:16 +0300)]
Improve commentary in frame.el
* lisp/frame.el: Improve commentary for display-* functions.
(Bug#35058)
Mauro Aranda [Fri, 5 Apr 2019 20:40:12 +0000 (17:40 -0300)]
Fix typo in a doc string
* lisp/autorevert.el (global-auto-revert-mode): Fix a typo.
(Bug#35165)
Alexander Gramiak [Thu, 4 Apr 2019 17:31:43 +0000 (11:31 -0600)]
; * src/fontset.c (set-fontset-font): Use uppercase arg in docstring
Paul Eggert [Wed, 20 Mar 2019 21:43:30 +0000 (14:43 -0700)]
Say which regexp ranges should be avoided
* doc/lispref/searching.texi (Regexp Special): Say that
regular expressions like "[a-m-z]" and "[[:alpha:]-~]" should
be avoided, for the same reason that regular expressions like
"+" and "*" should be avoided: POSIX says their behavior is
undefined, and they are confusing anyway. Also, explain
better what happens when the bound of a range is a raw 8-bit
byte; the old explanation appears to have been obsolete
anyway. Finally, say that ranges like "[\u00FF-\xFF]" that
mix non-ASCII characters and raw 8-bit bytes should be
avoided, since it’s not clear what they should mean.
Nicolas Petton [Wed, 20 Mar 2019 21:08:46 +0000 (22:08 +0100)]
; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Wed, 20 Mar 2019 16:36:29 +0000 (17:36 +0100)]
* etc/AUTHORS: Update.
Nicolas Petton [Wed, 20 Mar 2019 16:35:43 +0000 (17:35 +0100)]
* ; ChangeLog.3 update
Eli Zaretskii [Wed, 20 Mar 2019 09:29:04 +0000 (11:29 +0200)]
Improve indexing of the user manual
* doc/emacs/search.texi (Word Search): Improve indexing of
"M-s M-w".
Basil L. Contovounesios [Tue, 19 Mar 2019 16:00:18 +0000 (16:00 +0000)]
Fix url-copy-file arglist
* lisp/url/url-handlers.el: Silence byte-compiler.
(url-copy-file): Add 6th argument following change to copy-file in
2012-12-16T19:22:27+01:00!romain@orebokech.com. (bug#4410)
Eli Zaretskii [Tue, 19 Mar 2019 12:26:14 +0000 (14:26 +0200)]
; * admin/notes/bugtracker: Minor additions and updates.
Eli Zaretskii [Tue, 19 Mar 2019 11:16:50 +0000 (13:16 +0200)]
Fix downloading updates for packages with non-ASCII descriptions
* lisp/emacs-lisp/package.el (package--download-one-archive):
Make sure archive contents are written using UTF-8 encoding.
(Bug#34909)
(list-packages): Set buffer's encoding to UTF-8.
Nicolas Petton [Mon, 18 Mar 2019 21:49:50 +0000 (22:49 +0100)]
* etc/NEWS: Remove temporary markers.
Alan Mackenzie [Fri, 15 Mar 2019 11:43:11 +0000 (11:43 +0000)]
* doc/misc/cc-mode.texi (Config Basics): in @itemize, @asis -> @w{}
Eli Zaretskii [Fri, 15 Mar 2019 09:15:06 +0000 (11:15 +0200)]
Don't clobber 'comint-input-autoexpand' in 'read-shell-command'
* lisp/shell.el (shell-completion-vars): Set only the
buffer-local value of 'comint-input-autoexpand'. (Bug#34815)
Martin Rudalics [Wed, 13 Mar 2019 09:45:28 +0000 (10:45 +0100)]
Document restrictions when setting window margins, fringes or scroll bars
* src/window.c (Fset_window_margins, Fset_window_fringes)
(Fset_window_scroll_bars): In doc-strings tell that a window
must be large enough to accommodate fringes, sroll bars and
margins of the desired size.
* doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars)
(Display Margins): Tell that windows must be large enough to
accommodate fringes, sroll bars and margins of the desired
size.
Eli Zaretskii [Sun, 10 Mar 2019 18:20:07 +0000 (20:20 +0200)]
More improvements for 'read-buffer's doc string
* src/minibuf.c (Fread_buffer): Further improve the doc
string. (Bug#347694)
Alan Mackenzie [Sun, 10 Mar 2019 14:27:38 +0000 (14:27 +0000)]
* lisp/progmodes/cc-defs.el: Update c-version to 5.33.2 for Emacs 26.2
Eli Zaretskii [Sat, 9 Mar 2019 18:20:47 +0000 (20:20 +0200)]
* src/minibuf.c (Fread_buffer): Minor doc fixes. (Bug#34749)
Eli Zaretskii [Sat, 9 Mar 2019 11:20:28 +0000 (13:20 +0200)]
Fix markup of fake keys in the ELisp manual
* doc/lispref/keymaps.texi (Menu Bar, Tool Bar): Fix markup of
fake keys. (Bug#34785)
Eli Zaretskii [Sat, 9 Mar 2019 10:51:33 +0000 (12:51 +0200)]
Avoid errors in Auto Revert mode
* lisp/autorevert.el (auto-revert-buffers): Cancel
auto-revert-timer only if it is non-nil. This avoids errors
on first invocation of Auto-Revert mode.
Michael Albinus [Sat, 9 Mar 2019 08:47:07 +0000 (09:47 +0100)]
Mention empty strings in file name expansion, emacs lisp reference
* doc/lispref/files.texi (Files, File Name Expansion):
Mention also empty strings.
Alan Mackenzie [Fri, 8 Mar 2019 18:07:48 +0000 (18:07 +0000)]
cc-mode.texi: Work around makeinfo alignment bug. Fix problem with ss index
* doc/misc/cc-mode.texi (top level): Using txicommandconditionals to
differentiate between the C and perl versions of Texinfo, create an "ss
index" unless we are both using the C Texinfo and are building the .dvi output
format.
(Config Basics): Work around a perl Texinfo alignment bug by writing a
separate version of an item list structure for this version, simplifying it
considerably.
Martin Rudalics [Fri, 8 Mar 2019 18:10:27 +0000 (19:10 +0100)]
Warn against recursive invocations of 'buffer-list-update-hook' (Bug#34765)
* src/buffer.c (Vbuffer_list_update_hook):
* doc/lispref/buffers.texi (Buffer List): Warn against
recursive invocations of 'buffer-list-update-hook' (Bug#34765).
Martin Rudalics [Fri, 8 Mar 2019 18:04:35 +0000 (19:04 +0100)]
Provide more details in doc-string of 'delete-windows-on' (Bug#34749)
* lisp/window.el (delete-windows-on): Provide more details in
doc-string (Bug#34749).
Eli Zaretskii [Fri, 8 Mar 2019 10:21:29 +0000 (12:21 +0200)]
Improve documentation of 'delete-windows-on'
* doc/emacs/windows.texi (Change Window): Document
'delete-windows-on'.
* lisp/window.el (delete-windows-on): Doc fix. (Bug#34749)
Eli Zaretskii [Fri, 8 Mar 2019 09:45:55 +0000 (11:45 +0200)]
* lisp/frame.el (make-frame-command): Doc fix. (Bug#34715)
Eli Zaretskii [Thu, 7 Mar 2019 15:16:43 +0000 (17:16 +0200)]
Avoid undefined behavior in gdb-mi.el
* lisp/progmodes/gdb-mi.el (gdb-send): Don't call match-string
if this is not a control command. (Bug#34769)
Martin Rudalics [Wed, 6 Mar 2019 13:45:05 +0000 (14:45 +0100)]
* lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.
Basil L. Contovounesios [Tue, 5 Mar 2019 20:24:41 +0000 (20:24 +0000)]
Minor spelling and grammar fixes (bug#34756)
doc/misc/cc-mode.texi (Style Variables, Customizing Indentation):
doc/misc/ede.texi (Extending EDE, ede-project-placeholder)
(ede-target, ede-proj-target, ede-compilation-program, ede-compiler)
(ede-linker): Remove apostrophe from possessive "it's".
doc/lispintro/emacs-lisp-intro.texi (Find a File):
doc/misc/gnus-faq.texi (FAQ 2-2): Write "an other" as a single word.
doc/misc/gnus.texi (Article Buttons):
lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist)
(gnus-button-mid-or-mail-heuristic): Write singular number of
Message-IDs, rather than plural.
lisp/gnus/message.el (message-user-fqdn): Capitalize initialism.
Eli Zaretskii [Mon, 4 Mar 2019 17:49:47 +0000 (19:49 +0200)]
Minor improvement of documentation of '(when CONDITION . SPEC)'
* doc/lispref/display.texi (Other Display Specs): Add a caveat
to using the '(when CONDITION . SPEC)' display specs.
Eli Zaretskii [Sat, 2 Mar 2019 08:42:29 +0000 (10:42 +0200)]
Improve documentation of 'auto-coding-functions'
* doc/lispref/nonascii.texi (Default Coding Systems): Clarify
that the functions in 'auto-coding-functions' are called both
for decoding and for encoding.
* lisp/international/mule.el (auto-coding-functions): Doc fix.
Eli Zaretskii [Sat, 2 Mar 2019 08:32:06 +0000 (10:32 +0200)]
Fix visiting XML files with non-Unix EOL format
* lisp/international/mule.el (sgml-xml-auto-coding-function)
(sgml-html-meta-auto-coding-function): Don't use
'buffer-file-coding-system' if the buffer is unibyte.
(Bug#34704)