Package: maint-guide
Version: 1.2.31
Severity: wishlist
Tags: patch

Dear Maintainer,

Chapter 3 gives the right advice of defining an alias around quilt to provide
the debian-specific settings. That's very good because it's non-trivial to pass
the right config on the command line in this case.

But it breaks the quilt completion, that is rather handy too on the long run.
So here is a little patch to hint about how to have the quilt completion for
the dquilt alias too.

Thanks for your work,
Mt



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

maint-guide depends on no packages.

maint-guide recommends no packages.

Versions of packages maint-guide suggests:
ii  debian-policy         3.9.3.1
pn  developers-reference  <none>
ii  devscripts            2.12.6
ii  dh-make               0.61
ii  doc-base              0.10.4
ii  dput                  0.9.6.3+nmu2
ii  fakeroot              1.18.4-2
ii  lintian               2.5.10.4
ii  pbuilder              0.213
ii  quilt                 0.60-8

-- no debconf information
Index: maint-guide.en.dbk
===================================================================
--- maint-guide.en.dbk  (révision 9833)
+++ maint-guide.en.dbk  (copie de travail)
@@ -1405,10 +1405,13 @@
 modifications to the upstream source for Debian packaging.  It's
 useful to have a slightly customized default, so let's create an alias
 <command>dquilt</command> for Debian packaging by adding the following
-line to <filename>~/.bashrc</filename>.
+lines to <filename>~/.bashrc</filename>. The second line ensures that
+this alias benefits of the same shell completion features than quilt
+itself. 
 </para>
 <screen>
 alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"
+complete -F _quilt_completion $_quilt_complete_opt dquilt # use quilt 
completion for our alias
 </screen>
 <para>
 Then let's create <filename>~/.quiltrc-dpkg</filename> as follows.

Reply via email to