1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
Chong Yidong
8f8043160b Don't issue kmacro hint if echo area is in use (Bug#3412).
* lisp/kmacro.el (kmacro-call-macro): Don't issue hint message if the
echo area is in use (Bug#3412).
2010-06-24 15:16:33 -04:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08: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
Glenn Morris
57a1cd7bca (kmacro-insert-counter): Doc fix. 2008-11-22 03:19:06 +00:00
Romain Francoise
6b8d1c7243 * help.el (view-lossage): Fix docstring, lossage is now 300 keys.
* kmacro.el (kmacro-edit-lossage): Ditto.
* edmacro.el (edit-kbd-macro): Ditto.
2008-10-11 18:43:38 +00:00
Chong Yidong
81e28b24b7 (kmacro-exec-ring-item): Add autoload. 2008-08-05 22:58:38 +00:00
Glenn Morris
04bf5b655a American English spelling fix. 2008-06-27 02:14:52 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +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
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
David Kastrup
274f1353e0 * erc-stamp.el (erc-echo-timestamp):
* erc-lang.el (language):
* erc-backend.el (erc-server-connect): Fix buggy call to `message'.

* gnus-sum.el (gnus-summary-simplify-subject-query):
* ecomplete.el (ecomplete-display-matches): Fix buggy call to
`message'.

* textmodes/reftex.el (reftex-select-with-char):
* textmodes/reftex-toc.el (reftex-toc-do-promote)
(reftex-toc-visit-location, reftex-toc-find-section):
* textmodes/reftex-index.el (reftex-index-show-entry):
* textmodes/org.el (org-cycle-hide-archived-subtrees)
(org-table-rotate-recalc-marks, org-mark-ring-push)
(org-follow-info-link, org-mhe-get-message-folder-from-index)
(org-auto-repeat-maybe, org-store-log-note, org-delete-property)
(org-evaluate-time-range, org-edit-agenda-file-list):
* textmodes/artist.el (artist-select-next-op-in-list)
(artist-select-prev-op-in-list):
* term/mac-win.el (mac-service-insert-text):
* startup.el (fancy-about-screen):
* progmodes/vhdl-mode.el (vhdl-decision-query):
* progmodes/idlwave.el (idlwave-template)
(idlwave-scroll-completions, idlwave-display-completion-list):
* progmodes/ebrowse.el (ebrowse-show-progress):
* progmodes/cperl-mode.el (cperl-find-pods-heres):
* progmodes/antlr-mode.el (antlr-insert-option-do):
* play/mpuz.el (mpuz-close-game):
* net/rcirc.el (rcirc-next-active-buffer):
* mail/reporter.el (reporter-update-status):
* kmacro.el (kmacro-display):
* international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
* emulation/viper-util.el (viper-save-setting):
* emacs-lisp/lisp-mnt.el (lm-verify):
* emacs-lisp/edebug.el (edebug-set-mode):
* emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
* calendar/calendar.el (calendar-print-day-of-year):
* calc/calcalg3.el (calc-curve-fit):
* calc/calcalg2.el (math-integral):
* calc/calc.el (calc-read-key-sequence, calc-version):
* calc/calc-mode.el (calc-set-simplify-mode):
* calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to
`message'.
2007-12-08 01:02:29 +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
Miles Bader
1e89951587 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 59-69)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 237-238)

   - Update from CVS

2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>

   * lisp/ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
   underlying file is uptodate.

2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>

   * lisp/vc.el: Add more info about the vc-registered function.

2007-07-15  Richard M. Stallman  <rms@gnu.org>

   * lisp/kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.

   * lisp/tutorial.el (tutorial--find-changed-keys):
   Handle C-x specially like ESC.

2007-07-15  Aaron Hawley  <aaronh@garden.org>

   * lisp/tar-mode.el (tar-get-descriptor): No error for zero-length file.

2007-07-21  Reiner Steib  <Reiner.Steib@gmx.de>

   * lisp/gnus/mm-uu.el (mm-uu-type-alist): Refer to mm-uu-configure-list in doc
   string.

2007-07-16  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-srvr.el (gnus-server-font-lock-keywords): Quote faces.

2007-07-16  Richard M. Stallman  <rms@gnu.org>

   * lispref/display.texi (Defining Faces): Fix previous change.

2007-07-20  Eli Zaretskii  <eliz@gnu.org>

   * src/w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32):
   Define if not defined.

2007-07-18  Jason Rumney  <jasonr@gnu.org>

   * src/w32proc.c (w32_executable_type): Handle 64 bit executables.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-823
2007-07-24 01:21:32 +00:00
Martin Rudalics
59f63e9aa5 (kmacro-end-macro): When ignoring empty macro
avoid incorrect kmacro-ring-empty-p messages.
2007-07-18 08:46:42 +00:00
Richard M. Stallman
be3eb6a622 (kmacro-bind-to-key): Avoid comparisons on function keys. 2007-07-15 18:45:59 +00:00
Juanma Barranquero
c796a0b64d (kmacro-insert-counter, kmacro-set-counter,
kmacro-start-macro-or-insert-counter, kmacro-step-edit-prefix-commands):
Fix typos in docstrings.
(kmacro-call-ring-2nd, kmacro-call-ring-2nd-repeat): Doc fixes.
2007-01-14 03:22:45 +00:00
Kim F. Storm
64d728d655 Fix commentary. 2006-11-26 11:50:51 +00:00
Richard M. Stallman
5586939c0e (kmacro-repeat-on-last-key): Doc fix. 2006-08-25 20:30:17 +00:00
Kim F. Storm
549b93ddac (kmacro-push-ring): Let-bind history-delete-duplicates
to nil around call to add-to-history.
2006-05-07 20:49:16 +00:00
Kim F. Storm
4224caf857 (kmacro-push-ring): Use add-to-history.
(kmacro-ring-length): Remove unused defun.
(kmacro-start-macro): Use kmacro-push-ring.
2006-05-05 23:37:37 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
480ef9bbde (kmacro-call-macro): Fix spellings in docstrings. 2005-06-10 14:04:52 +00:00
Kim F. Storm
1bf2f306bb Use executing-kbd-macro-index variable. 2005-05-02 10:33:33 +00:00
Kim F. Storm
e9691cca87 (kmacro-end-macro): Isearch may store this command
into the macro -- so ignore it when executing keyboard macro.
2005-03-30 10:25:10 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Luc Teirlinck
7dcb2dfd8a (kmacro-default-counter-format): New var.
(kmacro-set-format): Use it.  Delete `(printf format)' from prompt.
(kmacro-display): Remove `nil' from `and' form.  Delete call to
`format' inside `message'.
(kmacro-start-macro): Use `kmacro-default-counter-format'.
2004-12-02 00:17:54 +00:00
Kim F. Storm
1b25dccd6e (group kmacro): Add :version.
(kmacro-keyboard-quit): New function to cleanup on C-g.
(kmacro-start-macro): Set defining-kbd-macro to append when
appending to last macro.
2004-11-01 23:06:32 +00:00
Kim F. Storm
52996e8c2f (kmacro-insert-counter, kmacro-add-counter): Use and
reset kmacro-initial-counter-value if set.
(kmacro-set-counter): Only set kmacro-counter if defining or executing
macro.  Set kmacro-initial-counter-value otherwise. Never set both.
(kmacro-display): Show macro counter if non-zero.
2004-10-11 22:13:20 +00:00
Kim F. Storm
424e6532c8 (kmacro-lambda-form, kmacro-extract-lambda): Add.
(kmacro-bind-to-key, kmacro-name-last-macro): Use kmacro-lambda-form.
2004-09-30 13:27:45 +00:00
Kim F. Storm
2b4b4febb2 (kmacro-step-edit-prompt): Add "%s" format to message. 2004-09-12 21:39:40 +00:00
Kim F. Storm
18d1e6c9fd (kmacro-bind-to-key): Associate dedicated macro
counter and format with binding.
(kmacro-name-last-macro): New defun.  Like name-last-kbd-macro, but
the declared macro uses own macro counter and format.  Give symbol
kmacro property.
(kmacro-keymap): Bind kmacro-name-last-macro to n.
(kmacro-start-macro, kmacro-end-macro, kmacro-call-macro)
(kmacro-end-and-call-macro): Doc fix.
2004-09-09 20:48:12 +00:00
Juri Linkov
b327c9913d * kmacro.el (kmacro-call-macro): Fix docstring. 2004-03-25 10:39:06 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Kim F. Storm
a1839f0622 (kmacro-keymap): Group related bindings in
initialization for clarity.  Bind C-s to start macro.
Remove C-r binding.
(kmacro-initial-counter-value): New defvar to hold initial counter
value in case we set the value before defining a macro.
(kmacro-insert-counter): Clear kmacro-initial-counter-value..
(kmacro-set-counter): Set kmacro-initial-counter-value if we are
not defining or executing macro.  Doc fix.
(kmacro-add-counter): Clear kmacro-initial-counter-value.
(kmacro-view-last-item, kmacro-view-item-no): New defvars used to
temporarily view older elements on the macro ring without cycling
the ring.
(kmacro-display): Doc fix.
(kmacro-exec-ring-item): New helper function.
(kmacro-call-ring-2nd): Use it.
(kmacro-call-ring-2nd-repeat): Doc fix.
(kmacro-start-macro): Use (and clear) kmacro-initial-counter-value.
(kmacro-end-or-call-macro): Execute last viewed macro (using
kmacro-exec-ring-item) from ring if this follows
kmacro-view-macro.  This allows us to find a macro on the ring
with C-x C-k C-v C-v ... and execute it (with C-k) without cycling
the ring to bring it to the head of the ring.
(kmacro-bind-to-key): Doc fix (describe reserved bindings).
Allow binding to reserved keys without specifying C-x C-k prefix.
Ask for confirmation if entered key sequence is already bound to
a non-macro command.
(kmacro-view-macro): Repeating command will show older elements
on the macro ring; C-k will execute the last viewed macro.
(kmacro-view-macro-repeat): Doc fix.  Change its kmacro-repeat
property from 'ring to 'head.
2003-08-17 22:04:44 +00:00
Richard M. Stallman
4231e11f43 (kmacro-end-and-call-macro): Doc fix. 2003-04-03 23:01:45 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Kim F. Storm
5190c95ed4 (kmacro-step-edit-query): Use RET to execute rest of
macro and terminate editing.
(kmacro-step-edit-macro): Push previous macro onto ring if changed
by step editing.
2002-09-20 20:38:18 +00:00
Kim F. Storm
7fdc0c130e (kmacro-start-macro): Doc fix. 2002-09-13 07:18:27 +00:00
Kim F. Storm
28241c47e7 (kmacro-keymap): Changed bindings:
C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
2002-09-12 21:52:26 +00:00
Kim F. Storm
482b44d88e *** empty log message *** 2002-09-10 22:19:39 +00:00
Kim F. Storm
1c59ca7881 (kmacro-call-macro): Rephrase repeat prompt.
(kmacro-step-edit-map): Bind "A" to `append-end'.
(kmacro-step-edit-prompt): Fix prompt.
(kmacro-step-edit-query): Handle `append-end' response.
(kmacro-step-edit-pre-command): Activate `append-end' at end of
macro when required.
2002-09-10 22:08:45 +00:00
Miles Bader
1698f7888a (kmacro-call-macro): Deal with a non-numeric prefix arg. 2002-09-10 01:23:22 +00:00
Kim F. Storm
723d6a64c0 (kmacro-end-and-call-macro): New command to end and
call keyboard macro in one step. Bind it to C-x e by default.
(kmacro-call-macro): Use format-kbd-macro.
(kmacro-step-edit-macro): New command to interactively step edit
and execute last keyboard macro.
(kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
(kmacro-step-edit-mini-window-height): New custom var.
(kmacro-step-edit-map): New keymap (parent is query-replace-map).
(kmacro-step-edit-prefix-commands): New var.
(kmacro-step-edit-prompt, kmacro-step-edit-query)
(kmacro-step-edit-insert, kmacro-step-edit-pre-command)
(kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
New aux functions for step editing keyboard macros.
2002-09-08 20:38:04 +00:00
Kim F. Storm
c8bf445eb5 Changed default bindings from F7/F8 to F3/F4.
Changed default binding of C-x e to kmacro-end-or-call-macro.
(kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
variables.
(kmacro-get-prefix-arg): New function.
(kmacro-repeat-on-last-key): Renamed from kmacro-repeat-loop and improved.
Callers changed.
(kmacro-call-macro): Repeat macro by repeating last key or
key defined in kmacro-call-repeat-key.  New third arg non-nil
means to end current macro.
(kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
to get repeat last key functionality.
(kmacro-start-macro-or-insert-counter): Improve doc string.
2002-08-29 13:06:26 +00:00
Andreas Schwab
63b833de37 (kmacro-start-macro): Doc fix. 2002-08-27 15:06:13 +00:00