All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Outline menu
Date: Thu, 08 Nov 2007 18:23:24 +0200	[thread overview]
Message-ID: <473337FC.9000405@nic.fi> (raw)
In-Reply-To: <fgu8v2$9m9$1@ger.gmane.org>

Markus Elfring wrote:
>> Menu commands can have children already so you would get hierarchy
>> information from there. Shortcut key you could just add as extra
>> argument for menu, like --hotkey="1"
> 
> Will an explanation of the data format be added to the wiki?

I assume someone will at some point write documentation about grub
scripting language. You are free to start the documentation project.
Just to point it out, grub scripting language works like entering
commands in the prompt. Its just a sequence of multiple commands.

Those below are an example what menu definition would look in grub
scripting language:

>> In example:
>> menu "foo" {
>>   menu "bar" {
>>     menu "zot" {
>>     }
>>   }
>> }
> 
> Can an item be reused at different levels in the hierarchy without repetition of
> its definition (attribute set)?

Depending what you mean by attribute set. In case you mean visual look,
then that was the plan you could eg. define menuitem and if you do not
have more stricter definitions then that would be used for every
menuitem. In case you mean cloning menu hierarchy under other name, then
that is not planned (and I do not even see a need for it).

>> Though I am not sure how well this outline view is supported by the
>> current parser. Marco, perhaps you could share some insights?
> 
> How is the state of the GRUB 2 menu browser at the moment?

There is old text menu, and that will be replaced with the new design
when its development starts.

>> I had a look at example mp3 playlist in opml format and it seems to be
>> data description language (like what xml is). What we have in grub
>> script is a scripting language that has commands to construct data (menu).
> 
> Is a manual available already?

See above about grub scripting language.




  reply	other threads:[~2007-11-08 16:25 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-03 19:20 Outline menu Markus Elfring
2007-11-05 15:38 ` Robert Millan
2007-11-05 15:56 ` Vesa Jääskeläinen
2007-11-05 22:01   ` Markus Elfring
2007-11-06 10:01     ` Amin Azez
2007-11-06 21:37       ` Vesa Jääskeläinen
2007-11-07 15:56         ` Amin Azez
2007-11-06 21:35     ` Vesa Jääskeläinen
2007-11-07  7:50       ` Markus Elfring
2007-11-07 15:44         ` Vesa Jääskeläinen
2007-11-07 19:00           ` Markus Elfring
2007-11-07 19:25             ` Vesa Jääskeläinen
2007-11-08  6:05               ` Markus Elfring
2007-11-08 16:23                 ` Vesa Jääskeläinen [this message]
2007-11-08 18:15                   ` menu attributes Markus Elfring
2007-11-08 18:55                     ` Vesa Jääskeläinen
2007-11-08 18:30                   ` Improvements for menu display Markus Elfring
2007-11-10 16:19                 ` Outline menu Marco Gerards
2007-11-11  8:20                   ` Markus Elfring
2007-11-18 11:07                     ` Marco Gerards
2007-11-10 16:17               ` Marco Gerards
2007-11-11  8:01                 ` Markus Elfring
2007-11-18 11:06                   ` Marco Gerards
2007-11-26 10:54                     ` software design clarification Markus Elfring

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=473337FC.9000405@nic.fi \
    --to=chaac@nic.fi \
    --cc=grub-devel@gnu.org \
    /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.
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.