all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Emanuel Berg <incal@dataswamp.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: bug with `apropos-value' in Emacs 29.0?
Date: Sun, 22 May 2022 09:09:28 +0200	[thread overview]
Message-ID: <877d6e9h7b.fsf@mbork.pl> (raw)
In-Reply-To: <87mtfaog5n.fsf@dataswamp.org>


On 2022-05-21, at 21:10, Emanuel Berg <incal@dataswamp.org> wrote:

> Marcin Borkowski wrote:
>
>> Wroks for me in a fairly recent master:
>> GNU Emacs 29.0.50 (commit 7f2fb9921).
>
> OK, how do you now what commit you have then?

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))))


I should probably increase the "7", btw. - as of now, Git shows 10
characters of every commit hash, and it is not surprising given the
sheer amount of commits in the Emacs repo.  Now I wonder what does Git
do to determine the character count here -- does it mean that there do
exist two (or more) commits with exactly the same first 9 characters...?
(Answer: apparently it is the case, see the answers here:
https://stackoverflow.com/q/34764195/1181665)

Best,
mb



>
> I did 'git fetch' and after the install [1] it is
>
>   GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, cairo version
>   1.16.0) of 2022-05-21
>
> and yes, (apropos-value "70") still fails:
>
>   Debugger entered--Lisp error: (error "Invalid key sequence in substitution: ‘root\\\\’")
>     error("Invalid key sequence in substitution: `%s'" "root\\\\")
>     substitute-command-keys(#("(#[0 \"\\300\\301\\302\\303#\\207\" [tramp-register-forei..." 1322 1324 (face match)))
>     apropos-print-doc(3 apropos-variable t)
>     apropos-print(nil "\n----------------\n")
>     apropos-value("70")
>     elisp--eval-last-sexp(nil)
>     eval-last-sexp(nil)
>     funcall-interactively(eval-last-sexp nil)
>     command-execute(eval-last-sexp)
>
> [1] https://dataswamp.org/~incal/conf/.zsh/install-emacs


-- 
Marcin Borkowski
http://mbork.pl



  parent reply	other threads:[~2022-05-22  7:09 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     ` Marcin Borkowski [this message]
2022-05-23 21:22       ` output Emacs version " Emanuel Berg
2022-05-22  7:37     ` bug with `apropos-value' in Emacs 29.0? 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=877d6e9h7b.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=help-gnu-emacs@gnu.org \
    --cc=incal@dataswamp.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.