* Re: Repeating tag searches does no longer work.
[not found] ` <E1Br74O-0000hV-OE@fencepost.gnu.org>
@ 2004-08-01 6:56 ` David Kastrup
2004-08-01 11:45 ` Andreas Schwab
0 siblings, 1 reply; 7+ messages in thread
From: David Kastrup @ 2004-08-01 6:56 UTC (permalink / raw)
Cc: emacs-devel
[This started with a bug report of me on the bug list]
Richard Stallman <rms@gnu.org> writes:
> M-. RET M-, on some suitable tag word will just barf. See input and
> messages below:
>
> I don't think this is a bug. M-, is meant to repeat a tags-search or
> tags-query-replace command. It does not work with M-.
Uh, yes. It is C-u M-. that repeats M-. Sorry for the false alarm.
Would there be drawbacks if M-, also did it? Is an interleaving of
M-. and M-, (in its current meaning) likely, so that it would make
sense to keep the current separation? I think it is not the first
time that I confused this, and the similarity of the keybindings does
suggest some connection.
I am copying this to emacs-devel in case someone wants to comment on it.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Repeating tag searches does no longer work.
2004-08-01 6:56 ` Repeating tag searches does no longer work David Kastrup
@ 2004-08-01 11:45 ` Andreas Schwab
2004-08-01 12:08 ` David Kastrup
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2004-08-01 11:45 UTC (permalink / raw)
Cc: rms, emacs-devel
David Kastrup <dak@gnu.org> writes:
> Uh, yes. It is C-u M-. that repeats M-. Sorry for the false alarm.
> Would there be drawbacks if M-, also did it?
* Changes in version 19.
** M-. (find-tag) no longer has any effect on what M-, will do
subsequently. You can no longer use M-, to find the next similar tag;
you must use M-. with a prefix argument, instead.
The motive for this change is so that you can more reliably use
M-, to resume a suspended `tags-search' or `tags-query-replace'.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Repeating tag searches does no longer work.
2004-08-01 11:45 ` Andreas Schwab
@ 2004-08-01 12:08 ` David Kastrup
2004-08-01 14:12 ` Andreas Schwab
2004-08-01 22:39 ` Richard Stallman
0 siblings, 2 replies; 7+ messages in thread
From: David Kastrup @ 2004-08-01 12:08 UTC (permalink / raw)
Cc: rms, emacs-devel
Andreas Schwab <schwab@suse.de> writes:
> David Kastrup <dak@gnu.org> writes:
>
> > Uh, yes. It is C-u M-. that repeats M-. Sorry for the false alarm.
> > Would there be drawbacks if M-, also did it?
>
> * Changes in version 19.
>
> ** M-. (find-tag) no longer has any effect on what M-, will do
> subsequently. You can no longer use M-, to find the next similar tag;
> you must use M-. with a prefix argument, instead.
>
> The motive for this change is so that you can more reliably use
> M-, to resume a suspended `tags-search' or `tags-query-replace'.
Considering the relative frequency of those commands, I would have
thought it more convenient to make C-u M-, resume a suspended
`tags-search' or `tags-query-replace', while just M-, resumes whatever
was done last.
So a single C-u M-, would make subsequent M-, switch to tags-search
again, and a single C-u M-. would make subsequent M-, switch to
find-tag again.
In either case, there would be an easy way to switch M-, M-, M-, to go
through the kind of search you prefer at the moment.
C-u M-, does not appear to have any meaning right now.
Objections?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Repeating tag searches does no longer work.
2004-08-01 12:08 ` David Kastrup
@ 2004-08-01 14:12 ` Andreas Schwab
2004-08-01 22:39 ` Richard Stallman
1 sibling, 0 replies; 7+ messages in thread
From: Andreas Schwab @ 2004-08-01 14:12 UTC (permalink / raw)
Cc: rms, emacs-devel
David Kastrup <dak@gnu.org> writes:
> Andreas Schwab <schwab@suse.de> writes:
>
>> David Kastrup <dak@gnu.org> writes:
>>
>> > Uh, yes. It is C-u M-. that repeats M-. Sorry for the false alarm.
>> > Would there be drawbacks if M-, also did it?
>>
>> * Changes in version 19.
>>
>> ** M-. (find-tag) no longer has any effect on what M-, will do
>> subsequently. You can no longer use M-, to find the next similar tag;
>> you must use M-. with a prefix argument, instead.
>>
>> The motive for this change is so that you can more reliably use
>> M-, to resume a suspended `tags-search' or `tags-query-replace'.
>
> Considering the relative frequency of those commands, I would have
> thought it more convenient to make C-u M-, resume a suspended
> `tags-search' or `tags-query-replace', while just M-, resumes whatever
> was done last.
Note that this change was established more than 12 years ago.
----------------------------
revision 1.11
date: 1992/07/07 17:57:20; author: rms; state: Exp; lines: +3 -1
*** empty log message ***
----------------------------
--- etags.el 01 Aug 2004 16:10:26 +0200 1.10
+++ etags.el 01 Aug 2004 16:10:37 +0200 1.11
@@ -223,7 +223,9 @@ See documentation of variable tags-file-
(switch-to-buffer-other-window tagbuf)
(switch-to-buffer tagbuf))
)
- (setq tags-loop-form '(find-tag nil t))
+;; I turned this off because people complain that it causes trouble
+;; when they find a tag during a tags-search. M-0 M-. is easy enough. --RMS
+;; (setq tags-loop-form '(find-tag nil t))
;; Return t in case used as the tags-loop-form.
t)
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Repeating tag searches does no longer work.
2004-08-01 12:08 ` David Kastrup
2004-08-01 14:12 ` Andreas Schwab
@ 2004-08-01 22:39 ` Richard Stallman
2004-08-01 22:54 ` David Kastrup
1 sibling, 1 reply; 7+ messages in thread
From: Richard Stallman @ 2004-08-01 22:39 UTC (permalink / raw)
Cc: schwab, emacs-devel
In either case, there would be an easy way to switch M-, M-, M-, to go
through the kind of search you prefer at the moment.
C-u M-, does not appear to have any meaning right now.
I don't see a need; giving M-. an arg is easy enough so this is no
real improvement. Please leave this alone.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Repeating tag searches does no longer work.
2004-08-01 22:39 ` Richard Stallman
@ 2004-08-01 22:54 ` David Kastrup
2004-08-01 23:51 ` Kim F. Storm
0 siblings, 1 reply; 7+ messages in thread
From: David Kastrup @ 2004-08-01 22:54 UTC (permalink / raw)
Cc: schwab, emacs-devel
Richard Stallman <rms@gnu.org> writes:
> In either case, there would be an easy way to switch M-, M-, M-,
> to go through the kind of search you prefer at the moment.
>
> C-u M-, does not appear to have any meaning right now.
>
> I don't see a need; giving M-. an arg is easy enough so this is no
> real improvement.
C-u M-. C-u M-. C-u M-. ... is quite more obnoxious to type than
M-, M-, M-, ... OTOH, probably repeated find-tag commands are not that
important.
> Please leave this alone.
No problem. It struck me as a possibly worthwhile idea and I wanted
to get feedback on it.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Repeating tag searches does no longer work.
2004-08-01 22:54 ` David Kastrup
@ 2004-08-01 23:51 ` Kim F. Storm
0 siblings, 0 replies; 7+ messages in thread
From: Kim F. Storm @ 2004-08-01 23:51 UTC (permalink / raw)
Cc: schwab, rms, emacs-devel
David Kastrup <dak@gnu.org> writes:
> > I don't see a need; giving M-. an arg is easy enough so this is no
> > real improvement.
>
> C-u M-. C-u M-. C-u M-. ... is quite more obnoxious to type than
> M-, M-, M-, ...
M-0 M-. is easier to type.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-08-01 23:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <x5r7qvyq5s.fsf@lola.goethe.zz>
[not found] ` <E1Br74O-0000hV-OE@fencepost.gnu.org>
2004-08-01 6:56 ` Repeating tag searches does no longer work David Kastrup
2004-08-01 11:45 ` Andreas Schwab
2004-08-01 12:08 ` David Kastrup
2004-08-01 14:12 ` Andreas Schwab
2004-08-01 22:39 ` Richard Stallman
2004-08-01 22:54 ` David Kastrup
2004-08-01 23:51 ` Kim F. Storm
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.