Bugs item #311389, was opened at 30/01/2009 09:42 Status: Open Priority: 3 Submitted By: David Paleino (hanska-guest) Assigned to: Nobody (None) Summary: DBTS 350232: shopt -s no_empty_cmd_completion not quite durable enough Distribution: None Originally reported in: Debian BTS Original bug number: 350232
Initial Comment: `shopt -s no_empty_cmd_completion' allows us to paste in segments of bash scripts with indenting via X's copy buffer, without erronously triggering bash completion. However, it only works if we use either tabs or spaces exclusively in the scripts being copied. If a line being pasted contains a bunch of spaces, then a tab, then completion is attempted on all ~4000 items in one's PATH. Spaces alone should hence be treated as an empty readline buffer for the purposes of no_empty_cmd_completion. Alternatively, if it is at all possible to detect that the contents of a copy buffer are being pasted into bash (via either shift-insert, or the middle mouse button), then bash should have the option to turn off completion all together, for the duration of the copy. ---------------------------------------------------------------------- You can respond by visiting: http://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311389&group_id=100114 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel