Juri Linkov
cc4c01bd96
* lisp/wdired.el: Revert 2012-10-17 change partly and replace it with
...
Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
(wdired-finish-edit): Add marks for new file names to
`wdired-old-marks'. Restore marks using `dired-mark-remembered'
after `revert-buffer'.
(wdired-do-renames): Remove calls to `dired-remove-file',
`dired-add-file', `dired-add-entry'.
Fixes: debbugs:11795
2012-11-23 09:28:37 +02:00
Juri Linkov
e2f022a3fa
* lisp/wdired.el (wdired-keep-marker-rename): New defcustom.
...
(wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
* lisp/dired.el (dired-keep-marker-rename): Add reference to
`wdired-keep-marker-rename' in the docstring.
Add default character value ?R to display initially in
Customization UI instead of ?@.
Fixes: debbugs:11795
2012-10-27 12:17:14 +03:00
Michael Heerdegen
7ebc5f5a07
When renaming a file with wdired move point with file and don't lose mark status (Bug#11795).
...
* wdired.el (wdired-old-marks): New variable.
(wdired-change-to-wdired-mode): Locally set wdired-old-marks.
(wdired-do-renames): Move point with renamed file and don't lose
mark status (Bug#11795).
2012-10-17 11:11:49 +02:00
Chong Yidong
615b0bf0b4
* wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2012-08-05 12:19:21 +08:00
Stefan Monnier
a464a6c73a
More CL cleanups and reduction of use of cl.el.
...
* woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
* vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
* textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
* strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
* progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
* play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
* play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
* net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
* image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
* eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
* eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
* eshell/em-cmpl.el, eshell/em-banner.el:
* url/url.el, url/url-queue.el, url/url-parse.el, url/url-http.el:
* url/url-future.el, url/url-dav.el, url/url-cookie.el:
* calendar/parse-time.el, test/eshell.el: Use cl-lib.
* wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
* vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
* textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
* term/ns-win.el, term.el, shell.el, ps-samp.el:
* progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
* progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
* play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
* net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
* net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
* mail/mailheader.el, mail/feedmail.el:
* url/url-util.el, url/url-privacy.el, url/url-nfs.el, url/url-misc.el:
* url/url-methods.el, url/url-gw.el, url/url-file.el, url/url-expand.el:
Dont use CL.
* ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
* eshell/esh-opt.el (eshell-eval-using-options): Quote code with
`lambda' rather than with `quote'.
(eshell-do-opt): Adjust accordingly.
(eshell-process-option): Simplify.
* eshell/esh-var.el:
* eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
* emacs-pcase.el (pcase--dontcare-upats, pcase--let*)
(pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
to `pcase--dontcare'.
* emacs-cl.el (labels): Mark obsolete.
(cl--letf, letf): Move to cl-lib.
(cl--letf*, letf*): Remove.
* emacs-cl-lib.el (cl-nth-value): Use defalias.
* emacs-cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
(cl-progv): Rewrite.
(cl--letf, cl-letf): Move from cl.el.
(cl-letf*): New macro.
* emacs-cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2012-07-11 19:13:41 -04:00
Chong Yidong
c5695d1d09
Misc doc fixes for Dired.
...
* dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
(dired-create-files): Doc fix (Bug#11329).
(dired-do-copy): Doc fix (Bug#11334).
(dired-mark-read-string): Doc fix (Bug#11553).
* dired.el (dired-recursive-copies, dired-recursive-deletes): Doc
fix (Bug#11326).
(dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
(dired-dwim-target): Doc fix.
* wdired.el (wdired-mode): Doc fix.
2012-06-22 15:30:33 +08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Juanma Barranquero
20db1522fe
Fix typos.
2011-11-24 02:58:14 +01:00
Juri Linkov
5e68ce4ab9
Add `wdired-isearch-filter-read-only' to lisp/wdired.el.
...
* lisp/wdired.el (wdired-change-to-wdired-mode): Set buffer-local
`isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
(wdired-isearch-filter-read-only): New function.
Fixes: debbugs:6362
2011-09-09 18:49:00 +03:00
Deniz Dogan
1f14e9a61c
* lisp/wdired.el: Remove outdated installation comment. Fix usage
...
comment.
2011-05-09 19:47:01 +02:00
Juanma Barranquero
06b605171f
lisp/*.el: Lexical-binding cleanup.
2011-04-19 15:44:55 +02:00
Glenn Morris
95df8112a0
Refill some long/short copyright headers.
2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Juanma Barranquero
5a0c3f568d
Fix typos.
...
* allout.el
* dired-aux.el
* dired-x.el
* epa-file.el
* ps-print.el
* shell.el
* vc-hooks.el
* vc-rcs.el
* vc-sccs.el
* vc.el
* view.el
* wdired.el
* emacs-lisp/authors.el
* net/dig.el
* net/socks.el
* net/zeroconf.el
* obsolete/vc-mcvs.el
* progmodes/gdb-mi.el
* progmodes/grep.el
* progmodes/idlw-help.el
* progmodes/idlw-shell.el
* progmodes/idlwave.el
* progmodes/inf-lisp.el
* textmodes/bibtex.el
* textmodes/ispell.el
* textmodes/reftex-toc.el
2009-09-24 01:37:14 +00:00
Glenn Morris
8989a9203f
Replace last-command-char with last-command-event.
2009-01-09 04:44:15 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Chong Yidong
393e7e9089
(wdired-finish-edit): If displaying a single file, change
...
dired-directory if that file was renamed.
2008-11-30 05:42:35 +00:00
Chong Yidong
b74dc575a7
Revert last change.
2008-08-20 22:48:55 +00:00
Chong Yidong
423732e4fb
(wdired-old-auto-revert-mode): New var.
...
(wdired-change-to-wdired-mode): Turn off auto-revert-mode.
(wdired-change-to-dired-mode): Turn auto-revert-mode on if it used to
be on.
2008-08-20 22:41:45 +00:00
Andreas Schwab
390b0feef5
(wdired-search-and-rename): Fix undocumented change.
2008-06-15 09:43:38 +00:00
Stefan Monnier
f6d346c940
(wdired-do-renames): New function.
...
(wdired-finish-edit): Use it to.
(wdired-preprocess-files): Don't hardcode (point-min) == 1.
2008-06-14 17:00:01 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Michaël Cadilhac
3f146fcf67
(wdired-allow-to-change-permissions): Fix typo.
2008-02-17 00:30:06 +00:00
Martin Rudalics
e317200134
(wdired-get-filename): Change (1+ beg)' to
beg' so
...
that the filename end is found even when the filename is empty.
Fixes error and spurious newlines when marking files for deletion.
2008-01-26 17:23:56 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Deepak Goel
8c16bd8c35
Fix buggy calls to `error'.
2007-12-06 17:56:42 +00:00
Juanma Barranquero
5ba0fd437f
(make-symbolic-link): Declare as function.
2007-11-22 13:52:04 +00:00
Thien-Thi Nguyen
59d976238c
(wdired-use-dired-vertical-movement): Doc fix.
2007-11-05 11:51:33 +00:00
Martin Rudalics
e9283e70e6
(wdired-next-line, wdired-previous-line): Use
...
next-line and previous-line wrapped in with-no-warnings.
2007-10-29 06:48:22 +00:00
Dan Nicolaescu
975460179e
* term/x-win.el (x-gtk-stock-map, icon-map-list)
...
(x-gtk-map-stock): Delete duplicated definitions from merge.
* progmodes/octave-mod.el: Require octave-inf at compile time
* progmodes/compile.el (compilation-skip-to-next-location)
(compilation-skip-threshold, compilation-skip-visited): Move
definitions earlier.
* play/zone.el (zone-fall-through-ws):
* play/landmark.el (lm-move-down, lm-move-up):
* play/handwrite.el (handwrite):
* mail/mspools.el (mspools-visit-spool):
* wdired.el (wdired-next-line, wdired-previous-line):
* tar-mode.el (tar-subfile-save-buffer):
* scroll-lock.el (scroll-lock-next-line)
(scroll-lock-previous-line):
* image-dired.el (image-dired-next-line)
(image-dired-previous-line):
* ediff-help.el (ediff-help-message-line-length): Use
forward-line.
* smerge-mode.el (smerge-auto-refine):
* diff-mode.el (diff-auto-refine): Add :group.
* play/yow.el: Require doctor at compile time.
* vmsproc.el: Provide vmsproc.
(command-send-input): Use forward-line.
* vms-patch.el: Require ps-print and vmsproc at compile time.
* vc-mtn.el (log-view-message-re, log-view-file-re)
(log-view-font-lock-keywords): Pacify byte-compiler.
* vc-hg.el: Require log-view at compile time.
2007-10-20 06:30:18 +00:00
Juri Linkov
f8f67141f1
(wdired-exit): New function.
...
(wdired-mode-map): Bind C-x C-q to wdired-exit.
2007-07-29 09:17:30 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Michael Albinus
4a72585986
* dired-aux.el: Remove `dired-call-process'.
...
(dired-check-process): Call `process-file'.
* wdired.el (wdired-do-perm-changes): Call `process-file'.
* net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
`ange-ftp-process-file'.
2007-06-27 21:11:04 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Martin Rudalics
4212d44f81
(wdired-xcase-word): Skip non-word read-only characters.
2007-01-09 09:14:46 +00:00
Chong Yidong
0b884c8002
(wdired-preprocess-symlinks): Make the spaces after symlink arrows
...
read-only and non-rear-sticky.
2006-12-09 16:15:26 +00:00
Chong Yidong
dd5a55731b
(wdired-change-to-wdired-mode, wdired-finish-edit)
...
(wdired-search-and-rename): Simplify code.
(wdired-preprocess-files, wdired-preprocess-perms): Make
read-only property of preceding character rear-nonsticky to
avoid that it can be modified. Put old-name and old-link
properties on character preceding name and replace
put-text-property by add-text-properties.
(wdired-get-filename, wdired-get-previous-link): Get old-name
and old-link properties from character preceding name and
simplify code.
(wdired-preprocess-perms, wdired-set-bit, wdired-toggle-bit)
(wdired-perms-to-number): Make local-map property
rear-nonsticky to avoid that text following permissions may be
modified. Use add-text-properties instead of put-text-property
when changing a permission bit.
(wdired-change-to-dired-mode): Remove stickiness properties.
2006-12-09 16:06:53 +00:00
Thien-Thi Nguyen
9139583918
(wdired-change-to-wdired-mode, wdired-change-to-dired-mode):
...
Throw error if buffer is not in Dired and Wdired mode, respectively.
2006-07-28 21:00:15 +00:00
John Paul Wallington
681979fa11
(toplevel): Require `cl' at compile-time.
2006-03-04 21:41:10 +00:00
Stefan Monnier
d4f2cc777b
(wdired-mode-map): Use remap.
...
(wdired-get-filename): Massage.
(wdired-perm-mode-map): Don't copy bindings from wdired-mode-map.
(wdired-preprocess-perms, wdired-set-bit, wdired-toggle-bit): Use the
`keymap' property rather than `local-map'.
2006-02-07 17:30:10 +00:00
Thien-Thi Nguyen
1b5053637e
(wdired-get-filename): Fix bug: Don't re-normalize OLD.
2006-02-07 10:08:23 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Nick Roberts
48391a5368
(wdired-mode-map): Add help echo for wdired-abort-changes.
2006-01-12 21:23:12 +00:00
Juri Linkov
ad25ebbbbc
(wdired-old-point): New internal variable.
...
(wdired-change-to-wdired-mode): Set it buffer-locally.
(wdired-abort-changes): Restore point after aborting changes.
2005-12-14 07:46:11 +00:00
Deepak Goel
8a26c16552
Message format spec fixes (1)
2005-09-18 12:25:02 +00:00