Re: Please accept M-p as well as C-p

2014-02-22 Thread Linda Walsh
Maybe not as convenient, but there's always (vi-mode) [fF]^j[lj] If it gets to be that jumping between lines is important I usually invoke the editor. If you are going to get into making a mini-editor that allows jumping between lines moving completion to something like Meta-tab or ctrl-tab woul

Re: Please accept M-p as well as C-p

2014-02-17 Thread Chet Ramey
On 2/13/14, 12:03 PM, Andreas Schwab wrote: > Chet Ramey writes: > >> On 2/13/14 11:29 AM, Andreas Schwab wrote: >> >>> AIUI there is no readline command the moves >>> vertically within the commandline (in readline a line always includes >>> any embedded newlines). >> >> That's true. How should

Re: Please accept M-p as well as C-p

2014-02-14 Thread Andreas Schwab
Bob Proulx writes: > In emacs 24 this is the new feature controlled by the line-move-visual > variable. Call me a Luddite if you want but in emacs 24 I turn that > feature off. I am very much "used to using" the traditional behavior > and like it. I do as well. > Thinking about it I think tha

Re: Please accept M-p as well as C-p

2014-02-13 Thread Bob Proulx
Andreas Schwab wrote: > Chet Ramey writes: > > Andreas Schwab wrote: > >> AIUI there is no readline command the moves > >> vertically within the commandline (in readline a line always includes > >> any embedded newlines). > > > > That's true. How should such a command work? Move point forward and

Re: Please accept M-p as well as C-p

2014-02-13 Thread Andreas Schwab
Chet Ramey writes: > On 2/13/14 11:29 AM, Andreas Schwab wrote: > >> AIUI there is no readline command the moves >> vertically within the commandline (in readline a line always includes >> any embedded newlines). > > That's true. How should such a command work? Move point forward and > backward

Re: Please accept M-p as well as C-p

2014-02-13 Thread Chet Ramey
On 2/13/14 11:29 AM, Andreas Schwab wrote: > AIUI there is no readline command the moves > vertically within the commandline (in readline a line always includes > any embedded newlines). That's true. How should such a command work? Move point forward and backward by a multiple of the screenwidt

Re: Please accept M-p as well as C-p

2014-02-13 Thread Andreas Schwab
Chet Ramey writes: > My point is that before making it the default, which ends up being > difficult to change, we try to get some data on whether or not that > would be the right default binding. Maybe people who want that binding > could do it using the existing mechanisms and see how it works.

Re: Please accept M-p as well as C-p

2014-02-13 Thread Chet Ramey
On 2/13/14 10:20 AM, Ed Avis wrote: > Thanks for your reply. I don't mean people running bash inside Emacs. > I just mean that when running bash standalone, you use C-p to go backwards > in the history, but when running Emacs standalone, you use Alt-p. Sure, I understand. I also argue that the t

RE: Please accept M-p as well as C-p

2014-02-13 Thread Ed Avis
Thanks for your reply. I don't mean people running bash inside Emacs. I just mean that when running bash standalone, you use C-p to go backwards in the history, but when running Emacs standalone, you use Alt-p. Since currently Alt-p doesn't do anything in bash, it could usefully be bound to previ

Re: Please accept M-p as well as C-p

2014-02-13 Thread Chet Ramey
On 2/13/14 6:35 AM, Ed Avis wrote: > Bash accepts the Emacs keybinding C-p to go back in the history, and C-n to > go forward. > But most of the time in Emacs (when using its minibuffer) the keys you use > are Meta-p > and Meta-n, or on a modern PC keyboard Alt-p and Alt-n. I am not convinced th

Please accept M-p as well as C-p

2014-02-13 Thread Ed Avis
Bash accepts the Emacs keybinding C-p to go back in the history, and C-n to go forward. But most of the time in Emacs (when using its minibuffer) the keys you use are Meta-p and Meta-n, or on a modern PC keyboard Alt-p and Alt-n. Currently entering M-p at the bash prompt gives some control chara

Re: Please accept M-p as well as C-p

2014-02-13 Thread Pierre Gaston
On Thu, Feb 13, 2014 at 1:35 PM, Ed Avis wrote: > Bash accepts the Emacs keybinding C-p to go back in the history, and C-n > to go forward. > But most of the time in Emacs (when using its minibuffer) the keys you use > are Meta-p > and Meta-n, or on a modern PC keyboard Alt-p and Alt-n. > > Curre