-
-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edit-with-external-editor
does not work with trailing space in $VISUAL
#3589
Comments
Can you share the output of |
|
I can't reproduce any of these reports. I set $ echo $VISUAL
emacsclient -r Note that you need to hit |
I've figured it out!
...while command 2 does not have such an issue. Though it's a mistake on my part to configure EDITOR that way, should trailing space be significant for such a thing? |
edit-with-external-editor
does not work with emacsclientedit-with-external-editor
does not work with trailing space in $VISUAL
Describe the bug
edit-with-external-editor
does not work when$VISUAL
(thereforeexternal-editor-program
) is set toemacsclient
: it creates a new buffer, but saving that buffer or typing 'C-x C-#' does not enter the text you typed.Also, there are various errors if
$VISUAL
has arguments, e.g. for 'emacsclient --timeout=3 --create-frame --', the command fails with the following message:'emacsclient --create-frame --':
I also noticed that with $VISUAL set to 'emacs', the text is not entered until emacs exits. My guess is that nyxt wrongly assumes that editing is complete when the process exits, and since emacsclient doesn't really "exit", the text is never entered.
Precise recipe to reproduce the issue
emacs --bg-daemon; VISUAL=emacsclient nyxt
, then executeedit-with-external-editor
when in an input field. Type in the opened buffer, then typeC-x C-#
to finish editing. Notice how the text is not input.For website-specific issues:
Can you reproduce this issue with Epiphany / GNOME Web (https://wiki.gnome.org/Apps/Web)?
Information
nyxt --system-information
:Output when started from a shell
The text was updated successfully, but these errors were encountered: