* CEDET on menu bar
@ 2009-10-25 21:01 Chong Yidong
2009-10-25 21:09 ` Lennart Borgman
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Chong Yidong @ 2009-10-25 21:01 UTC (permalink / raw)
To: emacs-devel
Now that the dust has mostly settled on the CEDET merge, I'd like to
address the issue of entering CEDET via the menu-bar.
There are two possibilities: putting CEDET in the Options menu or
putting it in the Tools menu.
Conceptually, it would be cleaner to put CEDET in the Tools menu,
alongside the other development-related commands like "compile", "gdb",
etc.
However, unlike the other items in the Tools menu, which are one-off
commands, Semantic and EDE are minor modes. They can be toggled, just
like the items in the Options menu. It would also be nice to be able to
use the "Save Options" menu item to enable Semantic and EDE across
sessions.
What do people think?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CEDET on menu bar
2009-10-25 21:01 CEDET on menu bar Chong Yidong
@ 2009-10-25 21:09 ` Lennart Borgman
2009-10-25 21:19 ` Eli Zaretskii
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Lennart Borgman @ 2009-10-25 21:09 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
On Sun, Oct 25, 2009 at 10:01 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
> Now that the dust has mostly settled on the CEDET merge, I'd like to
> address the issue of entering CEDET via the menu-bar.
>
> There are two possibilities: putting CEDET in the Options menu or
> putting it in the Tools menu.
>
> Conceptually, it would be cleaner to put CEDET in the Tools menu,
> alongside the other development-related commands like "compile", "gdb",
> etc.
>
> However, unlike the other items in the Tools menu, which are one-off
> commands, Semantic and EDE are minor modes. They can be toggled, just
> like the items in the Options menu. It would also be nice to be able to
> use the "Save Options" menu item to enable Semantic and EDE across
> sessions.
>
> What do people think?
I think there should be a top-level menu called "Minor Modes" or
something similar.
That would be very helpful in other cases too. I am not sure what
changes are needed to move most minor modes under this top-level menu.
Perhaps it can be done automatically in some cases, maybe by modifying
define-minor-mode.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CEDET on menu bar
2009-10-25 21:01 CEDET on menu bar Chong Yidong
2009-10-25 21:09 ` Lennart Borgman
@ 2009-10-25 21:19 ` Eli Zaretskii
2009-10-26 0:52 ` Miles Bader
2009-10-26 2:36 ` Stefan Monnier
2009-10-31 18:10 ` Chong Yidong
3 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2009-10-25 21:19 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
> From: Chong Yidong <cyd@stupidchicken.com>
> Date: Sun, 25 Oct 2009 17:01:24 -0400
>
> There are two possibilities: putting CEDET in the Options menu or
> putting it in the Tools menu.
Tools.
> However, unlike the other items in the Tools menu, which are one-off
> commands, Semantic and EDE are minor modes.
Tools->Debugger (GDB) is not a one-off command. Tools->Compare (Ediff)
isn't, either.
Rather than looking at EDE as a minor mode, look at it as turning on
an IDE.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CEDET on menu bar
2009-10-25 21:19 ` Eli Zaretskii
@ 2009-10-26 0:52 ` Miles Bader
0 siblings, 0 replies; 9+ messages in thread
From: Miles Bader @ 2009-10-26 0:52 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Chong Yidong, emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
> Tools->Debugger (GDB) is not a one-off command. Tools->Compare (Ediff)
> isn't, either.
Well, they are, kinda -- they create a buffer/buffers, and the state is
associated with that buffer. The CEDET stuff (AFAIK), just frobs global
state which affects all subsequent Emacs operation.
-Miles
--
Un-American, adj. Wicked, intolerable, heathenish.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CEDET on menu bar
2009-10-25 21:01 CEDET on menu bar Chong Yidong
2009-10-25 21:09 ` Lennart Borgman
2009-10-25 21:19 ` Eli Zaretskii
@ 2009-10-26 2:36 ` Stefan Monnier
2009-10-31 18:10 ` Chong Yidong
3 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2009-10-26 2:36 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
> However, unlike the other items in the Tools menu, which are one-off
> commands, Semantic and EDE are minor modes. They can be toggled, just
> like the items in the Options menu. It would also be nice to be able to
> use the "Save Options" menu item to enable Semantic and EDE across
> sessions.
Custom-saving sounds good but only if it is able to enable CEDET
features for some modes but not all.
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CEDET on menu bar
2009-10-25 21:01 CEDET on menu bar Chong Yidong
` (2 preceding siblings ...)
2009-10-26 2:36 ` Stefan Monnier
@ 2009-10-31 18:10 ` Chong Yidong
2009-10-31 22:00 ` Lennart Borgman
2009-11-02 7:42 ` Miles Bader
3 siblings, 2 replies; 9+ messages in thread
From: Chong Yidong @ 2009-10-31 18:10 UTC (permalink / raw)
To: emacs-devel
> Conceptually, it would be cleaner to put CEDET in the Tools menu,
> alongside the other development-related commands like "compile", "gdb",
> etc.
>
> However, unlike the other items in the Tools menu, which are one-off
> commands, Semantic and EDE are minor modes. They can be toggled, just
> like the items in the Options menu. It would also be nice to be able to
> use the "Save Options" menu item to enable Semantic and EDE across
> sessions.
I've added the CEDET items to the Tools menu. (It appears that there is
already one toggle in the Tool menu: the flyspell menu item under
Tools->Spell Checking.)
It would be nice if "Save Options" could save these entries, but that
may be confusing since they are not under the Options menu.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CEDET on menu bar
2009-10-31 18:10 ` Chong Yidong
@ 2009-10-31 22:00 ` Lennart Borgman
2009-11-02 7:42 ` Miles Bader
1 sibling, 0 replies; 9+ messages in thread
From: Lennart Borgman @ 2009-10-31 22:00 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
On Sat, Oct 31, 2009 at 7:10 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
>> Conceptually, it would be cleaner to put CEDET in the Tools menu,
>> alongside the other development-related commands like "compile", "gdb",
>> etc.
>>
>> However, unlike the other items in the Tools menu, which are one-off
>> commands, Semantic and EDE are minor modes. They can be toggled, just
>> like the items in the Options menu. It would also be nice to be able to
>> use the "Save Options" menu item to enable Semantic and EDE across
>> sessions.
>
> I've added the CEDET items to the Tools menu. (It appears that there is
> already one toggle in the Tool menu: the flyspell menu item under
> Tools->Spell Checking.)
>
> It would be nice if "Save Options" could save these entries, but that
> may be confusing since they are not under the Options menu.
I am repeating myself: I think the "Save Options" should be changed to
something like "Save Customized Options" (or something better, I have
forgotten my previous attempts to get some agreement on this so I
can't repeat myself good enought today...).
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CEDET on menu bar
2009-10-31 18:10 ` Chong Yidong
2009-10-31 22:00 ` Lennart Borgman
@ 2009-11-02 7:42 ` Miles Bader
2009-11-02 11:32 ` Lennart Borgman
1 sibling, 1 reply; 9+ messages in thread
From: Miles Bader @ 2009-11-02 7:42 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
Chong Yidong <cyd@stupidchicken.com> writes:
> It would be nice if "Save Options" could save these entries, but that
> may be confusing since they are not under the Options menu.
Could you duplicate them, so they have an entry in the Tools menu, and
also an entry in something under Options (e.g., "Options > Tools > ..."
or something)?
-Miles
--
People who are more than casually interested in computers should have at
least some idea of what the underlying hardware is like. Otherwise the
programs they write will be pretty weird. -- Donald Knuth
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CEDET on menu bar
2009-11-02 7:42 ` Miles Bader
@ 2009-11-02 11:32 ` Lennart Borgman
0 siblings, 0 replies; 9+ messages in thread
From: Lennart Borgman @ 2009-11-02 11:32 UTC (permalink / raw)
To: Miles Bader; +Cc: Chong Yidong, emacs-devel
On Mon, Nov 2, 2009 at 8:42 AM, Miles Bader <miles@gnu.org> wrote:
> Chong Yidong <cyd@stupidchicken.com> writes:
>> It would be nice if "Save Options" could save these entries, but that
>> may be confusing since they are not under the Options menu.
>
> Could you duplicate them, so they have an entry in the Tools menu, and
> also an entry in something under Options (e.g., "Options > Tools > ..."
> or something)?
Is not that unnecessary and unclear? Isn't it better to avoid the
confusion and just use customize-save-customized for the "Save
Options" entry?
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-11-02 11:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-25 21:01 CEDET on menu bar Chong Yidong
2009-10-25 21:09 ` Lennart Borgman
2009-10-25 21:19 ` Eli Zaretskii
2009-10-26 0:52 ` Miles Bader
2009-10-26 2:36 ` Stefan Monnier
2009-10-31 18:10 ` Chong Yidong
2009-10-31 22:00 ` Lennart Borgman
2009-11-02 7:42 ` Miles Bader
2009-11-02 11:32 ` Lennart Borgman
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.