1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00
Commit graph

132515 commits

Author SHA1 Message Date
Mauro Aranda
9d7e08dd8f 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)
2019-04-21 14:58:56 +03:00
Eli Zaretskii
75b589c7d2 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)
2019-04-21 14:56:04 +03:00
Eli Zaretskii
fd6ff29506 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26 2019-04-21 14:21:52 +03:00
Noam Postavsky
bacdaa5b25 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 cb3863370c)
2019-04-21 14:16:16 +03:00
Glenn Morris
cd2204f0ee 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.
2019-04-20 11:38:47 -07:00
Glenn Morris
a992dcabc7 ; Remove empty NEWS sections 2019-04-20 10:06:26 -07:00
Glenn Morris
ea67270752 ; Add NEWS sections for 26.3 2019-04-20 10:04:18 -07:00
Glenn Morris
45b09460f9 ; Bump Emacs version to 26.2.50 2019-04-20 10:03:40 -07:00
Glenn Morris
aae8cc3304 * admin/admin.el (set-version): Add NEWS headers for a .50 version. 2019-04-20 10:02:58 -07:00
Eli Zaretskii
f90a3360d8 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.
2019-04-20 10:21:02 +03:00
Noam Postavsky
037970f1af Document insert-image-file's return value (Bug#32978)
* lisp/image-file.el (insert-image-file): Document return value.
2019-04-19 15:19:45 -04:00
Braun Gábor
598b45adbd 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
2019-04-19 15:19:45 -04:00
Noam Postavsky
95bd56df88 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.
2019-04-19 15:19:10 -04:00
Noam Postavsky
9997bbb3ee ; * src/emacs.c: Fix typo in comment (Bug#35320). 2019-04-19 14:11:01 -04:00
Basil L. Contovounesios
a4ad7bed18 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.
2019-04-18 16:07:55 +01:00
Glenn Morris
a1c53d4294 * admin/admin.el (make-manuals-dist--1):
Update for incompatible copy-file change re "directories".
2019-04-16 14:33:24 -07:00
Robert Pluim
d0f745f67a Document some compilation-mode faces
* doc/emacs/building.texi (Compilation Mode): Describe faces
available to affect appearance of compilation-mode buffers.
2019-04-16 18:07:31 +02:00
Eli Zaretskii
23ccba0cf9 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>.
2019-04-16 18:32:18 +03:00
Eli Zaretskii
0f5568ea7c Fix confusing wording in the user manual
* doc/emacs/maintaining.texi (VC Undo): Remove a potentially
inaccurate, outdated, and/or confusing sentence.  (Bug#35290)
2019-04-16 18:27:37 +03:00
Eli Zaretskii
70ec392866 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.
2019-04-15 18:05:52 +03:00
Stefan Monnier
7a608fc6f3 * 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.
2019-04-14 18:45:35 -04:00
Alexander Gramiak
b3cab4199a 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.
2019-04-14 15:59:39 -06:00
Alexander Gramiak
e40f39bec3 Backport: * lisp/frame.el (frame--size-history): Fix infloop. (Bug#35272) 2019-04-14 15:52:07 -06:00
Robert Pluim
266c62290f 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).
2019-04-14 19:39:17 +02:00
Phillip Lord
92f3459cd7 Update for Emacs-26
* nt/README.W32: Update details about packaging which changed for
  Emacs-26.
2019-04-14 18:16:52 +01:00
Eli Zaretskii
beb4eac654 * doc/lispref/display.texi (Showing Images): Fix a typo. (Bug#35240 2019-04-12 21:46:25 +03:00
Nicolas Petton
fd1b34bfba
Bump Emacs version to 26.2
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 26.2.
2019-04-11 21:59:46 +02:00
Nicolas Petton
818a68b1ca
* etc/HISTORY: Update for Emacs 26.2 release. 2019-04-11 21:59:28 +02:00
Nicolas Petton
e04aa5aff2
; ChangeLog.3 update 2019-04-11 21:58:20 +02:00
Nicolas Petton
8297e97f1a
* etc/AUTHORS: Update. 2019-04-11 21:57:49 +02:00
Eli Zaretskii
85829363f7 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)
2019-04-11 17:00:44 +03:00
Eli Zaretskii
dc81c051ec ; * CONTRIBUTE: Mention where to ask for the copyright assignment form. 2019-04-11 16:37:02 +03:00
Eli Zaretskii
b77723a5f3 Fix an outdated URL in a comment
* src/emacs.c: Fix reference to Cocoa CoreFoundation Release
Notes.  (Bug#35225)
2019-04-11 16:25:06 +03:00
Basil L. Contovounesios
71be83ef8b 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 690c678fb6)
2019-04-11 11:41:45 +01:00
Alex Branham
559f64a0b6 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 10cd65878c)
2019-04-11 11:41:06 +01:00
Noam Postavsky
cb5a340823 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.
2019-04-10 19:33:21 -04:00
Eric Abrahamsen
59994015f1 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.
2019-04-09 20:13:47 -07:00
Gemini Lasswell
8d2f1df51a 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'.
2019-04-09 18:53:43 -04:00
Mattias Engdegård
00a2d57adf 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 c81465580f)
2019-04-09 19:10:47 +03:00
Eli Zaretskii
a5da653319 * src/editfns.c (Fnarrow_to_region): Doc fix. (Bug#35163) 2019-04-08 19:53:48 +03:00
Eli Zaretskii
646d33dbbc 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)
2019-04-06 11:48:36 +03:00
Eli Zaretskii
a30a6c3019 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)
2019-04-06 11:22:13 +03:00
Eli Zaretskii
92ce2dd48b 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)
2019-04-06 11:04:37 +03:00
Eli Zaretskii
6dc42c562c Improve commentary in frame.el
* lisp/frame.el: Improve commentary for display-* functions.
(Bug#35058)
2019-04-06 10:16:16 +03:00
Mauro Aranda
a8cffcf27f Fix typo in a doc string
* lisp/autorevert.el (global-auto-revert-mode): Fix a typo.
(Bug#35165)
2019-04-06 09:53:39 +03:00
Alexander Gramiak
9e79f199ff ; * src/fontset.c (set-fontset-font): Use uppercase arg in docstring 2019-04-04 11:44:36 -06:00
Paul Eggert
0924b27bca 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.
2019-03-20 14:44:14 -07:00
Nicolas Petton
297a141ca3
; * lisp/ldefs-boot.el: Update. 2019-03-20 22:08:46 +01:00
Nicolas Petton
24b6e6edcf
* etc/AUTHORS: Update. 2019-03-20 17:36:29 +01:00
Nicolas Petton
2f22a1793e
* ; ChangeLog.3 update 2019-03-20 17:35:43 +01:00