Glenn Morris
7e570fbf3e
Merge from emacs-24; up to 2012-05-05T02:50:20Z!monnier@iro.umontreal.ca
2012-09-05 00:05:56 -07:00
Glenn Morris
723088480d
Fix right and left key remapping issue (bug#12317)
...
* lisp/emulation/cua-rect.el (cua--init-rectangles):
* lisp/textmodes/picture.el (picture-mode-map):
* lisp/play/blackbox.el (blackbox-mode-map):
Remap right-char and left-char like forward-char and backward-char.
2012-08-31 13:38:50 -04:00
Paul Eggert
09ae5da1b8
Prefer typical American spelling for "acknowledgment".
2012-07-24 22:48:19 -07:00
Juanma Barranquero
4d6769e1bb
lisp/*: Add declarations, remove unused bindings, mark unused args.
...
* lisp/avoid.el (mouse-avoidance-mode): Mark unused arg.
(mouse-avoidance-nudge-mouse): Remove unused binding.
* lisp/imenu.el (imenu-default-goto-function): Mark unused args.
(imenu-progress-message): Remove obsolete macro; all callers changed.
* lisp/mouse.el (mouse-menu-major-mode-map):
* lisp/emacs-lisp/authors.el (authors-scan-change-log)
(authors-add-to-author-list):
* lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance):
* lisp/emacs-lisp/smie.el (smie-auto-fill):
* lisp/mail/sendmail.el (mail-bury):
* lisp/mail/unrmail.el (unrmail):
* lisp/net/tls.el (open-tls-stream):
* lisp/textmodes/picture.el (picture-mouse-set-point):
Remove unused bindings.
* lisp/subr.el (keymap-canonicalize): Remove unused binding.
(read-passwd): Mark unused arg.
* lisp/tutorial.el (tutorial--display-changes): Remove unused binding.
(tutorial--save-tutorial-to): Remove unused variable.
* lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete)
(package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
(package-generate-autoloads, package-menu--generate)
(package-menu--find-upgrades): Remove unused bindings.
* lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle)
(cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
(cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
(cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
(cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
(cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
(cua--rectangle-aux-replace, cua--left-fill-rectangle)
(cua-scroll-rectangle-up, cua-scroll-rectangle-down)
(cua-delete-char-rectangle): Mark unused args.
(cua-align-rectangle): Remove unused binding.
* lisp/mail/rmail.el (compilation--message->loc)
(epa--find-coding-system-for-mime-charset): Declare.
* lisp/net/dbus.el (dbus-register-service): Declare.
(dbus-name-owner-changed-handler): Remove unused binding.
* lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
(nxml-compute-indent-from-matching-start-tag): Remove unused variables.
(nxml-scan-backward-within): Mark unused arg.
(nxml-dynamic-markup-word): Remove unused binding.
2012-04-19 19:20:26 +02:00
Chong Yidong
699bd04ed6
Add delete-forward-char to CUA remappings.
...
* lisp/emulation/cua-rect.el (cua--init-rectangles):
* lisp/emulation/cua-base.el (cua--init-keymaps): Add delete-forward-char to remappings.
Fixes: debbugs:9666
2012-03-10 16:26:45 +08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Paul Eggert
fa46310344
Spelling fixes.
2011-12-05 00:55:25 -08:00
Paul Eggert
3ed8598c49
Spelling fixes.
2011-11-18 00:31:02 -08:00
Stefan Monnier
4f91a8160f
Don't quote lambda expressions with `quote'.
2011-05-23 14:57:17 -03: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
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Andreas Schwab
639b2760f1
Merge from emacs-23
2010-06-10 00:08:50 +02:00
Juanma Barranquero
78edd3b72d
Fix typos.
2010-06-03 17:34:35 +02:00
Stefan Monnier
d355a0b791
Replace Lisp calls to delete-backward-char by delete-char.
...
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
2010-05-24 22:11:08 -04:00
Juanma Barranquero
c5eb971bec
CUA mode: Fix use of `filter-buffer-substring' (rework previous change).
...
* emulation/cua-base.el (cua--filter-buffer-noprops): New function.
(cua-repeat-replace-region):
* emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
* emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
(cua-cut-region-to-global-mark): Use it.
2010-05-10 16:37:59 +02:00
Juri Linkov
3212974649
Bind C-v' to scroll-up-command' and M-v' to scroll-down-command'.
...
http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html
* window.c (keys_of_window): Rebind `C-v' from `scroll-up' to
`scroll-up-command' and `M-v' from `scroll-down' to
`scroll-down-command'.
* tutorial.el (tutorial--default-keys): Rebind `C-v' to
`scroll-up-command' and `M-v' to `scroll-down-command'.
* emulation/cua-rect.el (cua--init-rectangles):
* forms.el (forms--change-commands):
* image-mode.el (image-mode-map):
Remap scroll-down-command and scroll-up-command
in addition to scroll-down and scroll-up.
2010-04-14 03:33:32 +03:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Stefan Monnier
937e6a5612
* url-util.el (url-insert-entities-in-string):
...
* url-nfs.el (url-nfs-unescape):
* url-ldap.el (url-ldap):
* url-imap.el (url-imap):
* url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
* erc.el (erc-display-line-1, erc-process-away):
* erc-truncate.el (erc-truncate-buffer-to-size):
Use with-current-buffer.
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
* play/mpuz.el (mpuz-create-buffer):
* play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
(lm-print-y,s,noise, lm-print-w0, lm-init):
* play/gomoku.el (gomoku-prompt-for-move):
* play/fortune.el (fortune-in-buffer):
* play/dissociate.el (dissociated-press):
* play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
(decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
* mail/supercite.el (sc-eref-show):
* mail/smtpmail.el (smtpmail-send-it):
* mail/rmailsum.el (rmail-summary-next-labeled-message)
(rmail-summary-previous-labeled-message, rmail-summary-wipe)
(rmail-summary-undelete-many, rmail-summary-rmail-update)
(rmail-summary-goto-msg, rmail-summary-expunge)
(rmail-summary-get-new-mail, rmail-summary-search-backward)
(rmail-summary-add-label, rmail-summary-output-menu)
(rmail-summary-output-body):
* mail/rfc822.el (rfc822-addresses):
* mail/reporter.el (reporter-dump-variable, reporter-dump-state):
* mail/mailpost.el (post-mail-send-it):
* mail/hashcash.el (hashcash-generate-payment):
* mail/feedmail.el (feedmail-run-the-queue)
(feedmail-queue-send-edit-prompt-help-first)
(feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
(feedmail-deduce-address-list):
* eshell/esh-ext.el (eshell-remote-command):
* eshell/em-unix.el (eshell-occur-mode-mouse-goto):
* emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
(viper-wildcard-to-regexp, viper-glob-mswindows-files)
(viper-save-string-in-file, viper-valid-marker):
* emulation/viper-keym.el (viper-toggle-key):
* emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
(ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
(ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
* emulation/viper-cmd.el (viper-exec-form-in-vi)
(viper-exec-form-in-emacs, viper-brac-function):
* emulation/viper.el (viper-delocalize-var):
* emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
(vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
(vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
(ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
* emulation/vi.el (vi-switch-mode, vi-ex-cmd):
* emulation/edt.el (edt-electric-helpify):
* emulation/cua-rect.el (cua--rectangle-aux-replace):
* emulation/cua-gmrk.el (cua--insert-at-global-mark)
(cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
(cua-indent-to-global-mark-column):
* calendar/diary-lib.el (calendar-mark-1):
* calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
Use with-current-buffer.
* emulation/viper.el (viper-delocalize-var): Use dolist.
2009-11-03 02:04:29 +00:00
Kim F. Storm
c872c51e2b
(cua--indent-rectangle): Insert tabs using
...
tab-to-tab-stop to respect indent-tabs-mode.
2009-04-09 17:13:54 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Glenn Morris
ed0f493f0a
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 03:28:01 +00:00
Stefan Monnier
cbee283dd7
Fix up comment convention on the arch-tag lines.
2008-04-10 14:10:46 +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
8b72699e88
Add 2008 to copyright years.
2008-01-07 01:14:52 +00:00
Glenn Morris
2c0f856464
(top-level): Move provide to end.
...
Don't require cua-gmrk when compiling.
(cua--cut-rectangle-to-global-mark)
(cua--copy-rectangle-to-global-mark): Declare as functions.
2007-12-04 03:48:27 +00:00
Juanma Barranquero
026056a4c8
(cua--deactivate-rectangle, cua--highlight-rectangle,
...
cua--rectangle-post-command): Use `mapc' rather than `mapcar'.
2007-09-26 00:16:39 +00:00
Glenn Morris
e0085d62fa
Switch license to GPLv3 or later.
2007-07-25 04:14:29 +00:00
Glenn Morris
f0fa15c5e5
Add 2007 to copyright years.
2007-01-21 02:48:43 +00:00
Kim F. Storm
a452073597
(cua-help-for-rectangle): Add `alt' modifier.
2006-07-14 22:14:17 +00:00
Kim F. Storm
15ac4d5825
(cua--extract-rectangle)
...
(cua-incr-rectangle, cua--rectangle-aux-replace):
Use filter-buffer-substring.
2006-04-09 23:04:22 +00:00
Kim F. Storm
27366995b7
(cua--init-rectangles): Use
...
cua-rectangle-mark-key instead of fixed C-return.
2006-03-25 00:55:09 +00:00
Kim F. Storm
b53b41baa1
(cua--highlight-rectangle): Set overlay
...
cursor property value to 2 (to align with C level change).
2006-03-19 19:59:33 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Kim F. Storm
5592022932
(cua--extract-rectangle): Undo recent change re. \s in strings.
2005-12-09 09:10:10 +00:00
Kim F. Storm
e87aa62061
(cua--rectangle-aux-replace): Fix
...
indention of text on right side of replaced rectangle.
2005-12-08 22:52:50 +00:00
Kim F. Storm
1638bf546d
* emulation/cua-base.el (cua-use-hyper-key): Replaced by ...
...
(cua-rectangle-modifier-key): ... this. New defcustom. Can now
select either meta, hyper, or super modifier for rectangle commands.
(cua--rectangle-modifier-key): New defvar.
(cua--M/H-key): Use it. Remove special case for 'space.
(cua--init-keymaps): Initialize it from cua-rectangle-modifier-key
on X, to meta otherwise. Always bind C-return to toggle
rectangle. Pass ?\s instead of 'space to cua--M/H-key.
* emulation/cua-rect.el (cua-help-for-rectangle): Use
cua--rectangle-modifier-key. Handle super modifier too.
(cua--init-rectangles): Always bind C-return to toggle rectangle.
Pass ?\s instead of 'space to cua--M/H-key and cua--rect-M/H-key.
2005-12-08 22:24:35 +00:00
Kim F. Storm
ea707ec6a0
(cua--extract-rectangle): Don't use \s in strings.
2005-12-08 20:56:35 +00:00
Kim F. Storm
c0e4cc1987
(cua--rectangle-overlays): Make permanent-local.
...
(cua--rectangle-post-command): Cleanup overlays and deactivate mark
after revert-buffer (or anything else which kills all local variables).
2005-11-29 23:58:20 +00:00
Kim F. Storm
98faed9f39
(cua--highlight-rectangle): Preserve
...
existing face when partially highlighting a TAB in a rectangle.
2005-11-26 23:30:43 +00:00
Kim F. Storm
f28564957e
(cua--highlight-rectangle): Only show
...
rectangle overlay in selected window.
2005-08-01 22:06:42 +00:00
Thien-Thi Nguyen
5fd6d89f46
Update years in copyright notice; nfc.
2005-08-01 15:47:19 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Juanma Barranquero
8482d727c3
(cua-do-rectangle-padding): Remove period from end of messages.
...
(cua--rectangle-seq-format): Fix typo in docstring.
(cua-sequence-rectangle, cua-fill-char-rectangle): Improve argument/docstring
consistency.
2005-06-30 01:15:52 +00:00
Kim F. Storm
1e98d199cc
* emulation/cua-base.el (cua-rectangle, cua-rectangle-noselect)
...
(cua-global-mark): Remove -face suffix from face names.
* emulation/cua-gmrk.el (cua--init-global-mark): Remove
cua-global-mark face setup.
2005-06-06 13:19:15 +00:00
Kim F. Storm
541d6c0271
(cua--init-rectangles): Bind C-return instead of S-return to
...
toggle/clear rectangle mark.
2005-05-17 22:39:30 +00:00
Thien-Thi Nguyen
7f1c31c9d4
Update years in copyright notice; nfc.
2005-05-17 17:29:06 +00:00
Kim F. Storm
786aac0f63
(cua--init-rectangles): Remove face setup.
2005-04-12 20:39:08 +00:00