1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
Commit graph

94894 commits

Author SHA1 Message Date
Juanma Barranquero
b925d23104 src/ChangeLog: Add missing bug id. 2010-05-31 17:30:13 +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
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
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
ecb0ab90c4 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).
2010-05-27 11:28:58 -04:00
Kenichi Handa
478ebb73bb merge trunk 2010-05-27 16:08:37 +09:00
Glenn Morris
b7bd84780e * etc/PROBLEMS: Remove some more old information. 2010-05-26 23:13:23 -07:00
Glenn Morris
f995538b10 * etc/PROBLEMS: Remove old information no longer of relevance. 2010-05-26 22:51:43 -07:00
Glenn Morris
81ac4f3536 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.
2010-05-26 22:43:27 -07:00
Stefan Monnier
11e4d8c0d3 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.
2010-05-27 00:41:36 -04:00
Kenichi Handa
2b25da455e language/hebrew.el (hebrew-shape-gstring): Check if a glyph element of GSTRING is nil. 2010-05-27 13:24:30 +09:00
Stefan Monnier
6dc439cbcc 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 ".").
2010-05-26 10:19:15 -04:00
Michael Albinus
9841cb4f56 * eshell.texi (Built-ins): Describe, how to disable a built-in command
by an alias.
2010-05-26 12:13:45 +02:00
Glenn Morris
467c1419c5 * configure.in: Comments. 2010-05-25 23:48:25 -07:00
Glenn Morris
90278cb611 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.
2010-05-25 23:41:58 -07:00
Glenn Morris
021eb8d750 * 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.
2010-05-25 21:06:09 -07:00
Glenn Morris
a25e81b347 * configure, configure.in: Fix typo in previous. 2010-05-25 20:58:41 -07:00
Glenn Morris
7dddde4b23 Regenerate configure. 2010-05-25 20:53:25 -07:00
Glenn Morris
cd54a59940 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.
2010-05-25 20:50:16 -07:00
Glenn Morris
ccd89fb3d6 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.
2010-05-25 20:42:07 -07:00
Glenn Morris
4710f4fcc5 * src/Makefile.in: Fix comment typo. 2010-05-25 20:36:05 -07:00
Kenichi Handa
b705058384 Fix for finding a static composition. 2010-05-26 10:14:51 +09:00