Andreas Schwab [Sat, 4 Aug 2012 08:09:24 +0000 (10:09 +0200)]
* simple.el (list-processes): Doc fix.
Andreas Schwab [Sat, 4 Aug 2012 08:08:11 +0000 (10:08 +0200)]
* simple.el (list-processes--refresh): For a server use :host or
:local as the address.
Michal Nazarewicz [Sat, 4 Aug 2012 07:37:27 +0000 (03:37 -0400)]
* lisp/mpc.el: Support password in host argument.
(mpc--proc-connect): Parse and use new password element.
Set mpc-proc variable instead of returning process.
(mpc-proc): Adjust accordingly.
Paul Eggert [Sat, 4 Aug 2012 00:52:10 +0000 (17:52 -0700)]
Export DEFAULT_REHASH_* to GDB.
* lisp.h (DEFAULT_REHASH_THRESHOLD, DEFAULT_REHASH_SIZE):
Now constants, not macros.
Paul Eggert [Fri, 3 Aug 2012 23:40:20 +0000 (16:40 -0700)]
Comment why gc_aset can be triggered during GC.
Paul Eggert [Fri, 3 Aug 2012 23:36:11 +0000 (16:36 -0700)]
Remove unnecessary casts involving pointers.
These casts are no longer needed now that we assume C89 or later,
since they involve casting to or from void *.
* alloc.c (make_pure_string, make_pure_c_string, pure_cons)
(make_pure_float, make_pure_vector):
* lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP):
* macros.c (Fstart_kbd_macro):
* menu.c (find_and_return_menu_selection):
* minibuf.c (read_minibuf_noninteractive):
* sysdep.c (closedir):
* xdisp.c (x_produce_glyphs):
* xfaces.c (compare_fonts_by_sort_order):
* xfns.c (x_real_positions, select_visual):
* xselect.c (x_stop_queuing_selection_requests)
(x_get_window_property, x_get_window_property_as_lisp_data):
* xterm.c (x_set_frame_alpha, x_find_modifier_meanings):
Remove unnecessary pointer casts.
* alloc.c (record_xmalloc): New function.
* lisp.h (record_xmalloc): New decl.
(SAFE_ALLOCA): Now takes just one arg -- the size -- and acts
more like a function. This is because the pointer cast is not
needed. All uses changed.
* print.c (print_string, print_error_message): Avoid length recalc.
Paul Eggert [Fri, 3 Aug 2012 20:55:27 +0000 (13:55 -0700)]
Improve fix for macroexp crash with debugging.
* lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to
ARRAY_MARK_FLAG when checking subscripts, because ASET is
not supposed to be invoked from the garbage collector.
See Andreas Schwab in <http://bugs.gnu.org/12118#25>.
(gc_aset): New function, which is like ASET but can be
used in the garbage collector.
(set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
(set_hash_index): Use it instead of ASET.
Glenn Morris [Fri, 3 Aug 2012 20:34:35 +0000 (16:34 -0400)]
configure.ac whitespace trivia
(Avoids some trailing whitespace in generated config.h.)
Juanma Barranquero [Fri, 3 Aug 2012 12:16:40 +0000 (14:16 +0200)]
* nt/config.nt: Sync with autogen/config.in.
(DOS_NT, MSDOS): New macros.
(WRETCODE, wait3): Remove.
* nt/inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
* lib-src/makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
they are always defined in config.h.
Eli Zaretskii [Fri, 3 Aug 2012 11:51:11 +0000 (14:51 +0300)]
Fix whitespace-display-mappings.
lisp/whitespace.el (whitespace-display-mappings): Use Unicode
codepoints, instead of emacs-mule codepoints. See
http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
for the details.
Eli Zaretskii [Fri, 3 Aug 2012 10:23:30 +0000 (13:23 +0300)]
Support symlinks on latest versions of MS-Windows.
src/w32.c: Include winioctl.h and aclapi.h.
(is_symlink, chase_symlinks, enable_privilege, restore_privilege)
(revert_to_self): Forward declarations of static functions.
<static BOOL g_b_init_get_security_info>:
<g_b_init_create_symbolic_link>: New static flags.
(globals_of_w32): Initialize them to zero.
(GetSecurityInfo_Proc, CreateSymbolicLink_Proc): New typedefs.
(map_w32_filename): Improve commentary. Simplify switch.
(SYMBOLIC_LINK_FLAG_DIRECTORY): Define if not defined in system
headers (most versions of MinGW w32api don't).
(get_security_info, create_symbolic_link)
(get_file_security_desc_by_handle, is_symlink, chase_symlinks):
New functions.
(sys_access, sys_chmod): Call 'chase_symlinks' to resolve symlinks
in the argument file name.
(sys_access): Call unc_volume_file_attributes only if
GetFileAttributes fails with network-related error codes.
(sys_rename): Diagnose renaming of a symlink when the user doesn't
have the required privileges.
(get_file_security_desc_by_name): Renamed from
get_file_security_desc.
(stat_worker): New function, with most of the guts of 'stat', and
with addition of handling of symlinks and support for 'lstat'. If
possible, get file's attributes and security information by
handle, not by name. Produce S_IFLNK bit for symlinks, when
called from 'lstat'.
(stat, lstat): New functions, call 'stat_worker'.
(symlink, readlink, careadlinkat): Rewritten to create and resolve
symlinks when the underlying filesystem supports them.
lib/src/ntlib.c (lstat): New function, calls 'stat'.
nt/inc/sys/stat.h (S_IFLNK): Define.
(S_ISLNK): A non-trivial definition.
(lstat): Prototype instead of a macro that redirects to 'stat'.
lisp/files.el (file-truename): Don't skip symlink-chasing part on
windows-nt. Incorporate the resolution of 8+3 short aliases on
Windows into the loop that recursively chases symlinks. Compare
directory and its parent case-insensitively on MS-Windows and
MS-DOS.
etc/NEWS: Announce the symlink support on MS-Windows.
Glenn Morris [Fri, 3 Aug 2012 10:17:23 +0000 (06:17 -0400)]
Auto-commit of generated files.
Eli Zaretskii [Fri, 3 Aug 2012 10:02:48 +0000 (13:02 +0300)]
Adapt lib/makefile.w32-in to latest gnulib imports.
lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/stat-time.$(O),
$(BLD)/timespec.$(O), and $(BLD)/u64.$(O).
(SHA512_H): Don't mention u64.h twice.
($(BLD)/stat-time.$(O), ($(BLD)/timespec.$(O), ($(BLD)/u64.$(O)):
New targets.
Eli Zaretskii [Fri, 3 Aug 2012 09:00:42 +0000 (12:00 +0300)]
Fix a typo in top-level ChangeLog.
Chong Yidong [Fri, 3 Aug 2012 08:30:48 +0000 (16:30 +0800)]
Add NEWS entry for last change.
Chong Yidong [Fri, 3 Aug 2012 08:25:42 +0000 (16:25 +0800)]
* menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
Chong Yidong [Fri, 3 Aug 2012 08:15:24 +0000 (16:15 +0800)]
* sort.el (sort-regexp-fields): Doc fix.
Tassilo Horn [Fri, 3 Aug 2012 06:47:32 +0000 (08:47 +0200)]
* textmodes/reftex.el (reftex-compile-variables): Make keyvals
labels regex position point at the expected place.
MON KEY [Fri, 3 Aug 2012 02:49:51 +0000 (10:49 +0800)]
Doc fixes for imap.el.
* net/imap.el (imap-interactive-login, imap-authenticate)
(imap-mailbox-lsub, imap-mailbox-list)
(imap-mailbox-status-asynch, imap-mailbox-acl-delete)
(imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
(imap-parse-response): Doc fix.
João Távora [Fri, 3 Aug 2012 02:29:59 +0000 (10:29 +0800)]
Workaround for latex-forward-sexp slowness.
* textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop if
sexp scanning does not move point.
Fixes: debbugs:5734
Paul Eggert [Fri, 3 Aug 2012 00:42:11 +0000 (17:42 -0700)]
Merge from gnulib.
2012-08-02 stat-time, timespec, u64: support naive out-of-dir builds
Paul Eggert [Thu, 2 Aug 2012 20:59:49 +0000 (13:59 -0700)]
Fix macroexp crash on Windows with debugging.
* lisp.h (ASET) [ENABLE_CHECKING]: Ignore ARRAY_MARK_FLAG when
checking subscripts; problem introduced with the recent
"ASET (a, i, v)" rather than "AREF (a, i) = v" patch.
(ARRAY_MARK_FLAG): Now a macro as well as a constant,
since it's used in non-static inline functions now.
Fixes: debbugs:12118
Tassilo Horn [Thu, 2 Aug 2012 19:04:53 +0000 (21:04 +0200)]
fixup ChangeLog
Tassilo Horn [Thu, 2 Aug 2012 18:54:36 +0000 (20:54 +0200)]
* textmodes/reftex-vars.el (reftex-label-alist): Docfix.
Tassilo Horn [Thu, 2 Aug 2012 18:24:11 +0000 (20:24 +0200)]
* textmodes/reftex-vars.el (reftex-default-label-alist-entries):
Add listings, minted, and ctable packages.
(reftex-label-alist-builtin): Move listings, minted, and ctable
entries before LaTeX.
Bastien Guerry [Thu, 2 Aug 2012 16:54:42 +0000 (18:54 +0200)]
Fix typo in docstring. Bug #12122.
Paul Eggert [Thu, 2 Aug 2012 10:49:19 +0000 (03:49 -0700)]
* lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro
as well as a constant, since it's used in non-static inline functions now.
YAMAMOTO Mitsuharu [Thu, 2 Aug 2012 10:39:47 +0000 (19:39 +0900)]
* lib/Makefile.am (DEFAULT_INCLUDES): Add -I$(top_srcdir)/lib for out-of-tree build.
Glenn Morris [Thu, 2 Aug 2012 10:17:32 +0000 (06:17 -0400)]
Auto-commit of generated files.
Paul Eggert [Thu, 2 Aug 2012 09:33:13 +0000 (02:33 -0700)]
* xfaces.c (face_for_overlay_string): Remove unused local.
Paul Eggert [Thu, 2 Aug 2012 09:20:01 +0000 (02:20 -0700)]
* xfaces.c: Don't assume buffer size fits in 'int'.
Paul Eggert [Thu, 2 Aug 2012 08:47:07 +0000 (01:47 -0700)]
* xfaces.c (face_at_buffer_position): Remove unused local.
Chong Yidong [Thu, 2 Aug 2012 08:12:36 +0000 (16:12 +0800)]
lisp/emacs-lisp/rx.el: Remove dead URL from commentary.
Paul Eggert [Thu, 2 Aug 2012 07:31:34 +0000 (00:31 -0700)]
Use C99-style 'extern inline' if available.
* lib-src/profile.c (SYSTIME_INLINE): Define.
* nt/config.nt: Sync with autogen/config.in.
(_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
(_GL_INLINE_HEADER_END): New macros.
* src/buffer.h (BUFFER_INLINE):
* src/category.h (CATEGORY_INLINE):
* src/character.h (CHARACTER_INLINE):
* src/charset.h (CHARSET_INLINE):
* src/composite.h (COMPOSITE_INLINE):
* src/dispextern.h (DISPEXTERN_INLINE):
* src/lisp.h (LISP_INLINE):
* src/systime.h (SYSTIME_INLINE):
New macro, replacing 'static inline' in this header.
* src/buffer.h, src/category.h, src/character.h, src/charset.h:
* src/composite.h, src/dispextern.h, lisp.h, systime.h:
Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
* src/alloc.c (LISP_INLINE):
* src/buffer.c (BUFFER_INLINE):
* src/category.c (CATEGORY_INLINE):
* src/character.c (CHARACTER_INLINE):
* src/charset.c (CHARSET_INLINE):
* src/composite.c (COMPOSITE_INLINE):
* src/dispnew.c (DISPEXTERN_INLINE):
* src/sysdep.c (SYSTIME_INLINE):
Define to EXTERN_INLINE, so that the corresponding functions
are compiled into code.
* src/conf_post.h (INLINE, EXTERN_INLINE, INLINE_HEADER_BEGIN)
(INLINE_HEADER_END): New macros.
* src/lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant,
since it's used in non-static inline functions now.
Glenn Morris [Thu, 2 Aug 2012 06:47:17 +0000 (23:47 -0700)]
Misc updates for CPP-DEFINES
Glenn Morris [Thu, 2 Aug 2012 06:43:13 +0000 (23:43 -0700)]
Comment
Glenn Morris [Thu, 2 Aug 2012 06:21:48 +0000 (23:21 -0700)]
* src/s/: Remove empty directory.
* make-dist: Remove src/s.
Glenn Morris [Thu, 2 Aug 2012 06:19:48 +0000 (23:19 -0700)]
Move NT-specific include file to the NT include directory
* nt/inc/ms-w32.h: Move here from ../src/s.
* nt/config.nt (config_opsysfile): Change to <ms-w32.h>.
* s/ms-w32.h: Move to ../nt/inc.
* src/makefile.w32-in (TAGS, TAGS-gmake, MS_W32_H):
Update for new ms-w32.h location.
* lib-src/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
* lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
* lisp/emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
Glenn Morris [Thu, 2 Aug 2012 06:17:21 +0000 (23:17 -0700)]
Remove files that no longer exist
Paul Eggert [Thu, 2 Aug 2012 04:46:10 +0000 (21:46 -0700)]
Merge from gnulib, for extern-inline.
2012-08-01 extern-inline: new module
2012-08-01 stat-time, timespec, u64, utimens: use extern-inline
* lib/stat-time.c, lib/utimespec.c, lib/u64.c, m4/extern-inline.m4:
New files. The new .c files are for instantiating extern inline
functions.
Fixes: debbugs:12116
Paul Eggert [Thu, 2 Aug 2012 04:14:48 +0000 (21:14 -0700)]
Port to Solaris 8.
Without this change, 'configure' fails because the recently-added
wait3 prototype in config.h messes up later 'configure' tests.
Fix this problem by droping wait3 and WRETCODE, as they're
no longer needed on hosts that are current porting targets.
* configure.ac (wait3, WRETCODE): Remove, fixing a FIXME.
All uses changed to waitpid and WEXITSTATUS.
* src/syswait.h (WRETCODE): Remove, consistently with ../configure.ac.
Glenn Morris [Thu, 2 Aug 2012 04:06:38 +0000 (21:06 -0700)]
* src/nsterm.m (ns_exec_path, ns_load_path): Use SEPCHAR
(rather than hard-coding the path separator).
Paul Eggert [Thu, 2 Aug 2012 01:59:19 +0000 (18:59 -0700)]
Avoid needless autoheader after autogen.sh.
* src/stamp-h.in: Remove from bzr repository; no longer needed there.
* .bzrignore: Add it.
* autogen.sh: Create it.
Paul Eggert [Thu, 2 Aug 2012 01:36:14 +0000 (18:36 -0700)]
Obsolete alias inactivate-current-input-method-function.
* lisp/international/mule-cmds.el: Create
inactivate-current-input-method-function as an obsolete alias for
deactivate-current-input-method-function. See Katsumi Yamaoka in
<http://bugs.gnu.org/10150#46>.
Jay Belanger [Wed, 1 Aug 2012 23:42:29 +0000 (18:42 -0500)]
calc.texi (Simplification modes, Conversions)
(Operating on Selections, Basic Simplifications)
(Algebraic Simplifications): Mention "basic" simplifications.
(Algebraic Entry): Remove mention of default simplifications.
Paul Eggert [Wed, 1 Aug 2012 20:51:44 +0000 (13:51 -0700)]
Use "ASET (a, i, v)" rather than "AREF (a, i) = v".
This how ASET and AREF are supposed to work, and makes
it easier to think about future improvements. See
<http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00026.html>.
* charset.h (set_charset_attr): New function.
All lvalue-style uses of CHARSET_DECODER etc. changed to use it.
* lisp.h (ASET): Rewrite so as not to use AREF in an lvalue style.
(aref_addr): New function. All uses of &AREF(...) changed.
(set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
(set_hash_index): New functions. All lvalue-style uses of
HASH_KEY etc. changed.
* keyboard.c (set_prop): New function. All lvalue-style uses
of PROP changed.
Alp Aker [Wed, 1 Aug 2012 20:15:30 +0000 (16:15 -0400)]
* nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar)
(EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:)
(EmacsScroller-dealloc): Adjust to use WVAR. (Bug#12114)
* nsfns.m (ns_set_name_as_filename): Likewise.
* nsmenu.m (ns_update_menubar): Likewise.
* nsselect.m (symbol_to_nsstring): Adjust to use SVAR.
Jay Belanger [Wed, 1 Aug 2012 18:24:13 +0000 (13:24 -0500)]
calc.texi (Simplification modes): Mention "basic" simplification.
(The Calc Mode Line): Mention the mode line display for Basic
simplification mode.
(Simplify Formulas): Refer to 'algebraic' rather than 'default'
simplifications.
(Basic Simplifications): Rename from "Limited Simplifications"
Replace "limited" by "basic" throughout.
(Algebraic Simplifications): Indicate that the algebraic
simplifications are done by default.
(Unsafe Simplifications): Mention `m E'.
(Simplification of Units): Mention `m U'.
(Trigonometric/Hyperbolic Functions, Reducing and Mapping,
Kinds of Declarations, Functions for Declarations): Mention
"algebraic simplifications" instead of `a s'.
Glenn Morris [Wed, 1 Aug 2012 17:55:15 +0000 (13:55 -0400)]
* lwlib/Makefile.in (config_h): Add conf_post.h.
Glenn Morris [Wed, 1 Aug 2012 17:54:06 +0000 (13:54 -0400)]
Update lib-src config.h dependencies
* lib-src/Makefile.in (config_h): New variable.
Use throughout in place of ../src/config.h.
Eli Zaretskii [Wed, 1 Aug 2012 16:31:59 +0000 (19:31 +0300)]
More fixes in .gdbinit.
Eli Zaretskii [Wed, 1 Aug 2012 16:30:13 +0000 (19:30 +0300)]
Fix typo in src/ChangeLog.
Eli Zaretskii [Wed, 1 Aug 2012 16:28:58 +0000 (19:28 +0300)]
Fix .gdbinit for latest INTERNAL_FIELD uses.
src/.gdbinit (xcar, xcdr, xlist, xwindow, nextcons, xprintsym):
Adapt to latest changes in field names of the corresponding Lisp
objects.
Glenn Morris [Wed, 1 Aug 2012 15:43:36 +0000 (08:43 -0700)]
ChangeLog fix
Eli Zaretskii [Wed, 1 Aug 2012 15:39:21 +0000 (18:39 +0300)]
Fix fallout from 2012-08-01T05:11:36Z!dmantipov@yandex.ru that introduced WVAR.
src/xdisp.c (try_window_id): Use WVAR in IF_DEBUG code.
Jay Belanger [Wed, 1 Aug 2012 15:36:37 +0000 (10:36 -0500)]
calc-mode.el (calc-set-simplify-mode): Use `cond' instead of nested `if's.
Glenn Morris [Wed, 1 Aug 2012 15:33:09 +0000 (08:33 -0700)]
Alphabetic order is proving tricky today
Glenn Morris [Wed, 1 Aug 2012 15:25:43 +0000 (08:25 -0700)]
Alphabetical order
Glenn Morris [Wed, 1 Aug 2012 15:24:23 +0000 (08:24 -0700)]
Fix typo in previous
Glenn Morris [Wed, 1 Aug 2012 15:20:59 +0000 (08:20 -0700)]
* msdos/sed2v2.inp (HAVE_WCHAR_H): Fix typo.
Glenn Morris [Wed, 1 Aug 2012 15:19:51 +0000 (08:19 -0700)]
Remove src/s/msdos.h
* msdos/sed2v2.inp (MSDOS, DOS_NT, FLOAT_CHECK_DOMAIN)
(HAVE_INVERSE_HYPERBOLIC, DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP)
(INTERNAL_TERMINAL, NULL_DEVICE, SEPCHAR, USER_FULL_NAME)
(_setjmp, _longjmp): Move here from src/s/msdos.h.
(config_opsysfile, config_machfile): Remove.
* msdos/sed1v2.inp (M_FILE, S_FILE): Remove.
* msdos/mainmake.v2 (TAGS tags): Remove src/s/msdos.h.
* src/s/msdos.h: Remove file.
* src/conf_post.h [MSDOS]: New section, moved from s/msdos.h.
* src/Makefile.in (S_FILE): Remove.
(config_h): Remove S_FILE.
Glenn Morris [Wed, 1 Aug 2012 15:00:49 +0000 (08:00 -0700)]
* configure.ac (DOS_NT, MSDOS): New system type templates.
Juanma Barranquero [Wed, 1 Aug 2012 11:20:07 +0000 (13:20 +0200)]
Sync Windows port with autogen/config.in changes.
* nt/config.nt: Sync with autogen/config.in.
(DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
(INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
New macros.
* src/s/ms-w32.h (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP):
Remove; moved to nt/config.nt.
Glenn Morris [Wed, 1 Aug 2012 10:20:52 +0000 (06:20 -0400)]
Auto-commit of loaddefs files.
Glenn Morris [Wed, 1 Aug 2012 10:17:30 +0000 (06:17 -0400)]
Auto-commit of generated files.
Dmitry Antipov [Wed, 1 Aug 2012 08:49:28 +0000 (12:49 +0400)]
Use INTERNAL_FIELD for conses and overlays.
* src/lisp.h (struct Lisp_Cons): Use INTERNAL_FIELD.
Remove obsolete comment.
(MVAR): New macro.
(struct Lisp_Overlay): Use INTERNAL_FIELD.
* src/alloc.c, src/buffer.c, src/buffer.h, src/fns.c: Adjust users.
* admin/coccinelle/overlay.cocci: Semantic patch to replace direct
access to Lisp_Object members of struct Lisp_Overlay to MVAR.
Dmitry Antipov [Wed, 1 Aug 2012 08:18:22 +0000 (12:18 +0400)]
Commit forgotten admin/coccinelle/symbol.cocci.
Dmitry Antipov [Wed, 1 Aug 2012 07:57:09 +0000 (11:57 +0400)]
Use INTERNAL_FIELD for symbols.
* src/lisp.h (SVAR): New macro. Adjust users.
* src/alloc.c, src/bytecode.c, src/cmds.c, src/data.c, src/doc.c, src/eval.c:
* src/fns.c, src/keyboard.c, src/lread.c, src/xterm.c: Users changed.
* admin/coccinelle/symbol.cocci: Semantic patch to replace direct
access to Lisp_Object members of struct Lisp_Symbol to SVAR.
Glenn Morris [Wed, 1 Aug 2012 07:34:28 +0000 (00:34 -0700)]
Small tweaks for autoconf mode
* lisp/progmodes/autoconf.el (autoconf-definition-regexp):
Add AH_TEMPLATE, adjust submatch numbering.
(autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
(autoconf-current-defun-function): Update for above change.
(autoconf-current-defun-function): First skip to end of current word.
Ulrich Müller [Wed, 1 Aug 2012 07:20:52 +0000 (00:20 -0700)]
Tweak FreeBSD LIB_STANDARD, START_FILES
* configure.ac (LIB_STANDARD, START_FILES) [FreeBSD]:
Don't include crtbegin.o and crtend.o.
Fixes: debbugs:12047
Rupert Swarbrick [Wed, 1 Aug 2012 07:15:44 +0000 (00:15 -0700)]
* calendar/cal-html.el (cal-html-insert-agenda-days): Fix typo. (tiny change)
Fixes: debbugs:12018
Dmitry Antipov [Wed, 1 Aug 2012 06:23:24 +0000 (10:23 +0400)]
Use INTERNAL_FIELD for processes.
* src/process.h (PVAR): New macro. Adjust style.
(struct Lisp_Process): Change Lisp_Object members to INTERNAL_FIELD.
* src/print.c, src/process.c, src/sysdep.c, src/w32.c:
* src/xdisp.c: Users changed.
* admin/coccinelle/process.cocci: Semantic patch to replace direct
access to Lisp_Object members of struct Lisp_Process to PVAR.
Dmitry Antipov [Wed, 1 Aug 2012 05:11:36 +0000 (09:11 +0400)]
Use INTERNAL_FIELD for windows.
* src/window.h (WVAR): New macro.
(struct window): Change Lisp_Object members to INTERNAL_FIELD.
* src/alloc.c, src/buffer.c, src/composite.c, src/dispextern.h:
* src/dispnew.c, src/editfns.c, src/fileio.c, src/font.c, src/fontset.c:
* src/frame.c, src/frame.h, src/fringe.c, src/indent.c, src/insdel.c:
* src/keyboard.c, src/keymap.c, src/lisp.h, src/minibuf.c, src/nsterm.m:
* src/print.c, src/textprop.c, src/w32fns.c, src/w32menu.c, src/w32term.c:
* src/window.c, src/xdisp.c, src/xfaces.c, src/xfns.c, src/xmenu.c:
* src/xterm.c: Users changed.
* admin/coccinelle/window.cocci: Semantic patch to replace direct
access to Lisp_Object members of struct window to WVAR.
Paul Eggert [Wed, 1 Aug 2012 03:51:44 +0000 (20:51 -0700)]
* coding.h (CODING_ATTR_FLUSHING): Remove; unused and wouldn't work.
Glenn Morris [Wed, 1 Aug 2012 02:14:20 +0000 (22:14 -0400)]
ChangeLog fixes
Glenn Morris [Wed, 1 Aug 2012 02:02:47 +0000 (22:02 -0400)]
* configure.ac (INTERNAL_TERMINAL): New.
Glenn Morris [Wed, 1 Aug 2012 01:53:04 +0000 (21:53 -0400)]
* configure.ac (FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC): New.
Glenn Morris [Wed, 1 Aug 2012 01:43:08 +0000 (21:43 -0400)]
Move definitions of directory and device separators to configure
* configure.ac (DEVICE_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP):
Move here from src/lisp.h.
* src/lisp.h (IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
Move to configure.ac.
Juanma Barranquero [Wed, 1 Aug 2012 00:29:59 +0000 (02:29 +0200)]
Adapt Windows port to recent changes in autogen/config.in.
* lib-src/makefile.w32-in (CONFIG_H): Update dependencies.
(CONF_POST_H): New macro.
* lib/makefile.w32-in (CONFIG_H): Update dependencies.
(CONF_POST_H): New macro.
* nt/config.nt: Sync with autogen/config.in.
Remove code moved to conf_post.h and include <conf_post.h>
(NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
(USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
* src/makefile.w32-in (CONFIG_H): Update dependencies.
(CONF_POST_H): New macro.
* src/s/ms-w32.h (SEPCHAR, NULL_DEVICE): Remove; moved to nt/config.nt.
Fabián Ezequiel Gallina [Tue, 31 Jul 2012 23:43:31 +0000 (20:43 -0300)]
Shell processes: enhancements to startup and CEDET compatibility.
* progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
(python-shell-make-comint): accept-process-output at startup.
(run-python-internal): Set inferior-python-mode-hook to nil.
(python-shell-internal-get-or-create-process): call sit-for.
(python-preoutput-result): Add obsolete alias.
(python-shell-internal-send-string): Use it.
(python-shell-send-setup-code): Remove call to
accept-process-output.
Glenn Morris [Tue, 31 Jul 2012 23:20:25 +0000 (19:20 -0400)]
* configure.ac (S_FILE): Remove output variable.
* src/Makefile.in (S_FILE): No longer set by configure.
* msdos/sed1v2.inp (S_FILE): Update for format change.
Glenn Morris [Tue, 31 Jul 2012 23:12:24 +0000 (19:12 -0400)]
* configure.ac (opsysfile): Use AH_TEMPLATE. Doc fix.
Glenn Morris [Tue, 31 Jul 2012 23:03:04 +0000 (19:03 -0400)]
Auto-commit of generated files.
Glenn Morris [Tue, 31 Jul 2012 23:02:12 +0000 (19:02 -0400)]
Minor rearrangement for src/conf_post.h
* src/conf_post.h (config_opsysfile):
Move earlier, so that WINDOWSNT is available.
(alloca.h) [WINDOWSNT]: Don't include it on MS Windows.
Andreas Schwab [Tue, 31 Jul 2012 22:34:36 +0000 (00:34 +0200)]
Fixes: debbugs:12108
* buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
Glenn Morris [Tue, 31 Jul 2012 22:24:49 +0000 (18:24 -0400)]
* configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME): Move here from src.
* src/editfns.c (USER_FULL_NAME):
* src/emacs.c (SEPCHAR):
* src/process.h (NULL_DEVICE): Let configure set them.
Jay Belanger [Tue, 31 Jul 2012 21:38:18 +0000 (16:38 -0500)]
calc-mode.el (calc-set-simplify-mode): Adjust message.
Jay Belanger [Tue, 31 Jul 2012 21:32:28 +0000 (16:32 -0500)]
calc-mode.el (calc-basic-simplification-mode): Rename from
`calc-limited-simplification-mode'.
(calc-alg-simplification-mode): New function.
calc.el (calc-set-mode-line): Adjust mode line display
for basic simplification mode.
calc-help.el (calc-m-prefix-help): Update help message.
calc-ext.el (calc-init-extensions): Add bindings and autoloads
for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
Jan Djärv [Tue, 31 Jul 2012 19:23:33 +0000 (21:23 +0200)]
* TODO (NS port): Add text about event loop.
Glenn Morris [Tue, 31 Jul 2012 18:51:24 +0000 (14:51 -0400)]
* src/s/README, src/s/template.h: Remove files.
Glenn Morris [Tue, 31 Jul 2012 18:39:38 +0000 (14:39 -0400)]
Comment
Glenn Morris [Tue, 31 Jul 2012 18:34:26 +0000 (14:34 -0400)]
* src/conf_post.h [HPUX]: Undefine HAVE_RANDOM and HAVE_RINT.
This is a belt-and-braces approach.
* configure.ac: Related comment.
Glenn Morris [Tue, 31 Jul 2012 17:50:52 +0000 (13:50 -0400)]
Move AMPERSAND_FULL_NAME, subprocesses from conf_post.h to configure.ac
* configure.ac (AMPERSAND_FULL_NAME, subprocesses): Move here from conf_post.h.
* src/conf_post.h (AMPERSAND_FULL_NAME, subprocesses): Move to configure.ac.
Eli Zaretskii [Tue, 31 Jul 2012 17:34:51 +0000 (20:34 +0300)]
Fix 'xframe' in .gdbinit.
src/.gdbinit (xframe): Adapt to introduction of FVAR and the
resulting renaming of 'struct frame' members.
Eli Zaretskii [Tue, 31 Jul 2012 16:59:55 +0000 (19:59 +0300)]
Fix some of the breakage introduced with 2012-07-31T12:36:19Z!dmantipov@yandex.ru.
src/w32menu.c (w32_menu_show): Revert bogus introduction of FVAR.
src/fontset.c (dump_fontset): Fix compilation with ENABLE_CHECKING
after introduction of FVAR.
Jan Djärv [Tue, 31 Jul 2012 16:19:03 +0000 (18:19 +0200)]
Fix compiler and run time warnings in nsmenu.m and nsterm.m
* nsfns.m, nsmenu.m, msterm.m: Adopt to struct frame/FVAR changes.
* nsmenu.m (update_frame_tool_bar): Change key from NSObject* to id.
* nsterm.m (ns_draw_fringe_bitmap, ns_dumpglyphs_image): Use drawInRect
instead of compositeToPoint.
(applicationShouldTerminate): Pass NS String literal to NSRunAlertPanel.
Jan Djärv [Tue, 31 Jul 2012 15:15:29 +0000 (17:15 +0200)]
* nsfns.m, nsmenu.m, msterm.m: Adopt to struct frame/FVAR changes.
Bastien Guerry [Tue, 31 Jul 2012 13:34:20 +0000 (15:34 +0200)]
Fix comment in man.el. See bug#12101.
Thanks to Reuben Thomas for catching this.
Bastien Guerry [Tue, 31 Jul 2012 13:32:21 +0000 (15:32 +0200)]
Remove outdate comment section in woman.el. See bug #12099.
Dmitry Antipov [Tue, 31 Jul 2012 12:36:19 +0000 (16:36 +0400)]
Generalize INTERNAL_FIELD between buffers, keyboards and frames.
* src/lisp.h (INTERNAL_FIELD): New macro.
* src/buffer.h (BUFFER_INTERNAL_FIELD): Removed.
(BVAR): Change to use INTERNAL_FIELD.
* src/keyboard.h (KBOARD_INTERNAL_FIELD): Likewise.
(KVAR): Change to use INTERNAL_FIELD.
* src/frame.h (FVAR): New macro.
(struct frame): Use INTERNAL_FIELD for all Lisp_Object fields.
* src/alloc.c, src/buffer.c, src/data.c, src/dispnew.c, src/dosfns.c
* src/eval.c, src/frame.c, src/fringe.c, src/gtkutil.c, src/minibuf.c
* src/nsfns.m, src/nsterm.m, src/print.c, src/term.c, src/w32fns.c
* src/w32menu.c, src/w32term.c, src/window.c, src/window.h, src/xdisp.c
* src/xfaces.c, src/xfns.c, src/xmenu.c, src/xterm.c: Users changed.
* admin/coccinelle/frame.cocci: Semantic patch to replace direct
access to Lisp_Object members of struct frame to FVAR.