all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Cc: emacs-w3m@namazu.org
Subject: output Emacs version (was: Re: bug with `apropos-value' in Emacs 29.0?)
Date: Mon, 23 May 2022 23:22:24 +0200	[thread overview]
Message-ID: <87y1ysx7u7.fsf_-_@dataswamp.org> (raw)
In-Reply-To: 877d6e9h7b.fsf@mbork.pl

Marcin Borkowski wrote:

> http://mbork.pl/2017-01-30_Current_Emacs_version
>
> (defun insert-debug-version-info ()
>   "Insert version of Emacs and 7 characters of the commit hash."
>   (interactive)
>   (insert
>    (format "GNU Emacs %s (commit %s)"
> 	   emacs-version
> 	   (substring (emacs-repository-get-version) 0 7))))

Cool, I did my own one:

;;; -*- lexical-binding: t -*-
;;
;; this file:
;;   https://dataswamp.org/~incal/emacs-init/meta.el

(defun emacs-version-commit (&optional here)
  (interactive "P")
  (let ((ver (format "%s [%s]" (emacs-version)
                               (emacs-repository-get-version) )))
    (when here
      (insert ver) )
    (message ver) ))
(defalias 'ever #'emacs-version-commit)

Also check out, https://dataswamp.org/~incal/emacs-init/w3m/w3m-version.el

-- 
underground experts united
https://dataswamp.org/~incal




  reply	other threads:[~2022-05-23 21:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-21 18:34 bug with `apropos-value' in Emacs 29.0? Emanuel Berg
2022-05-21 18:41 ` Marcin Borkowski
2022-05-21 19:10   ` Emanuel Berg
2022-05-21 19:13     ` Emanuel Berg
2022-05-21 22:45       ` Emanuel Berg
2022-05-21 22:52         ` Emanuel Berg
2022-05-21 23:29           ` Michael Heerdegen
2022-05-21 23:33             ` Emanuel Berg
2022-05-21 23:51               ` Michael Heerdegen
2022-05-21 23:36             ` Emanuel Berg
2022-05-22  0:00               ` Michael Heerdegen
2022-05-22  0:05                 ` Emanuel Berg
2022-05-22  0:32                   ` Michael Heerdegen
2022-05-22  0:38                     ` Emanuel Berg
2022-05-22  1:07                       ` Michael Heerdegen
2022-05-22  4:51                         ` Emanuel Berg
2022-05-22  5:27                           ` Michael Heerdegen
2022-05-22 13:54                           ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-05-22 17:43                             ` Emanuel Berg
2022-05-23  5:19                               ` Marcin Borkowski
2022-05-23 21:07                                 ` get Emacs soruce (was: Re: bug with `apropos-value' in Emacs 29.0?) Emanuel Berg
2022-05-22  7:09     ` bug with `apropos-value' in Emacs 29.0? Marcin Borkowski
2022-05-23 21:22       ` Emanuel Berg [this message]
2022-05-22  7:37     ` Kévin Le Gouguec
2022-05-21 18:49 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1ysx7u7.fsf_-_@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=emacs-w3m@namazu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.