]> git.eshelyaron.com Git - emacs.git/log
emacs.git
9 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)

9 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).

9 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.

9 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.

9 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'.

9 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.

9 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.

9 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

9 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)

9 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.

9 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.

9 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.

9 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'.

9 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).

9 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.

9 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)

9 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.

9 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
9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

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

9 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
9 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.

9 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.

9 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.

9 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.

9 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.

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

9 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.

9 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.

9 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).

9 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.

9 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'.

9 years ago* src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
Paul Eggert [Sun, 19 Apr 2015 17:10:47 +0000 (10:10 -0700)]
* src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'

where either will do.

9 years agoAssume package archive-contents are UTF8-encoded
Steve Purcell [Sun, 19 Apr 2015 16:47:02 +0000 (17:47 +0100)]
Assume package archive-contents are UTF8-encoded

* lisp/emacs-lisp/package.el (package--read-archive-file):
Set `coding-system-for-read' explicitly to 'utf-8 when reading the
downloaded and cached archive-contents files, so that non-ASCII
characters in package descriptions are displayed correctly in the
`list-packages' menu. (Bug#20231)

Co-authored-by: Steve Purcell <steve@sanityinc.com>
9 years agoAbort when looking at stashed changes
Dmitry Gutov [Sun, 19 Apr 2015 16:28:17 +0000 (19:28 +0300)]
Abort when looking at stashed changes

* lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
stashed changes (bug#20292).

9 years agoRefactor low-level printing for simplicity
Paul Eggert [Sun, 19 Apr 2015 15:53:35 +0000 (08:53 -0700)]
Refactor low-level printing for simplicity

* src/print.c (PRINTDECLARE): Remove.  Move its contents into
PRINTPREPARE; doable now that we assume C99.  All callers changed.
(PRINTCHAR): Remove, as it adds more mystery than clarity.
All callers changed.
(strout): Assume that caller computes length.  All callers changed.
(print_c_string): New function.
(write_string, write_string_1): Compute length instead of asking
the caller to compute it.  All callers changed.
(write_string): Simplify by using write_string_1.
(write_string_1): Simplify by using print_c_string.
(Fterpri): Compute default val more clearly.
(Fprin1_to_string, print_object):
Assume C99 to avoid unnecessary nesting.
(print_object): Prefer print_c_string to multiple printchar, or
to calling strout with -1 length.  Coalesce into sprintf when
this is easy.

9 years ago; Fix more-recent commit messages too
Paul Eggert [Sun, 19 Apr 2015 02:54:58 +0000 (19:54 -0700)]
; Fix more-recent commit messages too

9 years ago; make change-history-commit
Paul Eggert [Sun, 19 Apr 2015 02:51:18 +0000 (19:51 -0700)]
; make change-history-commit

9 years ago; Convert ChangeLog history files to "Bug#NNNN"
Paul Eggert [Sun, 19 Apr 2015 02:45:38 +0000 (19:45 -0700)]
; Convert ChangeLog history files to "Bug#NNNN"

9 years agoPrefer "Bug#1234" in commit messages
Paul Eggert [Sun, 19 Apr 2015 02:08:53 +0000 (19:08 -0700)]
Prefer "Bug#1234" in commit messages

* .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
as this isn't useful for Git.
* CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".

9 years ago* lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
Glenn Morris [Sun, 19 Apr 2015 01:37:01 +0000 (18:37 -0700)]
* lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.

Fixes: debbugs:19506
9 years ago* lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp...
Tom Willemse [Sun, 19 Apr 2015 01:07:16 +0000 (18:07 -0700)]
* lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.

Fixes: debbugs:19505
Copyright-paperwork-exempt: yes

9 years ago* lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
Glenn Morris [Sun, 19 Apr 2015 01:00:02 +0000 (18:00 -0700)]
* lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.

9 years ago* doc/emacs/misc.texi (Sorting): Small edit.
Glenn Morris [Sun, 19 Apr 2015 00:48:04 +0000 (17:48 -0700)]
* doc/emacs/misc.texi (Sorting): Small edit.

Fixes: debbugs:19896
9 years ago* admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
Glenn Morris [Sat, 18 Apr 2015 21:30:32 +0000 (14:30 -0700)]
* admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.

9 years ago; * admin/make-tarball.txt: Misc updates.
Glenn Morris [Sat, 18 Apr 2015 21:09:12 +0000 (14:09 -0700)]
; * admin/make-tarball.txt: Misc updates.

9 years agocss-mode.el: Support multi-line comment filling
Simen Heggestøyl [Sat, 18 Apr 2015 18:25:40 +0000 (20:25 +0200)]
css-mode.el: Support multi-line comment filling

Fixes: debbugs:20256
* lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
comment filling.
(css-adaptive-fill): New function.
(css-mode): Set `adaptive-fill-function'.
(scss-mode): Set `comment-continue'.

9 years ago* lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
Nicolas Petton [Sat, 18 Apr 2015 18:10:27 +0000 (20:10 +0200)]
* lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.

9 years ago; ChangeLog fix
Simen Heggestøyl [Sat, 18 Apr 2015 18:06:48 +0000 (20:06 +0200)]
; ChangeLog fix

9 years agoMinor improvements in Bulgarian input methods
Ivan Radanov Ivanov [Sat, 18 Apr 2015 08:01:36 +0000 (11:01 +0300)]
Minor improvements in Bulgarian input methods

* lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
Replace U+042C with U+045D, as the former character is not used in
the modern Bulgarian language.

Fixes: Bug#20350
Copyright-paperwork-exempt: yes

9 years agoImprove EUDC manual
Thomas Fitzsimmons [Sat, 18 Apr 2015 02:02:03 +0000 (22:02 -0400)]
Improve EUDC manual

* eudc.texi (LDAP Configuration): Mention simple and SASL
authentication schemes.  Add index items.  Shorten example server
name.

9 years agoDon't show both feature and function with the same name
Dmitry Gutov [Fri, 17 Apr 2015 23:35:59 +0000 (02:35 +0300)]
Don't show both feature and function with the same name

* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
Don't show both feature and function with the same name.

9 years ago(elisp--xref-identifier-location): Skip variable, if it's also a functiong
Dmitry Gutov [Fri, 17 Apr 2015 22:47:31 +0000 (01:47 +0300)]
(elisp--xref-identifier-location): Skip variable, if it's also a functiong

* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
Avoid returning both the variable and the function for the same
minor mode.

9 years agoFix fontification of keywords clobbered by the prompt.
Wolfgang Jenkner [Fri, 17 Apr 2015 17:54:35 +0000 (19:54 +0200)]
Fix fontification of keywords clobbered by the prompt.

* lisp/comint.el (comint-output-filter): Remove the uses of
with-silent-modifications I introduced as part of the last change.

This fixes, e.g., erratically missing highlighting when running
./configure --help; ./configure in a shell-mode buffer with
compilation-shell-minor-mode turned on.

9 years ago; ChangeLog fixes
Glenn Morris [Fri, 17 Apr 2015 17:48:00 +0000 (13:48 -0400)]
; ChangeLog fixes

9 years ago* admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
Glenn Morris [Fri, 17 Apr 2015 17:27:44 +0000 (13:27 -0400)]
* admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.

9 years ago; ChangeLog fixes
Glenn Morris [Fri, 17 Apr 2015 17:13:04 +0000 (13:13 -0400)]
; ChangeLog fixes

9 years ago* lisp/indent.el (indent-region): Don't deactivate the mark
Stefan Monnier [Fri, 17 Apr 2015 14:30:50 +0000 (10:30 -0400)]
* lisp/indent.el (indent-region): Don't deactivate the mark

Fixes: debbugs:20357
9 years agolisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
Sam Steingold [Fri, 17 Apr 2015 12:45:58 +0000 (08:45 -0400)]
lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable

9 years ago* lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
Leo Liu [Fri, 17 Apr 2015 04:32:33 +0000 (12:32 +0800)]
* lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.

9 years ago* lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
Stefan Monnier [Fri, 17 Apr 2015 02:55:41 +0000 (22:55 -0400)]
* lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.

9 years ago; Add missing "(tiny change)"
Paul Eggert [Fri, 17 Apr 2015 00:59:11 +0000 (17:59 -0700)]
; Add missing "(tiny change)"

9 years ago; make change-history-commit
Paul Eggert [Fri, 17 Apr 2015 00:57:41 +0000 (17:57 -0700)]
; make change-history-commit

9 years ago* admin/authors.el (authors-lax-changelogs): Update for erc changes.
Glenn Morris [Fri, 17 Apr 2015 00:47:35 +0000 (20:47 -0400)]
* admin/authors.el (authors-lax-changelogs): Update for erc changes.

9 years ago; Split lisp/erc ChangeLogs, for the sake of authors.el
Glenn Morris [Fri, 17 Apr 2015 00:46:14 +0000 (20:46 -0400)]
; Split lisp/erc ChangeLogs, for the sake of authors.el

This turns the old 0.1..0.8 files into ChangeLog.1,
and the old ChangeLog file into ChangeLog.2.

9 years agoDon't link with -ljpeg on MS-Windows, to avoid dependency on DLL
Eli Zaretskii [Thu, 16 Apr 2015 16:02:41 +0000 (19:02 +0300)]
Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL

* configure.ac (LIBJPEG): Leave it empty for MinGW.

9 years ago* lisp/replace.el (query-replace-from-to-separator): Delay initialization
Glenn Morris [Thu, 16 Apr 2015 15:32:38 +0000 (08:32 -0700)]
* lisp/replace.el (query-replace-from-to-separator): Delay initialization

to avoid rogue setting after startup.

9 years ago; CONTRIBUTE: Further updates
Dmitry Gutov [Thu, 16 Apr 2015 14:48:32 +0000 (17:48 +0300)]
; CONTRIBUTE: Further updates

* Better explanation of commit message vs ChangeLog distinction.

* Fix the name of the ChangeLog make task.

* Make instructions WRT NEWS, etc, ChangeLog entries clearer.

Fixes: debbugs:20328
9 years agoPre-4.6 GCC succeeds with unknown option
Paul Eggert [Thu, 16 Apr 2015 07:14:11 +0000 (00:14 -0700)]
Pre-4.6 GCC succeeds with unknown option

* configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
Fixes: bug#20338
9 years ago'[:graph:]' now excludes whitespace, not just ' '
Paul Eggert [Thu, 16 Apr 2015 06:45:08 +0000 (23:45 -0700)]
'[:graph:]' now excludes whitespace, not just ' '

* doc/lispref/searching.texi (Char Classes):
* lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
sans whitespace (not sans space).
* src/character.c (graphicp): Exclude all Unicode whitespace chars,
not just space.
* src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).

9 years ago(looking-back): Make the second arg non-optional.
Stefan Monnier [Thu, 16 Apr 2015 02:25:16 +0000 (22:25 -0400)]
(looking-back): Make the second arg non-optional.

* lisp/subr.el (substitute-key-definition-key, special-form-p)
(macrop): Drop deprecated second arg to indirect-function.
(looking-back): Make the second arg non-optional.

9 years ago* lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
Stefan Monnier [Thu, 16 Apr 2015 02:04:40 +0000 (22:04 -0400)]
* lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which

command is actually sent to the shell.

9 years agoPort jpeg configuration to Solaris 10 with Sun C
Paul Eggert [Thu, 16 Apr 2015 01:30:01 +0000 (18:30 -0700)]
Port jpeg configuration to Solaris 10 with Sun C

* configure.ac: Check for jpeglib 6b by trying to link it, instead
of relying on cpp magic that has problems in practice.  Check for
both jpeglib.h and jerror.h features.  Remove special case for
mingw32, which should no longer be needed (and if it were needed,
should now be addressable by hotwiring emacs_cv_jpeglib).
Fixes: bug#20332
9 years agoMove some Elisp-specific code from lisp-mode.el to elisp-mode.el
Stefan Monnier [Wed, 15 Apr 2015 20:50:17 +0000 (16:50 -0400)]
Move some Elisp-specific code from lisp-mode.el to elisp-mode.el

* lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
Move to elisp-mode.el.
(lisp-mode-variables): (Re)move elisp-specific settings.

* lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
from lisp-mode-variables.
(elisp--font-lock-flush-elisp-buffers): New function, moved from
lisp-mode.el.

9 years ago* lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
Stefan Monnier [Wed, 15 Apr 2015 20:39:18 +0000 (16:39 -0400)]
* lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):

Avoid pathological slowdown at top-level in large file.

9 years ago; Auto-commit of loaddefs files.
Glenn Morris [Wed, 15 Apr 2015 19:20:20 +0000 (15:20 -0400)]
; Auto-commit of loaddefs files.

9 years agoStandardize names of ChangeLog history files
Paul Eggert [Wed, 15 Apr 2015 17:57:50 +0000 (10:57 -0700)]
Standardize names of ChangeLog history files

Suggested by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
* Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
* doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
* lisp/erc/ChangeLog.1: New file, containing the old contents of ...
* lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
* lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
* lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
Remove.

9 years agoSplit top-level entries into pre- and post-April 7
Paul Eggert [Wed, 15 Apr 2015 17:57:50 +0000 (10:57 -0700)]
Split top-level entries into pre- and post-April 7

This more clearly distingiushes pre-April-7 ChangeLog entries (which
are for top-level files only) from post-April-7 entries (which are
about files at all levels.  Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
* ChangeLog.1: Move post-April-7 entries from here ...
* ChangeLog.2: ... to this new file.
* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.

9 years agoFix recent cus-start changes that added customize-rogues
Stefan Monnier [Wed, 15 Apr 2015 17:02:15 +0000 (13:02 -0400)]
Fix recent cus-start changes that added customize-rogues

* lisp/cus-start.el (custom-delayed-init-variables): Initialize the
vars early.
* lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.

9 years ago; * etc/NEWS: Add missing system-type entry.
Glenn Morris [Wed, 15 Apr 2015 16:43:37 +0000 (12:43 -0400)]
; * etc/NEWS: Add missing system-type entry.

9 years agoDefine cl-concatenate as an alias to seq-concatenate
Nicolas Petton [Wed, 15 Apr 2015 16:26:52 +0000 (18:26 +0200)]
Define cl-concatenate as an alias to seq-concatenate

* lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
  code by making cl-concatenate an alias to seq-concatenate.

9 years ago* src/lread.c (intern_1): Make sure we'd find the symbol we add
Stefan Monnier [Wed, 15 Apr 2015 16:15:14 +0000 (12:15 -0400)]
* src/lread.c (intern_1): Make sure we'd find the symbol we add

Fixes: debbugs:20334
* src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.

9 years ago* doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
Glenn Morris [Wed, 15 Apr 2015 16:11:15 +0000 (09:11 -0700)]
* doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.

9 years agoClean up gnus-uu saving code slightly
Lars Magne Ingebrigtsen [Wed, 15 Apr 2015 13:28:20 +0000 (15:28 +0200)]
Clean up gnus-uu saving code slightly

* gnus-uu.el (gnus-uu-save-article): Make the
save-restriction/widen calls make more sense.

9 years agoMake [:graph:] act like [:print:] sans space
Paul Eggert [Wed, 15 Apr 2015 07:26:32 +0000 (00:26 -0700)]
Make [:graph:] act like [:print:] sans space

In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
[:graph:] so that it matches everything that [:print:] does,
except for space.
* doc/lispref/searching.texi (Char Classes):
* etc/NEWS:
* lisp/emacs-lisp/rx.el (rx):
Document [:graph:] to be [:print:] sans ' '.
* src/character.c, src/character.h (graphicp): New function.
* src/regex.c (ISGRAPH) [emacs]: Use it.
(BIT_GRAPH): New macro.
(BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
(re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
Return BIT_GRAPH for RECC_GRAPH.
(re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
and ISPRINT if BIT_PRINT.

9 years agoautomated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
Stefan Monnier [Wed, 15 Apr 2015 03:06:44 +0000 (23:06 -0400)]
automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:

Don't use call-next-method in a cl-defmethod.

9 years ago* lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
Stefan Monnier [Wed, 15 Apr 2015 03:04:45 +0000 (23:04 -0400)]
* lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class

(eieio--class-p): Remove, provided by cl-defstruct.

9 years agoAdd seq-intersection and seq-difference to the seq library
Nicolas Petton [Tue, 14 Apr 2015 22:33:27 +0000 (00:33 +0200)]
Add seq-intersection and seq-difference to the seq library

* lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
functions.

* test/automated/seq-tests.el: Add tests for seq-intersection and
seq-difference.

* doc/lispref/sequences.texi: Add documentation for seq-intersection
and seq-difference.

9 years ago; CONTRIBUTE: Update the "make the ChangeLog entry in their name" bit
Dmitry Gutov [Tue, 14 Apr 2015 23:21:55 +0000 (02:21 +0300)]
; CONTRIBUTE: Update the "make the ChangeLog entry in their name" bit

Fixes: debbugs:20328
9 years ago; CONTRIBUTE: Remove the "relax this rule for commit messages" bit
Dmitry Gutov [Tue, 14 Apr 2015 23:15:07 +0000 (02:15 +0300)]
; CONTRIBUTE: Remove the "relax this rule for commit messages" bit

Fixes: debbugs:20328
9 years ago; Set indent-tabs-mode to nil in (most) Elisp sources
Dmitry Gutov [Tue, 14 Apr 2015 22:40:52 +0000 (01:40 +0300)]
; Set indent-tabs-mode to nil in (most) Elisp sources

Fixes: bug#20323
9 years ago* eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
Stefan Monnier [Tue, 14 Apr 2015 21:26:12 +0000 (17:26 -0400)]
* eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals