[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Browsing the history of commands. Inconsistency between Bash and Emacs
From: |
Dani Moncayo |
Subject: |
Browsing the history of commands. Inconsistency between Bash and Emacs |
Date: |
Thu, 13 Feb 2014 15:40:03 +0100 |
Hello, Bash developers,
(I know little about Bash, so I apologize beforehand if I say
something inaccurate or nonsensical)
Bug #16740 was filed today against the Emacs package, asking to remove
an inconsistency between the keys employed by Emacs and Bash to browse
the history of commands. See:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-02/msg01082.html
Emacs uses M-p/M-n to browse the minibuffer history (and C-p/C-n to
move to the previous/next line in a multi-line buffer), whereas Bash
uses C-n/C-p for browsing the command history (and doesn't use M-p/M-n
for anything, AFAIK).
It would be nice to remove this inconsistency (this is the obvious
part), and IMO TRT would be to make Bash behave like Emacs, that is:
1. Use M-p/M-n to browse the command history (instead of the current C-p/C-n).
2. Use C-p/C-n to move to the previous/next line, in the current
command being edited.
WDYT?
--
Dani Moncayo
- Browsing the history of commands. Inconsistency between Bash and Emacs,
Dani Moncayo <=