Juanma Barranquero [Fri, 4 Jun 2010 14:13:35 +0000 (16:13 +0200)]
Turn `directory-sep-char' into a noop.
* lisp/subr.el (directory-sep-char): Move from fileio.c and make a defconst.
* src/emacs.c (decode_env_path): Don't check DIRECTORY_SEP,
call dostounix_filename directly.
* src/fileio.c (CORRECT_DIR_SEPS): Remove.
(Ffile_name_directory, directory_file_name, Fexpand_file_name)
(Fsubstitute_in_file_name): Use dostounix_filename instead.
(file_name_as_directory): Use dostounix_filename, DIRECTORY_SEP.
(syms_of_fileio) <directory-sep-char>: Move to subr.el.
* src/lisp.h [WINDOWSNT] (Vdirectory_sep_char): Don't declare.
(DIRECTORY_SEP): Define unconditionally.
* src/w32proc.c (CORRECT_DIR_SEPS): Remove.
(Fw32_short_file_name, Fw32_long_file_name): Use dostounix_filename.
* src/s/ms-w32.h (DIRECTORY_SEP): Remove.
Michael Albinus [Fri, 4 Jun 2010 11:26:54 +0000 (13:26 +0200)]
* net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p): Handle default-location.
* net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
move files to trash.
Juanma Barranquero [Fri, 4 Jun 2010 01:38:12 +0000 (03:38 +0200)]
mule-cmds.el: Add obsolescence information for nonascii-* vars.
* international/mule-cmds.el (nonascii-insert-offset)
(nonascii-translation-table): Add obsolescence information.
* international/mule.el (make-translation-table-from-vector): Doc fix.
Dan Nicolaescu [Thu, 3 Jun 2010 23:26:39 +0000 (16:26 -0700)]
vc-log-incoming/vc-log-outgoing improvements for Git.
* lisp/vc-git.el (vc-git-log-outgoing): Use the same format as the
short log.
(vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
Dan Nicolaescu [Thu, 3 Jun 2010 23:08:26 +0000 (16:08 -0700)]
Add bindings for vc-log-incoming and vc-log-outgoing.
* lisp/vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
and vc-log-outgoing.
* lisp/vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
and vc-log-outgoing.
Dan Nicolaescu [Thu, 3 Jun 2010 22:28:51 +0000 (15:28 -0700)]
* configure.in (AC_PREREQ): Require autoconf 2.65.
Dan Nicolaescu [Thu, 3 Jun 2010 22:16:02 +0000 (15:16 -0700)]
Move UNEXEC definition to autoconf.
* configure.in (unxec): Do not define and substitute.
(UNEXEC_OBJ): New output variable, replaces cpp UNEXEC.
* msdos/sed1v2.inp (UNEXEC_OBJ): Use UNEXEC_OBJ instead of unexec.
* src/s/usg5-4.h (UNEXEC): Remove, move to configure.in.
* src/s/sol2-10.h (UNEXEC):
* src/s/irix6-5.h (UNEXEC):
* src/s/hpux10-20.h (UNEXEC):
* src/s/gnu-linux.h (UNEXEC):
* src/s/darwin.h (UNEXEC):
* src/s/cygwin.h (UNEXEC):
* src/s/bsd-common.h (UNEXEC):
* src/s/aix4-2.h (UNEXEC):
* src/m/alpha.h (UNEXEC): Likewise.
* src/Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@.
Juanma Barranquero [Thu, 3 Jun 2010 19:02:32 +0000 (21:02 +0200)]
Remove obsolete pre-unicode2 macros.
* character.h (MULTIBYTE_FORM_LENGTH, PARSE_MULTIBYTE_SEQ): Remove.
* composite.c (composition_reseat_it):
* data.c (Faset):
* fns.c (Ffillarray):
* regex.c (re_search_2): Use BYTES_BY_CHAR_HEAD.
[!emacs] (BYTES_BY_CHAR_HEAD): Define instead of MULTIBYTE_FORM_LENGTH.
Juri Linkov [Thu, 3 Jun 2010 18:50:00 +0000 (21:50 +0300)]
* src/buffer.c (Fother_buffer): Add CHECK_FRAME.
(Fswitch_to_buffer): Remove unused variable `err'.
Chong Yidong [Thu, 3 Jun 2010 17:22:27 +0000 (13:22 -0400)]
* net/rcirc.el (rcirc-sort-nicknames): Remove.
(rcirc-handler-366): Always sort nicknames.
Juanma Barranquero [Thu, 3 Jun 2010 16:59:29 +0000 (18:59 +0200)]
* emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
Chong Yidong [Thu, 3 Jun 2010 15:58:20 +0000 (11:58 -0400)]
* net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
Stefan Monnier [Thu, 3 Jun 2010 15:51:38 +0000 (11:51 -0400)]
* net/rcirc.el (rcirc-sort-nicknames): Change default.
(rcirc-sort-nicknames-join): Avoid setq.
Deniz Dogan [Thu, 3 Jun 2010 15:07:49 +0000 (11:07 -0400)]
* lisp/net/rcirc.el (rcirc-sort-nicknames): New custom.
(rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
(rcirc-handler-366): Use them.
Glenn Morris [Thu, 3 Jun 2010 05:57:11 +0000 (22:57 -0700)]
* src/s/sol2-10.h: Comment fix.
Glenn Morris [Thu, 3 Jun 2010 05:55:05 +0000 (22:55 -0700)]
* src/m/ibms390.h: Comment fix.
Glenn Morris [Thu, 3 Jun 2010 05:50:48 +0000 (22:50 -0700)]
Remove NO_SOCK_SIGIO references.
* src/m/template.h (NO_SOCK_SIGIO): Remove, no longer used.
* nextstep/DEV-NOTES: Remove out-of-date information.
Glenn Morris [Thu, 3 Jun 2010 05:47:09 +0000 (22:47 -0700)]
Regenerate src/config.in.
Glenn Morris [Thu, 3 Jun 2010 05:45:20 +0000 (22:45 -0700)]
* admin/notes/font-backend: Remove obsolete information.
Glenn Morris [Thu, 3 Jun 2010 05:41:49 +0000 (22:41 -0700)]
m/hp800.h simplification.
* src/m/hp800.h (alloca) [__NetBSD__ && __GNUC__]: No need to define it,
now that AH_BOTTOM does it.
Glenn Morris [Thu, 3 Jun 2010 05:35:54 +0000 (22:35 -0700)]
HAVE_ALLOCA not needed since alloca.s was removed.
* src/m/hp800.h (HAVE_ALLOCA):
* src/m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed.
* msdos/sed2v2.inp: Do not edit HAVE_ALLOCA.
* admin/CPP-DEFINES: Remove HAVE_ALLOCA.
Glenn Morris [Thu, 3 Jun 2010 05:29:02 +0000 (22:29 -0700)]
NOT_C_CODE is always true now.
* configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true.
* m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h:
Remove NOT_C_CODE tests, it is always true now.
* nt/config.nt: Remove NOT_C_CODE tests, it is always true now.
* admin/CPP-DEFINES: Remove NOT_C_CODE.
Stefan Monnier [Thu, 3 Jun 2010 01:48:10 +0000 (21:48 -0400)]
Split smie-indent-calculate into more manageable chunks.
* lisp/emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
(smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
(smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
(smie-indent-exps): Extract from smie-indent-calculate.
(smie-indent-functions): New var.
(smie-indent-functions): Use them.
Stefan Monnier [Wed, 2 Jun 2010 20:13:11 +0000 (16:13 -0400)]
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
(smie-indent-hanging-p): Use smie-bolp.
* test/indent: New dir.
Michael Albinus [Wed, 2 Jun 2010 09:53:00 +0000 (11:53 +0200)]
* net/tramp-gvfs.el (top): Require url-util.
(tramp-gvfs-mount-point): Removed.
(tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command): New
defuns.
(with-tramp-dbus-call-method): Format trace message.
(tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
Implement backup call, when operation on local files fails. Use
progress reporter. Flush properties of changed files.
(tramp-gvfs-handle-make-directory): Make more traces.
(tramp-gvfs-url-file-name): Hexify file name in url.
(tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
into account for the resulting file name.
(tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
the answer is "no". See `tramp-gvfs-maybe-open-connection'.
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p): Test also for new mountspec
attribute "default_location". Set "prefix" property.
(tramp-gvfs-mount-spec): Return both prefix and mountspec.
(tramp-gvfs-maybe-open-connection): Test, whether mountpoint
exists. Raise an error, if not (due to a corresponding answer
"no" in interactive questions, for example).
Dan Nicolaescu [Wed, 2 Jun 2010 04:45:46 +0000 (21:45 -0700)]
* lisp/log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
Dan Nicolaescu [Wed, 2 Jun 2010 04:29:53 +0000 (21:29 -0700)]
Fix config.h includes.
* src/xsettings.c:
* src/xgselect.c:
* src/nsterm.m:
* src/nsselect.m:
* src/nsimage.m:
* src/nsfont.m:
* src/nsfns.m:
* src/dbusbind.c: Use #include <config.h> instead of "config.h" as all
other files do.
Dan Nicolaescu [Wed, 2 Jun 2010 02:47:43 +0000 (19:47 -0700)]
* src/gmalloc.c: Remove BROKEN_PROTOTYPES reference, unused.
Dan Nicolaescu [Wed, 2 Jun 2010 02:43:47 +0000 (19:43 -0700)]
* src/s/sol2-6.h: Remove obsolete comments.
Dan Nicolaescu [Wed, 2 Jun 2010 02:40:59 +0000 (19:40 -0700)]
Remove unnecessary alloca.h includes.
* src/keymap.c: Do not include alloca.h, config.h does that.
* src/sysdep.c: Likewise. Do not define fwrite, not used.
Dan Nicolaescu [Wed, 2 Jun 2010 02:32:43 +0000 (19:32 -0700)]
Fix alloca definition when using gcc on non-gnu systems.
* configure.in: Use the code sequence indicated by "info autoconf"
for alloca (bug#6170).
Katsumi Yamaoka [Wed, 2 Jun 2010 00:10:42 +0000 (00:10 +0000)]
Synch with Gnus trunk.
(gnus-article-browse-delete-temp-files): Don't make query
for each temp file when gnus-article-browse-delete-temp is ask.
Juanma Barranquero [Tue, 1 Jun 2010 13:47:14 +0000 (15:47 +0200)]
Fix bug#6265: * eldoc.el: Add completions for new commands left-* and right-*.
Dan Nicolaescu [Tue, 1 Jun 2010 10:40:09 +0000 (03:40 -0700)]
Add support for vc-log-incoming, improve vc-log-outgoing for Git.
* lisp/vc-git.el (vc-git-compute-remote): New function.
(vc-git-log-outgoing): Use it instead of hard coding a value.
(vc-git-log-incoming): New function.
Dan Nicolaescu [Tue, 1 Jun 2010 09:37:49 +0000 (02:37 -0700)]
Improve state updating for VC tag commands.
* lisp/vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
to update the state of all buffers in the directory.
Juanma Barranquero [Tue, 1 Jun 2010 08:12:28 +0000 (10:12 +0200)]
lisp/ChangeLog: Fix some typos.
Dan Nicolaescu [Tue, 1 Jun 2010 07:15:55 +0000 (00:15 -0700)]
* vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
Stefan Monnier [Tue, 1 Jun 2010 02:34:49 +0000 (22:34 -0400)]
Merge from emacs-23
Stefan Monnier [Tue, 1 Jun 2010 02:06:09 +0000 (22:06 -0400)]
* lisp/vc-bzr.el (vc-bzr-revision-completion-table): Apply
`file-directory-p' to the filename part rather than to the whole text.
Stefan Monnier [Tue, 1 Jun 2010 01:49:15 +0000 (21:49 -0400)]
* sysdep.c (child_setup_tty): Move the non-canonical initialization to
the HAVE_TERMIO where it belongs.
Fixes: debbugs:6149
Stefan Monnier [Mon, 31 May 2010 20:47:04 +0000 (16:47 -0400)]
Fix up changelog entry
Jonathan Marchand [Mon, 31 May 2010 20:26:56 +0000 (16:26 -0400)]
* lisp/cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name.
Fixes: debbugs:6231
Stefan Monnier [Mon, 31 May 2010 19:35:04 +0000 (15:35 -0400)]
* src/keymap.c (Fwhere_is_internal): Fix handling of remapping (in thread
of bug#6305).
Daiki Ueno [Mon, 31 May 2010 19:06:33 +0000 (04:06 +0900)]
Mention encryption commands in the Emacs manual.
Stefan Monnier [Mon, 31 May 2010 16:16:02 +0000 (12:16 -0400)]
* lisp/man.el (Man-completion-table): Let the user type "-k ".
Fixes: debbugs:6319
Juanma Barranquero [Mon, 31 May 2010 15:30:13 +0000 (17:30 +0200)]
src/ChangeLog: Add missing bug id.
Drew Adams [Mon, 31 May 2010 15:24:46 +0000 (17:24 +0200)]
Backport from trunk: Fix bug#6298.
Drew Adams [Mon, 31 May 2010 15:15:20 +0000 (17:15 +0200)]
* files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
Juanma Barranquero [Mon, 31 May 2010 14:13:41 +0000 (10:13 -0400)]
Fix for momentary-string-display (Bug#6238).
* lisp/subr.el (momentary-string-display): Just use read-event to read
the exit event (Bug#6238).
Juanma Barranquero [Mon, 31 May 2010 14:11:18 +0000 (10:11 -0400)]
Fix for momentary-string-display (Bug#6238).
* lisp/subr.el (momentary-string-display): Just use read-event to read
the exit event (Bug#6238).
Juanma Barranquero [Sun, 30 May 2010 23:09:32 +0000 (01:09 +0200)]
src/ChangeLog: Fix typos.
Juanma Barranquero [Sun, 30 May 2010 22:50:31 +0000 (00:50 +0200)]
doc/lispref/minibuf.texi (Basic Completion): Add missing "@end defun".
Stefan Monnier [Sun, 30 May 2010 21:18:35 +0000 (17:18 -0400)]
* doc/lispref/minibuf.texi (Basic Completion): Document completion-boundaries.
(Programmed Completion): Document the new fourth method for boundaries.
* .bzrignore: Ignore new files from trunk, which appear if you use
colocated branches (i.e. "bzr switch").
Eli Zaretskii [Sun, 30 May 2010 19:47:34 +0000 (22:47 +0300)]
Fix bug #6313.
lisp/international/mule.el (define-coding-system): Doc fix.
Eli Zaretskii [Sun, 30 May 2010 19:01:51 +0000 (22:01 +0300)]
Fix crash reported in bug #6306.
bidi.c (bidi_move_to_visually_next): Make sure the sentinel
state is always cached.
Juanma Barranquero [Sun, 30 May 2010 18:52:56 +0000 (20:52 +0200)]
emulation/cua-base.el: Recognize also `right-word' and `left-word'.
Stefan Monnier [Sun, 30 May 2010 14:17:31 +0000 (10:17 -0400)]
* lisp/minibuffer.el (completion-file-name-table): Don't return a boundary
past the end of `string'.
(completion--file-name-table): Delegate to completion-file-name-table
for the `boundaries' case.
Fixes: debbugs:6299
Juanma Barranquero [Sun, 30 May 2010 04:44:46 +0000 (06:44 +0200)]
emulation/cua-base.el: Recognize `right-char', `left-char' as movement commands.
Juanma Barranquero [Sun, 30 May 2010 02:51:53 +0000 (04:51 +0200)]
progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from `path-separator'.
Chong Yidong [Sat, 29 May 2010 23:50:47 +0000 (19:50 -0400)]
Add --parent-id argument to emacsclient.
* lib-src/emacsclient.c (longopts, decode_options, print_help_and_exit):
New arg `-parent-id'.
(main): Send parent-id to Emacs.
* lisp/server.el (server-process-filter): Receive parent-id argument
from emacsclient.
(server-create-window-system-frame): New arg. Pass parent-id as
frame parameter.
Glenn Morris [Sat, 29 May 2010 18:57:11 +0000 (11:57 -0700)]
Regenerate configure.
Glenn Morris [Sat, 29 May 2010 18:54:16 +0000 (11:54 -0700)]
Add some comments related to how epaths.h gets built.
Chong Yidong [Sat, 29 May 2010 18:25:00 +0000 (14:25 -0400)]
* ansi-color.el: Delete unused escape sequences (Bug#6085).
(ansi-color-drop-regexp): New constant.
(ansi-color-apply, ansi-color-filter-region)
(ansi-color-apply-on-region): Delete unrecognized control sequences.
(ansi-color-apply): Build string list before calling concat.
Chong Yidong [Sat, 29 May 2010 18:22:18 +0000 (14:22 -0400)]
* ansi-color.el: Delete unused escape sequences (Bug#6085).
(ansi-color-drop-regexp): New constant.
(ansi-color-apply, ansi-color-filter-region)
(ansi-color-apply-on-region): Delete unrecognized control sequences.
(ansi-color-apply): Build string list before calling concat.
Eli Zaretskii [Sat, 29 May 2010 15:19:13 +0000 (18:19 +0300)]
Implement bidi-sensitive word movement with arrow keys.
lisp/subr.el (right-arrow-command, left-arrow-command): Move to bindings.el.
lisp/bindings.el (right-char, left-char): Move from subr.el and
rename from right-arrow-command and left-arrow-command.
(right-word, left-word): New functions.
(global-map) <right>: Bind to right-char.
(global-map) <left>: Bind to left-char.
(global-map) <C-right>: Bind to right-word.
(global-map) <C-left>: Bind to left-word.
doc/emacs/basic.texi (Moving Point): Update due to renaming of commands bound
to arrows. Document bidi-aware behavior of C-<right> and C-<left>.
Eli Zaretskii [Sat, 29 May 2010 12:51:01 +0000 (15:51 +0300)]
Fix cursor motion in bidi-reordered continued lines.
xdisp.c (try_cursor_movement): Backup to non-continuation line
only after finding point's row. Fix the logic. Rewrite the loop
over continuation lines in bidi-reordered buffers. Return
CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row,
rather than CURSOR_MOVEMENT_CANNOT_BE_USED.
Eli Zaretskii [Sat, 29 May 2010 10:49:21 +0000 (13:49 +0300)]
Finish debugging of cursor motion in bidi-reordered lines.
xdisp.c (try_cursor_movement): Fix the logic. Rewrite the loop
over continuation lines in bidi-reordered buffers. Return
CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row,
rather than CURSOR_MOVEMENT_CANNOT_BE_USED.
Eli Zaretskii [Sat, 29 May 2010 07:55:40 +0000 (10:55 +0300)]
Fix bug #6294.
lisp/ls-lisp.el (ls-lisp-classify-file): New function.
(ls-lisp-insert-directory): Call it if switches include -F.
(ls-lisp-classify): Call ls-lisp-classify-file.
(insert-directory): Remove blanks from switches.
Juri Linkov [Fri, 28 May 2010 19:18:47 +0000 (22:18 +0300)]
* image-dired.el (image-dired-dired-toggle-marked-thumbs):
Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
(Bug#5270)
Michael Albinus [Fri, 28 May 2010 14:57:11 +0000 (16:57 +0200)]
* fileio.c (Fdelete_file): Pass TRASH arg to handler call.
Michael Albinus [Fri, 28 May 2010 14:48:56 +0000 (16:48 +0200)]
* net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
to ignored backtrace functions.
(with-progress-reporter): Expand docstring.
(tramp-handle-delete-file): Implement TRASH argument.
(tramp-get-remote-trash): New defun.
Michael Albinus [Fri, 28 May 2010 13:28:36 +0000 (15:28 +0200)]
* net/tramp-compat.el (tramp-compat-delete-file): Use
`symbol-value' for backward compatibility.
* net/tramp.el (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 `delete-file' instead
of `tramp-compat-delete-file'.
* net/tramp-fish.el (tramp-fish-handle-delete-directory)
(tramp-fish-handle-make-symbolic-link)
(tramp-fish-handle-process-file): Use `delete-file' instead
of `tramp-compat-delete-file'.
* net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
`delete-file' instead of `tramp-compat-delete-file'.
* net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
(tramp-gvfs-handle-write-region): Use `delete-file' instead of
`tramp-compat-delete-file'.
* net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
`delete-file' instead of `tramp-compat-delete-file'.
* 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 `delete-file' instead of
`tramp-compat-delete-file'.
(tramp-smb-handle-delete-directory): Use 'trash as arg.
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:42:50 +0000 (11:42 -0400)]
* 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).
Chong Yidong [Thu, 27 May 2010 15:25:58 +0000 (11:25 -0400)]
* 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.