Commit Graph

94915 Commits

Author SHA1 Message Date
Dan Nicolaescu
5828f6cacc 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.
2010-06-01 02:37:49 -07:00
Juanma Barranquero
c4ce1145cb lisp/ChangeLog: Fix some typos. 2010-06-01 10:12:28 +02:00
Dan Nicolaescu
290736f2dc * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539). 2010-06-01 00:15:55 -07:00
Stefan Monnier
fd67a7000e Merge from emacs-23 2010-05-31 22:34:49 -04:00
Stefan Monnier
feceda2610 * lisp/vc-bzr.el (vc-bzr-revision-completion-table): Apply
`file-directory-p' to the filename part rather than to the whole text.
2010-05-31 22:06:09 -04:00
Stefan Monnier
06ac62b4db * sysdep.c (child_setup_tty): Move the non-canonical initialization to
the HAVE_TERMIO where it belongs.

Fixes: debbugs:6149
2010-05-31 21:49:15 -04:00
Stefan Monnier
a44ae268f8 Fix up changelog entry 2010-05-31 16:47:04 -04:00
Jonathan Marchand
9b937f3761 * lisp/cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name.
Fixes: debbugs:6231
2010-05-31 16:26:56 -04:00
Stefan Monnier
1ab8293c36 * src/keymap.c (Fwhere_is_internal): Fix handling of remapping (in thread
of bug#6305).
2010-05-31 15:35:04 -04:00
Daiki Ueno
86d7a55099 Mention encryption commands in the Emacs manual. 2010-06-01 04:06:33 +09:00
Stefan Monnier
896114cf64 * lisp/man.el (Man-completion-table): Let the user type "-k ".
Fixes: debbugs:6319
2010-05-31 12:16:02 -04:00
Juanma Barranquero
b925d23104 src/ChangeLog: Add missing bug id. 2010-05-31 17:30:13 +02:00
Drew Adams
949544ed26 Backport from trunk: Fix bug#6298. 2010-05-31 17:24:46 +02:00
Drew Adams
1603358c07 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298). 2010-05-31 17:15:20 +02:00
Juanma Barranquero
fe40dc63a6 Fix for momentary-string-display (Bug#6238).
* lisp/subr.el (momentary-string-display): Just use read-event to read
the exit event (Bug#6238).
2010-05-31 10:13:41 -04:00
Juanma Barranquero
450439d5b6 Fix for momentary-string-display (Bug#6238).
* lisp/subr.el (momentary-string-display): Just use read-event to read
the exit event (Bug#6238).
2010-05-31 10:11:18 -04:00
Juanma Barranquero
a73f9c9dfd src/ChangeLog: Fix typos. 2010-05-31 01:09:32 +02:00
Juanma Barranquero
7f4b42492c doc/lispref/minibuf.texi (Basic Completion): Add missing "@end defun". 2010-05-31 00:50:31 +02:00
Stefan Monnier
637821cd30 * 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").
2010-05-30 17:18:35 -04:00
Eli Zaretskii
9e8014c63a Fix bug #6313.
lisp/international/mule.el (define-coding-system): Doc fix.
2010-05-30 22:47:34 +03:00
Eli Zaretskii
6dcfd25383 Fix crash reported in bug #6306.
bidi.c (bidi_move_to_visually_next): Make sure the sentinel
 state is always cached.
2010-05-30 22:01:51 +03:00
Juanma Barranquero
61a0807183 emulation/cua-base.el: Recognize also right-word' and left-word'. 2010-05-30 20:52:56 +02:00
Stefan Monnier
5feec8cac1 * 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
2010-05-30 10:17:31 -04:00
Juanma Barranquero
2b94133fee emulation/cua-base.el: Recognize right-char', left-char' as movement commands. 2010-05-30 06:44:46 +02:00
Juanma Barranquero
8175cb9021 progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from `path-separator'. 2010-05-30 04:51:53 +02:00
Chong Yidong
0191e222e3 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.
2010-05-29 19:50:47 -04:00
Glenn Morris
b233600fbd Regenerate configure. 2010-05-29 11:57:11 -07:00
Glenn Morris
8cce271eac Add some comments related to how epaths.h gets built. 2010-05-29 11:54:16 -07:00
Chong Yidong
bc8d33d540 * 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.
2010-05-29 14:25:00 -04:00
Chong Yidong
fcb5280844 * 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.
2010-05-29 14:22:18 -04:00
Eli Zaretskii
db5dce9dd1 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>.
2010-05-29 18:19:13 +03:00
Eli Zaretskii
06fa4a2352 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.
2010-05-29 15:51:01 +03:00
Eli Zaretskii
6d26bbb23e 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.
2010-05-29 13:49:21 +03:00
Eli Zaretskii
9b655a0a22 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.
2010-05-29 10:55:40 +03:00
Juri Linkov
0040735a56 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
(Bug#5270)
2010-05-28 22:18:47 +03:00
Michael Albinus
f5783df3a7 * fileio.c (Fdelete_file): Pass TRASH arg to handler call. 2010-05-28 16:57:11 +02:00
Michael Albinus
b6827fff7a * 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.
2010-05-28 16:48:56 +02:00
Michael Albinus
eba082a2e4 * 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.
2010-05-28 15:28:36 +02:00
Eli Zaretskii
a85cde3870 Prevent unnecessary scrolling in bidi-reordered buffers.
xdisp.c (try_cursor_movement): back up to non-continuation line only
 after finding point's row..
2010-05-28 15:00:47 +03:00
Kenichi Handa
0ad1627dbe merge trunk 2010-05-28 15:45:43 +09:00
Kenichi Handa
7d56b2ddfe Handle face-ignored-fonts 2010-05-28 15:42:43 +09:00
Glenn Morris
3d338b4613 * configure.in: Simplify some of the *bsd $canonical tests. 2010-05-27 21:25:06 -07:00
Glenn Morris
3e8bf1ef8f Move some old ChangeLog entries to the right files. 2010-05-27 20:52:19 -07:00
Glenn Morris
8f7c42d491 * configure.in: Simplify some of the $canonical tests. 2010-05-27 20:34:15 -07:00
Glenn Morris
e58d4ff7f4 * src/Makefile.in (LIBES): Remove $LOADLIBES, it is never set. 2010-05-27 20:29:09 -07:00
Glenn Morris
ad5a72094e * etc/MACHINES: Remove some old information no longer of relevance.
Switch to outline-mode.
2010-05-27 20:25:50 -07:00
Glenn Morris
c64233b26b * etc/PROBLEMS: Remove some more obsolete information.
Also some re-filling.
2010-05-27 20:23:08 -07:00
Chong Yidong
f1a5d776c4 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.
2010-05-27 19:30:11 -04:00
Chong Yidong
f44a59e61a Fix redisplay crash (Bug#6177).
* xdisp.c (redisplay_window): After redisplay, check if point is
still valid before setting it (Bug#6177).
2010-05-27 11:49:01 -04:00
Chong Yidong
5ca3929b19 * xdisp.c (redisplay_window): After redisplay, check if point is
still valid before setting it (Bug#6177).
2010-05-27 11:42:50 -04:00