Package: emacs;
Reported by: Vladimir Nikishkin <lockywolf <at> gmail.com>
Date: Wed, 13 Sep 2023 04:40:01 UTC
Severity: wishlist
Found in version 30.0.50
To reply to this bug, email your comments to 65905 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Wed, 13 Sep 2023 04:40:01 GMT) Full text and rfc822 format available.Vladimir Nikishkin <lockywolf <at> gmail.com>
:bug-gnu-emacs <at> gnu.org
.
(Wed, 13 Sep 2023 04:40:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Vladimir Nikishkin <lockywolf <at> gmail.com> To: bug-gnu-emacs <at> gnu.org Subject: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Wed, 13 Sep 2023 12:09:48 +0800
Dear Emacs Developers, I would like to ask for a small usability improvement to Emacs. Could we name info buffers as "info<(manual)>" (or, maybe, just "info<org.info>"), not as "info<3>"? I do not always remember in which order I open info manuals, and having a file name in the buffer name should be nice an easily readable. So far I worked around this by adding: #+begin_src (advice-add 'info-display-manual :after (lambda (x) (rename-buffer (seq-concatenate 'string "info<" (file-name-nondirectory Info-current-file) ">")))) #+end_src But advices are generally a hack (albeit very useful), so I thought that someone might like this feature to be "official". Thanks a lot! In GNU Emacs 30.0.50 (build 1, x86_64-slackware-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0) of 2023-07-31 built on laptop.lockywolf.net Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Slackware 15.0 x86_64 Configured using: 'configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --mandir=/usr/man --infodir=/usr/info --without-gconf --without-gsettings --with-modules --with-native-compilation=aot --with-json --with-imagemagick --with-pdumper --with-xwidgets --enable-year2038 --with-tree-sitter --with-cairo-xcb --build=x86_64-slackware-linux 'CFLAGS=-O2 -fPIC -g'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: mu4e:headers Minor modes in effect: memento-mori-mode: t highlight-doxygen-global-mode: t hes-mode: t global-highlight-parentheses-mode: t highlight-parentheses-mode: t global-color-identifiers-mode: t idle-org-agenda-mode: t mu4e-search-minor-mode: t mu4e-update-minor-mode: t mu4e-context-minor-mode: t mu4e-modeline-mode: t ido-everywhere: t TeX-PDF-mode: t TeX-source-correlate-mode: t async-bytecomp-package-mode: t magit-todos-mode: t global-git-commit-mode: t magit-auto-revert-mode: t server-mode: t global-flycheck-mode: t global-hl-todo-mode: t gdb-many-windows: t global-company-mode: t company-mode: t auto-insert-mode: t pdf-occur-global-minor-mode: t shackle-mode: t global-auto-revert-mode: t electric-pair-mode: t which-function-mode: t global-hl-line-mode: t hl-line-mode: t global-display-fill-column-indicator-mode: t global-hi-lock-mode: t hi-lock-mode: t windmove-mode: t savehist-mode: t recentf-mode: t save-place-mode: t super-save-mode: t xterm-mouse-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t auto-save-visited-mode: t abbrev-mode: t Load-path shadows: /home/lockywolf/.emacs.d/elpa/company-cmake-0.1/company-cmake hides /home/lockywolf/.emacs.d/elpa/company-20230303.2331/company-cmake /home/lockywolf/OfficialRepos/org-noter/org-noter hides /home/lockywolf/.emacs.d/elpa/org-noter-20230728.2037/org-noter /home/lockywolf/OfficialRepos/org-noter/org-noter-core hides /home/lockywolf/.emacs.d/elpa/org-noter-20230728.2037/org-noter-core /home/lockywolf/.emacs.d/elpa/cmake-mode-20230323.1312/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/lockywolf/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /usr/share/emacs/30.0.50/lisp/use-package/bind-key /home/lockywolf/.emacs.d/elpa/flim-20230205.1423/sasl hides /usr/share/emacs/30.0.50/lisp/net/sasl Features: (shadow emacsbug bbdb-mu4e profiler tabify cus-start bbdb-com org-timer org-colview org-archive reporter elfeed-link elfeed-show elfeed-search elfeed-csv elfeed elfeed-curl elfeed-log xml-query elfeed-db elfeed-lib shortdoc conf-mode rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid nxml-mode nxml-outln nxml-rap sgml-mode reftex-cite reftex-global reftex-index reftex-ref reftex-sel cursor-sensor reftex-parse mm-archive qp url-cache network-stream mailalias sort gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays holiday-loaddefs vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view bug-reference magit-extras face-remap cl-print misearch multi-isearch plain-tex preview reftex-toc reftex-dcr reftex-auc font-latex tex-mode org-inlinetask time-stamp matlab matlab-scan matlab-syntax matlab-compat pulse ffap vc-git org-eldoc geiser-mode geiser-xref geiser-compile geiser-debug geiser-racket geiser-mit geiser-chibi geiser-chez info-look geiser-repl geiser-image geiser-capf geiser-doc geiser-menu geiser-autodoc geiser-edit geiser-completion geiser-eval geiser-connection geiser-syntax geiser-log geiser-popup view oc-basic disp-table ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview ol-bbdb ol-w3m ol-doi org-link-doi dired-aux company-oddmuse company-keywords make-mode company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb init rc-local lockywolf-postamble-laptop display-line-numbers lockywolf-exwm exwm exwm-input xcb-keysyms exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xkb xcb-xproto xcb-types xcb-debug lockywolf-erc erc-track erc-match erc erc-backend erc-networks erc-common erc-compat erc-loaddefs lockywolf-equake equake lockywolf-gui-x11 hamburger-menu lockywolf-gui-general diary-lib diary-loaddefs memento-mori highlight-doxygen highlight-escape-sequences highlight-parentheses rainbow-mode color-identifiers-mode prettify-greek form-feed tsdh-dark-theme lockywolf-calc calc calc-loaddefs rect calc-macs lockywolf-monitoring idle-org-agenda lockywolf-autocomplete-ido lockywolf-org-scientific-large org-download org-attach org-mind-map org-sticky-header org-pdftools pdf-annot facemenu org-noter org-noter-djvu org-noter-nov org-noter-pdf org-noter-core org2blog ox-wp writegood-mode metaweblog xml-rpc url-http url-auth url-gw nsm hydra lv htmlize org-journal org-crypt cal-iso org-sidebar org-ql-search org-ql-view ov org-super-agenda ht org-ql peg ts org-habit org-duration org-mru-clock org-capture ox-beamer ox-org ox-md 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-clock ob-maxima ob-fortran ob-shell ob-latex ob-scheme geiser-impl help-fns radix-tree geiser-custom geiser-base geiser ob-C ob-plantuml org-tempo tempo org-protocol ox-youtube org-ebib org-bibtex-extras ol-bibtex ox-bibtex org-fancy-priorities lockywolf-cryptography pinentry lockywolf-elfeed lockywolf-email-pim bbdb bbdb-site timezone gnus-dired mu4e-speedbar speedbar ezimage dframe mu4e mu4e-org mu4e-notification notifications mu4e-main mu4e-view gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win mu4e-headers mu4e-compose mu4e-draft mu4e-actions mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mu4e-contacts mu4e-update mu4e-folders mu4e-context mu4e-query-items mu4e-server mu4e-modeline mu4e-vars mu4e-helpers mu4e-config mu4e-window ido mu4e-obsolete message-view-patch auth-source-xoauth2 auth-source-pass smtpmail-multi smtpmail khardel yaml-mode vdirel org-vcard lockywolf-tex company-auctex vdm-snippets yasnippet bib-cite auctex-latexmk latex latex-flymake tex-ispell tex-style tex texmathp cdlatex lockywolf-bibtex ebib helm helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source helm-multi-match helm-lib ebib-reading-list ebib-notes org-element org-persist org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs cal-menu calendar cal-loaddefs ol org-fold org-fold-core org-compat avl-tree org-version org-macs ebib-filters ebib-keywords ebib-utils ebib-db parsebib mule-util bibretrieve bibtex-utils reftex reftex-loaddefs reftex-vars bibtex lockywolf-plantuml flycheck-plantuml plantuml-mode lockywolf-matlab lockywolf-scheme scheme-complete scheme lockywolf-emacs-lisp paredit-menu paredit lockywolf-helm lockywolf-vala vala-mode cc-langs lockywolf-cpp clang-format+ clang-format eldoc-cmake cmake-mode rst company-c-headers flycheck-clangcheck google-c-style cc-mode cc-fonts cc-guess cc-menus cc-cmds lockywolf-fortran f90 lockywolf-bash sh-script smie treesit executable lockywolf-version-control magit-todos pcre2el rxt re-builder f f-shortdoc s async grep magit-bookmark magit-submodule 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 magit-diff smerge-mode diff diff-mode git-commit log-edit message sendmail yank-media rfc822 mml mml-sec epa epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient magit-git magit-base crm magit-section vc vc-dispatcher lockywolf-spellchecking-hard languagetool languagetool-server languagetool-console languagetool-java languagetool-issue languagetool-correction languagetool-core flycheck lockywolf-spellchecking-simple hl-todo compat flyspell ispell lockywolf-debugging gdb-mi bindat gud lockywolf-advanced-editing eglot external-completion jsonrpc flymake-proc flymake ert debug backtrace markdown-mode color company autoinsert ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util lockywolf-ggtags ggtags hippie-exp etags fileloop xref project ewoc lockywolf-tramp lockywolf-shells esh-help dash em-unix em-smart esh-mode esh-var eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util lockywolf-paper-pdf-djvu djvu pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice 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 pdf-isearch let-alist pdf-misc pdf-tools pdf-view derived pdf-cache pdf-info tq pdf-util pdf-macs doc-view jka-compr image-mode exif ps-print ps-print-loaddefs lpr lockywolf-downloaded-packages diminish shackle trace mic-paren cl lockywolf-dired dired-x lockywolf-standard-packages eww url-queue thingatpt shr pixel-fill kinsoku url-file svg dom puny mm-url gnus nnheader gnus-util range woman man info-colors secrets dbus comp comp-cstr warnings xml locate dired dired-loaddefs arc-mode archive-mode compile autorevert filenotify elec-pair which-func imenu hl-line display-fill-column-indicator hi-lock foldout edmacro kmacro noutline outline windmove bookmark text-property-search savehist recentf tree-widget saveplace tramp-sh tramp rx trampver tramp-integration files-x tramp-message tramp-loaddefs tramp-compat xdg shell pcomplete comint ansi-osc ring parse-time iso8601 time-date format-spec ansi-color super-save rmail rfc6068 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils image-file image-converter cl-extra help-mode lockywolf-handy-own-functions-keybindings lockywolf-basic-init xt-mouse use-package-ensure-system-package system-packages cus-edit pp cus-load icons wid-edit use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core init-custom 0blayout-autoloads auctex-latexmk-autoloads auth-source-xoauth2-autoloads bibtex-completion-autoloads biblio-autoloads biblio-core-autoloads bind-key-autoloads cdlatex-autoloads centered-cursor-mode-autoloads chatgpt-shell-autoloads cmake-font-lock-autoloads cmake-mode-autoloads color-identifiers-mode-autoloads anaconda-mode-autoloads auctex-autoloads tex-site company-emoji-autoloads company-math-autoloads ac-php-core-autoloads company-quickhelp-autoloads company-shell-autoloads company-autoloads consult-eglot-autoloads consult-autoloads csv-mode-autoloads debpaste-autoloads diminish-autoloads djvu-autoloads ebib-autoloads elisp-depmap-autoloads emms-info-mediainfo-autoloads emms-autoloads ess-autoloads exwm-x-autoloads exwm-autoloads flycheck-phpstan-autoloads flymake-easy-autoloads geiser-chez-autoloads geiser-chibi-autoloads geiser-mit-autoloads geiser-racket-autoloads geiser-stklos-autoloads geiser-autoloads flycheck-autoloads gitlab-pipeline-autoloads ghub-autoloads go-mode-autoloads graphviz-dot-mode-autoloads highlight-doxygen-autoloads highlight-escape-sequences-autoloads highlight-parentheses-autoloads info-colors-autoloads jabber-autoloads fsm-autoloads jupyter-autoloads khardel-autoloads kotlin-mode-autoloads languagetool-autoloads lua-mode-autoloads magit-todos-autoloads hl-todo-autoloads markdown-preview-mode-autoloads markdown-mode-autoloads math-symbol-lists-autoloads matlab-mode-autoloads message-view-patch-autoloads magit-autoloads pcase magit-section-autoloads git-commit-autoloads mic-paren-autoloads mu4e-jump-to-list-autoloads org-contrib-autoloads org-download-autoloads org-journal-autoloads org-mru-clock-autoloads org-pdftools-autoloads org-noter-autoloads org-sidebar-autoloads org-ql-autoloads finder-inf org-sticky-header-autoloads org-super-agenda-autoloads org2blog-autoloads metaweblog-autoloads ov-autoloads paredit-autoloads parsebib-autoloads pcre2el-autoloads pcsv-autoloads pdf-view-pagemark-autoloads pdf-tools-autoloads peg-autoloads phpstan-autoloads php-mode-autoloads pos-tip-autoloads pythonic-autoloads f-autoloads qml-mode-autoloads qt-pro-mode-autoloads rainbow-mode-autoloads semi-autoloads flim-autoloads apel-autoloads shell-maker-autoloads sml-mode-autoloads spell-fu-autoloads sr-speedbar-autoloads srv-autoloads sudo-edit-autoloads tablist-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads treepy-autoloads ts-autoloads dash-autoloads cc-styles cc-align cc-engine cc-vars cc-defs vdirel-autoloads helm-autoloads popup-autoloads helm-core-autoloads async-autoloads org-vcard-autoloads websocket-autoloads with-editor-autoloads info compat-autoloads writegood-mode-autoloads xml-rpc-autoloads yaml-mode-autoloads s-autoloads zmq-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib 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 font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 3064509 632294) (symbols 48 105557 13) (strings 32 483454 31642) (string-bytes 1 16352199) (vectors 16 249861) (vector-slots 8 6151654 369486) (floats 8 1939 12464) (intervals 56 74001 8236) (buffers 984 110)) -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop)
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Wed, 13 Sep 2023 13:00:02 GMT) Full text and rfc822 format available.Message #8 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Vladimir Nikishkin <lockywolf <at> gmail.com> Cc: 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Wed, 13 Sep 2023 15:58:41 +0300
> From: Vladimir Nikishkin <lockywolf <at> gmail.com> > Date: Wed, 13 Sep 2023 12:09:48 +0800 > > > Dear Emacs Developers, > > I would like to ask for a small usability improvement to Emacs. Could we > name info buffers as "info<(manual)>" (or, maybe, just > "info<org.info>"), not as "info<3>"? I do not always remember in which > order I open info manuals, and having a file name in the buffer name > should be nice an easily readable. Did you try using "C-h R"? It will find the existing Info buffer without your need to remember any numbers. Just type C-h R org RET I have dozens of Info manuals in my Emacs sessions, and I always use "C-h R" to get to those whose numbers I don't remember (which is all but the 2 Emacs manuals).
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Wed, 13 Sep 2023 14:10:02 GMT) Full text and rfc822 format available.Message #11 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Vladimir Nikishkin <lockywolf <at> gmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Wed, 13 Sep 2023 22:04:31 +0800
Eli Zaretskii <eliz <at> gnu.org> writes: >> From: Vladimir Nikishkin <lockywolf <at> gmail.com> >> Date: Wed, 13 Sep 2023 12:09:48 +0800 >> >> >> Dear Emacs Developers, >> >> I would like to ask for a small usability improvement to Emacs. Could we >> name info buffers as "info<(manual)>" (or, maybe, just >> "info<org.info>"), not as "info<3>"? I do not always remember in which >> order I open info manuals, and having a file name in the buffer name >> should be nice an easily readable. > > Did you try using "C-h R"? It will find the existing Info buffer > without your need to remember any numbers. Just type > > C-h R org RET > > I have dozens of Info manuals in my Emacs sessions, and I always use > "C-h R" to get to those whose numbers I don't remember (which is all > but the 2 Emacs manuals). But it's not the same thing, is it? If I open some manual recently and then forget its name, how do I switch back _to that manual which I have been reading in the past hour but which name I do not remember_? At the moment I have installed an advice: #+begin_src (advice-add 'info-display-manual :after (lambda (x) (rename-buffer (seq-concatenate 'string "info<" (file-name-nondirectory Info-current-file) ">")))) #+end_src I also have a hack to show buffer names in window titles, and seeing there info<org> is nicer than info<3>. (But that snippet is a little suboptimal, so I am a little hesitant to show it.) #+begin_src elisp (defvar-local lockywolf/org-buffer-memoized-title nil) (defun lockywolf/generate-frame-title () "Generated frame title from all buffers." (interactive) (let* ((retval "") (nwin (let ((nwin 0)) (walk-window-tree (lambda (x) (setf nwin (+ 1 nwin)))) nwin)) (maxlen (if (= nwin 1) 999 11))) ;; (message "lwf:debug:nwin=%s" nwin) (walk-window-tree (lambda (x) ;; (message "mode=%s" major-mode) (defun truncate-title (title) (seq-subseq title 0 (min maxlen (seq-length title)))) (setf retval (seq-concatenate 'string retval " " (let ((wb (window-buffer x))) (with-current-buffer wb (truncate-title (if (not (equalp major-mode 'org-mode)) (buffer-name wb) ;;;;; org-get-title is super slow ;; (progn ;; (if (buffer-modified-p) ;; (setf lockywolf/org-buffer-memoized-title (org-get-title))) ;; (if (equalp nil lockywolf/org-buffer-memoized-title) ;; (setf lockywolf/org-buffer-memoized-title (buffer-name wb))) ;; lockywolf/org-buffer-memoized-title) (seq-concatenate 'string "TMP:" (buffer-name wb)) )) )))))) (setf (frame-parameter nil 'name) retval) retval)) (setq-default frame-title-format '(:eval (lockywolf/generate-frame-title))) #+end_src -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop)
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Wed, 13 Sep 2023 14:59:01 GMT) Full text and rfc822 format available.Message #14 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Vladimir Nikishkin <lockywolf <at> gmail.com> Cc: 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Wed, 13 Sep 2023 17:57:57 +0300
> From: Vladimir Nikishkin <lockywolf <at> gmail.com> > Cc: 65905 <at> debbugs.gnu.org > Date: Wed, 13 Sep 2023 22:04:31 +0800 > > > Eli Zaretskii <eliz <at> gnu.org> writes: > > > Did you try using "C-h R"? It will find the existing Info buffer > > without your need to remember any numbers. Just type > > > > C-h R org RET > > > > I have dozens of Info manuals in my Emacs sessions, and I always use > > "C-h R" to get to those whose numbers I don't remember (which is all > > but the 2 Emacs manuals). > > But it's not the same thing, is it? It's not? I think it is the same. You wanted a simply way of getting back to a manual that you were reading earlier in the session, which you still have in some Info buffer, no? That's what "C-h R" does: it first looks in the Info buffers already present in the session, and, if not found, then looks for the manual installed on the system. In your case, the first step will succeed. > If I open some manual recently and then forget its name, how do I switch > back _to that manual which I have been reading in the past hour but > which name I do not remember_? That's what "C-h R" does. Did you try it? If you did, how did it not "switch back _to that manual which I have been reading in the past hour"? For me, it switches back to that manual and to the same place where I was before. What am I missing? > I also have a hack to show buffer names in window titles, and seeing > there info<org> is nicer than info<3>. If you want to show the name of the Info file on the title bar, you can modify frame-title-format to use Info-current-file in Info buffers.
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Wed, 13 Sep 2023 15:15:02 GMT) Full text and rfc822 format available.Message #17 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Vladimir Nikishkin <lockywolf <at> gmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Wed, 13 Sep 2023 23:07:44 +0800
Eli Zaretskii <eliz <at> gnu.org> writes: >> From: Vladimir Nikishkin <lockywolf <at> gmail.com> >> Cc: 65905 <at> debbugs.gnu.org >> Date: Wed, 13 Sep 2023 22:04:31 +0800 >> >> >> Eli Zaretskii <eliz <at> gnu.org> writes: >> >> > Did you try using "C-h R"? It will find the existing Info buffer >> > without your need to remember any numbers. Just type >> > >> > C-h R org RET >> > >> > I have dozens of Info manuals in my Emacs sessions, and I always use >> > "C-h R" to get to those whose numbers I don't remember (which is all >> > but the 2 Emacs manuals). >> >> But it's not the same thing, is it? > > It's not? I think it is the same. You wanted a simply way of getting > back to a manual that you were reading earlier in the session, which > you still have in some Info buffer, no? That's what "C-h R" does: it > first looks in the Info buffers already present in the session, and, > if not found, then looks for the manual installed on the system. In > your case, the first step will succeed. > No, it does not do that. C-h R just prompts for a "Manual name: " in the minibuffer, and if I press TAB, shows all the names for all the installed manuals in the system. >> If I open some manual recently and then forget its name, how do I switch >> back _to that manual which I have been reading in the past hour but >> which name I do not remember_? > > That's what "C-h R" does. Did you try it? If you did, how did it not > "switch back _to that manual which I have been reading in the past > hour"? For me, it switches back to that manual and to the same place > where I was before. What am I missing? It does switch to the previously open buffer, if I happen to remember the name of the manual. But if I do not remember whether I was reading epa's manual, or pgg's manual (similar features!), I have to go through them by trial and error. >> I also have a hack to show buffer names in window titles, and seeing >> there info<org> is nicer than info<3>. > > If you want to show the name of the Info file on the title bar, you > can modify frame-title-format to use Info-current-file in Info > buffers. My hackish script is doing that, but I don't want to cater for each mode possible. Whey wouldn't a mode name it's buffers informatively? -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop)
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Wed, 13 Sep 2023 19:11:01 GMT) Full text and rfc822 format available.Message #20 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Vladimir Nikishkin <lockywolf <at> gmail.com> Cc: 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Wed, 13 Sep 2023 22:09:51 +0300
> From: Vladimir Nikishkin <lockywolf <at> gmail.com> > Cc: 65905 <at> debbugs.gnu.org > Date: Wed, 13 Sep 2023 23:07:44 +0800 > > > Eli Zaretskii <eliz <at> gnu.org> writes: > > >> But it's not the same thing, is it? > > > > It's not? I think it is the same. You wanted a simply way of getting > > back to a manual that you were reading earlier in the session, which > > you still have in some Info buffer, no? That's what "C-h R" does: it > > first looks in the Info buffers already present in the session, and, > > if not found, then looks for the manual installed on the system. In > > your case, the first step will succeed. > > > > No, it does not do that. C-h R just prompts for a "Manual name: " in the > minibuffer, and if I press TAB, shows all the names for all the > installed manuals in the system. You are supposed to type "org" and press RET when it prompts. Because you know you want to go to the Org manual, right? > It does switch to the previously open buffer, if I happen to remember > the name of the manual. But if I do not remember whether I was reading > epa's manual, or pgg's manual (similar features!), I have to go through > them by trial and error. Then I don't understand something. Your original request was to name the buffer "*info*<org>", so that you could type C-x b *info*<org> RET to return to it, right? But if you don't remember the name of the manual, how would you know to type the "<org>" part in the above? And if you do remember the name of the manual, then how does C-h R org RET require more from your memory than C-x b *info*<org> RET ? What am I missing here?
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Wed, 13 Sep 2023 20:59:02 GMT) Full text and rfc822 format available.Message #23 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: Vladimir Nikishkin <lockywolf <at> gmail.com>, 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Wed, 13 Sep 2023 22:58:23 +0200
Eli Zaretskii <eliz <at> gnu.org> writes: >> From: Vladimir Nikishkin <lockywolf <at> gmail.com> >> Cc: 65905 <at> debbugs.gnu.org >> Date: Wed, 13 Sep 2023 22:04:31 +0800 >> >> >> Eli Zaretskii <eliz <at> gnu.org> writes: >> >> > Did you try using "C-h R"? It will find the existing Info buffer >> > without your need to remember any numbers. Just type >> > >> > C-h R org RET >> > >> > I have dozens of Info manuals in my Emacs sessions, and I always use >> > "C-h R" to get to those whose numbers I don't remember (which is all >> > but the 2 Emacs manuals). >> >> But it's not the same thing, is it? > > It's not? I think it is the same. You wanted a simply way of getting > back to a manual that you were reading earlier in the session, which > you still have in some Info buffer, no? That's what "C-h R" does: it > first looks in the Info buffers already present in the session, and, > if not found, then looks for the manual installed on the system. In > your case, the first step will succeed. Speaking for myself: "C-x b PATTERN TAB" is kind of ingrained in my muscle memory to switch back to all sorts of buffers I know are open. So my brain turns "Switch back to that Info buffer for the FOO manual" into "C-x b info TAB", then I stare blankly at the "*info<N>*" candidates for a couple of seconds, and pick one at random. Point taken re. C-h R (which even limits completion to opened manuals with C-u, neat), though switching buffers with C-x b is such a generic action that I perform dozens of times an hour without thinking twice, that I suspect stopping myself from C-x b'ing just for Info buffers is going to be hard. Not an urgent issue by any means; just one of the things I plan on digging into someday. Adding an option to control that call to `info' at the end of `info-display-manual' doesn't seem too hard; just haven't found the time yet (and maybe eventually I'll end up sticking a call to rename-buffer in Info-mode-hook and calling it a day instead).
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Thu, 14 Sep 2023 01:20:01 GMT) Full text and rfc822 format available.Message #26 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Vladimir Nikishkin <lockywolf <at> gmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Thu, 14 Sep 2023 09:13:17 +0800
Eli Zaretskii <eliz <at> gnu.org> writes: >> From: Vladimir Nikishkin <lockywolf <at> gmail.com> >> Cc: 65905 <at> debbugs.gnu.org >> Date: Wed, 13 Sep 2023 23:07:44 +0800 >> >> >> Eli Zaretskii <eliz <at> gnu.org> writes: >> >> >> But it's not the same thing, is it? >> > >> > It's not? I think it is the same. You wanted a simply way of getting >> > back to a manual that you were reading earlier in the session, which >> > you still have in some Info buffer, no? That's what "C-h R" does: it >> > first looks in the Info buffers already present in the session, and, >> > if not found, then looks for the manual installed on the system. In >> > your case, the first step will succeed. >> > >> >> No, it does not do that. C-h R just prompts for a "Manual name: " in the >> minibuffer, and if I press TAB, shows all the names for all the >> installed manuals in the system. > > You are supposed to type "org" and press RET when it prompts. Because > you know you want to go to the Org manual, right? No, that is the point, I _do not_ know which manual I am going to. I am typing C-x b info TAB to see all open info buffers. And I would like to see: info<org> info<epa> info<mu4e> rather than info<1> info<2> info<3>. >> It does switch to the previously open buffer, if I happen to remember >> the name of the manual. But if I do not remember whether I was reading >> epa's manual, or pgg's manual (similar features!), I have to go through >> them by trial and error. > > Then I don't understand something. Your original request was to name > the buffer "*info*<org>", so that you could type > > C-x b *info*<org> RET > > to return to it, right? But if you don't remember the name of the > manual, how would you know to type the "<org>" part in the above? With TAB-completion. (Or, if someone uses a narrowing framework, like ivy or helm, it would get by even without TAB.) -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop)
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Thu, 14 Sep 2023 02:15:02 GMT) Full text and rfc822 format available.Message #29 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Vladimir Nikishkin <lockywolf <at> gmail.com> To: Kévin Le Gouguec <kevin.legouguec <at> gmail.com> Cc: Eli Zaretskii <eliz <at> gnu.org>, 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Thu, 14 Sep 2023 10:11:55 +0800
Kévin Le Gouguec <kevin.legouguec <at> gmail.com> writes: > Speaking for myself: "C-x b PATTERN TAB" is kind of ingrained in my > muscle memory to switch back to all sorts of buffers I know are open. > So my brain turns "Switch back to that Info buffer for the FOO manual" > into "C-x b info TAB", then I stare blankly at the "*info<N>*" > candidates for a couple of seconds, and pick one at random. Exactly! > Point taken re. C-h R (which even limits completion to opened manuals > with C-u, neat), though switching buffers with C-x b is such a generic > action that I perform dozens of times an hour without thinking twice, > that I suspect stopping myself from C-x b'ing just for Info buffers is > going to be hard. C-u C-h R ??? I didn't know about this behaviour of the prefix argument! It does make things simpler, although really, I think that just adding a call to (rename-buffer) at the end of 'info-display-manual would not be that bad. -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop)
bug-gnu-emacs <at> gnu.org
:bug#65905
; Package emacs
.
(Thu, 14 Sep 2023 06:00:03 GMT) Full text and rfc822 format available.Message #32 received at 65905 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Kévin Le Gouguec <kevin.legouguec <at> gmail.com> Cc: lockywolf <at> gmail.com, 65905 <at> debbugs.gnu.org Subject: Re: bug#65905: 30.0.50; Consider changing info buffer names to info<(org)> rather than info<3> Date: Thu, 14 Sep 2023 08:59:18 +0300
> From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com> > Cc: Vladimir Nikishkin <lockywolf <at> gmail.com>, 65905 <at> debbugs.gnu.org > Date: Wed, 13 Sep 2023 22:58:23 +0200 > > Eli Zaretskii <eliz <at> gnu.org> writes: > > > It's not? I think it is the same. You wanted a simply way of getting > > back to a manual that you were reading earlier in the session, which > > you still have in some Info buffer, no? That's what "C-h R" does: it > > first looks in the Info buffers already present in the session, and, > > if not found, then looks for the manual installed on the system. In > > your case, the first step will succeed. > > Speaking for myself: "C-x b PATTERN TAB" is kind of ingrained in my > muscle memory to switch back to all sorts of buffers I know are open. > So my brain turns "Switch back to that Info buffer for the FOO manual" > into "C-x b info TAB", then I stare blankly at the "*info<N>*" > candidates for a couple of seconds, and pick one at random. > > Point taken re. C-h R (which even limits completion to opened manuals > with C-u, neat), though switching buffers with C-x b is such a generic > action that I perform dozens of times an hour without thinking twice, > that I suspect stopping myself from C-x b'ing just for Info buffers is > going to be hard. It isn't, rest assured: I walked that way myself.
Stefan Kangas <stefankangas <at> gmail.com>
to control <at> debbugs.gnu.org
.
(Fri, 15 Sep 2023 10:52:02 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.