* [PATCH] doc: Explain when guix edit is read-only.
@ 2016-07-21 22:35 myglc2
2016-07-24 8:27 ` Alex Kost
0 siblings, 1 reply; 4+ messages in thread
From: myglc2 @ 2016-07-21 22:35 UTC (permalink / raw)
To: guix-devel
* doc/guix.texi (Invoking guix edit): Explain when you can and can't
edit the recipe
---
doc/guix.texi | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index e7b233d..914d24d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4485,7 +4485,7 @@ You can freely access a huge library of build logs!
@cindex package definition, editing
So many packages, so many source files! The @command{guix edit} command
-facilitates the life of packagers by pointing their editor at the source
+facilitates the life of users and packagers by pointing their editor at the source
file containing the definition of the specified packages. For instance:
@example
@@ -4494,9 +4494,15 @@ guix edit gcc@@4.9 vim
@noindent
launches the program specified in the @code{VISUAL} or in the
-@code{EDITOR} environment variable to edit the recipe of GCC@tie{}4.9.3
+@code{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3
and that of Vim.
+If you are using a Guix Git checkout (@pxref{Building from Git}), or
+have created your own packages on ‘GUIX_PACKAGE_PATH’ (*note Defining
+Packages::), you will be able to edit the package recipes. Otherwise,
+you will be able to examine the read-only recipes for packages currently
+in the store.
+
If you are using Emacs, note that the Emacs user interface provides the
@kbd{M-x guix-edit} command and a similar functionality in the ``package
info'' and ``package list'' buffers created by the @kbd{M-x
--
2.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] doc: Explain when guix edit is read-only.
2016-07-21 22:35 [PATCH] doc: Explain when guix edit is read-only myglc2
@ 2016-07-24 8:27 ` Alex Kost
2016-07-24 17:06 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2016-07-24 8:27 UTC (permalink / raw)
To: myglc2; +Cc: guix-devel
myglc2 (2016-07-22 01:35 +0300) wrote:
> * doc/guix.texi (Invoking guix edit): Explain when you can and can't
> edit the recipe
> ---
> doc/guix.texi | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
>
> diff --git a/doc/guix.texi b/doc/guix.texi
> index e7b233d..914d24d 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -4485,7 +4485,7 @@ You can freely access a huge library of build logs!
>
> @cindex package definition, editing
> So many packages, so many source files! The @command{guix edit} command
> -facilitates the life of packagers by pointing their editor at the source
> +facilitates the life of users and packagers by pointing their editor at the source
> file containing the definition of the specified packages. For instance:
>
> @example
> @@ -4494,9 +4494,15 @@ guix edit gcc@@4.9 vim
>
> @noindent
> launches the program specified in the @code{VISUAL} or in the
> -@code{EDITOR} environment variable to edit the recipe of GCC@tie{}4.9.3
> +@code{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3
> and that of Vim.
>
> +If you are using a Guix Git checkout (@pxref{Building from Git}), or
> +have created your own packages on ‘GUIX_PACKAGE_PATH’ (*note Defining
> +Packages::), you will be able to edit the package recipes. Otherwise,
> +you will be able to examine the read-only recipes for packages currently
> +in the store.
> +
> If you are using Emacs, note that the Emacs user interface provides the
> @kbd{M-x guix-edit} command and a similar functionality in the ``package
> info'' and ``package list'' buffers created by the @kbd{M-x
This looks reasonable to me, so if there are no comments/objections, I'm
going to commit it.
--
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] doc: Explain when guix edit is read-only.
2016-07-24 8:27 ` Alex Kost
@ 2016-07-24 17:06 ` Ludovic Courtès
2016-07-25 14:25 ` Alex Kost
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2016-07-24 17:06 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel, myglc2
Alex Kost <alezost@gmail.com> skribis:
> myglc2 (2016-07-22 01:35 +0300) wrote:
>
>> * doc/guix.texi (Invoking guix edit): Explain when you can and can't
>> edit the recipe
>> ---
>> doc/guix.texi | 10 ++++++++--
>> 1 file changed, 8 insertions(+), 2 deletions(-)
>>
>>
>> diff --git a/doc/guix.texi b/doc/guix.texi
>> index e7b233d..914d24d 100644
>> --- a/doc/guix.texi
>> +++ b/doc/guix.texi
>> @@ -4485,7 +4485,7 @@ You can freely access a huge library of build logs!
>>
>> @cindex package definition, editing
>> So many packages, so many source files! The @command{guix edit} command
>> -facilitates the life of packagers by pointing their editor at the source
>> +facilitates the life of users and packagers by pointing their editor at the source
>> file containing the definition of the specified packages. For instance:
>>
>> @example
>> @@ -4494,9 +4494,15 @@ guix edit gcc@@4.9 vim
>>
>> @noindent
>> launches the program specified in the @code{VISUAL} or in the
>> -@code{EDITOR} environment variable to edit the recipe of GCC@tie{}4.9.3
>> +@code{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3
>> and that of Vim.
>>
>> +If you are using a Guix Git checkout (@pxref{Building from Git}), or
>> +have created your own packages on ‘GUIX_PACKAGE_PATH’ (*note Defining
>> +Packages::), you will be able to edit the package recipes. Otherwise,
Looks Info syntax here. Should be “@code{GUIX_PACKAGE_PATH}
(@pxref{Package Modules})”?
>> +you will be able to examine the read-only recipes for packages currently
>> +in the store.
>> +
>> If you are using Emacs, note that the Emacs user interface provides the
>> @kbd{M-x guix-edit} command and a similar functionality in the ``package
>> info'' and ``package list'' buffers created by the @kbd{M-x
>
> This looks reasonable to me, so if there are no comments/objections, I'm
> going to commit it.
Sounds good to me.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] doc: Explain when guix edit is read-only.
2016-07-24 17:06 ` Ludovic Courtès
@ 2016-07-25 14:25 ` Alex Kost
0 siblings, 0 replies; 4+ messages in thread
From: Alex Kost @ 2016-07-25 14:25 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel, myglc2
Ludovic Courtès (2016-07-24 20:06 +0300) wrote:
> Alex Kost <alezost@gmail.com> skribis:
>
>> myglc2 (2016-07-22 01:35 +0300) wrote:
>>
>>> * doc/guix.texi (Invoking guix edit): Explain when you can and can't
>>> edit the recipe
>>> ---
>>> doc/guix.texi | 10 ++++++++--
>>> 1 file changed, 8 insertions(+), 2 deletions(-)
>>>
>>>
>>> diff --git a/doc/guix.texi b/doc/guix.texi
>>> index e7b233d..914d24d 100644
>>> --- a/doc/guix.texi
>>> +++ b/doc/guix.texi
>>> @@ -4485,7 +4485,7 @@ You can freely access a huge library of build logs!
>>>
>>> @cindex package definition, editing
>>> So many packages, so many source files! The @command{guix edit} command
>>> -facilitates the life of packagers by pointing their editor at the source
>>> +facilitates the life of users and packagers by pointing their editor at the source
>>> file containing the definition of the specified packages. For instance:
>>>
>>> @example
>>> @@ -4494,9 +4494,15 @@ guix edit gcc@@4.9 vim
>>>
>>> @noindent
>>> launches the program specified in the @code{VISUAL} or in the
>>> -@code{EDITOR} environment variable to edit the recipe of GCC@tie{}4.9.3
>>> +@code{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3
>>> and that of Vim.
>>>
>>> +If you are using a Guix Git checkout (@pxref{Building from Git}), or
>>> +have created your own packages on ‘GUIX_PACKAGE_PATH’ (*note Defining
>>> +Packages::), you will be able to edit the package recipes. Otherwise,
>
> Looks Info syntax here. Should be “@code{GUIX_PACKAGE_PATH}
> (@pxref{Package Modules})”?
I also think so, fixed.
>>> +you will be able to examine the read-only recipes for packages currently
>>> +in the store.
>>> +
>>> If you are using Emacs, note that the Emacs user interface provides the
>>> @kbd{M-x guix-edit} command and a similar functionality in the ``package
>>> info'' and ``package list'' buffers created by the @kbd{M-x
>>
>> This looks reasonable to me, so if there are no comments/objections, I'm
>> going to commit it.
>
> Sounds good to me.
Committed as 424a323¹, thanks myglc2!
¹ http://git.savannah.gnu.org/cgit/guix.git/commit/?id=424a323e92d92284efcd30cf548d1f41c556d592
--
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-07-25 14:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-21 22:35 [PATCH] doc: Explain when guix edit is read-only myglc2
2016-07-24 8:27 ` Alex Kost
2016-07-24 17:06 ` Ludovic Courtès
2016-07-25 14:25 ` Alex Kost
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.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).