]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years ago* lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
Glenn Morris [Tue, 28 Apr 2015 23:27:37 +0000 (19:27 -0400)]
* lisp/mail/rmailsum.el: Fix search for encoded subjects.  (Bug#19088)

(rmail--decode-and-apply): New function.
(rmail-message-regexp-p-1, rmail-message-subject-p): Use it.

10 years ago* lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
Glenn Morris [Tue, 28 Apr 2015 23:25:56 +0000 (19:25 -0400)]
* lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.

10 years ago* lisp/emacs-lisp/package.el: Fix priority-hiding corner case
Artur Malabarba [Tue, 28 Apr 2015 21:29:26 +0000 (22:29 +0100)]
* lisp/emacs-lisp/package.el: Fix priority-hiding corner case

(package-menu--refresh): Delegate obsolete-hiding to
`package--remove-hidden'.
(package--remove-hidden): Disregard high-priority package if it is
older than the installed one.

10 years agoUpdate source file encoding list
Paul Eggert [Tue, 28 Apr 2015 17:51:21 +0000 (10:51 -0700)]
Update source file encoding list

Update admin/notes/unicode, along with coding system cookies in
other files, so that the two match each other better.
* admin/notes/unicode: lisp/language/ethio-util.el and
lisp/language/ethiopic.el also use utf-8-emacs.
* admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
* doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex:
Add "coding: utf-8" so that this file is not mishandled in a
Latin-1 or Big-5 locale.
* lisp/international/robin.el, lisp/org/ox-ascii.el:
Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
* lisp/language/ethio-util.el: Fix trailer.

10 years agoFix synchronous invocation of Ispell
Eli Zaretskii [Tue, 28 Apr 2015 15:36:25 +0000 (18:36 +0300)]
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)

10 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 28 Apr 2015 10:18:18 +0000 (06:18 -0400)]
; Auto-commit of loaddefs files.

10 years ago* lisp/emacs-lisp/package.el: Skip space and comments in init file
Artur Malabarba [Tue, 28 Apr 2015 10:08:40 +0000 (11:08 +0100)]
* 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.

10 years ago* lisp/mail/rmail.el (rmail-copy-headers):
Glenn Morris [Tue, 28 Apr 2015 07:09:19 +0000 (00:09 -0700)]
* lisp/mail/rmail.el (rmail-copy-headers):

Handle rmail-nonignored-headers being nil.  (Bug#18878)

10 years ago; Comments.
Glenn Morris [Tue, 28 Apr 2015 06:46:09 +0000 (23:46 -0700)]
; Comments.

10 years ago* lisp/subr.el (delay-mode-hooks): Fix doc typo.
Glenn Morris [Tue, 28 Apr 2015 05:59:10 +0000 (22:59 -0700)]
* lisp/subr.el (delay-mode-hooks): Fix doc typo.

10 years ago* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
Glenn Morris [Tue, 28 Apr 2015 05:15:12 +0000 (22:15 -0700)]
* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):

Don't get confused by a bzrlib version mismatch warning.

10 years agoChange default location of EUDC options file
Thomas Fitzsimmons [Tue, 28 Apr 2015 02:26:56 +0000 (22:26 -0400)]
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.

10 years ago* test/automated/package-test.el (package-test-update-archives-async):
Glenn Morris [Tue, 28 Apr 2015 01:33:01 +0000 (21:33 -0400)]
* test/automated/package-test.el (package-test-update-archives-async):

Try to handle the test server script dying.

10 years ago* lisp/saveplace.el (save-place-mode): New minor mode.
Stefan Monnier [Mon, 27 Apr 2015 23:12:11 +0000 (19:12 -0400)]
* lisp/saveplace.el (save-place-mode): New minor mode.

(save-place): Redefine as an obsolete alias.

10 years ago* lisp/midnight.el: Make it a minor mode. Allow predicates.
Stefan Monnier [Mon, 27 Apr 2015 23:07:51 +0000 (19:07 -0400)]
* 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.

10 years agoBump version of seq.el to 1.5
Nicolas Petton [Mon, 27 Apr 2015 21:24:01 +0000 (23:24 +0200)]
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.

10 years ago* lisp/mail/rmail.el (rmail-reply):
Glenn Morris [Mon, 27 Apr 2015 21:18:39 +0000 (17:18 -0400)]
* lisp/mail/rmail.el (rmail-reply):

Decode subject before matching "Re:" prefix.  (Bug#20396)

10 years ago* lisp/emacs-lisp/package.el: Small improvements
Artur Malabarba [Mon, 27 Apr 2015 21:04:38 +0000 (22:04 +0100)]
* 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'.

10 years ago* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
Stefan Monnier [Mon, 27 Apr 2015 20:01:39 +0000 (16:01 -0400)]
* 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'.

10 years ago* lisp/gnus/message.el (gnus-extract-address-components):
Glenn Morris [Mon, 27 Apr 2015 19:48:29 +0000 (15:48 -0400)]
* lisp/gnus/message.el (gnus-extract-address-components):

Remove bogus declaration that was masking previous problem.

10 years ago* lisp/gnus/message.el (message-insert-formatted-citation-line):
Nicolas Graner [Mon, 27 Apr 2015 19:45:04 +0000 (15:45 -0400)]
* lisp/gnus/message.el (message-insert-formatted-citation-line):

Fix typo.  (Bug#20318)

Copyright-paperwork-exempt: yes

10 years ago* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
Stefan Monnier [Mon, 27 Apr 2015 19:33:43 +0000 (15:33 -0400)]
* lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.

10 years ago* lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
Stefan Monnier [Mon, 27 Apr 2015 16:59:11 +0000 (12:59 -0400)]
* 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

10 years agoFix a typo in bibtex.el
Eli Zaretskii [Mon, 27 Apr 2015 15:21:13 +0000 (18:21 +0300)]
Fix a typo in bibtex.el

* lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
last change.  (Bug#20429)

10 years agoFix redisplay of frame after loading new fonts
Eli Zaretskii [Mon, 27 Apr 2015 15:15:52 +0000 (18:15 +0300)]
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)

10 years ago* lisp/info.el (Info-menu): Properly provide the `default'
Stefan Monnier [Mon, 27 Apr 2015 04:52:46 +0000 (00:52 -0400)]
* lisp/info.el (Info-menu): Properly provide the `default'

Fixes: debbugs:20391
10 years ago* elisp-mode.el: Catch errors from `documentation'
Stefan Monnier [Mon, 27 Apr 2015 04:01:36 +0000 (00:01 -0400)]
* 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.

10 years agolisp/emacs-lisp/package.el: Move variables to silence byte-compiler
Stefan Monnier [Sun, 26 Apr 2015 21:03:21 +0000 (17:03 -0400)]
lisp/emacs-lisp/package.el: Move variables to silence byte-compiler

Remove redundant ":group 'package".

10 years agoFix a typo in rmail.el
Eli Zaretskii [Sun, 26 Apr 2015 19:18:13 +0000 (22:18 +0300)]
Fix a typo in rmail.el

* lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
last commit.  (Bug#20429)

10 years agoIntroduce xref-prompt-for-identifier
Dmitry Gutov [Sun, 26 Apr 2015 15:08:56 +0000 (18:08 +0300)]
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).

10 years ago`tex-insert-quote' after single `'' opens quotes instead of closing
João Távora [Sun, 26 Apr 2015 10:44:41 +0000 (11:44 +0100)]
`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.

10 years agoPass `id' to `completing-read' as def instead of initial input
Dmitry Gutov [Sat, 25 Apr 2015 16:23:41 +0000 (19:23 +0300)]
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).

10 years ago; Fix ChangeLog typo (Bug#20400)
Paul Eggert [Sat, 25 Apr 2015 23:38:15 +0000 (16:38 -0700)]
; Fix ChangeLog typo (Bug#20400)

10 years ago; make change-history-commit
Paul Eggert [Sat, 25 Apr 2015 23:36:59 +0000 (16:36 -0700)]
; make change-history-commit

10 years agoDon't freeze with unreadable processes
Paul Eggert [Sat, 25 Apr 2015 23:16:58 +0000 (16:16 -0700)]
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.

10 years agoFix change from 2015-04-22 "On C-y, stop some text property entries ..."
Alan Mackenzie [Sat, 25 Apr 2015 20:49:44 +0000 (20:49 +0000)]
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.

10 years ago* lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
Artur Malabarba [Sat, 25 Apr 2015 16:03:32 +0000 (17:03 +0100)]
* lisp/emacs-lisp/package.el (package-all-keywords): Don't cache

(package--all-keywords): Deleted variable.

10 years ago* etc/NEWS: Document package-hiding functionality
Artur Malabarba [Sat, 25 Apr 2015 15:12:43 +0000 (16:12 +0100)]
* etc/NEWS: Document package-hiding functionality

10 years agolisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
Eli Zaretskii [Sat, 25 Apr 2015 14:51:21 +0000 (17:51 +0300)]
lisp/window.el (recenter-last-op): Doc fix.  (Bug#20419)

10 years agoClarify the doc string of 'replace-regexp-in-string'
Eli Zaretskii [Sat, 25 Apr 2015 09:38:07 +0000 (12:38 +0300)]
Clarify the doc string of 'replace-regexp-in-string'

* lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)

10 years agoImprove doc string of 'insert-buffer-substring'
Eli Zaretskii [Sat, 25 Apr 2015 07:49:42 +0000 (10:49 +0300)]
Improve doc string of 'insert-buffer-substring'

* src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)

10 years agoMS-Windows followup for the recent gnulib update
Eli Zaretskii [Sat, 25 Apr 2015 07:29:40 +0000 (10:29 +0300)]
MS-Windows followup for the recent gnulib update

* nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
acl-internal.c.

10 years agoSpelling fixes
Paul Eggert [Sat, 25 Apr 2015 06:19:36 +0000 (23:19 -0700)]
Spelling fixes

10 years agoMerge from gnulib
Paul Eggert [Sat, 25 Apr 2015 05:39:47 +0000 (22:39 -0700)]
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.

10 years agoPort --enable-gcc-warnings to GCC 5.1 x86-64
Paul Eggert [Sat, 25 Apr 2015 05:37:11 +0000 (22:37 -0700)]
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).

10 years agoAdd new faces to tsdh-light-theme
Tassilo Horn [Fri, 24 Apr 2015 21:33:19 +0000 (23:33 +0200)]
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.

10 years ago* lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
Nicolas Petton [Fri, 24 Apr 2015 21:12:50 +0000 (23:12 +0200)]
* lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.

10 years ago* build-aux/gitlog-to-emacslog:
Glenn Morris [Fri, 24 Apr 2015 20:16:01 +0000 (16:16 -0400)]
* build-aux/gitlog-to-emacslog:
Use raw log format rather than wrapped one.

10 years ago* lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
Stefan Monnier [Fri, 24 Apr 2015 20:11:35 +0000 (16:11 -0400)]
* 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.

10 years ago* lisp/textmodes/text-mode.el (text-mode-hook):
Glenn Morris [Fri, 24 Apr 2015 18:49:12 +0000 (14:49 -0400)]
* lisp/textmodes/text-mode.el (text-mode-hook):
Move text-mode-hook-identify to default.

10 years ago; * lisp/server.el: Comment.
Glenn Morris [Fri, 24 Apr 2015 18:47:30 +0000 (14:47 -0400)]
; * lisp/server.el: Comment.

10 years ago* lisp/mouse.el (minor-mode-menu-from-indicator):
Glenn Morris [Fri, 24 Apr 2015 18:46:42 +0000 (14:46 -0400)]
* lisp/mouse.el (minor-mode-menu-from-indicator):

Handle non-function members of minor-mode-map-alist.  (Bug#20201)

10 years ago* lisp/help-fns.el (describe-function): More type checking.
Glenn Morris [Fri, 24 Apr 2015 18:44:33 +0000 (14:44 -0400)]
* lisp/help-fns.el (describe-function): More type checking.
(describe-function-1): Handle changed symbol-function.  (Bug#20201)

10 years ago* build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
Glenn Morris [Fri, 24 Apr 2015 18:34:37 +0000 (14:34 -0400)]
* build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".

Fixes: debbugs:20325
10 years agoshr: strip leading whitespace when expanding URLs
Andreas Schwab [Fri, 24 Apr 2015 15:18:55 +0000 (17:18 +0200)]
shr: strip leading whitespace when expanding URLs

* lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.

10 years agoClarify "co-authored" some more
Eli Zaretskii [Fri, 24 Apr 2015 15:00:02 +0000 (18:00 +0300)]
Clarify "co-authored" some more

10 years ago* CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
Eli Zaretskii [Fri, 24 Apr 2015 14:47:23 +0000 (17:47 +0300)]
* CONTRIBUTE: Clarify "co-authored-by".  (Bug#20400)

10 years agoClarify doc strings of functions that search for properties
Eli Zaretskii [Fri, 24 Apr 2015 08:24:56 +0000 (11:24 +0300)]
Clarify doc strings of functions that search for properties

* src/textprop.c (Fnext_char_property_change)
(Fprevious_char_property_change)
(Fnext_single_char_property_change)
(Fprevious_single_char_property_change, Fnext_property_change)
(Fnext_single_property_change, Fprevious_property_change)
(Fprevious_single_property_change): Clarify doc strings wrt return
value and the optional LIMIT argument.  (Bug#20411)

10 years ago* test/automated/message-mode-tests.el (message-mode-propertize):
Glenn Morris [Fri, 24 Apr 2015 07:10:11 +0000 (00:10 -0700)]
* test/automated/message-mode-tests.el (message-mode-propertize):

Handle non-writable HOME; eg on hydra.nixos.org.

10 years ago; * src/keyboard.c (read_event_from_main_queue): Fix indentation.
Eli Zaretskii [Thu, 23 Apr 2015 07:59:24 +0000 (10:59 +0300)]
; * src/keyboard.c (read_event_from_main_queue): Fix indentation.

10 years agoAvoid starting threads by w32-shell-execute
Eli Zaretskii [Thu, 23 Apr 2015 07:15:07 +0000 (10:15 +0300)]
Avoid starting threads by w32-shell-execute

* src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
local file names, before invoking ShellExecute.  (Bug#20220)

10 years agoFix following doc-links in `widget-documentation-link-action'
Martin Rudalics [Thu, 23 Apr 2015 07:11:59 +0000 (09:11 +0200)]
Fix following doc-links in `widget-documentation-link-action'

* lisp/wid-edit.el (widget-documentation-link-action): Make
following doc-links less simplistic (Bug#20398).

10 years agoImprove EUDC manual
Thomas Fitzsimmons [Thu, 23 Apr 2015 02:07:17 +0000 (22:07 -0400)]
Improve EUDC manual

* eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.

10 years agoOmit needless "\ " after multibyte then newline
Paul Eggert [Wed, 22 Apr 2015 17:58:13 +0000 (10:58 -0700)]
Omit needless "\ " after multibyte then newline

* src/print.c: Include <c-ctype.h>, for c_isxdigit.
(print_object): When print-escape-multibyte is non-nil and a
multibyte character is followed by a newline or formfeed, followed
by a hex digit, don't output a needless "\ " before the hex digit.
* test/automated/print-tests.el (print-hex-backslash): New test.

10 years agoAdd a new `inhibit-message' variable
Oleh Krehel [Wed, 22 Apr 2015 12:45:09 +0000 (14:45 +0200)]
Add a new `inhibit-message' variable

* src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
(message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
`inhibit_message' is non-zero.

* etc/NEWS: Add an entry.

* doc/lispref/display.texi: Add an entry for `inhibit-message',
  mention it in `message'.

10 years agoFix last fix in `display-buffer-record-window'.
Martin Rudalics [Wed, 22 Apr 2015 13:02:22 +0000 (15:02 +0200)]
Fix last fix in `display-buffer-record-window'.

* lisp/window.el (display-buffer-record-window): Fix last fix.

10 years agoMinor edits in CONTRIBUTE
Eli Zaretskii [Wed, 22 Apr 2015 11:25:34 +0000 (14:25 +0300)]
Minor edits in CONTRIBUTE

* CONTRIBUTE: Rearrange instructions about log messages.
Use "Git" capitalized all over.
Use 2 spaces between sentences.

10 years ago* lisp/files.el (basic-save-buffer): Fix argument
Artur Malabarba [Wed, 22 Apr 2015 10:53:00 +0000 (11:53 +0100)]
* lisp/files.el (basic-save-buffer): Fix argument

10 years ago* lisp/cus-edit.el (custom-file): Consider init-file-had-error
Artur Malabarba [Wed, 22 Apr 2015 10:51:11 +0000 (11:51 +0100)]
* lisp/cus-edit.el (custom-file): Consider init-file-had-error

In case `(and (null custom-file) init-file-had-error)' do the same
thing we'd do if `(null user-init-file)', which is to either error out
or return nil.  This is in line with `custom-save-all' which would
throw an error in that situation. (bug#20355)

10 years ago* lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
Artur Malabarba [Wed, 22 Apr 2015 08:31:16 +0000 (09:31 +0100)]
* lisp/emacs-lisp/package.el: Hide lower-priority packages in menu

(package-menu-hide-low-priority): New variable, see its doc.
(package-archive-priorities): Update doc.
(package-desc-priority): New function.
(package-desc-priority-version): Use it.
(package--remove-hidden): New function.
(package-menu--refresh): Use it.

10 years ago* lisp/emacs-lisp/package.el: Implement displaying obsolete packages
Artur Malabarba [Tue, 21 Apr 2015 10:35:40 +0000 (11:35 +0100)]
* lisp/emacs-lisp/package.el: Implement displaying obsolete packages

(package-menu--hide-obsolete): New variable.
(package--remove-hidden): Use it.
(package-menu-hide-obsolete): New interactive function to toggle
the variable.
(package--quick-help-keys): Document it.
(package-menu-async): Add :version tag.
(package-menu-mode-map): Bind package-menu-hide-obsolete.
(package-desc-status): Indicate non-installed obsolete packages as
avail-obso.
(package-menu-mark-install): Allow installation of avail-obso.
(package-menu--status-predicate): Sort avail-obso with available.

10 years ago; Auto-commit of loaddefs files.
Glenn Morris [Wed, 22 Apr 2015 10:17:45 +0000 (06:17 -0400)]
; Auto-commit of loaddefs files.

10 years agoOn C-y, stop some text property entries being written into buffer-undo-list
Alan Mackenzie [Wed, 22 Apr 2015 09:49:27 +0000 (09:49 +0000)]
On C-y, stop some text property entries being written into buffer-undo-list

lisp/subr.el (remove-yank-excluded-properties): enclose the code in
`with-silent-modifications'.

10 years agoIn display-buffer-record-window record selected window if necessary.
Martin Rudalics [Wed, 22 Apr 2015 09:17:27 +0000 (11:17 +0200)]
In display-buffer-record-window record selected window if necessary.

* lisp/window.el (display-buffer-record-window): Store selected window
if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).

10 years agoFix reftex-citation bug
Tassilo Horn [Wed, 22 Apr 2015 07:24:54 +0000 (09:24 +0200)]
Fix reftex-citation bug

* reftex-cite.el (reftex-extract-bib-entries): Fix
`wrong-type-argument stringp nil' error that occurs when AUCTeX
integration is enabled and there are no citations in the document
so far.

10 years agoAdd or reset based on the presence of MERGE_HEAD
Dmitry Gutov [Wed, 22 Apr 2015 01:45:43 +0000 (04:45 +0300)]
Add or reset based on the presence of MERGE_HEAD

* lisp/vc/vc-git.el (vc-git-find-file-hook): Add
`vc-git-resolve-when-done' to `after-save-hook' in either case.
(vc-git-conflicted-files): Add a TODO.
(vc-git-resolve-when-done): Depending on the presence of
MERGE_HEAD, either update the resolved file in the index, or
remove it from there.  (Bug#20292)

10 years ago* lisp/custom.el (custom-declare-group): No need to purecopy
Glenn Morris [Wed, 22 Apr 2015 01:30:54 +0000 (21:30 -0400)]
* lisp/custom.el (custom-declare-group): No need to purecopy

custom-current-group-alist members following recent change to set
it to nil before dumping.

10 years ago* build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
Glenn Morris [Tue, 21 Apr 2015 21:57:24 +0000 (17:57 -0400)]
* build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.

Fixes: debbugs:20399
10 years ago; ChangeLog fix
Glenn Morris [Tue, 21 Apr 2015 21:56:29 +0000 (17:56 -0400)]
; ChangeLog fix

Reposition local-variables to where most ChangeLogs seem to keep them.
Also helps gitlog-to-emacslog.

10 years agoUnbreak no-op buffer save message
Daniel Colascione [Tue, 21 Apr 2015 19:26:44 +0000 (12:26 -0700)]
Unbreak no-op buffer save message

* lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
(basic-save-buffer): Accept called-interactively as an argument instead of
directly invoking called-interactively-p, which will always yield nil
in that context.

10 years agoCC Mode: Do nothing in before/after-change-functions for text property changes
Alan Mackenzie [Tue, 21 Apr 2015 14:02:10 +0000 (14:02 +0000)]
CC Mode: Do nothing in before/after-change-functions for text property changes

Fixes bug#20266.

lisp/progmodes/cc-mode.el (c-basic-common-init): Make
yank-handled-properties buffer local, and remove 'category from it.
(c-called-from-text-property-change-p): New function.
(c-before-change): Don't do anything if a call of the new function
returns non-nil.
(c-after-change): Don't do much if a call of the new function returns
non-nil.
(c-extend-after-change-region): Put changes to text property 'fontified
inside c-save-buffer-state.

10 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 21 Apr 2015 10:18:09 +0000 (06:18 -0400)]
; Auto-commit of loaddefs files.

10 years ago; * test/automated/message-mode-tests.el: Standardize license notice.
Glenn Morris [Tue, 21 Apr 2015 01:59:39 +0000 (18:59 -0700)]
; * test/automated/message-mode-tests.el: Standardize license notice.

10 years agoFix byte-compiler warnings about looking-back.
Stefan Monnier [Tue, 21 Apr 2015 01:55:00 +0000 (21:55 -0400)]
Fix byte-compiler warnings about looking-back.

* lisp/vc/log-view.el (log-view-end-of-defun-1):
* lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
* lisp/textmodes/reftex-ref.el (reftex-goto-label):
* lisp/textmodes/bibtex.el (bibtex-insert-kill):
* lisp/progmodes/sh-script.el (sh--maybe-here-document):
* lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
* lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
* lisp/org/org.el (org-insert-heading, org-sort-entries):
* lisp/org/org-mouse.el (org-mouse-end-headline)
(org-mouse-context-menu):
* lisp/org/org-clock.el (org-clock-cancel):
* lisp/man.el (Man-default-man-entry):
* lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
(rmail-ensure-blank-line):
* lisp/mail/footnote.el (Footnote-delete-footnote):
* lisp/mail/emacsbug.el (report-emacs-bug):
* lisp/info.el (Info-follow-reference, Info-fontify-node):
* lisp/info-look.el (info-lookup-guess-custom-symbol):
* lisp/help-fns.el (help-fns--key-bindings):
* lisp/files.el (hack-local-variables):
* lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
(viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
(viper-complete-filename-or-exit):
* lisp/emulation/viper-cmd.el (viper-backward-indent):
* lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
* lisp/emacs-lisp/elint.el (elint-get-top-forms):
* lisp/cus-edit.el (custom-face-edit-value-create):
* lisp/calendar/todo-mode.el (todo-set-item-priority)
(todo-filter-items-1, todo-convert-legacy-files)
(todo-prefix-overlays): Add explicit second arg to looking-back.

10 years agoAvoid non-nil current-load-list at startup
Glenn Morris [Tue, 21 Apr 2015 00:29:48 +0000 (20:29 -0400)]
Avoid non-nil current-load-list at startup

* src/process.c (init_process_emacs): Move Fprovide statement...
(syms_of_process): ... to here.

10 years ago* lisp/loadup.el (custom-current-group-alist): Reset before dumping.
Glenn Morris [Mon, 20 Apr 2015 22:16:25 +0000 (18:16 -0400)]
* lisp/loadup.el (custom-current-group-alist): Reset before dumping.

10 years ago* lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
Glenn Morris [Mon, 20 Apr 2015 21:46:24 +0000 (17:46 -0400)]
* lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.

10 years ago; * lisp/loadup.el: Comment.
Glenn Morris [Mon, 20 Apr 2015 21:44:59 +0000 (17:44 -0400)]
; * lisp/loadup.el: Comment.

10 years ago* lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
Ludovic Courtès [Mon, 20 Apr 2015 21:44:23 +0000 (17:44 -0400)]
* lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.

Fixes: debbugs:20330
10 years ago* lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
Glenn Morris [Mon, 20 Apr 2015 21:40:32 +0000 (17:40 -0400)]
* lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.

10 years agoTweak exec-path in uninstalled case
Glenn Morris [Mon, 20 Apr 2015 21:38:36 +0000 (17:38 -0400)]
Tweak exec-path in uninstalled case

* src/callproc.c (init_callproc): If running uninstalled, do not
include eventual installation libexec directory in exec-path.

10 years ago* lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
Artur Malabarba [Mon, 20 Apr 2015 06:35:07 +0000 (07:35 +0100)]
* lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords

(package-menu-filter): Accept a list of keywords.

(package--all-keywords): New variable to cache known keywords.
(package-all-keywords): Populate it if necessary.
(package-refresh-contents): Reset it.

10 years ago* lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
Artur Malabarba [Mon, 20 Apr 2015 06:20:54 +0000 (07:20 +0100)]
* lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords

(package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
as special keywords which match agains package archive and status
respectively.

* etc/NEWS: Document it.

10 years agoDescribe and index "empty overlays".
Eli Zaretskii [Mon, 20 Apr 2015 15:46:11 +0000 (18:46 +0300)]
Describe and index "empty overlays".

* doc/lispref/display.texi (Overlays): Improve indexing.
(Managing Overlays): Describe "empty" overlays.
(Overlay Properties, Finding Overlays): Add cross-reference to
where empty overlays are described.

10 years agoSpelling fixes
Paul Eggert [Mon, 20 Apr 2015 06:59:04 +0000 (23:59 -0700)]
Spelling fixes

10 years agoQuote 'like this' in top-level files
Paul Eggert [Sun, 19 Apr 2015 21:40:51 +0000 (14:40 -0700)]
Quote 'like this' in top-level files

* CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
Prefer to single-quote 'like this' (instead of the older style
`like this').
* configure.ac: Fix some space-before-tab problems that 'git commit'
complained about.

10 years agoUse bool for boolean in textprop.c, undo.c
Paul Eggert [Sun, 19 Apr 2015 20:13:13 +0000 (13:13 -0700)]
Use bool for boolean in textprop.c, undo.c

* src/textprop.c (soft, hard): Now constants instead of macros.
(validate_plist): Rewrite to avoid need for boolean local.
(interval_has_all_properties, interval_has_some_properties)
(interval_has_some_properties_list, add_properties)
(remove_properties, get_char_property_and_overlay)
(Fnext_single_char_property_change)
(Fprevious_single_char_property_change, add_text_properties_1)
(Fremove_text_properties, Fremove_list_of_text_properties)
(copy_text_properties):
* src/tparam.c (tparam1):
* src/undo.c (record_change, record_property_change)
(syms_of_undo):
Use 'true' and 'false' for booleans.

10 years agoCall `smerge-start-session' even when dealing with a stash conflict
Dmitry Gutov [Sun, 19 Apr 2015 19:24:39 +0000 (22:24 +0300)]
Call `smerge-start-session' even when dealing with a stash conflict

* lisp/vc/vc-git.el (vc-git-find-file-hook):
Call `smerge-start-session' even when dealing with a stash
conflict (bug#20292).

10 years ago; * etc/NEWS: Add "+++" to eshell entry.
Vibhav Pant [Sun, 19 Apr 2015 18:47:31 +0000 (00:17 +0530)]
; * etc/NEWS: Add "+++" to eshell entry.

10 years agoAdd option to eshell/clear to clear scrollback.
Vibhav Pant [Sun, 19 Apr 2015 17:56:09 +0000 (23:26 +0530)]
Add option to eshell/clear to clear scrollback.

* lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
(eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
scrollback contents are cleared.

* etc/NEWS: Describe change.

* doc/misc/eshell.texi: Add entry for `clear'.