]> git.eshelyaron.com Git - emacs.git/log
emacs.git
8 years ago* src/buffer.c (Fset_buffer_major_mode): Allow default major-mode,
Glenn Morris [Wed, 13 Jan 2016 17:49:50 +0000 (12:49 -0500)]
* src/buffer.c (Fset_buffer_major_mode): Allow default major-mode,

or its hook, to move point.  (Bug#22348)

8 years ago; Add 2016 to copyright years for files not in emacs-25 branch
Glenn Morris [Tue, 12 Jan 2016 21:20:00 +0000 (16:20 -0500)]
; Add 2016 to copyright years for files not in emacs-25 branch

8 years ago; Some ChangeLog fixes. It remains a complete mess.
Glenn Morris [Tue, 12 Jan 2016 20:31:14 +0000 (15:31 -0500)]
; Some ChangeLog fixes.  It remains a complete mess.

8 years ago; Fix error in last commit
Michael Albinus [Tue, 12 Jan 2016 09:46:39 +0000 (10:46 +0100)]
; Fix error in last commit

8 years agoMerge missing commit from emacs-25 branch
Michael Albinus [Tue, 12 Jan 2016 09:37:06 +0000 (10:37 +0100)]
Merge missing commit from emacs-25 branch

* test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE, SELECTOR):
New variables.
(check-expensive, check-doit): New targets.

* Makefile.in (check-expensive): New target.

* test/lisp/autorevert-tests.el
(auto-revert-test01-auto-revert-several-files):
* test/lisp/filenotify-tests.el (file-notify--deftest-remote)
(file-notify-test06-many-events):
* test/lisp/net/tramp-tests.el (tramp-test26-process-file)
(tramp-test27-start-file-process, tramp-test28-shell-command)
(tramp-test29-vc-registered)
(tramp-test31-special-characters-with-stat)
(tramp-test31-special-characters-with-perl)
(tramp-test31-special-characters-with-ls)
(tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
(tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
(tramp-test35-unload): Tag the tests as :expensive-test.

8 years agoMerge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:51:27 +0000 (22:51 -0800)]
Merge from origin/emacs-25

1f6898d test/automated/vc-hg.el: Support out-of-tree build
3adb56e Minor change in tramp-tests.el
2b535ba ; * etc/NEWS: Update the js.el entry.
76b518c * etc/HELLO: Add Armenian and Mongolian greetings.
b51f1ef Java Mode: Fontify identifiers in the presence of annotations.
36b9539 Avoid an infloop when we run out of memory
2006752 Avoid unnecessary failures of auto-saving after fatal error
eef6784 Simplify HAVE_MODULES use in mark_maybe_pointer
552694a Revert attempt to use 'noexcept' in typedef
6ad0d39 Update documentation of 'indirect-function'
c6a5314 ; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'.
303141a Update documentation for obsoleting 'syntax-begin-function'
4e6f61c ; * etc/NEWS: Mark documented and not-to-be-documented entries.
e667bbb Document new features if Eshell
9c4e4e0 ; * etc/NEWS: Update EUDC entries.
1089dc9 Handle too long commands in Tramp
684eb58 * .gitattributes: *.cur and *.pif are binary files too.
d2c7fda * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
bd3f53d * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
09b2b8a * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
cca0f93 ; Account for spaces before the filename
c71e1e8 Use short date for 'hg annotate', and output the author
f50027b Spelling fix
c7dff67 ; * etc/NEWS: Fix the Xref entries that got separated.
cc140bc Document user-level functions in project.el
f8208b6 Document the user-level features of the Xref package
b131fb8 * loading.texi: Add `define-type' entry for load-history
db3c2a8 Improve doc strings and prompts in xref.el
f6117ef Allow the use of `font-lock-extend-region-multiline' in CC Mode.
90fd798 Fix coding system for Tramp on OS X.
e985a0e ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.
9dfcbf0 Update 'load-history' docs
207e191 Fix (error ...) error
457738f Correctly analyze brace arguments in templated C++ function declarations.
d57724a * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
2a9532d * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
1a6b084 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
8be046f Respect fontification region calculated by major mode.  Fixes bug #22316.
4b37cba Improve documentation of Delete Selection mode
a034dd3 Fix two project-find-file issues
30abf29 Clarify doc string of 'dired-current-directory'
e990bb2 Use the face of preceding text for displaying the ellipsis
5810ac3 Suppress Chinese file name test for OSX in tramp-tests.el
eeb710a ; * lisp/startup.el: Sentences end with two spaces.
428b3de * admin/admin.el (set-version): Also handle the NEWS file.
648de81 ; Add NEWS entry for project.el
671862f apropos-library: Skip obvious duplicates; don't error on generics
51668a5 ; Grammar fix
ed41d11 Add project-find-file and project-or-external-find-file
056da45 ; Improve commentary in 'setup_for_ellipsis'
269d008 ; Improve docstring for `inhibit-startup-echo-area-message'

8 years ago; Merge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:51:27 +0000 (22:51 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

07442de ; * etc/NEWS: Backport edit made on wrong branch.

8 years agoMerge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:50:30 +0000 (22:50 -0800)]
Merge from origin/emacs-25

ce4a052 Add defvar-local to lisp-imenu-generic-expression
a0121bc Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
76fe2d5 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
1ae088f * lisp/emacs-lisp/autoload.el (autoload-find-destination):
b6b47af Properly encode/decode base64Binary data in SOAP
c632466 Obey coding-system-for-write when writing stdout/stderr in batch
2f32cb5 * doc/misc/efaq.texi (Packages that do not come with Emacs):
        Update the URI of MELPA and marmalade-repo.
        Reported by CHENG Goa <chenggao@royau.me> in
        https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
d2937aa * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
5330c25 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
7380990 Remove function wrongly on AWK Mode value of context
fontification hook.
d400753 * src/buffer.c: Stick with ASCII in doc string.
221240c Reword transient-mark-mode doc string
977d3ea Update doc string of 'selective-display'
229c3fa Make C++ buffers writeable when writing their initial text
        properties.
f5c762c Additional changes for "make check-expensive"
1729cf3 ; * admin/MAINTAINERS: Remove myself.
33219d3 Apply text properties for <, > in new after-change function
        (C++ Java Modes).

8 years ago; Merge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
; Merge from origin/emacs-25

The following commits were skipped:

31a97ac Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
4e62197 Introduce check-expensive tests.
9fb185a shr-tag-video bug fix

8 years agoMerge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
Merge from origin/emacs-25

9fb185a shr-tag-video bug fix
6300655 Minor fixes in tramp-tests.el
50575b1 Ensure redisplay when 'truncate-lines' is set
0d9e80d Fix a doc string of 'transient-mark-mode'
0000ae5 MS-Windows followup to latest gnulib update
4bc5e02 Spelling fix
f1093f7 Do secure signed Bcc handling

8 years ago; Merge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

e79b06e Avoid stdio in SIGINT handler

8 years agoMerge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
Merge from origin/emacs-25

861022f * doc/misc/texinfo.tex: Revert unwanted copyright change.
46e47a5 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
71ea138 * lisp/align.el (align): Simplify a lambda
5618a50 * lisp/align.el (align): Fix arg order in call to `align-region'
1f680db Fix compilation next-error in buffers with selective-display
d20a948 * nsm.el (nsm-check-protocol): Fix typo in the message.
1da116f Add SHA1 warnings for high network security settings
e48bacd ; * etc/NEWS: Typo fix.

8 years ago; Merge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

5213ded Refactor mml-smime.el, mml1991.el, mml2015.el

8 years agoMerge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
Merge from origin/emacs-25

43662a2 ; Clarify that xref is still experimental
0a6e6ca ; * admin/release-process: Remove some obsolete records.
c2e9e3d * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
8637f3d (semantic-symref-derive-find-filepatterns): Return a list
0a7ad07 ; Re-arrange xref-related entries in NEWS.
fe903ef Fix xref-find-references on MS-Windows
55a28d8 ; Fixed visual bell artifact problem on NextStep.
d064034 Document new features of tildify-mode
964bea7 Document new features of Whitespace mode
cd68f47 Improve documentation of new Hide-IfDef features
723b8bf Fix regression in font-locking cl-assert and cl-check-type

8 years ago; Merge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:09 +0000 (22:48 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

372d00a ; Auto-commit of loaddefs files.

8 years agoMerge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
Merge from origin/emacs-25

ef33bc7 Spelling and grammar fixes
9c3dbab Fix copyright years by hand
0e96320 Update copyright year to 2016

8 years ago; Merge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

9825305 Merge from gnulib

8 years agoMerge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
Merge from origin/emacs-25

9ee6ecb lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
526d80c Port chart.el methods to cl-generic.
410bb69 Add nt/INSTALL.W64 build instructions
8f5b524 Add new input method 'programmer-dvorak'
6d11f6e Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
bb83bb1 Fix EWW rendering of long RTL lines
b1a8509 fix  bug#21054
ce5ad12 Clean up cairo printing code

8 years ago; Merge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

30f4a89 Move variables to inner loop, preparing for Mac port merge

8 years agoMerge from origin/emacs-25
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
Merge from origin/emacs-25

6ee327d Add handle_user_signal_hook
47580e0 Avoid writing to purespace
0588be7 Remove unused variable
89e7483 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
3b95e9c Use posix_openpt instead of openpty on Darwin
86312ff Document support for ':documentation' in Lisp mode
c930e75b Document new features of TeX mode
7c83d84 Clarify docs of hscroll in RTL text
4c8f8db Fix rendering of HTML pages that use character composition
a8d37ca Avoid some compiler warnings in w32.c
ce106f3de Undo ill-advised change
be0bba4 Unbreak completion in python-mode buffers

8 years agotest/automated/vc-hg.el: Support out-of-tree build
Dmitry Gutov [Mon, 11 Jan 2016 21:17:49 +0000 (00:17 +0300)]
test/automated/vc-hg.el: Support out-of-tree build

* test/automated/vc-hg.el
(vc-hg-annotate-extract-revision-at-line-with-filename)
(vc-hg-annotate-extract-revision-at-line-with-both):
Don't refer to source-directory.
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html

8 years agoMinor change in tramp-tests.el
Michael Albinus [Mon, 11 Jan 2016 18:43:36 +0000 (19:43 +0100)]
Minor change in tramp-tests.el

* test/automated/tramp-tests.el (tramp-test29-vc-registered):
Use `dired-uncache' instead of a Tramp internal function.

8 years ago; * etc/NEWS: Update the js.el entry.
Shakthi Kannan [Mon, 11 Jan 2016 18:17:43 +0000 (20:17 +0200)]
; * etc/NEWS: Update the js.el entry.

8 years ago* etc/HELLO: Add Armenian and Mongolian greetings.
Peter Feigl [Mon, 11 Jan 2016 18:12:12 +0000 (20:12 +0200)]
* etc/HELLO: Add Armenian and Mongolian greetings.

(Bug#22346)

Copyright-paperwork-exempt: yes.

8 years agoJava Mode: Fontify identifiers in the presence of annotations.
Alan Mackenzie [Mon, 11 Jan 2016 17:46:04 +0000 (17:46 +0000)]
Java Mode: Fontify identifiers in the presence of annotations.

* lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
Don't move point when the defun fails.
(c-forward-decl-or-cast-1): Correct a usage of match data.

* lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
(c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
removed variable.

* lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.

8 years agoAvoid an infloop when we run out of memory
Eli Zaretskii [Mon, 11 Jan 2016 16:05:40 +0000 (18:05 +0200)]
Avoid an infloop when we run out of memory

* src/alloc.c (garbage_collect_1): Don't bother saving and
restoring the echo-area message if we are GC'ing after running out
of memory.  This avoids an infloop due to repeated attempts to
allocate memory for the cons cell needed to save the message,
which signals the memory-full error, which attempts to save the
echo-area message, which signals memory-full again, etc.

8 years agoAvoid unnecessary failures of auto-saving after fatal error
Eli Zaretskii [Mon, 11 Jan 2016 16:00:13 +0000 (18:00 +0200)]
Avoid unnecessary failures of auto-saving after fatal error

* src/w32.c (map_w32_filename): Avoid non-trivial system calls for
the benefit of FAT volumes if we are called as part of shutting
down due to a fatal error, which probably means we are trying to
auto-save the session.
* src/lread.c (check_obarray): Don't bother making the obarray
valid if we are shutting down due to a fatal error.  This avoids
interfering with auto-saving the crashed session.

8 years agoSimplify HAVE_MODULES use in mark_maybe_pointer
Paul Eggert [Mon, 11 Jan 2016 05:41:59 +0000 (21:41 -0800)]
Simplify HAVE_MODULES use in mark_maybe_pointer

* src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
so that later code can use 'if' rather than '#ifdef'.
(mark_maybe_pointer): Simplify based on HAVE_MODULES now
always working.

8 years agoRevert attempt to use 'noexcept' in typedef
Paul Eggert [Mon, 11 Jan 2016 05:39:55 +0000 (21:39 -0800)]
Revert attempt to use 'noexcept' in typedef

This use of 'noexcept' runs afoul of the C++11 standard.
Problem reported by Philipp Stephani in:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
* src/emacs-module.c (emacs_finalizer_function):
Move this typedef here ...
* src/emacs-module.h: ... from here, and use only the C
version of the typedef.  The typedef is now private since it
is never used in the .h file now and anyway it seemed to be
causing more confusion than it cured.
(make_user_ptr, get_user_finalizer, set_user_finalizer):
Open-code the type instead.

8 years agoUpdate documentation of 'indirect-function'
Eli Zaretskii [Sun, 10 Jan 2016 18:22:01 +0000 (20:22 +0200)]
Update documentation of 'indirect-function'

* doc/lispref/eval.texi (Function Indirection): Update the
documentation of 'indirect-function'.

8 years ago; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'.
Eli Zaretskii [Sun, 10 Jan 2016 18:15:10 +0000 (20:15 +0200)]
; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'.

8 years agoUpdate documentation for obsoleting 'syntax-begin-function'
Eli Zaretskii [Sun, 10 Jan 2016 18:05:46 +0000 (20:05 +0200)]
Update documentation for obsoleting 'syntax-begin-function'

* doc/lispref/syntax.texi (Position Parse): Undocument
'syntax-begin-function' that is now obsolete.

8 years ago; * etc/NEWS: Mark documented and not-to-be-documented entries.
Eli Zaretskii [Sun, 10 Jan 2016 17:59:17 +0000 (19:59 +0200)]
; * etc/NEWS: Mark documented and not-to-be-documented entries.

8 years agoDocument new features if Eshell
Eli Zaretskii [Sun, 10 Jan 2016 17:24:54 +0000 (19:24 +0200)]
Document new features if Eshell

* doc/misc/eshell.texi (Input/Output): Document the new
'#<bufname>' syntax.
(Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
Disable "Key Index" generation, as there are no @kindex entries in
this manual.

8 years ago; * etc/NEWS: Update EUDC entries.
Eli Zaretskii [Sun, 10 Jan 2016 16:30:10 +0000 (18:30 +0200)]
; * etc/NEWS: Update EUDC entries.

8 years agoHandle too long commands in Tramp
Michael Albinus [Sun, 10 Jan 2016 12:07:21 +0000 (13:07 +0100)]
Handle too long commands in Tramp

* lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
(tramp-do-file-attributes-with-ls): Send sequence of commands, in
order to not exceed shell command line limit.

* test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
(tramp--test-utf8): Include Arabic file name, again.

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

8 years ago* .gitattributes: *.cur and *.pif are binary files too.
Paul Eggert [Sun, 10 Jan 2016 08:51:10 +0000 (00:51 -0800)]
* .gitattributes: *.cur and *.pif are binary files too.

8 years ago* src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
Stefan Monnier [Sun, 10 Jan 2016 05:32:13 +0000 (00:32 -0500)]
* src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined

8 years ago* sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
Stefan Monnier [Sun, 10 Jan 2016 05:31:29 +0000 (00:31 -0500)]
* sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)

* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
within $(...).
* test/indent/shell.sh: Add corresponding test.

8 years ago* src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
Stefan Monnier [Sun, 10 Jan 2016 02:15:12 +0000 (21:15 -0500)]
* src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value

(mark_memory): Simplify loop.  Don't assume a pointer-sized word can be
cast to Lisp_Object.

8 years ago; Account for spaces before the filename
Dmitry Gutov [Sun, 10 Jan 2016 01:38:34 +0000 (04:38 +0300)]
; Account for spaces before the filename

8 years agoUse short date for 'hg annotate', and output the author
Dmitry Gutov [Sun, 10 Jan 2016 01:09:42 +0000 (04:09 +0300)]
Use short date for 'hg annotate', and output the author

* lisp/vc/vc-hg.el (vc-hg-annotate-command):
Change '-d' to '-dq'.  (Bug#21805)
(vc-hg-annotate-switches): Default to "-u" "--follow".
(vc-hg-annotate-re): Update to recognize the short date format
and the optional username.
(vc-hg-annotate-time)
(vc-hg-annotate-extract-revision-at-line): Update accordingly.

* test/automated/vc-hg.el: New file.

8 years agoSpelling fix
Paul Eggert [Sun, 10 Jan 2016 00:15:01 +0000 (16:15 -0800)]
Spelling fix

8 years ago; * etc/NEWS: Fix the Xref entries that got separated.
Eli Zaretskii [Sat, 9 Jan 2016 20:05:41 +0000 (22:05 +0200)]
; * etc/NEWS: Fix the Xref entries that got separated.

8 years agoDocument user-level functions in project.el
Eli Zaretskii [Sat, 9 Jan 2016 19:45:33 +0000 (21:45 +0200)]
Document user-level functions in project.el

* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): Add doc strings.

8 years agoDocument the user-level features of the Xref package
Eli Zaretskii [Sat, 9 Jan 2016 19:12:46 +0000 (21:12 +0200)]
Document the user-level features of the Xref package

* doc/emacs/maintaining.texi (Maintaining): Add a list of
described features.
(Xref): New section, made out of thoroughly rewritten "Tags"
section.
(Find Identifiers, Looking Up Identifiers, Xref Commands)
(Identifier Search, List Identifiers): New subsections,
incorporating the old tags commands and the new xref commands.
(Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
Section and subsections demoted to a lower level.
* doc/emacs/search.texi (Search):
* doc/emacs/windows.texi (Pop Up Window):
* doc/emacs/frames.texi (Creating Frames):
* doc/emacs/programs.texi (Imenu, Symbol Completion):
* doc/emacs/building.texi (Grep Searching):
* doc/emacs/dired.texi (Operating on Files):
* doc/emacs/glossary.texi (Glossary): All references to tags changed.

8 years ago* loading.texi: Add `define-type' entry for load-history
Stefan Monnier [Sat, 9 Jan 2016 17:50:10 +0000 (12:50 -0500)]
* loading.texi: Add `define-type' entry for load-history

* doc/lispref/loading.texi (Where Defined): Remove incorrect
cl-defmethod description, and add missing define-type entry.

8 years agoImprove doc strings and prompts in xref.el
Eli Zaretskii [Sat, 9 Jan 2016 17:06:52 +0000 (19:06 +0200)]
Improve doc strings and prompts in xref.el

* lisp/progmodes/xref.el (xref-backend-functions)
(xref-find-definitions): Doc fixes.
(xref-query-replace): Doc fix.  Improve prompts for arguments.

8 years agoAllow the use of `font-lock-extend-region-multiline' in CC Mode.
Alan Mackenzie [Sat, 9 Jan 2016 15:18:29 +0000 (15:18 +0000)]
Allow the use of `font-lock-extend-region-multiline' in CC Mode.

* lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
`font-lock-extend-regions-wholelines' from
`font-lock-extend-region-functions' rather than setting the latter to
nil.

8 years agoFix coding system for Tramp on OS X.
Michael Albinus [Sat, 9 Jan 2016 12:55:02 +0000 (13:55 +0100)]
Fix coding system for Tramp on OS X.

* lisp/net/tramp-compat.el: Require ucs-normalize.

* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Set coding system to `utf-8-hfs' for Mac OS X.

* test/automated/tramp-tests.el (tramp-test29-vc-registered):
Flush directory properties when needed.
(tramp--test-utf8): Include Chinese file name, again.

8 years ago; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.
Eli Zaretskii [Sat, 9 Jan 2016 10:09:13 +0000 (12:09 +0200)]
; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.

8 years agoUpdate 'load-history' docs
Eli Zaretskii [Sat, 9 Jan 2016 08:55:35 +0000 (10:55 +0200)]
Update 'load-history' docs

* doc/lispref/loading.texi (Where Defined): Update the list of
forms in 'load-history' by adding the forms created for the
'cl-generic' generics.  (Bug#21422)

8 years agoAdding example replies to bug-triage.
Andrew Hyatt [Sat, 9 Jan 2016 05:14:03 +0000 (00:14 -0500)]
Adding example replies to bug-triage.

* admin/notes/bug-triage: Added example replies. Also, as requested,
  making the process notes into more of a checklist.

8 years agoRename the notes/admin/triage file to bug-triage.
Andrew Hyatt [Sat, 9 Jan 2016 04:04:59 +0000 (23:04 -0500)]
Rename the notes/admin/triage file to bug-triage.

* CONTRIBUTE: Change reference to the triage file name.
* admin/notes/triage: Rename file to admin/notes/bug-triage.

8 years agoFix (error ...) error
Paul Eggert [Fri, 8 Jan 2016 22:53:10 +0000 (14:53 -0800)]
Fix (error ...) error

Problem reported by Glenn Morris in:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
* lisp/vc/add-log.el (change-log-goto-source): Fix typos
introduced in my Aug 28 change, where I got confused by the
two meanings of (error ...).

8 years agoCorrectly analyze brace arguments in templated C++ function declarations.
Alan Mackenzie [Fri, 8 Jan 2016 22:42:47 +0000 (22:42 +0000)]
Correctly analyze brace arguments in templated C++ function declarations.

* lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
POS and LIMIT parameters, like the other c-go-list-* functions have.

* lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
for a ?\( rather than a ?<.  (c-looking-at-inexpr-block): Handle names
followed by template specifiers.

8 years ago* lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
Glenn Morris [Fri, 8 Jan 2016 21:31:56 +0000 (16:31 -0500)]
* lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.

8 years ago* lisp/ffap.el (ffap-latex-mode): Avoid free variable.
Glenn Morris [Fri, 8 Jan 2016 21:28:09 +0000 (16:28 -0500)]
* lisp/ffap.el (ffap-latex-mode): Avoid free variable.

8 years ago* lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
Mark Oteiza [Fri, 8 Jan 2016 17:19:09 +0000 (12:19 -0500)]
* lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.

8 years agoRespect fontification region calculated by major mode. Fixes bug #22316.
Alan Mackenzie [Fri, 8 Jan 2016 14:41:58 +0000 (14:41 +0000)]
Respect fontification region calculated by major mode.  Fixes bug #22316.

* lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
fontification region has been calculated by a function on
font-lock-extend-after-change-region-function use this region rather than
changing the end position to somewhere else.

8 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
K. Handa [Fri, 8 Jan 2016 14:21:43 +0000 (23:21 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

8 years agoFix outdated comments.
K. Handa [Fri, 8 Jan 2016 14:21:15 +0000 (23:21 +0900)]
Fix outdated comments.

8 years agoImprove documentation of Delete Selection mode
Eli Zaretskii [Fri, 8 Jan 2016 12:06:13 +0000 (14:06 +0200)]
Improve documentation of Delete Selection mode

* lisp/delsel.el (delete-selection-mode)
(delete-selection-helper): Update and expand the doc strings.
(Bug#22296)

* doc/emacs/mark.texi (Using Region): Document the behavior of
delete commands in Delete Selection mode.  (Bug#22296)

* doc/lispref/markers.texi (The Mark): Document how to add the
support for Delete Selection mode to Lisp programs. (Bug#22296)

8 years agoFix two project-find-file issues
Dmitry Gutov [Fri, 8 Jan 2016 11:32:27 +0000 (14:32 +0300)]
Fix two project-find-file issues

* lisp/progmodes/project.el (project--value-in-dir):
Temporarily set enable-local-variables to :all.
(project-find-file, project-or-external-find-file):
All autoloads.
(project--find-file-in): Require xref.

8 years agoClarify doc string of 'dired-current-directory'
Eli Zaretskii [Fri, 8 Jan 2016 10:40:14 +0000 (12:40 +0200)]
Clarify doc string of 'dired-current-directory'

* lisp/dired.el (dired-current-directory): Doc fix: clarify that
the return value might not end in a slash when called with the
optional argument non-nil.  (Bug#6273)

8 years agoUse the face of preceding text for displaying the ellipsis
Eli Zaretskii [Fri, 8 Jan 2016 10:12:53 +0000 (12:12 +0200)]
Use the face of preceding text for displaying the ellipsis

* src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
text in it->saved_face_id for displaying the ellipsis, and ignore
the face, if any, of the invisible text.  (Bug#22320)

8 years agoSuppress Chinese file name test for OSX in tramp-tests.el
Michael Albinus [Fri, 8 Jan 2016 09:09:37 +0000 (10:09 +0100)]
Suppress Chinese file name test for OSX in tramp-tests.el

* test/automated/tramp-tests.el (tramp--test-utf8):
Remove instrumentation.  Suppress Chinese file name test for OSX.

8 years ago; * lisp/startup.el: Sentences end with two spaces.
Glenn Morris [Fri, 8 Jan 2016 01:37:17 +0000 (20:37 -0500)]
; * lisp/startup.el: Sentences end with two spaces.

8 years ago* admin/admin.el (set-version): Also handle the NEWS file.
Glenn Morris [Fri, 8 Jan 2016 01:16:31 +0000 (20:16 -0500)]
* admin/admin.el (set-version): Also handle the NEWS file.

8 years ago; Add NEWS entry for project.el
Dmitry Gutov [Thu, 7 Jan 2016 23:54:50 +0000 (02:54 +0300)]
; Add NEWS entry for project.el

8 years agoapropos-library: Skip obvious duplicates; don't error on generics
Dmitry Gutov [Thu, 7 Jan 2016 23:26:55 +0000 (02:26 +0300)]
apropos-library: Skip obvious duplicates; don't error on generics

* lisp/apropos.el (apropos-library): Skip "was an autoload"
entries, to avoid obvious duplicates.  For each cl-defmethod
entry, take just its function symbol (bug#21422).

8 years ago; Grammar fix
Dmitry Gutov [Thu, 7 Jan 2016 21:19:32 +0000 (00:19 +0300)]
; Grammar fix

8 years agoAdd project-find-file and project-or-external-find-file
Dmitry Gutov [Thu, 7 Jan 2016 17:14:40 +0000 (20:14 +0300)]
Add project-find-file and project-or-external-find-file

* lisp/minibuffer.el (completion-category-defaults):
Add `project-file' category.

* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): New commands.
(project--find-file-in): New private function.

* lisp/progmodes/xref.el (xref-collect-matches): Use
`expand-file-name' on DIR, to expand the tildes.
(xref--find-ignores-arguments): Extract from
`xref--rgrep-command'.

8 years ago; Improve commentary in 'setup_for_ellipsis'
Eli Zaretskii [Thu, 7 Jan 2016 16:45:42 +0000 (18:45 +0200)]
; Improve commentary in 'setup_for_ellipsis'

* src/xdisp.c (setup_for_ellipsis): Improve commentary for when we
reset the ellipsis face to the default face.

8 years ago; Improve docstring for `inhibit-startup-echo-area-message'
Phillip Lord [Thu, 7 Jan 2016 11:39:03 +0000 (11:39 +0000)]
; Improve docstring for `inhibit-startup-echo-area-message'

Both the docstring and comments now indicate why this variable has
specialised treatment.

8 years ago; * lisp/emacs-lisp/autoload.el (autoload-timestamps): Doc tweak.
Glenn Morris [Thu, 7 Jan 2016 07:51:34 +0000 (23:51 -0800)]
; * lisp/emacs-lisp/autoload.el (autoload-timestamps): Doc tweak.

8 years ago; * lisp/emacs-lisp/autoload.el update-directory-autoloads): Fix typo in previous.
Glenn Morris [Thu, 7 Jan 2016 07:35:53 +0000 (23:35 -0800)]
; * lisp/emacs-lisp/autoload.el update-directory-autoloads): Fix typo in previous.

8 years agoAllow creation of loaddefs files without timestamps.
Glenn Morris [Thu, 7 Jan 2016 07:33:33 +0000 (23:33 -0800)]
Allow creation of loaddefs files without timestamps.

* lisp/emacs-lisp/autoload.el (autoload-timestamps): New variable.
(autoload-generate-file-autoloads, update-directory-autoloads):
If autoload-timestamps is nil, write "t" instead of file timestamp.
(autoload-find-destination, update-directory-autoloads):
If timestamp is "t", use the modtime of the output file instead.

; * etc/NEWS: Mention this.

8 years ago; * etc/NEWS: Backport edit made on wrong branch.
Glenn Morris [Thu, 7 Jan 2016 07:22:04 +0000 (23:22 -0800)]
; * etc/NEWS: Backport edit made on wrong branch.

8 years agoAdd defvar-local to lisp-imenu-generic-expression
Leo Liu [Thu, 7 Jan 2016 03:00:52 +0000 (11:00 +0800)]
Add defvar-local to lisp-imenu-generic-expression

* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
  defvar-local.

8 years agoRevert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
Leo Liu [Thu, 7 Jan 2016 01:48:00 +0000 (09:48 +0800)]
Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd

* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
  Don't declare (indent 1).

8 years ago; * etc/NEWS (Changes in Frame- and Window- Handling): Demote section.
Glenn Morris [Thu, 7 Jan 2016 01:49:26 +0000 (20:49 -0500)]
; * etc/NEWS (Changes in Frame- and Window- Handling): Demote section.

8 years ago; * etc/NEWS: Add other main section headings for 25.2.
Glenn Morris [Thu, 7 Jan 2016 01:45:14 +0000 (20:45 -0500)]
; * etc/NEWS: Add other main section headings for 25.2.

8 years ago* lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
Glenn Morris [Thu, 7 Jan 2016 01:36:46 +0000 (20:36 -0500)]
* lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.

8 years ago* lisp/emacs-lisp/autoload.el (autoload-find-destination):
Glenn Morris [Thu, 7 Jan 2016 00:56:47 +0000 (19:56 -0500)]
* lisp/emacs-lisp/autoload.el (autoload-find-destination):

Avoid specifying the length of a time object (it has not been "2"
for some time).

8 years ago; * lisp/Makefile.in: Comment update.
Glenn Morris [Wed, 6 Jan 2016 23:48:40 +0000 (18:48 -0500)]
; * lisp/Makefile.in: Comment update.

8 years agoDoc tweaks.
Glenn Morris [Wed, 6 Jan 2016 23:34:22 +0000 (18:34 -0500)]
Doc tweaks.

* lisp/calendar/cal-hebrew.el (diary-hebrew-list-entries):
* lisp/calendar/cal-iso.el (calendar-iso-to-absolute)
(calendar-iso-from-absolute):
* lisp/calendar/cal-tex.el (cal-tex-comment):
* lisp/calendar/solar.el (calendar-time-display-form): Doc tweaks.

8 years agoBuild tweaks related to tags files.
Glenn Morris [Wed, 6 Jan 2016 23:25:47 +0000 (18:25 -0500)]
Build tweaks related to tags files.

* lib-src/Makefile.in (tagsfiles): New variable.
(TAGS): Also depend on the source files.  Use our own etags program.
* lisp/Makefile.in (ETAGS): Add EXEEXT.
(lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
Remove.
(tagsfiles): New, replacing lisptagsfiles1 etc.
Remove irrelevant source files here rather than in the TAGS rule.
(${ETAGS}): New rule.
(TAGS): Also depend on the etags executable.
* lwlib/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): Add EXEEXT.
(${ETAGS}): New rule.
(ctagsfiles): Use "wildcard".
(TAGS): Also depend on the etags executable.
* nt/Makefile.in (ETAGS, tagsfiles): New variables.
(${ETAGS}): New rule.
(TAGS): Fix dependencies.
* oldXMenu/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): New variable, replacing $TAGS.  Use our own etags program.
Remove "-t" argument.
(${ETAGS}): New rule.
(tagsfiles): New variable.
(TAGS): New rule, with proper dependencies.
* src/Makefile.in (ETAGS): Add EXEEXT.  Add a build rule.
(ctagsfiles1, ctagsfiles2): Use "wildcard".
(ctagsfiles3): Remove.
(TAGS): Depend on etags.
(../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
directories decide if updates are needed.

8 years ago* lisp/Makefile.in (CAL_SRC): Skip calendar.el.
Glenn Morris [Wed, 6 Jan 2016 22:40:00 +0000 (17:40 -0500)]
* lisp/Makefile.in (CAL_SRC): Skip calendar.el.

8 years agoProperly encode/decode base64Binary data in SOAP
Andreas Schwab [Wed, 6 Jan 2016 19:50:02 +0000 (20:50 +0100)]
Properly encode/decode base64Binary data in SOAP

* lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
base64Binary value as utf-8.
(soap-decode-xs-basic-type): Decode base64Binary value as utf-8.

8 years agoObey coding-system-for-write when writing stdout/stderr in batch
Eli Zaretskii [Wed, 6 Jan 2016 18:25:45 +0000 (20:25 +0200)]
Obey coding-system-for-write when writing stdout/stderr in batch

* src/print.c (printchar_to_stream):
* src/xdisp.c (message_to_stderr): If coding-system-for-write has
a non-nil value, use it to encode output in preference to
locale-coding-system.  See the discussions in
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
for the details.

* doc/lispref/os.texi (Terminal Output): Document how to send
non-ASCII text via 'send-string-to-terminal'.
(Batch Mode): Document how text written to standard streams is
encoded.  Fix inaccuracy regarding which output streams are used
by output functions in batch mode.

8 years ago* test/lisp/emacs-lisp/package-tests.el
Glenn Morris [Wed, 6 Jan 2016 18:08:35 +0000 (13:08 -0500)]
* test/lisp/emacs-lisp/package-tests.el

(package-test-macro-compilation): Fixup branch merge.

8 years ago* doc/misc/efaq.texi (Packages that do not come with Emacs):
Xue Fuqiao [Wed, 6 Jan 2016 09:17:24 +0000 (17:17 +0800)]
* doc/misc/efaq.texi (Packages that do not come with Emacs):
Update the URI of MELPA and marmalade-repo.  Reported by CHENG Gao
<chenggao@royau.me> in
https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.

8 years ago* lisp/progmodes/opascal.el (opascal-mode-syntax-table):
Maksim Golubev [Wed, 6 Jan 2016 00:17:55 +0000 (19:17 -0500)]
* lisp/progmodes/opascal.el (opascal-mode-syntax-table):

Fix backslash.  (Bug#22224)

Copyright-paperwork-exempt: yes

8 years ago* lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
Federico Beffa [Tue, 5 Jan 2016 23:59:19 +0000 (18:59 -0500)]
* lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):

Make it actually work.  (Bug#22265)

Copyright-paperwork-exempt: yes

8 years agoRemove function wrongly on AWK Mode value of context fontification hook.
Alan Mackenzie [Tue, 5 Jan 2016 21:16:37 +0000 (21:16 +0000)]
Remove function wrongly on AWK Mode value of context fontification hook.

* lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
swap order of entries so that awk's entry isn't superseded by the default.

* lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
to handle nil value of c-before-context-fontification-functions.

8 years agoFix fallout from merging emacs-25 branch in test/
Eli Zaretskii [Tue, 5 Jan 2016 18:21:03 +0000 (20:21 +0200)]
Fix fallout from merging emacs-25 branch in test/

* .gitignore: Update for the new place of biditest.txt.
* test/automated/: Directory removed.  All files moved to their
proper places.
* test/etags/: Directory removed.  All files moved to their proper
places.
* test/automated/url-parse-tests.el: File removed; it was an exact
copy of the same file in test/lisp/url/.
* test/automated/url-expand-tests.el: Moved to test/lisp/url/.

8 years ago; * etc/NEWS: Mention 2 newly introduced variables.
Eli Zaretskii [Tue, 5 Jan 2016 18:03:38 +0000 (20:03 +0200)]
; * etc/NEWS: Mention 2 newly introduced variables.

8 years ago* src/buffer.c: Stick with ASCII in doc string.
Paul Eggert [Tue, 5 Jan 2016 17:17:58 +0000 (09:17 -0800)]
* src/buffer.c: Stick with ASCII in doc string.