Re: invoke tilde expansion on quoted string

2011-11-14 Thread Freddy Vulto
/%\/*}/'${!1#*/}' else # No, $1 doesn't contain slash eval $1=${!1} fi fi } # __expand_tilde_by_ref() ---8--- Freddy Vulto http://fvue.nl

Re: Stumped on a question of scoping and unset.

2011-05-26 Thread Freddy Vulto
) #| | | +- unset thrice to global #| | +- unset twice till global #| +- unset once till t1 #+- unset not See also: http://fvue.nl/wiki/Bash:_Unset Freddy Vulto http://fvue.nl

Re: Stumped on a question of scoping and unset.

2011-05-26 Thread Freddy Vulto
: $ typeset 'ls -l' bash: typeset: `ls -l': not a valid identifier $ echo $? 1 Freddy Vulto http://fvue.nl

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-309-g6e7359f

2011-05-19 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 6e7359f69c50aa57739b77a03ddff4b8c1dfef02 Author: Freddy Vulto fvu...@gmail.com Date: Fri May 20 00:27:08 2011 +0200 Improve _get_comp_words_by_ref() Empty $cur with cmd = | a (| = cursor position) (Alioth #313102

Re: [Bash-completion-devel] Namespace

2011-05-08 Thread Freddy Vulto
: Completion functions: _bc_* Helper functions for specific completion (foo): _bc_foo_* Public API functions: _BC_* Private functions and private non-local variables: __BC_* Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel

Re: [Bash-completion-devel] Dynamic completion loader.

2011-04-09 Thread Freddy Vulto
On 110409 13:51, Ville Skyttä wrote: So, given the answers so far, should we add a drop bash 4.1 support roadmap item, and already for 2.0 (my answer would be yes, and +1)? I Yes and +1 ___ Bash-completion-devel mailing list

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-45-g7cd17ad

2011-03-27 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 7cd17ada11fcb6a270b25f673f9b77918fe055a4 Author: Freddy Vulto fvu...@gmail.com Date: Sun Mar 27 22:08:55 2011 +0200 Fix __reassemble_comp_words_by_ref() unquoted pattern removal Commit 8227e76 was failing on these `chown

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-46-g68e9a8e

2011-03-27 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 68e9a8e6eb8d92ae67a694efd6ffcd986e8f7f5b Author: Freddy Vulto fvu...@gmail.com Date: Sun Mar 27 23:12:14 2011 +0200 (testsuite) Add -unsorted option to _get_hosts() _known_hosts_real tests were failing after commit

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-40-g8227e76

2011-03-23 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 8227e76e09fc4bdd21a6e0bf866445910f64815e Author: Freddy Vulto fvu...@gmail.com Date: Thu Mar 24 00:00:58 2011 +0100 Improve __reassemble_comp_words_by_ref() (Alioth #313057) Prohibit word creation of characters if they're

[Radiant] Running the Radiant 'rails3' branch

2011-01-11 Thread Freddy Vulto
server Now browse http://localhost:3000/ Regards, Freddy Vulto http://www.clickhere.nl

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 5a38f828d4300af46e8c183c87c19c9001566f42

2010-11-22 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 5a38f828d4300af46e8c183c87c19c9001566f42 Author: Freddy Vulto fvu...@gmail.com Date: Mon Nov 22 22:57:00 2010 +0100 (testsuite) Split assert_complete() into assert_complete_many() and assert_complete_one(). Fix ssh

Re: [Bash-completion-devel] [Bash-completion-commits] [SCM] bash-completion branch, master, updated. c86b336769cdc025a63c13bf3448ce5d5019a563

2010-11-19 Thread Freddy Vulto
if $args need to be passed between functions. Then there are still some test suite improvements of Leonard Crestez in the expect-fixes branch I'd like to integrate in master. Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash

Re: [Bash-completion-devel] [Bash-completion-commits] [SCM] bash-completion branch, master, updated. c86b336769cdc025a63c13bf3448ce5d5019a563

2010-11-18 Thread Freddy Vulto
I've made `match_items()' to match on the bash-prompt in commit 11da957. Can you give this a try? ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Re: [Bash-completion-devel] [Bash-completion-commits] [SCM] bash-completion branch, master, updated. c86b336769cdc025a63c13bf3448ce5d5019a563

2010-11-16 Thread Freddy Vulto
Comparing the logs, I can see your `expect' is matching chunks (i.e. more than one letter at once) whereas my `expect' is comparing one letter at a time. This might be because I'm running the tests on a slow machine. This difference causes a match - for example ^1$ - to pass my `expect', but to

Re: [Bash-completion-devel] [Bash-completion-commits] [SCM] bash-completion branch, master, updated. c86b336769cdc025a63c13bf3448ce5d5019a563

2010-11-15 Thread Freddy Vulto
On 101115 20:46, Ville Skyttä wrote: ... Attached is the complete log/unit.log for a ./runUnit _count_args.exp run which finished with: ... I have the same output, only with PASSes (and ^M's): ... /@COMP_WORDS=(a b); COMP_CWORD=1; COMP_LINE='a b'; COMP_POINT=3; _count_args; echo -n $args^M

Re: [Bash-completion-devel] [Bash-completion-commits] [SCM] bash-completion branch, master, updated. c86b336769cdc025a63c13bf3448ce5d5019a563

2010-11-13 Thread Freddy Vulto
On 101113 11:04, Ville Skyttä wrote: Cool, work on make (dist)check is appreciated. But (seemingly) all unit tests are failing for me now, both when run with runUnit and with make check. Both runUnit and `make check' running fine here. What is the error message exactly?

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 6feb44ac0f5ca2f96d4ca6a20a7edd63ae02a103

2010-11-13 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 6feb44ac0f5ca2f96d4ca6a20a7edd63ae02a103 Author: Freddy Vulto fvu...@gmail.com Date: Sat Nov 13 09:30:26 2010 +0100 (testsuite) Add missing dir to fixtures/acroread diff --git a/test/fixtures/_filedir/ext/foo/.gitignore b

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. c86b336769cdc025a63c13bf3448ce5d5019a563

2010-11-12 Thread Freddy Vulto
The following commit has been merged in the master branch: commit c86b336769cdc025a63c13bf3448ce5d5019a563 Author: Freddy Vulto fvu...@gmail.com Date: Fri Nov 12 23:35:36 2010 +0100 (testuite) Fix tests to run with autotools' make distcheck File locations are prefixed with `$::srcdir

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 0367d0bf57fb058b6f7fdc7bc9902de7bf5bbd26

2010-11-05 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 0367d0bf57fb058b6f7fdc7bc9902de7bf5bbd26 Author: Freddy Vulto fvu...@gmail.com Date: Fri Nov 5 21:11:57 2010 +0100 (testsuite) Moved tool_start() code to tool_init() ${tool}_start was called from within `config

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. de51dd3a89016453f765820b93af73bd80ad78cc

2010-11-05 Thread Freddy Vulto
The following commit has been merged in the master branch: commit de51dd3a89016453f765820b93af73bd80ad78cc Author: Freddy Vulto fvu...@gmail.com Date: Fri Nov 5 21:28:48 2010 +0100 (testsuite) Prepend relative files with $::srcdir in an attempt to be able to run the tests successfully

Re: [Bash-completion-devel] using external helpers for completion

2010-11-04 Thread Freddy Vulto
On 101101 09:10, Ville Skyttä wrote: I suppose something like SUBDIRS = helpers in completions/Makefile.am would fix installing the helper (untested). Yes, that seems to fix it. I've added strengthen use of GNU Autotools (add to README, fix `make distcheck`) to the roadmap as an objective for

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. edce099a45b69047e50832fc73a4e9cd9a81b318

2010-11-04 Thread Freddy Vulto
The following commit has been merged in the master branch: commit edce099a45b69047e50832fc73a4e9cd9a81b318 Author: Freddy Vulto fvu...@gmail.com Date: Thu Nov 4 22:40:53 2010 +0100 (install) Fix relocated helpers dir diff --git a/completions/Makefile.am b/completions/Makefile.am index

Re: [Bash-completion-devel] Removal of quot; -o filenamesquot; to quot; completequot;

2010-11-03 Thread Freddy Vulto
Ville Skyttä ville.skytta at iki.fi writes: The notification mail for a change I just committed is being held for moderator approval for the commits list due to its size, so here's a separate heads up about it: http://git.debian.org/?p=bash-completion/bash-

Re: [Bash-completion-devel] Removal of quot; -o filenamesquot; to quot; completequot;

2010-11-03 Thread Freddy Vulto
On 101103 21:23, Ville Skyttä wrote: On my system ls.exp ends up testing ls ~avahi-autoipd and avahi-autoipd's home dir does not exist, perhaps that's why it passed. Maybe the test case should be modified so that it checks the existence of the chosen user's home dir and if it does exist,

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. dfb84064a46d5393c69cf3221b03c96caef5314a

2010-11-03 Thread Freddy Vulto
The following commit has been merged in the master branch: commit dfb84064a46d5393c69cf3221b03c96caef5314a Author: Freddy Vulto fvu...@gmail.com Date: Wed Nov 3 19:55:38 2010 +0100 Fix _tilde with new _compopt_o_filenames diff --git a/bash_completion b/bash_completion index de9daef

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 99d8cf290d6731a319378ad2176affeb108d80f6

2010-11-03 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 99d8cf290d6731a319378ad2176affeb108d80f6 Author: Freddy Vulto fvu...@gmail.com Date: Wed Nov 3 22:06:12 2010 +0100 (testsuite) Fix comment diff --git a/test/lib/completions/ls.exp b/test/lib/completions/ls.exp index fb89752

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 325b1c2fea5ccb69bb8ca4649d4b50101f78f568

2010-11-03 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 325b1c2fea5ccb69bb8ca4649d4b50101f78f568 Author: Freddy Vulto fvu...@gmail.com Date: Wed Nov 3 22:34:35 2010 +0100 (testsuite) Added expected failure for perldoc options completion perldoc options don't complete anymore

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 50dd6c7ac6b07736b37cac60f9a28091ba1416c0

2010-10-31 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 50dd6c7ac6b07736b37cac60f9a28091ba1416c0 Author: Freddy Vulto fvu...@gmail.com Date: Sun Oct 31 07:53:15 2010 +0100 (testsuite) Test for expect-5.44 to prevent segfault Modified test title diff --git a/test/unit

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 83bcd69557bcdecb6a6e2b42d5482dfb9e0d65b7

2010-10-31 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 83bcd69557bcdecb6a6e2b42d5482dfb9e0d65b7 Author: Freddy Vulto fvu...@gmail.com Date: Sun Oct 31 17:51:14 2010 +0100 (testsuite) Fix _parse_help for LANG=POSIX Steps to reproduce the problem: $ LANG=POSIX

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. ef8b4f27222fb9ade53120cdea5b13927b17a0ca

2010-10-31 Thread Freddy Vulto
The following commit has been merged in the master branch: commit ef8b4f27222fb9ade53120cdea5b13927b17a0ca Author: Freddy Vulto fvu...@gmail.com Date: Sun Oct 31 23:20:19 2010 +0100 Fix perldoc completions to run without invoking autotools Alioth #312729 See also: http

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. bf763033b77a70487034246af06e158d70598b4c

2010-10-26 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 20f7d5c1d20bd723ebe30405d1e6d7c8d65b466c Author: Freddy Vulto fvu...@gmail.com Date: Tue Oct 26 22:41:01 2010 +0200 (testsuite) Improve _filedir unicode test (Alioth #312477) diff --git a/test/unit/_filedir.exp b/test/unit

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. bf763033b77a70487034246af06e158d70598b4c

2010-10-26 Thread Freddy Vulto
The following commit has been merged in the master branch: commit bf763033b77a70487034246af06e158d70598b4c Merge: 20f7d5c1d20bd723ebe30405d1e6d7c8d65b466c 7d45595493e1f830a3ddbdff845f05ce5a0bc696 Author: Freddy Vulto fvu...@gmail.com Date: Tue Oct 26 22:42:37 2010 +0200 Merge branch

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1017b24212af1fedf4f964e426ed2821fc60adb3

2010-10-23 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 1017b24212af1fedf4f964e426ed2821fc60adb3 Author: Freddy Vulto fvu...@gmail.com Date: Sat Oct 23 20:49:02 2010 +0200 (testsuite) Fix eof/timeout message when unknown level diff --git a/test/config/default.exp b/test/config

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 37f51b9df201e7944bd4c0f813cc90277c0644a8

2010-10-18 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 37f51b9df201e7944bd4c0f813cc90277c0644a8 Author: Freddy Vulto fvu...@gmail.com Date: Mon Oct 18 22:29:59 2010 +0200 (testsuite) Removed changing locale within 'expect' Changing the locale within an `expect' session might

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. dff42419986c7400a82384629285c86bd42f5a60

2010-10-09 Thread Freddy Vulto
The following commit has been merged in the master branch: commit dff42419986c7400a82384629285c86bd42f5a60 Author: Freddy Vulto fvu...@gmail.com Date: Sat Oct 9 22:12:51 2010 +0200 (testsuite) Fix _filedir test for compgen -f hack One test was failing on bash-3 diff --git a/test/unit

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. e8d84b300471944e6413bd9f6312dd57ee27b922

2010-10-05 Thread Freddy Vulto
The following commit has been merged in the master branch: commit e8d84b300471944e6413bd9f6312dd57ee27b922 Author: Freddy Vulto fvu...@gmail.com Date: Tue Oct 5 21:39:58 2010 +0200 Bugfix __reassemble_comp_words_by_ref a b:c |TAB (with |=cursor) did not return `b:c' as `prev' on bash

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 4e8bc5086539f6a6407dc08c3af4d50d2e294b39

2010-10-05 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 4e8bc5086539f6a6407dc08c3af4d50d2e294b39 Author: Freddy Vulto fvu...@gmail.com Date: Tue Oct 5 21:46:01 2010 +0200 Updated CHANGES diff --git a/CHANGES b/CHANGES index d8481e9..17c9100 100644 --- a/CHANGES +++ b/CHANGES

Re: [Bash-completion-devel] assert_bash_exec output treatment

2010-09-20 Thread Freddy Vulto
]} { fail ERROR Unexpected output from bash command \$title\ } send_user ERROR Unexpected output from bash command \$title\:\n$results I'll add these comments (commit ba41910). Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. ba419108b7fdb94f2b28a405a1dd074d862b7114

2010-09-20 Thread Freddy Vulto
The following commit has been merged in the master branch: commit ba419108b7fdb94f2b28a405a1dd074d862b7114 Author: Freddy Vulto fvu...@gmail.com Date: Mon Sep 20 22:54:22 2010 +0200 (testsuite) Comment multipass_name diff --git a/test/lib/library.exp b/test/lib/library.exp index eaafcbc

Re: [Bash-completion-devel] _filedir case sensitivity

2010-09-15 Thread Freddy Vulto
On 100914 21:15, Ville Skyttä wrote: The attached patch provides some automatic case insensitivity to _filedir and _filedir_xspec by automatically matching all-uppercase versions of the passed patterns as well as the original ones. The idea is that if this goes in, all glob arguments to

Re: [Bash-completion-devel] using external helpers for completion

2010-08-29 Thread Freddy Vulto
a `make', and I think it would be better if we can defer `make' substitutions to the install phase so that the bash_completion source stays simpler. Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel

Re: [Bash-completion-devel] using external helpers for completion

2010-08-27 Thread Freddy Vulto
it mandatory for BASH_COMPLETION_DIR to have a (symlinked) `helpers' subdir? More enforcements are coming if we're going to merge bash-completion-lib... Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel

Re: [Bash-completion-devel] Tab Completion Problem

2010-08-23 Thread Freddy Vulto
on the roadmap, ok team? I'm putting this last as an objective for version 3.0. See: http://wiki.debian.org/Teams/BashCompletion/Proposals/Roadmap Regards, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. e846d84ed196a213f7a3c70c8e0b575ddfbf5746

2010-08-20 Thread Freddy Vulto
The following commit has been merged in the master branch: commit e846d84ed196a213f7a3c70c8e0b575ddfbf5746 Author: Freddy Vulto fvu...@gmail.com Date: Fri Aug 20 11:28:19 2010 +0200 Fix _filedir to redirect only stderr diff --git a/bash_completion b/bash_completion index 8661d40..fed2d94

Re: [Bash-completion-devel] [bash-completion-Bugs][312646] _command() bug

2010-08-19 Thread Freddy Vulto
On 100820 00:46, Ildar Mulyukov wrote: Please apply the patch to GIT HEAD. Oops. Doing a `git push' right now... ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 10b6c0e21469d28a9d3107801fa7380dfa5f6caa

2010-08-19 Thread Freddy Vulto
The following commit has been merged in the master branch: commit b867bcd64fcac0fbfb610b1acc96895a719278c0 Author: Freddy Vulto fvu...@gmail.com Date: Wed Aug 18 23:01:26 2010 +0200 Fix _filedir error message on bash-3 In case of `sudo cmd', _filedir might be triggered for a cmd

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 10b6c0e21469d28a9d3107801fa7380dfa5f6caa

2010-08-19 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 10b6c0e21469d28a9d3107801fa7380dfa5f6caa Merge: b867bcd64fcac0fbfb610b1acc96895a719278c0 3f0d8f8e9f1991e7d7610fd210c68421eef4e09f Author: Freddy Vulto fvu...@gmail.com Date: Thu Aug 19 22:31:35 2010 +0200 Merge branch

Re: [Bash-completion-devel] bash3 versus bash4 policy

2010-08-17 Thread Freddy Vulto
) - match one or more occurrences of patterns @(pattern-list) - match exactly one of the given patterns !(pattern-list) - match anything except one of the given patterns Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list

[Bash-completion-devel] Test suite errors

2010-08-14 Thread Freddy Vulto
: bashcomp_DATA: command not found bash: EXTRA_DIST: command not found bash: CLEANFILES: command not found Can you have a look? Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 7b67991c1818a8e2fe89990cf71fa33df8e1b731

2010-07-01 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 7b67991c1818a8e2fe89990cf71fa33df8e1b731 Author: Freddy Vulto fvu...@gmail.com Date: Fri Jul 2 07:06:32 2010 +0200 (testsuite) Fix ls test Append slash (/) or space ( ) to completion depending on whether `~user' home

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 66d3b639159492dcee0845a915724bdf90c96d45

2010-06-30 Thread Freddy Vulto
The following commit has been merged in the master branch: commit ccbf141e13eaa98d6a8721ae015a5504654424cb Author: Freddy Vulto fvu...@gmail.com Date: Wed Jun 30 23:28:31 2010 +0200 Fix tilde (~) completion with _filedir This fixes tilde completion when doing for instance `ls ~TAB

Re: [Bash-completion-devel] Colon completion woes

2010-06-18 Thread Freddy Vulto
On 100511 00:54, Ville Skyttä wrote: Maybe we should start thinking about adding a begin and end hook to every completion for things like this; put it at the end of the roadmap? No objections here. Added objective for version 3.0 to the roadmap: Provide begin and end hook to every

Re: [Bash-completion-devel] Namespace prefix?

2010-06-18 Thread Freddy Vulto
On 100425 13:18, Ville Skyttä wrote: Does bash officially reserve any variable/function prefix to itself? At least BASH_* and COMP_* are used in it I've put the question on the bug-bash mailing list, see: http://www.mail-archive.com/bug-b...@gnu.org/msg07539.html If we're going to use

[Bash-completion-devel] Committed: (testsuite) Drop ending block comments

2010-06-18 Thread Freddy Vulto
My commit message to commit-list is being held because of size limit. This is the commit: (testsuite) Drop ending block comments Instead of writing `}; # if', write just `}' as was discussed here:

Bash prefixes

2010-06-18 Thread Freddy Vulto
regarding prefixing? Does bash officially reserve any variable/function prefix to itself? At least BASH_* and COMP_* seem to be used by bash. Greetings, Freddy Vulto http://fvue.nl

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. a2fcc654e83e1890ba68664072dc5f7bf8f6f46b

2010-06-18 Thread Freddy Vulto
The following commit has been merged in the master branch: commit a2fcc654e83e1890ba68664072dc5f7bf8f6f46b Author: Freddy Vulto fvu...@gmail.com Date: Fri Jun 18 18:28:54 2010 +0200 Refactored _filedir code to _quote_readline_by_ref See also: http://www.mail-archive.com/bash

[Bash-completion-devel] Bug#511788: Bug#511788: fixed in bash-completion 1:1.2-1

2010-06-17 Thread Freddy Vulto
[tab] completion again. Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Bug#511788: [Bash-completion-devel] Bug#511788: fixed in bash-completion 1:1.2-1

2010-06-17 Thread Freddy Vulto
[tab] completion again. Greetings, Freddy Vulto http://fvue.nl -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Re: cd multiple levels up?

2010-06-13 Thread Freddy Vulto
information and download, see: http://fvue.nl/wiki/Bash:_Cdots Freddy Vulto http://fvue.nl

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 0e2d179ff3ca6624ed47286658f6c8e9a0b3b26d

2010-06-13 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 0e2d179ff3ca6624ed47286658f6c8e9a0b3b26d Author: Freddy Vulto fvu...@gmail.com Date: Sun Jun 13 23:01:03 2010 +0200 Updated Freddy Vulto's CHANGES since the 1.1 release. diff --git a/CHANGES b/CHANGES index 33e4e59..029f63e

Re: [Bash-completion-devel] Release 1.2? (Re: Namespace prefix?)

2010-06-11 Thread Freddy Vulto
On 12:13, David Paleino wrote: Freddy, do you want me to make it into 1.2 as well? If possible, yes? The work is done, so I think it's good to get it out. The new `_get_comp_words_by_ref' definitely requires bash = 3.1, but as I understand the requirement of bash = 3.2.0 is already going to be

Re: [Bash-completion-devel] Release 1.2? (Re: Namespace prefix?)

2010-06-11 Thread Freddy Vulto
, but it ended up in a local mail queue :-( Here it is finally: ---8--- Date: Wed, 9 Jun 2010 22:32:27 +0200 From: Freddy Vulto fvu...@gmail.com To: bash-completion-devel@lists.alioth.debian.org I've been trying to find the perfect

Re: [Bash-completion-devel] Release 1.2? (Re: Namespace prefix?)

2010-06-10 Thread Freddy Vulto
Merged branch 'use-_get_comp_words_by_ref' to 'master'. It's not showing up in the 'Bash-completion-commits' because the message is too big: ---Forwarded mail--- Date: Thu, 10 Jun 2010 21:53:41 + From:

[Bash-completion-commits] [SCM] bash-completion branch, use-_get_comp_words_by_ref, updated. a8dd58cfa9a9e409053628c62f36880928b3e1c6

2010-06-09 Thread Freddy Vulto
The following commit has been merged in the use-_get_comp_words_by_ref branch: commit a8dd58cfa9a9e409053628c62f36880928b3e1c6 Author: Freddy Vulto fvu...@gmail.com Date: Wed Jun 9 22:37:02 2010 +0200 Added `_upvars' and `_upvar'. These helper methods aid in passing variables

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 876c8e26c162edfa2c24cc298bbe7ed3123d8eb7

2010-05-26 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 876c8e26c162edfa2c24cc298bbe7ed3123d8eb7 Author: Freddy Vulto fvu...@gmail.com Date: Wed May 26 22:57:08 2010 +0200 Prevent root PATH expansion proliferating The PATH expansion done in `_root_command()': PATH

[Bash-completion-devel] Passing variables by reference

2010-05-09 Thread Freddy Vulto
, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Re: Passing variables by reference conflicts with local

2010-05-05 Thread Freddy Vulto
#| +- unset once till t1 #+- unset not It seems to work on bash-3.0, 3.2, 4.0 and 4.1. Is this a bug or a feature? Freddy Vulto http://fvue.nl/wiki/Bash:_passing_variables_by_reference

Re: Passing variables by reference conflicts with local

2010-05-05 Thread Freddy Vulto
safe because the varname is checked by `unset'? So now we can stop condemning people who're passing variables by reference and write even more beautiful bash code! ... ...until we find another caveat ;-) am I overlooking something? Freddy Vulto http://fvue.nl/wiki/Bash

Re: Passing variables by reference conflicts with local

2010-05-02 Thread Freddy Vulto
blackbox i __2 __3 # Outputs error d='ls /;true'; blackbox i $d $d # No oops _blackbox a # Force public access Freddy Vulto http://fvue.nl/wiki/Bash:_passing_variables_by_reference

Re: Passing variables by reference conflicts with local

2010-05-01 Thread Freddy Vulto
On 100430 08:19, Greg Wooledge wrote: On Fri, Apr 30, 2010 at 12:02:58AM +0200, Freddy Vulto wrote: Passing variables by reference however, has a caveat in that local variables override the passing by reference, e.g.: t() { local a eval $1=b } unset

Re: Passing variables by reference conflicts with local

2010-05-01 Thread Freddy Vulto
# Outputs error d='ls /;true'; blackbox $d # No more oops Freddy Vulto http://fvue.nl/wiki/Bash:_passing_variables_by_reference

Re: Passing variables by reference conflicts with local

2010-05-01 Thread Freddy Vulto
a # Force public access Freddy Vulto http://fvue.nl/wiki/Bash:_passing_variables_by_reference

Passing variables by reference conflicts with local

2010-04-29 Thread Freddy Vulto
causes a conflict: $ t __1; echo $__1 ERROR: variable name conflicts with local variable: __1 $ t a; echo $a b Thoughts? Ideas? Is there a bash-builtin to detect conflicts? If not, wouldn't it be an idea to add such a builtin? Freddy Vulto http://fvue.nl/wiki/Bash

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 5b8a8b33917fb87c547b8ec6f982f08f8cfba599

2010-04-26 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 5b8a8b33917fb87c547b8ec6f982f08f8cfba599 Author: Freddy Vulto fvu...@gmail.com Date: Mon Apr 26 19:45:46 2010 +0200 Fix leak of $cur from apache2ctl completion. diff --git a/contrib/apache2ctl b/contrib/apache2ctl index

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 5dd8d3a7276d960d4a4f93c6a0ecec66c13a28e5

2010-04-26 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 5dd8d3a7276d960d4a4f93c6a0ecec66c13a28e5 Author: Freddy Vulto fvu...@gmail.com Date: Mon Apr 26 20:04:48 2010 +0200 Only complete xhost if (_)xhost is available diff --git a/contrib/xhost b/contrib/xhost index 570c986

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 96a936443e3d22493491de660a53fb7c63c39f1d

2010-04-17 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 96a936443e3d22493491de660a53fb7c63c39f1d Author: Freddy Vulto fvu...@gmail.com Date: Thu Apr 15 23:27:08 2010 +0200 (testsuite) Run tests for superuser commands only if command is available Case was /usr/sbin/grub

Re: [Bash-completion-devel] [Bash-completion-commits] e7d7ae81 (testsuite) Always look for command availability before?testing?completion.

2010-04-15 Thread Freddy Vulto
On 100412 20:40, Ville Skyttä wrote: I don't remember seeing any objections, so done in git now. It's working great, except for 3 failing completions on my Debian test machine: grub, screen and xhost. Problem with grub is that on my Debian it's in /usr/sbin/grub, so when the test-user is

Re: [Bash-completion-devel] _get_cword breaks with non-ascii characters when completion files

2010-04-10 Thread Freddy Vulto
. Can you confirm this works for you as well? Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 6a6cab1179cc87eb212c9251197ff4dda7275904

2010-04-10 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 50824f909d4ccab49a4b1a63d1c9b28eaea37a78 Author: Freddy Vulto fvu...@gmail.com Date: Sat Apr 10 12:22:19 2010 +0200 Move _filedir fix to _quote_readline_by_ref. diff --git a/bash_completion b/bash_completion index 3da1f36

[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 6a6cab1179cc87eb212c9251197ff4dda7275904

2010-04-10 Thread Freddy Vulto
The following commit has been merged in the master branch: commit 6a6cab1179cc87eb212c9251197ff4dda7275904 Author: Freddy Vulto fvu...@gmail.com Date: Sat Apr 10 12:27:36 2010 +0200 Fixed comment now that we support bash = 3.2.0 diff --git a/bash_completion b/bash_completion index 1ab9beb

[Bash-completion-devel] Bug#551780: Fix by reading from avahi-browse with a timeout

2010-03-30 Thread Freddy Vulto
. Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Bug#551780: Fix by reading from avahi-browse with a timeout

2010-03-30 Thread Freddy Vulto
. Greetings, Freddy Vulto http://fvue.nl -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Re: [Bash-completion-devel] Expect buffering fixes

2010-03-24 Thread Freddy Vulto
of \005 (^E) and also another regression I noticed, regarding this test which used to FAIL but is now PASSing because we removed the `$' (match on end) somewhere (I think in match_items): expected: foo bar real: foo bar cee Greetings, Freddy Vulto http://fvue.nl

Re: [Bash-completion-devel] Bug#551780: Fix by reading from avahi-browse with a timeout

2010-03-22 Thread Freddy Vulto
' is hard to catch... Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Re: [Bash-completion-devel] _get_comp_words_by_ref

2010-03-14 Thread Freddy Vulto
On 100210 21:48, Freddy Vulto wrote: Maybe we can make the varnames non-optional, and also provide shortcuts by using the arguments, indicating which fixed varnames to return: Done so in commit bdca37a in branch `use-_get_comp_words_by_ref': Improve _get_comp_words_by_ref to return `words

[Bash-completion-commits] [SCM] bash-completion branch, use-_get_comp_words_by_ref, updated. bdca37a7bfdad428a072b71b7ec67b69bcc254a8

2010-03-14 Thread Freddy Vulto
The following commit has been merged in the use-_get_comp_words_by_ref branch: commit bdca37a7bfdad428a072b71b7ec67b69bcc254a8 Author: Freddy Vulto fvu...@gmail.com Date: Sun Mar 14 11:07:13 2010 +0100 Improve _get_comp_words_by_ref to return `words' and `cword' Usage

[Bash-completion-commits] [SCM] bash-completion branch, use-_get_comp_words_by_ref, updated. f894f07500af8734a3c855f381c8382751463a45

2010-03-14 Thread Freddy Vulto
The following commit has been merged in the use-_get_comp_words_by_ref branch: commit f894f07500af8734a3c855f381c8382751463a45 Author: Freddy Vulto fvu...@gmail.com Date: Sun Mar 14 11:21:56 2010 +0100 Fix comment diff --git a/bash_completion b/bash_completion index 3948863..0d329f8 100644

[Bash-completion-devel] Undo commit 00560a8 (_filedir: bash 4 ... $cur beginning with ' or not)

2010-03-12 Thread Freddy Vulto
completions) and therefore I'll undo your commit in commit caaf588. Or do you have a completion example where things go wrong? Regards, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org

Re: [Bash-completion-devel] Undo commit 00560a8 (_filedir: bash 4 ... $cur beginning with '?or not)

2010-03-12 Thread Freddy Vulto
On 100312 14:19, David Paleino wrote: I'll report as soon as I see that happening again. ... On a side note: maybe it's better if I avoid committing anything, for ... No offense taken/intended. Don't hesitate to commit as far as I'm concerned (just don't let bash-completion endanger your exams

Re: [Bash-completion-devel] Expect buffering fixes

2010-02-28 Thread Freddy Vulto
# of expected failures 2 # of unsupported tests 191 ..., bash-4.0.28(1)-release real1m15.654s user0m9.761s sys 0m12.065s Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel

Re: [Bash-completion-devel] Expect buffering fixes

2010-02-24 Thread Freddy Vulto
This is the thread: http://www.mail-archive.com/bug-b...@gnu.org/msg07023.html Looks like we can/should use this for bash-4: echo 'set echo-control-characters on' ~/.inputrc bind 'set echo-control-characters on' but need another solution for bash-3. I did a short try with the

Re: [Bash-completion-devel] Expect buffering fixes

2010-02-23 Thread Freddy Vulto
On 100223 19:28, Ville Skyttä wrote: Confirmed. Ditto with bash 3.2.25. I notice the difference when just typing a ^C. On bash = 4 it is echoed as ^C, but on bash-3 it is echoed as a newline. I think I'll ask the bug-bash mailing list. If we could just make bash-3 echo the ^C...

echo ^C

2010-02-23 Thread Freddy Vulto
then typing ^C, just like bash-4? Regards, Freddy Vulto http://fvue.nl

Re: [Bash-completion-devel] Expect buffering fixes

2010-02-22 Thread Freddy Vulto
On 100221 12:42, Ville Skyttä wrote: On Sunday 21 February 2010, Crestez Dan Leonard wrote: I pushed this is in the expect-fixes branch in git. It would be great if you could confirm my findings; I don't want to cause regressions. On bash-4.0 and 4.1 it runs ok, the speed improvement is

Re: [Bash-completion-devel] BASH_XTRACEFD and scripts to run tests.

2010-02-20 Thread Freddy Vulto
On 100220 23:08, Crestez Dan Leonard wrote: Anyway; here's what I came up with. I'll commit this later unless there are any objections (like breaking crontabs). +1 (I still need to install bash-4.1, but the more reason now) ___ Bash-completion-devel

Re: [Bash-completion-devel] BASH_XTRACEFD and scripts to run tests.

2010-02-19 Thread Freddy Vulto
On 100217 19:29, Crestez Dan Leonard wrote: DejaGnu claims to have a powerful configuration system and it's been used in very complex situations. Could anyone point me to a straight-forward way to add an option like this? Maybe you can pass the BASH_XTRACEFD via the --tool_opts option of

Re: [Bash-completion-devel] [alioth tracker] can't attach to bug report i'm not the owner of

2010-02-14 Thread Freddy Vulto
via the bash-completion-devel mailing list as a reply to an issue update? David, do you know if making attachments can be allowed to Alioth bug commenters? Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel

Re: [Bash-completion-devel] Weird compopt.exp unit test problem

2010-02-11 Thread Freddy Vulto
On 100211 09:11, Ville Skyttä wrote: On Wednesday 10 February 2010, Freddy Vulto wrote: On 100210 18:16, Ville Skyttä wrote: Maybe this is what you meant above put in other words, but removing the -re {a\\\'b/c} { block from compgen.exp or hacking the regexp so that it does not match

Re: [Bash-completion-devel] Weird compopt.exp unit test problem

2010-02-11 Thread Freddy Vulto
On 100211 23:44, Ville Skyttä wrote: No objections, go ahead. I'm not worried at all about adding to the time taken by the tests if it makes them more reliable. I think we need to find a mean/middle. I'd like to run the tests as fast as possible when running the tests manually during

Re: [Bash-completion-devel] _get_comp_words_by_ref

2010-02-10 Thread Freddy Vulto
too complicated let alone possible. But for now, what are the opinions about a _get_comp_words_by_ref [OPTIONS] [VARNAMES] as proposed above? Greetings, Freddy Vulto http://fvue.nl ___ Bash-completion-devel mailing list Bash-completion-devel

  1   2   3   >