* bug#46238: 27.1; recenter-top-bottom in fullscreen
@ 2021-02-01 15:32 okay--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-02 8:42 ` martin rudalics
0 siblings, 1 reply; 9+ messages in thread
From: okay--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-02-01 15:32 UTC (permalink / raw)
To: 46238
When in fullscreen mode, recenter-top-bottom fails to toggle to the
"bottom" position. Pressing C-l with the cursor at the top will recenter
the window with the cursor in the middle, pressing it again does
nothing, and pressing it one more time will recenter the window with the
cursor at the top. The quirk is not present when emacs is not in
fullscreen mode.
In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
of 2020-11-07, modified by Debian built on x86-ubc-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: Debian GNU/Linux bullseye/sid
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 --enable-libsystemd --with-pop=yes
--enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-mailutils --build
x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
--libexecdir=/usr/lib --localstatedir=/var/lib
--infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd
--with-pop=yes
--enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-mailutils --with-cairo
--with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
'CFLAGS=-g -O2
-fdebug-prefix-map=/build/emacs-6jKC2B/emacs-27.1+1=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
-D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'
Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD
JSON PDUMPER LCMS2 GMP
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: Lisp
Minor modes in effect:
magit-auto-revert-mode: t
auto-revert-mode: t
global-git-commit-mode: t
paredit-mode: t
global-emojify-mode: t
emojify-mode: t
global-company-mode: t
company-mode: t
slime-trace-dialog-minor-mode: t
slime-autodoc-mode: t
slime-mode: t
pdf-occur-global-minor-mode: t
global-hl-line-mode: t
show-paren-mode: t
doom-modeline-mode: t
shell-dirtrack-mode: t
window-numbering-mode: t
persp-mode: t
beacon-mode: t
ivy-mode: t
projectile-mode: t
tooltip-mode: t
global-eldoc-mode: t
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
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
/usr/share/emacs/site-lisp/llvm-11/emacs hides /usr/share/emacs/site-lisp/llvm-9/emacs
/usr/share/emacs/site-lisp/llvm-11/tablegen-mode hides /usr/share/emacs/site-lisp/llvm-9/tablegen-mode
/usr/share/emacs/site-lisp/llvm-11/llvm-mode hides /usr/share/emacs/site-lisp/llvm-9/llvm-mode
/home/colony/.emacs.d/elpa/seq-2.22/seq hides /usr/share/emacs/27.1/lisp/emacs-lisp/seq
Features:
(shadow sort mail-extr emacsbug eieio-opt speedbar sb-image ezimage
dframe help-fns radix-tree tao-yin-theme punpun-dark-theme
punpun-light-theme punpun-common rotate pulse tabify elfeed-link rng-xsd
xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap sgml-mode nxml-util nxml-enc xmltok pcmpl-unix
goto-addr gnutls url-http url-gw url-auth url-cache elfeed-show
elfeed-search elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db
elfeed-lib url-queue xml-query org-archive magit-patch magit-subtree
magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help
ediff-init ediff-util magit-extras org-duration org-clock cal-move
diary-lib diary-loaddefs cal-iso org-agenda network-stream nsm misearch
multi-isearch org-element avl-tree ol-eww ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnir ol-docview ol-bibtex bibtex ol-bbdb ol-w3m deft ffap tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp
writeroom-mode visual-fill-column resize-window srcery-theme
humanoid-dark-theme dracula-theme material-theme moe-dark-theme
lab-dark-theme zenburn-theme goose-theme humanoid-light-theme
humanoid-themes bug-reference magit-bookmark magit-submodule
magit-obsolete magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode diff magit-core magit-autorevert autorevert filenotify
magit-margin magit-transient magit-process magit-mode git-commit
magit-git magit-section magit-utils crm log-edit pcvs-util add-log
with-editor dabbrev swiper vc-git diff-mode solo-jazz-theme
material-light-theme face-remap paredit emojify apropos tar-mode ht
company-oddmuse company-keywords company-etags company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb ps-ccrypt calibredb calibredb-library calibredb-ivy
calibredb-utils calibredb-annotation calibredb-transient calibredb-helm
calibredb-show calibredb-search calibredb-faces calibredb-core transient
sql view auth-source-pass mu4e desktop frameset mu4e-org mu4e-main
mu4e-headers mu4e-view gnus-art mm-uu mml2015 mm-view mml-smime smime
dig gnus-sum url url-proxy url-privacy url-expand url-methods
url-history mailcap shr url-cookie url-domsuf url-util svg xml dom
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range
gnus-win gnus nnheader mu4e-compose mu4e-context mu4e-draft mu4e-actions
org-capture rfc2368 smtpmail sendmail mu4e-mark mu4e-message flow-fill
mu4e-proc mu4e-utils doc-view mu4e-lists org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete
org-list org-faces org-entities org-version ob-emacs-lisp ob-core
ob-eval org-table ol org-keys org-compat org-macs org-loaddefs cal-menu
calendar cal-loaddefs mule-util mu4e-vars message rmc puny rfc822 mml
mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs time-date
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader
mu4e-meta haxe-mode cc-bytecomp cc-langs cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
slime-company company edmacro kmacro pcase slime-fancy slime-indentation
slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu
slime-package-fu slime-references slime-compiler-notes-tree
slime-scratch slime-presentations bridge slime-macrostep macrostep
slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-repl slime-parse slime etags fileloop generator xref project
arc-mode archive-mode noutline outline easy-mmode hyperspec server
pdf-occur tablist tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local find-func cedet dired
dired-loaddefs pdf-isearch let-alist pdf-misc imenu pdf-tools cus-edit
cus-start cus-load pdf-view jka-compr pdf-cache pdf-info tq pdf-util
format-spec image-mode exif tao-yang-theme tao-theme hl-line paren
doom-modeline doom-modeline-segments doom-modeline-env
doom-modeline-core shrink-path f s all-the-icons all-the-icons-faces
data-material data-weathericons data-octicons data-fileicons
data-faicons data-alltheicons bshell bookmark text-property-search pp
buffer-manage config-manage config-manage-mode config-manage-prop
config-manage-base choice-program eieio-base dash time-stamp
config-manage-declare choice-program-complete derived shell pcomplete
eieio-custom wid-edit window-numbering cl-extra help-mode perspective
advice rx beacon smex ido ivy delsel ivy-faces ivy-overlay colir color
projectile grep compile comint ansi-color ring ibuf-ext ibuffer
ibuffer-loaddefs thingatpt finder-inf slime-autoloads info package
easymenu browse-url url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer 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 composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
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 threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 867190 243647)
(symbols 48 52669 32)
(strings 32 273215 31701)
(string-bytes 1 11335951)
(vectors 16 121356)
(vector-slots 8 3943393 163794)
(floats 8 2800 2512)
(intervals 56 28008 14541)
(buffers 1000 213))
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#46238: 27.1; recenter-top-bottom in fullscreen
2021-02-01 15:32 bug#46238: 27.1; recenter-top-bottom in fullscreen okay--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-02-02 8:42 ` martin rudalics
2021-02-02 15:20 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: martin rudalics @ 2021-02-02 8:42 UTC (permalink / raw)
To: Colin Okay, 46238
> When in fullscreen mode, recenter-top-bottom fails to toggle to the
> "bottom" position. Pressing C-l with the cursor at the top will recenter
> the window with the cursor in the middle, pressing it again does
> nothing, and pressing it one more time will recenter the window with the
> cursor at the top. The quirk is not present when emacs is not in
> fullscreen mode.
>
>
> In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
> of 2020-11-07, modified by Debian built on x86-ubc-01
> Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
> System Description: Debian GNU/Linux bullseye/sid
Thanks for the report. I tried to reproduce this with emacs -Q, F11 and
a sufficiently large .el buffer using a GTK3 build for Debian 10 but
failed. After a third invocation, 'recenter-top-bottom' moves point to
a position somewhere at the bottom of the window. Is that the idea of
the function (I never used it before) or should it do something else?
Reading it for the first time, 'recenter-top-bottom' has an incredibly
misleading doc-string: For me "Move current buffer line to the specified
window line" means to (1) remove the buffer line at point from its
buffer and (2) reinsert it at the window line specified by ARG but I
doubt that that's the intended behavior. Maybe someone more
knowledgeable could make it more reasonable, maybe stealing text like
"positions the current line at the top of the window" from 'recenter'.
In either case, please try to reproduce the behavior you see with emacs
-Q and maybe some trivial buffer (whose contents you could also post
here). Then please edebug 'recenter-top-bottom' and try to find out
where it fails in comparison with say a maximized or normal window. In
particular we'd have to know the value of 'recenter-last-op' in the
invocation where it fails. Then you could try to feed the failing
argument into 'recenter' itself and look whether it fails there as well.
Thanks, martin
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#46238: 27.1; recenter-top-bottom in fullscreen
2021-02-02 8:42 ` martin rudalics
@ 2021-02-02 15:20 ` Eli Zaretskii
2021-02-02 16:03 ` martin rudalics
2021-02-02 16:46 ` bug#46238: [External] : " Drew Adams
0 siblings, 2 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-02-02 15:20 UTC (permalink / raw)
To: martin rudalics; +Cc: okay, 46238
> From: martin rudalics <rudalics@gmx.at>
> Date: Tue, 2 Feb 2021 09:42:28 +0100
>
> Reading it for the first time, 'recenter-top-bottom' has an incredibly
> misleading doc-string: For me "Move current buffer line to the specified
> window line" means to (1) remove the buffer line at point from its
> buffer and (2) reinsert it at the window line specified by ARG but I
> doubt that that's the intended behavior. Maybe someone more
> knowledgeable could make it more reasonable, maybe stealing text like
> "positions the current line at the top of the window" from 'recenter'.
Is the below better?
"Scroll the window so that current line is at the middle of the window.
Successive invocations scroll the window in a cyclical order to put
the current line at certain places within the window, as determined by
`recenter-positions'. By default, the second invocation puts the
current line at the top-most window line, the third invocation puts it
on the bottom-most window line, and then the order is reused.
With numeric prefix ARG, move current line ARG lines below the window top.
With plain `C-u', move current line to window center."
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#46238: 27.1; recenter-top-bottom in fullscreen
2021-02-02 15:20 ` Eli Zaretskii
@ 2021-02-02 16:03 ` martin rudalics
2021-02-02 16:26 ` Eli Zaretskii
2021-02-02 16:46 ` bug#46238: [External] : " Drew Adams
1 sibling, 1 reply; 9+ messages in thread
From: martin rudalics @ 2021-02-02 16:03 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: okay, 46238
> Is the below better?
It's perfect for me.
Thanks, martin
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#46238: 27.1; recenter-top-bottom in fullscreen
2021-02-02 16:03 ` martin rudalics
@ 2021-02-02 16:26 ` Eli Zaretskii
2021-04-21 3:04 ` Stefan Kangas
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2021-02-02 16:26 UTC (permalink / raw)
To: martin rudalics; +Cc: okay, 46238
> Cc: okay@toyful.space, 46238@debbugs.gnu.org
> From: martin rudalics <rudalics@gmx.at>
> Date: Tue, 2 Feb 2021 17:03:39 +0100
>
> > Is the below better?
>
> It's perfect for me.
Thanks, installed on the release branch.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#46238: [External] : bug#46238: 27.1; recenter-top-bottom in fullscreen
2021-02-02 15:20 ` Eli Zaretskii
2021-02-02 16:03 ` martin rudalics
@ 2021-02-02 16:46 ` Drew Adams
1 sibling, 0 replies; 9+ messages in thread
From: Drew Adams @ 2021-02-02 16:46 UTC (permalink / raw)
To: Eli Zaretskii, martin rudalics; +Cc: okay@toyful.space, 46238@debbugs.gnu.org
> Is the below better?
>
> "Scroll the window so that current line is at the middle of the
> window.
> Successive invocations scroll the window in a cyclical order to put
> the current line at certain places within the window, as determined by
> `recenter-positions'. By default, the second invocation puts the
> current line at the top-most window line, the third invocation puts it
> on the bottom-most window line, and then the order is reused.
>
> With numeric prefix ARG, move current line ARG lines below the window
> top.
> With plain `C-u', move current line to window center."
+1
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#46238: 27.1; recenter-top-bottom in fullscreen
2021-02-02 16:26 ` Eli Zaretskii
@ 2021-04-21 3:04 ` Stefan Kangas
2021-04-21 7:03 ` martin rudalics
2021-04-21 8:51 ` Eli Zaretskii
0 siblings, 2 replies; 9+ messages in thread
From: Stefan Kangas @ 2021-04-21 3:04 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: okay, 46238
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: okay@toyful.space, 46238@debbugs.gnu.org
>> From: martin rudalics <rudalics@gmx.at>
>> Date: Tue, 2 Feb 2021 17:03:39 +0100
>>
>> > Is the below better?
>>
>> It's perfect for me.
>
> Thanks, installed on the release branch.
It seems like this was fixed. Should this be closed or is there more to
do here?
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#46238: 27.1; recenter-top-bottom in fullscreen
2021-04-21 3:04 ` Stefan Kangas
@ 2021-04-21 7:03 ` martin rudalics
2021-04-21 8:51 ` Eli Zaretskii
1 sibling, 0 replies; 9+ messages in thread
From: martin rudalics @ 2021-04-21 7:03 UTC (permalink / raw)
To: Stefan Kangas, Eli Zaretskii; +Cc: okay, 46238
> It seems like this was fixed. Should this be closed or is there more to
> do here?
It should be closed.
martin
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#46238: 27.1; recenter-top-bottom in fullscreen
2021-04-21 3:04 ` Stefan Kangas
2021-04-21 7:03 ` martin rudalics
@ 2021-04-21 8:51 ` Eli Zaretskii
1 sibling, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-04-21 8:51 UTC (permalink / raw)
To: Stefan Kangas; +Cc: okay, 46238-done
> From: Stefan Kangas <stefan@marxist.se>
> Date: Tue, 20 Apr 2021 22:04:00 -0500
> Cc: martin rudalics <rudalics@gmx.at>, okay@toyful.space, 46238@debbugs.gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Cc: okay@toyful.space, 46238@debbugs.gnu.org
> >> From: martin rudalics <rudalics@gmx.at>
> >> Date: Tue, 2 Feb 2021 17:03:39 +0100
> >>
> >> > Is the below better?
> >>
> >> It's perfect for me.
> >
> > Thanks, installed on the release branch.
>
> It seems like this was fixed. Should this be closed or is there more to
> do here?
No; closing.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-04-21 8:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-01 15:32 bug#46238: 27.1; recenter-top-bottom in fullscreen okay--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-02 8:42 ` martin rudalics
2021-02-02 15:20 ` Eli Zaretskii
2021-02-02 16:03 ` martin rudalics
2021-02-02 16:26 ` Eli Zaretskii
2021-04-21 3:04 ` Stefan Kangas
2021-04-21 7:03 ` martin rudalics
2021-04-21 8:51 ` Eli Zaretskii
2021-02-02 16:46 ` bug#46238: [External] : " Drew Adams
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.