[Github-comments] [geany/geany] Ask whether to open new files from command-line (#2369)
xiota
notifications at xxxxx
Tue Nov 23 20:50:26 UTC 2021
Can this be closed?
* It's been 2 years, so unlikely to be merged.
* I agree with... "it's not a great idea to stick more blocking dialogs in the normal flow for normal users." (But I'd phrase it: "Agh. Please stop adding more popups to Geany.")
* Is it really any easier to deal with popups than to just close the documents? (Ctrl+W)
* Pay more attention to what you're typing?
* Use copy/paste.
* Here's a bash script workaround:
```bash
#!/usr/bin/env bash
for f in "$@" ; do
if [ -f "$f" ] ; then
geany "$f" &
else
if [ ! "$ignore_rest" = true ] ; then
if zenity --question \
--title "Question" \
--text "File not found: \"$f\"\n\nCreate new document?"
then
geany "$f" &
else
ignore_rest=true
fi
fi
fi
done
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2369#issuecomment-977158429
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211123/6ef58c7e/attachment.htm>
More information about the Github-comments
mailing list