Bug#596871: vim-runtime: debchanglog.vim not compatible with NERD_tree plugin

2010-09-14 Thread Jan Christoph Ebersbach
Package: vim-runtime
Version: 2:7.3.000+hg~ee53a39d5896-1
Severity: normal


Hi,

I had some trouble getting the debchanglog.vim ftplugin to work with
NERD_tree plugin. The procedure to reproduce the issue is the following:

1. open NERD_tree
2. open a changelog file
3. change active window back to NERD_tree
4. try to open another file -> you get the following error message:
   Vim(aunmenu):E329: No menu "Changelog"

The attached patches solves this issue by running the aunmenu command
silently.

Greetings,

Jan Christoph

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim-gtk [vim 2:7.3.000+hg~ee53a39d5896-1 Vi IMproved - enhanced vi editor -
ii  vim-tiny 2:7.3.000+hg~ee53a39d5896-1 Vi IMproved - enhanced vi editor -

vim-runtime suggests no packages.

-- no debconf information
--- debchangelog.vim.orig   2010-07-10 10:00:14.0 +0200
+++ debchangelog.vim2010-07-10 10:00:36.0 +0200
@@ -228,7 +228,7 @@
 
 augroup changelogMenu
 au BufEnter * if &filetype == "debchangelog" | call MakeMenu() | endif
-au BufLeave * if &filetype == "debchangelog" | aunmenu Changelog | endif
+au BufLeave * if &filetype == "debchangelog" | silent! aunmenu Changelog | 
endif
 augroup END
 
 " }}}


Bug#451937: pastebin package ready, sponsor needed

2009-12-27 Thread Jan Christoph Ebersbach
Hi,

I created a debian package of this pastbin. Now I'd like to upload it
and need a sponsor. Anyone interested?

Jan Christoph


signature.asc
Description: Digital signature


Bug#387447: esvn: All files "unknown" with new subversion client

2007-01-11 Thread Jan Christoph Ebersbach
Ups, sorry. I didn't know that reportbug does not display comments :/

Jan Christoph


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#387447: esvn: All files "unknown" with new subversion client

2007-01-11 Thread Jan Christoph Ebersbach
Package: esvn
Version: 0.6.11+1-2
Followup-For: Bug #387447


In version 1.4.2dfsg1-2 of subversion this bug still exists.
BTW working copies created with an older (<1.4) version of subversion
are working without any problems.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages esvn depends on:
ii  libc6   2.3.6.ds1-9  GNU C Library: Shared libraries
ii  libgcc1 1:4.1.1-21   GCC support library
ii  libqt3-mt   3:3.3.7-2Qt GUI Library (Threaded runtime v
ii  libstdc++6  4.1.1-21 The GNU Standard C++ Library v3
ii  libx11-62:1.0.3-4X11 client-side library
ii  libxext61:1.0.1-2X11 miscellaneous extension librar
ii  subversion  1.4.2dfsg1-2 Advanced version control system

Versions of packages esvn recommends:
pn  esvn-doc   (no description available)
ii  ssh-askpass1:1.2.4.1-6.1 under X, asks user for a passphras

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#327414: bash: no completion for invoke-rc.d

2005-09-10 Thread Jan Christoph Ebersbach
On Sat 10-09-2005, Jan Christoph Ebersbach wrote:

> On Fri 09-09-2005, Justin Pryzby wrote:
>
> > I agree!  And it should work with sudo, too.  Your patch doesn't
> > implement /etc/init.d/$foo start,stop completion, correct?
>
> The start,stop completion should work with my patch.
>
> If the previous word is not invoke-rc.d, start, stop ... will be
> completed.
>
> +*) COMPREPLY=( $( compgen -W 'start stop restart reload
> +force-reload' -- $cur ) ) return 0 ;;
>

Ah, there is a bug - the find-parameter "-perm +u=x" should be "-perm
+111"

Here is the correct patch.
--- bash_completion.old 2005-09-10 00:44:54.0 +0200
+++ bash_completion 2005-09-10 10:58:44.0 +0200
@@ -3238,6 +3238,32 @@
 } &&
 complete -F _mysqladmin mysqladmin
 
+# invoke-rc.d(8) completion
+#
+have invoke-rc.d &&
+_invokercd()
+{
+local cur prev options
+
+COMPREPLY=()
+cur=${COMP_WORDS[COMP_CWORD]}
+prev=${COMP_WORDS[COMP_CWORD-1]}
+
+case $prev in
+invoke-rc.d)
+files=$( find /etc/init.d/ -perm +111 | sed 's|^/etc/init.d/||' )
+COMPREPLY=( $( compgen -W "${files}" -- $cur ) )
+return 0
+;;
+
+*)
+COMPREPLY=( $( compgen -W 'start stop restart reload force-reload' -- 
$cur ) )
+return 0
+;;
+esac
+} &&
+complete -F _invokercd invoke-rc.d
+
 # gzip(1) completion
 #
 have gzip &&


Bug#327414: bash: no completion for invoke-rc.d

2005-09-10 Thread Jan Christoph Ebersbach
On Fri 09-09-2005, Justin Pryzby wrote:

> I agree!  And it should work with sudo, too.  Your patch doesn't
> implement /etc/init.d/$foo start,stop completion, correct?

The start,stop completion should work with my patch.

If the previous word is not invoke-rc.d, start, stop ... will be
completed.

+*)
+COMPREPLY=( $( compgen -W 'start stop restart reload force-reload' -- 
$cur ) )
+return 0
+;;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#327414: bash: no completion for invoke-rc.d

2005-09-09 Thread Jan Christoph Ebersbach
Package: bash
Version: 3.0-16
Severity: wishlist
Tags: patch


There is no bash-completion for invoke-rc.d. It would be good if there
is a completion for every executable file in /etc/init.d/ and "start,
stop ...".

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages bash depends on:
ii  base-files3.1.7  Debian base system miscellaneous f
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libncurses5   5.4-9  Shared libraries for terminal hand
ii  passwd1:4.0.3-39 change and administer password and

bash recommends no packages.

-- no debconf information
--- bash_completion.old 2005-09-10 00:44:54.0 +0200
+++ bash_completion 2005-09-10 00:30:56.0 +0200
@@ -3238,6 +3238,32 @@
 } &&
 complete -F _mysqladmin mysqladmin
 
+# invoke-rc.d(8) completion
+#
+have invoke-rc.d &&
+_invokercd()
+{
+local cur prev options
+
+COMPREPLY=()
+cur=${COMP_WORDS[COMP_CWORD]}
+prev=${COMP_WORDS[COMP_CWORD-1]}
+
+case $prev in
+invoke-rc.d)
+files=$( find /etc/init.d/ -perm +u=x | sed 's|^/etc/init.d/||' )
+COMPREPLY=( $( compgen -W "${files}" -- $cur ) )
+return 0
+;;
+
+*)
+COMPREPLY=( $( compgen -W 'start stop restart reload force-reload' -- 
$cur ) )
+return 0
+;;
+esac
+} &&
+complete -F _invokercd invoke-rc.d
+
 # gzip(1) completion
 #
 have gzip &&


Bug#327413: bash: no package-completion for "aptitude show"

2005-09-09 Thread Jan Christoph Ebersbach
Package: bash
Version: 3.0-16
Severity: normal
Tags: patch


Unfortunately there is no package-completion for "aptitude show", like
"apt-cache show" has.

Patch:

--- bash_completion.old 2005-09-10 00:43:27.0 +0200
+++ bash_completion 2005-09-10 00:30:56.0 +0200
@@ -2165,7 +2165,7 @@
 -Z -v --verbose'
 
for (( i=0; i < [EMAIL PROTECTED]; i++ )); do
-   if [[ ${COMP_WORDS[i]} == 
@(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|download|forbid-version|purge|remove)
 ]]; then
+   if [[ ${COMP_WORDS[i]} == 
@(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|download|forbid-version|purge|remove|show)
 ]]; then
special=${COMP_WORDS[i]}
fi
#exclude some mutually exclusive options
@@ -2175,7 +2175,7 @@
 
if [[ -n "$special" ]]; then
   case $special in
-  @(install|hold|markauto|unmarkauto|dist-upgrade|download))
+  @(install|hold|markauto|unmarkauto|dist-upgrade|download|show))
   COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) )
   return 0
   ;;

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages bash depends on:
ii  base-files3.1.7  Debian base system miscellaneous f
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libncurses5   5.4-9  Shared libraries for terminal hand
ii  passwd1:4.0.3-39 change and administer password and

bash recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]