Can't declare associative global arrays inside function

2013-09-10 Thread Carlos Pita
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash

Can't declare associative global arrays inside function

2013-09-10 Thread Carlos Pita
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash

fc echoing DEBUG trap

2013-09-19 Thread Carlos Pita
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash

Re: fc echoing DEBUG trap

2013-09-24 Thread Carlos Pita
Of course, it's possible to alias fc to reset the trap before calling the editor and restore after exiting, but it's a hack. On Tue, Sep 24, 2013 at 11:18 AM, Chet Ramey wrote: > On 9/19/13 2:12 PM, Carlos Pita wrote: > >> Bash Version: 4.2 >> Patch Level: 45 >>

Command substitution and exiting from deeply nested subshells

2013-10-06 Thread Carlos Pita
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash

Re: Command substitution and exiting from deeply nested subshells

2013-10-07 Thread Carlos Pita
> $(xxx) is a word expansion, not a command. Bash will only pay attention to > the exit status of command substitution in one case (x=$(foo)). This > command substitution doesn't contribute to any other command's exit status, > especially `echo', and `set -e' doesn't cause the shell to pay attent

gA: declare and assign vs. declare then assign

2014-01-16 Thread Carlos Pita
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash

emacsclient: maximization and size hints

2014-07-25 Thread Carlos Pita
When you call emacsclient like this: emacsclient -c -F "((fullscreen . maximized))" the maximization ignores the size hints and some residual area could be left behind, looking like a phantom modeline below the real one. This doesn't happen when you manually or programatically maximize emacs

Re: emacsclient: maximization and size hints

2014-07-25 Thread Carlos Pita
Sorry bash, it wasn't you, I hit the autocompletion entry too fast, this was for (bug-gnu-)emacs :) On Fri, Jul 25, 2014 at 12:38 PM, Carlos Pita wrote: > When you call emacsclient like this: > >emacsclient -c -F "((fullscreen . maximized))" > > the maximizat

Continue behavior in devel branch

2015-10-10 Thread Carlos Pita
Hi Chet, consider the following program: yyy() { continue } xxx() { while true; do echo x yyy echo y break done } xxx In the bash devel branch it will ignore the continue and echo x y In the stable branch it will echo x x x x . . . forever, because the continue works

Re: Continue behavior in devel branch

2015-10-12 Thread Carlos Pita
myself? Cheers -- Carlos On Sat, Oct 10, 2015 at 1:51 PM, Chet Ramey wrote: > On 10/10/15 9:36 AM, Carlos Pita wrote: >> Hi Chet, >> >> consider the following program: >> >> yyy() { >> continue >> } >> >> xxx() { >> while true; do >>

Re: Continue behavior in devel branch

2015-10-12 Thread Carlos Pita
> If not, would it be too difficult to do it myself? On a second thought, it would be easier for me to just revert the binary incompatible changes, assuming they're not too entangled with the rest. Could you give me some hints? Thank you very much.