* PCL-CVS menu enhancements
@ 2008-01-20 20:38 Reiner Steib
2008-01-21 0:12 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2008-01-20 20:38 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
Hi,
I'd like to propose some minor enhancements to PCL-CVS's menu (full
patch attached below).
| (easy-menu-define cvs-menu cvs-mode-map "Menu used in `cvs-mode'."
| '("CVS"
| - ["Open file.." cvs-mode-find-file t]
| - [" ..other window" cvs-mode-find-file-other-window t]
| + ["Open file..." cvs-mode-find-file t]
| + [" ...in other window" cvs-mode-find-file-other-window t]
| ["Display in other window" cvs-mode-display-file t]
| ["Interactive merge" cvs-mode-imerge t]
At least for "Open file", the convention is to have three dots, isn't
it?
Or better like this?
["Open file..." cvs-mode-find-file t]
["Open in other window" cvs-mode-find-file-other-window t]
| ["Current diff" cvs-mode-diff t]
| ["Diff with head" cvs-mode-diff-head t]
| ["Diff with vendor" cvs-mode-diff-vendor t]
| + ["Diff against yesterday" cvs-mode-diff-yesterday t]
| ["Diff with backup" cvs-mode-diff-backup t])
Why omit `cvs-mode-diff-yesterday'?
| ["Hide handled" cvs-mode-remove-handled t]
| "----"
| + ["PCL-CVS Manual" (lambda () (interactive)
| + (info "(pcl-cvs)Top")) t]
| + "----"
| ["Quit" cvs-mode-quit t]))
Users might look in the Emacs manual first. This should make it
easier to find the right manual.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1142 bytes --]
--- pcvs-defs.el 09 Jan 2008 20:35:45 +0100 1.44
+++ pcvs-defs.el 20 Jan 2008 21:25:28 +0100
@@ -404,8 +404,8 @@
(easy-menu-define cvs-menu cvs-mode-map "Menu used in `cvs-mode'."
'("CVS"
- ["Open file.." cvs-mode-find-file t]
- [" ..other window" cvs-mode-find-file-other-window t]
+ ["Open file..." cvs-mode-find-file t]
+ [" ...in other window" cvs-mode-find-file-other-window t]
["Display in other window" cvs-mode-display-file t]
["Interactive merge" cvs-mode-imerge t]
("View diff"
@@ -413,6 +413,7 @@
["Current diff" cvs-mode-diff t]
["Diff with head" cvs-mode-diff-head t]
["Diff with vendor" cvs-mode-diff-vendor t]
+ ["Diff against yesterday" cvs-mode-diff-yesterday t]
["Diff with backup" cvs-mode-diff-backup t])
["View log" cvs-mode-log t]
["View status" cvs-mode-status t]
@@ -437,6 +438,9 @@
["Unmark all" cvs-mode-unmark-all-files t]
["Hide handled" cvs-mode-remove-handled t]
"----"
+ ["PCL-CVS Manual" (lambda () (interactive)
+ (info "(pcl-cvs)Top")) t]
+ "----"
["Quit" cvs-mode-quit t]))
;;;;
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-21 23:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-20 20:38 PCL-CVS menu enhancements Reiner Steib
2008-01-21 0:12 ` Stefan Monnier
2008-01-21 23:13 ` Reiner Steib
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.