1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

105730 commits

Author SHA1 Message Date
Glenn Morris
d6adf7e768 * doc/lispintro/emacs-lisp-intro.texi: Nuke hand-written node pointers.
(dolist, dotimes): Fix sectioning.
2012-05-28 17:53:40 -07:00
Glenn Morris
c1dabff00c * emacs/ack.texi, emacs/building.texi, emacs/calendar.texi
* emacs/custom.texi, emacs/maintaining.texi, emacs/text.texi:
* misc/calc.texi, misc/dired-x.texi:
Use @LaTeX rather than La@TeX.

Fixes: debbugs:10910
2012-05-28 16:35:09 -07:00
Glenn Morris
16af873e58 * doc/misc/sc.texi: Nuke hand-written node pointers.
Fix top-level menu to match actual node order.
2012-05-28 16:28:27 -07:00
Eli Zaretskii
85d0efd175 Fix bug #11513 with raise-frame on MS-Windows.
src/w32term.c (my_bring_window_to_top): New function.
 (x_raise_frame): Use handle returned by DeferWindowPos, which
 could be different from the original one.  Call
 my_bring_window_to_top instead of my_set_foreground_window.
 src/w32fns.c (w32_wnd_proc): Accept and process WM_EMACS_BRINGTOTOP
 by calling BringWindowToTop.
 src/w32term.h (WM_EMACS_BRINGTOTOP): New message.
 (WM_EMACS_END): Increase by one.
2012-05-28 20:22:40 +03:00
Eli Zaretskii
c00ea352d8 Remove HAVE_SYSINFO from nt/config.nt, followup to 2012-05-28T00:46:33Z!eggert@cs.ucla.edu.
nt/config.nt (HAVE_SYSINFO): Remove; unused.
2012-05-28 20:00:18 +03:00
Agustín Martín
85c8c5b653 textmodex/{ispell,flyspell}.el: Decrease XEmacs incompatibilities.
* flyspell.el:          
  (flyspell-check-pre-word-p): Use `string-match'.
  (flyspell-delete-region-overlays): Use alternative definition for XEmacs.
  (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
  (flyspell-word): Use `process-kill-without-query' if XEmacs.
  (flyspell-mode-on): Use `interactive-p' if XEmacs.
  (flyspell-incorrect-face, flyspell-duplicate-face):
  Do not use `define-obsolete-face-alias' under XEmacs, but old method.   

* ispell.el:
  (ispell-with-no-warnings): XEmacs alternative `with-no-warnings'
  definition or Emacs alias.
  (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
  (ispell-word): Do not use `region-p' if XEmacs.
2012-05-28 18:11:15 +02:00
Agustín Martín
8cab9efc05 textmodes/ispell.el: Fix variable name. Show spellchecker on process start.
* (ispell-find-aspell-dictionaries): Check for 
  `ispell-dictionary-base-alist' instead of full `ispell-dictionary-alist'.
* (ispell-init-process): Show spellchecker when starting new Ispell process.
2012-05-28 16:36:27 +02:00
Glenn Morris
e700232f3e Auto-commit of generated files. 2012-05-28 06:17:28 -04:00
Paul Eggert
da92a98c3d * bidi.c (bidi_mirror_char): Put eassert before conversion to int.
This avoids undefined behavior that might cause the eassert
to not catch an out-of-range value.
2012-05-28 00:13:45 -07:00
Reto Zimmermann
fda9126866 * lisp/progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2012-05-27 23:42:18 -04:00
Juanma Barranquero
74d1f848fa src/makefile.w32-in: Update dependencies. 2012-05-28 03:58:42 +02:00
Paul Eggert
0e7a053e6d Make 'configure' a bit smaller and faster.
* configure.in (INSTALL_INFO): Set it with one call to
AC_PATH_PROG, not three.
(PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's
so likely that it'll be needed.
(AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works.
(AC_PROG_MAKE_SET): Remove; Automake does this.
(sysinfo): Do not check for this function, as it's never used.
(tzset): Check for this function just once.
* admin/CPP-DEFINES: Remove HAVE_SYSINFO.
* m4/manywarnings.m4: Sync from gnulib, incorporating the following:
2012-05-27 manywarnings: remove duplicate -Wmultichar entry
2012-05-27 17:46:33 -07:00
Juanma Barranquero
694ea8e3b0 lips/version.el (*-version-string): Declare. 2012-05-27 19:31:31 +02:00
Eli Zaretskii
42a53d84f6 Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
 lib/sys_types.in-h.
 msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
 (GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
 (GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
 (HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
 (NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
 (REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
 (REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
 (WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
 (GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
 (cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 16:42:13 +03:00
Eli Zaretskii
9e1a06fcf8 Fix last change in bidi_mirror_char. 2012-05-27 15:27:07 +03:00
Andreas Schwab
f3dd73121c * unexmacosx.c (copy_data_segment): Truncate after 16 characters
when referring to sectname field in printf format.
2012-05-27 14:18:35 +02:00
Eli Zaretskii
cd37650917 Fix the MS-Windows build broken by 1995-02-25T20:57:45Z!rms@gnu.org.
lib/makefile.w32-in ($(BLD)/md5.$(O)): 
 ($(BLD)/sha1.$(O)): 
 ($(BLD)/sha256.$(O)): 
 ($(BLD)/sha512.$(O)): Depend on $(EMACS_ROOT)/nt/inc/stdalign.h.
 Suggested by Christoph Scholtes <cschol2112@googlemail.com>.
 lib/getopt_.h: Regenerate.
 nt/inc/stdalign.h: New file.

Fixes: debbugs:11527
2012-05-27 15:11:23 +03:00
Glenn Morris
0eb775a3a4 Auto-commit of generated files. 2012-05-27 06:19:11 -04:00
Juri Linkov
e4d4f53985 * lisp/emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
after the `eval-defun-1' specialcaseing
like in `edebug-eval-defun'.

* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
like in `eval-defun-1'.

Fixes: debbugs:10181
2012-05-27 12:45:54 +03:00
Paul Eggert
50c4645e2c Assume gnulib does largefile.
Gnulib does the largefile configuration anyway, so when configure.in
invokes AC_SYS_LARGEFILE, that bloats 'configure' unnecessarily.
* admin/merge-gnulib (GNULIB_MODULES): Add largefile.
* configure.in (AC_SYS_LARGEFILE): Remove.
* lib/gnulib.mk: Autoupdate.
2012-05-27 02:12:09 -07:00
Paul Eggert
57b81a9f51 * lisp.h [REL_ALLOC]: Omit duplicate prototypes.
Only r_alloc_inhibit_buffer_relocation needed to be added;
the others were already declared.
2012-05-27 00:51:09 -07:00
Paul Eggert
81899c9138 * bidi.c (bidi_mirror_char): Don't possibly truncate the integer
before checking whether it's out of range.  Put the check inside
eassert.  See
<http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00485.html>.
2012-05-27 00:32:46 -07:00
Glenn Morris
1d5b82efa7 * doc/misc/cl.texi, doc/misc/dired-x.texi: Nuke hand-written node pointers.
Some associated fixes, including not messing with chapno in cl.texi.
2012-05-26 19:30:29 -07:00
Glenn Morris
bd39eb06b9 * doc/emacs/emacs.texi: Simplify following removal of node pointers. 2012-05-26 19:13:54 -07:00
Glenn Morris
ecc6530da9 Nuke hand-written node pointers in doc/lispref
Let makeinfo figure them out, as is recommended.
2012-05-26 18:34:14 -07:00
Glenn Morris
abb9615e98 Nuke hand-written node pointers in doc/emacs
Let makeinfo figure them out, as is recommended.
2012-05-26 18:25:06 -07:00
Glenn Morris
33017fafd1 Merge from emacs-24; up to 2012-04-24T08:35:02Z!lekktu@gmail.com 2012-05-26 18:06:44 -07:00
Paul Eggert
caf8a9b2b3 Merge from gnulib.
Fixes: debbugs:11527
2012-05-26 16:14:36 -07:00
Glenn Morris
fe453991ea * lib-src/Makefile.in (INSTALL_DATA): Remove; unused. 2012-05-26 15:38:19 -07:00
Paul Eggert
c1892f1145 Fix coding-related core dumps with gcc -ftrapv.
The code was computing A - B, where A and B are pointers, and B is
random garbage.  This can lead to core dumps on platforms that
have special pointer registers, and it also leads to core dumps on
x86-64 when compiled with gcc -ftrapv.  The fix is to compute
A - B only when B is initialized properly.
* coding.c (coding_set_source, coding_set_destination): Return void.
(coding_change_source, coding_change_destinations): New functions,
with the old behaviors of coding_set_source and coding_set_destination.
All callers that need an offset changed to use these new functions.
2012-05-26 15:27:21 -07:00
Glenn Morris
38264cc938 Replace w32-init-info through the magic of custom-initialize-delay
* lisp/w32-fns.el (w32-init-info): Remove.
* lisp/paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2012-05-26 14:58:01 -07:00
Glenn Morris
eb7afdaddc Don't mess with INFOPATH in ns builds
It's not necessary, and would break if INFOPATH was already set (bug#2791).
Ref also
http://lists.gnu.org/archive/html/emacs-devel/2009-05/msg00035.html
http://lists.gnu.org/archive/html/emacs-devel/2005-06/msg00064.html

* lisp/paths.el (Info-default-directory-list):
* lisp/info.el (info-initialize): For self-contained NS builds, put the
included info/ directory at the front. 

* src/nsterm.m (ns_init_paths): Don't mess with INFOPATH.
2012-05-26 14:23:28 -07:00
Glenn Morris
04188bb9ad * lisp/paths.el (Info-default-directory-list): Make it a defcustom.
This is mainly so that we can use custom-initialize-delay,
which means we do not have to worry about "unpruned" directories.
2012-05-26 14:17:06 -07:00
Glenn Morris
5db10eafdc Comment 2012-05-26 13:57:31 -07:00
Stefan Monnier
434163923d * lisp/subr.el (buffer-has-markers-at): Mark obsolete. 2012-05-26 15:55:07 -04:00
Stefan Monnier
a179e3f7b4 Use declare' in lambda' and mis minor changes.
* lisp/subr.el (lambda): Use declare.
* lisp/emacs-lisp/lisp-mode.el (lambda):
* lisp/emacs-lisp/edebug.el (lambda): Move properties to its definition.
* lisp/gnus/legacy-gnus-agent.el (gnus-agent-unhook-expire-days):
* lisp/gnus/gnus-demon.el (gnus-demon-init): Don't bother with type-of.
2012-05-26 11:52:27 -04:00
Eli Zaretskii
53a63be64d Extend mouse support on W32 text-mode console.
src/xdisp.c (draw_row_with_mouse_face): Call
 tty_draw_row_with_mouse_face for WINDOWSNT as well.
 src/w32console.c: Include window.h.
 (w32con_write_glyphs_with_face, tty_draw_row_with_mouse_face): New
 functions.
 (initialize_w32_display): Initialize mouse-highlight data.
 src/w32inevt.c: Include termchar.h and window.h.
 (do_mouse_event): Support mouse-autoselect-window.  When the mouse
 moves, call note_mouse_highlight.  If help_echo changed, call
 gen_help_event to produce help-echo message in the echo area.
 Call clear_mouse_face if mouse_face_hidden is set in the mouse
 highlight info.

 etc/NEWS: Describe the changes.
2012-05-26 15:14:56 +03:00
Eli Zaretskii
c4aeb92ab4 Support help-echo and tooltip messages on w32 text-mode terminals.
src/w32inevt.c (do_mouse_event): If help_echo changed, call gen_help_event
 to produce help-echo message in the echo area.
2012-05-26 14:58:19 +03:00
Eli Zaretskii
f12fdf0237 Support mouse-autoselect-window on w32 text-mode terminals.
src/w32inevt.c (do_mouse_event): Support mouse-autoselect-window.
2012-05-26 14:46:20 +03:00
Eli Zaretskii
42e3a36157 Refactor mouse highlight invocation for w32 console.
src/w32inevt.c: Include termchar.h.
 (mouse_moved_to): Move the call to note_mouse_highlight from here...
 (do_mouse_event): ...to here.
 Call clear_mouse_face if mouse_face_hidden is set in the mouse
 highlight info.
2012-05-26 12:56:31 +03:00
Eli Zaretskii
eb3f6f0189 Support mouse highlight on w32 text-mode frames.
src/xdisp.c (draw_row_with_mouse_face): Call
 tty_draw_row_with_mouse_face for WINDOWSNT as well.
 src/w32inevt.c (mouse_moved_to): When the mouse moves, call
 note_mouse_highlight.
 src/w32console.c: Include window.h.
 (w32con_write_glyphs_with_face, tty_draw_row_with_mouse_face): New
 functions.
 (initialize_w32_display): Initialize mouse-highlight data.
2012-05-26 12:31:59 +03:00
Paul Eggert
4cfd81f6c9 * lread.c (read1): Simplify slightly to avoid an overflow warning
with GCC 4.7.0 on x86-64.
2012-05-26 01:30:49 -07:00
Eli Zaretskii
4446092aff Revert last change in bidi.c.
src/bidi.c (bidi_mirror_char): Revert last change: an int is
 definitely wide enough here.
2012-05-26 10:03:39 +03:00
Aaron S. Hawley
34a008d93c * lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.
Fixes: debbugs:11560
2012-05-25 19:40:47 -07:00
Glenn Morris
0a3b289f43 * lisp/progmodes/cc-mode.el (auto-mode-alist): Fix typo. 2012-05-25 19:34:16 -07:00
Bastien Guerry
ed7bebbb48 Add a forgotten lisp/org/ChangeLog entry. 2012-05-26 01:17:15 +02:00
Glenn Morris
f9f334f0c2 * lisp/paths.el: Remove no-byte-compile.
* lisp/loadup.el: No need to load lisp/paths.el uncompiled.

* src/lisp.mk (lisp): Update for this change.
2012-05-25 18:13:24 -04:00
Glenn Morris
a5532eb31e Fix typos in previous 2012-05-25 17:28:05 -04:00
Bastien Guerry
9893229fd6 Fix major bug in the Org>ODT exporter. 2012-05-25 23:09:08 +02:00
Paul Eggert
8825930890 Merge from trunk. 2012-05-25 13:31:25 -07:00