~rjarry/aerc#67: 
Variable $ex handling in compose::editor

Using the default binds.conf and changing the value of $ex under [compose::editor] brings different results (found by using emacs -nw as editor):

  • Default value (<C-x>): <C-x> brings the command prompt, : is passed to emacs.
  • Line removed from config: <C-x> is passed to emacs, but : brings the command prompt when it shouldn't.
  • <C-a> or <C-b>: : is passed to emacs, but <C-a>/<C-b> is also passed to emacs, when it should bring the prompt.
  • <Esc>: everything works as expected, : is passed to emacs and <Esc> does bring the command prompt.
Status
RESOLVED FIXED
Submitter
~q3cpma
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~rockorager 2 years ago

I sent a patch that should fix this. Can you test it out?

https://lists.sr.ht/~rjarry/aerc-devel/patches/35712

~q3cpma referenced this from #67 2 years ago

~q3cpma 2 years ago

On Fri Sep 30, 2022 at 4:42 PM CEST, ~rockorager wrote:

I sent a patch that should fix this. Can you test it out?

https://lists.sr.ht/~rjarry/aerc-devel/patches/35712

-- View on the web: https://todo.sr.ht/~rjarry/aerc/67#event-207657

Nah, second point still fails, unless $ex = <:> is supposed to an undocumented default, in that case, it works fine.

~rockorager 2 years ago

: is indeed an undocumented default.

~rjarry REPORTED FIXED 2 years ago

Tim Culverhouse referenced this ticket in commit 1c2dd4c.

Register here or Log in to comment, or comment via email.