bpt/emacs.git
14 years agoFix bug #6237.
Eli Zaretskii [Sat, 22 May 2010 19:09:51 +0000 (22:09 +0300)]
Fix bug #6237.

 w32.c (sys_write): Break writes into chunks smaller than 32MB.

14 years ago* admin/notes/bugtracker: More about recovering from moderation mistakes.
Glenn Morris [Sat, 22 May 2010 17:39:35 +0000 (10:39 -0700)]
* admin/notes/bugtracker: More about recovering from moderation mistakes.

14 years agoAdd ChangeLog change missing in last checkin.
Chong Yidong [Sat, 22 May 2010 17:16:35 +0000 (13:16 -0400)]
Add ChangeLog change missing in last checkin.

14 years agoRename image-refresh to image-flush.
Chong Yidong [Sat, 22 May 2010 16:48:01 +0000 (12:48 -0400)]
Rename image-refresh to image-flush.

* image.c (Fimage_flush): Rename from image-refresh.

* image.el (image-refresh): Define as an alias for image-flush.

* image-mode.el (image-toggle-display-image): Caller changed.

* display.texi (Image Cache): Update documentation about image
caching.

14 years agoRemove cirsular dependency when using separate build dir (Bug #6246).
Jan Djärv [Sat, 22 May 2010 11:59:09 +0000 (13:59 +0200)]
Remove cirsular dependency when using separate build dir (Bug #6246).

 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
 New rules (Bug #6246).
 (clean): Remove stamp-* (Bug #6246).

14 years agoRegenerate configure
Andreas Schwab [Sat, 22 May 2010 11:26:01 +0000 (13:26 +0200)]
Regenerate configure

14 years ago* progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
Juri Linkov [Fri, 21 May 2010 20:43:04 +0000 (23:43 +0300)]
* progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
Remove "all" from grep-files-aliases.  Split grep-files-aliases by
whitespace, call wildcard-to-regexp on substrings and concat them
with "\\|".  (Bug#6114)

14 years agoFix a bug which happens when doing (c-parse-state) in a CPP construct:
Alan Mackenzie [Fri, 21 May 2010 19:51:48 +0000 (19:51 +0000)]
Fix a bug which happens when doing (c-parse-state) in a CPP construct:
Exclude any "new" CPP construct from taking part in the scanning.

14 years agoImprove image cache clearing logic (Bug#6230).
Chong Yidong [Fri, 21 May 2010 17:29:27 +0000 (13:29 -0400)]
Improve image cache clearing logic (Bug#6230).

* xdisp.c (redisplay_internal): Clear caches even if redisplaying
just one window.

* image.c (Vimage_cache_eviction_delay): Decrease to 300.
(clear_image_cache): If the number of cached images is unusually
large, decrease the cache eviction delay.

14 years ago* configure.in (MKDEPDIR): Parallel build tweak.
Glenn Morris [Fri, 21 May 2010 16:31:45 +0000 (09:31 -0700)]
* configure.in (MKDEPDIR): Parallel build tweak.
* src/Makefile.in: Comment.

14 years ago* net/tramp.el (tramp-do-copy-or-rename-file)
Michael Albinus [Fri, 21 May 2010 14:16:42 +0000 (16:16 +0200)]
* net/tramp.el (tramp-do-copy-or-rename-file)
(tramp-handle-file-local-copy, tramp-maybe-open-connection): Tune
`with-progress-reporter' messages.
(tramp-handle-vc-registered):
* net/tramp-fish.el (tramp-fish-handle-file-local-copy)
(tramp-fish-handle-insert-file-contents)
(tramp-fish-maybe-open-connection):
* net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
(tramp-imap-handle-insert-file-contents)
(tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.

14 years ago* add-log.el: Highlight all authors in multi-author ChangeLog entries.
Juanma Barranquero [Fri, 21 May 2010 01:46:38 +0000 (03:46 +0200)]
* add-log.el: Highlight all authors in multi-author ChangeLog entries.

14 years ago* src/Makefile.in: Comment fix.
Glenn Morris [Fri, 21 May 2010 01:43:44 +0000 (18:43 -0700)]
* src/Makefile.in: Comment fix.

14 years agoRevert previous change.
Glenn Morris [Fri, 21 May 2010 01:39:21 +0000 (18:39 -0700)]
Revert previous change.
I misunderstood EXEEXT (I don't think it can be working though).

14 years agoMinor Makefile fix.
Glenn Morris [Fri, 21 May 2010 01:31:13 +0000 (18:31 -0700)]
Minor Makefile fix.
* src/Makefile.in (temacs${EXEEXT}, prefix-args, mostlyclean):
prefix-args neither gets nor needs the $EXEEXT extension.

14 years agoDerive Fortran modes from prog-mode.
Glenn Morris [Fri, 21 May 2010 01:13:57 +0000 (18:13 -0700)]
Derive Fortran modes from prog-mode.
* progmodes/fortran.el (fortran-mode):
* progmodes/f90.el (f90-mode): Derive from prog-mode.

14 years ago* smerge-mode.el: Fix typos.
Juanma Barranquero [Fri, 21 May 2010 01:05:50 +0000 (03:05 +0200)]
* smerge-mode.el: Fix typos.

14 years ago* src/Makefile.in: Fix comment format in cpp section.
Glenn Morris [Fri, 21 May 2010 00:55:17 +0000 (17:55 -0700)]
* src/Makefile.in: Fix comment format in cpp section.

14 years agoRegenerate configure.
Glenn Morris [Fri, 21 May 2010 00:51:50 +0000 (17:51 -0700)]
Regenerate configure.

14 years agoHandle some HAVE_NS Makefile conditionals with configure.
Glenn Morris [Fri, 21 May 2010 00:48:14 +0000 (17:48 -0700)]
Handle some HAVE_NS Makefile conditionals with configure.

* configure.in (ns_frag): New output file.

* src/Makefile.in (${ns_appdir}, ${ns_appbindir}Emacs, ns-app):
Move these rules to ns.mk.
* ns.mk: New file.  Copyright years based on date of nextstep merge.

* msdos/sed1v2.inp(@ns_frag@): Edit to nothing.

14 years agoBuild simplifications for oldxmenu.
Glenn Morris [Fri, 21 May 2010 00:40:12 +0000 (17:40 -0700)]
Build simplifications for oldxmenu.

* configure.in (OLDXMENU): Set to "nothing" if !HAVE_X11 || USE_GTK.
(OLDXMENU_TARGET): Set to empty if USE_GTK.

* src/Makefile.in (../src/$(OLDXMENU), $(OLDXMENU)): Always define rules.

* msdos/sed1x.inp (OLDXMENU): Replace any initial value.
* msdos/sed1v2.inp (OLDXMENU): Edit to "nothing".

14 years ago* msdos/mainmake.v2: Comment fix.
Glenn Morris [Fri, 21 May 2010 00:33:54 +0000 (17:33 -0700)]
* msdos/mainmake.v2: Comment fix.

14 years agoHandle CANNOT_DUMP (partially) with configure.
Glenn Morris [Fri, 21 May 2010 00:28:47 +0000 (17:28 -0700)]
Handle CANNOT_DUMP (partially) with configure.

* configure.in (cannot_dump): New output variable.

* src/Makefile.in (CANNOT_DUMP): New, set by configure.
(emacs${EXEEXT}, bootstrap-emacs${EXEEXT}): Use $CANNOT_DUMP.

* msdos/sed1v2.inp (CANNOT_DUMP): Edit to no.

14 years agoMinor loadup.el fix.
Glenn Morris [Fri, 21 May 2010 00:22:58 +0000 (17:22 -0700)]
Minor loadup.el fix.
* lisp/loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
having a relative path in src/Makefile.in.

14 years ago* help-mode.el (help-make-xrefs): For Info node links turn
Kevin Ryde [Thu, 20 May 2010 23:54:55 +0000 (02:54 +0300)]
* help-mode.el (help-make-xrefs): For Info node links turn
newlines into spaces.  Link node names with newlines are matched
by help-xref-info-regexp and buttonized, this change ensures they
can be followed successfully with RET.  (Bug#6206)

14 years ago* gnus-start.el (gnus-level-unsubscribed): Doc fix. (Bug#6206)
Kevin Ryde [Thu, 20 May 2010 23:43:54 +0000 (02:43 +0300)]
* gnus-start.el (gnus-level-unsubscribed): Doc fix.  (Bug#6206)

14 years ago* fileio.c (Fdelete_file): Change interative spec to use
Juri Linkov [Thu, 20 May 2010 23:08:52 +0000 (02:08 +0300)]
* fileio.c (Fdelete_file): Change interative spec to use
`read-file-name' like in `find-file-read-args' where the default
value is `default-directory' instead of `buffer-file-name'.
http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html

14 years ago* locate.el (locate): Use pop-to-buffer instead of
Juri Linkov [Thu, 20 May 2010 22:55:11 +0000 (01:55 +0300)]
* locate.el (locate): Use pop-to-buffer instead of
switch-to-buffer-other-window.  (Bug#6204)

14 years ago* replace.el (replace-highlight): Fix lazy-highlighting
Juri Linkov [Thu, 20 May 2010 22:49:53 +0000 (01:49 +0300)]
* replace.el (replace-highlight): Fix lazy-highlighting
for `M-s w str M-% str RET'.

14 years ago* isearch.el (isearch-yank-word-or-char): Pull next subword
Masatake YAMATO [Thu, 20 May 2010 22:33:09 +0000 (01:33 +0300)]
* isearch.el (isearch-yank-word-or-char): Pull next subword
when `subword-mode' is activated.  (Bug#6220)

14 years ago* isearch.el (isearch-update-post-hook): New hook.
Mark A. Hershberger [Thu, 20 May 2010 22:16:19 +0000 (01:16 +0300)]
* isearch.el (isearch-update-post-hook): New hook.
(isearch-update): Use the new hook.  (Bug#6225)

14 years ago* isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
Juri Linkov [Thu, 20 May 2010 22:01:57 +0000 (01:01 +0300)]
* isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
[f1], [help], and (char-to-string help-char) instead of "\C-h".
(Bug#6222)

14 years ago* isearch.el (isearch-yank-string): Use isearch-process-search-string.
Juri Linkov [Thu, 20 May 2010 21:49:49 +0000 (00:49 +0300)]
* isearch.el (isearch-yank-string): Use isearch-process-search-string.
(Bug#6223)

14 years agoRemove obsolete comment.
Juri Linkov [Thu, 20 May 2010 21:38:59 +0000 (00:38 +0300)]
Remove obsolete comment.

14 years ago* dired-x.el (dired-jump, dired-jump-other-window): Add arg
Juri Linkov [Thu, 20 May 2010 21:33:58 +0000 (00:33 +0300)]
* dired-x.el (dired-jump, dired-jump-other-window): Add arg
FILE-NAME to read from the minibuffer when called interactively
with prefix argument instead of using buffer-file-name.
http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html

* dired.el: Update autoloads.

14 years ago* nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
Chong Yidong [Thu, 20 May 2010 15:12:20 +0000 (11:12 -0400)]
* nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
nxml-finish-element, for consistency with SGML mode.

* progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
octave-close-block.

14 years agoDoc fix (Bug#6224).
Kevin Ryde [Thu, 20 May 2010 14:53:30 +0000 (10:53 -0400)]
Doc fix (Bug#6224).

* keyboard.c (Vlast_command, Vkeyboard_translate_table)
(Voverriding_terminal_local_map, Vsystem_key_alist)
(Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).

14 years agoUse terminfo rather than termcap on recent NetBSD.
enami tsugutomo [Thu, 20 May 2010 06:37:29 +0000 (23:37 -0700)]
Use terminfo rather than termcap on recent NetBSD.

* configure.in: On NetBSD, if terminfo is found, use it in preference
to termcap.  (Bug#6190)

14 years ago* config.bat: Need to add the deps.mk file before running cpp.
Glenn Morris [Thu, 20 May 2010 06:24:35 +0000 (23:24 -0700)]
* config.bat: Need to add the deps.mk file before running cpp.

14 years ago* src/autodeps.mk, src/deps.mk: Comments need to be in C format.
Glenn Morris [Thu, 20 May 2010 06:20:39 +0000 (23:20 -0700)]
* src/autodeps.mk, src/deps.mk: Comments need to be in C format.

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Thu, 20 May 2010 06:15:26 +0000 (23:15 -0700)]
Regenerate configure, src/config.in.

14 years agoHandle auto-depend with configure.
Glenn Morris [Thu, 20 May 2010 06:11:27 +0000 (23:11 -0700)]
Handle auto-depend with configure.

* make-dist (src): Include *.mk.
* config.bat: Concatenate deps.mk onto the end of src/Makefile.
* configure.in (DEPFLAGS, MKDEPDIR): New output variables.
(deps_frag): New output file.
(AUTO_DEPEND): Remove this definition.

* src/Makefile.in (DEPDIR): New constant.
(DEPFLAGS): Set with configure, not cpp.
(MKDEPDIR): New, set by configure.
(.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
(clean): Use $DEPDIR.
(deps_frag): Include from configure.
Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
* src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in.

* msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty.
(MKDEPDIR): Edit to ':'.

14 years ago* configure.in (--with-gtk, --with-gcc): Remove option stubs.
Glenn Morris [Thu, 20 May 2010 05:48:16 +0000 (22:48 -0700)]
* configure.in (--with-gtk, --with-gcc): Remove option stubs.

14 years ago* emacs-lisp/cl-loaddefs.el: Update autoload checksum.
Juanma Barranquero [Thu, 20 May 2010 01:32:08 +0000 (03:32 +0200)]
* emacs-lisp/cl-loaddefs.el: Update autoload checksum.

14 years ago* composite.el: Require cl when compiling; fix typos in docstrings.
Juanma Barranquero [Thu, 20 May 2010 01:27:49 +0000 (03:27 +0200)]
* composite.el: Require cl when compiling; fix typos in docstrings.

14 years ago* emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
Juri Linkov [Wed, 19 May 2010 20:37:57 +0000 (23:37 +0300)]
* emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
set-window-parameter.

14 years ago* net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
Michael Albinus [Wed, 19 May 2010 18:56:18 +0000 (20:56 +0200)]
* net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
where appropriate.
(tramp-maybe-open-connection): Use it.

14 years agoFix C-e when bidi reordering is in effect.
Eli Zaretskii [Wed, 19 May 2010 17:16:07 +0000 (20:16 +0300)]
Fix C-e when bidi reordering is in effect.

 simple.el (move-end-of-line): Make sure we are at line beginning
 before backing up to end of previous line.

14 years ago* password-cache.el (password-cache-remove): Fix docstring.
Michael Albinus [Wed, 19 May 2010 12:52:27 +0000 (14:52 +0200)]
* password-cache.el (password-cache-remove): Fix docstring.

14 years ago* net/secrets.el: Autoload the widget functions.
Michael Albinus [Wed, 19 May 2010 12:47:37 +0000 (14:47 +0200)]
* net/secrets.el: Autoload the widget functions.
(secrets-search-items, secrets-create-item)
(secrets-get-attributes, secrets-expand-item): Attributes will be
stored on the password database without leading ":", as all other
clients do as well.
(secrets-mode): Fix docstring.
(secrets-show-secrets): Provide it as autoloaded command only when
D-Bus support is available.  Check existence of Secret Service API.

14 years agoDecode RFC2047 encoded Subject lines for mail replies.
Peter S Galbraith [Wed, 19 May 2010 12:23:40 +0000 (08:23 -0400)]
Decode RFC2047 encoded Subject lines for mail replies.

14 years agoFix bug #6210.
Eli Zaretskii [Wed, 19 May 2010 07:22:41 +0000 (10:22 +0300)]
Fix bug #6210.

 bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
 reallocation of the cache.

14 years ago* indent.el (indent-region): Deactivate region (bug#6200).
Stefan Monnier [Wed, 19 May 2010 03:06:48 +0000 (23:06 -0400)]
* indent.el (indent-region): Deactivate region (bug#6200).

14 years ago* vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
Glenn Morris [Wed, 19 May 2010 03:01:24 +0000 (20:01 -0700)]
* vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)

14 years ago* etc/TODO: prog-mode updates.
Glenn Morris [Wed, 19 May 2010 02:56:44 +0000 (19:56 -0700)]
* etc/TODO: prog-mode updates.

14 years agoMinor msdos build change.
Glenn Morris [Wed, 19 May 2010 02:51:51 +0000 (19:51 -0700)]
Minor msdos build change.

* msdos/sed2v2.inp (ORDINARY_LINK): Set here rather than in s/msdos.h.
* src/s/msdos.h (ORDINARY_LINK): Move to sed2v2.inp.

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Wed, 19 May 2010 02:46:42 +0000 (19:46 -0700)]
Regenerate configure, src/config.in.

14 years agoSet linker-related things with configure.
Glenn Morris [Wed, 19 May 2010 02:42:04 +0000 (19:42 -0700)]
Set linker-related things with configure.

* configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables.
(ORDINARY_LINK): New AC_DEFINE.
(LIB_GCC): No need to set if ORDINARY_LINK.

* src/Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
(GNULIB_VAR): Remove.
(LIBES): Use LIB_GCC instead of GNULIB_VAR.

* src/m/ibms390x.h (LINKER):
* src/m/macppc.h (LINKER) [GNU_LINUX]:
* src/s/aix4-2.h (ORDINARY_LINK):
* src/s/cygwin.h (LINKER):
* src/s/darwin.h (ORDINARY_LINK):
* src/s/gnu.h (ORDINARY_LINK):
* src/s/netbsd.h (LINKER):
* src/s/usg5-4.h (ORDINARY_LINK):
Move to configure.

* msdos/sed1v2.inp (LD): Edit to $(CC).
(YMF_PASS_LDFLAGS): Edit to `flags'.

14 years ago* s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK.
Glenn Morris [Wed, 19 May 2010 02:27:01 +0000 (19:27 -0700)]
* s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK.
In any case, ORDINARY_LINK means uses the C compiler as the LINKER,
so setting LINKER=cc is redundant.

14 years agomerge trunk
Kenichi Handa [Wed, 19 May 2010 01:16:01 +0000 (10:16 +0900)]
merge trunk

14 years agomerge trunk
Kenichi Handa [Wed, 19 May 2010 01:10:29 +0000 (10:10 +0900)]
merge trunk

14 years agocomposite.el: Register compose-gstring-for-graphic in composition-function-table...
Kenichi Handa [Wed, 19 May 2010 01:09:50 +0000 (10:09 +0900)]
composite.el: Register compose-gstring-for-graphic in composition-function-table only for combining characters (Mn, Mc, Me).

14 years agocalc-trail.el (calc-trail-isearch-forward)
Jay Belanger [Tue, 18 May 2010 22:49:56 +0000 (17:49 -0500)]
calc-trail.el (calc-trail-isearch-forward)
(calc-trail-isearch-backward): Ensure that the new window
point is set correctly.

14 years ago* subr.el (read-quoted-char): Resolve modifiers after key remapping.
Stefan Monnier [Tue, 18 May 2010 20:31:44 +0000 (16:31 -0400)]
* subr.el (read-quoted-char): Resolve modifiers after key remapping.

Fixes: debbugs:6212

14 years agoAdd command `secrets-show-secrets'.
Michael Albinus [Tue, 18 May 2010 19:43:04 +0000 (21:43 +0200)]
Add command `secrets-show-secrets'.

14 years agoAdd visualization code for secrets.
Michael Albinus [Tue, 18 May 2010 19:34:26 +0000 (21:34 +0200)]
Add visualization code for secrets.
* net/secrets.el (secrets-mode): New major mode.
(secrets-show-secrets, secrets-show-collections)
(secrets-expand-collection, secrets-expand-item)
(secrets-tree-widget-after-toggle-function)
(secrets-tree-widget-show-password): New defuns.

14 years ago* emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
Stefan Monnier [Tue, 18 May 2010 19:24:24 +0000 (15:24 -0400)]
* emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
(smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
handled in smie-next-sexp.
(smie-indent-calculate): Provide a starting indentation (so the
recursion is well-founded ;-).

14 years agoFix stack overflow in string creation (Bug#6214).
Chong Yidong [Tue, 18 May 2010 18:05:43 +0000 (14:05 -0400)]
Fix stack overflow in string creation (Bug#6214).
* character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
prevent stack overflow if number of arguments is too large
(Bug#6214).

14 years ago* character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
Chong Yidong [Tue, 18 May 2010 18:01:10 +0000 (14:01 -0400)]
* character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
prevent stack overflow if number of arguments is too large
(Bug#6214).

14 years agoFix handling of non-associative equal levels.
Stefan Monnier [Tue, 18 May 2010 16:03:51 +0000 (12:03 -0400)]
Fix handling of non-associative equal levels.
* emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
when it's not needed.
(smie-op-left, smie-op-right): New functions.
(smie-next-sexp): New function, extracted from smie-backward-sexp.
Better handle equal levels to distinguish the associative case from
the "multi-keyword construct" case.
(smie-backward-sexp, smie-forward-sexp): Use it.

14 years ago* doc/emacs/ChangeLog: Fix typos.
Juanma Barranquero [Tue, 18 May 2010 11:49:10 +0000 (13:49 +0200)]
* doc/emacs/ChangeLog: Fix typos.

14 years agoDocument bidi-aware behavior of arrow keys and display features.
Eli Zaretskii [Tue, 18 May 2010 10:58:56 +0000 (13:58 +0300)]
Document bidi-aware behavior of arrow keys and display features.
 display.texi (Fringes): Document reversal of fringe arrows for R2L
 paragraphs.
 (Line Truncation): Fix wording for bidi display.
 basic.texi (Moving Point): Document bidi-aware behavior of the arrow keys.

14 years agoFix ChangeLog typos.
Juanma Barranquero [Tue, 18 May 2010 08:33:29 +0000 (10:33 +0200)]
Fix ChangeLog typos.

14 years ago* charset.c (load_charset_map_from_file): Don't call close after fclose.
Juanma Barranquero [Tue, 18 May 2010 08:08:33 +0000 (10:08 +0200)]
* charset.c (load_charset_map_from_file): Don't call close after fclose.

14 years agomsdos/sed1x.inp: Add copyright notice.
Eli Zaretskii [Tue, 18 May 2010 07:57:27 +0000 (10:57 +0300)]
msdos/sed1x.inp: Add copyright notice.

14 years ago* progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
Juanma Barranquero [Tue, 18 May 2010 07:52:10 +0000 (09:52 +0200)]
* progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.

14 years ago* emacs-lisp/smie.el: Fix typos in docstrings.
Juanma Barranquero [Tue, 18 May 2010 07:44:07 +0000 (09:44 +0200)]
* emacs-lisp/smie.el: Fix typos in docstrings.

14 years agoAdvise against unnecessary merges from trunk to feature branches.
Eli Zaretskii [Tue, 18 May 2010 07:38:35 +0000 (10:38 +0300)]
Advise against unnecessary merges from trunk to feature branches.

14 years ago* s/gnu-linux.h: Combine two conditionals.
Glenn Morris [Tue, 18 May 2010 03:03:14 +0000 (20:03 -0700)]
* s/gnu-linux.h: Combine two conditionals.

14 years ago* src/[ms]/template.h: Comments.
Glenn Morris [Tue, 18 May 2010 02:59:15 +0000 (19:59 -0700)]
* src/[ms]/template.h: Comments.

14 years agoRegenerate configure.
Glenn Morris [Tue, 18 May 2010 02:54:25 +0000 (19:54 -0700)]
Regenerate configure.

14 years ago* admin/notes/bzr: New file.
Glenn Morris [Tue, 18 May 2010 02:52:21 +0000 (19:52 -0700)]
* admin/notes/bzr: New file.
More mailing-list wisdom.  Probably should be merged with commits.

14 years agoSince Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o.
Glenn Morris [Tue, 18 May 2010 02:49:28 +0000 (19:49 -0700)]
Since Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o.

* configure.in (POST_ALLOC_OBJ) [cygwin]: Omit vm-limit.o.
(POST_ALLOC_OBJ) [!cygwin]: Set to empty.

* src/Makefile.in (otherobj): Include $(VMLIMIT_OBJ) separately from
$(POST_ALLOC_OBJ).

14 years agoSet rallocobj with configure, not cpp.
Glenn Morris [Tue, 18 May 2010 02:44:07 +0000 (19:44 -0700)]
Set rallocobj with configure, not cpp.

* configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC.
(RALLOC_OBJ): New output variable.
* config.bat (RALLOC_OBJ): Edit to empty if sys_malloc.

* src/Makefile.in (RALLOC_OBJ): New, set by configure.
(rallocobj): Replace with the previous variable.
(otherobj): Use $RALLOC_OBJ.

* src/s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
* src/s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.

* msdos/sed1v2.inp (RALLOC_OBJ): Edit to ralloc.o.

14 years agoDefine some malloc objects with configure, not cpp.
Glenn Morris [Tue, 18 May 2010 02:30:13 +0000 (19:30 -0700)]
Define some malloc objects with configure, not cpp.

* configure.in (GMALLOC_OBJ, VMLIMIT_OBJ): New output variables.
* config.bat (GMALLOC_OBJ, VMLIMIT_OBJ): Edit to empty if sys_malloc.

* src/Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure.
(gmallocobj, vmlimitobj): Replace with previous two variables.
(otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ.

* msdos/sed1v2.inp (GMALLOC_OBJ): Edit to gmalloc.o.
(VMLIMIT_OBJ): Edit to vm-limit.o.

14 years ago* Makefile.in (${lispsource}loaddefs.el): Update loaddefs.el after a pull.
Stefan Monnier [Mon, 17 May 2010 21:02:06 +0000 (17:02 -0400)]
* Makefile.in (${lispsource}loaddefs.el): Update loaddefs.el after a pull.
* Makefile.in (src): Provide the name of the VCS file that witnesses a pull.
($(srcdir)/src/config.in): Handle accidental removal of src/config.in.

14 years agoProvide a simple generic indentation engine and use it for Prolog.
Stefan Monnier [Mon, 17 May 2010 19:27:26 +0000 (15:27 -0400)]
Provide a simple generic indentation engine and use it for Prolog.
* emacs-lisp/smie.el: New file.
* progmodes/prolog.el (prolog-smie-op-levels)
(prolog-smie-indent-rules): New var.
(prolog-mode-variables): Use them to configure SMIE.
(prolog-indent-line, prolog-indent-level): Remove.

14 years agoCombine the two stamp-oldxmenu cases.
Glenn Morris [Mon, 17 May 2010 05:15:03 +0000 (22:15 -0700)]
Combine the two stamp-oldxmenu cases.

* configure.in (OLDXMENU_DEPS): New output variable.
* configure: Regenerate.

* src/Makefile.in (OLDXMENU_DEPS): New, set by configure.
(stamp-oldxmenu): Use $OLDXMENU_DEPS.

* msdos/sed1v2.inp (OLDXMENU_DEPS): Edit to empty.
* msdos/sed1x.inp (OLDXMENU_DEPS): Edit to ${OLDXMENU} ../src/${OLDXMENU}.

14 years agocalc-vec.el (math-vector-avg): Put the vector elements in order
Jay Belanger [Mon, 17 May 2010 04:16:29 +0000 (23:16 -0500)]
calc-vec.el (math-vector-avg):  Put the vector elements in order
before computing the averages.

14 years ago* src/Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules.
Glenn Morris [Mon, 17 May 2010 00:01:22 +0000 (17:01 -0700)]
* src/Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules.

14 years ago* src/Makefile.in (clean): Get rid of HAVE_NS conditional.
Glenn Morris [Sun, 16 May 2010 23:46:44 +0000 (16:46 -0700)]
* src/Makefile.in (clean): Get rid of HAVE_NS conditional.

14 years ago* configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir.
Glenn Morris [Sun, 16 May 2010 23:38:13 +0000 (16:38 -0700)]
* configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir.
* configure: Regenerate.

14 years agoTweak ns_app*dir values set by configure.
Glenn Morris [Sun, 16 May 2010 23:31:05 +0000 (16:31 -0700)]
Tweak ns_app*dir values set by configure.

* configure.in (ns_appdir, ns_appbindir): Add trailing "/" to value.
* Makefile.in (install-arch-dep): Update for above change.

* src/Makefile.in (ns_appdir, ns_appbindir): Now configure adds the
trailing "/".

14 years agoRemove one variable from Makefile.in.
Glenn Morris [Sun, 16 May 2010 23:21:06 +0000 (16:21 -0700)]
Remove one variable from Makefile.in.

* Makefile.in (ns_appdir): Remove.
(install-arch-dep): Test $ns_appresdir instead of $ns_appdir.

14 years agoSimplify temacs build rule.
Glenn Morris [Sun, 16 May 2010 23:01:56 +0000 (16:01 -0700)]
Simplify temacs build rule.

* configure.in (TEMACS_LDFLAGS2): New output variable.
* configure: Regenerate.

* msdos/sed1v2.inp (TEMACS_LDFLAGS2): Edit to $(LDFLAGS).

* src/Makefile.in (TEMACS_LDFLAGS2): New, set by configure.
(temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default.

14 years agoSimplify temacs build rule.
Glenn Morris [Sun, 16 May 2010 17:58:27 +0000 (10:58 -0700)]
Simplify temacs build rule.

* configure.in (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New output variable.
(START_FILES): Set to empty if NS_IMPL_GNUSTEP.
(GNUSTEP_SYSTEM_HEADERS, GNUSTEP_SYSTEM_LIBRARIES): Do not output,
nothing uses.

* configure: Regenerate.

* src/Makefile.in (GNUSTEP_SYSTEM_LIBRARIES): Remove, unused.
(NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New, set by configure.
(LD) [NS_IMPL_GNUSTEP]: Set to $(CC) -rdynamic.
(temacs${EXEEXT}): Remove $LOCALCPP, never defined or referenced.
Make most of the NS_IMPL_GNUSTEP case the same as the default case.

* msdos/sed1v2.inp (GNUSTEP_SYSTEM_LIBRARIES): Remove.
(NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): Edit to empty.

14 years agoRemove unused Makefile variables STARTFLAGS.
Glenn Morris [Sun, 16 May 2010 06:40:19 +0000 (23:40 -0700)]
Remove unused Makefile variables STARTFLAGS.
* src/Makefile.in (temacs${EXEEXT}) [!NS_IMPL_GNUSTEP]:
Remove ${STARTFLAGS}, nothing ever sets it.

14 years ago* configure.in: Remove references to usg5-4 and bsd-common, $opsys
Dan Nicolaescu [Sun, 16 May 2010 05:58:55 +0000 (22:58 -0700)]
* configure.in: Remove references to usg5-4 and bsd-common, $opsys
does not use them.
(X11R5_INHIBIT_I18N): Remove, unused.

14 years ago* m/ia64.h (UNEXEC): Remove reference to CANNOT_EXEC, not used anymore.
Dan Nicolaescu [Sun, 16 May 2010 05:40:10 +0000 (22:40 -0700)]
* m/ia64.h (UNEXEC): Remove reference to CANNOT_EXEC, not used anymore.

14 years agoRemove reference to CANNOT_EXEC, not used anymore.
Dan Nicolaescu [Sun, 16 May 2010 05:34:48 +0000 (22:34 -0700)]
Remove reference to CANNOT_EXEC, not used anymore.