GNU bug report logs - #32784
25.2; Calc mode home on incorrect line depending on line-spacing

Previous Next

Package: emacs;

Reported by: Trevor Ballard <trevorcoleballard <at> gmail.com>

Date: Thu, 20 Sep 2018 15:21:01 UTC

Severity: minor

Tags: moreinfo

Found in version 25.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32784 in the body.
You can then email your comments to 32784 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32784; Package emacs. (Thu, 20 Sep 2018 15:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Trevor Ballard <trevorcoleballard <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 20 Sep 2018 15:21:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Trevor Ballard <trevorcoleballard <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2; Calc mode home on incorrect line depending on line-spacing
Date: Thu, 20 Sep 2018 10:17:27 +0200
[Message part 1 (text/plain, inline)]
When line-spacing is not nil, 0, 1, or 2, the calc mode home line
appears to be several lines above the real home (with the exact value
depending on the calc window size), forcing the user to scroll down
after each <RET> to see the most recently-calculated value. This
behavior can be avoided by setting line-spacing to one of the
aforementioned values in the calc buffer via calc-mode-hook



In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)
 of 2017-09-22, modified by Debian built on lgw01-amd64-050
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description:    Ubuntu 18.04.1 LTS

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --build x86_64-linux-gnu
 --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=gtk3
 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs25-jYekUr/emacs25-25.2+1=.
-fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Calculator

Minor modes in effect:
  ido-everywhere: t
  override-global-mode: t
  evil-snipe-override-mode: t
  evil-snipe-mode: t
  global-undo-tree-mode: t
  shell-dirtrack-mode: t
  evil-mode: t
  evil-local-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el
(source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
Loading cjk-enc...done
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done
Loading /etc/emacs/site-start.d/50texlive-lang-english.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Welcome to the GNU Emacs Calculator!  Press ‘?’ or ‘h’ for help, ‘q’ to quit

Load-path shadows:
/usr/share/emacs/25.2/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs25/site-lisp/latex-cjk-thai/thai-word hides
/usr/share/emacs/25.2/lisp/language/thai-word

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec epg mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils calc-alg calc-ext
calc-menu calc calc-loaddefs calc-macs manoj-dark-theme org-indent
org-element disp-table org-rmail org-mhe org-irc org-info org-gnus
org-docview doc-view subr-x jka-compr image-mode dired org-bibtex bibtex
org-bbdb org-w3m org org-macro org-footnote org-pcomplete org-list
org-faces org-entities noutline outline org-version ob-emacs-lisp ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint
ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu
calendar cal-loaddefs tramp tramp-compat auth-source cl-seq eieio
eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache
tramp-loaddefs trampver ucs-normalize format-spec ido wcy-swbuff
bind-key easy-mmode ein evil-snipe evil evil-integration undo-tree diff
evil-maps evil-commands reveal flyspell ispell evil-jumps
evil-command-window evil-types evil-search evil-ex shell pcomplete
comint ansi-color evil-macros evil-repeat evil-states evil-core advice
evil-common windmove thingatpt rect evil-digraphs evil-vars ring edmacro
kmacro server finder-inf info rx package epg-config seq byte-opt gv
bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs
pcase cl-lib time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 463334 17386)
 (symbols 48 40779 0)
 (miscs 40 161 211)
 (strings 32 100584 14457)
 (string-bytes 1 2691089)
 (vectors 16 54688)
 (vector-slots 8 921975 5529)
 (floats 8 343 49)
 (intervals 56 1224 0)
 (buffers 976 22))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32784; Package emacs. (Sat, 13 Jul 2019 02:10:01 GMT) Full text and rfc822 format available.

Message #8 received at 32784 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Trevor Ballard <trevorcoleballard <at> gmail.com>
Cc: 32784 <at> debbugs.gnu.org
Subject: Re: bug#32784: 25.2; Calc mode home on incorrect line depending on
 line-spacing
Date: Sat, 13 Jul 2019 04:09:02 +0200
Trevor Ballard <trevorcoleballard <at> gmail.com> writes:

> When line-spacing is not nil, 0, 1, or 2, the calc mode home line
> appears to be several lines above the real home (with the exact value
> depending on the calc window size), forcing the user to scroll down
> after each <RET> to see the most recently-calculated value. This
> behavior can be avoided by setting line-spacing to one of the
> aforementioned values in the calc buffer via calc-mode-hook

I tried setting the variable to 10 and saying M-x calc, and I didn't see
anything odd in particular.

Do you have a recipe, starting with "emacs -Q", to reproduce this error?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 13 Jul 2019 02:10:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32784; Package emacs. (Fri, 27 Sep 2019 16:31:01 GMT) Full text and rfc822 format available.

Message #13 received at 32784 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Trevor Ballard <trevorcoleballard <at> gmail.com>
Cc: 32784 <at> debbugs.gnu.org
Subject: Re: bug#32784: 25.2; Calc mode home on incorrect line depending on
 line-spacing
Date: Fri, 27 Sep 2019 18:30:38 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Trevor Ballard <trevorcoleballard <at> gmail.com> writes:
>
>> When line-spacing is not nil, 0, 1, or 2, the calc mode home line
>> appears to be several lines above the real home (with the exact value
>> depending on the calc window size), forcing the user to scroll down
>> after each <RET> to see the most recently-calculated value. This
>> behavior can be avoided by setting line-spacing to one of the
>> aforementioned values in the calc buffer via calc-mode-hook
>
> I tried setting the variable to 10 and saying M-x calc, and I didn't see
> anything odd in particular.
>
> Do you have a recipe, starting with "emacs -Q", to reproduce this error?

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please reopen this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 32784 <at> debbugs.gnu.org and Trevor Ballard <trevorcoleballard <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 27 Sep 2019 16:31:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 26 Oct 2019 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.