From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Home-End keys in menu
Date: Tue, 05 Aug 2008 15:16:39 +0200 [thread overview]
Message-ID: <8763qfeh54.fsf@xs4all.nl> (raw)
In-Reply-To: <20080805120200.GA15143@pina.cat> (Carles Pina i. Estany's message of "Tue, 5 Aug 2008 14:02:00 +0200")
Hi,
Carles Pina i Estany <carles@pina.cat> writes:
> Some weeks ago I sent a patch that didn't have any discussion. I'm
> sending it again, maybe everybody was in holidays :-)
>
> Actually I updated the patch (added some spaces to comply with the
> coding style).
>
> * menu/normal.c: Add Home and End keys in grub-menu
The first line of the changelog entry is missing (name + e-mail
address). Please mention the function you change like:
* menu/normal.c (foo): Blah blah.
And end a sentence with a "."
>> Index: normal/menu.c
>> ===================================================================
>> --- normal/menu.c (revision 1718)
>> +++ normal/menu.c (working copy)
>> @@ -405,6 +405,22 @@
>>
>> switch (c)
>> {
>> + case GRUB_TERM_HOME:
>> + first=0;
>> + offset=0;
>> + print_entries (menu, first, offset);
>> + break;
The indentation of the case statement doesn't seem right...
>> + case GRUB_TERM_END:
>> + offset = menu->size - 1;
>> + if (offset > GRUB_TERM_NUM_ENTRIES - 1)
>> + {
>> + first = offset - (GRUB_TERM_NUM_ENTRIES - 1);
>> + offset = GRUB_TERM_NUM_ENTRIES - 1;
This indentation also looks funny...
>> + }
>> + print_entries (menu, first, offset);
>> + break;
>> +
>> case 16:
>> case '^':
>> if (offset > 0)
>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> http://lists.gnu.org/mailman/listinfo/grub-devel
>
> --
> Carles Pina i Estany GPG id: 0x17756391
> http://pinux.info
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2008-08-05 13:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-21 18:07 [PATCH] Home-End keys in menu Carles Pina i Estany
2008-08-05 12:02 ` Carles Pina i Estany
2008-08-05 13:16 ` Marco Gerards [this message]
2008-08-06 18:31 ` Carles Pina i Estany
2008-08-13 10:15 ` Marco Gerards
2008-08-13 10:50 ` Robert Millan
2008-08-13 11:06 ` Marco Gerards
2008-08-13 11:38 ` Javier Martín
2008-08-13 11:44 ` Robert Millan
2008-08-13 15:31 ` Carles Pina i Estany
2008-08-16 18:51 ` Carles Pina i Estany
2008-08-17 10:30 ` Felix Zielcke
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=8763qfeh54.fsf@xs4all.nl \
--to=mgerards@xs4all.nl \
--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.