]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoComment
Glenn Morris [Sat, 26 May 2012 20:57:31 +0000 (13:57 -0700)]
Comment

12 years ago* lisp/subr.el (buffer-has-markers-at): Mark obsolete.
Stefan Monnier [Sat, 26 May 2012 19:55:07 +0000 (15:55 -0400)]
* lisp/subr.el (buffer-has-markers-at): Mark obsolete.

12 years agoUse `declare' in `lambda' and mis minor changes.
Stefan Monnier [Sat, 26 May 2012 15:52:27 +0000 (11:52 -0400)]
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.

12 years agoExtend mouse support on W32 text-mode console.
Eli Zaretskii [Sat, 26 May 2012 12:14:56 +0000 (15:14 +0300)]
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.

12 years agoSupport help-echo and tooltip messages on w32 text-mode terminals.
Eli Zaretskii [Sat, 26 May 2012 11:58:19 +0000 (14:58 +0300)]
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.

12 years agoSupport mouse-autoselect-window on w32 text-mode terminals.
Eli Zaretskii [Sat, 26 May 2012 11:46:20 +0000 (14:46 +0300)]
Support mouse-autoselect-window on w32 text-mode terminals.

 src/w32inevt.c (do_mouse_event): Support mouse-autoselect-window.

12 years agoRefactor mouse highlight invocation for w32 console.
Eli Zaretskii [Sat, 26 May 2012 09:56:31 +0000 (12:56 +0300)]
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.

12 years agoSupport mouse highlight on w32 text-mode frames.
Eli Zaretskii [Sat, 26 May 2012 09:31:59 +0000 (12:31 +0300)]
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.

12 years ago* lread.c (read1): Simplify slightly to avoid an overflow warning
Paul Eggert [Sat, 26 May 2012 08:30:49 +0000 (01:30 -0700)]
* lread.c (read1): Simplify slightly to avoid an overflow warning

with GCC 4.7.0 on x86-64.

12 years agoRevert last change in bidi.c.
Eli Zaretskii [Sat, 26 May 2012 07:03:39 +0000 (10:03 +0300)]
Revert last change in bidi.c.

 src/bidi.c (bidi_mirror_char): Revert last change: an int is
 definitely wide enough here.

12 years ago* lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.
Aaron S. Hawley [Sat, 26 May 2012 02:40:47 +0000 (19:40 -0700)]
* lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.

Fixes: debbugs:11560
12 years ago* lisp/progmodes/cc-mode.el (auto-mode-alist): Fix typo.
Glenn Morris [Sat, 26 May 2012 02:34:16 +0000 (19:34 -0700)]
* lisp/progmodes/cc-mode.el (auto-mode-alist): Fix typo.

12 years ago* lisp/paths.el: Remove no-byte-compile.
Glenn Morris [Fri, 25 May 2012 22:13:24 +0000 (18:13 -0400)]
* 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.

12 years agoMerge from trunk.
Paul Eggert [Fri, 25 May 2012 20:31:25 +0000 (13:31 -0700)]
Merge from trunk.

12 years ago* src/buffer.c (Fmove_overflay): Clip instead of trying to fix bug 9642.
Paul Eggert [Fri, 25 May 2012 20:30:19 +0000 (13:30 -0700)]
* src/buffer.c (Fmove_overflay): Clip instead of trying to fix bug 9642.

12 years ago* lisp/image.el (imagemagick-types-inhibit): Doc fix.
Glenn Morris [Fri, 25 May 2012 20:24:58 +0000 (16:24 -0400)]
* lisp/image.el (imagemagick-types-inhibit): Doc fix.
* etc/NEWS: Related edits.

12 years agoMerge from trunk.
Paul Eggert [Fri, 25 May 2012 19:27:58 +0000 (12:27 -0700)]
Merge from trunk.

12 years agoMerge recent dbus changes better.
Paul Eggert [Fri, 25 May 2012 19:24:54 +0000 (12:24 -0700)]
Merge recent dbus changes better.

12 years ago* src/lisp.mk (lisp): Update for more files being compiled now.
Glenn Morris [Fri, 25 May 2012 18:58:25 +0000 (14:58 -0400)]
* src/lisp.mk (lisp): Update for more files being compiled now.

12 years agoThere's no reason not to compile version.el
Glenn Morris [Fri, 25 May 2012 18:57:51 +0000 (14:57 -0400)]
There's no reason not to compile version.el

AFAICS, this is ancient code dating from when there was an "inc-vers.el",
that was used to bump the build number on version.el. Nowadays that
happens in loadup.el.

* lisp/version.el: Remove no-byte-compile and associated formatting.

* lisp/loadup.el: No need to load lisp/version.el uncompiled.

12 years agoMerge from trunk.
Paul Eggert [Fri, 25 May 2012 18:19:24 +0000 (11:19 -0700)]
Merge from trunk.

12 years ago* src/lread.c: Remove `read_pure' which makes no difference.
Stefan Monnier [Fri, 25 May 2012 18:06:13 +0000 (14:06 -0400)]
* src/lread.c: Remove `read_pure' which makes no difference.
(read_pure): Remove var.
(unreadpure): Remove function.
(readevalloop): Don't call read_list with -1 flag.
(read1, read_vector): Don't test read_pure any more.
(read_list): Simplify.

12 years ago* lisp/progmodes/js.el: Add notes in comments.
Stefan Monnier [Fri, 25 May 2012 15:03:22 +0000 (11:03 -0400)]
* lisp/progmodes/js.el: Add notes in comments.

12 years ago* src/fileio.c, src/character.h: Minor style tweaks.
Stefan Monnier [Fri, 25 May 2012 15:01:30 +0000 (11:01 -0400)]
* src/fileio.c, src/character.h: Minor style tweaks.

12 years ago* lisp/gnus/gnus-win.el (gnus-configure-frame): Don't signal an error when
Stefan Monnier [Fri, 25 May 2012 14:58:17 +0000 (10:58 -0400)]
* lisp/gnus/gnus-win.el (gnus-configure-frame): Don't signal an error when
jumping to *Server* from a dedicated *Group* window.
(gnus-configure-frame): CSE.
* lisp/gnus/gnus-registry.el: Minor style cleanup.
(gnus-registry--set/remove-mark): New function, extracted from
gnus-registry-install-shortcuts.
(gnus-registry-install-shortcuts): Use it.

12 years ago* lisp/progmodes/gdb-mi.el: Minor style changes.
Stefan Monnier [Fri, 25 May 2012 14:47:57 +0000 (10:47 -0400)]
* lisp/progmodes/gdb-mi.el: Minor style changes.
(gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
Turn into minor modes.
(gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
(gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
(gdb-shell): Remove unneeded let-binding.
(gdb-get-many-fields): Eliminate O(n²) behavior.

12 years agoMinor fixes for MSDOS build to track latest changes.
Eli Zaretskii [Fri, 25 May 2012 10:35:13 +0000 (13:35 +0300)]
Minor fixes for MSDOS build to track latest changes.

 msdos/sed6.inp (INFO_EXT): Edit to .info.
 (INFO_OPTS): Edit to --no-split.
 lisp/cus-start.el <vertical-centering-font-regexp>: Avoid warning on
 platforms that don't link in fontset.c.

12 years agoFollow-up for 2012-05-02T13:00:29Z!cyd@gnu.org.
Eli Zaretskii [Fri, 25 May 2012 10:31:18 +0000 (13:31 +0300)]
Follow-up for 2012-05-02T13:00:29Z!cyd@gnu.org.

 lisp/cus-start.el <vertical-centering-font-regexp>: Avoid warning on
 platforms that don't link in fontset.c.

12 years agoFollow-up for 2012-05-04T06:45:03Z!rgm@gnu.org.
Eli Zaretskii [Fri, 25 May 2012 10:21:30 +0000 (13:21 +0300)]
Follow-up for 2012-05-04T06:45:03Z!rgm@gnu.org.

 msdos/sed6.inp (INFO_EXT): Edit to .info.
 (INFO_OPTS): Edit to --no-split.

12 years ago* lisp/url/url-http.el (url-http-codes): Fix mal-formed defconst.
Leo Liu [Fri, 25 May 2012 10:19:01 +0000 (18:19 +0800)]
* lisp/url/url-http.el (url-http-codes): Fix mal-formed defconst.

12 years agonnspool.el (news-path): Use eval-and-compile
Katsumi Yamaoka [Fri, 25 May 2012 06:43:29 +0000 (06:43 +0000)]
nnspool.el (news-path): Use eval-and-compile

12 years agoUse the same diff color scheme as in modern VCSes (bug#10181).
Juri Linkov [Fri, 25 May 2012 00:55:40 +0000 (03:55 +0300)]
Use the same diff color scheme as in modern VCSes (bug#10181).

* lisp/vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
to avoid confusion with `diff-added' that now uses green colors.
(diff-removed): Use shades of red.
(diff-added): Use shades of green.
(diff-changed): Leave just the yellow color.
(diff-use-changed-face): New variable.
(diff-font-lock-keywords): Use `diff-use-changed-face' to decide
how to highlight context diff changes.
(diff-refine-change): Use shades of yellow.
(diff-refine-removed): New face that uses shades of red.
(diff-refine-added): New face that uses shades of green.
(diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
`diff-refine-removed' in the call to `smerge-refine-subst'
depending on the value of `diff-use-changed-face'.

* lisp/vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
Add face condition `min-colors 88' with shades of red.
(ediff-current-diff-B, ediff-fine-diff-B): Add face condition
`min-colors 88' with shades of green.
(ediff-current-diff-C, ediff-fine-diff-C): Add face condition
`min-colors 88' with shades of yellow.

* lisp/vc/smerge-mode.el (smerge-mine): Use shades of red.
(smerge-other): Use shades of green.
(smerge-base): Use shades of yellow.
(smerge-refined-change): Empty face.
(smerge-refined-removed): New face that uses shades of red.
(smerge-refined-added): New face that uses shades of green.
(smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
args `props-r' and `props-a', and use them.  Doc fix.
(smerge-refine): Evaluate `smerge-use-changed-face' and depending
on its value use different faces `smerge-refined-change',
`smerge-refined-removed', `smerge-refined-added' in the call to
`smerge-refine-subst'.

12 years agoFix previous (slogin and rlogin not appropriate for remote-shell-program)
Glenn Morris [Thu, 24 May 2012 21:27:22 +0000 (17:27 -0400)]
Fix previous (slogin and rlogin not appropriate for remote-shell-program)

12 years agoMove prune-directory-list, remote-shell-program from paths.el to files.el
Glenn Morris [Thu, 24 May 2012 20:40:19 +0000 (16:40 -0400)]
Move prune-directory-list, remote-shell-program from paths.el to files.el

* lisp/paths.el (prune-directory-list, remote-shell-program): Move to ...
* lisp/files.el (prune-directory-list, remote-shell-program): ...here.
For the latter, delay initialization, prefer ssh, just search PATH.

12 years ago* lisp/paths.el (term-file-prefix): Move to lisp/faces.el (the only user).
Glenn Morris [Thu, 24 May 2012 07:53:21 +0000 (00:53 -0700)]
* lisp/paths.el (term-file-prefix): Move to lisp/faces.el (the only user).
* faces.el (term-file-prefix): Move here, make it a defcustom.

12 years ago* paths.el (news-inews-program): Move to gnus/nnspool.el.
Glenn Morris [Thu, 24 May 2012 07:31:45 +0000 (00:31 -0700)]
* paths.el (news-inews-program): Move to gnus/nnspool.el.

* gnus/nnspool.el (news-inews-program): Move here from paths.el.
Don't see a need for this to be autoloaded.  (Or even to exist; it is
only used to init another variable.)

12 years ago* paths.el (news-directory, news-path): Move to gnus/nnspool.el.
Glenn Morris [Thu, 24 May 2012 07:27:24 +0000 (00:27 -0700)]
* paths.el (news-directory, news-path): Move to gnus/nnspool.el.

* gnus/nnspool.el (news-directory, news-path): Move here from paths.el.
Don't see a need for these to be autoloaded.  This file is the only
place that uses them, to init another variable.

12 years agoAdd missing autload pieces needed for rmail-spool-directory's delayed init
Glenn Morris [Thu, 24 May 2012 07:20:34 +0000 (00:20 -0700)]
Add missing autload pieces needed for rmail-spool-directory's delayed init

12 years agoNo need to define gnus-default-nntp-server in paths.el
Glenn Morris [Thu, 24 May 2012 07:11:19 +0000 (00:11 -0700)]
No need to define gnus-default-nntp-server in paths.el

Don't see a need for this to be autoloaded, since it is only used in
gnus.el (in one place, as a fallback).  Maybe it should be obsolete?

* paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).

* gnus/gnus.el (gnus-default-nntp-server): Make it a defcustom.
Merge in doc from paths.el version.

12 years agoMove some rmail variables from paths.el to rmail.el
Glenn Morris [Thu, 24 May 2012 06:53:08 +0000 (23:53 -0700)]
Move some rmail variables from paths.el to rmail.el

Ref eg
http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00620.html

* paths.el (rmail-file-name, rmail-spool-directory): Move from here...
* mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
Make the latter a defcustom, with a delayed initialization.

12 years ago* paths.el (gnus-nntp-service, gnus-local-organization): Remove.
Glenn Morris [Thu, 24 May 2012 06:42:26 +0000 (23:42 -0700)]
* paths.el (gnus-nntp-service, gnus-local-organization): Remove.
These were deleted from Gnus itself late 2010.

12 years agoDo not set a local value for version-control in version.el
Glenn Morris [Thu, 24 May 2012 06:38:41 +0000 (23:38 -0700)]
Do not set a local value for version-control in version.el
There's no reason to; this file isn't auto-generated or anything like
that.

12 years ago* src/window.h (clip_changed): Remove useless declaration.
Dmitry Antipov [Thu, 24 May 2012 06:13:51 +0000 (23:13 -0700)]
* src/window.h (clip_changed): Remove useless declaration.

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 23 May 2012 10:17:31 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoFix ChangeLog typos.
Juanma Barranquero [Tue, 22 May 2012 18:31:19 +0000 (20:31 +0200)]
Fix ChangeLog typos.

12 years agolisp/progmodes/which-func.el (which-func-ff-hook): Check against user-error.
Juanma Barranquero [Tue, 22 May 2012 16:50:02 +0000 (18:50 +0200)]
lisp/progmodes/which-func.el (which-func-ff-hook): Check against user-error.

12 years agolisp/emacs-lisp/edebug.el: Do not load cl-specs.el.
Juanma Barranquero [Tue, 22 May 2012 16:45:44 +0000 (18:45 +0200)]
lisp/emacs-lisp/edebug.el: Do not load cl-specs.el.

12 years agosrc/makefile.w32-in: Follow-up to 2012-05-22T16:20:27Z!eggert@cs.ucla.edu.
Juanma Barranquero [Tue, 22 May 2012 16:42:08 +0000 (18:42 +0200)]
src/makefile.w32-in: Follow-up to 2012-05-22T16:20:27Z!eggert@cs.ucla.edu.
(TAGS, TAGS-gmake, CONFIG_H): Remove further references to m/intel386.h.

12 years agoRemove src/m/*.
Paul Eggert [Tue, 22 May 2012 16:20:27 +0000 (09:20 -0700)]
Remove src/m/*.

* configure.in: Remove all mention of src/m/*.
(machine, machfile, M_FILE, config_machfile, and_machfile): Remove.
All uses removed.
(BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
(BITS_PER_LONG_LONG): Move to src/lisp.h.
* lib/makefile.w32-in: Remove dependencies on
$(EMACS_ROOT)/src/m/intel386.h.
* make-dist: Don't make links to src/m.
* admin/CPP-DEFINES: Do not mention src/m/*.h.
(BITS_PER_EMACS_INT, BITS_PER_LONG, BITS_PER_CHAR)
(BITS_PER_SHORT, BITS_PER_INT): Remove.
* admin/MAINTAINERS: Remove src/m/.
* lib-src/makefile.w32-in: Remove dependencies on
$(EMACS_ROOT)/src/m/intel386.h.
* msdos/mainmake.v2 (TAGS tags): Don't look at $(CURDIR)/src/m/intel386.h.
* nt/config.nt: Do not include "m/intel386.h"; file was removed.
(BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
Move to src/lisp.h.
(EMACS_INT_MAX): New macro.
This directory predates autoconf and is no longer needed nowadays.
Move its few remaining bits of functionality to where they're needed.
* src/m/README, src/m/alpha.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibmrs6000.h:
* src/m/ibms390x.h, src/m/intel386.h, src/m/m68k.h, src/m/macppc.h:
* src/m/sparc.h, src/m/template.h: Remove.
* src/Makefile.in (M_FILE): Remove.  All uses removed.
* src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS):
* src/lisp.h (USE_LSB_TAG):
* src/mem-limits.h (EXCEEDS_LISP_PTR):
Use VAL_MAX, not VALBITS, in #if.
* src/lisp.h (EMACS_INT_MAX): New macro, useful in #if.
(EMACS_UINT): Define unconditionally now.
(BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
(BITS_PER_EMACS_INT): New constants, replacing
what used to be in config.h, but not useful in #if.
(GCTYPEBITS, VALBITS): Define unconditionally, since m/* files don't
define them any more.
(VAL_MAX): New macro.
(VALMASK): Use it.
* src/puresize.h (PURESIZE_RATIO): Use EMACS_INT_MAX, not
BITS_PER_EMACS_INT, in #if.
* src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY)
(BROKEN_SIGPOLL): Move here from m/ibmrs6000.h, which was removed.
* src/s/gnu-linux.h (ULIMIT_BREAK_VALUE) [__i386__]:
* src/s/ms-w32.h (DATA_START):
Move here from removed file m/intel386.h.
* src/s/gnu.h (NLIST_STRUCT): Remove undef; 'configure' does this.
* src/s/irix6-5.h (_LP64): Remove; lisp.h no longer needs this.

12 years agoAuto-commit of generated files.
Glenn Morris [Tue, 22 May 2012 10:17:27 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoMissing piece of previous change
Glenn Morris [Tue, 22 May 2012 03:38:10 +0000 (20:38 -0700)]
Missing piece of previous change

12 years ago* doc/emacs/emacs.texi (Acknowledgments): Add another contributor.
Glenn Morris [Tue, 22 May 2012 03:35:14 +0000 (20:35 -0700)]
* doc/emacs/emacs.texi (Acknowledgments): Add another contributor.

12 years agoAdd "How to Report a Bug" to Help menu
Glenn Morris [Tue, 22 May 2012 03:31:34 +0000 (20:31 -0700)]
Add "How to Report a Bug" to Help menu

* lisp/info.el (info-emacs-bug): New command.
* lisp/menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
* lisp/mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.

12 years agoUse C-h r in BUGS
Glenn Morris [Tue, 22 May 2012 03:28:12 +0000 (20:28 -0700)]
Use C-h r in BUGS

12 years ago* Makefile.in (ACLOCAL_INPUTS): Fix up gnulib-comp.m4 name. (Bug#11529)
Paul Eggert [Tue, 22 May 2012 01:19:43 +0000 (18:19 -0700)]
* Makefile.in (ACLOCAL_INPUTS): Fix up gnulib-comp.m4 name.  (Bug#11529)

Without this further fix, aclocal was being invoked unnecessarily.

12 years agoMore small tweaks for Makefile.in
Glenn Morris [Tue, 22 May 2012 01:10:05 +0000 (21:10 -0400)]
More small tweaks for Makefile.in

* Makefile.in (blessmail, install-arch-dep, uninstall):
Check cd lib-src works.
(install-arch-dep, uninstall): Remove unneeded subshells.

12 years ago* lib-src/Makefile.in (install): Remove unneeded chmods.
Glenn Morris [Tue, 22 May 2012 00:58:17 +0000 (20:58 -0400)]
* lib-src/Makefile.in (install): Remove unneeded chmods.

INSTALL_PROGRAM and INSTALL_SCRIPT default to mode 755.

12 years agoRemove leim/Makefile.in's SUBDIRS
Glenn Morris [Tue, 22 May 2012 00:46:40 +0000 (20:46 -0400)]
Remove leim/Makefile.in's SUBDIRS

It isn't necessary given MKDIR_P, and I have some vague memory that
the time-stamping was causing unncessary re-dumping in some instance.

* leim/Makefile.in (SUBDIRS): Remove variable and rule.
(MKDIR_P): Add it back.
(all, changed.tit, changed.misc, leim-list.el): Don't depend on SUBDIRS.
(changed.tit, changed.misc): Ensure output directory exists.
(distclean): Don't use SUBDIRS.

12 years ago* update-subdirs: Move to build-aux/.
Glenn Morris [Mon, 21 May 2012 20:40:55 +0000 (16:40 -0400)]
* update-subdirs: Move to build-aux/.

* make-dist:
* Makefile.in (install-arch-indep):
* lisp/Makefile.in (update-subdirs):
* lisp/makefile.w32-in (update-subdirs-SH):
Update for this change.

12 years agoLet the top-level Makefile install leim
Glenn Morris [Mon, 21 May 2012 20:13:49 +0000 (16:13 -0400)]
Let the top-level Makefile install leim

* Makefile.in (leimdir): New, set by configure.
(COPYDIR, COPYDESTS): Add leim directories.
(install-leim): Remove.
(install-arch-indep): Handle leim installation directly.

* leim/Makefile.in (install): Remove, let top-level do it.
(version, prefix, datarootdir, datadir, ns_appresdir, leimdir):
(MKDIR_P, GZIP_PROG): Remove, no longer used.

12 years agoUpdate regexp in BUGS.
Glenn Morris [Mon, 21 May 2012 19:32:04 +0000 (15:32 -0400)]
Update regexp in BUGS.

12 years agoRemove vpath.sed; unused for literally decades AFAICS
Glenn Morris [Mon, 21 May 2012 19:16:27 +0000 (15:16 -0400)]
Remove vpath.sed; unused for literally decades AFAICS

* vpath.sed: Remove unused file.
* make-dist: No more vpath.sed.

12 years agoUse full name for m4/gnulib-comp.m4. (Bug#11529)
Paul Eggert [Mon, 21 May 2012 19:04:11 +0000 (12:04 -0700)]
Use full name for m4/gnulib-comp.m4.  (Bug#11529)

Previously the file was named m4/gl-comp.m4 due to DOS 8+3 restrictions,
even though the file's name in gnulib is m4/gnulib-comp.m4.
This had a problem when merging from gnulib, as the code temporarily
renamed it to the full name, causing problems when interrupted.
Now the file has its full name, with the idea that we will find
a solution for MS-DOS that does not affect the rest of Emacs.
* m4/gnulib-comp.m4: Rename from m4/gl-comp.m4.
* admin/merge-gnulib: Leave m4/gnulib-comp.m4's name alone.

12 years agoAssume C89 or later.
Paul Eggert [Mon, 21 May 2012 15:36:54 +0000 (08:36 -0700)]
Assume C89 or later.

* configure.in (AC_C_PROTOTYPES, AC_C_VOLATILE, AC_C_CONST)
(POINTER_TYPE, PROTOTYPES): Remove.
* admin/CPP-DEFINES: Remove NULL, const.
* lib-src/etags.c (static, const): Remove macros.
(PTR): Remove; all uses replaced with void *.  Omit needless casts.
* src/alloc.c, src/buffer.c, lisp.h: Replace POINTER_TYPE with void.
* alloc.c (overrun_check_malloc, overrun_check_realloc, xmalloc)
(xrealloc):
* buffer.c (mmap_free_1, mmap_enlarge): Omit needless casts.
* editfns.c, fns.c, gmalloc.c, insdel.c, sysdep.c, termcap.c (NULL):
* textprop.c, tparam.c (NULL): Remove.
* ralloc.c, vm-limit.c (POINTER): Assume void * works.
* regex.c (SIGN_EXTEND_CHAR): Assume signed char works.
* regex.h (_RE_ARGS): Remove.  All uses rewritten to use prototypes.
* unexelf.c (ElfBitsW): Assume c89 preprocessor or better.
* xterm.c (input_signal_count): Assume volatile works.

12 years ago* src/xgselect.c (xg_select): Fix first argument in call to 'select' (bug#11508).
Ken Brown [Mon, 21 May 2012 13:35:40 +0000 (09:35 -0400)]
* src/xgselect.c (xg_select): Fix first argument in call to 'select' (bug#11508).

12 years agoAuto-commit of generated files.
Glenn Morris [Mon, 21 May 2012 10:17:34 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoRename LEIM_INSTALLDIR to leimdir, treat consistently with lispdir
Glenn Morris [Mon, 21 May 2012 07:30:23 +0000 (00:30 -0700)]
Rename LEIM_INSTALLDIR to leimdir, treat consistently with lispdir

* configure.in (LEIM_INSTALLDIR): Rename to leimdir, treat like lispdir.

* leim/Makefile.in (install_prefix): Remove.
(LEIM_INSTALLDIR): Rename to leimdir.
(install): Update for this change.

12 years ago* lisp/hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
Stefan Monnier [Mon, 21 May 2012 04:33:54 +0000 (00:33 -0400)]
* lisp/hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.

12 years ago* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Stefan Monnier [Mon, 21 May 2012 04:28:41 +0000 (00:28 -0400)]
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Simplify Maven regexp, and make sure the file can't start with a space.

Fixes: debbugs:11517
12 years agoMake merging from gnulib a script, not a makefile action.
Paul Eggert [Mon, 21 May 2012 02:33:13 +0000 (19:33 -0700)]
Make merging from gnulib a script, not a makefile action.

Putting it in a makefile has some problems with reflection, as
merging from gnulib updates 'configure', which can update the makefile.
Putting it in a standalone script breaks this loop.
* Makefile.in (gnulib_srcdir, $(gnulib_srcdir), DOS_gnulib_comp.m4)
(GNULIB_MODULES, GNULIB_TOOL_FLAGS, sync-from-gnulib):
Remove, moving the actions to the script admin/merge-gnulib.
* admin/merge-gnulib: New script, with actions moved here from
../Makefile.in.

12 years agoCommand substitution already runs in a subshell
Glenn Morris [Mon, 21 May 2012 00:44:34 +0000 (17:44 -0700)]
Command substitution already runs in a subshell

* Makefile.in (install-arch-indep, install-doc, install-info, uninstall):
* leim/Makefile.in (leim-list.el, install):
* lib-src/Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
* lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
* test/automated/Makefile.in (setwins):
Scrap superfluous subshells.

12 years agoGet rid of compiler warnings on Cygwin.
Ken Brown [Sun, 20 May 2012 12:19:13 +0000 (08:19 -0400)]
Get rid of compiler warnings on Cygwin.

* src/gmalloc.c (_free_internal_nolock, _realloc_internal_nolock)
[CYGWIN]:  Cast ptr to (char *) before comparing to _heapbase.

12 years agoAuto-commit of generated files.
Glenn Morris [Sun, 20 May 2012 10:18:48 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years agoImprove test for when xg_select should just invoke select (bug#9754).
Ken Brown [Sat, 19 May 2012 21:46:43 +0000 (17:46 -0400)]
Improve test for when xg_select should just invoke select (bug#9754).

* src/xfns.c (x_in_use): Remove `static' qualifier.
* src/xterm.h (x_in_use): Declare.
* src/xgselect.c: Include xterm.h.
(xg_select): Test `x_in_use' instead of `inhibit_window_system'
and `display_arg'.

12 years agoComments
Glenn Morris [Sat, 19 May 2012 19:17:04 +0000 (12:17 -0700)]
Comments

12 years agoComments
Glenn Morris [Sat, 19 May 2012 19:04:50 +0000 (12:04 -0700)]
Comments

12 years ago* Makefile.in (install-etc): Respect DESTDIR.
Ulrich Mueller [Sat, 19 May 2012 18:57:10 +0000 (11:57 -0700)]
* Makefile.in (install-etc): Respect DESTDIR.

Fixes: debbugs:11518
12 years agoUndo part of previous change, in case it makes command line too long
Glenn Morris [Sat, 19 May 2012 18:47:39 +0000 (11:47 -0700)]
Undo part of previous change, in case it makes command line too long

12 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
Stefan Monnier [Sat, 19 May 2012 18:28:32 +0000 (14:28 -0400)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
(byte-compile-warning-prefix, batch-byte-compile-file): Use it.

12 years agoRemove unused HAVE_* symbols for functions.
Paul Eggert [Sat, 19 May 2012 18:04:49 +0000 (11:04 -0700)]
Remove unused HAVE_* symbols for functions.

* configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols,
getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm,
getsockopt, setsockopt, mremap, mempcpy.
* admin/CPP-DEFINES (HAVE_GETDOMAINNAME): Remove.
* msdos/sed2v2.inp (HAVE_MBLEN): Remove.
* msdos/sed2x.inp (HAVE_XSETWMPROTOCOLS): Remove.
* nt/config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
(HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
* src/s/ms-w32.h (HAVE_GETDOMAINNAME): Remove; not needed.

12 years ago* calc/calc-units.el (math-consistent-units-p): Accept unit systems
Jay Belanger [Sat, 19 May 2012 14:59:47 +0000 (09:59 -0500)]
* calc/calc-units.el (math-consistent-units-p): Accept unit systems
as consistent units.

12 years agoAuto-commit of generated files.
Glenn Morris [Sat, 19 May 2012 10:17:29 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoRemove no-longer-used macro HAVE_FTIME.
Paul Eggert [Sat, 19 May 2012 08:49:08 +0000 (01:49 -0700)]
Remove no-longer-used macro HAVE_FTIME.

* configure.in (machine): Do not set to 'vax', since src/m/vax.h
is being removed.
(AC_CHECK_FUNCS): Remove ftime.
* admin/CPP-DEFINES (HAVE_FTIME): Remove.
* nt/config.nt (HAVE_FTIME): Remove undef; not needed.
* src/m/vax.h: Remove; no longer needed since HAVE_FTIME is being removed.
* src/s/ms-w32.h (HAVE_FTIME): Remove; not needed.

12 years ago* Makefile.in (install-arch-indep): Remove unneeded subshell.
Glenn Morris [Sat, 19 May 2012 07:20:16 +0000 (00:20 -0700)]
* Makefile.in (install-arch-indep): Remove unneeded subshell.
Combine some rm commands.

12 years ago* Makefile.in (install-arch-indep): Remove unneeded chmod.
Glenn Morris [Sat, 19 May 2012 06:45:24 +0000 (23:45 -0700)]
* Makefile.in (install-arch-indep): Remove unneeded chmod.
Set permissions of lisp/subdirs.el.

12 years ago* Makefile.in (SUBDIR): Add leim. Update users.
Glenn Morris [Sat, 19 May 2012 06:42:26 +0000 (23:42 -0700)]
* Makefile.in (SUBDIR): Add leim.  Update users.

12 years ago* Makefile.in (lib, lib-src, lisp): Check cd return value.
Glenn Morris [Sat, 19 May 2012 06:36:25 +0000 (23:36 -0700)]
* Makefile.in (lib, lib-src, lisp): Check cd return value.

12 years ago* Makefile.in (leim): No need to set PARALLEL.
Glenn Morris [Sat, 19 May 2012 06:34:59 +0000 (23:34 -0700)]
* Makefile.in (leim): No need to set PARALLEL.

This predates the use of changed.misc etc to serialize the leim build.
The leim Makefile used to set .NO_PARALLEL/.NOTPARALLEL for the same
reason, but has not done so for many years.

12 years ago* calc/calc-units.el (calc-quick-units): Use the proper units expression.
Jay Belanger [Sat, 19 May 2012 03:11:09 +0000 (22:11 -0500)]
* calc/calc-units.el (calc-quick-units):  Use the proper units expression.

12 years ago* calc/calc-units.el (calc-ensure-consistent-units): Declare.
Jay Belanger [Sat, 19 May 2012 03:03:35 +0000 (22:03 -0500)]
* calc/calc-units.el (calc-ensure-consistent-units): Declare.

12 years ago* calc/calc.el (calc-ensure-consistent-units): New variable.
Jay Belanger [Sat, 19 May 2012 03:00:48 +0000 (22:00 -0500)]
* calc/calc.el (calc-ensure-consistent-units): New variable.

* calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency):
  New functions.
  (calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when
  `calc-ensure-consistent-units' is non-nil.
  (calc-extract-units): Fix typo.

* doc/misc/calc.texi
  (Basic Operations on Units, Customizing Calc):
  Mention `calc-ensure-consistent-units'.

12 years agoFurther small Makefile install simplifications
Glenn Morris [Fri, 18 May 2012 23:15:11 +0000 (19:15 -0400)]
Further small Makefile install simplifications

* Makefile.in (install-arch-indep, install-info, install-man):
Simplify some one-sided ifs.

12 years ago* lisp/vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
Stefan Monnier [Fri, 18 May 2012 20:38:37 +0000 (16:38 -0400)]
* lisp/vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.

12 years ago* lisp/textmodes/flyspell.el: Commenting style, plus code simplifications.
Stefan Monnier [Fri, 18 May 2012 19:04:07 +0000 (15:04 -0400)]
* lisp/textmodes/flyspell.el: Commenting style, plus code simplifications.
(flyspell-default-deplacement-commands): Don't spell check after
repeated window/frame switches (e.g. triggered by mouse-movement).
(flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
(flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
(flyspell-casechars-cache, flyspell-ispell-casechars-cache)
(flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
Remove unused vars.
(flyspell-get-casechars, flyspell-get-not-casechars):
Simplify; Don't bother removing a ] just to add it back.
* lisp/textmodes/ispell.el (ispell-program-name): Use executable-find.

12 years ago* Makefile.in: Install only the relevant DOC file.
Glenn Morris [Fri, 18 May 2012 18:40:19 +0000 (14:40 -0400)]
* Makefile.in: Install only the relevant DOC file.

This only affects in-tree builds where you have several versions
emacs-24.1.50.1, .2, etc lying around.

* Makefile.in: (install-arch-indep): Delete etc/DOC*.
(install-doc): No more need to delete etc/DOC.

12 years agoFix up dependencies in previous change.
Glenn Morris [Fri, 18 May 2012 18:19:37 +0000 (14:19 -0400)]
Fix up dependencies in previous change.
install-arch-indep deletes the entire destination etc/ directory,
so install-doc needs that to be run first.

12 years ago* Makefile.in (install-arch-indep): Split into several rules.
Glenn Morris [Fri, 18 May 2012 17:56:08 +0000 (13:56 -0400)]
* Makefile.in (install-arch-indep): Split into several rules.
(install-doc, innstall-info, install-man): New rules.

12 years ago* configure.in (mandir): May as well include it in the NS app bundle.
Glenn Morris [Fri, 18 May 2012 17:49:24 +0000 (13:49 -0400)]
* configure.in (mandir): May as well include it in the NS app bundle.

12 years agoMinor fix for previous change.
Glenn Morris [Fri, 18 May 2012 17:40:13 +0000 (13:40 -0400)]
Minor fix for previous change.

12 years agocalc/calc-lang.el (math-C-parse-bess, math-C-parse-fma): New functions.
Rüdiger Sonderfeld [Fri, 18 May 2012 15:16:23 +0000 (10:16 -0500)]
calc/calc-lang.el  (math-C-parse-bess, math-C-parse-fma): New functions.
(math-function-table):  Add support for more C functions.