]> git.eshelyaron.com Git - emacs.git/log
emacs.git
9 years agoPort new Lisp symbol init to x86 --with-wide-int
Paul Eggert [Thu, 8 Jan 2015 08:41:17 +0000 (00:41 -0800)]
Port new Lisp symbol init to x86 --with-wide-int

* lisp.h (DEFINE_LISP_SYMBOL_BEGIN, DEFINE_LISP_SYMBOL_END):
Define to empty on platforms where EMACS_INT_MAX != INTPTR_MAX, as
GCC (at least) does not allow a constant initializer to widen an
address constant.

9 years ago* lisp.h (TAG_SYMPTR): Don't do arithmetic on NULL.
Paul Eggert [Thu, 8 Jan 2015 07:39:56 +0000 (23:39 -0800)]
* lisp.h (TAG_SYMPTR): Don't do arithmetic on NULL.

This is a followup to the "Port Qnil==0 XUNTAG to clang" patch.
Although clang doesn't need it, some other compiler might, and
it's easy enough to be safe.

9 years ago* conf_post.h (ATTRIBUTE_ALLOC_SIZE): Port to clang 3.5.0.
Paul Eggert [Thu, 8 Jan 2015 07:11:36 +0000 (23:11 -0800)]
* conf_post.h (ATTRIBUTE_ALLOC_SIZE): Port to clang 3.5.0.

Apparently clang removed support for the alloc_size attribute.

9 years agoPort Qnil==0 XUNTAG to clang
Paul Eggert [Thu, 8 Jan 2015 07:02:01 +0000 (23:02 -0800)]
Port Qnil==0 XUNTAG to clang

clang has undefined behavior if the program subtracts an integer
from (char *) 0.  Problem reported by YAMAMOTO Mitsuharu in:
http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00132.html
* lisp.h (lisp_h_XUNTAG) [USE_LSB_TAG]:
(XUNTAG) [!USE_LSB_TAG]: Port to clang 3.5.0.

9 years ago# ChangeLog fixes
Glenn Morris [Thu, 8 Jan 2015 05:00:04 +0000 (21:00 -0800)]
# ChangeLog fixes

9 years ago* admin/authors.el (authors-aliases): Add an entry to ignore.
Glenn Morris [Thu, 8 Jan 2015 04:58:09 +0000 (20:58 -0800)]
* admin/authors.el (authors-aliases): Add an entry to ignore.

9 years ago* lisp/files.el (file-tree-walk): Remove; of unknown authorship.
Glenn Morris [Thu, 8 Jan 2015 04:52:24 +0000 (20:52 -0800)]
* lisp/files.el (file-tree-walk): Remove; of unknown authorship.

* etc/NEWS: Remove entry.

Fixes: debbugs:19325
9 years agolisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Use mm-disable-multibyte...
Katsumi Yamaoka [Thu, 8 Jan 2015 03:38:59 +0000 (03:38 +0000)]
lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Use mm-disable-multibyte instead of mm-enable-multibyte

9 years agolisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Use mm-enable-multibyte...
Katsumi Yamaoka [Thu, 8 Jan 2015 03:37:10 +0000 (03:37 +0000)]
lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Use mm-enable-multibyte instead of set-buffer-multibyte

9 years ago* src/gfilenotify.c (monitor_to_lisp, lisp_to_monitor):
Paul Eggert [Thu, 8 Jan 2015 01:52:30 +0000 (17:52 -0800)]
* src/gfilenotify.c (monitor_to_lisp, lisp_to_monitor):

Port recent fix to !USE_LSB_TAG platforms.

9 years agoPort GFileMonitor * hack to Qnil==0 platforms
Paul Eggert [Thu, 8 Jan 2015 01:12:16 +0000 (17:12 -0800)]
Port GFileMonitor * hack to Qnil==0 platforms

Reported by Glenn Morris in: http://bugs.gnu.org/15880#112
* gfilenotify.c (monitor_to_lisp, lisp_to_monitor): New functions.
(dir_monitor_callback, Fgfile_add_watch, Fgfile_rm_watch): Use them.

9 years agoFix content decoding in gnus-read-ephemeral-bug-group
Andreas Schwab [Fri, 19 Dec 2014 10:47:51 +0000 (11:47 +0100)]
Fix content decoding in gnus-read-ephemeral-bug-group

* gnus-group.el (gnus-read-ephemeral-bug-group): Bind
coding-system-for-read and coding-system-for-write only around
with-temp-file, and make buffer unibyte.  Don't write temp file twice.

9 years agosrc/window.c (Fwindow_body_width): Doc fix. (Bug#19395)
Eli Zaretskii [Thu, 18 Dec 2014 17:15:01 +0000 (19:15 +0200)]
src/window.c (Fwindow_body_width): Doc fix. (Bug#19395)

9 years ago* lisp/subr.el (redisplay-dont-pause): Mark as obsolete.
Stefan Monnier [Thu, 18 Dec 2014 15:25:54 +0000 (10:25 -0500)]
* lisp/subr.el (redisplay-dont-pause): Mark as obsolete.

* doc/lispref/display.texi (Forcing Redisplay): Remove references to
redisplay-dont-pause and redisplay-preemption-period (which doesn't
even exist).

9 years agoMerge branch master of git.sv.gnu.org:/srv/git/emacs.
K. Handa [Wed, 7 Jan 2015 13:51:41 +0000 (22:51 +0900)]
Merge branch master of git.sv.gnu.org:/srv/git/emacs.

9 years agointernational/ccl.el (define-ccl-program): Improve the docstring.
K. Handa [Wed, 7 Jan 2015 13:47:43 +0000 (22:47 +0900)]
international/ccl.el (define-ccl-program): Improve the docstring.

9 years agoUse generic `display-buffer-alist' instead of mode-specific customizations.
Sam Steingold [Tue, 6 Jan 2015 21:32:09 +0000 (16:32 -0500)]
Use generic `display-buffer-alist' instead of mode-specific customizations.

* lisp/shell.el (shell-display-buffer-actions): Remove,
use `display-buffer-alist' instead.

9 years agoNS: Fix frame size when height and font set at startup.
Jan D [Tue, 6 Jan 2015 19:30:39 +0000 (20:30 +0100)]
NS: Fix frame size when height and font set at startup.

* nsterm.m (x_set_window_size): Call updateFrameSize to get real
size instead of using widht/height.  The frame may be constrained.

9 years agoMerge from gnulib
Paul Eggert [Tue, 6 Jan 2015 17:15:11 +0000 (09:15 -0800)]
Merge from gnulib

* lib/stdio.in.h, m4/stdio_h.m4: Update from gnulib, incorporating:
2015-01-05 stdio: fix use of PRIdMAX on modern mingw

9 years agoAdd help-echo to xrefs
Dmitry Gutov [Mon, 5 Jan 2015 23:47:58 +0000 (02:47 +0300)]
Add help-echo to xrefs

* lisp/progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
to the references.

9 years ago* lisp.h (XSYMBOL): Parenthesize id in forward decl.
Paul Eggert [Mon, 5 Jan 2015 22:15:59 +0000 (14:15 -0800)]
* lisp.h (XSYMBOL): Parenthesize id in forward decl.

Needed when neither optimizing nor inlining.
Also, sort decls alphabetically.

9 years agoMS-Windows followup to previous commit
Eli Zaretskii [Mon, 5 Jan 2015 20:13:58 +0000 (22:13 +0200)]
MS-Windows followup to previous commit

 src/w32proc.c, src/w32.h, src/w32fns.c, src/w32font.c, src/w32menu.c:
 src/w32notify.c, src/w32proc.c, src/w32select.c, src/w32term.c:
 src/w32uniscribe.c: Remove declarations of Q* variables that
 represent symbols.

9 years agoUse 0 for Qnil
Paul Eggert [Mon, 5 Jan 2015 17:07:45 +0000 (09:07 -0800)]
Use 0 for Qnil

Fixes Bug#15880.
If USE_LSB_TAG, arrange for the representation of Qnil to be zero so
that NILP (x) is equivalent to testing whether x is 0 at the
machine level.  The overall effects of this and the previous patch
shrink the size of the text segment by 2.3% and speeds up
compilation of all the .elc files by about 0.5% on my platform,
which is Fedora 20 x86-64.
* lib-src/make-docfile.c (compare_globals):
* src/lisp.h (lisp_h_XPNTR, lisp_h_XSYMBOL, lisp_h_XUNTAG)
(make_lisp_symbol) [USE_LSB_TAG]:
Symbols now tag the difference from lispsym, not the pointer.
(lisp_h_XUNTAGBASE, TAG_SYMPTR): New macros.
(Lisp_Int0, Lisp_Int1, Lisp_Symbol, Lisp_Misc, Lisp_String, Lisp_Cons):
Renumber so that Lisp_Symbol is 0, so that Qnil is zero.
(XSYMBOL): New forward decl.
(XUNTAGBASE): New function.
(XUNTAG): Use it.

9 years agoCompute C decls for DEFSYMs automatically
Paul Eggert [Mon, 5 Jan 2015 17:07:45 +0000 (09:07 -0800)]
Compute C decls for DEFSYMs automatically

Fixes Bug#15880.
This patch also makes Q constants (e.g., Qnil) constant addresses
from the C point of view.
* make-docfile.c: Revamp to generate table of symbols, too.
Include <stdbool.h>.
(xstrdup): New function.
(main): Don't process the same file twice.
(SYMBOL): New constant in enum global_type.
(struct symbol): Turn 'value' member into a union, either v.value
for int or v.svalue for string.  All uses changed.
(add_global): New arg svalue, which overrides value, so that globals
can have a string value.
(close_emacs_global): New arg num_symbols; all uses changed.
Output lispsym decl.
(write_globals): Output symbol globals too.  Output more
ATTRIBUTE_CONST, now that Qnil etc. are C constants.
Output defsym_name table.
(scan_c_file): Move most of guts into ...
(scan_c_stream): ... new function.  Scan for DEFSYMs and
record symbols found.  Don't read past EOF if file doesn't
end in newline.
* alloc.c, bidi.c, buffer.c, bytecode.c, callint.c, casefiddle:
* casetab.c, category.c, ccl.c, charset.c, chartab.c, cmds.c, coding.c:
* composite.c, data.c, dbusbind.c, decompress.c, dired.c, dispnew.c:
* doc.c, editfns.c, emacs.c, eval.c, fileio.c, fns.c, font.c, fontset.c:
* frame.c, fringe.c, ftfont.c, ftxfont.c, gfilenotify.c, gnutls.c:
* image.c, inotify.c, insdel.c, keyboard.c, keymap.c, lread.c:
* macfont.m, macros.c, minibuf.c, nsfns.m, nsfont.m, nsimage.m:
* nsmenu.m, nsselect.m, nsterm.m, print.c, process.c, profiler.c:
* search.c, sound.c, syntax.c, term.c, terminal.c, textprop.c, undo.c:
* window.c, xdisp.c, xfaces.c, xfns.c, xftfont.c, xmenu.c, xml.c:
* xselect.c, xsettings.c, xterm.c:
Remove Q vars that represent symbols (e.g., Qnil, Qt, Qemacs).
These names are now defined automatically by make-docfile.
* alloc.c (init_symbol): New function.
(Fmake_symbol): Use it.
(c_symbol_p): New function.
(valid_lisp_object_p, purecopy): Use it.
* alloc.c (marked_pinned_symbols):
Use make_lisp_symbol instead of make_lisp_ptr.
(garbage_collect_1): Mark lispsym symbols.
(CHECK_ALLOCATED_AND_LIVE_SYMBOL): New macro.
(mark_object): Use it.
(sweep_symbols): Sweep lispsym symbols.
(symbol_uses_obj): New function.
(which_symbols): Use it.  Work for lispsym symbols, too.
(init_alloc_once): Initialize Vpurify_flag here; no need to wait,
since Qt's address is already known now.
(syms_of_alloc): Add lispsym count to symbols_consed.
* buffer.c (init_buffer_once): Compare to Qnil, not to make_number (0),
when testing whether storage is all bits zero.
* dispextern (struct image_type):
* font.c (font_property_table):
* frame.c (struct frame_parm_table, frame_parms):
* keyboard.c (scroll_bar_parts, struct event_head):
* xdisp.c (struct props):
Use XSYMBOL_INIT (Qfoo) and struct Lisp_Symbol * rather than &Qfoo and
Lisp_Object *, since Qfoo is no longer an object whose address can be
taken.  All uses changed.
* eval.c (run_hook): New function.  Most uses of Frun_hooks changed to
use it, so that they no longer need to take the address of a Lisp sym.
(syms_of_eval): Don't use DEFSYM on Vrun_hooks, as it's a variable.
* frame.c (syms_of_frame): Add defsyms for the frame_parms table.
* keyboard.c (syms_of_keyboard): Don't DEFSYM Qmenu_bar here.
DEFSYM Qdeactivate_mark before the corresponding var.
* keymap.c (syms_of_keymap): Use DEFSYM for Qmenu_bar and Qmode_line
instead of interning their symbols; this avoids duplicates.
(LISP_INITIALLY, TAG_PTR)
(DEFINE_LISP_SYMBOL_BEGIN, DEFINE_LISP_SYMBOL_END, XSYMBOL_INIT):
New macros.
(LISP_INITIALLY_ZERO): Use it.
(enum symbol_interned, enum symbol_redirect, struct Lisp_Symbol)
(EXFUN, DEFUN_ARGS_MANY, DEFUN_ARGS_UNEVALLED, DEFUN_ARGS_*):
Move decls up, to avoid forward uses.  Include globals.h earlier, too.
(make_lisp_symbol): New function.
(XSETSYMBOL): Use it.
(DEFSYM): Now just a placeholder for make-docfile.
* lread.c (DEFINE_SYMBOLS): Define, for globals.h.
(intern_sym): New function, with body taken from old intern_driver.
(intern_driver): Use it.  Last arg is now Lisp integer, not ptrdiff_t.
All uses changed.
(define_symbol): New function.
(init_obarray): Define the C symbols taken from lispsym.
Use plain DEFSYM for Qt and Qnil.
* syntax.c (init_syntax_once): No need to worry about
Qchar_table_extra_slots.

9 years ago* lisp/minibuffer.el (completion-category-defaults): Default to nil.
Stefan Monnier [Mon, 5 Jan 2015 16:34:06 +0000 (11:34 -0500)]
* lisp/minibuffer.el (completion-category-defaults): Default to nil.

(completion-category-defaults): New var.
Set unicode-name to use substring completion.

9 years agoAdd mouse interaction to xref
Dmitry Gutov [Sun, 4 Jan 2015 23:45:30 +0000 (02:45 +0300)]
Add mouse interaction to xref

* lisp/progmodes/xref.el (xref--button-map): New variable.
(xref--mouse-2): New command.
(xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
the inserted references.

9 years ago'temacs -nw' should not call missing functions
Paul Eggert [Sun, 4 Jan 2015 21:20:36 +0000 (13:20 -0800)]
'temacs -nw' should not call missing functions

Without this patch, "temacs -nw" fails with the diagnostic
"emacs: Symbol's function definition is void: frame-windows-min-size"
and messes up the tty's state.
* lib-src/make-docfile.c (write_globals):
Declare Fframe_windows_min_size with ATTRIBUTE_CONST, too.  Sort.
* src/frame.c (Fframe_windows_min_size): New placeholder function.
(syms_of_frame): Define it.
* src/window.c (Fwindow__sanitize_window_sizes): New placeholder.
(syms_of_window): Define it.

9 years ago* INSTALL: Mention 'make WERROR_CFLAGS='.
Paul Eggert [Sun, 4 Jan 2015 09:10:26 +0000 (01:10 -0800)]
* INSTALL: Mention 'make WERROR_CFLAGS='.

9 years ago* doc/lispref/files.texi: Fix xref typo.
Paul Eggert [Sun, 4 Jan 2015 08:50:35 +0000 (00:50 -0800)]
* doc/lispref/files.texi: Fix xref typo.

9 years ago# ChangeLog fixes
Glenn Morris [Sun, 4 Jan 2015 08:22:29 +0000 (00:22 -0800)]
# ChangeLog fixes

9 years agoClarify 'make info'
Paul Eggert [Sun, 4 Jan 2015 03:11:50 +0000 (19:11 -0800)]
Clarify 'make info'

* Makefile.in (info): Use GNU make conditional rather than
an '@' rule with a shell conditional, so that the builder can
see the submake.

9 years agoLess 'make' chatter for oldXMenu
Paul Eggert [Sun, 4 Jan 2015 02:52:41 +0000 (18:52 -0800)]
Less 'make' chatter for oldXMenu

* Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1)
(AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros.
(libXMenu11.a): Use them.

9 years agoLess 'make' chatter for lwlib
Paul Eggert [Sun, 4 Jan 2015 02:51:37 +0000 (18:51 -0800)]
Less 'make' chatter for lwlib

* Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1)
(AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros.
(liblw.a): Use them.

9 years agoLess 'make' chatter for lisp dir
Paul Eggert [Sun, 4 Jan 2015 02:50:41 +0000 (18:50 -0800)]
Less 'make' chatter for lisp dir

* lisp/Makefile.in (THEFILE): Define to be 'no-such-file' by default,
to make it clearer that the caller must specify it.
(compile-onefile): Remove, replacing by ...
($(THEFILE)c): ... new rule.  This lets us use AM_V_GEN here.
($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
Use AM_V_GEN to lessen 'make' chatter.
(.el.elc): Omit duplicate comment.
* src/Makefile.in (%.elc): Adjust to compile-onefile change in
../lisp/Makefile.in.

9 years agoLess 'make' chatter for lib-src
Paul Eggert [Sun, 4 Jan 2015 02:44:23 +0000 (18:44 -0800)]
Less 'make' chatter for lib-src

* Makefile.in (blessmail): Less 'make' chatter here.

9 years agoLess 'make' chatter for leim
Paul Eggert [Sun, 4 Jan 2015 02:43:27 +0000 (18:43 -0800)]
Less 'make' chatter for leim

* Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
(am__v_at_1): New macros, from src/Makefile.in.
(${leimdir}/quail/%.el, misc_convert, ${leimdir}/leim-list.el)
(${leimdir}/ja-dic/ja-dic.el): Use them.

9 years agoLess 'make' chatter for admin/grammars
Paul Eggert [Sun, 4 Jan 2015 02:42:06 +0000 (18:42 -0800)]
Less 'make' chatter for admin/grammars

* grammars/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN)
(am__v_GEN_, am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_)
(am__v_at_0, am__v_at_1): New macros, from src/Makefile.in.
(${bovinedir}/%-by.el, ${bovinedir}/scm-by.el)
(${cedetdir}/semantic/%-wy.el, ${wisentdir}/%-wy.el)
(${wisentdir}/javat-wy.el, ${cedetdir}/srecode/srt-wy.el): Use them.

9 years agoLess 'make' chatter for VCSWITNESS
Paul Eggert [Sun, 4 Jan 2015 02:40:51 +0000 (18:40 -0800)]
Less 'make' chatter for VCSWITNESS

* Makefile.in (dirstate, VCSWITNESS): New macros.
(src): Use them to lessen 'make' chatter.

9 years agoLess 'make' chatter in batch mode
Paul Eggert [Sun, 4 Jan 2015 02:28:35 +0000 (18:28 -0800)]
Less 'make' chatter in batch mode

* admin/unidata/unidata-gen.el (unidata-gen-files):
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
* lisp/files.el (save-buffer, basic-save-buffer):
* lisp/international/quail.el (quail-update-leim-list-file):
Don't output messages like "Generating ..." in batch mode.

9 years agobatch write-region no longer says "Wrote FOO"
Paul Eggert [Sun, 4 Jan 2015 01:48:23 +0000 (17:48 -0800)]
batch write-region no longer says "Wrote FOO"

This cuts down on 'make' chatter a bit.
* doc/lispref/files.texi (Writing to Files):
* etc/NEWS: Document this.
* src/fileio.c (Fwrite_region):
Don't output "Wrote /whatever/foo.elc" if noninteractive.

9 years agoUnbreak `mouse-action' property in text buttons
Dmitry Gutov [Sun, 4 Jan 2015 00:24:53 +0000 (03:24 +0300)]
Unbreak `mouse-action' property in text buttons

* lisp/button.el (push-button): Fix regression from 2012-12-06.

9 years agoRevert previous change to produce_composite_glyph
Paul Eggert [Sat, 3 Jan 2015 22:37:05 +0000 (14:37 -0800)]
Revert previous change to produce_composite_glyph

* term.c (produce_composite_glyph): Revert previous change (Bug#19496).

9 years agoOnly show "Back" when the marker stack is non-empty
Dmitry Gutov [Sat, 3 Jan 2015 14:02:04 +0000 (16:02 +0200)]
Only show "Back" when the marker stack is non-empty

* lisp/menu-bar.el (menu-bar-goto-menu): Use it.

* lisp/progmodes/xref.el (xref-marker-stack-empty-p): New function.

9 years agoDon't remap `next-line' and `previous-line' in xref keymap
Dmitry Gutov [Sat, 3 Jan 2015 13:53:18 +0000 (15:53 +0200)]
Don't remap `next-line' and `previous-line' in xref keymap

* lisp/progmodes/xref.el (xref--window-configuration): New variable.
(xref-show-location-at-point): New command.
(xref--restore-window-configuration): New function.
(xref-next-line, xref-prev-line): Delegate to
`xref-show-location-at-point'.
(xref--location-at-point): Don't signal the error.
(xref-goto-xref): Do that here instead.
(xref--xref-buffer-mode): Add `xref--restore-window-configuration'
to `pre-command-hook'.
(xref--xref-buffer-mode-map): Don't remap `next-line' and
`previous-line'.  Additionally bind `xref-next-line' and
`xref-prev-line' to `n' and `p' respectively.  Bind
`xref-show-location-at-point' to `C-o'.

9 years agoPacify gcc -Wparentheses
Paul Eggert [Sat, 3 Jan 2015 20:19:00 +0000 (12:19 -0800)]
Pacify gcc -Wparentheses

* frame.c (x_set_frame_parameters): Add parens (Bug#19428).

9 years agoTwo fixes for setting up sizes of a new frame (Bug#19428).
Martin Rudalics [Sat, 3 Jan 2015 16:40:40 +0000 (17:40 +0100)]
Two fixes for setting up sizes of a new frame (Bug#19428).

* frame.c (x_set_frame_parameters): Call Fset_frame_size only if
f->can_x_set_window_size is true.
* xterm.c (x_set_window_size_1): Call change_frame_size with
text sizes instead of pixel sizes (Bug#19428).

9 years agoChangeLog fixes
Glenn Morris [Fri, 2 Jan 2015 19:52:03 +0000 (11:52 -0800)]
ChangeLog fixes

9 years agoAuto-commit of loaddefs files.
Glenn Morris [Fri, 2 Jan 2015 11:22:24 +0000 (06:22 -0500)]
Auto-commit of loaddefs files.

9 years agoLess 'make' chatter for unidata
Paul Eggert [Fri, 2 Jan 2015 00:44:53 +0000 (16:44 -0800)]
Less 'make' chatter for unidata

* unidata/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0, am__v_at_1):
New macros, from ../src/Makefile.in.
(${top_srcdir}/src/macuvs.h, %.elc, unidata.txt)
(${unidir}/charprop.el, unifiles): Use them.
(PHONY_EXTRAS): New macro.
(.PHONY, ${unidir}/charprop.el): Use it.
(FORCE): Remove; all uses replaced by PHONY_EXTRAS manipulation.
(${unidir}/charprop.el, extraclean):
Use 'make' conditionals rather than shell.

9 years agoFix copyright years by hand
Paul Eggert [Thu, 1 Jan 2015 22:27:34 +0000 (14:27 -0800)]
Fix copyright years by hand

These are dates that admin/update-copyright did not update, or
updated incorrectly.  Also, back out the copyright-date change to
doc/misc/texinfo.tex, as upstream hasn't updated that date yet.

9 years agoUpdate copyright year to 2015
Paul Eggert [Thu, 1 Jan 2015 22:26:41 +0000 (14:26 -0800)]
Update copyright year to 2015

Run admin/update-copyright.

9 years ago* update-copyright (emacsver): Change to emacsver.tex.in.
Paul Eggert [Thu, 1 Jan 2015 21:43:26 +0000 (13:43 -0800)]
* update-copyright (emacsver): Change to emacsver.tex.in.

9 years agoMerge from gnulib, incorporating:
Paul Eggert [Thu, 1 Jan 2015 19:05:24 +0000 (11:05 -0800)]
Merge from gnulib, incorporating:

2015-01-01 version-etc: new year

9 years agoMerge from origin/emacs-24
Paul Eggert [Thu, 1 Jan 2015 18:47:17 +0000 (10:47 -0800)]
Merge from origin/emacs-24

a5f90a3 * .gitattributes: New file.
5a9710f Make sure tool-bar changes are reflected on display.
93796ba * autogen.sh: Port better to non-GNU 'cp'.
9758516 Fix a typo in a comment in the previous commit.
aa472a3 Fix the pixel coordinates returned by pos-visible-in-window-p.  (Bug#19473)
d261229 * automated/tramp-tests.el (tramp--test-smb-or-windows-nt-p): New defun. (tramp-test30-special-characters): Use it. (tramp--test-check-files): Filter nil file names out.
9278f05 Omit trailing white space
1c93fd3 Sync with Tramp 2.2.11.
96ebe18 Sync with Tramp 2.2.11.
e792450 Sync with Tramp 2.2.11.
2d17e12 Fix ChangeLog entry.
6444482 Fix auto-revert-tail-mode for remote files
b5c9c13 Spelling fixes
c5504d1 src/w32proc.c (Fw32_get_codepage_charset): Doc fix.  (Bug#19458)

Conflicts:
ChangeLog
doc/misc/ChangeLog
lisp/ChangeLog
src/ChangeLog
test/ChangeLog

9 years ago* .gitattributes: New file.
Paul Eggert [Thu, 1 Jan 2015 16:58:26 +0000 (08:58 -0800)]
* .gitattributes: New file.

9 years ago* lisp/textmodes/css-mode.el (scss-mode): Fix typo.
Simen Heggestøyl [Thu, 1 Jan 2015 16:19:02 +0000 (11:19 -0500)]
* lisp/textmodes/css-mode.el (scss-mode): Fix typo.

Fixes: debbugs:19446
9 years agoMake sure tool-bar changes are reflected on display.
Eli Zaretskii [Thu, 1 Jan 2015 15:29:51 +0000 (17:29 +0200)]
Make sure tool-bar changes are reflected on display.

 lisp/tool-bar.el (tool-bar-local-item)
 (tool-bar-local-item-from-menu): Call force-mode-line-update to
 make sure the tool-bar changes show on display.

9 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 1 Jan 2015 11:17:46 +0000 (06:17 -0500)]
Auto-commit of loaddefs files.

9 years agoLess 'make' chatter for doc and lisp
Paul Eggert [Wed, 31 Dec 2014 19:59:02 +0000 (11:59 -0800)]
Less 'make' chatter for doc and lisp

[doc/emacs/ChangeLog]
Less 'make' chatter for Emacs doc
* Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1): New macros, from ../../src/Makefile.in.
(ENVADD, $(buildinfodir)/emacs.info, emacs.html):
Use them.
[doc/lispintro/ChangeLog]
Less 'make' chatter for Emacs doc
* Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1): New macros, from ../../src/Makefile.in.
(ENVADD, $(buildinfodir)/eintr.info, emacs-lisp-intro.html):
Use them.
[doc/lispref/ChangeLog]
Less 'make' chatter for Emacs doc
* Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1): New macros, from ../../src/Makefile.in.
(ENVADD, $(buildinfodir)/elisp.info, elisp.html):
Use them.
[doc/misc/ChangeLog]
Less 'make' chatter for Emacs doc
* Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1): New macros, from ../../src/Makefile.in.
(ENVADD, $(buildinfodir)/%.info, %.html, ${buildinfodir}/ccmode.info)
(${buildinfodir}/efaq%.info, efaq%.html):
Use them.
[lisp/ChangeLog]
Less 'make' chatter in lisp directory
* Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
(custom-deps, finder-data, autoloads, update-subdirs): Use them.

9 years agoLess 'make' chatter at top level
Paul Eggert [Wed, 31 Dec 2014 15:47:41 +0000 (07:47 -0800)]
Less 'make' chatter at top level

* Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
(am__v_at_1): New macros, copied from src/Makefile.in.
($(srcdir)/src/config.in, ${srcdir}/info/dir):
Be less chatty when not verbose.
($(srcdir)/src/stamp-h.in): Simplify with '$@'.

9 years ago* autogen.sh: Port better to non-GNU 'cp'.
Paul Eggert [Wed, 31 Dec 2014 15:15:09 +0000 (07:15 -0800)]
* autogen.sh: Port better to non-GNU 'cp'.

Problem reported by Han Boetes.

9 years agoUse prefix argument in `info-display-manual'
Filipp Gunbin [Wed, 31 Dec 2014 14:14:33 +0000 (17:14 +0300)]
Use prefix argument in `info-display-manual'

* lisp/info.el (info-display-manual): Limit the completion alternatives
to currently visited manuals if prefix argument is non-nil.

9 years agoSimplify setfattr use by assuming GNU make
Paul Eggert [Wed, 31 Dec 2014 07:29:33 +0000 (23:29 -0800)]
Simplify setfattr use by assuming GNU make

* Makefile.in (PAXCTL_if_present, SETFATTR_if_present): New macros.
(emacs$(EXEEXT), temacs$(EXEEXT), bootstrap-emacs$(EXEEXT)): Use them.
Simplify by using GNU make rather than shell conditionals,
by using ln -f rather than rm -f followed by ln,
and by preferring $@ to spelling out the destination.

9 years ago* Makefile.in (semantic): Simplify.
Paul Eggert [Wed, 31 Dec 2014 00:00:03 +0000 (16:00 -0800)]
* Makefile.in (semantic): Simplify.

9 years agoMulti-page isearch support in eww
Juri Linkov [Tue, 30 Dec 2014 23:50:06 +0000 (01:50 +0200)]
Multi-page isearch support in eww

* lisp/net/eww.el (eww-isearch-next-buffer): New function.
(eww-mode): Set multi-isearch-next-buffer-function to it.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg02300.html

9 years ago(xref-find-definitions): Mention "no identifier at point" case
Dmitry Gutov [Tue, 30 Dec 2014 19:54:03 +0000 (21:54 +0200)]
(xref-find-definitions): Mention "no identifier at point" case

* lisp/progmodes/xref.el (xref-find-definitions): Mention "no
identifier at point" case in the docstring.

9 years agoFix a typo in a comment in the previous commit.
Eli Zaretskii [Tue, 30 Dec 2014 19:51:34 +0000 (21:51 +0200)]
Fix a typo in a comment in the previous commit.

9 years agoFix the pixel coordinates returned by pos-visible-in-window-p. (Bug#19473)
Eli Zaretskii [Tue, 30 Dec 2014 17:29:24 +0000 (19:29 +0200)]
Fix the pixel coordinates returned by pos-visible-in-window-p.  (Bug#19473)

 src/xdisp.c (pos_visible_p): Fix up the X coordinate for
 right-to-left screen lines.

9 years ago* automated/tramp-tests.el (tramp--test-smb-or-windows-nt-p):
Michael Albinus [Tue, 30 Dec 2014 11:45:48 +0000 (12:45 +0100)]
* automated/tramp-tests.el (tramp--test-smb-or-windows-nt-p):
New defun.
(tramp-test30-special-characters): Use it.
(tramp--test-check-files): Filter nil file names out.

9 years agoUpdate documentation of Temporary Displays.
Martin Rudalics [Tue, 30 Dec 2014 09:56:43 +0000 (10:56 +0100)]
Update documentation of Temporary Displays.

* display.texi (Temporary Displays): Amend description of
`with-temp-buffer-window'.  Add descriptions for
`with-current-buffer-window', `with-displayed-buffer-window' and
`temp-buffer-resize-mode', `temp-buffer-max-height' and
`temp-buffer-max-width'.

* frame.c (frame_inhibit_implied_resize): Escape left paren in
doc-string.

9 years agoOmit trailing white space
Paul Eggert [Tue, 30 Dec 2014 06:39:10 +0000 (22:39 -0800)]
Omit trailing white space

This should simplify switching to automated ChangeLogs.

9 years ago* PROBLEMS: Omit obsolete mention of FQDNs.
Paul Eggert [Tue, 30 Dec 2014 04:42:26 +0000 (20:42 -0800)]
* PROBLEMS: Omit obsolete mention of FQDNs.

9 years agoHide "Set Tags File Name" and the separator when tags are not used
Dmitry Gutov [Tue, 30 Dec 2014 03:18:48 +0000 (05:18 +0200)]
Hide "Set Tags File Name" and the separator when tags are not used

* lisp/menu-bar.el (menu-bar-goto-uses-etags-p): New function.
(menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
and `separator-tag-file' items.

9 years agoFix the MS-Windows build.
Eli Zaretskii [Mon, 29 Dec 2014 21:02:22 +0000 (23:02 +0200)]
Fix the MS-Windows build.

 src/sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this
 file doesn't compile on MS-Windows.

9 years ago* obsolete/pc-select.el (pc-selection-mode): Use system-type.
Paul Eggert [Mon, 29 Dec 2014 20:45:25 +0000 (12:45 -0800)]
* obsolete/pc-select.el (pc-selection-mode): Use system-type.

This is instead of system-name, which is both wrong here and obsolete.

9 years agoFix previous patch to match its commit message
Paul Eggert [Mon, 29 Dec 2014 20:39:58 +0000 (12:39 -0800)]
Fix previous patch to match its commit message

9 years agosystem-name's returned value can vary
Paul Eggert [Mon, 29 Dec 2014 20:37:53 +0000 (12:37 -0800)]
system-name's returned value can vary

Also, the system-name variable is now obsolete.
Fixes Bug#19438.
* doc/lispref/os.texi (System Environment):
* etc/NEWS: Document this.
* doc/misc/efaq.texi:
(Displaying the current file name in the titlebar):
* lisp/desktop.el (desktop-save-frameset):
* lisp/dnd.el (dnd-get-local-file-uri):
* lisp/gnus/message.el (message-make-fqdn):
* lisp/gnus/nnvirtual.el (nnvirtual-retrieve-headers)
(nnvirtual-update-xref-header):
* lisp/nxml/rng-uri.el (rng-uri-file-name-1):
* lisp/org/org-clock.el (org-clock-save):
* src/filelock.c (current_lock_owner):
* src/xrdb.c (get_environ_db):
* src/xterm.c (same_x_server):
* src/xterm.c (x_term_init):
Prefer (system-name) to system-name, and avoid naming
locals 'system-name'.
* doc/misc/smtpmail.texi (Server workarounds): Fix grammar.
* lisp/startup.el (system-name): Now an obsolete variable.
* src/editfns.c (cached_system_name): New static var.
(init_and_cache_system_name): New function.
(init_editfns, Fsystem_name): Use it.
(syms_of_editfns): Initialize it and Vsystem_name to the same value.
* src/sysdep.c [HAVE_SOCKETS]: Don't include <sys/socket.h>, <netdb.h>.
(h_errno) [TRY_AGAIN && !HAVE_H_ERRNO]: Remove decl.
(init_system_name) [HAVE_SOCKETS]: Don't canonicalize the name.
Don't create a new string if the current value is already correct.

9 years agoSync with Tramp 2.2.11.
Michael Albinus [Mon, 29 Dec 2014 16:37:37 +0000 (17:37 +0100)]
Sync with Tramp 2.2.11.

* trampver.texi: Update release number.

9 years agoSync with Tramp 2.2.11.
Michael Albinus [Mon, 29 Dec 2014 16:35:09 +0000 (17:35 +0100)]
Sync with Tramp 2.2.11.

* automated/tramp-tests.el (tramp-test30-special-characters):
Skip test on MS-Windows.

9 years agoSync with Tramp 2.2.11.
Michael Albinus [Mon, 29 Dec 2014 16:31:15 +0000 (17:31 +0100)]
Sync with Tramp 2.2.11.

* net/tramp-compat.el (top): Require cl-macs for Emacs 22.
Make an alias for `default-toplevel-value' if it doesn't exist.

* net/tramp-smb.el (tramp-smb-handle-copy-directory):
Use `tramp-compat-delete-directory'.

* net/trampver.el: Update release number.

9 years agoFix ChangeLog entry.
Michael Albinus [Mon, 29 Dec 2014 15:27:09 +0000 (16:27 +0100)]
Fix ChangeLog entry.

9 years agoUpdate ChangeLog for the latest menu-bar.el change
Dmitry Gutov [Mon, 29 Dec 2014 15:04:51 +0000 (17:04 +0200)]
Update ChangeLog for the latest menu-bar.el change

9 years agoFix auto-revert-tail-mode for remote files
Filipp Gunbin [Mon, 29 Dec 2014 14:33:11 +0000 (17:33 +0300)]
Fix auto-revert-tail-mode for remote files

Fixes: debbugs:19449
* autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode for
  remote files (bug#19449)

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs.
K. Handa [Mon, 29 Dec 2014 13:54:07 +0000 (22:54 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs.

9 years agointernational/mule.el (make-translation-table-from-alist): Accept nil or zero-length...
K. Handa [Mon, 29 Dec 2014 13:39:38 +0000 (22:39 +0900)]
international/mule.el (make-translation-table-from-alist): Accept nil or zero-length vector for FROM and TO.

9 years agolisp/gnus/gnus-cloud.el: Start collecting a newsrc
Lars Ingebrigtsen [Mon, 29 Dec 2014 13:04:25 +0000 (13:04 +0000)]
lisp/gnus/gnus-cloud.el: Start collecting a newsrc

9 years agoMake eww rendering default to `window-width' again
Lars Ingebrigtsen [Mon, 29 Dec 2014 12:47:43 +0000 (13:47 +0100)]
Make eww rendering default to `window-width' again

* lisp/gnus/mm-decode.el (mm-shr): Bind `shr-width' to `fill-column'
so that lines don't get overlong when responding.

* lisp/net/eww.el (eww-mode): Truncate overlong lines for prettier
display when resizing.

* lisp/net/shr.el (shr-width): Default to using the window width when
rendering.

9 years agoCONTRIBUTE: Use consistent spelling for 'ChangeLog'.
Ulrich Müller [Mon, 29 Dec 2014 10:20:50 +0000 (11:20 +0100)]
CONTRIBUTE: Use consistent spelling for 'ChangeLog'.

9 years agoUnbreak jumping to an alias's definition
Dmitry Gutov [Mon, 29 Dec 2014 02:21:51 +0000 (04:21 +0200)]
Unbreak jumping to an alias's definition

* lisp/emacs-lisp/find-func.el (find-function-library): Return a pair
(ORIG-FUNCTION . LIBRARY) instead of just its second element.
(find-function-noselect): Use it.

* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
`elisp--xref-identifier-location', incorporate logic from
`elisp--xref-find-definitions', use the changed
`find-function-library' return value.

9 years agoSmall fixes in etc/grep.txt
Juri Linkov [Mon, 29 Dec 2014 00:54:41 +0000 (02:54 +0200)]
Small fixes in etc/grep.txt

9 years agoMore fixes to support multi-line search in comint
Juri Linkov [Mon, 29 Dec 2014 00:52:38 +0000 (02:52 +0200)]
More fixes to support multi-line search in comint

* lisp/comint.el (comint-history-isearch-message): Use field-beginning
instead of comint-line-beginning-position - that's more fixes for
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
(comint-history-isearch-message): Fix args of isearch-message-prefix.

9 years ago* lisp/vc/vc-dir.el (vc-dir-display-file): New command.
Juri Linkov [Mon, 29 Dec 2014 00:47:05 +0000 (02:47 +0200)]
* lisp/vc/vc-dir.el (vc-dir-display-file): New command.

(vc-dir-mode-map): Bind it to "\C-o".
(vc-dir-menu-map): Add it to menu.

Fixes: debbugs:19450
9 years agoDeclare many etags command obsolete; update the goto menu
Dmitry Gutov [Mon, 29 Dec 2014 00:36:57 +0000 (02:36 +0200)]
Declare many etags command obsolete; update the goto menu

* lisp/menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
with xref ones.

* lisp/progmodes/etags.el (find-tag-other-window)
(find-tag-other-frame, find-tag-regexp, tags-loop-continue)
(tags-apropos): Declare obsolete.

9 years agoSpelling fixes
Paul Eggert [Sun, 28 Dec 2014 23:06:16 +0000 (15:06 -0800)]
Spelling fixes

9 years agosrc/w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458)
Eli Zaretskii [Sun, 28 Dec 2014 18:32:53 +0000 (20:32 +0200)]
src/w32proc.c (Fw32_get_codepage_charset): Doc fix.  (Bug#19458)

9 years agoMerge from origin/emacs-24
Paul Eggert [Sun, 28 Dec 2014 18:17:48 +0000 (10:17 -0800)]
Merge from origin/emacs-24

f646cd9 * build-aux/git-hooks/commit-msg: Allow tabs.

9 years agoMerge from origin/emacs-24
Paul Eggert [Sun, 28 Dec 2014 18:14:19 +0000 (10:14 -0800)]
Merge from origin/emacs-24

The following commits were skipped:

39eaef9 lisp/international/mule.el (define-coding-system): Fix typos in the doc string. Add missing ChangeLog entry for the previous commit.
df932d8 lisp/international/mule.el (define-coding-system): Improve docstring.

9 years ago* build-aux/git-hooks/commit-msg: Allow tabs.
Paul Eggert [Sun, 28 Dec 2014 18:05:14 +0000 (10:05 -0800)]
* build-aux/git-hooks/commit-msg: Allow tabs.

Treat them as if they were expanded to spaces, with tab stops
every 8 columns.

9 years agoFix produce_composite_width typo
Paul Eggert [Sun, 28 Dec 2014 17:00:14 +0000 (09:00 -0800)]
Fix produce_composite_width typo

* term.c (produce_composite_glyph):
Fix typo that confused number of columns for pixel width.

9 years agolisp/international/mule.el (define-coding-system): Fix typos in the doc string.
Eli Zaretskii [Sun, 28 Dec 2014 15:43:43 +0000 (17:43 +0200)]
lisp/international/mule.el (define-coding-system): Fix typos in the doc string.
Add missing ChangeLog entry for the previous commit.

Backported from trunk; do not merge back.

(cherry picked from commit 79e2dade762491c58aa6396e35bae0ef418bafc6)