1. 29 May, 2010 8 commits
    • Chong Yidong's avatar
      Add --parent-id argument to emacsclient. · 0191e222
      Chong Yidong authored
      * 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's avatar
      Regenerate configure. · b233600f
      Glenn Morris authored
    • Glenn Morris's avatar
    • Chong Yidong's avatar
      * ansi-color.el: Delete unused escape sequences (Bug#6085). · bc8d33d5
      Chong Yidong authored
      (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's avatar
      Implement bidi-sensitive word movement with arrow keys. · db5dce9d
      Eli Zaretskii authored
       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's avatar
      Fix cursor motion in bidi-reordered continued lines. · 06fa4a23
      Eli Zaretskii authored
       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,
    • Eli Zaretskii's avatar
      Finish debugging of cursor motion in bidi-reordered lines. · 6d26bbb2
      Eli Zaretskii authored
       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,
    • Eli Zaretskii's avatar
      Fix bug #6294. · 9b655a0a
      Eli Zaretskii authored
       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.
  2. 28 May, 2010 13 commits
  3. 27 May, 2010 9 commits
    • Chong Yidong's avatar
      Change delete-by-moving-to-trash so Lisp calls explicitly request trashing. · f1a5d776
      Chong Yidong authored
      * 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
      (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-local, ange-ftp-load)
      (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
      (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-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-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's avatar
      Fix redisplay crash (Bug#6177). · f44a59e6
      Chong Yidong authored
      * xdisp.c (redisplay_window): After redisplay, check if point is
      still valid before setting it (Bug#6177).
    • Chong Yidong's avatar
      Let htmlfontify recognize face aliases (Bug#6279). · ecb0ab90
      Chong Yidong authored
      * 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's avatar
      merge trunk · 478ebb73
      Kenichi Handa authored
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Do not preprocess src/Makefile.in. · 81ac4f35
      Glenn Morris authored
      * 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's avatar
      Provide hooks to use a different tokenizer in SMIE. · 11e4d8c0
      Stefan Monnier authored
      * 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's avatar
  4. 26 May, 2010 10 commits