Re: Key binding M-g should really be goto-line

2005-03-20 Thread Richard Stallman
> I would like a small group to organize to make a plan for what to do > with M-g, and discuss the question outside of this list. Would those > who want to do this please do so? We can just postpone this discussion to after the release. We could, but that's not quite the issue.

Re: Key binding M-g should really be goto-line

2005-03-20 Thread Romain Francoise
Richard Stallman <[EMAIL PROTECTED]> writes: > I would rather put this aside until after the release. I was hoping we could at least add the "candidates" from my list before the release. New bindings for previous-error and next-error would be immediately useful and everyone involved in the discu

Re: Key binding M-g should really be goto-line

2005-03-19 Thread David Kastrup
Richard Stallman <[EMAIL PROTECTED]> writes: > Now that Richard has changed M-g to be a prefix key, can we > implement this plan? > > I would rather put this aside until after the release. Discussing the full population of this binding, I might agree here. However, part of this proposal w

Re: Key binding M-g should really be goto-line

2005-03-18 Thread Richard Stallman
Now that Richard has changed M-g to be a prefix key, can we implement this plan? I would rather put this aside until after the release. I would like a small group to organize to make a plan for what to do with M-g, and discuss the question outside of this list. Would those who want to do

Re: M-g suffixes. Was: Key binding M-g should really be goto-line

2005-03-18 Thread Gaetan Leurent
Stefan Monnier wrote on 18 Mar 2005 14:58:48 +0100: > Huh? I'd never have expected someone to actually suggest an interactive key > binding for goto-char. But I now see that it even has a menu-bar entry. > What in the world for? Some compilers (eg ocaml) reports errors with character numbers i

Re: M-g suffixes. Was: Key binding M-g should really be goto-line

2005-03-18 Thread Stefan Monnier
>> M-g c - goto-char Huh? I'd never have expected someone to actually suggest an interactive key binding for goto-char. But I now see that it even has a menu-bar entry. What in the world for? I also see that the docstring of goto-char is wrong. How about the patch below? > M-g b - go

Re: M-g suffixes. Was: Key binding M-g should really be goto-line

2005-03-18 Thread David Kastrup
Romain Francoise <[EMAIL PROTECTED]> writes: > David Kastrup <[EMAIL PROTECTED]> writes: > >>> M-g n - next-error (goto-next-locus) >>> M-g M-n - next-error (goto-next-locus) >>> M-g p - previous-error >>> M-g M-p - previous-error > >> Most definitely YES! > > I would also like to see

Re: M-g suffixes. Was: Key binding M-g should really be goto-line

2005-03-18 Thread Romain Francoise
David Kastrup <[EMAIL PROTECTED]> writes: >> M-g n - next-error (goto-next-locus) >> M-g M-n - next-error (goto-next-locus) >> M-g p - previous-error >> M-g M-p - previous-error > Most definitely YES! I would also like to see `first-error' there while we're at it. So how about: M-g

M-g suffixes. Was: Key binding M-g should really be goto-line

2005-03-18 Thread David Kastrup
Romain Francoise <[EMAIL PROTECTED]> writes: > Juri Linkov <[EMAIL PROTECTED]> writes: > >> I see `goto-line' finally bound to M-g in CVS. Good news! >> After such a big change, it is time now for a few improvements. Of course Juri is being facetious. The binding of M-g was a small change as co

Re: Key binding M-g should really be goto-line

2005-03-18 Thread Romain Francoise
Juri Linkov <[EMAIL PROTECTED]> writes: > I see `goto-line' finally bound to M-g in CVS. Good news! > After such a big change, it is time now for a few improvements. Now that Richard has changed M-g to be a prefix key, can we implement this plan? We already have: M-g M-g - goto-line M-g g

Re: Key binding M-g should really be goto-line (To M-g M-g or not to M-g)

2005-03-10 Thread Jari Aalto
| Jari Aalto <[EMAIL PROTECTED]> writes: | | > | >David Kastrup <[EMAIL PROTECTED]> writes: | > | > no previous desire, not fitting the feature | > | > freeze. Is this a plot to distract people from releasing? | > | | > | IMO, it is a reasonable opportunity to DTRT before locking M-g down as | >

Re: Key binding M-g should really be goto-line

2005-03-10 Thread Kim F. Storm
Andreas Schwab <[EMAIL PROTECTED]> writes: > Romain Francoise <[EMAIL PROTECTED]> writes: > >> David Kastrup <[EMAIL PROTECTED]> writes: >> >>> It would be somewhat consistent with typical Emacs applications if the >>> file name was prompted for only when a prefix argument was given. >> >> Unfortu

Re: Key binding M-g should really be goto-line

2005-03-10 Thread Andreas Schwab
Romain Francoise <[EMAIL PROTECTED]> writes: > David Kastrup <[EMAIL PROTECTED]> writes: > >> It would be somewhat consistent with typical Emacs applications if the >> file name was prompted for only when a prefix argument was given. > > Unfortunately, the prefix argument is already used to jump t

M-g binding in Gnus (was: Key binding M-g should really be goto-line)

2005-03-10 Thread Reiner Steib
On Thu, Mar 10 2005, Miles Bader wrote: > Of course the usefulness of Gnus' local binding will have to be > re-evaluated with the new global binding in mind (the old global > binding of M-g was not at all useful for Gnus). I don't think that goto-line (and friends) are important enough *in Gnus*

Re: Key binding M-g should really be goto-line

2005-03-10 Thread Romain Francoise
David Kastrup <[EMAIL PROTECTED]> writes: > It would be somewhat consistent with typical Emacs applications if the > file name was prompted for only when a prefix argument was given. Unfortunately, the prefix argument is already used to jump to the file in another window. -- Romain Francoise <[

Re: Key binding M-g should really be goto-line (To M-g M-g or not to M-g)

2005-03-10 Thread David Kastrup
Jari Aalto <[EMAIL PROTECTED]> writes: > | >David Kastrup <[EMAIL PROTECTED]> writes: > | > no previous desire, not fitting the feature > | > freeze. Is this a plot to distract people from releasing? > | > | IMO, it is a reasonable opportunity to DTRT before locking M-g down as > | a single comm

Re: Key binding M-g should really be goto-line

2005-03-10 Thread Kim F. Storm
Piet van Oostrum <[EMAIL PROTECTED]> writes: >> [EMAIL PROTECTED] (Kim F. Storm) (KFS) wrote: > >>KFS> David Kastrup <[EMAIL PROTECTED]> writes: Juri Linkov <[EMAIL PROTECTED]> writes: > 2. goto-line is not too frequent command to deserve the sole > M-g key. There are many

Re: Key binding M-g should really be goto-line

2005-03-10 Thread David Kastrup
Romain Francoise <[EMAIL PROTECTED]> writes: > Juri Linkov <[EMAIL PROTECTED]> writes: > >> It would be useful to move `dired-jump' to dired.el and to modify it >> to ask the file name with the default set to buffer-file-name (or to >> create a new similar function and bind it to M-g f). > > I can

Re: Key binding M-g should really be goto-line

2005-03-10 Thread Miles Bader
On Thu, 10 Mar 2005 10:18:49 +0100, Piet van Oostrum <[EMAIL PROTECTED]> wrote: > >KFS> Huh? M-g was a prefix key before the change... > > Was it? In gnus it is bound to gnus-summary-rescan-group. At least in the > version a month or so ago. Yup. You're allowed to bind over prefix keys... :-)

Re: Key binding M-g should really be goto-line

2005-03-10 Thread Piet van Oostrum
> [EMAIL PROTECTED] (Kim F. Storm) (KFS) wrote: >KFS> David Kastrup <[EMAIL PROTECTED]> writes: >>> Juri Linkov <[EMAIL PROTECTED]> writes: >>> 2. goto-line is not too frequent command to deserve the sole M-g key. There are many other goto-related commands that could share the

Re: Key binding M-g should really be goto-line (To M-g M-g or not to M-g)

2005-03-09 Thread Jari Aalto
| >David Kastrup <[EMAIL PROTECTED]> writes: | > no previous desire, not fitting the feature | > freeze. Is this a plot to distract people from releasing? | | IMO, it is a reasonable opportunity to DTRT before locking M-g down as | a single command-key only. Juri made interesting suggestings, an

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Romain Francoise
Juri Linkov <[EMAIL PROTECTED]> writes: > It would be useful to move `dired-jump' to dired.el and to modify it > to ask the file name with the default set to buffer-file-name (or to > create a new similar function and bind it to M-g f). I can second the suggestion to move `dired-jump' to dired.el

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Juri Linkov
[EMAIL PROTECTED] (Johan Bockgård) writes: > Indeed not. It's called `dired-jump' (bound to C-x C-j when dired-x > is loaded). It is good as a global binding, but it has one limitation: it can't jump to an arbitrary file, it jumps only to buffer-file-name when called not from a dired buffer. It w

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Juri Linkov
[EMAIL PROTECTED] (Kim F. Storm) writes: > One command I use quite often is "find-file-and-line-near-point" > which takes something like FILE:LINE "near" the cursor and jumps to > LINE in FILE. This is what `goto-line' is supposed to do. Since it was already completely modified recently with the

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Richard Stallman
I think I will move the goto-line binding to M-g M-g, making it a prefix key, so that in the future we can put on other commands. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Johan Bockgård
Miles Bader <[EMAIL PROTECTED]> writes: > Actually I often want to jump to a file's dired entry while visiting > the file. It's not like it's all _that_ hard to do now (just do `C-x > C-f RET' to visit the cur directory, and look for the file), but the > concept is not completely absurd. Indeed n

Re: Key binding M-g should really be goto-line

2005-03-09 Thread David Kastrup
Miles Bader <[EMAIL PROTECTED]> writes: > On Wed, 09 Mar 2005 23:34:54 +0100, David Kastrup <[EMAIL PROTECTED]> wrote: >> It seems absurd to have dired-goto-file as a global binding. > > Actually I often want to jump to a file's dired entry while visiting > the file. It's not like it's all _that_

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Miles Bader
On Wed, 09 Mar 2005 23:34:54 +0100, David Kastrup <[EMAIL PROTECTED]> wrote: > It seems absurd to have dired-goto-file as a global binding. Actually I often want to jump to a file's dired entry while visiting the file. It's not like it's all _that_ hard to do now (just do `C-x C-f RET' to visit t

Re: Key binding M-g should really be goto-line

2005-03-09 Thread David Kastrup
Romain Francoise <[EMAIL PROTECTED]> writes: > Juri Linkov <[EMAIL PROTECTED]> writes: > >> M-g could display a message: > >> Go to: line, M-g = line, char, file, next error, prev error, Other... > >> and have a keymap with the following key bindings: > >> M-g M-g - goto-line >> M-g l - goto

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Romain Francoise
Juri Linkov <[EMAIL PROTECTED]> writes: > M-g could display a message: > Go to: line, M-g = line, char, file, next error, prev error, Other... > and have a keymap with the following key bindings: > M-g M-g - goto-line > M-g l - goto-line > M-g c - goto-char > M-g f - dired-goto-fi

Re: Key binding M-g should really be goto-line

2005-03-09 Thread David Kastrup
Miles Bader <[EMAIL PROTECTED]> writes: >> My proposal for an C-x ` alternative would be C-x ? which appears to >> be free at the moment. ? is a frequent character in all languages I >> know, and so it should be more accessible than ` on most keyboards. >> It also is connotated with "error" somew

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Kim F. Storm
David Kastrup <[EMAIL PROTECTED]> writes: > Juri Linkov <[EMAIL PROTECTED]> writes: > >> 2. goto-line is not too frequent command to deserve the sole >> M-g key. There are many other goto-related commands that could >> share the same mnemonics and have the common M-g prefix key. > > Forget it. N

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Miles Bader
> My proposal for an C-x ` alternative would be C-x ? which appears to > be free at the moment. ? is a frequent character in all languages I > know, and so it should be more accessible than ` on most keyboards. > It also is connotated with "error" somewhat. That's really no better than C-x ` so w

Re: Key binding M-g should really be goto-line

2005-03-09 Thread David Kastrup
Juri Linkov <[EMAIL PROTECTED]> writes: > I see `goto-line' finally bound to M-g in CVS. Good news! After > such a big change, it is time now for a few improvements. Can you spell "Can-Of-Worms"? Can you spell "feature freeze"? > 1. Before this change, font-lock-fontify-block was bound to `M-

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Kim F. Storm
Juri Linkov <[EMAIL PROTECTED]> writes: > 2. goto-line is not too frequent command to deserve the sole > M-g key. There are many other goto-related commands that could > share the same mnemonics and have the common M-g prefix key. Brilliant ideas!! I second ALL of your suggestions. One command

Re: Key binding M-g should really be goto-line

2005-03-09 Thread Miles Bader
On Wed, 09 Mar 2005 09:05:33 +0200, Juri Linkov <[EMAIL PROTECTED]> wrote: > 2. goto-line is not too frequent command to deserve the sole > M-g key. There are many other goto-related commands that could > share the same mnemonics and have the common M-g prefix key. Hmmm, not a bad idea. I especi

Re: Key binding M-g should really be goto-line

2005-03-08 Thread Juri Linkov
I see `goto-line' finally bound to M-g in CVS. Good news! After such a big change, it is time now for a few improvements. 1. Before this change, font-lock-fontify-block was bound to `M-g M-g'. Now it is bound to `M-o M-g'. I suspect that the reason to bind it to `M-g M-g' was to make it easier t

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-06 Thread Miles Bader
> It's called "jugement"... Some people may also use the word "judgement"... Egg on face -Miles -- Do not taunt Happy Fun Ball. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-06 Thread Miles Bader
On Sun, 06 Mar 2005 22:15:12 +0100, Kim F. Storm <[EMAIL PROTECTED]> wrote: > > How about making goto-line suggest the number at point > > as its default argument? > > I thought we had a feature freeze :-| It's called "jugement"... [Massive hacking of display code (or even, really, minor hacking

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-06 Thread Kim F. Storm
Richard Stallman <[EMAIL PROTECTED]> writes: > How about making goto-line suggest the number at point > as its default argument? I thought we had a feature freeze :-| -- Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk ___ Emacs-devel mailing lis

Re: Key binding M-g should really be goto-line

2005-03-06 Thread David Kastrup
Miles Bader <[EMAIL PROTECTED]> writes: > On Sat, 05 Mar 2005 21:22:28 +0100, Johan Bockgård > <[EMAIL PROTECTED]> wrote: >> > I really wish it weren't M-o but M-g instead. >> >> Maybe i misunderstood, but it looked to me like RMS did agree to use >> M-g: >> >> Jari> Is there no hope to see

Re: Key binding M-g should really be goto-line

2005-03-05 Thread Miles Bader
On Sat, 05 Mar 2005 21:22:28 +0100, Johan Bockgård <[EMAIL PROTECTED]> wrote: > > I really wish it weren't M-o but M-g instead. > > Maybe i misunderstood, but it looked to me like RMS did agree to use > M-g: > > Jari> Is there no hope to see the 'facemenu-keymap moved to > Jari> another k

Re: Key binding M-g should really be goto-line

2005-03-05 Thread Johan Bockgård
Stefan Monnier <[EMAIL PROTECTED]> writes: >> Also it looks like `goto-line' will get a convenient key-binding >> (M-o)... :-/ > > I really wish it weren't M-o but M-g instead. Maybe i misunderstood, but it looked to me like RMS did agree to use M-g: Jari> Is there no hope to see the 'faceme

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-04 Thread Miles Bader
On Fri, 04 Mar 2005 18:45:32 -0500, Richard Stallman <[EMAIL PROTECTED]> wrote: > How about making goto-line suggest the number at point > as its default argument? That seems very convenient! I think it may also be convenient if, point is not on a number, use the first number on the current line

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-04 Thread Richard Stallman
How about making goto-line suggest the number at point as its default argument? (defun goto-line (arg &optional buffer) "Goto line ARG, counting from line 1 at beginning of buffer. With just C-u as argument, move point in the most recently displayed other buffer, and display it." (interactive

RE: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-03 Thread Drew Adams
> What I suggested was a simple command to pick up a numeral > from any buffer, > regardless of what the numeral might mean in that buffer. It would be > rudimentary, but would do at least what people are doing with > `goto-line', > without requiring them to key in the line

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-03 Thread Andreas Schwab
"Drew Adams" <[EMAIL PROTECTED]> writes: > > it might be generally useful to have a command that picks up the > > line-number from the text at point (whenever that text can be > > parsed as a numeral) and does `goto-line' in buffer > > `(other-buffer (current-buffer) t)'. > > W

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-03 Thread Kevin Rodgers
Drew Adams wrote: Looking at the code for compilation-minor-mode (as I'm inexperienced with it), I see no connection with what I suggested. That mode appears to work only in buffers that can be parsed to work with next-error etc. What I suggested was a simple command to pick up a numeral from any b

RE: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-03 Thread Drew Adams
> it might be generally useful to have a command that picks up the > line-number from the text at point (whenever that text can be > parsed as a numeral) and does `goto-line' in buffer > `(other-buffer (current-buffer) t)'. We already have that, it's compilation-minor-mode. Lo

Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-03 Thread Andreas Schwab
"Drew Adams" <[EMAIL PROTECTED]> writes: > It wouldn't help with a Web page display, of course (unless the page were > viewed in Emacs), but it sounds from your use case as if it might be > generally useful to have a command that picks up the line-number from the > text at point (whenever that tex

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Jari Aalto
| Is there no hope to see the 'facemenu-keymap moved to another key and have | the goto-line solely for M-g? | | What other key do you suggest? M-o would be ok, if people want. M-o is fine and looks well accessible. Jari ___ Emacs-devel mai

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Richard Stallman
I believe that text/enriched should be updated for RFC 1896. (Assuming that this is still the most up to date standard. It was when I last checked.) Importantly, other formats should be supported. I would very much appreciate that work. ___

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Richard Stallman
Is there no hope to see the 'facemenu-keymap moved to another key and have the goto-line solely for M-g? What other key do you suggest? M-o would be ok, if people want. If we go that lane, it will more probably require opening a modifier like "super" or "alt" for it. Most

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Miles Bader
On Wed, 02 Mar 2005 14:54:30 +0100, Alfred M. Szmidt <[EMAIL PROTECTED]> wrote: >> C-u C-u C-l to recenter at a specific line (if it is just C-u C-u >> C-l, then prompt the user, if C-u C-u 100 C-l then recenter at >> line 100)? I think this is quite nice, makes sense keybinding >>

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Miles Bader
On Wed, 02 Mar 2005 21:23:50 +0100, Gaetan Leurent <[EMAIL PROTECTED]> wrote: > I think `C-x g´ or `C-M-g´ is a good choice for the default binding, and > anyway people will just redefine it somewhere if they want to (I have it > on M-g and I think I'll keep that binding). C-x bindings are much ea

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Gaetan Leurent
Johan Bockgård wrote on 02 Mar 2005 20:01:27 +0100: >> I'd vote for `C-x g' or `C-M-g'. > > C-M-g may not work in a terminal/console. We already have C-M-% that doesn't work in a terminal. If you need to use one of those functions in a terminal, you just define them on some other key and that's

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Alfred M. Szmidt
C-M-g may not work in a terminal/console. C-g should work, which is the same. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Johan Bockgård
Reiner Steib <[EMAIL PROTECTED]> writes: > I'd vote for `C-x g' or `C-M-g'. C-M-g may not work in a terminal/console. -- Johan Bockgård ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

RE: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2

2005-03-02 Thread Drew Adams
Example: How would students/designers use Emacs for PHP coding, where the remote site displays error messages and line numbers in a web page? Not to distract you all from the burning issue of `M-g', but how about a poor-man's compile buffer? If the target line number is already display

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Eli Zaretskii
> CC: Eli Zaretskii <[EMAIL PROTECTED]>, emacs-devel@gnu.org > From: [EMAIL PROTECTED] (Jari Aalto+mail.emacs) > Date: Wed, 2 Mar 2005 10:31:13 +0200 > > | > Please, we had an extremely prolonged discussion about this not long > | > ago, let's not have it again! > | > | I agree. Its only worth

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Alfred M. Szmidt
> C-x g is also bad, it has a already existing keybinding since a > long time. > > C-u C-u C-l, C-x C-g, C-s NN, all seem like good candidates. Can > some Emacs developer just pick one, and define it to goto-line > and kill this stupid thread? IMHO, `C-x C-g' is a bad choice,

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Reiner Steib
On Wed, Mar 02 2005, Alfred M. Szmidt wrote: > C-x g is also bad, it has a already existing keybinding since a long > time. > > C-u C-u C-l, C-x C-g, C-s NN, all seem like good candidates. Can some > Emacs developer just pick one, and define it to goto-line and kill > this stupid thread? IMHO, `

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Alfred M. Szmidt
For example on my system gdb mode has problems finding the right header files when stepping through code, so I have to go to those lines manually. Then this is a bug in gdb-mode, not the fault of a missing keybinding. Could people stop arguing why a keybinding is needed for goto-line? I

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2 autolearn=no version=3.0.2 autolearn=no version=3.0.2

2005-03-02 Thread Jari Aalto
|Would anyone really consider facemenu-keymap to be more important, |more essential than the primitive goto-line functionality? | | Yes, the majority doesn't do PHP programming. That paragraph does not say anything about any particular use of programming languages. Please understand that

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Jari Aalto
|goto-line is so often used (when you need it; like during PHP |coding) | | You have only noted PHP as needing goto-line, this doesn't warrant | binding it globally. What about binding M-g in php-mode to goto-line? I presented several examples. Please refer to other posts. The sources fo

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Josh Varner
On Wed, 02 Mar 2005 14:52:07 +0100, Alfred M. Szmidt <[EMAIL PROTECTED]> wrote: >goto-line is so often used (when you need it; like during PHP >coding) > > You have only noted PHP as needing goto-line, this doesn't warrant > binding it globally. What about binding M-g in php-mode to goto-

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Alfred M. Szmidt
Arguing "you should follow the true path of enlightenment because I know better than you" is just ridiculous, Look, you obviously didn't read anything of what I wrote, I never argued or implied that one shouldn't bind a key to goto-line; I even suggested that it _should_ be bound to a key.

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2 autolearn=no version=3.0.2

2005-03-02 Thread Alfred M. Szmidt
Would anyone really consider facemenu-keymap to be more important, more essential than the primitive goto-line functionality? Yes, the majority doesn't do PHP programming. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mail

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Alfred M. Szmidt
> C-u C-u C-l to recenter at a specific line (if it is just C-u C-u > C-l, then prompt the user, if C-u C-u 100 C-l then recenter at > line 100)? I think this is quite nice, makes sense keybinding > wise. Two C-u's plus a number...? That seems pretty convoluted... Why do you thin

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Stefan Monnier
> have M-g as goto-line or else". I really feel that the use of > goto-line to warrant a single char key binding is overblown--specially > for a single keystroke binding!; if people use it that often then one > should write a proper mode for Emacs to ease whatever one is doing > instead of introdu

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Alfred M. Szmidt
goto-line is so often used (when you need it; like during PHP coding) You have only noted PHP as needing goto-line, this doesn't warrant binding it globally. What about binding M-g in php-mode to goto-line? ___ Emacs-devel mailing list Emacs-dev

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Kim F. Storm
[EMAIL PROTECTED] (Jari Aalto+mail.linux) writes: > |Nobody explained good arguments why current M-g is immovable? > | > | , > | | http://lists.gnu.org/archive/html/emacs-devel/2004-03/msg00642.html > | | From: Richard Stallman > | | > | | "I want Emacs to move in the direction of doing

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Robert J. Chassell
In today's GNU Emacs CVS snapshot, Wed, 2005 Mar 2 11:50 UTC GNU Emacs 22.0.50.13 (i686-pc-linux-gnu, GTK+ Version 2.6.2) started with /usr/local/src/emacs/src/emacs -Q M-o is undefined; C-x C-g is undefined; C-x g runs the command insert-register-compatibility-binding. Alfred M. Szmi

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Andreas Schwab
"Alfred M. Szmidt" <[EMAIL PROTECTED]> writes: > But what is wrong with C-x ~ for example? This is a rather suboptimal choice because ~ is difficult to type on many keyboards. Personally, I have put goto-line on [f1] already a very long time ago and don't care about any default binding. Andreas

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Miles Bader
On Wed, 02 Mar 2005 12:30:31 +0100, Alfred M. Szmidt <[EMAIL PROTECTED]> wrote: > C-u C-u C-l to recenter at a specific line (if it is > just C-u C-u C-l, then prompt the user, if C-u C-u 100 C-l then > recenter at line 100)? I think this is quite nice, makes sense > keybinding wise. Two C-u's pl

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2 autolearn=no version=3.0.2

2005-03-02 Thread Jari Aalto+mail.linux
|Nobody explained good arguments why current M-g is immovable? | | , | | http://lists.gnu.org/archive/html/emacs-devel/2004-03/msg00642.html | | From: Richard Stallman | | | | "I want Emacs to move in the direction of doing word processing. It | | may take years, but we will get there.

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Jari Aalto+mail.emacs
| The following message is a courtesy copy of an article | that has been posted to gmane.emacs.devel as well. | | Once again, I suggest C-x g as a binding for goto-line. The old C-x g | binding is still available as C-x r g, if I'm not mistaken. goto-line is so often used (when you need it; like

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Alfred M. Szmidt
Nobody explained good arguments why current M-g is immovable? , | http://lists.gnu.org/archive/html/emacs-devel/2004-03/msg00642.html | From: Richard Stallman | | "I want Emacs to move in the direction of doing word processing. It | may take years, but we will get there. Then commands to

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Kai Großjohann
Once again, I suggest C-x g as a binding for goto-line. The old C-x g binding is still available as C-x r g, if I'm not mistaken. Kai ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Re: Key binding M-g should really be goto-line

2005-03-02 Thread Ralf Angeli
* Alfred M. Szmidt (2005-03-02) writes: >I am using it often when dealing with patches generated with `diff' >and wanting to look at the original source before applying a patch. > > That is what `diff-mode' and C-c C-c (or ) is for. So once > again, I fail to see what use goto-line has fo

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-02 Thread Jari Aalto+mail.emacs
| > Please, we had an extremely prolonged discussion about this not long | > ago, let's not have it again! | | I agree. Its only worth opening again if something has changed since the | last discussion. There is really a need to discuss this, because I see daily situations where we need the got

Re: Key binding M-g should really be goto-line

2005-03-01 Thread Miles Bader
> Please, we had an extremely prolonged discussion about this not long > ago, let's not have it again! Same person started that thread too... :-/ -Miles -- Do not taunt Happy Fun Ball. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu

Re: Key binding M-g should really be goto-line

2005-03-01 Thread Nick Roberts
> Please, we had an extremely prolonged discussion about this not long > ago, let's not have it again! I agree. Its only worth opening again if something has changed since the last discussion. Nick ___ Emacs-devel mailing list Emacs-devel@gnu.org h

Re: Key binding M-g should really be goto-line

2005-03-01 Thread Eli Zaretskii
> From: David Kastrup <[EMAIL PROTECTED]> > Date: Wed, 02 Mar 2005 00:35:09 +0100 > Cc: emacs-devel@gnu.org > > > Please, I have been watching this future over 10 years now and in the mean > > time hundreds or thousands developers / code writers / designers / students > > / teachers are all using

Re: Key binding M-g should really be goto-line

2005-03-01 Thread Luc Teirlinck
Jari Aalto wrote: "I want Emacs to move in the direction of doing word processing. It may take years, but we will get there. Then commands to specify faces will become important, and will need a good key binding. I chose the M-g binding for that reason, and the reaso

Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2

2005-03-01 Thread Jari Aalto+mail.linux
| Since Richard really wants facemenu-keymap as a keybinding, what about | making a compromise? Bind goto-line to M-o, or bind facemenu-keymap | to M-o and goto-line to M-g? Or maybe modify a existing keybinding so | that C-u ... does goto-line (maybe M-g is a candidate for this?)? Or | bind goto

Re: Key binding M-g should really be goto-line

2005-03-01 Thread Alfred M. Szmidt
I am using it often when dealing with patches generated with `diff' and wanting to look at the original source before applying a patch. That is what `diff-mode' and C-c C-c (or ) is for. So once again, I fail to see what use goto-line has for other then in really awkward situations. Cheers

Re: Key binding M-g should really be goto-line

2005-03-01 Thread David Kastrup
Ralf Angeli <[EMAIL PROTECTED]> writes: > * Alfred M. Szmidt (2005-03-02) writes: > >> FWIW, I fail to see why people want goto-line, I never used it, >> facemenu-keymap atleast has a potential use already, and in the >> future; whereas goto-line is just a crutch. And I fail to see the >> fetish

Re: Key binding M-g should really be goto-line

2005-03-01 Thread Ralf Angeli
* Alfred M. Szmidt (2005-03-02) writes: > FWIW, I fail to see why people want goto-line, I never used it, > facemenu-keymap atleast has a potential use already, and in the > future; whereas goto-line is just a crutch. And I fail to see the > fetish people have over keybidnings, specially M-g. On

Re: Key binding M-g should really be goto-line

2005-03-01 Thread Alfred M. Szmidt
Since Richard really wants facemenu-keymap as a keybinding, what about making a compromise? Bind goto-line to M-o, or bind facemenu-keymap to M-o and goto-line to M-g? Or maybe modify a existing keybinding so that C-u ... does goto-line (maybe M-g is a candidate for this?)? Or bind goto-line to s

Re: Key binding M-g should really be goto-line

2005-03-01 Thread David Kastrup
[EMAIL PROTECTED] (Jari Aalto+mail.emacs) writes: > http://lists.gnu.org/archive/html/emacs-devel/2004-03/msg00642.html > From: Richard Stallman > > "I want Emacs to move in the direction of doing word processing. It > may take years, but we will get there. Then commands to speci

Key binding M-g should really be goto-line

2005-03-01 Thread Jari Aalto+mail.emacs
[please keep CC, I'm not in this list] I noticed that in CVS lisp/ the M-g mapping reads: ldefs-boot.el: (define-key global-map "\M-g" 'facemenu-keymap) A while ago there was a long discussion: http://lists.gnu.org/archive/html/emacs-devel/2004-03/msg00642.html But I dare to open this que