Mercurial > emacs
view leim/quail/cyril-jis.el @ 108806:511da81b16c5
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.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 27 May 2010 19:30:11 -0400 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
line wrap: on
line source
;;; cyril-jis.el --- Quail package for inputting JISX0208 Cyrillic letters ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 ;; Free Software Foundation, Inc. ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, ;; 2006, 2007, 2008, 2009, 2010 ;; National Institute of Advanced Industrial Science and Technology (AIST) ;; Registration Number H14PRO021 ;; Keywords: multilingual, input method, Cyrillic ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. ;;; Commentary: ;; This Quail package is for inputting Cyrillic letters of Japanese ;; character set JISX0208, not for inputting Cyrillic letters of ;; ISO-8859-5. For the latter, use packages in quail/cyrillic.el. ;;; Code: (quail-define-package "cyrillic-jis-russian" "Cyrillic" "$B'('+(B" nil "$B'+'8'5','&'/(B keyboard layout same as JCUKEN (JIS X0208.1983 encoding)" nil t t t t nil nil nil nil nil t) ;; 1! 2@ 3# 4" 5: 6, 7. 8* 9( 0) -_ =+ ,L!(B ;; ,L9(B ,LF(B ,LC(B ,L:(B ,L5(B ,L=(B ,L3(B ,LH(B ,LI(B ,L7(B ,LE(B ,Lj(B ;; ,LD(B ,LK(B ,L2(B ,L0(B ,L?(B ,L@(B ,L>(B ,L;(B ,L4(B ,L6(B ,LM(B ;; ,LO(B ,LG(B ,LA(B ,L<(B ,L8(B ,LB(B ,LL(B ,L1(B ,LN(B /? (quail-define-rules ("1" ?$B#1(B) ("2" ?$B#2(B) ("3" ?$B#3(B) ("4" ?$B#4(B) ("5" ?$B#5(B) ("6" ?$B#6(B) ("7" ?$B#7(B) ("8" ?$B#8(B) ("9" ?$B#9(B) ("0" ?$B#0(B) ("-" ?$B!](B) ("=" ?$B!a(B) ("`" ?$B'W(B) ("q" ?$B'[(B) ("w" ?$B'h(B) ("e" ?$B'e(B) ("r" ?$B'\(B) ("t" ?$B'V(B) ("y" ?$B'_(B) ("u" ?$B'T(B) ("i" ?$B'j(B) ("o" ?$B'k(B) ("p" ?$B'Y(B) ("[" ?$B'g(B) ("]" ?$B'l(B) ("a" ?$B'f(B) ("s" ?$B'm(B) ("d" ?$B'S(B) ("f" ?$B'Q(B) ("g" ?$B'a(B) ("h" ?$B'b(B) ("j" ?$B'`(B) ("k" ?$B'](B) ("l" ?$B'U(B) (";" ?$B'X(B) ("'" ?$B'o(B) ("\\" ?$B!@(B) ("z" ?$B'q(B) ("x" ?$B'i(B) ("c" ?$B'c(B) ("v" ?$B'^(B) ("b" ?$B'Z(B) ("n" ?$B'd(B) ("m" ?$B'n(B) ("," ?$B'R(B) ("." ?$B'p(B) ("/" ?$B!?(B) ("!" ?$B!*(B) ("@" ?$B!w(B) ("#" ?$B!t(B) ("$" ?$B!I(B) ("%" ?$B!'(B) ("^" ?$B!$(B) ("&" ?$B!%(B) ("*" ?$B!v(B) ("(" ?$B!J(B) (")" ?$B!K(B) ("_" ?$B!2(B) ("+" ?$B!\(B) ("~" ?$B''(B) ("Q" ?$B'+(B) ("W" ?$B'8(B) ("E" ?$B'5(B) ("R" ?$B',(B) ("T" ?$B'&(B) ("Y" ?$B'/(B) ("U" ?$B'$(B) ("I" ?$B':(B) ("O" ?$B';(B) ("P" ?$B')(B) ("{" ?$B'7(B) ("}" ?$B'<(B) ("A" ?$B'6(B) ("S" ?$B'=(B) ("D" ?$B'#(B) ("F" ?$B'!(B) ("G" ?$B'1(B) ("H" ?$B'2(B) ("J" ?$B'0(B) ("K" ?$B'-(B) ("L" ?$B'%(B) (":" ?$B'((B) ("\"" ?$B'?(B) ("|" ?$B!C(B) ("Z" ?$B'A(B) ("X" ?$B'9(B) ("C" ?$B'3(B) ("V" ?$B'.(B) ("B" ?$B'*(B) ("N" ?$B'4(B) ("M" ?$B'>(B) ("<" ?$B'"(B) (">" ?$B'@(B) ("?" ?$B!)(B)) ;; Local Variables: ;; coding: iso-2022-7bit ;; End: ;; arch-tag: 3a0cc2ac-de48-42fe-9e80-05d8aa6faa36 ;;; cyril-jis.el ends here