1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
Commit graph

125335 commits

Author SHA1 Message Date
Glenn Morris
953bf67fbe Improve previous make-dist change
* make-dist: Let make check the info files more thoroughly.
2016-12-07 19:43:36 -05:00
Glenn Morris
129645a7a7 Make make-dist --snapshot do some sanity checks
* make-dist: Snapshot mode no longer disables checks.
Checks now includes checks for freshness.  (Bug#25084)
Checks now exits with an error if problems were found.
2016-12-07 19:13:05 -05:00
Paul Eggert
eeecac7ab9 Fix minor quoting problems in doc strings 2016-12-07 11:31:16 -08:00
Philipp Stephani
da71c89ba3 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstring
so that it matches the actual implementation.
See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html
2016-12-07 13:58:57 +01:00
Noam Postavsky
35ce3fb141 Don't assume window-point and point are the same
The function `cursor-sensor--detect' calls `bobp' to decide whether to
check properties at (1- (window-point)).  However, (window-point) may be
at beginning of buffer, even if (point) is not.  In this case an
`args-out-of-range' error will be signaled (Bug#25104).

* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Check the
value of (window-point) against (point-min), rather than (bobp) to
decide if (1- (window-point)) is accessible.
2016-12-06 22:36:12 -05:00
Nicolas Petton
a3487a8121 Fix bug#25087
* etc/themes/manoj-dark-theme.el: Fix two typos.

(cherry picked from commit 66d6e7e9ec)
2016-12-02 13:08:49 -05:00
Eli Zaretskii
ba2847f5a5 ; * lisp/vc/ediff-util.el (ediff-janitor): Fix last change. (Bug#25046) 2016-12-02 16:35:16 +02:00
Eli Zaretskii
8b43f97e2c * lisp/vc/ediff-util.el (ediff-janitor): Doc fix. (Bug#25046) 2016-12-02 11:29:10 +02:00
Eli Zaretskii
c20035cd2b ; * doc/emacs/programs.texi (Man Page): Fix last change. 2016-12-02 11:14:11 +02:00
Eli Zaretskii
93d8346288 Improve indexing of 'man'
* doc/emacs/programs.texi (Man Page): Index 'man', not
'manual-entry', as the latter is an alias for the former.
Suggested by Hong Xu <hong@topbug.net>.  (Bug#25033)
2016-12-02 11:10:04 +02:00
Paul Eggert
c49198967a Port to Sun C 5.14
Backport from master.  Sun C 5.14 supports C11 but not GCC
extensions, and so refuses to compile Emacs without this patch.
* src/alloc.c (lmalloc, lrealloc): Don't use INT_ADD_WRAPV on
size_t, as in general this macro is restricted to signed types.
2016-12-01 23:17:26 -08:00
Richard Stallman
95eb641404 Fix mail-combine-fields
* lisp/mail/sendmail.el (mail-combine-fields): Call `save-excursion' to
avoid losing our place in the search loop.

(cherry picked from commit 5fbba6ccea)
2016-12-01 19:56:14 -05:00
Martin Rudalics
d31298d8af Fix documentation of `window-combination-resize'
* src/window.c (Vwindow_combination_resize): Fix doc-string.
* doc/lispref/windows.texi (Recombining Windows): Fix
documentation of `window-combination-resize'.
2016-12-01 10:51:11 +01:00
Bogdan Creanga
2086f4c0c6 Typo fixes in elisp manual
* doc/lispref/sequences.texi: Add missing '4' in result (Bug#25047).
* doc/lispref/strings.texi (Text Comparison): Avoid duplicate
definitions of 'string-prefix-p' and 'string-suffix-p'.
* doc/lispref/symbols.texi (Definitions): Pluralize 'definitions'.

Copyright-paperwork-exempt: yes
2016-11-29 19:07:15 +09:00
Philipp Stephani
f6da597376 ; Revert "Guard terminal par. in XTerm mouse mode"
This reverts commit d4e15492f7.

Since emacs-25 should only contain regression fixes and doc fixes, this
commit was moved to the master branch.
2016-11-28 19:45:55 +01:00
Nicolas Petton
39809036d3
; Update ChangeLog.2, etc/AUTHORS and ldef-boot.el for Emacs 25.1.90 pretest 2016-11-28 19:04:23 +01:00
Eli Zaretskii
5878abf87b Fix 'expand-file-name' during startup on MS-Windows
* src/w32.c (w32_init_file_name_codepage): New function, resets
file_name_codepage and w32_ansi_code_page to undo the values
recorded during dumping.
(codepage_for_filenames): Fix an embarrassing typo.  Ignore the
cached value of file-name encoding if it is nil, i.e. not
initialized yet.  Actually cache the last used file-name encoding
to avoid calling APIs when not necessary.

* src/w32.h (w32_init_file_name_codepage): Add prototype.

* src/w32term.c (syms_of_w32term): Set the value of
w32_unicode_filenames according to the OS version.  This avoids
resetting it during startup, which then causes temacs to run with
the incorrect value.

* src/emacs.c (main): Call w32_init_file_name_codepage early
during the startup.

* src/fileio.c (Fexpand_file_name) [WINDOWSNT]: Update 'newdir'
after converting $HOME to a UTF-8 string, so that 'newdirlim' is
consistent with it.  (Bug#25038)

* lisp/international/mule-cmds.el (set-locale-environment): Set
'default-file-name-coding-system' to the ANSI codepage even in
non-interactive sessions.

* lisp/files.el (directory-abbrev-alist, abbreviated-home-dir):
Doc fix.
(abbreviate-file-name): Decode 'abbreviated-home-dir' if it is a
unibyte string.

* doc/lispref/files.texi (Directory Names): Index
'directory-abbrev-alist'.
2016-11-28 17:43:25 +02:00
Nicolas Petton
46065291fa
; ChangeLog.2 update 2016-11-28 16:24:59 +01:00
Nicolas Petton
9a857b922e
* admin/authors.el (authors-renamed-files-alist): Addition. 2016-11-28 16:24:21 +01:00
Glenn Morris
6d27423d38 Tweak refcard note about documentation location
* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
* etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
* etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
* etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
* etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
* etc/refcards/survival.tex, etc/refcards/vipcard.tex:
* etc/refcards/viperCard.tex: Tweak documentation url.
2016-11-27 16:38:56 -08:00
Glenn Morris
e46a13446a Improve treatment of Fortran's "class is"
* lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit):
Handle "class is".  (Bug#25039)
* test/automated/f90.el (f90-test-bug25039): New test.
2016-11-27 16:05:02 -08:00
Nicolas Petton
3674317311 Bump Emacs version to 25.1.90
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 25.1.90
2016-11-28 00:01:35 +01:00
Nicolas Petton
938e316694 ; Revert "Bump Emacs version"
The version should be 25.1.90, not 25.2.90.

This reverts commit 596289bc8d.
2016-11-27 23:59:55 +01:00
Nicolas Petton
596289bc8d
Bump Emacs version
* README:
* configure.ac:
* etc/NEWS:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 25.2.90
2016-11-27 20:44:43 +01:00
Nicolas Petton
dcfe4d113a
; ChangeLog.2 update 2016-11-27 20:42:28 +01:00
Karl Fogel
93c0f5126a Handle TeX comments when making new paragraph
* lisp/textmodes/tex-mode.el (tex-handle-newline): New function.
  Handle comment case directly, and dispatch to `tex-terminate-paragraph'
  for original behavior in non-comment case.
  (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.
2016-11-25 23:44:48 -06:00
Eli Zaretskii
e0884f1d04 Restore keystroke echo in 'C-q'
* lisp/simple.el (read-quoted-char): Use 'read-event' instead of
'read-key', to avoid losing the keystroke echo in 'C-q'.  (Bug#24635)
2016-11-25 12:06:26 +02:00
Eli Zaretskii
a6213ce4b3 Improve documentation of 'current-word'
* lisp/simple.el (current-word): Clarify and improve the doc
string.  (Bug#24979)
2016-11-25 11:44:24 +02:00
Chunyang Xu
0828126934 Fix a typo in an Eshell defcustom
* lisp/eshell/esh-mode.el (eshell-scroll-to-bottom-on-output): Fix
a typo in the 'others' standard value.  (Bug#24983)
2016-11-25 11:19:52 +02:00
Hong Xu
2e361c74ad Minor copyedits of electric-pair-mode
* doc/emacs/programs.texi (Matching): Add index entries.  Fix
typos.  (Bug#25012)

Copyright-paperwork-exempt: yes
2016-11-24 21:22:47 +02:00
Eli Zaretskii
7499ee8d01 ; Minor copyedit in the Emacs manual
* doc/emacs/maintaining.texi (Select Tags Table): Remove text that
is no longer pertinent.  (The "explained above" part was moved to
another place in the manual a long time ago.)
2016-11-24 19:37:38 +02:00
Eli Zaretskii
45b652b627 Fix documentation of 'invocation-directory'
* doc/lispref/os.texi (System Environment): Fix wording of the
description of 'invocation-directory'.  (Bug#24999)
2016-11-24 19:22:21 +02:00
Glenn Morris
7f43d7c010 * admin/authors.el (authors-aliases): Add an entry. 2016-11-23 14:19:31 -05:00
Eli Zaretskii
ba488800d9 ; Fix pl-refcard.tex
* etc/refcards/pl-refcard.tex: Fix last change.
2016-11-23 17:33:19 +02:00
Philipp Stephani
d4e15492f7 Guard terminal parameter in XTerm mouse mode
It has been observed (in the HTerm terminal emulator) that the
event stored in the 'xterm-mouse-last-down' terminal parameter gets
overwritten during a mouse drag operation, causing Emacs to attempt to
synthesize the non-existing <drag-mouse-0> event.  Copy the event into
the terminal parameter to protect against such modifications.

* lisp/xt-mouse.el (xterm-mouse-translate-1): Guard against modification
of input event list.
2016-11-22 21:32:11 +01:00
Eli Zaretskii
7287e9654e ; * src/lread.c (openp): Correct an inaccuracy in commentary. 2016-11-22 18:34:51 +02:00
Nicolas Petton
3f2b497cdd * etc/AUTHORS: Regenerate the AUTHORS file 2016-11-21 17:51:32 +01:00
Nicolas Petton
3d63b488da Update ChangeLog files and authors.el
* admin/authors.el (authors-renamed-files-alist): Add entries for
  obsolete files.
* ChangeLog.2: Update.
2016-11-21 17:51:32 +01:00
Eli Zaretskii
9d302640be Fix menu bindings of Dired 'A' and 'Q' commands
* lisp/dired.el (dired-mode-map): Rebind "Search Files" and "Query
Replace in Files" menu items to 'dired-do-find-regexp' and
'dired-do-find-regexp-and-replace', respectively.  (Bug#24977)
2016-11-21 18:22:10 +02:00
Eli Zaretskii
a725592db8 Avoid errors in shr-pixel-column due to dedicated windows
* lisp/net/shr.el (shr-pixel-column): If we are switching to
another buffer in the selected window, make that window
temporarily non-dedicated.  (Bug#24950)
2016-11-20 21:08:47 +02:00
Tino Calancha
3138598dd8 Update format-time-string documentation
* doc/lispref/os.texi (Time Parsing):
Document %F, %g, %G, %u and %V.
2016-11-20 15:35:41 +09:00
Paul Eggert
07f45d7781 ; Spelling fix 2016-11-19 14:11:30 -08:00
Eli Zaretskii
1a210f0898 * admin/release-process: Update versions and blocking bug numbers. 2016-11-19 09:23:33 +02:00
Eli Zaretskii
36bafc9cee Improve documentation of functions that accept time values
* doc/lispref/os.texi (Time Calculations): Mention the meaning of
'nil' or a scalar number as the time-value argument.  Add a
cross-reference to 'float-time' for computing a time difference as
a scalar number of seconds.

* src/editfns.c (Fformat_time_string, Ftime_less_p)
(Ftime_subtract, Ftime_add, Fdecode_time, Fcurrent_time_string)
(Fcurrent_time_zone): Mention in the doc strings the meaning of
nil argument and the fact that a time value can be a scalar number
of seconds since the epoch.
(Ftime_subtract): Mention 'float-time'.
2016-11-18 13:02:34 +02:00
Daniel Colascione
a37c08d524 Speed up initialization by preferring /dev/urandom to GnuTLS
* src/sysdep.c (init_random): Try /dev/urandom before GnuTLS.

(cherry picked from commit a37eba849e)
2016-11-18 10:42:12 +02:00
Glenn Morris
4af5981dc7 Add a comment in generated refcards about the source
* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
* etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
* etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
* etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
* etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
* etc/refcards/survival.tex, etc/refcards/vipcard.tex:
* etc/refcards/viperCard.tex: Add comment about the source.
2016-11-17 23:24:03 -08:00
Glenn Morris
ef880a5e1c ; * etc/refcards/calccard.tex: Remove obsolete comment. 2016-11-17 22:59:36 -08:00
Dmitry Gutov
4887e7c6cb js-mode: Fix indent problem after a regexp
* lisp/progmodes/js.el (js--looking-at-operator-p): Check that the
slash is not ending a regexp (bug#24854).
2016-11-17 01:59:18 +02:00
Eli Zaretskii
e992ac0a63 Fix sluggish display of symbols in UTF-8 language environment
* lisp/international/fontset.el (setup-default-fontset): Make sure
Symbola and FreeMono are set up in the default fontset as belonging
to the "iso10646-1" registry.  In the UTF-8 locale, this avoids a
long and futile search for a suitable font, whose side effect is a
lot of consing, which then hits the font-cache compacting issue,
and causes very sluggish redisplay of characters displayed by
these fonts.  All this happens because the default for the
registry is "iso8859-1".  (Bug#24953)
2016-11-16 18:11:33 +02:00
Glenn Morris
1fc101b0c4 Don't confuse how Texinfo outputs @var with the input
* doc/emacs/rmail.texi (Movemail):
* doc/lispref/control.texi (Pattern matching case statement):
* doc/lispref/frames.texi (Size and Position):
* doc/lispref/processes.texi (Asynchronous Processes):
* doc/lispref/text.texi (Document Object Model):
* doc/lispref/windows.texi (Coordinates and Windows):
Do not upper-case the argument of @var.
2016-11-15 19:18:28 -05:00