1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

125294 Commits

Author SHA1 Message Date
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
Glenn Morris
91aa5d1923 * doc/lispref/display.texi (Scroll Bars):
* doc/lispref/frames.texi (Size and Position):
* doc/lispref/windows.texi (Window Sizes): Fix arglist typos.
2016-11-15 19:07:36 -05:00
Glenn Morris
f758fcdb12 * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --daemon. 2016-11-15 18:53:25 -05:00
Eli Zaretskii
5b0cddd915 More fixes in copyright notices in etc/refcards/
* 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/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: Change "GNU Emacs" to "this
document" in copyright notices.  (Bug#24520)
2016-11-15 19:01:07 +02:00
Eli Zaretskii
f994c20465 Update copyright text in refcards
* etc/refcards/viperCard.tex:
* etc/refcards/vipcard.tex:
* etc/refcards/survival.tex:
* etc/refcards/sk-survival.tex:
* etc/refcards/sk-dired-ref.tex:
* etc/refcards/sk-refcard.tex:
* etc/refcards/ru-refcard.tex:
* etc/refcards/refcard.tex:
* etc/refcards/pt-br-refcard.tex:
* etc/refcards/pl-refcard.tex:
* etc/refcards/orgcard.tex:
* etc/refcards/gnus-refcard.tex:
* etc/refcards/fr-survival.tex):
* etc/refcards/fr-refcard.tex:
* etc/refcards/fr-dired-ref.tex:
* etc/refcards/dired-ref.tex:
* etc/refcards/de-refcard.tex:
* etc/refcards/cs-survival.tex:
* etc/refcards/cs-refcard.tex:
* etc/refcards/cs-dired-ref.tex:
* etc/refcards/calccard.tex: Update the copyright blurb.  (Bug#24520)
2016-11-13 18:20:59 +02:00
Eli Zaretskii
9ad2ae7757 Fix Outline command names
* doc/emacs/text.texi (Foldout): Use the outline-* names instead
of the obsolete aliases.  (Bug#24890)
2016-11-12 21:40:33 +02:00
Philipp Stephani
26c3554f88 Send text received by bracketed paste to process
See Bug#24639.

* term.el (term--xterm-paste): New function.
(term-raw-map): Use it.
(xterm--pasted-text): Declare function from xterm.el.
2016-11-10 22:56:08 +01:00
Alan Mackenzie
db0b58da1d Correct the statement about programming modes always running prog-mode-hook.
doc/emacs/modes.texi (Major Modes): Amend the statement about programming
modes running prog-mode-hook to say that it applies to many (not all) such
modes, and specifying exactly which modes.
2016-11-10 21:22:05 +00:00
Eli Zaretskii
78aece497c Improve documentation of 'occur'
* doc/emacs/search.texi (Other Repeating Search): Clarify how to
use Occur with search strings from last Isearch.  (Bug#24890)
2016-11-10 18:25:21 +02:00
Noam Postavsky
eb364fddec Do call debugger on failed cl-assert
"Don't call debug on failed cl-assert..." removed the call to `debug' in
cl--assertion-failed because `debug' calls `kill-emacs' in batch mode,
thus messing up ert test runs.  However, calling the debugger is useful
because it allows catching failed assertions even inside
`condition-case' calls.  The problem with ert can be avoided by calling
`debugger' instead of `debug' directly, since ert installs its own
debugger while running tests.

* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Call
`debugger' if `debug-on-error' is non-nil.
2016-11-08 19:54:03 -05:00
Daniel Colascione
3ef4ee84fa Avoid infloop in python
Fix bug#24905

* lisp/progmodes/python.el (python-info-docstring-p): Improve
infloop avoidance: replace (bobp) with generic test for
forward progress.
* test/lisp/progmodes/python-tests.el (python-bob-infloop-avoid): Add
test for bug#24905
2016-11-08 15:28:49 -08:00
Eli Zaretskii
8da810f91b Don't refer to obsolete FEATURE-unload-hook
* doc/lispref/tips.texi (Coding Conventions): Refer to
FEATURE-unload-function rather than its obsolete variant
FEATURE-unload-hook.  (Bug#24890)
2016-11-07 19:39:54 +02:00
Eli Zaretskii
4f478ca04b Improve documentation of dabbrevs
* lisp/dabbrev.el (dabbrev-expand): Doc fix.  (Bug#24890)

* doc/emacs/abbrevs.texi (Dynamic Abbrevs): Mention
'dabbrev-check-all-buffers', 'dabbrev-check-other-buffers', and
'dabbrev-ignored-buffer-names' and their purpose.  (Bug#24890)
2016-11-07 19:34:51 +02:00
Eli Zaretskii
7272e5db22 * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890) 2016-11-07 19:09:19 +02:00
Eli Zaretskii
89b7482914 * lisp/simple.el (set-mark-command): Doc fix. (Bug#24890) 2016-11-07 19:04:19 +02:00
Eli Zaretskii
3b199f7c77 Improve documentation of some Help commands
* doc/emacs/help.texi (Help Mode): Fix mistake in key sequences.
Mention the 'l' and 'r' keys.
(Misc Help): Mention that 'C-h m' describes key bindings.
(Bug#24890)
2016-11-07 18:57:28 +02:00
Eli Zaretskii
93d3a0e302 Fix documentation of yes-or-no prompts
* doc/emacs/mini.texi (Yes or No Prompts): Fix mistakes in key
sequences.  (Bug#24890)
2016-11-07 18:47:39 +02:00
Eli Zaretskii
af04919fc5 Fix documentation of partial completion style
* doc/emacs/mini.texi (Completion Styles): Fix the description of
the wildcard '*'.  (Bug#24890)
2016-11-07 18:44:17 +02:00
Eli Zaretskii
ed80184d0c Fix documentation of the mode line on emacsclient frames
* doc/emacs/screen.texi (Mode Line): Document the '@' indicator on
emacsclient frames.
2016-11-07 18:23:54 +02:00
Eli Zaretskii
e6be8557d5 Fix description of 'C-z' in User manual
* doc/emacs/entering.texi (Exiting): 'C-z' is bound to
'suspend-frame'.  (Bug#24890)
2016-11-07 18:00:19 +02:00
Eli Zaretskii
16f700702c Improve and clarify documentation of Outline Mode
* doc/emacs/text.texi (Outline Visibility): Use the outline-*
names instead of the obsolete aliases.  (Bug#24890)

* lisp/outline.el (outline-hide-sublevels, outline-hide-other)
(outline-hide-body): Doc fixes.  (Bug#24890)
2016-11-07 17:55:42 +02:00
Eli Zaretskii
31d93aa1d5 Add Emacs version number to nt/README.W32
* nt/README.W32: Include the version number of the latest Emacs
release.

* admin/admin.el (set-version): Update the version in nt/README.W32.
2016-11-06 18:58:03 +02:00
Noam Postavsky
0b6b815118 Fix python-mode hideshow regexp
2015-02-07 "Fix hideshow integration[...]" changed the regexp added to
`hs-special-modes-alist' so that it worked when not searching from the
beginning of the line.  However, this allows matching tokens ending in
"def" or "class", not just those keywords.  This results in an infinite
loop in hs-hide-all (Bug #24815).

* lisp/progmodes/python.el (python-mode): Add symbol boundaries around
the def|class matching part of the regexp added to
hs-special-modes-alist.
2016-11-06 09:14:12 -05:00
Paul Eggert
dc152c54f4 Modernize usage of 'macOS' in doc and comments
Apple changed the spelling of its operating system again, to "macOS",
effective with macOS 10.12 Sierra (2016-09-20).  Change Emacs
documentation and comments to match this.  Stick with older OS
spellings ("OS X", "Mac OS X") when talking about older releases where
the older names are more correct.
2016-11-06 00:42:03 -07:00
Paul Eggert
84c53436ab Prefer comments /* like this */ in C code
Emacs C code assumes C99 features, but has long used traditional
comments /* like this */ instead of C99-style comments // like this.
Stick with traditional comments for now, partly for style, partly as
it may be safer with compilers that are not fully in C99 mode.
2016-11-05 20:42:10 -07:00
Noam Postavsky
bb61e50533 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845). 2016-11-05 10:12:03 -04:00
Eli Zaretskii
3ef86fd063 Clarify documentation of face attribute functions
* doc/lispref/display.texi (Attribute Functions): Make sure to
document that an omitted FRAME argument means the same as nil.
(Bug#24879)
2016-11-05 10:54:15 +02:00
Eli Zaretskii
de51d59802 ; * nt/README.W32: Minor copyedits. 2016-11-05 10:07:30 +02:00
Noam Postavsky
db436e93ca Don't call debug on failed cl-assert
Doing this causes problems when running ert tests, for
instance (Bug#24778).  The call to `debug` when `debug-on-error' is
non-nil was introduced in 2015-02-14 "* lisp/emacs-lisp/cl*.el: Use
define-inline and move some code...".

* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Don't call
`debug' directly.
2016-11-04 21:40:16 -04:00
Paul Eggert
acae275b27 ; Spelling fixes 2016-11-04 14:50:59 -07:00
Phillip Lord
d8fac734e5 Update README for precompiled windows Emacs.
* nt/README.W32: Describe 64 and 32-bit downloads, optional
   dependencies bundle. Remove old material on sourcing dependencies.
   Remove references to Windows 95. Update GUI references to recent
   Windows. Remove references to Usenet.
2016-11-04 20:50:55 +00:00
Hong Xu
23570fd995 Clarify documentation of 'vc-responsible-backend' wrt symlinks
* lisp/vc/vc.el (vc-responsible-backend): Clarify that symlinks
are not resolved when the VC backend is reported.

* doc/lispref/files.texi (Truenames): Document
'vc-responsible-backend'.  (Bug#23436)
* doc/emacs/maintaining.texi (Version Control Systems): Fix a
typo.
2016-11-04 12:06:00 +02:00
Eli Zaretskii
f708cb22a1 Clarify doc string of 'transpose-sexps'
* lisp/simple.el (transpose-sexps): Clarify the conditions for
transposing sexps that are lists or strings.  Mention the effect
of the prefix argument.  (Bug#24860)
2016-11-04 11:50:48 +02:00
Tibor Csögör
cd05b1db33 Fix docstring of 'browse-url-firefox-new-window-is-tab'
* lisp/net/browse-url.el (browse-url-firefox-new-window-is-tab):
Remove obsolete note from docstring (obsoleted by previous commits).
(Bug#24843)

Copyright-paperwork-exempt: yes
2016-11-04 11:24:21 +02:00
Eli Zaretskii
bdc89eb4a6 Improve documentation of 'font-lock-remove-keywords'
* doc/lispref/modes.texi (Customizing Keywords): Clarify the
'keywords' argument of 'font-lock-remove-keywords'.  Suggested by
Hong Xu <hong@topbug.net>.  (Bug#24830)
2016-11-04 11:16:40 +02:00
Eli Zaretskii
4a0c590cbf Fix documentation of the command summary key
* doc/misc/info.texi (Help-^L, Help-Xref, Top): Emacs Info uses
'?' for the summary of commands, whereas the stand-alone reader
uses 'H'.  (Bug#24825)
2016-11-04 10:56:11 +02:00
Eli Zaretskii
0221b7a9b5 Mark relocation workarounds with REL_ALLOC
* src/search.c (boyer_moore): Mark workarounds for ralloc.c
relocation of buffer text with "#ifdef REL_ALLOC".
2016-11-04 10:36:02 +02:00
Thomas Fitzsimmons
5043e0a7e0 Fix documentation for 'eudc-options-file'
* doc/misc/eudc.texi (The Server Hotlist): Update the default
value of 'eudc-options-file'.

Backport:

(cherry picked from commit 0575fd95d0)
2016-11-02 06:11:43 -04:00
Tibor Csögör
26038aa676 Fix documentation of 'eudc-inline-expansion-format'
* doc/misc/eudc.texi (Inline Query Expansion): Fix the default value of
'eudc-inline-expansion-format'. (Bug#24840)

Backport:

(cherry picked from commit 1fef1387c3)
2016-11-02 06:03:50 -04:00
Clément Pit--Claudel
dbb3410228 python.el: Fix detection of native completion in Python 3 (bug #24401)
With Python 3.5, (python-shell-completion-native-get-completions ... "")
would return an empty list, causing python.el to think that native
completion was unavailable (the difference between Python 2 and Python 3
is due to https://bugs.python.org/issue25660).

* lisp/progmodes/python.el (python-shell-completion-native-try): Use "_"
  to check whether native completion is available instead of "".
2016-10-31 08:35:33 -04:00
Glenn Morris
91c97b6eed * Makefile.in (install-arch-indep): Skip etc/refcards/emacsver.tex.in. 2016-10-26 15:47:54 -04:00
Stefan Monnier
9c1cb8d595 * lisp/subr.el (set-transient-map): Exit for unbound events (bug#24755). 2016-10-26 15:29:02 -04:00