From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
To: juri@jurta.org
Cc: 16214@debbugs.gnu.org, tkk@misasa.okayama-u.ac.jp,
josh@foxtail.org, roland@hack.frob.com
Subject: bug#16214: Consistency in dired-, occur-, and grep-mode
Date: Sat, 28 Dec 2013 18:57:16 +0900 (JST) [thread overview]
Message-ID: <20131228.185716.90990052.tkk@misasa.okayama-u.ac.jp> (raw)
In-Reply-To: <878uv8hco2.fsf@mail.jurta.org>
Dear Juri,
>> How about to add `E' to edit buffer? It is close to `e' on occur, and
>> it seems that it is not used in any of dired/occur/wgrep yet.
>
> Maybe we could use the same key `C-x C-q' for `occur-edit-mode', and
> improve it in such a way that it doesn't cause unexpected results
> when the user intends to edit just the *Occur* buffer, and not its
> associated source buffers.
Thank you for the reply. Current proposed keys are summarized in
Table 1. Honestly, I am not capable to improve *Occur* and even I do
not know how I proceed for the next step including technical aspects
as described on www.emacswiki.org/emacs/BzrForEmacsCasualDevs.
Could you give me a suggestion?
Best regards,
Tak
Table 1: A proposed mode, function, key-bind as-is, and key-bind
plus to have consistency between dired-, occur-, and grep.
|--------+-------------------------------------------+---------------+-----------|
| mode | function | key-as-is | key-plus |
|--------+-------------------------------------------+---------------+-----------|
| ! | A. edit-buffer (enable/finish/abort) | | |
|--------+-------------------------------------------+---------------+-----------|
| wdired | (dired-toggle-read-only) | "C-x C-q" | |
| | (wdired-finish-edit) | "C-c C-c" | |
| | (wdired-abort-changes) | "C-c C-k" | |
| occur | (occur-edit-mode)* | "e" | "C-x C-q" |
| | (occur-cease-edit) | "C-c C-c" | |
| | n/a | | "C-c C-k" |
| wgrep | (wgrep-change-to-wgrep-mode) | "C-c C-p" | "C-x C-q" |
| | (wgrep-finish-edit) | "C-c C-c" | |
| | (wgrep-abort-changes) | "C-c C-k" | |
|--------+-------------------------------------------+---------------+-----------|
| ! | B. open-file-other-window | | |
|--------+-------------------------------------------+---------------+-----------|
| dired | (dired-find-file-other-window) | "o" | |
| occur | (occur-mode-goto-occurrence-other-window) | <RET> and "o" | |
| grep | (compile-goto-error) | <RET> | "o" |
|--------+-------------------------------------------+---------------+-----------|
| ! | C. open-file-other-window-no-select | | |
|--------+-------------------------------------------+---------------+-----------|
| dired | (dired-display-file) | "C-o" | |
| occur | (occur-mode-display-occurrence) | "C-o" | |
| grep | n/a | | "C-o" |
|--------+-------------------------------------------+---------------+-----------|
| ! | D. open-file-this-window | | |
|--------+-------------------------------------------+---------------+-----------|
| dired | (dired-find-file) | <RET> and "f" | |
| occur | n/a | | "f" |
| grep | n/a | | "f" |
|--------+-------------------------------------------+---------------+-----------|
| ! | Z. summary of function-assign-to-<RET> | | |
|--------+-------------------------------------------+---------------+-----------|
| dired | (dired-find-file) | <RET> and "f" | |
| occur | (occur-mode-goto-occurrence-other-window) | <RET> and "o" | |
| grep | (compile-goto-error) | <RET> | "o" |
|--------+-------------------------------------------+---------------+-----------|
next prev parent reply other threads:[~2013-12-28 9:57 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-21 13:40 bug#16214: Consistency in dired-, occur-, and grep-mode Tak Kunihiro
2013-12-21 19:23 ` Drew Adams
2013-12-21 20:15 ` Josh
2013-12-21 21:30 ` Juri Linkov
2013-12-22 11:48 ` Tak Kunihiro
2013-12-22 21:44 ` Juri Linkov
2013-12-23 11:34 ` Tak Kunihiro
2013-12-23 21:52 ` Juri Linkov
2013-12-24 23:15 ` Tak Kunihiro
2013-12-25 20:57 ` Juri Linkov
2013-12-28 9:57 ` Tak Kunihiro [this message]
2022-02-10 8:27 ` Lars Ingebrigtsen
2022-02-10 9:26 ` Tak Kunihiro
2022-02-10 11:37 ` Lars Ingebrigtsen
2022-02-11 5:54 ` Tak Kunihiro
2022-02-12 3:57 ` Richard Stallman
2022-02-12 8:16 ` Michael Albinus
2022-02-14 4:13 ` Richard Stallman
2022-02-14 6:52 ` Michael Albinus
2022-02-15 4:30 ` Richard Stallman
2022-02-12 19:12 ` Howard Melman
2022-02-12 20:43 ` Howard Melman
2022-02-14 4:14 ` Richard Stallman
2022-02-17 16:28 ` Howard Melman
2022-02-17 17:12 ` bug#16214: [External] : " Drew Adams
2022-02-20 1:43 ` Tak Kunihiro
2022-02-20 18:17 ` Howard Melman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131228.185716.90990052.tkk@misasa.okayama-u.ac.jp \
--to=tkk@misasa.okayama-u.ac.jp \
--cc=16214@debbugs.gnu.org \
--cc=josh@foxtail.org \
--cc=juri@jurta.org \
--cc=roland@hack.frob.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).