[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1023864: marked as done (reportbug: Doesn't put cursor to correct position in emacs unless config specially edited)



Your message dated Sun, 27 Nov 2022 12:05:35 +0100
with message-id <f599baa5-393f-6f47-bc38-77750714ae3f@web.de>
and subject line Re: reportbug: Doesn't put cursor to correct position in emacs unless config specially edited
has caused the Debian Bug report #1023864,
regarding reportbug: Doesn't put cursor to correct position in emacs unless config specially edited
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1023864: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023864
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: reportbug
Version: 11.5.1
Severity: normal
X-Debbugs-Cc: safinaskar@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 "safinaskar@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

--- End Message ---
--- Begin Message ---
> 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.

No need to edit the configuration file. You are spawning
sensible-editor, so reportbug does not know it is emacs for you. It
should work with EDITOR=emacs in your environment.

Closing.

--- End Message ---

Reply to: