1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00
Commit graph

124416 commits

Author SHA1 Message Date
Tassilo Horn
2a75f64dd2 New filenotify test for bug#22736
* test/automated/file-notify-tests.el
(file-notify-test08-watched-file-in-watched-dir):
(file-notify--test-desc1): New filenotify test for bug#22736
2016-02-20 08:44:51 +01:00
Marcin Borkowski
c9bccf72cb Report critical battery errors
* lisp/battery.el (battery-pmset): Report critical battery
errors (bug#18157).
2016-02-20 18:33:48 +11:00
Kaushal Modi
d675db943e Make eww message toggling message clearer
* lisp/net/eww.el (eww-toggle-fonts): Make the message
clearer.

Copyright-paperwork-exempt: Yes
2016-02-19 16:56:55 +11:00
Mark Oteiza
5e0bb40f8a * lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment. 2016-02-18 21:38:44 -05:00
Eli Zaretskii
fa8fd65ef4 ; Improve character-folding entries in NEWS
* etc/NEWS: Expand description of character-folding support.
Suggested by Mark Oteiza <mvoteiza@udel.edu>.
2016-02-18 19:42:17 +02:00
Martin Rudalics
3722a694fa Fix bugs in window resizing code
* lisp/window.el (adjust-window-trailing-edge): Fix mismatched
parenthesis.
(shrink-window, enlarge-window): Fix bug#22723 where windows
with preserved size would not get resized.  Also now signal an
error when the window cannot be shrunk or enlarged as requested.
2016-02-18 11:25:07 +01:00
Eli Zaretskii
289d5c6e97 Fix decoding DOS EOL in a unibyte buffer
* src/coding.c (decode_eol): Loop over bytes, not characters.
(Bug#5251)
2016-02-17 17:48:30 +02:00
Alan Mackenzie
2abcb06cab Correct c-parse-state cache manipulation error.
* lisp/progmodes/cc-engine.el (c-invalidate-state-cache-1): Correct a
comparison bound.  Amend comments.
2016-02-17 11:53:01 +00:00
Daiki Ueno
14aec913ac Take advantage of new GnuPG version check function
* lisp/emacs-lisp/package.el (epg-configuration-find): Declare.
(package-refresh-contents): Use `epg-configuration-find' to check if EPG
is usable.
2016-02-17 16:50:43 +09:00
Daiki Ueno
e80c2a7b47 Make GnuPG version check robuster
We changed the default gpg program to "gpg2" from "gpg" in the commit
f93d669a16.  However, there are two
maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0
series.  Check the actual version of "gpg2" at run time, and properly
divert to "gpg" if necessary.
* lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'.
(epg-config--program-alist): New variable.
(epg--configurations): New variable.
(epg-configuration-find): New function.
(epg-config--make-gpg-configuration): New function.
(epg-config--make-gpgsm-configuration): New function.
(epg-configuration): Mark as obsolete.
* lisp/epg.el (epg-context): Use `epg-configuration-find'.
2016-02-17 16:47:24 +09:00
Paul Eggert
15a946479c Fix x-load-color-file pointer signedness
* src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]:
For sscanf and int *, use %d, not %u.
Problem found on Ubuntu 15.10 x32, which lacks X support.
2016-02-16 23:25:59 -08:00
Paul Eggert
132dbf089f * lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct. 2016-02-16 15:03:04 -08:00
Mark Oteiza
78ab6f120d Follow convention for greek letter constants.
* list/calc/calc-units.el (math-standard-units):
Add "sigma" and alias σ to it.
2016-02-16 17:16:16 -05:00
Mark Oteiza
106b5bb68d Add Stefan-Boltzmann constant to calc units table.
* lisp/calc/calc-units.el (math-standard-units):
Add Stefan-Boltzmann constant.
2016-02-16 12:04:39 -05:00
Mark Oteiza
b96baa8c92 * lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode. 2016-02-16 11:50:14 -05:00
Glenn Morris
5f91cf95b0 Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw. (Bug#22669)
* lisp/emacs-lisp/cl-generic.el (cl--generic-dispatchers):
Prefill with relevant elements for term/xterm.
2016-02-16 11:49:05 -05:00
Tassilo Horn
2d40f7d635 Fix soffice UserInstallation-URL for Windows
* lisp/doc-view.el (doc-view-odf->pdf-converter-soffice): Fix
UserInstallation-URL when calling soffice on Windows.
2016-02-16 17:38:44 +01:00
Lars Ingebrigtsen
b1a3ebedba Fix display of <pre> elements
* lisp/net/eww.el (eww-display-html): Remove CRLF before
parsing so that <pre> elements don't render with ^M at the end
of the lines.
2016-02-16 17:39:21 +11:00
Glenn Morris
57d0e3d5ae ; * lisp/help-fns.el: Remove outdated comment. 2016-02-15 22:25:01 -08:00
Glenn Morris
7a0628d82e ; * admin/make-tarball.txt: Mention cleaning. 2016-02-15 21:38:21 -08:00
Eli Zaretskii
d4b93e11a5 Minor fixes in global-auto-composition-mode
* lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
Produce prettier names of globalized minor modes.
* lisp/composite.el (global-auto-composition-mode): Make it a
globalized mode.  (Bug#22682)
2016-02-15 21:46:17 +02:00
Alan Mackenzie
02b037b85c Allow arithmetic operators inside C++ template constructs.
Fixes debbugs #22486.  This corrects the previous patch with this message
which was empty.

* lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
variable.
(c-<>-notable-chars-re): New language variable.

* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
c-<>-notable-chars-re in place of the former fixed string in searching for
places to stop and examine.
Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
multichar operator in place of the former c->-op-without->-cont-regexp.
Add code to skip forwards over a balanced parenthesized expression.
2016-02-15 15:05:02 +00:00
Eli Zaretskii
44b16f60fd Avoid crashes in semi-malformed 'condition-case'
* src/eval.c (internal_lisp_condition_case): Treat a handler
'(nil)' as if it were '(nil nil)'.  (Bug#22675)
2016-02-15 16:03:54 +02:00
Alan Mackenzie
652e5b49d9 Allow arithmetic operators inside C++ template constructs.
Fixes debbugs #22486.

* lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
variable.
(c-<>-notable-chars-re): New language variable.

* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
c-<>-notable-chars-re in place of the former fixed string in searching for
places to stop and examine.
Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
multichar operator in place of the former c->-op-without->-cont-regexp.
Add code to skip forwards over a balanced parenthesized expression.
2016-02-15 13:32:16 +00:00
Eli Zaretskii
d9ea795035 Fix regression with 'recent-keys' and keyboard macros
* src/keyboard.c (record_char): Don't record in 'recent_keys'
events that come from executing keyboard macros.  (Bug#22674)
2016-02-15 14:03:57 +02:00
Eli Zaretskii
903603f8cd Fix wording in a doc-view.el comment
* lisp/doc-view.el (doc-view--current-cache-dir): Don't use
"illegal" for something that is not against the law.
2016-02-15 13:09:46 +02:00
Paul Eggert
cf79616133 ; Spelling fixes 2016-02-14 19:45:12 -08:00
Paul Eggert
f8bf1b35bf CONTRIBUTE cleanups and updates
* CONTRIBUTE: Mention URLs and info nodes more consistently,
avoiding possibly-confusing punctuation adjacent to a URL, and
giving full shell commands for 'info'.  Start with a brief but
complete how-to, for people who want to get started right away.
Then briefly discuss how to join the development process in the
typical order.  Omit needless words.  Update some of the
now-obsolete file names, info node names, and quoting styles.
Better document emacs-NN branches and how they are merged.
* admin/notes/git-workflow: Change emacs-24 to emacs-25,
and trunk to master.  This file still needs work.
2016-02-14 19:25:32 -08:00
Paul Eggert
f3aaca3552 Port USE_STACK_LISP_OBJECTS fix to Clang
* src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for Clang.
Recent versions of Clang claim to be GCC 4.2.1 but do not have
the GCC bug.
2016-02-14 11:43:04 -08:00
Paul Eggert
1834ac7d24 Port to x86 GCC 4.3.1 and earlier
This tries to port to x86 FreeBSD 9, where Emacs dumps core (Bug#22065).
* src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false
for GCC 4.3.1 and earlier.
2016-02-14 11:23:52 -08:00
Eli Zaretskii
84829495b5 Fix point movement under 'scroll-conservatively'
* src/xdisp.c (redisplay_window): Correct a typo in computing the
effective number of text lines in a window.  (Bug#22637)
2016-02-14 21:20:48 +02:00
Thomas Plass
c1313b5f27 Replace colon in file name (not legal on Windows)
* lisp/doc-view.el (doc-view--current-cache-dir): Replace colon in file
name (not legal on Windows). [tiny change]
2016-02-14 19:56:46 +01:00
Eli Zaretskii
f7af26c5ed Fix a typo in edt.texi
* doc/misc/edt.texi: Fix a typo in an email address.  Reported by
"Herbert J. Skuhra" <herbert@mailbox.org>.
2016-02-14 20:14:32 +02:00
Eli Zaretskii
8badf953da Make 'mmap_realloc' on MS-Windows more reliable
* src/w32heap.c (mmap_alloc): If reserving memory succeeds, but
committing fails, return NULL.  Don't call GetLastError twice for
the same API error.
(mmap_realloc): Zero out MEMORY_BASIC_INFORMATION structures
before calling VirtualQuery, to avoid using garbled values if the
call fails.  If committing more pages from the same block fails,
fall back on mmap_alloc + CopyMemory.  Enhance debugging printouts
if the call to VirtualAlloc to commit more pages fails.
(Bug#22526)
2016-02-14 19:46:29 +02:00
Oscar Fuentes
856cd948d1 Grep alias `all' shall not match parent directory
* lisp/progmodes/grep.el (grep-files-aliases): Don't match parent
  directory for `all'. Fixes bug#22577
2016-02-14 16:20:16 +01:00
Glenn Morris
cc6d906490 ; Auto-commit of ChangeLog files. 2016-02-14 07:26:10 -05:00
Glenn Morris
1af4493b1d ; Auto-commit of loaddefs files. 2016-02-14 07:25:34 -05:00
Nicolas Petton
23ca48d3d8 Bump version to 25.0.91
* README:
* configure.ac:
* msdos/sed2v2.inp: Bump version to 25.0.91.
2016-02-13 20:30:37 +01:00
Nicolas Petton
dacde7ee5d * etc/AUTHORS: Update the AUTHORS file 2016-02-13 20:30:18 +01:00
Nicolas Petton
478ca5de54 ; fix changelog entries 2016-02-13 20:28:54 +01:00
Nicolas Petton
2b7d006460 ; make change-history-commit 2016-02-13 19:29:35 +01:00
Glenn Morris
851decb15e * lisp/dired-aux.el: Require cl-lib. (Bug#22613) 2016-02-13 13:18:17 -05:00
Eli Zaretskii
47896c8446 ; Improve commentary in insdel.c
* src/insdel.c (gap_left, gap_right, make_gap_larger)
(make_gap_smaller): Improve commentary.
2016-02-13 17:48:38 +02:00
Eli Zaretskii
53ca1e1acf Index tilde characters in names of backup files
* doc/emacs/files.texi (Backup Names): Improve indexing.
(Bug#22625)
2016-02-13 15:36:38 +02:00
Eli Zaretskii
d97f522d3d Document deprecation of hi-lock-mode's 'C-x w' bindings
* doc/emacs/display.texi (Highlight Interactively): Deprecate the
"C-x w" bindings of hi-lock-mode.

* etc/NEWS: Mark the deprecation entry as documented.
2016-02-13 11:02:28 +02:00
Xue Fuqiao
b55f06d83d ; * etc/NEWS: Use double spaces to end a sentence. 2016-02-13 13:51:09 +08:00
Stefan Monnier
28bb21439a Announce that the `C-x w' bindings are deprecated 2016-02-12 22:33:30 -05:00
Paul Eggert
1c98f98991 Suppress GNUstep hardening
Fedora 23 normally hardens GNUstep applications, which causes
‘./configure --with-ns’ to break Emacs’s funky way of undumping.
Fix this by eliding the hardening options (Bug#22518).
* src/Makefile.in (LIBS_GNUSTEP): Omit options like
‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
(GNU_OBJC_CFLAGS): Omit options like
‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.
2016-02-12 16:24:04 -08:00
Eli Zaretskii
d82f24ba85 Fix redisplay after a large insertion
* src/xdisp.c (redisplay_internal): Don't accept the results of
"optimization 3" if the cursor ends up in a partially visible
glyph row.  (Bug22637)
2016-02-12 21:38:44 +02:00
Andreas Schwab
85a2753d96 Revert "Fix gnus-group-get-new-news-this-group on group with closed server"
This reverts commit 9dc77e37aa.

	* lisp/gnus/nnimap.el (nnimap-change-group): Revert last
	change.  (Bug#22634)
2016-02-12 11:41:29 +01:00