* emacs-info command?
@ 2024-10-31 12:49 Mariano Montone
2024-10-31 13:08 ` Sebastián Monía
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Mariano Montone @ 2024-10-31 12:49 UTC (permalink / raw)
To: emacs-devel
Hello,
what do you think of Emacs coming with an emacs-info command that
shows current Emacs build information. I miss a command that quickly
shows info about current Emacs.
My current implementation is very basic:
https://codeberg.org/mmontone/emacs-snippets/src/branch/master/emacs-info.el
And shows a buffer with:
----------------
Version: GNU Emacs 31.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
2.24.33, cairo version 1.18.0)
of 2024-08-13
Features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ
JPEG LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND
SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM
XINPUT2 XPM GTK2 ZLIB
Native compilation: no
SVG: no
--------------
In any case, do you have ideas on what more that command could show?
Thanks,
Mariano
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs-info command?
2024-10-31 12:49 emacs-info command? Mariano Montone
@ 2024-10-31 13:08 ` Sebastián Monía
2024-10-31 13:13 ` Ship Mints
2024-10-31 14:43 ` Eli Zaretskii
2024-11-01 7:48 ` Juri Linkov
2 siblings, 1 reply; 7+ messages in thread
From: Sebastián Monía @ 2024-10-31 13:08 UTC (permalink / raw)
To: Mariano Montone; +Cc: emacs-devel
Mariano Montone <marianomontone@gmail.com> writes:
> Hello,
> what do you think of Emacs coming with an emacs-info command that
> shows current Emacs build information. I miss a command that quickly
> shows info about current Emacs.
I don't think I had a need for one, I do use 'M-x version' somewhat
regularly: I tend to run pretest or an organic, locally sourced, fair
trade version(1) and sometimes I forget which one I am using.
The 'emacs-version' command inserts the version string at point with
prefix argument. Maybe it can show this buffer with double prefix arg?
Or negative argument.
(1) which means, version I compile myself.
--
Sebastián Monía
https://site.sebasmonia.com/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs-info command?
2024-10-31 13:08 ` Sebastián Monía
@ 2024-10-31 13:13 ` Ship Mints
0 siblings, 0 replies; 7+ messages in thread
From: Ship Mints @ 2024-10-31 13:13 UTC (permalink / raw)
To: Sebastián Monía; +Cc: Mariano Montone, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
In case my approach is of use, for "non production" Emacs versions or
instances, I change the background color of the mode-line and set the color
of 'internal-border. I set a "test flag" either on version or by
command-line argument "--test". The mode-line color shows fine in tty and
GUI. I can't easily get confused that way.
On Thu, Oct 31, 2024 at 9:09 AM Sebastián Monía <sebastian@sebasmonia.com>
wrote:
> Mariano Montone <marianomontone@gmail.com> writes:
>
> > Hello,
> > what do you think of Emacs coming with an emacs-info command that
> > shows current Emacs build information. I miss a command that quickly
> > shows info about current Emacs.
>
> I don't think I had a need for one, I do use 'M-x version' somewhat
> regularly: I tend to run pretest or an organic, locally sourced, fair
> trade version(1) and sometimes I forget which one I am using.
>
> The 'emacs-version' command inserts the version string at point with
> prefix argument. Maybe it can show this buffer with double prefix arg?
> Or negative argument.
>
>
>
> (1) which means, version I compile myself.
>
> --
> Sebastián Monía
> https://site.sebasmonia.com/
>
>
[-- Attachment #2: Type: text/html, Size: 1796 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs-info command?
2024-10-31 12:49 emacs-info command? Mariano Montone
2024-10-31 13:08 ` Sebastián Monía
@ 2024-10-31 14:43 ` Eli Zaretskii
2024-10-31 14:48 ` Mariano Montone
2024-11-01 7:48 ` Juri Linkov
2 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2024-10-31 14:43 UTC (permalink / raw)
To: Mariano Montone; +Cc: emacs-devel
> Date: Thu, 31 Oct 2024 09:49:30 -0300
> From: Mariano Montone <marianomontone@gmail.com>
>
> Hello,
> what do you think of Emacs coming with an emacs-info command that
> shows current Emacs build information. I miss a command that quickly
> shows info about current Emacs.
> My current implementation is very basic:
> https://codeberg.org/mmontone/emacs-snippets/src/branch/master/emacs-info.el
>
> And shows a buffer with:
> ----------------
> Version: GNU Emacs 31.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
> 2.24.33, cairo version 1.18.0)
> of 2024-08-13
> Features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ
> JPEG LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND
> SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM
> XINPUT2 XPM GTK2 ZLIB
> Native compilation: no
> SVG: no
> --------------
We have commands and variables to show this information already. See
M-x emacs-version
M-: emacs-build-system RET
M-: system-configuration RET
M-: system-configuration-features RET
M-: system-configuration-options RET
See also the command emacs-build-description, which inserts most of
the relevant information into the current buffer.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs-info command?
2024-10-31 14:43 ` Eli Zaretskii
@ 2024-10-31 14:48 ` Mariano Montone
0 siblings, 0 replies; 7+ messages in thread
From: Mariano Montone @ 2024-10-31 14:48 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
El 31/10/24 a las 11:43, Eli Zaretskii escribió:
>> Date: Thu, 31 Oct 2024 09:49:30 -0300
>> From: Mariano Montone <marianomontone@gmail.com>
>>
>> Hello,
>> what do you think of Emacs coming with an emacs-info command that
>> shows current Emacs build information. I miss a command that quickly
>> shows info about current Emacs.
>> My current implementation is very basic:
>> https://codeberg.org/mmontone/emacs-snippets/src/branch/master/emacs-info.el
>>
>> And shows a buffer with:
>> ----------------
>> Version: GNU Emacs 31.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
>> 2.24.33, cairo version 1.18.0)
>> of 2024-08-13
>> Features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ
>> JPEG LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND
>> SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM
>> XINPUT2 XPM GTK2 ZLIB
>> Native compilation: no
>> SVG: no
>> --------------
> We have commands and variables to show this information already. See
>
> M-x emacs-version
> M-: emacs-build-system RET
> M-: system-configuration RET
> M-: system-configuration-features RET
> M-: system-configuration-options RET
>
> See also the command emacs-build-description, which inserts most of
> the relevant information into the current buffer.
Oh. Thanks. I'll have a look at those.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs-info command?
2024-10-31 12:49 emacs-info command? Mariano Montone
2024-10-31 13:08 ` Sebastián Monía
2024-10-31 14:43 ` Eli Zaretskii
@ 2024-11-01 7:48 ` Juri Linkov
2024-11-01 12:02 ` Eli Zaretskii
2 siblings, 1 reply; 7+ messages in thread
From: Juri Linkov @ 2024-11-01 7:48 UTC (permalink / raw)
To: Mariano Montone; +Cc: emacs-devel
> Hello,
> what do you think of Emacs coming with an emacs-info command that shows
> current Emacs build information. I miss a command that quickly shows info
> about current Emacs.
> My current implementation is very basic:
> https://codeberg.org/mmontone/emacs-snippets/src/branch/master/emacs-info.el
>
> And shows a buffer with:
> ----------------
> Version: GNU Emacs 31.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
> 2.24.33, cairo version 1.18.0)
> of 2024-08-13
> Features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG
> LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3
> THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM
> GTK2 ZLIB
> Native compilation: no
> SVG: no
> --------------
We could show more information at the end of 'C-h C-a'.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: emacs-info command?
2024-11-01 7:48 ` Juri Linkov
@ 2024-11-01 12:02 ` Eli Zaretskii
0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2024-11-01 12:02 UTC (permalink / raw)
To: Juri Linkov; +Cc: marianomontone, emacs-devel
> From: Juri Linkov <juri@linkov.net>
> Cc: emacs-devel@gnu.org
> Date: Fri, 01 Nov 2024 09:48:13 +0200
>
> > Hello,
> > what do you think of Emacs coming with an emacs-info command that shows
> > current Emacs build information. I miss a command that quickly shows info
> > about current Emacs.
> > My current implementation is very basic:
> > https://codeberg.org/mmontone/emacs-snippets/src/branch/master/emacs-info.el
> >
> > And shows a buffer with:
> > ----------------
> > Version: GNU Emacs 31.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
> > 2.24.33, cairo version 1.18.0)
> > of 2024-08-13
> > Features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG
> > LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3
> > THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM
> > GTK2 ZLIB
> > Native compilation: no
> > SVG: no
> > --------------
>
> We could show more information at the end of 'C-h C-a'.
We could, but IMO we shouldn't: this is not what that command is for.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-11-01 12:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-31 12:49 emacs-info command? Mariano Montone
2024-10-31 13:08 ` Sebastián Monía
2024-10-31 13:13 ` Ship Mints
2024-10-31 14:43 ` Eli Zaretskii
2024-10-31 14:48 ` Mariano Montone
2024-11-01 7:48 ` Juri Linkov
2024-11-01 12:02 ` 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).