]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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.

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

12 years agoFix compilation with -DGLYPH_DEBUG=1 on MS-Windows.
Eli Zaretskii [Fri, 18 May 2012 08:36:50 +0000 (11:36 +0300)]
Fix compilation with -DGLYPH_DEBUG=1 on MS-Windows.

 src/w32term.c [GLYPH_DEBUG]: Add prototype for x_check_font.
 (x_check_font) [GLYPH_DEBUG]: New function, copied from xterm.c
 src/w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: Fix broken
 reference to image_cache->refcount.
 (x_create_tip_frame): Fix broken use of FRAME_IMAGE_CACHE.

12 years agoReposition previous change
Glenn Morris [Fri, 18 May 2012 07:44:13 +0000 (00:44 -0700)]
Reposition previous change

12 years agoAvoid installation followed by immediate deletion for self-contained ns
Glenn Morris [Fri, 18 May 2012 07:41:13 +0000 (00:41 -0700)]
Avoid installation followed by immediate deletion for self-contained ns

* configure.in (INSTALL_ARCH_INDEP_EXTRA): New output variable.
* Makefile.in (INSTALL_ARCH_INDEP_EXTRA): New, set by configure.
(install-arch-indep): Don't install-etc for self-contained ns builds.

12 years agotextmodes/flyspell.el: Minor change over last 2012-05-18T07:04:04Z!agustin.martin...
Agustín Martín [Fri, 18 May 2012 07:36:09 +0000 (09:36 +0200)]
textmodes/flyspell.el: Minor change over last 2012-05-18T07:04:04Z!agustin.martin@hispalinux.es change. Use ispell-otherchars variable.

Use ispell-otherchars variable rather than (ispell-get-otherchars).

12 years ago* Makefile.in (install-arch-indep): Minor fix for earlier change.
Glenn Morris [Fri, 18 May 2012 07:34:10 +0000 (00:34 -0700)]
* Makefile.in (install-arch-indep): Minor fix for earlier change.

12 years agoStop adding Fink directories to search path on OS X
Glenn Morris [Fri, 18 May 2012 07:14:45 +0000 (00:14 -0700)]
Stop adding Fink directories to search path on OS X

* configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) <darwin>:
No longer unconditonally add /sw directories.

* etc/NEWS: Mention this.

Fixes: debbugs:2280
12 years agoRemove some old comments
Glenn Morris [Fri, 18 May 2012 07:06:23 +0000 (00:06 -0700)]
Remove some old comments

12 years agotextmodes/flyspell.el: Protect delay handling for otherchars against empty otherchars.
Agustín Martín [Fri, 18 May 2012 07:04:04 +0000 (09:04 +0200)]
textmodes/flyspell.el: Protect delay handling for otherchars against empty otherchars.

(flyspell-check-pre-word-p, flyspell-check-word-p,flyspell-debug-signal-word-checked)

12 years agoTweak dependencies in top-level install rules
Glenn Morris [Fri, 18 May 2012 07:00:09 +0000 (00:00 -0700)]
Tweak dependencies in top-level install rules

* Makefile.in (install-arch-dep): Depend on install-arch-indep.
(install-arch-indep): Depend on install-leim.
(install): Remove explicit install-leim dependence.

12 years agoRemove the mkdir rule from the top-level Makefile
Glenn Morris [Fri, 18 May 2012 06:54:28 +0000 (23:54 -0700)]
Remove the mkdir rule from the top-level Makefile

* Makefile.in (install-arch-indep): Move last element of mkdir rule here.
(mkdir): Remove rule.

12 years ago* Makefile.in (install-arch-indep): Remove unneeded chmods.
Glenn Morris [Fri, 18 May 2012 06:48:14 +0000 (23:48 -0700)]
* Makefile.in (install-arch-indep): Remove unneeded chmods.
INSTALL_DATA does this for us.

12 years agoMakefile simplifications related to creating installation directories
Glenn Morris [Fri, 18 May 2012 06:46:05 +0000 (23:46 -0700)]
Makefile simplifications related to creating installation directories

A separate mkdir rule is not needed, since MKDIR_P is thread-safe.

* Makefile.in (install-arch-dep): Ensure bindir exists.
Drop mkdir dependency.
(install-arch-indep): Ensure docdir, infodir, mandir exist.
(install-leim): Drop mkdir dependency.
(mkdir): Remove most directories, now made in relevant rules.

12 years ago* Makefile.in (install-arch-indep): Combine adjacent loops.
Glenn Morris [Fri, 18 May 2012 06:39:52 +0000 (23:39 -0700)]
* Makefile.in (install-arch-indep): Combine adjacent loops.

12 years ago* lib-src/Makefile.in (install): Ensure $bindir exists.
Glenn Morris [Fri, 18 May 2012 06:33:04 +0000 (23:33 -0700)]
* lib-src/Makefile.in (install): Ensure $bindir exists.

12 years agoReplace obsolete form for minor-mode in file local variables
Glenn Morris [Fri, 18 May 2012 06:31:25 +0000 (23:31 -0700)]
Replace obsolete form for minor-mode in file local variables

12 years agoRefresh ldefs-boot.
Stefan Monnier [Fri, 18 May 2012 01:48:05 +0000 (21:48 -0400)]
Refresh ldefs-boot.

12 years ago* lisp/emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
Stefan Monnier [Fri, 18 May 2012 01:46:20 +0000 (21:46 -0400)]
* lisp/emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
their respective macro declarations.
* lisp/skeleton.el (define-skeleton):
* lisp/progmodes/compile.el (define-compilation-mode):
* lisp/ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
(define-ibuffer-filter):
* lisp/emacs-lisp/generic.el (define-generic-mode):
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode)
(define-globalized-minor-mode):
* lisp/emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
* lisp/emacs-lisp/byte-run.el (defsubst):
* lisp/custom.el (deftheme): Add doc-string metadata.

12 years ago* lisp/emacs-lisp/cl-macs.el, lisp/emacs-lisp/cl.el: Move indent info.
Stefan Monnier [Thu, 17 May 2012 21:51:15 +0000 (17:51 -0400)]
* lisp/emacs-lisp/cl-macs.el, lisp/emacs-lisp/cl.el: Move indent info.

12 years ago* lisp/emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
Stefan Monnier [Thu, 17 May 2012 21:40:47 +0000 (17:40 -0400)]
* lisp/emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).

12 years ago* lisp/emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
Stefan Monnier [Thu, 17 May 2012 21:39:36 +0000 (17:39 -0400)]
* lisp/emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
* lisp/emacs-lisp/cl-macs.el: Idem.
* lisp/emacs-lisp/cl-specs.el: Remove.

12 years agoMinor renaming of internal CL functions and variables.
Stefan Monnier [Thu, 17 May 2012 20:04:56 +0000 (16:04 -0400)]
Minor renaming of internal CL functions and variables.
* lisp/emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
(cl--position): Rename from cl-position.
(cl--delete-duplicates): Rename from cl-delete-duplicates.
* lisp/emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
(cl--random-state): Rename from *random-state*.

12 years ago* Makefile.in (install-etc): Fix previous change.
Glenn Morris [Thu, 17 May 2012 19:30:42 +0000 (15:30 -0400)]
* Makefile.in (install-etc): Fix previous change.

Remember to always call MKDIR_P and INSTALL_DATA from the top-level
directory, for the case in which we are falling back to build-aux/install-sh.
It would make life much easier if autoconf would use an absolute path
in this case.

12 years agoSimplify install-etc rule
Glenn Morris [Thu, 17 May 2012 19:13:02 +0000 (15:13 -0400)]
Simplify install-etc rule

* Makefile.in (install-etc, mkdir):
Make relevant directories in install-etc rather than mkdir.

12 years agoMore simplification for installation of site-lisp directories
Glenn Morris [Thu, 17 May 2012 18:47:52 +0000 (14:47 -0400)]
More simplification for installation of site-lisp directories

* Makefile.in (write_subdir): Create the directory if needed.
(install-arch-dep, mkdir): No need to make site-lisp directories.

12 years ago* Makefile.in (write_subdir): Move definition before use.
Glenn Morris [Thu, 17 May 2012 18:38:20 +0000 (14:38 -0400)]
* Makefile.in (write_subdir): Move definition before use.

12 years agoFurther simplify install-arch-dep for self-contained NS builds
Glenn Morris [Thu, 17 May 2012 18:28:24 +0000 (14:28 -0400)]
Further simplify install-arch-dep for self-contained NS builds

* Makefile.in (install-arch-dep): Use $write_subdir.

12 years agoReduce some code duplication in Makefile.in
Glenn Morris [Thu, 17 May 2012 18:26:51 +0000 (14:26 -0400)]
Reduce some code duplication in Makefile.in

* Makefile.in (write_subdir): New.
(install-arch-indep): Use $write_subdir.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
Stefan Monnier [Thu, 17 May 2012 15:15:51 +0000 (11:15 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
parens around the arg list.

Fixes: debbugs:11499
12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 17 May 2012 10:17:26 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoMinor optimization for install of self-contained NS info files
Glenn Morris [Thu, 17 May 2012 06:07:26 +0000 (23:07 -0700)]
Minor optimization for install of self-contained NS info files

* configure.in (etcdir): For a self-contained ns build,
set it to the appropriate values.
* Makefile.in (install-arch-dep): No need to move info/ any more.

12 years agoSet more installation directories for self-contained ns builds
Glenn Morris [Thu, 17 May 2012 05:55:29 +0000 (22:55 -0700)]
Set more installation directories for self-contained ns builds

* configure.in (docdir, etcdir, lispdir):
For a self-contained ns build, set these to the appropriate values.

12 years agoFix previous change, for NS builds that are not self-contained
Glenn Morris [Thu, 17 May 2012 05:32:37 +0000 (22:32 -0700)]
Fix previous change, for NS builds that are not self-contained

* configure.in (ns_self_contained): New output variable.
* Makefile.in (ns_self_contained): New, set by configure.
(install-arch-dep): Use $ns_self_contained.

12 years agoMinor optimization for install-arch-dep with self-contained ns build
Glenn Morris [Thu, 17 May 2012 05:14:50 +0000 (22:14 -0700)]
Minor optimization for install-arch-dep with self-contained ns build

* Makefile.in (install-arch-dep): For a self-contained ns build,
don't bother installing binaries then immediately deleting them.

12 years agoInstall a self-contained NS build's libexec directly into the right place
Glenn Morris [Thu, 17 May 2012 01:23:03 +0000 (21:23 -0400)]
Install a self-contained NS build's libexec directly into the right place
This is rather than installing it in one place then moving it.

* configure.in (archlibdir): Set it for self-contained ns builds.
(libexecdir): Don't expand it now (this is mainly cosmetic).

* Makefile.in (ns_appbindir, ns_appresdir):
Move them before things that may refer to them.
(install-arch-dep): No need to relocate self-contained ns libexec.

* lib-src/Makefile.in (ns_appbindir): New, set by configure.

12 years agoMove word search functions from search.c to isearch.el (bug#10145, bug#11381).
Juri Linkov [Thu, 17 May 2012 00:03:49 +0000 (03:03 +0300)]
Move word search functions from search.c to isearch.el (bug#10145, bug#11381).

* lisp/isearch.el (word-search-regexp, word-search-backward)
(word-search-forward, word-search-backward-lax)
(word-search-forward-lax): Move functions from search.c.

* src/search.c (Fword_search_regexp, Fword_search_backward)
(Fword_search_forward, Fword_search_backward_lax)
(Fword_search_forward_lax): Move functions to isearch.el.

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

12 years ago* configure.in: Simplify by removing CPP etc.
Paul Eggert [Wed, 16 May 2012 09:01:55 +0000 (02:01 -0700)]
* configure.in: Simplify by removing CPP etc.

(CPP_TEST_OPTIONS, NON_GNU_CPP, cc_specified, SPECIFIED_CFLAGS)
(SPECIFED_CPP, CPP, NON_GNU_CC, AC_PROG_CPP): Remove; not needed.
In particular we no longer need to fiddle with CPP, since we don't
use CPP specially any more.
(gl_EARLY): Invoke this after adjusting CC, so that it uses the
adjusted compiler.
(AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_RANLIB): Comment out,
since gl_EARLY and/or Autoconf already does these.

12 years agotextmodes/flyspell.el: Delay for otherchars as for normal word components.
Agustín Martín [Wed, 16 May 2012 08:35:11 +0000 (10:35 +0200)]
textmodes/flyspell.el: Delay for otherchars as for normal word components.

(flyspell-check-pre-word-p,
 flyspell-check-word-p,
 flyspell-debug-signal-word-checked):

Use for otherchars the same delay used for other word components, so word
is not inmediately checked unless we are in a char that is neither a normal
word component nor an otherchar.

12 years agoTry to fix building with gcc >= 4.6 on Darwin.
Glenn Morris [Wed, 16 May 2012 06:15:52 +0000 (23:15 -0700)]
Try to fix building with gcc >= 4.6 on Darwin.
Eg, hydra builds have been failing for some time because (?) of this.
In gcc < 4.6, unrecognized -no-fo options just cause a warning.
In 4.6 and later, they cause an error.

* configure.in: (CPP): Do not unconditionally set it on Darwin.
Instead, try to test if -no-cpp-precomp is accepted.
(CPP_TEST_OPTIONS, SPECIFIED_CPP): New.

Fixes: debbugs:9755
12 years ago* xgselect.c (xg_select): Just invoke 'select' if -nw.
Paul Eggert [Wed, 16 May 2012 02:22:53 +0000 (19:22 -0700)]
* xgselect.c (xg_select): Just invoke 'select' if -nw.

Suggested by Ken Brown.

Fixes: debbugs:9754
12 years ago* lisp/minibuffer.el (completion--sifn-requote): Fix last change.
Stefan Monnier [Wed, 16 May 2012 01:57:20 +0000 (21:57 -0400)]
* lisp/minibuffer.el (completion--sifn-requote): Fix last change.
(minibuffer-local-must-match-filename-map):
Move define-obsolete-variable-alias before its var.

12 years ago* src/lread.c (init_obarray): Declare Qt and Qnil as special.
Stefan Monnier [Tue, 15 May 2012 20:20:18 +0000 (16:20 -0400)]
* src/lread.c (init_obarray): Declare Qt and Qnil as special.

12 years agoTweak line-breaks in previous change
Glenn Morris [Tue, 15 May 2012 19:17:24 +0000 (15:17 -0400)]
Tweak line-breaks in previous change

12 years ago* Makefile.in (install-arch-dep): Replace last user of MV_DIRS.
Glenn Morris [Tue, 15 May 2012 19:13:17 +0000 (15:13 -0400)]
* Makefile.in (install-arch-dep): Replace last user of MV_DIRS.

12 years ago* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
Stefan Monnier [Tue, 15 May 2012 18:45:27 +0000 (14:45 -0400)]
* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.

12 years ago* lisp/minibuffer.el (completion--sifn-requote): Handle sifn's truncation
Stefan Monnier [Tue, 15 May 2012 18:07:36 +0000 (14:07 -0400)]
* lisp/minibuffer.el (completion--sifn-requote): Handle sifn's truncation
behavior.
(completion--string-equal-p): New function.
(completion--twq-all): Use it to get better assertion failure data.

12 years ago* Makefile.in (install-arch-dep): Replace use of MV_DIRS with libexec.
Glenn Morris [Tue, 15 May 2012 17:55:39 +0000 (13:55 -0400)]
* Makefile.in (install-arch-dep): Replace use of MV_DIRS with libexec.

12 years ago* Makefile.in (install-arch-dep): Replace use of MV_DIRS with info.
Glenn Morris [Tue, 15 May 2012 17:49:59 +0000 (13:49 -0400)]
* Makefile.in (install-arch-dep): Replace use of MV_DIRS with info.
This make it easier to see what is going on.

12 years agoNEWS fixes
Glenn Morris [Tue, 15 May 2012 17:38:41 +0000 (13:38 -0400)]
NEWS fixes

12 years ago* Makefile.in (install-arch-dep): Do not hard-code version number.
Glenn Morris [Tue, 15 May 2012 17:32:42 +0000 (13:32 -0400)]
* Makefile.in (install-arch-dep): Do not hard-code version number.

12 years agoStop NS install symlinking libexec/* into bin/
Glenn Morris [Tue, 15 May 2012 17:09:00 +0000 (13:09 -0400)]
Stop NS install symlinking libexec/* into bin/

* Makefile.in (install-arch-dep): NS install no longer needs to
symlink libexec/* into bin/, since 2012-05-14 ns_init_paths change.

12 years agoOnly handle ".." and '..' quoting in shell-mode.
Stefan Monnier [Tue, 15 May 2012 16:58:35 +0000 (12:58 -0400)]
Only handle ".." and '..' quoting in shell-mode.
* lisp/shell.el (shell--unquote&requote-argument, shell--unquote-argument)
(shell--requote-argument): New functions.
(shell-completion-vars): Use them.
(shell--parse-pcomplete-arguments): Rename from
shell-parse-pcomplete-arguments.
* lisp/comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
(comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
Obey comint-file-name-quote-list.

Fixes: debbugs:11466
12 years ago* lisp/emacs-lisp/smie.el (smie-indent--bolp-1): New function.
Stefan Monnier [Tue, 15 May 2012 13:25:03 +0000 (09:25 -0400)]
* lisp/emacs-lisp/smie.el (smie-indent--bolp-1): New function.
(smie-indent-keyword): Use it.

12 years agomention bug#8706 in the last url-util.el ChangeLog entry
Ted Zlatanov [Tue, 15 May 2012 08:53:49 +0000 (04:53 -0400)]
mention bug#8706 in the last url-util.el ChangeLog entry

12 years agoadd url-util.el test file
Ted Zlatanov [Tue, 15 May 2012 08:52:15 +0000 (04:52 -0400)]
add url-util.el test file

* automated/url-util-tests.el: New file to test
lisp/url/url-util.el.  Only `url-build-query-string' and
`url-parse-query-string' are tested right now.