1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
Commit graph

113055 commits

Author SHA1 Message Date
Xue Fuqiao
d052d3bdf3 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.
2013-09-21 16:16:13 +08:00
Glenn Morris
26d078a69e * erc.el (erc-invite-only-mode, erc-toggle-channel-mode):
Remove unused local variable `erc-force-send'.
2013-09-20 17:52:07 -07:00
Paul Eggert
e3b29769a8 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.
2013-09-20 13:23:20 -07:00
Ryan
31dca772ad * 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
2013-09-20 15:59:42 -04:00
Glenn Morris
1e835c22e8 * lisp/cedet/semantic.el (semantic-new-buffer-fcn-was-run, semantic-active-p):
Move from here...
* lisp/cedet/semantic/fw.el: ...to here.
2013-09-20 13:21:28 -04:00
Glenn Morris
525540c063 * INSTALL: Update m17n details. 2013-09-20 09:33:46 -07:00
Paul Eggert
00382e8b98 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.
2013-09-20 08:34:36 -07:00
Xue Fuqiao
2fd3a9f749 Checked TUTORIAL.cn. 2013-09-20 18:22:20 +08:00
Glenn Morris
ad4c808367 Auto-commit of generated files. 2013-09-20 06:17:44 -04:00
Xue Fuqiao
3054cd0150 * INSTALL: New homepage of libtiff. 2013-09-20 17:19:56 +08:00
Eli Zaretskii
673558beaa 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
2013-09-20 10:21:20 +03:00
Xue Fuqiao
485a4a6e8a * admin/FOR-RELEASE: Remove outdated info. 2013-09-20 13:52:34 +08:00
Xue Fuqiao
98ccf24eab 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.
2013-09-20 13:39:53 +08:00
Paul Eggert
f5f0132bc9 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.
2013-09-19 20:41:37 -07:00
Dmitry Antipov
2b943ba689 * xterm.c (handle_one_xevent): Revert part of 2013-09-17 change
to avoid Bug#15398.
2013-09-20 07:30:50 +04:00
Paul Eggert
230fe2a5a1 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
2013-09-19 14:40:08 -07:00
Stefan Monnier
c39cc7d149 * 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.
2013-09-19 16:51:33 -04:00
Glenn Morris
a2c501b84e * lisp/emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'. 2013-09-19 16:31:54 -04:00
Glenn Morris
c440407a90 * lisp/simple.el (x-selection-owner-p, x-selection-exists-p): Declare. 2013-09-19 16:31:26 -04:00
Glenn Morris
9a0289a2e9 * lisp/emacs-lisp/eieio.el (class-parent): Undo previous change.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00354.html
2013-09-19 16:11:48 -04:00
Michael Albinus
e189e54eea Fix previous patch. 2013-09-19 21:14:26 +02:00
Michael Albinus
85e0591524 * 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.
2013-09-19 13:08:01 +02:00
Glenn Morris
52d4169a69 Auto-commit of generated files. 2013-09-19 06:17:39 -04:00
Eli Zaretskii
be9bc55efd 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.
2013-09-19 11:43:01 +03:00
Eli Zaretskii
13d9698ae4 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.
2013-09-19 11:25:43 +03:00
Dmitry Antipov
ced135ebdb * 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.
2013-09-19 11:48:53 +04:00
Glenn Morris
f754477379 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros. 2013-09-19 00:14:53 -07:00
Glenn Morris
72fd28777d * eshell/em-unix.el (eshell-remove-entries):
Rename argument to avoid name-clash with global `top-level'.
2013-09-18 23:56:47 -07:00
Dmitry Antipov
091f1e1f29 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.
2013-09-19 09:21:32 +04:00
Glenn Morris
336b5a56bc 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'.
2013-09-18 20:44:55 -07:00
Glenn Morris
390b7f9de6 * eshell/esh-proc.el (eshell-reset-after-proc): Mark unused arg. 2013-09-18 19:55:00 -07:00
Glenn Morris
57a3a53d53 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
(directory-files-and-attributes): Mark unused arg.
2013-09-18 19:48:01 -07:00
Glenn Morris
3261d4af3d * eshell/em-unix.el (eshell-remove-entries): Remove unused arg `path'.
Update callers.
2013-09-18 19:42:36 -07:00
Glenn Morris
8e51b5d087 * eshell/em-hist.el (eshell-hist-parse-arguments): Remove unused arg `silent'.
Update callers.
2013-09-18 19:38:25 -07:00
Glenn Morris
0bc8d75810 * erc/erc-list.el (erc-list-handle-322): Mark unused argument. 2013-09-18 19:32:27 -07:00
Glenn Morris
ce5033129f 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.
2013-09-18 19:28:20 -07:00
Glenn Morris
a022856b0f 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.
2013-09-18 19:21:31 -07:00
Alan Mackenzie
ee3ce8a7bb 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.
2013-09-18 20:47:37 +00:00
Dmitry Antipov
abd49271db * w32term.c (note_mouse_movement): Fix last change. 2013-09-18 17:18:39 +04:00
Glenn Morris
2fd6bdbecb Auto-commit of loaddefs files. 2013-09-18 06:19:31 -04:00
Dmitry Antipov
582ed56ca8 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.
2013-09-18 13:33:36 +04:00
Dmitry Antipov
18da0d8ad4 * 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.
2013-09-18 13:23:10 +04:00
Dmitry Antipov
7a0c745ad1 * 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.
2013-09-18 10:48:11 +04:00
Glenn Morris
12679bfd15 * progmodes/gud.el (gud-mode): Silence --without-x compilation.
(tooltip-mode): Declare.
2013-09-17 22:19:28 -07:00
Glenn Morris
30810a057c * progmodes/gud.el (gud-find-file): Silence --without-x compilation. 2013-09-17 22:16:36 -07:00
Glenn Morris
92d77c897b * eshell/em-glob.el (ange-cache):
* eshell/em-unix.el (ange-cache): Declare.
2013-09-17 22:11:38 -07:00
Glenn Morris
ee8b701cae Fix typo in declaration 2013-09-17 22:10:21 -07:00
Glenn Morris
7bb3e76899 * emacs-lisp/chart.el (x-display-color-cells): Declare.
(chart-face-list): Drop Emacsen without display-color-p.
2013-09-17 22:04:41 -07:00
Glenn Morris
74be3de16c * semantic/find.el (semantic-brute-find-first-tag-by-name):
Replace obsolete function assoc-ignore-case with assoc-string.
2013-09-17 22:00:26 -07:00
Glenn Morris
0a9600e028 * semantic/complete.el (tooltip-mode, tooltip-frame-parameters, tooltip-show):
Declare.
2013-09-17 21:57:25 -07:00