Jan Djärv
1a9327d5cd
* nsterm.m (ns_select): Check writefds before call to
...
FD_ISSET.
Fixes: debbugs:12668
2012-10-18 20:54:37 +02:00
Eli Zaretskii
afb8aa2482
Fix wording of error message in staticpro.
2012-10-18 20:21:55 +02:00
Daniel Colascione
14145a1e84
Increase NSTATICS; tell the user when we run out of static slots.
2012-10-18 09:00:08 -08:00
Stefan Monnier
393e94faab
* lisp/erc/erc-backend.el: Require `erc' instead of autoloading its macros.
...
Fixes: debbugs:12669
2012-10-18 11:51:28 -04:00
Stefan Monnier
aaf0c30025
* lisp/emacs-lisp/advice.el: Clean up commentary a bit.
...
(ad-do-advised-functions, ad-with-originals): Use `declare'.
(byte-code-function-p): Never redefine.
2012-10-18 11:37:57 -04:00
Stefan Monnier
90eacf9920
* lisp/emacs-lisp/gv.el (cond): Same fix as before for `if'.
...
* Makefile.in ($(MAKEFILE_NAME)): Depend on src/lisp.mk as well.
2012-10-18 08:56:10 -04:00
Stefan Monnier
b2f0135a62
* lisp/erc/erc-backend.el (erc-with-server-buffer): Autoload as well.
...
Fixes: debbugs:12669
2012-10-18 08:49:18 -04:00
Martin Rudalics
1f76f6f579
In window.c fix two flaws reported by Dmitry Antipov.
...
* window.c (Ftemp_output_buffer_show): Remove.
(Fwindow_vscroll, Fset_window_vscroll): Use decode_live_window.
(syms_of_window): Remove defsubr for Stemp_output_buffer_show.
2012-10-18 10:27:49 +02:00
Glenn Morris
40714e3da8
* dired.el (dired-sort-toggle): Some ls implementations only allow
...
a single option string.
Fixes: debbugs:12666
2012-10-17 20:50:15 -07:00
Glenn Morris
281c9d2b20
* lisp/minibuffer.el (completion-cycle-threshold): Doc fix
2012-10-17 20:30:04 -07:00
Dani Moncayo
f42f10940b
* doc/emacs/mini.texi (Completion Options): Fix off-by-one error
...
Fixes: debbugs:12644
2012-10-17 20:27:17 -07:00
Kenichi Handa
03d24a8276
merge trunk
2012-10-18 09:00:39 +09:00
Kenichi Handa
b278604edf
international/mule.el (set-keyboard-coding-system): Recover input meta mode when the new coding system doesn not use 8-bit. Supply TERMINAL arg to set-input-meta-mode.
2012-10-18 08:59:24 +09:00
Eli Zaretskii
27067208fd
Avoid compiler warnings in lib-src/ntlib.c
...
src/ntlib.c: Include <mbstring.h>, to avoid compiler warning about
_mbspbrk.
2012-10-17 23:13:20 +02:00
Eli Zaretskii
a68089e4a4
Fix warnings when compiling on MS-Windows with -std=gnu99.
...
src/makefile.w32-in ($(BLD)/w32.$(O)):
($(BLD)/vm-limit.$(O)):
($(BLD)/term.$(O)):
($(BLD)/unexw32.$(O)):
($(BLD)/fileio.$(O)):
($(BLD)/dispnew.$(O)): Update dependencies.
src/w32term.h (w32_initialize_display_info, initialize_w32_display):
Add prototypes.
src/w32proc.c: Include ctype.h.
src/w32.h (init_environment, check_windows_init_file)
(syms_of_ntproc, syms_of_ntterm, dostounix_filename)
(unixtodos_filename, init_winsock, srandom, random, sys_pipe)
(set_process_dir, sys_spawnve, register_child, sys_sleep, getwd)
(sys_link): Add prototypes.
src/w32.c: Include w32select.h.
(sys_access, e_malloc, sys_select): Add prototypes.
(emacs_gnutls_pull): 'timeout' is now EMACS_TIME, not struct timeval.
src/vm-limit.c [WINDOWSNT]: Include w32heap.h.
src/unexw32.c: Include lisp.h and w32.h.
src/term.c [WINDOWSNT]: Include w32term.h.
src/process.c [WINDOWSNT]: Add prototype of sys_select.
src/fileio.c [WINDOWSNT]: Include w32.h.
src/dispnew.c [WINDOWSNT]: Include w32.h.
nt/inc/pwd.h (getuid, geteuid): Add prototypes.
nt/inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
(signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
(pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
(sys_kill, getpagesize): Add prototypes for emulated functions.
nt/inc/grp.h (getgid, getegid): Add prototypes.
nt/gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
nt/configure.bat (chkapiN): Avoid compiler warning in junk.c when
compiling with -std=gnu99.
nt/config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
could be used via --cflags switch to configure.bat.
2012-10-17 21:02:44 +02:00
Glenn Morris
6c24e35f04
* doc/emacs/mini.texi (Repetition): Further copyedit.
2012-10-17 12:56:12 -04:00
Dani Moncayo
429cdb0530
* doc/emacs/mini.texi (Repetition): Copyedit.
2012-10-17 12:55:10 -04:00
Eli Zaretskii
fcf148759e
Fix bug #12661 with w32 and cygw32 builds under --enable-check-lisp-object-type.
...
src/cygw32.c (Fcygwin_convert_path_to_windows)
(Fcygwin_convert_path_from_windows): Use EQ to compare 2
Lisp_Object values.
src/w32fns.c (w32_msg_pump): Use XIL instead of casting an integer
to Lisp_Object.
2012-10-17 17:37:55 +02:00
Kenichi Handa
596846525b
merge trunk
2012-10-17 22:33:48 +09:00
Kenichi Handa
fe0b1ec409
xdisp.c (reseat_1): Make the information stored in it->cmp_it invalidate.
2012-10-17 22:30:56 +09:00
Juanma Barranquero
1f9f395d80
Fix ChangeLog typos.
2012-10-17 13:24:34 +02:00
Michael Heerdegen
7ebc5f5a07
When renaming a file with wdired move point with file and don't lose mark status (Bug#11795).
...
* wdired.el (wdired-old-marks): New variable.
(wdired-change-to-wdired-mode): Locally set wdired-old-marks.
(wdired-do-renames): Move point with renamed file and don't lose
mark status (Bug#11795).
2012-10-17 11:11:49 +02:00
Dmitry Antipov
d556ebf9b8
* buffer.c (Fkill_buffer): When unchaining the marker,
...
reset it's buffer pointer to NULL (Bug#12652).
2012-10-17 09:22:23 +04:00
Dmitry Antipov
f0863a5468
Do not verify indirection counters of killed buffers (Bug#12579).
...
* buffer.h (BUFFER_CHECK_INDIRECTION): New macro.
* buffer.c (compact_buffer, set_buffer_internal_1): Use it.
2012-10-17 08:58:15 +04:00
Glenn Morris
ab1dc14b22
Merge from emacs-24; up to 2012-05-08T15:19:18Z!monnier@iro.umontreal.ca
2012-10-16 20:44:00 -07:00
Juri Linkov
e5a94ec494
* doc/emacs/search.texi (Query Replace): Document multi-buffer replacement keys.
...
* doc/emacs/maintaining.texi (Tags Search): Change link "Replace" to
"Query Replace".
* lisp/replace.el (query-replace-help): Mention multi-buffer replacement
keys in the Help message.
Fixes: debbugs:12655
2012-10-17 02:27:40 +03:00
David Engster
0b4eec47f2
ChangeLog fix.
2012-10-16 17:17:21 +02:00
Dmitry Antipov
12fbe7552c
* alloc.c (Fmake_byte_code): Fix typo in comment.
...
* print.c (print_interval): Define as static to match prototype.
* indent.c (disptab_matches_widthtab, recompute_width_table):
Convert to eassert.
2012-10-16 11:56:44 +04:00
Dmitry Antipov
61655b89f4
* editfns.c (get_system_name): Remove.
...
* lisp.h (get_system_name): Remove prototype.
* xrdb.c (getenv, getpwuid, getpwnam): Remove prototypes.
(get_environ_db): Use Vsystem_name. Avoid call to strlen.
2012-10-16 06:22:25 +04:00
Glenn Morris
293902c8b2
(install-etc): Fix previous change
2012-10-15 17:57:20 -04:00
Glenn Morris
f14a43805d
Improve previous NEWS change
2012-10-15 17:00:19 -04:00
Glenn Morris
1a9c683079
Apply program-transform-name etc in more places (bug#12536#34)
...
* Makefile.in (install-man, install-etc): Apply $TRANSFORM.
(clean): Delete etc/emacs.tmpdesktop.
* .bzrignore: Add etc/emacs.tmpdesktop.
* etc/NEWS: Mention this. Unrelated copyedits.
2012-10-15 16:56:07 -04:00
Stefan Monnier
8599b23a90
* lisp/erc/erc.el (erc-log): Make it into a defsubst.
...
(erc-with-server-buffer, define-erc-module, erc-with-buffer)
(erc-with-all-buffers-of-server): Use `declare'.
* lisp/erc/erc-backend.el (erc-log): Adjust autoload accordingly.
2012-10-15 12:49:57 -04:00
Daniel Colascione
9520f2f20c
Add comment for undef of "interface"
2012-10-15 02:10:17 -08:00
Martin Rudalics
dca778d53a
Fix Fwindow_end's handling of cached position (Bug#12600).
...
* window.c (Fwindow_end): Rewrite check whether cached position
can be used (Bug#12600).
(resize_frame_windows, grow_mini_window, shrink_mini_window):
Set windows_or_buffers_changed.
2012-10-15 11:03:56 +02:00
Chong Yidong
d18a0d2460
More documentation fixes for changes to defun, defmacro, etc.
...
* doc/lispref/functions.texi (Anonymous Functions): Explicitly list the
docstring, declare, and interactive arguments to lambda.
(Defining Functions): Likewise for defun.
(Inline Functions): Likewise for defsubst.
(Declare Form): Tweak description.
* doc/lispref/macros.texi (Defining Macros): defmacro is now a macro.
Explicitly list the docstring and declare arguments.
* emacs-lisp/byte-run.el (defsubst): Doc fix.
2012-10-15 12:03:04 +08:00
Daniel Colascione
3e0341b0a4
Fix cygw32 build break with dbus compilation
2012-10-14 17:38:07 -08:00
Daniel Colascione
33d4113cf5
* image.c (init_tiff_functions, init_imagemagick_functions)
...
(init_svg_functions): Fix cygw32 build break by using these
functions only when WINDOWSNT _and_ HAVE_NTGUI.
2012-10-14 15:25:37 -08:00
David Engster
1a9653aa8c
Fix last commit.
...
(semantic-analyze-possible-completions): Replace CEDET compatibility
function `cedet-called-interactively-p' with `called-interactively-p'.
2012-10-14 21:31:45 +02:00
David Engster
63aad59653
Merge bug fixes from CEDET upstream.
2012-10-14 21:24:16 +02:00
David Engster
bf659b3f58
Merge changes from CEDET upstream.
...
* semantic.el (semantic-error-if-unparsed): New function. Raise
error if buffer was not parsed by Semantic (bug #12045 ).
(navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
only if buffer was parsed. Also, replace ':active' with ':enable'
where necessary.
* semantic/wisent/python.el
(semantic-python-get-system-include-path): Use
`python-shell-internal-send-string' if available to query Python
for system paths.
* semantic/senator.el (senator-next-tag):
(senator-previous-tag):
(senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
* semantic/complete.el (semantic-complete-jump-local):
(semantic-complete-jump):
(semantic-complete-jump-local-members):
(semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
(semantic-complete-inline-project): Fix autoload cookie.
* semantic/analyze/complete.el
(semantic-analyze-possible-completions): Check if buffer was
parsed. Only raise an error if function was called interactively,
otherwise silently return nil.
* cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
2012-10-14 21:20:28 +02:00
Jan Djärv
a36fb15e08
* nsterm.m (ns_select): Count fd:s in writefs also.
...
Fixes: debbugs:12422
2012-10-14 20:28:48 +02:00
Eli Zaretskii
7b9abf24ee
lisp/window.el (display-buffer): Doc fix.
2012-10-14 19:07:00 +02:00
Kenichi Handa
9fe32d61c5
merge trunk
2012-10-14 17:06:11 +09:00
Kenichi Handa
f5772b8eae
Add more mappings for the charset japanese-jisx0208-1978.
2012-10-14 17:01:30 +09:00
Eli Zaretskii
8111f5e6f0
Adapt compile.el to changes in MSVC diagnostics format.
...
lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Adjust the msft regexp to the output of Studio 2010, and move msft
before edg-1. See the discussion on emacs-devel,
http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html ,
for the details.
etc/compilation.txt (msft): Add error messages in new Studio 2010
format.
test/automated/compile-tests.el (compile-tests--test-regexps-data):
Add data for msft's new format.
2012-10-14 09:40:05 +02:00
Stefan Monnier
9760c73c66
* lisp/emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
...
(oset): Move uses of object-class-fast macro after its definition.
2012-10-13 21:42:48 -04:00
Stefan Monnier
5046ef67ca
* lisp/emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2012-10-13 21:39:56 -04:00
Glenn Morris
8336c6b3c5
ChangeLog fix
2012-10-13 17:17:07 -07:00
Jan Djärv
537f336d62
* gtkutil.c (xg_set_widget_bg): Divide by 65535.
...
Fixes: debbugs:12612
2012-10-13 23:52:09 +02:00