unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64497: 30.0.50; `other-buffer' returns current buffer
@ 2023-07-06 16:16 hugo
  2023-07-06 17:40 ` Eli Zaretskii
  2024-06-02 21:11 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 4+ messages in thread
From: hugo @ 2023-07-06 16:16 UTC (permalink / raw)
  To: 64497

I've just built Emacs from master. My binding to
`mode-line-other-buffer' wasn't doing what it should, so I investigated.
On my machine, the form `(other-buffer)' returns the current buffer.

I notice that a recent change to `other-buffer' relates to scratch
buffers (though my C isn't good enough to know what it really does). I
have tested this in a scratch buffer, and there too `(other-buffer)'
returns the current buffer (i.e. *scratch*).

`(other-buffer (current-buffer))' behaves as it -- i.e. returns a buffer
other than the current buffer.

I presume this behaviour is not intended. If it IS, then
`mode-line-other-buffer' no longer does anything (it just switches to
the current buffer), and an explicit `(current-buffer)' arg should
probably be added.

Best,

Hugo

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5,
  cairo version 1.16.0) of 2023-07-06 built on undertown
Repository revision: 65c90040eb08cd551120eda0e6647b59b25563d5
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 
11.0.12004000
System Description: Debian GNU/Linux 10 (buster)

Configured using:
  'configure --with-json --with-xwidgets --with-tree-sitter'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3
ZLIB

Important settings:
   value of $LANG: en_GB.UTF-8
   locale-coding-system: utf-8-unix

Major mode: ELisp/d

Minor modes in effect:
   flyspell-mode: t
   visual-fill-column-mode: t
   persp-mode: t
   outshine-mode: t
   citar-embark-mode: t
   corfu-prescient-mode: t
   global-corfu-mode: t
   corfu-mode: t
   emms-mode-line-mode: t
   emms-playing-time-display-mode: t
   emms-playing-time-mode: t
   flymake-mode: t
   TeX-PDF-mode: t
   TeX-source-correlate-mode: auto
   global-git-gutter+-mode: t
   git-gutter+-mode: t
   magit-todos-mode: t
   global-git-commit-mode: t
   magit-auto-revert-mode: t
   auto-revert-mode: t
   shell-dirtrack-mode: t
   all-the-icons-completion-mode: t
   global-hl-todo-mode: t
   hl-todo-mode: t
   global-form-feed-mode: t
   form-feed-mode: t
   org-roam-db-autosync-mode: t
   outline-minor-mode: t
   display-time-mode: t
   display-battery-mode: t
   pixel-scroll-precision-mode: t
   global-reveal-mode: t
   reveal-mode: t
   marginalia-mode: t
   vertico-prescient-mode: t
   savehist-mode: t
   vertico-multiform-mode: t
   vertico-mouse-mode: t
   vertico-mode: t
   recentf-mode: t
   url-handler-mode: t
   electric-pair-mode: t
   global-subword-mode: t
   subword-mode: t
   delete-selection-mode: t
   repeat-mode: t
   server-mode: t
   leaf-key-override-global-mode: t
   straight-use-package-mode: t
   straight-package-neutering-mode: t
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   show-paren-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   global-prettify-symbols-mode: t
   prettify-symbols-mode: t
   tab-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   column-number-mode: t
   line-number-mode: t
   indent-tabs-mode: t
   transient-mark-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   abbrev-mode: t

Load-path shadows:
/home/hugo/.config/emacs/straight/build/transient/transient hides 
/usr/local/share/emacs/30.0.50/lisp/transient
/home/hugo/.config/emacs/straight/build/xref/xref hides 
/usr/local/share/emacs/30.0.50/lisp/progmodes/xref
/home/hugo/.config/emacs/straight/build/flymake/flymake hides 
/usr/local/share/emacs/30.0.50/lisp/progmodes/flymake
/home/hugo/.config/emacs/straight/build/project/project hides 
/usr/local/share/emacs/30.0.50/lisp/progmodes/project
/home/hugo/.config/emacs/straight/build/org/ob-org hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-org
/home/hugo/.config/emacs/straight/build/org/oc-biblatex hides 
/usr/local/share/emacs/30.0.50/lisp/org/oc-biblatex
/home/hugo/.config/emacs/straight/build/org/ob-gnuplot hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-gnuplot
/home/hugo/.config/emacs/straight/build/org/ol-eww hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-eww
/home/hugo/.config/emacs/straight/build/org/ob-makefile hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-makefile
/home/hugo/.config/emacs/straight/build/org/ox-publish hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-publish
/home/hugo/.config/emacs/straight/build/org/org-version hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-version
/home/hugo/.config/emacs/straight/build/org/org-list hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-list
/home/hugo/.config/emacs/straight/build/org/org-pcomplete hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-pcomplete
/home/hugo/.config/emacs/straight/build/org/ob-groovy hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-groovy
/home/hugo/.config/emacs/straight/build/org/ob-haskell hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-haskell
/home/hugo/.config/emacs/straight/build/org/org-ctags hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-ctags
/home/hugo/.config/emacs/straight/build/org/org-src hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-src
/home/hugo/.config/emacs/straight/build/org/org-habit hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-habit
/home/hugo/.config/emacs/straight/build/org/ox hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox
/home/hugo/.config/emacs/straight/build/org/ol-eshell hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-eshell
/home/hugo/.config/emacs/straight/build/org/org-num hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-num
/home/hugo/.config/emacs/straight/build/org/org hides 
/usr/local/share/emacs/30.0.50/lisp/org/org
/home/hugo/.config/emacs/straight/build/org/ol-irc hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-irc
/home/hugo/.config/emacs/straight/build/org/ob-eval hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-eval
/home/hugo/.config/emacs/straight/build/org/oc-csl hides 
/usr/local/share/emacs/30.0.50/lisp/org/oc-csl
/home/hugo/.config/emacs/straight/build/org/org-capture hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-capture
/home/hugo/.config/emacs/straight/build/org/org-tempo hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-tempo
/home/hugo/.config/emacs/straight/build/org/ob-js hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-js
/home/hugo/.config/emacs/straight/build/org/ob-java hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-java
/home/hugo/.config/emacs/straight/build/org/ox-ascii hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-ascii
/home/hugo/.config/emacs/straight/build/org/ox-beamer hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-beamer
/home/hugo/.config/emacs/straight/build/org/ob-shell hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-shell
/home/hugo/.config/emacs/straight/build/org/org-mobile hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-mobile
/home/hugo/.config/emacs/straight/build/org/oc-basic hides 
/usr/local/share/emacs/30.0.50/lisp/org/oc-basic
/home/hugo/.config/emacs/straight/build/org/org-indent hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-indent
/home/hugo/.config/emacs/straight/build/org/oc hides 
/usr/local/share/emacs/30.0.50/lisp/org/oc
/home/hugo/.config/emacs/straight/build/org/ob-calc hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-calc
/home/hugo/.config/emacs/straight/build/org/ob-comint hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-comint
/home/hugo/.config/emacs/straight/build/org/org-footnote hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-footnote
/home/hugo/.config/emacs/straight/build/org/org-attach-git hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-attach-git
/home/hugo/.config/emacs/straight/build/org/ox-html hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-html
/home/hugo/.config/emacs/straight/build/org/ob-ruby hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-ruby
/home/hugo/.config/emacs/straight/build/org/ox-latex hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-latex
/home/hugo/.config/emacs/straight/build/org/org-cycle hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-cycle
/home/hugo/.config/emacs/straight/build/org/org-persist hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-persist
/home/hugo/.config/emacs/straight/build/org/ob-lilypond hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-lilypond
/home/hugo/.config/emacs/straight/build/org/ob-R hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-R
/home/hugo/.config/emacs/straight/build/org/ob-exp hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-exp
/home/hugo/.config/emacs/straight/build/org/ox-texinfo hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-texinfo
/home/hugo/.config/emacs/straight/build/org/ob-css hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-css
/home/hugo/.config/emacs/straight/build/org/ob-perl hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-perl
/home/hugo/.config/emacs/straight/build/org/ob-julia hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-julia
/home/hugo/.config/emacs/straight/build/org/ob-ocaml hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-ocaml
/home/hugo/.config/emacs/straight/build/org/ob-sql hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-sql
/home/hugo/.config/emacs/straight/build/org/oc-natbib hides 
/usr/local/share/emacs/30.0.50/lisp/org/oc-natbib
/home/hugo/.config/emacs/straight/build/org/org-datetree hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-datetree
/home/hugo/.config/emacs/straight/build/org/org-element hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-element
/home/hugo/.config/emacs/straight/build/org/ob-latex hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-latex
/home/hugo/.config/emacs/straight/build/org/ol-bibtex hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-bibtex
/home/hugo/.config/emacs/straight/build/org/ox-koma-letter hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-koma-letter
/home/hugo/.config/emacs/straight/build/org/ob-screen hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-screen
/home/hugo/.config/emacs/straight/build/org/ob-sass hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-sass
/home/hugo/.config/emacs/straight/build/org/ol hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol
/home/hugo/.config/emacs/straight/build/org/ox-icalendar hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-icalendar
/home/hugo/.config/emacs/straight/build/org/ol-w3m hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-w3m
/home/hugo/.config/emacs/straight/build/org/ol-bbdb hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-bbdb
/home/hugo/.config/emacs/straight/build/org/org-archive hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-archive
/home/hugo/.config/emacs/straight/build/org/org-agenda hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-agenda
/home/hugo/.config/emacs/straight/build/org/org-loaddefs hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-loaddefs
/home/hugo/.config/emacs/straight/build/org/ob-sqlite hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-sqlite
/home/hugo/.config/emacs/straight/build/org/ob-scheme hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-scheme
/home/hugo/.config/emacs/straight/build/org/ox-odt hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-odt
/home/hugo/.config/emacs/straight/build/org/org-fold hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-fold
/home/hugo/.config/emacs/straight/build/org/ob-dot hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-dot
/home/hugo/.config/emacs/straight/build/org/org-table hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-table
/home/hugo/.config/emacs/straight/build/org/ob-table hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-table
/home/hugo/.config/emacs/straight/build/org/org-faces hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-faces
/home/hugo/.config/emacs/straight/build/org/ol-docview hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-docview
/home/hugo/.config/emacs/straight/build/org/ox-org hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-org
/home/hugo/.config/emacs/straight/build/org/org-crypt hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-crypt
/home/hugo/.config/emacs/straight/build/org/ob-fortran hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-fortran
/home/hugo/.config/emacs/straight/build/org/org-timer hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-timer
/home/hugo/.config/emacs/straight/build/org/ol-man hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-man
/home/hugo/.config/emacs/straight/build/org/ob-awk hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-awk
/home/hugo/.config/emacs/straight/build/org/ob-processing hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-processing
/home/hugo/.config/emacs/straight/build/org/org-goto hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-goto
/home/hugo/.config/emacs/straight/build/org/ob-matlab hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-matlab
/home/hugo/.config/emacs/straight/build/org/ol-mhe hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-mhe
/home/hugo/.config/emacs/straight/build/org/ob-clojure hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-clojure
/home/hugo/.config/emacs/straight/build/org/ob-sed hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-sed
/home/hugo/.config/emacs/straight/build/org/ob-emacs-lisp hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-emacs-lisp
/home/hugo/.config/emacs/straight/build/org/ox-md hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-md
/home/hugo/.config/emacs/straight/build/org/org-refile hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-refile
/home/hugo/.config/emacs/straight/build/org/org-fold-core hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-fold-core
/home/hugo/.config/emacs/straight/build/org/ob-eshell hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-eshell
/home/hugo/.config/emacs/straight/build/org/ol-doi hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-doi
/home/hugo/.config/emacs/straight/build/org/ob-ref hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-ref
/home/hugo/.config/emacs/straight/build/org/ol-gnus hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-gnus
/home/hugo/.config/emacs/straight/build/org/ob-lua hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-lua
/home/hugo/.config/emacs/straight/build/org/ob-lisp hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-lisp
/home/hugo/.config/emacs/straight/build/org/ob-octave hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-octave
/home/hugo/.config/emacs/straight/build/org/ob-python hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-python
/home/hugo/.config/emacs/straight/build/org/ol-info hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-info
/home/hugo/.config/emacs/straight/build/org/org-duration hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-duration
/home/hugo/.config/emacs/straight/build/org/ob-plantuml hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-plantuml
/home/hugo/.config/emacs/straight/build/org/org-id hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-id
/home/hugo/.config/emacs/straight/build/org/org-keys hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-keys
/home/hugo/.config/emacs/straight/build/org/org-attach hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-attach
/home/hugo/.config/emacs/straight/build/org/org-clock hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-clock
/home/hugo/.config/emacs/straight/build/org/oc-bibtex hides 
/usr/local/share/emacs/30.0.50/lisp/org/oc-bibtex
/home/hugo/.config/emacs/straight/build/org/org-inlinetask hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-inlinetask
/home/hugo/.config/emacs/straight/build/org/ol-rmail hides 
/usr/local/share/emacs/30.0.50/lisp/org/ol-rmail
/home/hugo/.config/emacs/straight/build/org/ox-man hides 
/usr/local/share/emacs/30.0.50/lisp/org/ox-man
/home/hugo/.config/emacs/straight/build/org/ob-C hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-C
/home/hugo/.config/emacs/straight/build/org/ob-ditaa hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-ditaa
/home/hugo/.config/emacs/straight/build/org/ob-lob hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-lob
/home/hugo/.config/emacs/straight/build/org/ob-core hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-core
/home/hugo/.config/emacs/straight/build/org/org-lint hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-lint
/home/hugo/.config/emacs/straight/build/org/org-macro hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-macro
/home/hugo/.config/emacs/straight/build/org/org-compat hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-compat
/home/hugo/.config/emacs/straight/build/org/org-mouse hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-mouse
/home/hugo/.config/emacs/straight/build/org/org-protocol hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-protocol
/home/hugo/.config/emacs/straight/build/org/org-colview hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-colview
/home/hugo/.config/emacs/straight/build/org/ob-tangle hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-tangle
/home/hugo/.config/emacs/straight/build/org/org-feed hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-feed
/home/hugo/.config/emacs/straight/build/org/ob-forth hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-forth
/home/hugo/.config/emacs/straight/build/org/org-macs hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-macs
/home/hugo/.config/emacs/straight/build/org/ob hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob
/home/hugo/.config/emacs/straight/build/org/org-entities hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-entities
/home/hugo/.config/emacs/straight/build/org/org-plot hides 
/usr/local/share/emacs/30.0.50/lisp/org/org-plot
/home/hugo/.config/emacs/straight/build/org/ob-maxima hides 
/usr/local/share/emacs/30.0.50/lisp/org/ob-maxima
/home/hugo/.config/emacs/straight/build/dictionary/dictionary hides 
/usr/local/share/emacs/30.0.50/lisp/net/dictionary
/home/hugo/.config/emacs/straight/build/let-alist/let-alist hides 
/usr/local/share/emacs/30.0.50/lisp/emacs-lisp/let-alist
/home/hugo/.config/emacs/straight/build/eldoc/eldoc hides 
/usr/local/share/emacs/30.0.50/lisp/emacs-lisp/eldoc

Features:
(shadow bbdb-message mail-extr emacsbug goto-addr face-remap
vertico-directory flymake-cc cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs cus-start dig gnus-sum shr
pixel-fill kinsoku gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud
nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range
gnus-win gnus nnheader range ol-docview doc-view ol-bibtex ol-bbdb
ol-w3m ol-doi org-link-doi emacs-news-mode pulse color xref cape
shortdoc comp comp-cstr help-fns dired-aux mule-util ace-window avy
svg-battery-indicator svg dom flyspell ispell checkdoc
visual-fill-column outshine vc-hg vc-git vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs log-view vc vc-dispatcher breadcrumb breadcrumb-autoloads
perspective perspective-autoloads inspector debug backtrace
inspector-autoloads package-lint-flymake-autoloads
package-lint-autoloads outshine-org-cmds outorg loaddefs-gen lisp-mnt
radix-tree consult-emms-embark consult-emms citar-embark corfu-prescient
corfu embark-org embark-consult embark ffap consult-vertico consult
consult-emms-autoloads network-stream emms-librefm-stream
emms-librefm-scrobbler emms-playlist-limit emms-i18n emms-history
emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks
emms-cue emms-mode-line-icon emms-browser sort emms-volume
emms-volume-sndioctl emms-volume-mixerctl emms-volume-pulse
emms-volume-amixer emms-playlist-sort emms-last-played emms-player-xine
emms-lyrics emms-streams emms-show-all emms-tag-editor emms-tag-tracktag
emms-mark emms-mode-line emms-info-native bindat emms-info-exiftool
emms-info-tinytag emms-info-metaflac emms-info-opusinfo
emms-info-ogginfo emms-info-mp3info emms-playlist-mode emms-player-vlc
emms-player-mpv emms-playing-time emms-player-mplayer emms-setup
emms-player-mpd emms-url emms-cache emms-info emms-later-do
emms-source-playlist emms-source-file locate emms-player-simple emms
emms-compat emms-autoloads citar citar-file citar-cache citar-format
related-files-recipe related-files related-files-autoloads
easi-result-list-presenter easi-results-list-presenter easi easi-sort
easi-result easi-searchable easi-utils easi-presenter
easi-structured-object-getter pdf-view-restore-autoloads pdf-tools
pdf-view magit-bookmark bookmark jka-compr pdf-cache pdf-info tq
pdf-util pdf-macs image-mode exif pdf-tools-autoloads tablist-autoloads
bbdb-mua bbdb-com bbdb bbdb-site bbdb-autoloads pinentry
pinentry-autoloads password-store-autoloads auth-source-pass
consult-reftex-autoloads auctex-latexmk tex-buf latex latex-flymake
flymake-proc flymake project thingatpt tex-ispell tex-style
auctex-latexmk-autoloads tex texmathp auctex-autoloads tex-site
citar-embark-autoloads bibtex-completion biblio biblio-download
biblio-dissemin biblio-ieee biblio-hal biblio-dblp biblio-crossref
biblio-arxiv timezone biblio-doi biblio-core let-alist url-queue
url-file ido hl-line parsebib citar-autoloads
bibtex-completion-autoloads biblio-autoloads biblio-core-autoloads
ebib-autoloads bibtex shell-pop term disp-table ehelp
shell-pop-autoloads git-gutter+ tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat parse-time iso8601
git-gutter+-autoloads forge-core forge-db closql code-review-autoloads
emojify-autoloads ht-autoloads deferred-autoloads uuidgen-autoloads
a-autoloads magit-send-email-autoloads magit-todos pcre2el rxt
re-builder f s async grep compile magit-todos-autoloads
pcre2el-autoloads async-autoloads forge-autoloads yaml-autoloads
ghub-autoloads treepy-autoloads let-alist-autoloads closql-autoloads
git-modes-autoloads magit-patch 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 package browse-url
magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff
smerge-mode diff diff-mode easy-mmode git-commit log-edit message
sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived
epg rfc6068 epg-config gnus-util text-property-search mm-decode
mm-bodies mm-encode mailabbrev mail-utils gmm-utils mailheader pcvs-util
add-log magit-core magit-autorevert autorevert filenotify magit-margin
magit-transient magit-process with-editor shell magit-mode transient
magit-git magit-base crm all-the-icons-completion
all-the-icons-completion-autoloads all-the-icons all-the-icons-faces
data-material data-weathericons data-octicons data-fileicons
data-faicons data-alltheicons all-the-icons-autoloads
humanoid-dark-theme hl-todo humanoid-themes humanoid-themes-autoloads
hl-todo-autoloads form-feed form-feed-autoloads
visual-fill-column-autoloads outshine-autoloads outorg-autoloads
deft-autoloads org-roam-ui-autoloads websocket-autoloads
simple-httpd-autoloads warnings org-roam-migrate org-roam-log
org-roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db
org-roam-utils org-roam-compat org-roam org-capture org-attach
emacsql-sqlite url-http url-auth mail-parse rfc2231 rfc2047 rfc2045
mm-util ietf-drums mail-prsvr url-gw nsm puny url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap advice emacsql emacsql-compiler
magit-section dash org-roam-autoloads citeproc-autoloads
parsebib-autoloads string-inflection-autoloads queue-autoloads
f-autoloads s-autoloads emacsql-sqlite-autoloads emacsql-autoloads
org-contrib-autoloads org-appear-autoloads ox-odt rng-loc rng-uri
rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table
ox-ascii ox-publish ox org-element org-persist xdg org-id org-refile
ol-man org org-macro org-footnote org-pcomplete pcomplete org-list
org-faces org-entities time-date noutline outline ob-latex ob-emacs-lisp
org-table org-loaddefs find-func cal-menu calendar cal-loaddefs avl-tree
generator ob ob-tangle ol org-src ob-ref ob-lob ob-table ob-exp
ob-comint comint ansi-osc ansi-color ob-core org-cycle org-fold
org-fold-core ob-eval org-keys oc org-compat org-version org-macs
orgit-autoloads magit-autoloads magit-section-autoloads
git-commit-autoloads with-editor-autoloads transient-autoloads
dash-autoloads undohist undohist-autoloads time
svg-battery-indicator-autoloads format-spec battery dbus xml
ace-window-autoloads flymake-autoloads eldoc-autoloads
link-hint-autoloads avy-autoloads pixel-scroll cua-base ring reveal
cape-autoloads corfu-prescient-autoloads corfu-autoloads
embark-consult-autoloads consult-dir-autoloads project-autoloads
xref-autoloads consult-autoloads embark-autoloads marginalia
marginalia-autoloads vertico-prescient prescient char-fold
vertico-prescient-autoloads savehist prescient-autoloads
vertico-multiform vertico-mouse vertico compat vertico-autoloads
compat-autoloads info recentf tree-widget url-handlers url-parse
auth-source password-cache json map url-vars markdown-mode-autoloads
embrace-autoloads expand-region-autoloads elec-pair dictionary-autoloads
link-autoloads connection-autoloads iy-go-to-char-autoloads cap-words
superword subword sentence-navigation-autoloads ample-regexps-autoloads
rx delsel repeat restart-emacs-autoloads exwm exwm-input xcb-keysyms
xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout
exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types
xcb-debug eieio eieio-core server exwm-autoloads xelb-autoloads
finder-inf pcase edmacro kmacro byte-opt leaf-keywords cus-edit pp
cus-load icons wid-edit leaf leaf-keywords-autoloads leaf-autoloads
straight-autoloads cl-seq cl-extra help-mode straight subr-x cl-macs gv
cl-loaddefs cl-lib bytecomp byte-compile rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo gtk x-toolkit xinput2 x multi-tty move-toolbar
make-network-process emacs)

Memory information:
((conses 16 797994 226873) (symbols 48 62559 3)
  (strings 32 227840 15758) (string-bytes 1 7607736)
  (vectors 16 127322) (vector-slots 8 2424033 176648)
  (floats 8 1334 1154) (intervals 56 12016 6383) (buffers 984 25))





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#64497: 30.0.50; `other-buffer' returns current buffer
  2023-07-06 16:16 bug#64497: 30.0.50; `other-buffer' returns current buffer hugo
@ 2023-07-06 17:40 ` Eli Zaretskii
  2024-06-02 21:11 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2023-07-06 17:40 UTC (permalink / raw)
  To: hugo; +Cc: 64497

> Date: Thu, 06 Jul 2023 17:16:21 +0100
> From: hugo@heagren.com
> 
> I've just built Emacs from master. My binding to
> `mode-line-other-buffer' wasn't doing what it should, so I investigated.
> On my machine, the form `(other-buffer)' returns the current buffer.
> 
> I notice that a recent change to `other-buffer' relates to scratch
> buffers (though my C isn't good enough to know what it really does). I
> have tested this in a scratch buffer, and there too `(other-buffer)'
> returns the current buffer (i.e. *scratch*).
> 
> `(other-buffer (current-buffer))' behaves as it -- i.e. returns a buffer
> other than the current buffer.

I cannot reproduce this with the current master branch, FWIW.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#64497: 30.0.50; `other-buffer' returns current buffer
  2023-07-06 16:16 bug#64497: 30.0.50; `other-buffer' returns current buffer hugo
  2023-07-06 17:40 ` Eli Zaretskii
@ 2024-06-02 21:11 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-06-03 11:27   ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-06-02 21:11 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 64497, hugo

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Thu, 06 Jul 2023 17:16:21 +0100
>> From: hugo@heagren.com
>> 
>> I've just built Emacs from master. My binding to
>> `mode-line-other-buffer' wasn't doing what it should, so I investigated.
>> On my machine, the form `(other-buffer)' returns the current buffer.
>> 
>> I notice that a recent change to `other-buffer' relates to scratch
>> buffers (though my C isn't good enough to know what it really does). I
>> have tested this in a scratch buffer, and there too `(other-buffer)'
>> returns the current buffer (i.e. *scratch*).
>> 
>> `(other-buffer (current-buffer))' behaves as it -- i.e. returns a buffer
>> other than the current buffer.
>
> I cannot reproduce this with the current master branch, FWIW.

Should we close this?  No response in almost a year.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#64497: 30.0.50; `other-buffer' returns current buffer
  2024-06-02 21:11 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-06-03 11:27   ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2024-06-03 11:27 UTC (permalink / raw)
  To: Jakub Ječmínek; +Cc: 64497, hugo

tags 64497 moreinfo unreproducible
close 64497
thanks

> Date: Sun, 02 Jun 2024 21:11:08 +0000
> From: Jakub Ječmínek <kuba@kubajecminek.cz>
> Cc: hugo@heagren.com, 64497@debbugs.gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Date: Thu, 06 Jul 2023 17:16:21 +0100
> >> From: hugo@heagren.com
> >> 
> >> I've just built Emacs from master. My binding to
> >> `mode-line-other-buffer' wasn't doing what it should, so I investigated.
> >> On my machine, the form `(other-buffer)' returns the current buffer.
> >> 
> >> I notice that a recent change to `other-buffer' relates to scratch
> >> buffers (though my C isn't good enough to know what it really does). I
> >> have tested this in a scratch buffer, and there too `(other-buffer)'
> >> returns the current buffer (i.e. *scratch*).
> >> 
> >> `(other-buffer (current-buffer))' behaves as it -- i.e. returns a buffer
> >> other than the current buffer.
> >
> > I cannot reproduce this with the current master branch, FWIW.
> 
> Should we close this?  No response in almost a year.

Closing.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-03 11:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-06 16:16 bug#64497: 30.0.50; `other-buffer' returns current buffer hugo
2023-07-06 17:40 ` Eli Zaretskii
2024-06-02 21:11 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-03 11:27   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).