help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug with `apropos-value' in Emacs 29.0?


From: Marcin Borkowski
Subject: Re: bug with `apropos-value' in Emacs 29.0?
Date: Sun, 22 May 2022 09:09:28 +0200
User-agent: mu4e 1.1.0; emacs 29.0.50

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]