Package: reportbug
Version: 11.5.1
Severity: normal
X-Debbugs-Cc: safinas...@gmail.com

When reportbug spawns emacs editor, it doesn't put cursor to correct position. 
The cursor is placed in first line
instead. This happens if I never edited /etc/reportbug.conf . If I uncomment 
line 'editor "emacs -nw"' in the
config, then cursor will be placed correctly.

This is exact steps to reproduce starting from fresh docker container: 
https://paste.debian.net/hidden/66b1f071/

You may say: "Just edit reportbug.conf". Well, when I want to report some bug I 
often create fresh system (for
example, I start fresh docker container), then reproduce the bug in it and then 
report the bug from this system.
I usually don't edit reportbug.conf every time.


-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /root/.reportbugrc:
reportbug_version "11.5.1"
mode advanced
ui text
realname "Askar Safin"
email "safinas...@gmail.com"
no-check-uid
no-cc
list-cc-me
smtphost reportbug.debian.org

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-0.deb9.17-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages reportbug depends on:
ii  apt                2.5.4
ii  python3            3.10.6-1
ii  python3-reportbug  11.5.1
ii  sensible-utils     0.0.17

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
ii  debconf                                    1.5.79
pn  debsums                                    <none>
pn  dlocate                                    <none>
ii  emacs-bin-common                           1:27.1+1-3.1+b1
ii  exim4-daemon-light [mail-transport-agent]  4.96-8
ii  file                                       1:5.41-4
pn  gnupg | pgp                                <none>
pn  python3-urwid                              <none>
pn  reportbug-gtk                              <none>
pn  xdg-utils                                  <none>

Versions of packages python3-reportbug depends on:
ii  apt                2.5.4
ii  file               1:5.41-4
ii  python3            3.10.6-1
ii  python3-apt        2.3.0+nmu1
ii  python3-debian     0.1.48
ii  python3-debianbts  3.2.4
ii  python3-requests   2.27.1+dfsg-1
ii  sensible-utils     0.0.17

python3-reportbug suggests no packages.

-- Configuration Files:
/etc/reportbug.conf changed [not included]

-- no debconf information

Reply via email to