Eli Zaretskii [Fri, 28 May 2010 12:00:47 +0000 (15:00 +0300)]
Prevent unnecessary scrolling in bidi-reordered buffers.
xdisp.c (try_cursor_movement): back up to non-continuation line only
after finding point's row..
Kenichi Handa [Fri, 28 May 2010 06:45:43 +0000 (15:45 +0900)]
merge trunk
Kenichi Handa [Fri, 28 May 2010 06:42:43 +0000 (15:42 +0900)]
Handle face-ignored-fonts
Glenn Morris [Fri, 28 May 2010 04:25:06 +0000 (21:25 -0700)]
* configure.in: Simplify some of the *bsd $canonical tests.
Glenn Morris [Fri, 28 May 2010 03:52:19 +0000 (20:52 -0700)]
Move some old ChangeLog entries to the right files.
Glenn Morris [Fri, 28 May 2010 03:34:15 +0000 (20:34 -0700)]
* configure.in: Simplify some of the $canonical tests.
Glenn Morris [Fri, 28 May 2010 03:29:09 +0000 (20:29 -0700)]
* src/Makefile.in (LIBES): Remove $LOADLIBES, it is never set.
Glenn Morris [Fri, 28 May 2010 03:25:50 +0000 (20:25 -0700)]
* etc/MACHINES: Remove some old information no longer of relevance.
Switch to outline-mode.
Glenn Morris [Fri, 28 May 2010 03:23:08 +0000 (20:23 -0700)]
* etc/PROBLEMS: Remove some more obsolete information.
Also some re-filling.
Chong Yidong [Thu, 27 May 2010 23:30:11 +0000 (19:30 -0400)]
Change delete-by-moving-to-trash so Lisp calls explicitly request trashing.
* src/fileio.c (Fdelete_file): Change meaning of optional arg to mean
whether to trash.
(internal_delete_file, Frename_file): Callers changed.
(delete_by_moving_to_trash): Doc fix.
(Fdelete_directory_internal): Don't move to trash.
* src/callproc.c (delete_temp_file):
* src/buffer.c (Fkill_buffer): Callers changed.
* src/lisp.h: Update prototype.
* lisp/diff.el (diff-sentinel):
* lisp/epg.el (epg--make-temp-file, epg-decrypt-string)
(epg-verify-string, epg-sign-string, epg-encrypt-string):
* lisp/jka-compr.el (jka-compr-partial-uncompress)
(jka-compr-call-process, jka-compr-write-region):
* lisp/server.el (server-sentinel): Remove optional arg from
delete-file, reverting 2010-05-03 change.
* lisp/dired.el (dired-delete-file): New arg TRASH.
(dired-internal-do-deletions): New arg TRASH. Use progress
reporter.
(dired-do-flagged-delete, dired-do-delete): Use trash.
* lisp/files.el (delete-directory): New arg TRASH.
* lisp/speedbar.el (speedbar-item-delete): Allow trashing.
* lisp/net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
(ange-ftp-rename-remote-to-remote)
(ange-ftp-rename-local-to-remote)
(ange-ftp-rename-remote-to-local, ange-ftp-load)
(ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
`delete-file'.
(ange-ftp-delete-directory): Add optional arg to `delete-file', to
allow trashing.
* lisp/net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
handle new TRASH arg of `delete-file'.
* lisp/net/tramp-fish.el (tramp-fish-handle-delete-directory)
(tramp-fish-handle-delete-file)
(tramp-fish-handle-make-symbolic-link)
(tramp-fish-handle-process-file): Use null TRASH arg in
`tramp-compat-delete-file' call.
* lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
arg in `tramp-compat-delete-file' call.
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
(tramp-gvfs-handle-write-region): Use null TRASH arg in
`tramp-compat-delete-file' call.
* lisp/net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
(tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
`tramp-compat-delete-file' call.
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-file)
(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
(tramp-smb-handle-write-region): Use null TRASH arg in
tramp-compat-delete-file call.
(tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
(tramp-smb-handle-delete-file): Rename arg.
* lisp/net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
(tramp-handle-make-symbolic-link, tramp-handle-load)
(tramp-do-copy-or-rename-file-via-buffer)
(tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-handle-process-file, tramp-handle-call-process-region)
(tramp-handle-shell-command, tramp-handle-file-local-copy)
(tramp-handle-insert-file-contents, tramp-handle-write-region)
(tramp-delete-temp-file-function): Use null TRASH arg in
tramp-compat-delete-file call.
Chong Yidong [Thu, 27 May 2010 15:49:01 +0000 (11:49 -0400)]
Fix redisplay crash (Bug#6177).
* xdisp.c (redisplay_window): After redisplay, check if point is
still valid before setting it (Bug#6177).
Chong Yidong [Thu, 27 May 2010 15:28:58 +0000 (11:28 -0400)]
Let htmlfontify recognize face aliases (Bug#6279).
* progmodes/verilog-mode.el (verilog-type-font-keywords): Use
font-lock-constant-face, not obsolete font-lock-reference-face.
* htmlfontify.el (hfy-face-resolve-face): New function.
(hfy-face-to-style): Use it (Bug#6279).
Kenichi Handa [Thu, 27 May 2010 07:08:37 +0000 (16:08 +0900)]
merge trunk
Glenn Morris [Thu, 27 May 2010 06:13:23 +0000 (23:13 -0700)]
* etc/PROBLEMS: Remove some more old information.
Glenn Morris [Thu, 27 May 2010 05:51:43 +0000 (22:51 -0700)]
* etc/PROBLEMS: Remove old information no longer of relevance.
Glenn Morris [Thu, 27 May 2010 05:43:27 +0000 (22:43 -0700)]
Do not preprocess src/Makefile.in.
* configure.in: Do not preprocess src/Makefile.in.
(cpp_undefs, CPP_NEED_TRADITIONAL): Remove.
(AC_EGREP_CPP): Test no longer needed.
* configure: Regenerate.
* config.bat: Do not preprocess src/Makefile.in.
* make-dist: No more Makefile.c files.
* INSTALL, src/README: Makefiles are not preprocessed.
* src/Makefile.in, src/autodeps.mk, src/deps.mk, src/ns.mk:
Convert comments to Makefile format.
* lib-src/Makefile.in (distclean): No more Makefile.c.
* src/Makefile.in (bootstrap-clean): No more Makefile.c.
* admin/notes/cpp: Remove file.
* admin/quick-install-emacs (AVOID): No more Makefile.c files.
* etc/PROBLEMS, etc/MACHINES: Remove details of cpp problems which can
no longer occur.
Stefan Monnier [Thu, 27 May 2010 04:41:36 +0000 (00:41 -0400)]
Provide hooks to use a different tokenizer in SMIE.
* lisp/emacs-lisp/smie.el (smie-forward-token-function)
(smie-backward-token-function): New vars.
(smie-backward-sexp, smie-forward-sexp)
(smie-indent-hanging-p, smie-indent-calculate): Use them.
(smie-default-backward-token): Rename from smie-backward-token and
skip comments.
(smie-default-forward-token): Rename from smie-forward-token and
skip comments.
(smie-next-sexp): Handle nil results from next-token.
(smie-indent-calculate): Add a new case for special `fixindent' comments.
Kenichi Handa [Thu, 27 May 2010 04:24:30 +0000 (13:24 +0900)]
language/hebrew.el (hebrew-shape-gstring): Check if a glyph element of GSTRING is nil.
Stefan Monnier [Wed, 26 May 2010 14:19:15 +0000 (10:19 -0400)]
Avoid (expand-file-name ".").
* org.el (org-file-complete-link):
* progmodes/ada-xref.el (ada-gnat-parse-gpr):
* emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
Michael Albinus [Wed, 26 May 2010 10:13:45 +0000 (12:13 +0200)]
* eshell.texi (Built-ins): Describe, how to disable a built-in command
by an alias.
Glenn Morris [Wed, 26 May 2010 06:48:25 +0000 (23:48 -0700)]
* configure.in: Comments.
Glenn Morris [Wed, 26 May 2010 06:41:58 +0000 (23:41 -0700)]
Replace YMF_PASS_LDFLAGS with autoconf.
* configure.in (YMF_PASS_LDFLAGS): Remove.
(PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): New output variables.
* configure: Regenerate.
* src/Makefile.in (YMF_PASS_LDFLAGS): Remove.
(temacs${EXEEXT}): Use PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS.
* msdos/sed1v2.inp (@PRE_EDIT_LDFLAGS@, @POST_EDIT_LDFLAGS@): Edit to nothing.
Glenn Morris [Wed, 26 May 2010 04:06:09 +0000 (21:06 -0700)]
* lisp/emulation/edt.el (edt-load-keys): Use locate-library.
This simplifies the code, and handles compressed .el.gz files, which
the previous version did not.
Glenn Morris [Wed, 26 May 2010 03:58:41 +0000 (20:58 -0700)]
* configure, configure.in: Fix typo in previous.
Glenn Morris [Wed, 26 May 2010 03:53:25 +0000 (20:53 -0700)]
Regenerate configure.
Glenn Morris [Wed, 26 May 2010 03:50:16 +0000 (20:50 -0700)]
Add GNUSTEP_LOCAL_HEADERS/LIBRARIES to build flags.
* configure.in (CPPFLAGS, CFLAGS, REAL_CFLAGS):
Add $GNUSTEP_LOCAL_HEADERS.
(LDFLAGS, LD_SWITCH_SYSTEM_TEMACS): Add $GNUSTEP_LOCAL_LIBRARIES.
Glenn Morris [Wed, 26 May 2010 03:42:07 +0000 (20:42 -0700)]
Remove some NS_IMPL_GNUSTEP build dead code.
* configure.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS)
(GNUSTEP_MAKEFILES): Remove.
(LD_SWITCH_SYSTEM_TEMACS): Move NS_IMPL_GNUSTEP_TEMACS_LDFLAGS
stuff to here.
* src/Makefile.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
Remove.
(TEMACS_LDFLAGS): Do not use NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
* msdos/sed1v2.inp (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
No longer present.
Comments:
See http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00846.html.
Nothing from gui.make was used at all in src/Makefile.in. The only
thing used from base.make was $CONFIG_SYSTEM_LIBS, but because we only
set shared _after_ sourcing base.make, it was always empty. We can
move the remaining flags, set in configure, to the standard variable
LD_SWITCH_SYSTEM_TEMACS.
Glenn Morris [Wed, 26 May 2010 03:36:05 +0000 (20:36 -0700)]
* src/Makefile.in: Fix comment typo.
Kenichi Handa [Wed, 26 May 2010 01:14:51 +0000 (10:14 +0900)]
Fix for finding a static composition.
Chong Yidong [Tue, 25 May 2010 22:50:56 +0000 (18:50 -0400)]
Rename relative filenames in ChangeLog entries according to root.
* lisp/log-edit.el (log-edit-strip-single-file-name): Default to nil.
(log-edit-changelog-entries): Doc fix.
(log-edit-changelog-insert-entries): Args changed. Rename
relative filenames in ChangeLog entries. Delete tabs.
(log-edit-insert-changelog-entries): Reorganize return value of
`log-edit-changelog-entries' to pass filenames to
log-edit-changelog-insert-entries.
Juanma Barranquero [Tue, 25 May 2010 19:13:41 +0000 (21:13 +0200)]
lisp/ChangeLog: Fix typos.
Thierry Volpiatto [Tue, 25 May 2010 17:43:58 +0000 (20:43 +0300)]
* dired.el (dired-mode-map): Rebind "\C-t\C-t" from
`image-dired-dired-insert-marked-thumbs' to
`image-dired-dired-toggle-marked-thumbs'.
* image-dired.el: Require cl when compiling.
(image-dired-dired-toggle-marked-thumbs): Rename from
`image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
to 'no-dir. Skip files whose names don't match
`image-file-name-regexp'. When file has a thumbnail overlay,
delete it. (Bug#5270)
Juri Linkov [Tue, 25 May 2010 16:03:53 +0000 (19:03 +0300)]
* image-mode.el (image-mode): Add image-after-revert-hook to after-revert-hook.
(image-after-revert-hook): New function. (Bug#5669)
Juri Linkov [Tue, 25 May 2010 15:54:53 +0000 (18:54 +0300)]
* image.el (image-animated-p): When delay between animated images is 0,
set it to 10 (0.1 sec). (Bug#6258)
Michael Albinus [Tue, 25 May 2010 13:33:55 +0000 (15:33 +0200)]
* net/tramp.el (tramp-handle-insert-directory): Don't use
`forward-word', it's default syntax could be changed.
Michael Albinus [Tue, 25 May 2010 08:45:35 +0000 (10:45 +0200)]
* net/tramp.el (tramp-progress-reporter-update): New defun.
(with-progress-reporter): Use it.
(tramp-process-actions):
* net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
current message, in order to let progress reporter continue
afterwards. (Bug#6257)
Glenn Morris [Tue, 25 May 2010 04:25:15 +0000 (21:25 -0700)]
Relocate NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
* src/Makefile.in (@NS_IMPL_GNUSTEP_INC@, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
Move before TEMACS_LDFLAGS.
(TEMACS_LDFLAGS): Use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
(temacs${EXEEXT}): Do not use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
Glenn Morris [Tue, 25 May 2010 04:17:52 +0000 (21:17 -0700)]
Do not include config.h in src/Makefile.in.
* src/Makefile.in (NOT_C_CODE): No longer define.
(config.h): No longer include.
Glenn Morris [Tue, 25 May 2010 03:56:27 +0000 (20:56 -0700)]
Regenerate configure.
Glenn Morris [Tue, 25 May 2010 03:53:12 +0000 (20:53 -0700)]
Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS.
* configure.in (LD_SWITCH_SYSTEM): Move some gnu-linux stuff...
(LD_SWITCH_SYSTEM_TEMACS): ... to here.
* src/Makefile.in (LD_SWITCH_SYSTEM_TEMACS): Move definition after some
variables it may reference.
Glenn Morris [Tue, 25 May 2010 03:46:15 +0000 (20:46 -0700)]
Remove LD_SWITCH_SYSTEM_EXTRA.
* configure.in (LD_SWITCH_SYSTEM_EXTRA): Remove.
(LD_SWITCH_SYSTEM_TEMACS): Put darwin stuff from LD_SWITCH_SYSTEM_EXTRA
here instead.
* src/Makefile.in (LD_SWITCH_SYSTEM_EXTRA): Remove.
(TEMACS_LDFLAGS): Remove LD_SWITCH_SYSTEM_EXTRA.
* msdos/sed1v2.inp (LD_SWITCH_SYSTEM_EXTRA): No longer present.
Glenn Morris [Tue, 25 May 2010 03:38:41 +0000 (20:38 -0700)]
* net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name): Add :version.
Ryan Yeske [Tue, 25 May 2010 03:35:31 +0000 (20:35 -0700)]
rcirc update.
* lisp/net/rcirc.el (rcirc-server-alist): Add :pass.
(rcirc-default-user-name): Change to "user".
(rcirc-default-full-name): Change to "unknown".
(rcirc-user-name-history): Add variable.
(rcirc): When prompting for connection paramaters, also prompt for
username and password.
(rcirc-connect): Take a PASS argument. If PASS is non-nil, send
value to server when connecting.
Stefan Monnier [Tue, 25 May 2010 02:32:40 +0000 (22:32 -0400)]
* emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
(smie-merge-prec2s): Pass the tables as separate args.
(smie-bnf-precedence-table): Adjust call accordingly.
(smie-prec2-levels): Set levels at the end.
Stefan Monnier [Tue, 25 May 2010 02:11:08 +0000 (22:11 -0400)]
Replace Lisp calls to delete-backward-char by delete-char.
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
Kenichi Handa [Tue, 25 May 2010 01:25:08 +0000 (10:25 +0900)]
Add Hebrew shaper.
Kenichi Handa [Tue, 25 May 2010 01:03:44 +0000 (10:03 +0900)]
merge trunk
Stefan Monnier [Tue, 25 May 2010 00:54:13 +0000 (20:54 -0400)]
Merge from emacs-23
Kenichi Handa [Tue, 25 May 2010 00:35:50 +0000 (09:35 +0900)]
merge trunk
Kenichi Handa [Tue, 25 May 2010 00:32:24 +0000 (09:32 +0900)]
Fix bidi-composition interaction in backward scanning..
Stefan Monnier [Mon, 24 May 2010 21:01:10 +0000 (17:01 -0400)]
* emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Add delete-backward-char.
Stefan Monnier [Mon, 24 May 2010 20:48:46 +0000 (16:48 -0400)]
Mention multi-planes text-properties
Stefan Monnier [Mon, 24 May 2010 20:46:41 +0000 (16:46 -0400)]
* process.c (Fmake_network_process): Set :host to nil if it's not used.
Suggested by Masatake YAMATO <yamato@redhat.com>.
Romain Francoise [Mon, 24 May 2010 11:35:41 +0000 (13:35 +0200)]
Adapt make-dist to new version location.
* make-dist: Look for version in src/emacs.c.
Use lisp/subr.el rather than lisp/version.el for location check.
Juanma Barranquero [Sun, 23 May 2010 19:02:25 +0000 (21:02 +0200)]
* dispextern.h: Fix typo in previous change.
Eli Zaretskii [Sun, 23 May 2010 16:57:15 +0000 (19:57 +0300)]
dispextern.h (init_iterator): Sync prototype with changed definition.
Eli Zaretskii [Sat, 22 May 2010 19:32:21 +0000 (22:32 +0300)]
Redesign bidi-aware edge positions of glyph rows, fix bug #6036.
dispextern.h (struct glyph_row): New members minpos and maxpos.
(MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS)
(MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos
and maxpos members instead of start.pos and end.pos, respectively.
xdisp.c (display_line): Compare IT_CHARPOS with the position in
row->start.pos, rather than with MATRIX_ROW_START_CHARPOS.
(cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS.
(try_window_reusing_current_matrix, try_window_id): Use
ROW->minpos rather than ROW->start.pos.
(init_from_display_pos, init_iterator): Use EMACS_INT for
character and byte positions.
(find_row_edges): Renamed from find_row_end. Accept additional
arguments for minimum and maximum buffer positions seen by
display_line for this row. Don't use iterator to find the
position following the maximum one; instead, increment the
position found by display_line directly. Fix logic; eol_pos
should be tested before the rest. Handle the case of characters
delivered from display vector (bug#6036). Fix tests related to
it->method. Handle the truncated_on_right_p rows.
(RECORD_MAX_MIN_POS): New macro.
(display_line): Use it to record the minimum and maximum buffer
positions for glyphs in the row being assembled. Record the
position of the newline that terminates the line. If word wrap is
in effect, restore minimum and maximum positions seen up to the
wrap point, when iterator returns to it.
(try_window_reusing_current_matrix): Give up if in bidi-reordered
row and cursor not already at point. Restore original pre-bidi
code for unidirectional buffers.
dispnew.c (increment_row_positions, check_matrix_invariants):
Increment and check row->start.pos and row->end.pos, in addition
to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS.
.gdbinit (prowlims): Display row->minpos and row->maxpos.
Display truncated_on_left_p and truncated_on_right_p flags.
Formatting fixes.
(pmtxrows): Display the ordinal number of each row. Don't display
rows beyond the last one.
bidi.c (bidi_cache_iterator_state): Don't zero out new_paragraph:
it is not copied by bidi_copy_it.
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.
Glenn Morris [Sat, 22 May 2010 17:39:35 +0000 (10:39 -0700)]
* admin/notes/bugtracker: More about recovering from moderation mistakes.
Chong Yidong [Sat, 22 May 2010 17:16:35 +0000 (13:16 -0400)]
Add ChangeLog change missing in last checkin.
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.
Eli Zaretskii [Sat, 22 May 2010 14:13:04 +0000 (17:13 +0300)]
Handle lines truncated on right.
xdisp.c (find_row_edges): Handle the truncated_on_right_p rows.
Eli Zaretskii [Sat, 22 May 2010 12:38:26 +0000 (15:38 +0300)]
Test and debug find_row_edges on TTY display.
xdisp.c (find_row_edges): Handle the case of characters
delivered from display vector. Fix tests related to it->method.
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).
Andreas Schwab [Sat, 22 May 2010 11:26:01 +0000 (13:26 +0200)]
Regenerate configure
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)
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.
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.
Glenn Morris [Fri, 21 May 2010 16:31:45 +0000 (09:31 -0700)]
* configure.in (MKDEPDIR): Parallel build tweak.
* src/Makefile.in: Comment.
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'.
enami tsugutomo [Fri, 21 May 2010 04:06:34 +0000 (21:06 -0700)]
Backport from trunk: close bug#6190.
* src/s/netbsd.h: If terminfo is found, use it in preference to termcap.
Juanma Barranquero [Fri, 21 May 2010 01:46:38 +0000 (03:46 +0200)]
* add-log.el: Highlight all authors in multi-author ChangeLog entries.
Glenn Morris [Fri, 21 May 2010 01:43:44 +0000 (18:43 -0700)]
* src/Makefile.in: Comment fix.
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).
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.
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.
Juanma Barranquero [Fri, 21 May 2010 01:05:50 +0000 (03:05 +0200)]
* smerge-mode.el: Fix typos.
Glenn Morris [Fri, 21 May 2010 00:55:17 +0000 (17:55 -0700)]
* src/Makefile.in: Fix comment format in cpp section.
Glenn Morris [Fri, 21 May 2010 00:51:50 +0000 (17:51 -0700)]
Regenerate 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.
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".
Glenn Morris [Fri, 21 May 2010 00:33:54 +0000 (17:33 -0700)]
* msdos/mainmake.v2: Comment fix.
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.
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.
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)
Kevin Ryde [Thu, 20 May 2010 23:43:54 +0000 (02:43 +0300)]
* gnus-start.el (gnus-level-unsubscribed): Doc fix. (Bug#6206)
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
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)
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'.
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)
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)
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)
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)
Juri Linkov [Thu, 20 May 2010 21:38:59 +0000 (00:38 +0300)]
Remove obsolete comment.
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.
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.
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).
Chong Yidong [Thu, 20 May 2010 14:50:32 +0000 (10:50 -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).
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)
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.