]> code.delx.au - gnu-emacs/log
gnu-emacs
8 years ago-
Paul Eggert [Sat, 30 Jan 2016 21:56:23 +0000 (13:56 -0800)]
-

8 years ago; Merge from origin/emacs-25
Paul Eggert [Sat, 30 Jan 2016 19:43:27 +0000 (11:43 -0800)]
; Merge from origin/emacs-25

The following commits were skipped:

ad879b7 Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
4a3db0f support rendering of wider range of combinging characters by ftfont backend

8 years ago-
Paul Eggert [Sat, 30 Jan 2016 19:43:26 +0000 (11:43 -0800)]
-

8 years ago; Merge from origin/emacs-25
Paul Eggert [Sat, 30 Jan 2016 19:41:07 +0000 (11:41 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

fef1b30 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25

8 years ago-
Paul Eggert [Sat, 30 Jan 2016 19:41:07 +0000 (11:41 -0800)]
-

8 years ago; Merge from origin/emacs-25
Paul Eggert [Sat, 30 Jan 2016 19:28:37 +0000 (11:28 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

2aae081 ; Auto-commit of loaddefs files.

8 years agoMerge from origin/emacs-25
Paul Eggert [Sat, 30 Jan 2016 19:28:37 +0000 (11:28 -0800)]
Merge from origin/emacs-25

3f481ad Rename xref-query-replace to xref-query-replace-in-results
62f4ed4 Update cl-defgeneric and cl-defmethod docstrings
2111e0e Comment out next-error-function integration in xref
4e11ad3 Correct a use of "which" in intro.texi
a1865bc Distinguish the two meanings of Java's keyword "default".  Fixes bug #22358.
76045f7 Don't operate on menu bar of nonexistent frame
c32f3bc Unbreak the GNUstep build.

8 years ago; Merge from origin/emacs-25
Paul Eggert [Sat, 30 Jan 2016 19:28:37 +0000 (11:28 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

371154b ; Auto-commit of loaddefs files.

8 years ago-
Paul Eggert [Sat, 30 Jan 2016 19:28:37 +0000 (11:28 -0800)]
-

8 years ago; Merge from origin/emacs-25
Paul Eggert [Sat, 30 Jan 2016 19:27:35 +0000 (11:27 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

7bf54d0 Backport kqueue integration from master

8 years ago-
Paul Eggert [Sat, 30 Jan 2016 19:27:34 +0000 (11:27 -0800)]
-

8 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sat, 30 Jan 2016 13:40:17 +0000 (14:40 +0100)]
* etc/AUTHORS: Update the AUTHORS file

8 years ago; ChangeLog fixes
Nicolas Petton [Sat, 30 Jan 2016 13:39:23 +0000 (14:39 +0100)]
; ChangeLog fixes

* ChangeLog.2: Auto-update of the ChangeLog file, as well as entry
  fixes.

8 years agoauthors.el updates
Nicolas Petton [Sat, 30 Jan 2016 13:38:46 +0000 (14:38 +0100)]
authors.el updates

* admin/authors.el (authors-renamed-files-alist): Additions.

8 years agoMake it possible to run make change-history on emacs-25
Nicolas Petton [Sat, 30 Jan 2016 09:35:55 +0000 (10:35 +0100)]
Make it possible to run make change-history on emacs-25

* Makefile.in: Check if the current branch is emacs-25 instead of
  master.

8 years agoSupport Go language in 'etags'
lu4nx [Sat, 30 Jan 2016 12:56:43 +0000 (14:56 +0200)]
Support Go language in 'etags'

* lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
<Go_help>: New help.
<Go_suffixes>: New variable.
(Go_functions): New function.
<lang_names>: Add entry for Go.  (Bug#22370)

* doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
* doc/man/etags.1: Mention Go support.

* etc/NEWS: Mention Go support.

* test/etags/go-src/test.go:
* test/etags/go-src/test1.go: New test files.
* test/etags/Makefile (GOSRC): New variable.
(SRCS): Add $(GOSRC).
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6:
* test/etags/CTAGS.good: Adapt to addition of Go tests.

8 years agoImprove Ruby support in 'etags'
Eli Zaretskii [Sat, 30 Jan 2016 12:16:36 +0000 (14:16 +0200)]
Improve Ruby support in 'etags'

* lib-src/etags.c (Ruby_functions): Tag constants.  Don't tag
singleton classes.  Remove class qualifiers from tags generated
for method and constant names.  (Bug#22241)

* doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
are tagged by etags in Ruby.

* etc/NEWS: Mention that constants are tagged by etags in Ruby.

* test/etags/ruby-src/test1.ruby: Add more tests.
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6:
* test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
tests.

8 years agoAdjust etags test results to changes in copyright years
Eli Zaretskii [Sat, 30 Jan 2016 10:18:43 +0000 (12:18 +0200)]
Adjust etags test results to changes in copyright years

* test/etags/CTAGS.good:
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6: Adjust to shift in characters and
in line numbers.

8 years agoRe-enable checks in member, memql, delete to complain about non-lists
Andreas Schwab [Fri, 29 Jan 2016 10:18:42 +0000 (11:18 +0100)]
Re-enable checks in member, memql, delete to complain about non-lists

* fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.

8 years agoRevert "Re-enable checks in member, memql, delete to complain about non-lists"
Andreas Schwab [Sat, 30 Jan 2016 09:39:20 +0000 (10:39 +0100)]
Revert "Re-enable checks in member, memql, delete to complain about non-lists"

This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.

8 years agoDon't fiddle with DEFAULT
Dmitry Gutov [Sat, 30 Jan 2016 08:55:19 +0000 (11:55 +0300)]
Don't fiddle with DEFAULT

* lisp/progmodes/project.el (project--completing-read-strict):
Don't change DEFAULT, whether is has any matches in
COLLECTION, or not.

8 years agoDocument xwidget commands and functions
Eli Zaretskii [Sat, 30 Jan 2016 08:04:13 +0000 (10:04 +0200)]
Document xwidget commands and functions

* doc/lispref/display.texi (Xwidgets): New section, describes some
of the xwidget primitives.
* doc/lispref/display.texi (Display): Update the chapter menu.
* doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
* doc/emacs/emacs.texi (Top): Update the master menu to include
the xwidget node.

8 years agoBuild fix for shr.el
Lars Ingebrigtsen [Sat, 30 Jan 2016 07:54:17 +0000 (08:54 +0100)]
Build fix for shr.el

* shr.el (seq): Require.

8 years agoImprove project-find-file yet again!
Dmitry Gutov [Sat, 30 Jan 2016 04:21:31 +0000 (07:21 +0300)]
Improve project-find-file yet again!

* lisp/progmodes/project.el (project--completing-read-strict):
New function.
(project-find-file-in): Use it.
(project-file-completion-table): Move the default
implementation inside the cl-defgeneric form.
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)

8 years agoDon't pass DIR to 'hg status'
Dmitry Gutov [Sat, 30 Jan 2016 03:55:32 +0000 (06:55 +0300)]
Don't pass DIR to 'hg status'

* lisp/vc/vc-hg.el (vc-hg-dir-status-files):
Don't pass DIR to 'hg status' (bug#22481).

8 years agoFix typo in previous commits
Stephen Leake [Fri, 29 Jan 2016 23:53:35 +0000 (17:53 -0600)]
Fix typo in previous commits

* lisp/progmodes/project.el (project-find-file-in):
* lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
commit.

8 years agoImprove project-find-file
Stephen Leake [Fri, 29 Jan 2016 23:43:26 +0000 (17:43 -0600)]
Improve project-find-file

* lisp/progmodes/project.el (project-file-completion-table): New.
(project-find-file, project-or-external-find-file): Default to filename
at point.
(project-file-completion-table): New, split out from
project--find-file-in.
(project-find-file-in): Renamed from project--find-file-in, use
project-file-completion-table.

* lisp/progmodes/xref.el (ede-minor-mode): New declaration.
(xref--find-ignores-arguments): Add doc string.

8 years agoImplement vc-mtn-find-ignore-file, fix some doc strings
Stephen Leake [Wed, 27 Jan 2016 21:04:33 +0000 (15:04 -0600)]
Implement vc-mtn-find-ignore-file, fix some doc strings

* lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.

* lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.

* lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.

* lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.

8 years agoCorrect a whole bunch of bugs coming with renamed cell relocation.
Vincent Belaïche [Fri, 29 Jan 2016 11:22:30 +0000 (12:22 +0100)]
Correct a whole bunch of bugs coming with renamed cell relocation.

This is the same change as commit on master branch. See
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd

* lisp/ses.el (ses-localvars): rename variable
`ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
and adjust the comment about it.
(ses-plist-delq): new defun.
(ses--ses-buffer-list): new defvar.
(ses--unbind-cell-name): new defun.
(ses-relocate-symbol): Do not relocate symbol when it is a named cell.
(ses-relocate-formula): Undo change of
2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
preventing relocation for named cell --- now doing this is delegated
to function `ses-relocate-symbol'.
(ses-relocate-range): In docstring, undo change of
2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
lower case as it is not a variable.
(ses-relocate-all): Cell name relocation : 1) check that cell is a
renamed cell by testing `ses-cell' property to :ses-named, rather than
comparing name to corresponding standard name. Set rowcol of renamed
cell into the hashmap --- `ses-cell' property must not be used for
that as the same name can be used for different locations in different
SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
`local-variable-p' to check if cell name is already in use in this
sheet or needs initialisation.
(ses-relocate-all): Cell value relocation : 1) like for name
relocation use the `ses-cell' property rather than comparing actual
name to corresponding standard name. 2) Correct bug introduced in
2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
made the other way round than the intention --- ie value relocation
was disabled for standard cell, not for renamed cell as was the
intention.
(ses-relocate-all): Add loop for unbinding deleted renamed cells
names.
(ses-killbuffer-hook): new defun.
(ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
kill buffer hook, plus pushing current buffer if new in list.
(ses-delete-row, ses-delete-column): Collect deleted renamed cells
into `ses--in-killing-named-cell-list'.
(ses-rename-cell): Remove update of variable
`ses--renamed-cell-symb-list', this variable is renamed to
`ses--in-killing-named-cell-list', and its setting is done in
functions `ses-delete-row' and , `ses-delete-column' now.
(ses-rename-cell): Make cell new name a buffer local variable.
(ses-rename-cell): Change correction of
2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
computation of the range over which `cursor-intangible' property was
to be updated. This correction was ok for non spilling cells, but not
for cells spilling over following blank cells. Simply use
`next-single-property-change' rather than computing the end column
from column widths.

8 years agoRe-enable checks in member, memql, delete to complain about non-lists
Andreas Schwab [Fri, 29 Jan 2016 10:18:42 +0000 (11:18 +0100)]
Re-enable checks in member, memql, delete to complain about non-lists

* fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.

8 years agoc:/emacs-git/next/ChangeLog
Martin Rudalics [Fri, 29 Jan 2016 10:14:13 +0000 (11:14 +0100)]
c:/emacs-git/next/ChangeLog

8 years agoMinor improvements to 'pcase' documentation
Eli Zaretskii [Fri, 29 Jan 2016 09:40:31 +0000 (11:40 +0200)]
Minor improvements to 'pcase' documentation

* doc/lispref/control.texi (Pattern matching case statement):
Improve the documentation of 'pcase' per comments.  See two
discussion threads on emacs-devel@gnu.org for the details:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.

8 years agoRemove some useless-use-of eval.
Glenn Morris [Fri, 29 Jan 2016 02:16:12 +0000 (21:16 -0500)]
Remove some useless-use-of eval.

* lisp/gnus/gnus.el (gnus-load-hook): Don't use eval.
* lisp/gnus/nnrss.el (xml): Simply require it.
(xml-rpc-method-call): Use declare-function.

8 years ago; * lisp/textmodes/table.el: Comment tweak.
Glenn Morris [Fri, 29 Jan 2016 02:11:55 +0000 (21:11 -0500)]
; * lisp/textmodes/table.el: Comment tweak.

8 years agoDon't use eval to quieten prolog.el compilation.
Glenn Morris [Fri, 29 Jan 2016 02:04:20 +0000 (21:04 -0500)]
Don't use eval to quieten prolog.el compilation.

* lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
(prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.

8 years agoMark some risky prolog variables.
Glenn Morris [Fri, 29 Jan 2016 02:01:17 +0000 (21:01 -0500)]
Mark some risky prolog variables.

* lisp/progmodes/prolog.el (prolog-system-version)
(prolog-keywords, prolog-types, prolog-mode-specificators)
(prolog-determinism-specificators, prolog-directives)
(prolog-program-name, prolog-program-switches)
(prolog-consult-string, prolog-compile-string)
(prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
Mark anything processed by prolog-find-value-by-system as risky.

8 years ago* lisp/custom.el (defcustom): Doc fix.
Glenn Morris [Thu, 28 Jan 2016 22:45:50 +0000 (17:45 -0500)]
* lisp/custom.el (defcustom): Doc fix.

* doc/lispref/customize.texi (Variable Definitions):
Defcustom should always have a type.

8 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-nogroup-warn):
Glenn Morris [Thu, 28 Jan 2016 22:16:51 +0000 (17:16 -0500)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-nogroup-warn):
Warn if defcustom has no type.  (Bug#16276)

8 years ago* lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
Glenn Morris [Thu, 28 Jan 2016 22:13:38 +0000 (17:13 -0500)]
* lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
Fix :type.

8 years ago* lisp/emacs-lisp/package.el (package-load-list): Improve :type.
Glenn Morris [Thu, 28 Jan 2016 16:58:43 +0000 (08:58 -0800)]
* lisp/emacs-lisp/package.el (package-load-list): Improve :type.

8 years agoFix Bug#22452
Michael Albinus [Thu, 28 Jan 2016 12:37:58 +0000 (13:37 +0100)]
Fix Bug#22452

* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
Mark it as connected.

* lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
connection property "connected" is set.  (Bug#22452)

8 years ago* test/lisp/vc/vc-hg.el: Move from test/automated/.
Glenn Morris [Thu, 28 Jan 2016 01:32:45 +0000 (20:32 -0500)]
* test/lisp/vc/vc-hg.el: Move from test/automated/.

; Changed directory structures across branches - the gift that keeps on giving.

8 years ago* lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
Glenn Morris [Wed, 27 Jan 2016 22:06:08 +0000 (17:06 -0500)]
* lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.

8 years ago* lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
Glenn Morris [Wed, 27 Jan 2016 22:01:30 +0000 (17:01 -0500)]
* lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
if not compiled with xwidgets.

8 years agoC-u C-x = example doc fix
Paul Eggert [Wed, 27 Jan 2016 07:24:27 +0000 (23:24 -0800)]
C-u C-x = example doc fix

* doc/emacs/mule.texi (International Chars):
Adjust example to match current behavior of C-u C-x =.

8 years agomalloc.h hygiene
Paul Eggert [Wed, 27 Jan 2016 07:00:10 +0000 (23:00 -0800)]
malloc.h hygiene

This attempts to future-proof Emacs a bit against possible glibc
changes, by having Emacs use <malloc.h> declarations rather than
coding them up by hand.  Problem noted by Florian Weimer in:
https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
Implement this mainly by moving malloc.h-related functions from
emacs.c (which does not include <malloc.h>) to alloc.c (which does).
* src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
New function.
The remaining changes to this file apply only if DOUG_LEA_MALLOC.
(alloc_unexec_pre, alloc_unexec_post): New functions.
(malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
(__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
(__malloc_initialize_hook): Use it.
(malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
Move here from ...
* src/emacs.c: ... here.
(malloc_get_state, malloc_set_state): Remove extern decls.
(my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
All uses changed to similarly-named new function.
(Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
* src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
New decls.

8 years ago; Fix a typo in the user manual
Eli Zaretskii [Tue, 26 Jan 2016 18:31:10 +0000 (20:31 +0200)]
; Fix a typo in the user manual

* doc/emacs/anti.texi (Antinews): Fix typo.  Reported by Lele
Gaifax <lele@metapensiero.it>.

8 years ago* doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
Eli Zaretskii [Tue, 26 Jan 2016 18:26:54 +0000 (20:26 +0200)]
* doc/emacs/mark.texi (Using Region): Clarify wording.  (Bug#22467)

8 years agoRemove never-set var handle_user_signal_hook
Paul Eggert [Tue, 26 Jan 2016 15:41:41 +0000 (07:41 -0800)]
Remove never-set var handle_user_signal_hook

* src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
Remove never-set var.  All uses removed.

8 years agoBackport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
K. Handa [Thu, 14 Jan 2016 12:48:44 +0000 (21:48 +0900)]
Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)

* src/ftfont.c (ftfont_shape_by_flt): Fix previous change.  Access the
second glyph only when there are enough glyphs.

(cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)

8 years agosupport rendering of wider range of combinging characters by ftfont backend
K. Handa [Sat, 2 Jan 2016 07:36:21 +0000 (16:36 +0900)]
support rendering of wider range of combinging characters by ftfont backend

* lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
supports rendering of combining characters, call
font-shape-gstring.

* src/font.c (Ffont_get): Handle `combining-capability' property.
(syms_of_font): New symbol ":combining-capability'.

* src/font.h (struct font_driver): New member combining_capability.

* src/ftfont.c: Include "category.h".
(ftfont_driver): Initialize combining_capability to
ftfont_combining_capability.
(ftfont_shape_by_flt): If OTF is null, try to find a suitable
FLT in advance.
(ftfont_combining_capability): New function.

(cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)

8 years agoFixed NextStep fullscreen issue (bug#22468)
Anders Lindgren [Tue, 26 Jan 2016 12:51:59 +0000 (13:51 +0100)]
Fixed NextStep fullscreen issue (bug#22468)

When in fullscreen mode, `[screen visibleFrame]' sometimes
includes, sometimes excludes the menu bar. This could cause
a frame to be placed too low when in fullscreen mode.

* src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
(constrain_frame_rect): New parameter, isFullscreen, when true don't
query the height of the menu bar.
(ns_constrain_all_frames): Pass `false' (isFullscreen) to
`constrain_frame_rect'.
([EmacsView initFrameFromEmacs:]): Trace.
([EmacsView isFullscreen]): Trace.
([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
state to `constrain_frame_rect'.

8 years ago* lisp/files.el: Use a fixed file name for the second dir-locals file
Artur Malabarba [Mon, 25 Jan 2016 22:42:50 +0000 (22:42 +0000)]
* lisp/files.el: Use a fixed file name for the second dir-locals file

(dir-locals-file): Revert to its original fixed value.
(dir-locals-file-2): New const.
(dir-locals--all-files): Don't use `file-name-all-completions'.
Instead, just check for the 2 dir-locals files and return a list
of the ones that exit (if any).

* etc/NEWS: Document the change.

* doc/emacs/custom.texi (Directory Variables): Document the change.

* doc/lispref/variables.texi (Directory Local Variables): Update
accordingly.

8 years ago* lisp/files-x.el (modify-dir-local-variable): Small rewrite
Artur Malabarba [Mon, 25 Jan 2016 16:56:08 +0000 (16:56 +0000)]
* lisp/files-x.el (modify-dir-local-variable): Small rewrite

Change a variable name to be more meaningful, and reorder some of
the code with no change in behaviour.

8 years ago* lisp/files.el (dir-locals-find-file): Refactor return values
Artur Malabarba [Mon, 25 Jan 2016 16:54:08 +0000 (16:54 +0000)]
* lisp/files.el (dir-locals-find-file): Refactor return values

Returning a cache remains unchanged, but the case of returning a
file (or pattern) is now changed to return the contaning
directory.

(dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
and make obsolete.
(dir-locals-read-from-dir): Simplify accordingly.
(hack-dir-local-variables): Simplify accordingly and rename a
variable.

8 years ago* lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
Glenn Morris [Mon, 25 Jan 2016 23:31:04 +0000 (18:31 -0500)]
* lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
Declare.

8 years ago* configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
Glenn Morris [Mon, 25 Jan 2016 23:29:53 +0000 (18:29 -0500)]
* configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.

8 years ago* configure.ac (--with-cairo): Say it's experimental.
Glenn Morris [Mon, 25 Jan 2016 23:28:30 +0000 (18:28 -0500)]
* configure.ac (--with-cairo): Say it's experimental.

8 years ago; Spelling fix (American spelling)
Glenn Morris [Mon, 25 Jan 2016 23:26:42 +0000 (18:26 -0500)]
; Spelling fix (American spelling)

8 years ago; Spelling fixes (American spelling)
Glenn Morris [Mon, 25 Jan 2016 23:24:09 +0000 (18:24 -0500)]
; Spelling fixes (American spelling)

8 years ago* lisp/xwidget.el (xwidget-webkit-scroll-behavior):
Glenn Morris [Mon, 25 Jan 2016 23:19:34 +0000 (18:19 -0500)]
* lisp/xwidget.el (xwidget-webkit-scroll-behavior):
Rename using American spelling.  Update all uses.

8 years agoYet more xwidget doc fixes.
Glenn Morris [Mon, 25 Jan 2016 23:17:33 +0000 (18:17 -0500)]
Yet more xwidget doc fixes.

* lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
(xwidget-insert, xwidget-webkit-browse-url)
(xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
(xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
(xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
(xwidget-webkit-show-id-element)
(xwidget-webkit-show-id-or-named-element)
(xwidget-webkit-adjust-size, xwidget-webkit-current-url)
(xwidget-webkit-execute-script-rv)
(xwidget-webkit-copy-selection-as-kill, xwidget-get)
(xwidget-put):  Doc fixes.
(xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
(xwidget-webkit-show-id-element)
(xwidget-webkit-show-id-or-named-element): Prompt fixes.

8 years ago; * lisp/net/nsm.el: Fix typo.
Mark Oteiza [Mon, 25 Jan 2016 22:45:27 +0000 (17:45 -0500)]
; * lisp/net/nsm.el: Fix typo.

8 years ago* lisp/gnus/gnus-art.el (gnus-blocked-images):
Ted Zlatanov [Mon, 25 Jan 2016 22:07:40 +0000 (22:07 +0000)]
* lisp/gnus/gnus-art.el (gnus-blocked-images):
Add explicit nil choice and tags.

8 years ago; * lisp/net/browse-url.el: Fix obvious typos in recent.
Glenn Morris [Mon, 25 Jan 2016 16:49:09 +0000 (08:49 -0800)]
; * lisp/net/browse-url.el: Fix obvious typos in recent.

8 years agoSpelling fixes
Paul Eggert [Mon, 25 Jan 2016 16:08:24 +0000 (08:08 -0800)]
Spelling fixes

8 years ago(rng-c-fix-escaped-newlines): Use subst-char-in-string
Stefan Monnier [Mon, 25 Jan 2016 15:56:04 +0000 (10:56 -0500)]
(rng-c-fix-escaped-newlines): Use subst-char-in-string

* lisp/nxml/rng-cmpct.el (rng-c-fix-escaped-newlines):
Use subst-char-in-string.

8 years ago* lisp/textmodes/sgml-mode.el (sgml-forward-sexp): New function
Stefan Monnier [Mon, 25 Jan 2016 15:54:02 +0000 (10:54 -0500)]
* lisp/textmodes/sgml-mode.el (sgml-forward-sexp): New function

(sgml-cursor-sensor, sgml-pretty-print, sgml-parse-tag-backward)
(sgml-calculate-indent): Use it.

8 years ago* lisp/org: Fix some compiler warnings
Stefan Monnier [Mon, 25 Jan 2016 15:11:31 +0000 (10:11 -0500)]
* lisp/org: Fix some compiler warnings

* lisp/org/ob-core.el (org-babel-check-confirm-evaluate)
(org-babel-map-src-blocks): Don't emit warnings if added vars are not used.
(*this*): Declare as dyn-bound.
(org-babel-expand-src-block, org-babel-load-in-session)
(org-babel-switch-to-session-with-code, org-babel-get-rownames):
Mark unused args.
(org-babel-combine-header-arg-lists): Remove unused var `args'.
(org-babel-find-named-block): Remove unused var `msg'.

* lisp/org/org-src.el (org-inhibit-startup, org-src-fontify-natively):
Declare as dyn-bound.
(org-edit-src-code): Remove unused var `lfmt'.
(org-edit-fixed-width-region): Remove unused var `preserve-indentation'.

8 years ago* lisp/font-lock.el: Use #' to quote function symbols
Stefan Monnier [Mon, 25 Jan 2016 14:42:06 +0000 (09:42 -0500)]
* lisp/font-lock.el: Use #' to quote function symbols

8 years ago(font-lock-ensure-function): Fix bug#22399
Stefan Monnier [Mon, 25 Jan 2016 14:28:37 +0000 (09:28 -0500)]
(font-lock-ensure-function): Fix bug#22399

* lisp/font-lock.el (font-lock-ensure-function): Fix handling when
font-lock-mode is not enabled (bug#22399).

8 years agoExpunge "allow" + infinitive from source and doc, part 2.
Alan Mackenzie [Mon, 25 Jan 2016 12:35:15 +0000 (12:35 +0000)]
Expunge "allow" + infinitive from source and doc, part 2.

Do the same for "permit", "enable", "prevent", and (where appropriate)
"require".

doc/misc/reftex.texi:
doc/misc/url.texi:
lib/get-permissions.c:
lib/strftime.c:
lisp/org/org-element.el:
lisp/org/org-mobile.el:
lisp/textmodes/reftex-vars.el:
src/bidi.c:
src/emacs.c:
src/xdisp.c:
test/etags/c-src/emacs/src/lisp.h:

Expunge the likes of "This allows to do something" from the above files.

8 years ago* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
Artur Malabarba [Mon, 25 Jan 2016 09:48:22 +0000 (09:48 +0000)]
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line

`special-mode' is already read-only.

8 years ago* lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
Artur Malabarba [Mon, 25 Jan 2016 08:54:34 +0000 (08:54 +0000)]
* lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error

8 years agoPort "$@" to OpenIndiana ksh93
Paul Eggert [Mon, 25 Jan 2016 01:27:52 +0000 (17:27 -0800)]
Port "$@" to OpenIndiana ksh93

In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
(derived from ksh 93t+ 2010-03-05).  ${1+"$@"} works around an ancient
bug in long-dead shells, so remove the workaround.
* admin/check-doc-strings, configure.ac, lib-src/rcs2log:
Use plain "$@" rather than ${1+"$@"}.

8 years ago* src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
Paul Eggert [Mon, 25 Jan 2016 01:24:51 +0000 (17:24 -0800)]
* src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.

8 years agoImprove wording for SMB support
Paul Eggert [Mon, 25 Jan 2016 00:09:15 +0000 (16:09 -0800)]
Improve wording for SMB support

* doc/misc/tramp.texi (External methods): Improve and modernize
wording for discussion of smbclient.  There is no longer any
need to mention the laundry list of old MS Windows implementations
of SMB and CIFS, nor to mention CIFS.  Also, give a URL for Samba.

8 years agoMerge from gnulib
Paul Eggert [Sun, 24 Jan 2016 22:50:47 +0000 (14:50 -0800)]
Merge from gnulib

This incorporates:
2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
2016-01-15 detect utimes() correctly on OS/2 kLIBC
2016-01-15 openat_proc_name: port to OS/2 kLIBC
2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
2016-01-14 sig2str: list all signals on FreeBSD >= 7
2016-01-13 acl-permissions: port to USE_ACL==0 platforms
2016-01-12 mktime: rename macro to avoid glibc clash
2016-01-12 Port "$@" to OpenIndiana ksh93
2016-01-12 Port Universal Time settings to strict POSIX
* build-aux/gitlog-to-changelog, build-aux/update-copyright:
* doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
* lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
* lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
* lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
* m4/fcntl.m4, m4/utimes.m4:
Copy from gnulib.
* m4/gnulib-comp.m4: Regenerate.

8 years agoExpunge "allow" + infinitive without direct object from source and doc.
Alan Mackenzie [Sun, 24 Jan 2016 20:30:39 +0000 (20:30 +0000)]
Expunge "allow" + infinitive without direct object from source and doc.

Do the same for "permit", "enable", and "prevent".

* doc/emacs/mule.texi:
* doc/lispref/control.texi:
* doc/lispref/display.texi:
* doc/lispref/frames.texi:
* doc/lispref/functions.texi:
* doc/lispref/nonascii.texi:
* doc/lispref/streams.texi:
* doc/lispref/windows.texi:
* doc/misc/dbus.texi:
* doc/misc/eww.texi:
* doc/misc/flymake.texi:
* doc/misc/octave-mode.texi:
* doc/misc/org.texi:
* doc/misc/reftex.texi:
* doc/misc/tramp.texi:
* doc/misc/wisent.texi:
* etc/NEWS:
* lisp/autorevert.el:
* lisp/cedet/mode-local.el:
* lisp/cedet/semantic/senator.el:
* lisp/cedet/semantic/wisent.el:
* lisp/dos-fns.el:
* lisp/frameset.el:
* lisp/gnus/gnus-agent.el:
* lisp/gnus/mm-util.el:
* lisp/international/characters.el:
* lisp/ldefs-boot.el:
* lisp/mail/mailclient.el:
* lisp/man.el:
* lisp/mh-e/mh-search.el:
* lisp/net/tramp-cmds.el:
* lisp/net/tramp-gvfs.el:
* lisp/org/org-crypt.el:
* lisp/org/org-element.el:
* lisp/org/org-feed.el:
* lisp/org/org.el:
* lisp/org/ox-ascii.el:
* lisp/org/ox-icalendar.el:
* lisp/org/ox-publish.el:
* lisp/org/ox.el:
* lisp/play/gamegrid.el:
* lisp/play/gomoku.el:
* lisp/progmodes/antlr-mode.el:
* lisp/progmodes/python.el:
* lisp/progmodes/vhdl-mode.el:
* lisp/strokes.el:
* lisp/textmodes/ispell.el:
* lisp/tree-widget.el:
* lisp/vc/pcvs.el:
* lisp/window.el:
* src/lisp.h:
* src/w32.c:
* src/w32heap.c:
* src/w32term.c:
* src/window.c:
* src/xfaces.c:

Replace solecisms like "This allow to do something" with a correct
alternative, such as "This allow you to do something", "This allows
something to be done" or "This allows the doing of something".

8 years agoMerge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
l3thal [Sun, 24 Jan 2016 20:20:31 +0000 (15:20 -0500)]
Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25

8 years agoAdd NEWS entry for asynchronous reconnect in ERC
Kelvin White [Sun, 24 Jan 2016 20:19:08 +0000 (15:19 -0500)]
Add NEWS entry for asynchronous reconnect in ERC

8 years agoAdd NEWS entry for asynchronous reconnect in ERC
l3thal [Sun, 24 Jan 2016 20:19:08 +0000 (15:19 -0500)]
Add NEWS entry for asynchronous reconnect in ERC

8 years agobrowse-url.el: Add 'google-chrome' to supported browsers.
Kelvin White [Sun, 24 Jan 2016 19:37:38 +0000 (14:37 -0500)]
browse-url.el: Add 'google-chrome' to supported browsers.

8 years agoPort Tramp manual to latest Texinfo
Paul Eggert [Sun, 24 Jan 2016 19:40:26 +0000 (11:40 -0800)]
Port Tramp manual to latest Texinfo

Otherwise, 'make pdf' did not work (Bug#22416).
* doc/misc/tramp.texi (xxx, yyy): Remove macros.
(trampfn): Specialize to the case where METHOD is nonempty.
The 2nd argument is now user@host, not 2nd user and 3rd host args.
All uses changed.
(trampf): New macro.

8 years ago* eww.el (eww-render): Protect against empty content-types.
Lars Ingebrigtsen [Sun, 24 Jan 2016 16:50:27 +0000 (17:50 +0100)]
* eww.el (eww-render): Protect against empty content-types.

8 years agoauthors.el updates
Nicolas Petton [Sun, 24 Jan 2016 12:30:08 +0000 (13:30 +0100)]
authors.el updates

* admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
  Additions.

8 years ago; ChangeLog fixes
Nicolas Petton [Sun, 24 Jan 2016 11:45:29 +0000 (12:45 +0100)]
; ChangeLog fixes

* ChangeLog.2:
* doc/emacs/ChangeLog.1:
* lisp/ChangeLog.17: Fix ChangeLog entries

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sun, 24 Jan 2016 12:23:33 +0000 (07:23 -0500)]
; Auto-commit of loaddefs files.

8 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 24 Jan 2016 11:23:36 +0000 (06:23 -0500)]
; Auto-commit of ChangeLog files.

8 years agoRename xref-query-replace to xref-query-replace-in-results
Dmitry Gutov [Sun, 24 Jan 2016 02:17:52 +0000 (05:17 +0300)]
Rename xref-query-replace to xref-query-replace-in-results

* lisp/progmodes/xref.el(xref-query-replace):
Rename to xref-query-replace-in-results.
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)

* lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
* lisp/dired-aux.el (dired-do-find-regexp-and-replace):
* doc/emacs/dired.texi (Operating on Files):
* doc/emacs/maintaining.texi (Xref Commands)
(Identifier Search, Identifier Search): Update accordingly.

8 years agoUpdate cl-defgeneric and cl-defmethod docstrings
Dmitry Gutov [Sun, 24 Jan 2016 00:35:39 +0000 (03:35 +0300)]
Update cl-defgeneric and cl-defmethod docstrings

* lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
(cl-defgeneric): Rename BODY to DEFAULT-BODY.
(cl-defmethod): Mention that multiple dispatch arguments are
allowed.  Document supported types.  (Bug#22336)

8 years agoComment out next-error-function integration in xref
Dmitry Gutov [Sat, 23 Jan 2016 09:09:55 +0000 (12:09 +0300)]
Comment out next-error-function integration in xref

* lisp/progmodes/xref.el (xref--xref-buffer-mode):
Comment out next-error-function integration
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).

8 years agoCorrect a use of "which" in intro.texi
John Wiegley [Sat, 23 Jan 2016 19:55:31 +0000 (11:55 -0800)]
Correct a use of "which" in intro.texi

8 years agoDistinguish the two meanings of Java's keyword "default". Fixes bug #22358.
Alan Mackenzie [Sat, 23 Jan 2016 19:38:49 +0000 (19:38 +0000)]
Distinguish the two meanings of Java's keyword "default".  Fixes bug #22358.

* lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
context of case labels (including "default") more rigorously.
(c-guess-basic-syntax CASE 15): Consequential amendment.

* lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.

8 years agoImprove user name completion in Tramp
Michael Albinus [Sat, 23 Jan 2016 15:20:21 +0000 (16:20 +0100)]
Improve user name completion in Tramp

* lisp/net/tramp.el (tramp-parse-passwd, tramp-parse-etc-group):
Call also "getent passwd" or "getent group", if possible.
(tramp-parse-putty): Cache the result.

8 years agoDon't operate on menu bar of nonexistent frame
Oscar Fuentes [Sat, 23 Jan 2016 13:11:29 +0000 (14:11 +0100)]
Don't operate on menu bar of nonexistent frame

* src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
is valid before redisplaying its menu. Fixes bug#22438.

8 years agoUnbreak the GNUstep build.
Anders Lindgren [Sat, 23 Jan 2016 13:13:20 +0000 (14:13 +0100)]
Unbreak the GNUstep build.

* src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
predefined "caution" image. Add trace.
(x_set_window_size): Remove unused variables `cols' and `rows'.
(ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
GNUstep is used.
([EmacsView updateFrameSize:]): Remove unused variable `win'.
([EmacsWindow zoom:]): Remove unused variable `f'.

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sat, 23 Jan 2016 12:22:26 +0000 (07:22 -0500)]
; Auto-commit of loaddefs files.

8 years ago; Another minor change in Dired docs
Eli Zaretskii [Sat, 23 Jan 2016 11:46:22 +0000 (13:46 +0200)]
; Another minor change in Dired docs

* doc/emacs/dired.texi (Operating on Files): Minor tweak in the
documentation of 'dired-do-find-regexp'.  Suggested by Dmitry Gutov
<dgutov@yandex.ru>.

8 years agoImprove documentation of 'pcase'
Eli Zaretskii [Sat, 23 Jan 2016 10:21:07 +0000 (12:21 +0200)]
Improve documentation of 'pcase'

* doc/lispref/control.texi (Pattern matching case statement):
Reorganize, expand, and improve wording.

* etc/NEWS: Mention that 'pcase' changes are documented.

Co-authored-by: John Wiegley <johnw@gnu.org>
Co-authored-by: Michael Heerdegen <michael_heerdegen@web.de>