]> code.delx.au - gnu-emacs/log
gnu-emacs
10 years ago* autoinsert.el (auto-insert-alist): Make the value of
Leo Liu [Mon, 23 Sep 2013 04:21:41 +0000 (12:21 +0800)]
* autoinsert.el (auto-insert-alist): Make the value of
lexical-binding match its file setting.

10 years agosrc/w32console.c, src/w32term.c: Remove unused variables.
Juanma Barranquero [Mon, 23 Sep 2013 03:30:55 +0000 (05:30 +0200)]
src/w32console.c, src/w32term.c: Remove unused variables.

src/w32console.c (initialize_w32_display): Remove unused variable hlinfo.
src/w32term.c (w32_scroll_bar_handle_click): Remove unused variable f.

10 years agolisp/vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
Juanma Barranquero [Mon, 23 Sep 2013 02:59:30 +0000 (04:59 +0200)]
lisp/vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.

10 years agoRemove references to universal-argument-num-events.
Juanma Barranquero [Mon, 23 Sep 2013 02:58:02 +0000 (04:58 +0200)]
Remove references to universal-argument-num-events.

* lisp/autoarg.el (autoarg-kp-digit-argument):
* lisp/electric.el (Electric-command-loop):
* lisp/kmacro.el (kmacro-step-edit-insert):
  Do not set universal-argument-num-events.

10 years agoTell valgrind about conservative GC regions and suppress spurious
Daniel Colascione [Mon, 23 Sep 2013 02:34:52 +0000 (18:34 -0800)]
Tell valgrind about conservative GC regions and suppress spurious
warings.

* alloc.c (USE_VALGRIND): New macro; on by default
when ENABLE_CHECKING.
(mark_maybe_object,mark_maybe_pointer)
[USE_VALGRIND]: Mark conservatively-scanned regions valid for
valgrind purposes.
(valgrind_p) [USE_VALGRIND]: New variable.
(init_alloc) [USE_VALGRIND]: Initialize valgrind_p.

10 years agoFix compiler warnings from XCode 5.0 on OSX.
Jan Djärv [Sun, 22 Sep 2013 14:26:10 +0000 (16:26 +0200)]
Fix compiler warnings from XCode 5.0 on OSX.

* nsterm.m (setMarkedText:selectedRange:):
(deleteWorkingText):
* nsmenu.m (addDisplayItemWithImage:idx:tag:helpText:enabled:):
* nsfont.m (ns_get_covering_families, ns_findfonts): Cast NSLog
argument to unsigned long to avoid warning.
(nsfont_draw): Use 0.25 instead of  Fix2X (kATSItalicQDSkew).

* process.c (wait_reading_process_output): Change int pnamelen to
socklen_t.

10 years ago* doc/lispref/nonascii.texi (Default Coding Systems): Typo fix.
Xue Fuqiao [Sun, 22 Sep 2013 12:49:53 +0000 (20:49 +0800)]
* doc/lispref/nonascii.texi (Default Coding Systems): Typo fix.

10 years ago* files.el (interpreter-mode-alist): Add octave.
Leo Liu [Sun, 22 Sep 2013 12:23:20 +0000 (20:23 +0800)]
* files.el (interpreter-mode-alist): Add octave.

10 years ago* conf_post.h (assume): Fix compiler error: x shall be cond.
Jan Djärv [Sun, 22 Sep 2013 11:07:17 +0000 (13:07 +0200)]
* conf_post.h (assume): Fix compiler error: x shall be cond.

10 years agoSuppress unused variable warning when compiling without a window system.
Daniel Colascione [Sun, 22 Sep 2013 09:48:21 +0000 (01:48 -0800)]
Suppress unused variable warning when compiling without a window system.

10 years agoAdd set operations for bool-vector.
Daniel Colascione [Sun, 22 Sep 2013 09:31:55 +0000 (01:31 -0800)]
Add set operations for bool-vector.

http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00404.html

* data.c (Qbool_vector_p): New symbol.
(bool_vector_spare_mask,popcount_size_t_generic)
(popcount_size_t_msc,popcount_size_t_gcc)
(popcount_size_t)
(bool_vector_binop_driver)
(count_trailing_zero_bits,size_t_to_host_endian)
(Fbool_vector_exclusive_or)
(Fbool_vector_union)
(Fbool_vector_intersection,Fbool_vector_set_difference)
(Fbool_vector_subsetp,Fbool_vector_not)
(Fbool_vector_count_matches)
(Fbool_vector_count_matches_at): New functions.
(syms_of_data): Intern new symbol, functions.
* alloc.c (bool_vector_payload_bytes): New function.
(Fmake_bool_vector): Instead of calling Fmake_vector,
which performs redundant initialization and argument checking,
just call allocate_vector ourselves.  Make sure we clear any
terminating padding to zero.
(vector_nbytes,sweep_vectors): Use bool_vector_payload_bytes
instead of open-coding the size calculation.
(vroundup_ct): New macro.
(vroundup): Assume argument >= 0; invoke vroundup_ct.
* casetab.c (shuffle,set_identity): Change lint_assume to assume.
* composite.c (composition_gstring_put_cache): Change
lint_assume to assume.
* conf_post.h (assume): New macro.
(lint_assume): Remove.
* dispnew.c (update_frame_1): Change lint_assume to assume.
* ftfont.c (ftfont_shape_by_flt): Change lint_assume
to assume.
* image.c (gif_load): Change lint_assume to assume.
* lisp.h (eassert_and_assume): New macro.
(Qbool_vector_p): Declare.
(CHECK_BOOL_VECTOR,ROUNDUP,BITS_PER_SIZE_T): New macros.
(swap16,swap32,swap64): New inline functions.
* macfont.c (macfont_shape): Change lint_assume to assume.
* ralloc.c: Rename ROUNDUP to PAGE_ROUNDUP throughout.
* xsettings.c (parse_settings): Use new swap16 and
swap32 from lisp.h instead of file-specific macros.

10 years agoFix bug #15365 with aborts in try_window_id.
Eli Zaretskii [Sun, 22 Sep 2013 07:13:14 +0000 (10:13 +0300)]
Fix bug #15365 with aborts in try_window_id.

 src/xdisp.c (try_window_id): Don't abort if cursor row could not be
 found (which can legitimately happen when the glyph row at the
 window start is disabled in the current_matrix.

10 years agoFix syntax.h bug introduced by recent INLINE change.
Paul Eggert [Sun, 22 Sep 2013 06:22:05 +0000 (23:22 -0700)]
Fix syntax.h bug introduced by recent INLINE change.

syntax.h defined an extern inline function SYNTAX_ENTRY that was
conditionally compiled one way in some modules, and a different
way in others.  This doesn't work with extern inline functions,
which must have the same definition in all modules, because the
defining code might be shared across modules, depending on the
implementation.  Symptoms reported by Martin Rudalics in:
http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00414.html
* regex.c, syntax.c (SYNTAX_ENTRY_VIA_PROPERTY): Remove.
(SYNTAX, SYNTAX_ENTRY, SYNTAX_WITH_FLAGS): New macros,
overriding the corresponding functions in syntax.h.
* syntax.h (syntax_property_entry, syntax_property_with_flags)
(syntax_property): New inline functions.
(SYNTAX_ENTRY, SYNTAX_WITH_FLAGS, SYNTAX):
Rewrite in terms of these new functions.

10 years ago@refill is no longer needed.
Xue Fuqiao [Sun, 22 Sep 2013 02:13:44 +0000 (10:13 +0800)]
@refill is no longer needed.

* doc/emacs/fixit.texi (Transpose):
(Fixing Case): Remove @refill.

10 years agoC++: fontify identifier in declaration following "public:" correctly.
Alan Mackenzie [Sat, 21 Sep 2013 17:21:29 +0000 (17:21 +0000)]
C++: fontify identifier in declaration following "public:" correctly.
* progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
to match "public", etc.
(c-decl-prefix-re): Add ":" into the C++ value.
* progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
bit.  Add a check for a ":" preceded by "public", etc.

10 years agoFix bug #15426 with directory-files invoked from a unibyte buffer.
Eli Zaretskii [Sat, 21 Sep 2013 11:48:19 +0000 (14:48 +0300)]
Fix bug #15426 with directory-files invoked from a unibyte buffer.

 src/dired.c (directory_files_internal): Use multibyte_chars_in_text,
 not chars_in_text, whose result depends on the multibyteness of
 the current buffer.

10 years agoAdd information about carriage-return in lispref.
Xue Fuqiao [Sat, 21 Sep 2013 10:58:39 +0000 (18:58 +0800)]
Add information about carriage-return in lispref.

* doc/lispref/nonascii.texi (Coding System Basics): Add information about carriage-return.

10 years agoRecognize OBJFILE-gdb.gdb GDB script files.
Eli Zaretskii [Sat, 21 Sep 2013 08:49:31 +0000 (11:49 +0300)]
Recognize OBJFILE-gdb.gdb GDB script files.

 lisp/files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
 recognized by GDB 7.5 and later.

10 years ago* doc/emacs/maintaining.texi (Log Buffer): Use @emph instead of @strong.
Xue Fuqiao [Sat, 21 Sep 2013 08:31:45 +0000 (16:31 +0800)]
* doc/emacs/maintaining.texi (Log Buffer): Use @emph instead of @strong.

10 years agoComments.
Xue Fuqiao [Sat, 21 Sep 2013 08:22:57 +0000 (16:22 +0800)]
Comments.

10 years agoAdd keybinding for vc-log-incoming in vc-dir.
Xue Fuqiao [Sat, 21 Sep 2013 08:16:13 +0000 (16:16 +0800)]
Add keybinding for vc-log-incoming in vc-dir.

* doc/emacs/maintaining.texi (VC Directory Commands): Add keybinding for
vc-log-incoming in vc-dir.
* lisp/vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.

10 years ago* erc.el (erc-invite-only-mode, erc-toggle-channel-mode):
Glenn Morris [Sat, 21 Sep 2013 00:52:07 +0000 (17:52 -0700)]
* erc.el (erc-invite-only-mode, erc-toggle-channel-mode):
Remove unused local variable `erc-force-send'.

10 years agoPort recent change to hosts where pointers aren't 'long'.
Paul Eggert [Fri, 20 Sep 2013 20:23:20 +0000 (13:23 -0700)]
Port recent change to hosts where pointers aren't 'long'.

* xterm.c (x_send_scroll_bar_event, x_scroll_bar_to_input_event):
Don't assume that pointers are the same width as 'long'.
Add a compile-time check that a pointer fits into two X slots.

10 years ago* lisp/subr.el (internal--call-interactively): New const.
Ryan [Fri, 20 Sep 2013 19:59:42 +0000 (15:59 -0400)]
* lisp/subr.el (internal--call-interactively): New const.
(called-interactively-p): Use it.
* test/automated/advice-tests.el (advice-test-called-interactively-p-around)
(advice-test-called-interactively-p-filter-args)
(advice-test-called-interactively-p-around): New tests.

Fixes: debbugs:3984
10 years ago* lisp/cedet/semantic.el (semantic-new-buffer-fcn-was-run, semantic-active-p):
Glenn Morris [Fri, 20 Sep 2013 17:21:28 +0000 (13:21 -0400)]
* lisp/cedet/semantic.el (semantic-new-buffer-fcn-was-run, semantic-active-p):
Move from here...
* lisp/cedet/semantic/fw.el: ...to here.

10 years ago* INSTALL: Update m17n details.
Glenn Morris [Fri, 20 Sep 2013 16:33:46 +0000 (09:33 -0700)]
* INSTALL: Update m17n details.

10 years agoA simpler, centralized INLINE.
Paul Eggert [Fri, 20 Sep 2013 15:34:36 +0000 (08:34 -0700)]
A simpler, centralized INLINE.

* lib-src/profile.c (INLINE): New macro.
(SYSTIME_INLINE): Remove.
* src/conf_post.h (INLINE): Define only if not already defined.
This allows us to use a single INLINE, defined by one file
per executable.
* src/emacs.c (INLINE): Define it.
Also, include category.h, charset.h, composite.h, dispextern.h,
syntax.h, systime.h, so that their INLINE definitions are expanded
properly for Emacs.
* src/blockinput.h, src/keyboard.c (BLOCKINPUT_INLINE):
* src/buffer.h, src/buffer.c (BUFFER_INLINE):
* src/category.h, src/category.c (CATEGORY_INLINE):
* src/character.h, src/character.c (CHARACTER_INLINE):
* src/charset.h, src/charset.c (CHARSET_INLINE):
* src/composite.h, src/composite.c (COMPOSITE_INLINE):
* src/dispextern.h, src/dispnew.c (DISPEXTERN_INLINE):
* src/frame.h, src/frame.c (FRAME_INLINE):
* src/intervals.h, src/intervals.c (INTERVALS_INLINE):
* src/keyboard.h, src/keyboard.c (KEYBOARD_INLINE):
* src/lisp.h, src/alloc.c (LISP_INLINE):
* src/process.h, src/process.c (PROCESS_INLINE):
* src/syntax.h, src/syntax.c (SYNTAX_INLINE):
* src/systime.h, src/sysdep.c (SYSTIME_INLINE):
* src/termhooks.h, src/terminal.h (TERMHOOKS_INLINE):
* src/window.h, src/window.c (WINDOW_INLINE):
Remove.  All uses replaced with INLINE.

10 years agoChecked TUTORIAL.cn.
Xue Fuqiao [Fri, 20 Sep 2013 10:22:20 +0000 (18:22 +0800)]
Checked TUTORIAL.cn.

10 years agoAuto-commit of generated files.
Glenn Morris [Fri, 20 Sep 2013 10:17:44 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years ago* INSTALL: New homepage of libtiff.
Xue Fuqiao [Fri, 20 Sep 2013 09:19:56 +0000 (17:19 +0800)]
* INSTALL: New homepage of libtiff.

10 years agoAvoid replacing 'struct timeval' and compiling lib/gettimeofday.c on MinGW.
Eli Zaretskii [Fri, 20 Sep 2013 07:21:20 +0000 (10:21 +0300)]
Avoid replacing 'struct timeval' and  compiling lib/gettimeofday.c on MinGW.

 nt/mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
 to avoid gnulib replacement of 'struct timeval' and the resulting
 compilation of lib/gettimeofday.c with incompatible version of
 gettimeofday.  Related discussions on emacs-devel:
 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html

10 years ago* admin/FOR-RELEASE: Remove outdated info.
Xue Fuqiao [Fri, 20 Sep 2013 05:52:34 +0000 (13:52 +0800)]
* admin/FOR-RELEASE: Remove outdated info.

10 years agoRename cvs-append-to-ignore to vc-cvs-append-to-ignore.
Xue Fuqiao [Fri, 20 Sep 2013 05:39:53 +0000 (13:39 +0800)]
Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.

2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>

* lisp/vc/pcvs.el (cvs-mode-ignore):
* lisp/vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore): Rename
cvs-append-to-ignore to vc-cvs-append-to-ignore.

If/when someone complains about her package calling that function we
can add an obsolete alias at that point.

10 years agoWork around performance bug on OS X 10.8 and earlier.
Paul Eggert [Fri, 20 Sep 2013 03:41:37 +0000 (20:41 -0700)]
Work around performance bug on OS X 10.8 and earlier.

Perhaps Apple will fix this bug some day.
See the thread starting with Daniel Colascione's email in:
http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00343.html
* configure.ac (FORTIFY_SOUR): New verbatim section.

10 years ago* xterm.c (handle_one_xevent): Revert part of 2013-09-17 change
Dmitry Antipov [Fri, 20 Sep 2013 03:30:50 +0000 (07:30 +0400)]
* xterm.c (handle_one_xevent): Revert part of 2013-09-17 change
to avoid Bug#15398.

10 years agoMerge from gnulib.
Paul Eggert [Thu, 19 Sep 2013 21:40:08 +0000 (14:40 -0700)]
Merge from gnulib.

This incorporates the following changes:
2013-09-19 stdio: OS X port of putc_unlocked + extern inline
2013-09-19 signal: OS X port of sigaddset etc. + extern inline
2013-09-19 extern-inline: do not always suppress extern inline on OS X
2013-09-17 getgroups: statement without effect
2013-08-28 headers: check that _GL_INLINE_HEADER_BEGIN is defined

10 years ago* lisp/eshell/em-ls.el: Use advice. Remove redundant :group keywords.
Stefan Monnier [Thu, 19 Sep 2013 20:51:33 +0000 (16:51 -0400)]
* lisp/eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
(eshell-ls-orig-insert-directory): Remove.
(eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
(eshell-ls-use-in-dired): Use advice-add/remove.
(eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
Add `orig-fun' arg for use in :around advice.
Make it check (redundantly) eshell-ls-use-in-dired.

10 years ago* lisp/emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
Glenn Morris [Thu, 19 Sep 2013 20:31:54 +0000 (16:31 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.

10 years ago* lisp/simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
Glenn Morris [Thu, 19 Sep 2013 20:31:26 +0000 (16:31 -0400)]
* lisp/simple.el (x-selection-owner-p, x-selection-exists-p): Declare.

10 years ago* lisp/emacs-lisp/eieio.el (class-parent): Undo previous change.
Glenn Morris [Thu, 19 Sep 2013 20:11:48 +0000 (16:11 -0400)]
* lisp/emacs-lisp/eieio.el (class-parent): Undo previous change.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00354.html

10 years agoFix previous patch.
Michael Albinus [Thu, 19 Sep 2013 19:14:26 +0000 (21:14 +0200)]
Fix previous patch.

10 years ago* net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
Michael Albinus [Thu, 19 Sep 2013 11:08:01 +0000 (13:08 +0200)]
* net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
(tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
(tramp-get-remote-python): New defuns.
(tramp-get-remote-uid-with-perl)
(tramp-get-remote-gid-with-perl): New defuns.  Perl code
contributed by yary <not.com@gmail.com> (tiny change).
(tramp-get-remote-uid-with-python)
(tramp-get-remote-gid-with-python): New defuns.  Python code
contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
(tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.

10 years agoAuto-commit of generated files.
Glenn Morris [Thu, 19 Sep 2013 10:17:39 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agoFix MinGW builds from inside the MSYS installation tree.
Eli Zaretskii [Thu, 19 Sep 2013 08:43:01 +0000 (11:43 +0300)]
Fix MinGW builds from inside the MSYS installation tree.

 configure.ac <srcdir> [MINGW32]: Make sure the value of 'srcdir'
 is in the full /d/foo/bar form.  See the discussion in
 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00210.html,
 and in particular
 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00252.html
 and its followups, for the details.

10 years agoFix a compiler warning on MS-Windows due to recent changes.
Eli Zaretskii [Thu, 19 Sep 2013 08:25:43 +0000 (11:25 +0300)]
Fix a compiler warning on MS-Windows due to recent changes.

 src/w32reg.c (w32_get_string_resource): Make the first 2 arguments
 'const char *' to avoid compiler warnings due to similar change in
 the prototype of x_get_string_resource.

10 years ago* xterm.h (struct x_display_info): New members last_mouse_glyph_frame,
Dmitry Antipov [Thu, 19 Sep 2013 07:48:53 +0000 (11:48 +0400)]
* xterm.h (struct x_display_info): New members last_mouse_glyph_frame,
last_mouse_scroll_bar, last_mouse_glyph and last_mouse_movement_time,
going to replace static variables below.  Adjust comments.
* xterm.c (last_mouse_glyph, last_mouse_glyph_frame)
(last_mouse_scroll_bar, last_mouse_movement_time): Remove.
(note_mouse_movement, XTmouse_position, x_scroll_bar_note_movement)
(x_scroll_bar_report_motion, handle_one_xevent, syms_of_xterm):
Related users changed.
* w32term.h (struct w32_display_info): New members last_mouse_glyph_frame,
last_mouse_scroll_bar, last_mouse_scroll_bar_pos, last_mouse_glyph and
last_mouse_movement_time, going to replace static variables below.
Adjust comments.
* w32term.c (last_mouse_glyph_frame, last_mouse_scroll_bar)
(last_mouse_scroll_bar_pos, last_mouse_glyph, last_mouse_movement_time):
Remove.
(note_mouse_movement, w32_mouse_position, w32_scroll_bar_handle_click)
(x_scroll_bar_report_motion, syms_of_w32term): Related users changed.
* nsterm.h (struct ns_display_info): New members last_mouse_glyph,
last_mouse_movement_time and last_mouse_scroll_bar, going to replace
static variables below.
* nsterm.m (last_mouse_glyph, last_mouse_movement_time)
(last_mouse_scroll_bar): Remove.
(note_mouse_movement, ns_mouse_position, mouseMoved, mouseEntered)
(mouseExited): Related users changed.

10 years ago* emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
Glenn Morris [Thu, 19 Sep 2013 07:14:53 +0000 (00:14 -0700)]
* emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.

10 years ago* eshell/em-unix.el (eshell-remove-entries):
Glenn Morris [Thu, 19 Sep 2013 06:56:47 +0000 (23:56 -0700)]
* eshell/em-unix.el (eshell-remove-entries):
Rename argument to avoid name-clash with global `top-level'.

10 years agoDo not use external array to process X scroll bar messages.
Dmitry Antipov [Thu, 19 Sep 2013 05:21:32 +0000 (09:21 +0400)]
Do not use external array to process X scroll bar messages.
* xterm.c (scroll_bar_windows, scroll_bar_windows_size): Remove.
(x_send_scroll_bar_event): Pack window pointer into two slots
of XClientMessageEvent if we're 64-bit.  Adjust comment.
(x_scroll_bar_to_input_event): Unpack accordingly.

10 years agoRevise previous esh-proc change
Glenn Morris [Thu, 19 Sep 2013 03:44:55 +0000 (20:44 -0700)]
Revise previous esh-proc change

* eshell/esh-proc.el (eshell-kill-process-function):
Remove eshell-reset-after-proc from eshell-kill-hook if present.
(eshell-reset-after-proc): Remove unused arg `proc'.

10 years ago* eshell/esh-proc.el (eshell-reset-after-proc): Mark unused arg.
Glenn Morris [Thu, 19 Sep 2013 02:55:00 +0000 (19:55 -0700)]
* eshell/esh-proc.el (eshell-reset-after-proc): Mark unused arg.

10 years ago* eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
Glenn Morris [Thu, 19 Sep 2013 02:48:01 +0000 (19:48 -0700)]
* eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
(directory-files-and-attributes): Mark unused arg.

10 years ago* eshell/em-unix.el (eshell-remove-entries): Remove unused arg `path'.
Glenn Morris [Thu, 19 Sep 2013 02:42:36 +0000 (19:42 -0700)]
* eshell/em-unix.el (eshell-remove-entries): Remove unused arg `path'.
Update callers.

10 years ago* eshell/em-hist.el (eshell-hist-parse-arguments): Remove unused arg `silent'.
Glenn Morris [Thu, 19 Sep 2013 02:38:25 +0000 (19:38 -0700)]
* eshell/em-hist.el (eshell-hist-parse-arguments): Remove unused arg `silent'.
Update callers.

10 years ago* erc/erc-list.el (erc-list-handle-322): Mark unused argument.
Glenn Morris [Thu, 19 Sep 2013 02:32:27 +0000 (19:32 -0700)]
* erc/erc-list.el (erc-list-handle-322): Mark unused argument.

10 years agoAddress some "unused lexical argument" warnings in eshell
Glenn Morris [Thu, 19 Sep 2013 02:28:20 +0000 (19:28 -0700)]
Address some "unused lexical argument" warnings in eshell

* eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
Fix (f)boundp mix-up.

* eshell/em-smart.el (eshell-smart-scroll-window)
(eshell-disable-after-change):
* eshell/em-term.el (eshell-term-sentinel): Mark unused arg.

10 years agoAddress some "unused lexical argument" warnings in erc
Glenn Morris [Thu, 19 Sep 2013 02:21:31 +0000 (19:21 -0700)]
Address some "unused lexical argument" warnings in erc

* erc/erc.el (erc-open-server-buffer-p): Actually use the `buffer' arg.
* erc/erc-backend.el (erc-server-process-alive): Take optional `buffer' arg.

* erc/erc-button.el (erc-button-click-button, erc-button-press-button):
Mark unused arguments.

10 years agoFix fontification of type when followed by "const".
Alan Mackenzie [Wed, 18 Sep 2013 20:47:37 +0000 (20:47 +0000)]
Fix fontification of type when followed by "const".
* progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
"known" types from fontification.

10 years ago* w32term.c (note_mouse_movement): Fix last change.
Dmitry Antipov [Wed, 18 Sep 2013 13:18:39 +0000 (17:18 +0400)]
* w32term.c (note_mouse_movement): Fix last change.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 18 Sep 2013 10:19:31 +0000 (06:19 -0400)]
Auto-commit of loaddefs files.

10 years agoIfdef away recent changes which aren't relevant to NS port.
Dmitry Antipov [Wed, 18 Sep 2013 09:33:36 +0000 (13:33 +0400)]
Ifdef away recent changes which aren't relevant to NS port.
* dispextern.h (x_mouse_grabbed, x_redo_mouse_highlight)
[!HAVE_NS]: Declare as such.
* frame.c (x_mouse_grabbed, x_redo_mouse_highlight)
[!HAVE_NS]: Define as such.

10 years ago* frame.c (x_redo_mouse_highlight): New function
Dmitry Antipov [Wed, 18 Sep 2013 09:23:10 +0000 (13:23 +0400)]
* frame.c (x_redo_mouse_highlight): New function
to factor out common code used in W32 and X ports.
* dispextern.h (x_redo_mouse_highlight): Add prototype.
* xterm.h (struct x_display_info):
* w32term.h (struct w32_display_info):
* nsterm.h (struct ns_display_info): New members
last_mouse_motion_frame, last_mouse_motion_x and
last_mouse_motion_y, going to replace static variables below.
* xterm.c (last_mouse_motion_event, last_mouse_motion_frame)
(redo_mouse_highlight): Remove.
(note_mouse_movement, syms_of_xterm): Adjust user.
(handle_one_xevent): Likewise.  Use x_redo_mouse_highlight.
* w32term.c (last_mouse_motion_event, last_mouse_motion_frame)
(redo_mouse_highlight): Remove.
(note_mouse_movement, syms_of_w32term): Adjust user.
(w32_read_socket): Likewise.  Use x_redo_mouse_highlight.
* nsterm.m (last_mouse_motion_position, last_mouse_motion_frame):
Remove.
(note_mouse_movement, mouseMoved, syms_of_nsterm):
* nsfns.m (compute_tip_xy): Adjust user.

10 years ago* frame.c (x_mouse_grabbed): New function.
Dmitry Antipov [Wed, 18 Sep 2013 06:48:11 +0000 (10:48 +0400)]
* frame.c (x_mouse_grabbed): New function.
* dispextern.h (x_mouse_grabbed): Add prototype.
(last_mouse_frame): Remove declaration.
* xterm.h (struct x_display_info):
* w32term.h (struct w32_display_info):
* nsterm.h (struct ns_display_info): New member
last_mouse_frame, going to replace...
* xdisp.c (last_mouse_frame): ...global variable.
(note_tool_bar_highlight):
* w32term.c (w32_mouse_position, w32_read_socket):
* xterm.c (XTmouse_position, handle_one_xevent):
Use x_mouse_grabbed.
* nsterm.m (ns_mouse_position, mouseDown): Adjust user.

10 years ago* progmodes/gud.el (gud-mode): Silence --without-x compilation.
Glenn Morris [Wed, 18 Sep 2013 05:19:28 +0000 (22:19 -0700)]
* progmodes/gud.el (gud-mode): Silence --without-x compilation.
(tooltip-mode): Declare.

10 years ago* progmodes/gud.el (gud-find-file): Silence --without-x compilation.
Glenn Morris [Wed, 18 Sep 2013 05:16:36 +0000 (22:16 -0700)]
* progmodes/gud.el (gud-find-file): Silence --without-x compilation.

10 years ago* eshell/em-glob.el (ange-cache):
Glenn Morris [Wed, 18 Sep 2013 05:11:38 +0000 (22:11 -0700)]
* eshell/em-glob.el (ange-cache):
* eshell/em-unix.el (ange-cache): Declare.

10 years agoFix typo in declaration
Glenn Morris [Wed, 18 Sep 2013 05:10:21 +0000 (22:10 -0700)]
Fix typo in declaration

10 years ago* emacs-lisp/chart.el (x-display-color-cells): Declare.
Glenn Morris [Wed, 18 Sep 2013 05:04:41 +0000 (22:04 -0700)]
* emacs-lisp/chart.el (x-display-color-cells): Declare.
(chart-face-list): Drop Emacsen without display-color-p.

10 years ago* semantic/find.el (semantic-brute-find-first-tag-by-name):
Glenn Morris [Wed, 18 Sep 2013 05:00:26 +0000 (22:00 -0700)]
* semantic/find.el (semantic-brute-find-first-tag-by-name):
Replace obsolete function assoc-ignore-case with assoc-string.

10 years ago* semantic/complete.el (tooltip-mode, tooltip-frame-parameters, tooltip-show):
Glenn Morris [Wed, 18 Sep 2013 04:57:25 +0000 (21:57 -0700)]
* semantic/complete.el (tooltip-mode, tooltip-frame-parameters, tooltip-show):
Declare.

10 years ago* gnus-util.el (image-size): Declare.
Glenn Morris [Wed, 18 Sep 2013 04:54:21 +0000 (21:54 -0700)]
* gnus-util.el (image-size): Declare.

10 years ago* net/shr.el (image-size, image-animate): Declare.
Glenn Morris [Wed, 18 Sep 2013 04:53:05 +0000 (21:53 -0700)]
* net/shr.el (image-size, image-animate): Declare.

10 years ago* net/gnutls.el (gnutls-log-level): Declare.
Glenn Morris [Wed, 18 Sep 2013 04:50:54 +0000 (21:50 -0700)]
* net/gnutls.el (gnutls-log-level): Declare.

10 years ago* net/eww.el (libxml-parse-html-region): Declare.
Glenn Morris [Wed, 18 Sep 2013 04:48:55 +0000 (21:48 -0700)]
* net/eww.el (libxml-parse-html-region): Declare.
(eww-display-html): Explicit error if no libxml2 support.

10 years ago* term.el (term-mouse-paste): Reorder to silence --without-x compilation.
Glenn Morris [Wed, 18 Sep 2013 04:46:44 +0000 (21:46 -0700)]
* term.el (term-mouse-paste): Reorder to silence --without-x compilation.

10 years ago* mpc.el (doc-view-mode): Silence --without-x compilation.
Glenn Morris [Wed, 18 Sep 2013 04:44:20 +0000 (21:44 -0700)]
* mpc.el (doc-view-mode): Silence --without-x compilation.

10 years ago* follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
Glenn Morris [Wed, 18 Sep 2013 04:42:30 +0000 (21:42 -0700)]
* follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
(scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll): Declare.

10 years ago* doc-view.el (doc-view-mode): Silence --without-x compilation.
Glenn Morris [Wed, 18 Sep 2013 04:38:49 +0000 (21:38 -0700)]
* doc-view.el (doc-view-mode): Silence --without-x compilation.

10 years ago* term/ns-win.el (x-handle-args): Declare.
Glenn Morris [Wed, 18 Sep 2013 04:36:34 +0000 (21:36 -0700)]
* term/ns-win.el (x-handle-args): Declare.

10 years ago* w32-common-fns.el (x-server-version, x-select-enable-clipboard): Declare.
Glenn Morris [Wed, 18 Sep 2013 04:34:56 +0000 (21:34 -0700)]
* w32-common-fns.el (x-server-version, x-select-enable-clipboard): Declare.

10 years ago* term/w32-win.el (create-default-fontset): Declare.
Glenn Morris [Wed, 18 Sep 2013 04:32:01 +0000 (21:32 -0700)]
* term/w32-win.el (create-default-fontset): Declare.

10 years ago* term/x-win.el (x-select-enable-clipboard): Declare.
Glenn Morris [Wed, 18 Sep 2013 04:30:33 +0000 (21:30 -0700)]
* term/x-win.el (x-select-enable-clipboard): Declare.

10 years ago* term/common-win.el (x-select-enable-primary, x-last-selected-text-primary)
Glenn Morris [Wed, 18 Sep 2013 04:28:57 +0000 (21:28 -0700)]
* term/common-win.el (x-select-enable-primary, x-last-selected-text-primary)
(x-last-selected-text-clipboard): Declare.

10 years ago* image.el (image-multi-frame-p): Remove --without-x warning/error.
Glenn Morris [Wed, 18 Sep 2013 04:26:19 +0000 (21:26 -0700)]
* image.el (image-multi-frame-p): Remove --without-x warning/error.

10 years ago* image.el (image-type-from-buffer): Remove --without-x warning/error.
Glenn Morris [Wed, 18 Sep 2013 04:24:14 +0000 (21:24 -0700)]
* image.el (image-type-from-buffer): Remove --without-x warning/error.

10 years ago* mouse.el (mouse-yank-primary): Reorder to silence --without-x compilation.
Glenn Morris [Wed, 18 Sep 2013 04:21:29 +0000 (21:21 -0700)]
* mouse.el (mouse-yank-primary): Reorder to silence --without-x compilation.

10 years ago* frame.el (x-display-name): Declare.
Glenn Morris [Wed, 18 Sep 2013 03:58:26 +0000 (20:58 -0700)]
* frame.el (x-display-name): Declare.

10 years ago* faces.el (x-display-list, x-open-connection, x-get-resource): Declare.
Glenn Morris [Wed, 18 Sep 2013 03:53:10 +0000 (20:53 -0700)]
* faces.el (x-display-list, x-open-connection, x-get-resource): Declare.

10 years ago* lisp/subr.el (x-popup-dialog): Declare.
Glenn Morris [Wed, 18 Sep 2013 03:50:18 +0000 (20:50 -0700)]
* lisp/subr.el (x-popup-dialog): Declare.

10 years ago* mail/rmailmm.el (rmail-mime-set-bulk-data): Silence --without-x compilation.
Glenn Morris [Wed, 18 Sep 2013 03:47:11 +0000 (20:47 -0700)]
* mail/rmailmm.el (rmail-mime-set-bulk-data): Silence --without-x compilation.

10 years agowdired.el trivia
Glenn Morris [Wed, 18 Sep 2013 03:45:54 +0000 (20:45 -0700)]
wdired.el trivia

* lisp/wdired.el (dired-backup-overwrite): Remove declaration.
(wdired-mode-map): Add doc string.

10 years agoSilence some --without-x compilation warnings
Glenn Morris [Wed, 18 Sep 2013 02:50:04 +0000 (19:50 -0700)]
Silence some --without-x compilation warnings

* custom.el (x-get-resource): Declare.

* frame.el (x-display-grayscale-p): Declare.

* simple.el (font-info): Declare.

* window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
(fit-frame-to-buffer): Explicit error if --without-x.
(mouse-autoselect-window-select): Silence compiler.

10 years ago* eshell/esh-util.el (eshell-sublist): Remove unused local variable.
Glenn Morris [Wed, 18 Sep 2013 02:45:31 +0000 (19:45 -0700)]
* eshell/esh-util.el (eshell-sublist): Remove unused local variable.

10 years agoAddress some "unused lexical variable" warnings
Glenn Morris [Wed, 18 Sep 2013 01:48:00 +0000 (21:48 -0400)]
Address some "unused lexical variable" warnings

* lisp/dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.

* lisp/eshell/esh-io.el (x-select-enable-clipboard): Declare.

* lisp/erc/erc-button.el (erc-button-add-buttons):
* lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments):
* lisp/eshell/em-hist.el (eshell/history, eshell-isearch-backward):
* lisp/eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
Remove unused local variables.

10 years ago* lisp/url/url-http.el (zlib-decompress-region): Declare.
Glenn Morris [Wed, 18 Sep 2013 01:44:44 +0000 (21:44 -0400)]
* lisp/url/url-http.el (zlib-decompress-region): Declare.

10 years ago* lisp/textmodes/two-column.el: Make 2C-split work for --without-x.
Glenn Morris [Wed, 18 Sep 2013 01:42:43 +0000 (21:42 -0400)]
* lisp/textmodes/two-column.el: Make 2C-split work for --without-x.
(scroll-bar-columns): Autoload.
(top-level): Require fringe when compiling.

10 years ago* subr.el (add-hook): Robustify to handle closure as well.
Leo Liu [Wed, 18 Sep 2013 01:27:00 +0000 (09:27 +0800)]
* subr.el (add-hook): Robustify to handle closure as well.

10 years agolisp/gnus/mm-decode.el (mm-add-meta-html-tag): Fix last change
Katsumi Yamaoka [Wed, 18 Sep 2013 00:25:23 +0000 (00:25 +0000)]
lisp/gnus/mm-decode.el (mm-add-meta-html-tag): Fix last change

10 years ago[Gnus] Silence the byte compiler
Katsumi Yamaoka [Tue, 17 Sep 2013 23:49:48 +0000 (23:49 +0000)]
[Gnus] Silence the byte compiler

* gnus-icalendar.el (gnus-icalendar-event--find-attendee)
(gnus-icalendar-event-from-ical)
(gnus-icalendar-event--build-reply-event-body)
(gnus-icalendar-event-reply-from-buffer)
(gnus-icalendar-find-org-event-file)
(gnus-icalendar-event->gnus-calendar, gnus-icalendar-reply)
(gnus-icalendar-mm-inline): Use gmm-labels instead of labels or flet.

* mm-util.el (mm-special-display-p): Isolate XEmacs stuff.

10 years ago* lisp/simple.el (messages-buffer-mode-map): Unbind "g".
Glenn Morris [Tue, 17 Sep 2013 20:27:10 +0000 (16:27 -0400)]
* lisp/simple.el (messages-buffer-mode-map): Unbind "g".