Re: [PATCH] Add active mark, face support; activate mark on paste

2020-04-15 Thread Daniel Colascione
> On 2020-04-11 at 18:04 +0200, gentoo_eshoes wrote: >> $ echo ${PS1@A} >> declare -x PS1=$'\\\n---\\n\\\n\\[\\a\\]\\\n\\[\\e[1;37m\ >> \e[42m\\]\\u@\\H\\[\\e[0m\\] \\\n\\[\\033[1;30m\\]$(date "+%Y/%m/%d % >> H:%M:%S")\\[\\033[0m\\] \\\n\\[\\e[0;37m\\]\\s\\V t:\\l j:\\j \\\nd: >> ${SHLVL}

Re: [PATCH] Add active mark, face support; activate mark on paste

2020-04-15 Thread Ángel
On 2020-04-11 at 18:04 +0200, gentoo_eshoes wrote: > $ echo ${PS1@A} > declare -x PS1=$'\\\n---\\n\\\n\\[\\a\\]\\\n\\[\\e[1;37m\ > \e[42m\\]\\u@\\H\\[\\e[0m\\] \\\n\\[\\033[1;30m\\]$(date "+%Y/%m/%d % > H:%M:%S")\\[\\033[0m\\] \\\n\\[\\e[0;37m\\]\\s\\V t:\\l j:\\j \\\nd: > ${SHLVL}

Re: [bug] PROMPT_COMMAND is not executed as expected in some situations

2020-04-15 Thread Chet Ramey
On 4/15/20 2:59 PM, Franklin, Jason wrote: > Bash Version: 5.0 > Patch Level: 16 > Release Status: release > > Description: > > I have discovered that PROMPT_COMMAND is not executed before the > printing of PS1 in the following three situations: PROMPT_COMMAND is printed before PS1 when the

[bug] PROMPT_COMMAND is not executed as expected in some situations

2020-04-15 Thread Franklin, Jason
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-orJ5jM/bash-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname

Re: Follow-up on PROMPT_COMMAND bug report (submitted today)

2020-04-15 Thread Franklin, Jason
On 4/15/20 2:44 PM, Chet Ramey wrote: > On 4/15/20 11:45 AM, Franklin, Jason wrote: >> Greetings: >> >> I realized that I didn't include my email when I used bashbug to report >> my issue, so I'm sending a follow-up email so that the maintainers can >> be in touch. > > I didn't see any bug

Re: Follow-up on PROMPT_COMMAND bug report (submitted today)

2020-04-15 Thread Chet Ramey
On 4/15/20 11:45 AM, Franklin, Jason wrote: > Greetings: > > I realized that I didn't include my email when I used bashbug to report > my issue, so I'm sending a follow-up email so that the maintainers can > be in touch. I didn't see any bug report. Maybe resend it? -- ``The lyf so short, the

Follow-up on PROMPT_COMMAND bug report (submitted today)

2020-04-15 Thread Franklin, Jason
Greetings: I realized that I didn't include my email when I used bashbug to report my issue, so I'm sending a follow-up email so that the maintainers can be in touch. I browsed the code and tried to fix the issue myself by modifying the "prompt_again()" function to execute PROMPT_COMMAND

Re: [PATCH] Add active mark, face support; activate mark on paste

2020-04-15 Thread Chet Ramey
On 4/15/20 10:37 AM, gentoo_esh...@tutanota.com wrote: >> This is the expected behavior with bracketed-paste enabled. The pasted text >> is `bracketed' by a start and end sequence -- that's how the face code >> knows what's been pasted and to highlight it -- and any embedded editing >>

Re: [PATCH] Add active mark, face support; activate mark on paste

2020-04-15 Thread gentoo_eshoes--- via Bug reports for the GNU Bourne Again SHell
Apr 14, 2020, 22:53 by chet.ra...@case.edu: > On 4/14/20 4:46 PM, gentoo_esh...@tutanota.com wrote: > >> Another 'face' issue(the 3rd?) I just noticed now: >> if I paste something that has "\n" inside it, like these 3 lines(only the >> first 2 lines have \n, but doesn't matter): >> -bash: