Skip to content
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

telega-report-bug starts in help-mode #391

Open
a13 opened this issue Jan 6, 2023 · 1 comment
Open

telega-report-bug starts in help-mode #391

a13 opened this issue Jan 6, 2023 · 1 comment

Comments

@a13
Copy link
Contributor

a13 commented Jan 6, 2023

When I run M-x telega-report-bug the resulting buffer ends up running help-mode, which

  • makes a buffer read-only

  • doesn't hilight markdown/gfm-specific stuff

Telega Setup

OS: Ubuntu 22.04.1 LTS
Emacs: GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
Features: svg ffmpeg
Telega: telega v0.8.81 (TDLib v1.8.8) (telega-server v0.8.2 [docker])

Current Behavior

*Telega Bug Report* is in help mode.

Steps to Reproduce

  1. M-x telega-report-bug

Possible Solution

  1. turn readonly mode off (optional, probably we don't want to use with-help-window at all)
  2. (require 'markdown nil t) to check if the mode is available
  3. run gfm-mode
@a13
Copy link
Contributor Author

a13 commented Jan 6, 2023

P.S. another thought, as an atomic-chrome user, I usually already have an issue skeleton opened in a buffer, but I don't want to run all commands manually, so I'd like to have a function telega-report-bug-generate which would fill the current buffer with all needed information (nothing smart, just replacing the current buffer content).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant