1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00
Commit Graph

121261 Commits

Author SHA1 Message Date
Eli Zaretskii
e78aef0083 Fix synchronous invocation of Ispell
* lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
value to ispell-process-directory before calling ispell-init-process.
Don't call set-process-coding-system if ispell-async-processp is nil.
(Bug#20448)
2015-04-28 18:36:25 +03:00
Glenn Morris
f23d716a0c ; Auto-commit of loaddefs files. 2015-04-28 06:18:18 -04:00
Artur Malabarba
fecd155703 * lisp/emacs-lisp/package.el: Skip space and comments in init file
(package--ensure-init-file): Insert snippet at first
non-whitespace non-comments line.  Respects local-vars at the top
of the file.
2015-04-28 11:08:40 +01:00
Glenn Morris
f660f36090 * lisp/mail/rmail.el (rmail-copy-headers):
Handle rmail-nonignored-headers being nil.  (Bug#18878)
2015-04-28 00:09:19 -07:00
Glenn Morris
e82fd952f1 ; Comments. 2015-04-27 23:46:09 -07:00
Glenn Morris
9eca163f17 * lisp/subr.el (delay-mode-hooks): Fix doc typo. 2015-04-27 22:59:10 -07:00
Glenn Morris
704ce9aeb6 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
Don't get confused by a bzrlib version mismatch warning.
2015-04-27 22:15:12 -07:00
Thomas Fitzsimmons
7d947e84f3 Change default location of EUDC options file
* NEWS: Document change to EUDC options file's default location.
* lisp/net/eudc-vars.el (eudc-options-file): Use
`locate-user-emacs-file' to change default options file location.
2015-04-27 22:27:59 -04:00
Glenn Morris
b09deaa5a9 * test/automated/package-test.el (package-test-update-archives-async):
Try to handle the test server script dying.
2015-04-27 21:33:01 -04:00
Stefan Monnier
9c3e1e4e5b * lisp/saveplace.el (save-place-mode): New minor mode.
(save-place): Redefine as an obsolete alias.
2015-04-27 19:12:11 -04:00
Stefan Monnier
c603274f26 * lisp/midnight.el: Make it a minor mode. Allow predicates.
* lisp/midnight.el: Use lexical-binding.
(midnight-mode): Make it a proper minor mode.
(midnight-buffer-display-time): Make arg non-optional.
(midnight-find): Remove.
(clean-buffer-list-kill-never-regexps)
(clean-buffer-list-kill-regexps): Tweak type for new function choice.
(clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
contain functions.
(clean-buffer-list): Use cl-find.
Allow clean-buffer-list-kill-never-regexps to contain functions.
2015-04-27 19:07:51 -04:00
Nicolas Petton
66fec8bec4 Bump version of seq.el to 1.5
* lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
  from seq-doseq.  Bump version number of seq.el.
2015-04-27 23:26:33 +02:00
Glenn Morris
579db5085b * lisp/mail/rmail.el (rmail-reply):
Decode subject before matching "Re:" prefix.  (Bug#20396)
2015-04-27 17:18:39 -04:00
Artur Malabarba
f3b43fca47 * lisp/emacs-lisp/package.el: Small improvements
(package--with-work-buffer-async): More informative error.
(package-install-user-selected-packages): Rename to
`package-install-selected-packages'.
2015-04-27 22:06:32 +01:00
Stefan Monnier
d320ec576d * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
(eieio--class-make): Remove leftover `tag'.
2015-04-27 16:01:39 -04:00
Glenn Morris
009e380e05 * lisp/gnus/message.el (gnus-extract-address-components):
Remove bogus declaration that was masking previous problem.
2015-04-27 15:48:29 -04:00
Nicolas Graner
e9036b1d84 * lisp/gnus/message.el (message-insert-formatted-citation-line):
Fix typo.  (Bug#20318)

Copyright-paperwork-exempt: yes
2015-04-27 15:45:04 -04:00
Stefan Monnier
d92e0c58e8 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc. 2015-04-27 15:33:43 -04:00
Stefan Monnier
1c7f0cdc4c * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
* lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
the buffer in yet another frame.
(reftex-toc-visit-location): Make sure toc-window has focus at the end
when `final' is nil.
(reftex--rebuilding-toc): Defvar to avoid `boundp' and
silence warnings.  Use `--' to clarify that it's internal.
(reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
(reftex-toc-promote): Clarify unused argument.
(reftex--pro-or-de, reftex--start-line, reftex--mark-line):
Add `reftex--' prefix.  Fix all users.
(reftex-toc-promote-prepare): Use _ for dummy variable.
(reftex-toc-restore-region): Rename `m
2015-04-27 12:59:11 -04:00
Eli Zaretskii
08dad2f84d Fix a typo in bibtex.el
* lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
last change.  (Bug#20429)
2015-04-27 18:21:13 +03:00
Eli Zaretskii
d89687b1ba Fix redisplay of frame after loading new fonts
* src/xdisp.c (redisplay_internal): When retrying redisplay of a
frame because new fonts were loaded, disable all redisplay
optimizations on that frame by calling SET_FRAME_GARBAGED.
(Bug#20410)
2015-04-27 18:15:52 +03:00
Stefan Monnier
def0df01fb * lisp/info.el (Info-menu): Properly provide the `default'
Fixes: debbugs:20391
2015-04-27 00:52:46 -04:00
Stefan Monnier
d32d0fae2a * elisp-mode.el: Catch errors from `documentation'
Fixes: debbugs:20418

* lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
Catch errors from documentation.
(emacs-lisp-mode-abbrev-table): Remove redundant defvar.
2015-04-27 00:01:36 -04:00
Stefan Monnier
0b72388293 lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
Remove redundant ":group 'package".
2015-04-26 17:03:21 -04:00
Eli Zaretskii
33cb25bdc0 Fix a typo in rmail.el
* lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
last commit.  (Bug#20429)
2015-04-26 22:18:13 +03:00
Dmitry Gutov
2f3b409a28 Introduce xref-prompt-for-identifier
* lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
(xref--read-identifier): Use it
(http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
2015-04-26 18:08:56 +03:00
João Távora
a40869789f tex-insert-quote' after single '' opens quotes instead of closing
Without this, it's very hard to precede double quotes with the
apostrophe character, i.e. insert the sequence '``
(quote-backquote-backquote), commonly useful in portuguese, for
instance.

* tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
chars making `tex-insert-quote' be in the "opening" context.
2015-04-26 11:44:41 +01:00
Dmitry Gutov
fddff05e88 Pass id' to completing-read' as def instead of initial input
* xref.el (xref--read-identifier): Pass `id' to `completing-read'
as the default value instead of initial input
(http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
2015-04-26 06:39:34 +03:00
Paul Eggert
a0f634a5cd ; Fix ChangeLog typo (Bug#20400) 2015-04-25 16:40:05 -07:00
Paul Eggert
75e039b67e ; make change-history-commit 2015-04-25 16:40:05 -07:00
Paul Eggert
2c1b860494 Don't freeze with unreadable processes
Don't freeze if an exiting process can't be read from. (Bug#19860).
This fixes a bug I introduced in
2014-07-08T07:24:07Z@eggert@cs.ucla.edu
"* process.c: Add sanity checks for file descriptors."
Dmitry Gutov did most of the legwork in finding the problem.
* src/process.c (wait_reading_process_output):
Treat non-running processes that can't be read from
the same as other non-running processes.
2015-04-25 16:17:50 -07:00
Alan Mackenzie
45e571035b Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
* lisp/subr.el (remove-yank-excluded-properties): put
`with-silent-modifications' around only the last three lines of code.
2015-04-25 20:49:44 +00:00
Artur Malabarba
864573cafe * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
(package--all-keywords): Deleted variable.
2015-04-25 17:04:02 +01:00
Artur Malabarba
f8d660280d * etc/NEWS: Document package-hiding functionality 2015-04-25 17:04:02 +01:00
Eli Zaretskii
3b40a95bf4 lisp/window.el (recenter-last-op): Doc fix. (Bug#20419) 2015-04-25 17:51:21 +03:00
Eli Zaretskii
365f9ab865 Clarify the doc string of 'replace-regexp-in-string'
* lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)
2015-04-25 12:38:07 +03:00
Eli Zaretskii
bac119a56e Improve doc string of 'insert-buffer-substring'
* src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)
2015-04-25 10:49:42 +03:00
Eli Zaretskii
474519c96d MS-Windows followup for the recent gnulib update
* nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
acl-internal.c.
2015-04-25 10:29:40 +03:00
Paul Eggert
2f5da6d45a Spelling fixes 2015-04-24 23:19:59 -07:00
Paul Eggert
27e6afeb6f Merge from gnulib
This incorporates:
2015-04-24 file-has-acl: new module, split from acl
2015-04-24 manywarnings: add GCC 5.1 warnings
2015-04-21 lstat: fix cross-compilation 'ln -s' problem
2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
2015-04-15 acl: On Linux, check for acls without libacl
2015-04-14 tempname: avoid unused parameter warnings (trivial)
* lib/acl-internal.c: New file, from gnulib.
* lib/file-has-acl.c: Remove; no longer imported from gnulib.
* lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
* m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
Update from gnulib.
2015-04-24 22:41:56 -07:00
Paul Eggert
52ba851db1 Port --enable-gcc-warnings to GCC 5.1 x86-64
* lib-src/ebrowse.c (dump_sym):
* lib-src/hexl.c (main):
* src/ccl.c (ccl_driver):
* src/character.c (string_escape_byte8):
* src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
* src/gnutls.c (Fgnutls_boot):
* src/gtkutil.c (xg_check_special_colors):
* src/image.c (x_build_heuristic_mask):
* src/print.c (safe_debug_print, print_object):
* src/term.c (produce_glyphless_glyph):
* src/xdisp.c (get_next_display_element)
(produce_glyphless_glyph):
* src/xterm.c (x_draw_glyphless_glyph_string_foreground):
Don't use a signed format to print an unsigned integer, or vice
versa.  GCC 5.1's new -Wformat-signedness option warns about this.
* src/image.c (png_load_body, jpeg_load_body):
Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
2015-04-24 22:41:56 -07:00
Tassilo Horn
5933886920 Add new faces to tsdh-light-theme
* etc/themes/tsdh-light-theme.el (tsdh-light): New face
definitions for Info-quoted, ace-jump-face-foreground,
hl-paren-face, show-paren-match, and show-paren-mismatch.
2015-04-24 23:33:19 +02:00
Nicolas Petton
7ecda8a221 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro. 2015-04-24 23:12:50 +02:00
Glenn Morris
ac491b6cf9 * build-aux/gitlog-to-emacslog:
Use raw log format rather than wrapped one.
2015-04-24 16:16:01 -04:00
Stefan Monnier
e224c9465d * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
(seq-doseq): Fix out-of-scope binding.
Don't call `seq-length at every iteration.
Reduce `if's from 3 to 2 per iteration.
(emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
2015-04-24 16:11:35 -04:00
Glenn Morris
18a78f8215 * lisp/textmodes/text-mode.el (text-mode-hook):
Move text-mode-hook-identify to default.
2015-04-24 14:49:12 -04:00
Glenn Morris
b94d950a0a ; * lisp/server.el: Comment. 2015-04-24 14:47:30 -04:00
Glenn Morris
5bc9f498de * lisp/mouse.el (minor-mode-menu-from-indicator):
Handle non-function members of minor-mode-map-alist.  (Bug#20201)
2015-04-24 14:46:42 -04:00
Glenn Morris
82d0f42a4c * lisp/help-fns.el (describe-function): More type checking.
(describe-function-1): Handle changed symbol-function.  (Bug#20201)
2015-04-24 14:44:33 -04:00
Glenn Morris
9eabc76e5b * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
Fixes: debbugs:20325
2015-04-24 14:34:37 -04:00